From hh at hyperhh.de Wed Feb 1 02:36:27 2017 From: hh at hyperhh.de (hh) Date: Wed, 1 Feb 2017 08:36:27 +0100 Subject: LC-Magick Collection Message-ID: <9FC4277A-4E85-444B-9EDE-186649D4ABE6@hyperhh.de> Tracing all opaque parts of a picture with transparency, not only the outline, is one of the tools that BerndN uses in button "TracedAntialias" for the bilinear distortion, the tracing method used is "radial sweep". We should ask him to make an own 'little stack' for "Antialiased Tracing" where he describes his technique in some detail. There are already really marvellous imaging tools written in LiveCode available. And certainly I don't know all. Perhaps we should start to collect them at one place, ask the authors of these jewels to contribute. My idea for this LC-magick collection here was to add only such techniques that were not, or not this fast, available until now in LiveCode and that are somehow connected to imageMagick. But that's only an idea. As my last contribution for a while will follow this month "DeLinear Perspective Distortion" a tool that may help to "UnPerspective/ UnRotate/ UnSkew". Especially people using OCR sometimes need that. Hopefully others come in to enlarge this collection or build a new one. Just open your treasure chests. Hermann > Roger E. wrote: > I think your stack that traces the outlines of a multicolor PNG into polygon shapes would be a fabulous addition to this image tool collection. ~Roger > > hh wrote: > > Added today #6: Bilinear Perspective Image Distortion > > Distortion part by 'hh', Antialiasing part by 'BNig'. > > > > LC-Magick #1 - Blur and Pixelate (Scott R.) > > http://tactilemedia.com/blog/2016/03/26/update-blur-effect- > > plus-pixelize-bonus/ > > LC-Magick #2 - Pointillize (Hermann H.) > > http://forums.livecode.com/viewtopic.php?p=141051#p141051 > > LC-Magick #3 - Image Multiplexing (Hermann H.) > > http://forums.livecode.com/viewtopic.php?p=141272#p141272 > > LC-Magick #4 - Linear Perspective Image Distortion (Hermann H.) > > http://forums.livecode.com/viewtopic.php?p=148647#p148647 > > LC-Magick #5 - Circular (Polar) Image Distortion (Hermann H. and Bernd N.) > > http://forums.livecode.com/viewtopic.php?p=149999#p149999 > > LC-Magick #6 - Bilinear Perspective Image Distortion (Hermann H. and Bernd > > N.) > > http://forums.livecode.com/viewtopic.php?p=150757#p150757 > > > > Most of it is based on ideas presented in imageMagick's documentation > > http://www.imagemagick.org/Usage/ From roger.e.eller at sealedair.com Wed Feb 1 06:41:18 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 1 Feb 2017 06:41:18 -0500 Subject: LC-Magick Collection In-Reply-To: <9FC4277A-4E85-444B-9EDE-186649D4ABE6@hyperhh.de> References: <9FC4277A-4E85-444B-9EDE-186649D4ABE6@hyperhh.de> Message-ID: There is a dedicated tracing stack somewhere on the LC forum. I think it was made about a year ago, maybe longer. ~Roger On Feb 1, 2017 2:37 AM, "hh via use-livecode" wrote: > Tracing all opaque parts of a picture with transparency, not only the > outline, is one of the tools that BerndN uses in button "TracedAntialias" > for the bilinear distortion, the tracing method used is "radial sweep". > > We should ask him to make an own 'little stack' for "Antialiased Tracing" > where he describes his technique in some detail. > > There are already really marvellous imaging tools written in LiveCode > available. And certainly I don't know all. > Perhaps we should start to collect them at one place, ask the authors > of these jewels to contribute. > > My idea for this LC-magick collection here was to add only such techniques > that were not, or not this fast, available until now in LiveCode and that > are somehow connected to imageMagick. But that's only an idea. > > As my last contribution for a while will follow this month > "DeLinear Perspective Distortion" > a tool that may help to "UnPerspective/ UnRotate/ UnSkew". Especially > people using OCR sometimes need that. > > Hopefully others come in to enlarge this collection or build a new one. > Just open your treasure chests. > > Hermann > > > Roger E. wrote: > > I think your stack that traces the outlines of a multicolor PNG into > polygon shapes would be a fabulous addition to this image tool collection. > ~Roger > > > hh wrote: > > > Added today #6: Bilinear Perspective Image Distortion > > > Distortion part by 'hh', Antialiasing part by 'BNig'. > > > > > > LC-Magick #1 - Blur and Pixelate (Scott R.) > > > http://tactilemedia.com/blog/2016/03/26/update-blur-effect- > > > plus-pixelize-bonus/ > > > LC-Magick #2 - Pointillize (Hermann H.) > > > http://forums.livecode.com/viewtopic.php?p=141051#p141051 > > > LC-Magick #3 - Image Multiplexing (Hermann H.) > > > http://forums.livecode.com/viewtopic.php?p=141272#p141272 > > > LC-Magick #4 - Linear Perspective Image Distortion (Hermann H.) > > > http://forums.livecode.com/viewtopic.php?p=148647#p148647 > > > LC-Magick #5 - Circular (Polar) Image Distortion (Hermann H. and Bernd > N.) > > > http://forums.livecode.com/viewtopic.php?p=149999#p149999 > > > LC-Magick #6 - Bilinear Perspective Image Distortion (Hermann H. and > Bernd > > > N.) > > > http://forums.livecode.com/viewtopic.php?p=150757#p150757 > > > > > > Most of it is based on ideas presented in imageMagick's documentation > > > http://www.imagemagick.org/Usage/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Feb 1 06:47:11 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 1 Feb 2017 06:47:11 -0500 Subject: Mobile library for barcodes? In-Reply-To: References: <40655979-26E2-4F50-9F99-90FD2D015C86@byu.edu> <1D6894EE-7724-431C-A97F-849E1DF3F18A@byu.edu> Message-ID: No worries, Mike. Someday perhaps a widget for every platform will eMERGE. /see what I did there. :) On Jan 31, 2017 10:03 PM, "Mike Kerner via use-livecode" < use-livecode at lists.runrev.com> wrote: > Roger, I agree. I was not aware, until you mentioned it, this evening, > that zx ran on android. If that is the case, and mergAV does not, then of > course it should not be deprecated, at least on Android. On iOS, it is not > as useful for barcode scanning and recognition as mergAV is. Anyway, > Jonathan, you would need mergAV to tell the camera to capture the image (on > ios), so I am not sure why you would then have a separate JS library > attempt to read it, since AV also includes a BC interpretation component. > > On Tue, Jan 31, 2017 at 9:13 PM, Roger Eller via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > When a question about what's available for "mobile" is raised, I always > > read it as "android, iOS, and maybe even Windows-mobile". I never > > purchaced the full merg-suite because it doesn't fully support all of > > LiveCodes mobile platforms. I do have mergZXing because it works on > > Android. It shouldn't be deprecated unless there is an x-plat > replacement. > > > > ~Roger > > > > On Jan 31, 2017 5:48 PM, "Mike Kerner via use-livecode" < > > use-livecode at lists.runrev.com> wrote: > > > > > > See my email. mergAV is choice #1 for reading. mergZX reads, but is > not > > > as advanced as mergAV and really should be deprecated because it does > not > > > have any features that mergAV does not have. It just uses a different > > code > > > base. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jonathandlynch at gmail.com Wed Feb 1 08:43:44 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 1 Feb 2017 08:43:44 -0500 Subject: Mobile library for barcodes? In-Reply-To: References: <40655979-26E2-4F50-9F99-90FD2D015C86@byu.edu> <1D6894EE-7724-431C-A97F-849E1DF3F18A@byu.edu> Message-ID: <7F2DBF3B-4214-4B5C-AD01-BDE9DE74CA33@gmail.com> Yah, that is an issue. The getUserMedia() method does not work in any form on iPhone. Wow, that's annoying. Good to know - thanks Mike. Sent from my iPhone > On Feb 1, 2017, at 6:47 AM, Roger Eller via use-livecode wrote: > > No worries, Mike. Someday perhaps a widget for every platform will > eMERGE. /see what I did there. :) > > On Jan 31, 2017 10:03 PM, "Mike Kerner via use-livecode" < > use-livecode at lists.runrev.com> wrote: > >> Roger, I agree. I was not aware, until you mentioned it, this evening, >> that zx ran on android. If that is the case, and mergAV does not, then of >> course it should not be deprecated, at least on Android. On iOS, it is not >> as useful for barcode scanning and recognition as mergAV is. Anyway, >> Jonathan, you would need mergAV to tell the camera to capture the image (on >> ios), so I am not sure why you would then have a separate JS library >> attempt to read it, since AV also includes a BC interpretation component. >> >> On Tue, Jan 31, 2017 at 9:13 PM, Roger Eller via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> When a question about what's available for "mobile" is raised, I always >>> read it as "android, iOS, and maybe even Windows-mobile". I never >>> purchaced the full merg-suite because it doesn't fully support all of >>> LiveCodes mobile platforms. I do have mergZXing because it works on >>> Android. It shouldn't be deprecated unless there is an x-plat >> replacement. >>> >>> ~Roger >>> >>> On Jan 31, 2017 5:48 PM, "Mike Kerner via use-livecode" < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> See my email. mergAV is choice #1 for reading. mergZX reads, but is >> not >>>> as advanced as mergAV and really should be deprecated because it does >> not >>>> have any features that mergAV does not have. It just uses a different >>> code >>>> base. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Feb 1 09:16:22 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 1 Feb 2017 09:16:22 -0500 Subject: LC-Magick Collection In-Reply-To: References: <9FC4277A-4E85-444B-9EDE-186649D4ABE6@hyperhh.de> Message-ID: *FOUND IT:* TracingBN_0_3.livecode.zip and sample files: images with transparency.zip At the bottom of this thread: http://forums.livecode.com/viewtopic.php?f=9&t=13399&p=64351#p64351 ~Roger On Wed, Feb 1, 2017 at 6:41 AM, Roger Eller wrote: > There is a dedicated tracing stack somewhere on the LC forum. I think it > was made about a year ago, maybe longer. > > ~Roger > > On Feb 1, 2017 2:37 AM, "hh via use-livecode" < > use-livecode at lists.runrev.com> wrote: > >> Tracing all opaque parts of a picture with transparency, not only the >> outline, is one of the tools that BerndN uses in button "TracedAntialias" >> for the bilinear distortion, the tracing method used is "radial sweep". >> >> We should ask him to make an own 'little stack' for "Antialiased Tracing" >> where he describes his technique in some detail. >> >> There are already really marvellous imaging tools written in LiveCode >> available. And certainly I don't know all. >> Perhaps we should start to collect them at one place, ask the authors >> of these jewels to contribute. >> >> My idea for this LC-magick collection here was to add only such techniques >> that were not, or not this fast, available until now in LiveCode and that >> are somehow connected to imageMagick. But that's only an idea. >> >> As my last contribution for a while will follow this month >> "DeLinear Perspective Distortion" >> a tool that may help to "UnPerspective/ UnRotate/ UnSkew". Especially >> people using OCR sometimes need that. >> >> Hopefully others come in to enlarge this collection or build a new one. >> Just open your treasure chests. >> >> Hermann >> >> > Roger E. wrote: >> > I think your stack that traces the outlines of a multicolor PNG into >> polygon shapes would be a fabulous addition to this image tool collection. >> ~Roger >> > > hh wrote: >> > > Added today #6: Bilinear Perspective Image Distortion >> > > Distortion part by 'hh', Antialiasing part by 'BNig'. >> > > >> > > LC-Magick #1 - Blur and Pixelate (Scott R.) >> > > http://tactilemedia.com/blog/2016/03/26/update-blur-effect- >> > > plus-pixelize-bonus/ >> > > LC-Magick #2 - Pointillize (Hermann H.) >> > > http://forums.livecode.com/viewtopic.php?p=141051#p141051 >> > > LC-Magick #3 - Image Multiplexing (Hermann H.) >> > > http://forums.livecode.com/viewtopic.php?p=141272#p141272 >> > > LC-Magick #4 - Linear Perspective Image Distortion (Hermann H.) >> > > http://forums.livecode.com/viewtopic.php?p=148647#p148647 >> > > LC-Magick #5 - Circular (Polar) Image Distortion (Hermann H. and >> Bernd N.) >> > > http://forums.livecode.com/viewtopic.php?p=149999#p149999 >> > > LC-Magick #6 - Bilinear Perspective Image Distortion (Hermann H. and >> Bernd >> > > N.) >> > > http://forums.livecode.com/viewtopic.php?p=150757#p150757 >> > > >> > > Most of it is based on ideas presented in imageMagick's documentation >> > > http://www.imagemagick.org/Usage/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Wed Feb 1 10:21:23 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 Feb 2017 15:21:23 +0000 Subject: 'the printerSettings' LC Indy 7.0 to 8.1.3 rc1 In-Reply-To: <1CECE024-55AD-4574-A528-0987EDB6CB67@epsi.ca> References: <1CECE024-55AD-4574-A528-0987EDB6CB67@epsi.ca> Message-ID: Hi Rob, I can replicate this, and this is a bug introduced in LC 7. I will submit a PR with the fix soon. Best, Panos -- On Tue, Jan 31, 2017 at 7:16 PM, Robert Eppich via use-livecode < use-livecode at lists.runrev.com> wrote: > The following pasted into the message box returns the result: ?unknown > printer?, in LC Indy 8.1.3 rc1 through to 7.0. > This script operates correctly in Livecode versions up to 6.7.7, by > returning the result as empty. > > put the printerSettings into tps > set the printerSettings to tps > put the result > > Can anyone replicate this between versions 7.0 to 8.1.3 rc1? Or have a > workaround to get it working in those versions? > > Thanks > Rob Eppich > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From panos.merakos at livecode.com Wed Feb 1 10:38:39 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 1 Feb 2017 15:38:39 +0000 Subject: 'the printerSettings' LC Indy 7.0 to 8.1.3 rc1 In-Reply-To: References: <1CECE024-55AD-4574-A528-0987EDB6CB67@epsi.ca> Message-ID: You can add your email in the cc list of this bug report http://quality.livecode.com/show_bug.cgi?id=19200 if you want to be notified when the fix is available. On Wed, Feb 1, 2017 at 3:21 PM, panagiotis merakos < panos.merakos at livecode.com> wrote: > Hi Rob, > > I can replicate this, and this is a bug introduced in LC 7. I will submit > a PR with the fix soon. > > Best, > Panos > -- > > On Tue, Jan 31, 2017 at 7:16 PM, Robert Eppich via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The following pasted into the message box returns the result: ?unknown >> printer?, in LC Indy 8.1.3 rc1 through to 7.0. >> This script operates correctly in Livecode versions up to 6.7.7, by >> returning the result as empty. >> >> put the printerSettings into tps >> set the printerSettings to tps >> put the result >> >> Can anyone replicate this between versions 7.0 to 8.1.3 rc1? Or have a >> workaround to get it working in those versions? >> >> Thanks >> Rob Eppich >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Panagiotis Merakos > LiveCode Software Developer > > Everyone Can Create Apps > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From MikeKerner at roadrunner.com Wed Feb 1 10:55:26 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 1 Feb 2017 10:55:26 -0500 Subject: Mobile library for barcodes? In-Reply-To: <7F2DBF3B-4214-4B5C-AD01-BDE9DE74CA33@gmail.com> References: <40655979-26E2-4F50-9F99-90FD2D015C86@byu.edu> <1D6894EE-7724-431C-A97F-849E1DF3F18A@byu.edu> <7F2DBF3B-4214-4B5C-AD01-BDE9DE74CA33@gmail.com> Message-ID: Roger, golf clap. With one hand. Jonathan, that's by design. We've had enough spyware on PC's that cause the camera to take video and stills. In fact, there was a case of a local rent-to-own company near me commissioning such software and then they had installed on every PC they rented. When they had problems collecting payments, they went to work. True story. On Wed, Feb 1, 2017 at 8:43 AM, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > Yah, that is an issue. The getUserMedia() method does not work in any form > on iPhone. Wow, that's annoying. > > Good to know - thanks Mike. > > Sent from my iPhone > > > On Feb 1, 2017, at 6:47 AM, Roger Eller via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > No worries, Mike. Someday perhaps a widget for every platform will > > eMERGE. /see what I did there. :) > > > > On Jan 31, 2017 10:03 PM, "Mike Kerner via use-livecode" < > > use-livecode at lists.runrev.com> wrote: > > > >> Roger, I agree. I was not aware, until you mentioned it, this evening, > >> that zx ran on android. If that is the case, and mergAV does not, then > of > >> course it should not be deprecated, at least on Android. On iOS, it is > not > >> as useful for barcode scanning and recognition as mergAV is. Anyway, > >> Jonathan, you would need mergAV to tell the camera to capture the image > (on > >> ios), so I am not sure why you would then have a separate JS library > >> attempt to read it, since AV also includes a BC interpretation > component. > >> > >> On Tue, Jan 31, 2017 at 9:13 PM, Roger Eller via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> When a question about what's available for "mobile" is raised, I always > >>> read it as "android, iOS, and maybe even Windows-mobile". I never > >>> purchaced the full merg-suite because it doesn't fully support all of > >>> LiveCodes mobile platforms. I do have mergZXing because it works on > >>> Android. It shouldn't be deprecated unless there is an x-plat > >> replacement. > >>> > >>> ~Roger > >>> > >>> On Jan 31, 2017 5:48 PM, "Mike Kerner via use-livecode" < > >>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> See my email. mergAV is choice #1 for reading. mergZX reads, but is > >> not > >>>> as advanced as mergAV and really should be deprecated because it does > >> not > >>>> have any features that mergAV does not have. It just uses a different > >>> code > >>>> base. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 capellan2000 at gmail.com Wed Feb 1 13:09:53 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Feb 2017 14:09:53 -0400 Subject: Yertle the Turtle Message-ID: Hi All, Remember that Jim Hurley wrote a book: http://jamesphurley.com/RunRev/TurtlePhysicsText.doc and many stacks about Turtle Graphics: http://jamesphurley.com/Revolution.html Al From bogdanoff at me.com Wed Feb 1 18:13:36 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 01 Feb 2017 18:13:36 -0500 Subject: Using a variable for an array name Message-ID: I have arrays: tArray1 tArray2 tArray3 tArray4 I want to get data from one of them: put ?tArray? & ?1? into tVar put tVar [?Text?] into tText1 tText1 is empty. Is there a way to get the data from the arrays without doing this kind of thing for each array: put tArray1 [?Text?] into tText1 put tArray2 [?Text?] into tText2 Thanks! Peter Bogdanoff From dfepstein at comcast.net Wed Feb 1 18:33:27 2017 From: dfepstein at comcast.net (David Epstein) Date: Wed, 1 Feb 2017 18:33:27 -0500 Subject: Auto scrolling a locked field when mouse comes to edge Message-ID: When the mouse drags across text in an unlocked (horizontally and vertically) scrolling field, the field automatically scrolls at a legible rate to display the (previously hidden) text that the mouse was dragging toward. Has anyone scripted a way to reproduce this effect for a locked field? Many thanks. David Epstein From rdimola at evergreeninfo.net Wed Feb 1 19:07:11 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 1 Feb 2017 19:07:11 -0500 Subject: Using a variable for an array name In-Reply-To: References: Message-ID: <005501d27ce8$4d702de0$e85089a0$@net> "Do" will do the trick. Repeat with tVarNum = 1 to 4 do "put"&&tArray&VarNum&"["&WrapQ("Text")&"] into tText"&tVarNum do "put"&&tArray&VarNum&"["&WrapQ("SomeOtherArrayValue")&"] into tSomeOtherArrayValue"&tVarNum end repeat function WrapQ pString return quote&pString"e end WrapQ 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 Peter Bogdanoff via use-livecode Sent: Wednesday, February 01, 2017 6:14 PM To: How to use LiveCode Cc: Peter Bogdanoff Subject: Using a variable for an array name I have arrays: tArray1 tArray2 tArray3 tArray4 I want to get data from one of them: put ?tArray? & ?1? into tVar put tVar [?Text?] into tText1 tText1 is empty. Is there a way to get the data from the arrays without doing this kind of thing for each array: put tArray1 [?Text?] into tText1 put tArray2 [?Text?] into tText2 Thanks! Peter Bogdanoff _______________________________________________ use-livecode mailing list use-livecode at 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 Feb 1 19:03:43 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Feb 2017 00:03:43 +0000 Subject: Using a variable for an array name In-Reply-To: References: Message-ID: <20F74A57-8BB6-4A44-ABB0-22A274075F2A@iotecdigital.com> This is called macro substitution in other languages. You would use the form array&tvar in Foxpro for instance. LC has no macro Substitution. Instead: put "put tArray" & tVar & "[temp] into tText" & tVar into tCommand replace "temp" with quote & "text" & quote in tCommand do tCommand (untested) bob s On Feb 1, 2017, at 15:13 , Peter Bogdanoff via use-livecode > wrote: I have arrays: tArray1 tArray2 tArray3 tArray4 I want to get data from one of them: put ?tArray? & ?1? into tVar put tVar [?Text?] into tText1 tText1 is empty. Is there a way to get the data from the arrays without doing this kind of thing for each array: put tArray1 [?Text?] into tText1 put tArray2 [?Text?] into tText2 Thanks! Peter Bogdanoff From dochawk at gmail.com Wed Feb 1 19:04:57 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 1 Feb 2017 16:04:57 -0800 Subject: Auto scrolling a locked field when mouse comes to edge In-Reply-To: References: Message-ID: On Wed, Feb 1, 2017 at 3:33 PM, David Epstein via use-livecode < use-livecode at lists.runrev.com> wrote: > When the mouse drags across text in an unlocked (horizontally and > vertically) scrolling field, the field automatically scrolls at a legible > rate to display the (previously hidden) text that the mouse was dragging > toward. > Has anyone scripted a way to reproduce this effect for a locked field? > you could play with mouseMove and MouseStillOver -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Wed Feb 1 19:08:29 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 1 Feb 2017 16:08:29 -0800 Subject: Using a variable for an array name In-Reply-To: References: Message-ID: Peter Bogdanoff wrote: > I have arrays: > tArray1 > tArray2 > tArray3 > tArray4 > > I want to get data from one of them: > > put ?tArray? & ?1? into tVar > put tVar [?Text?] into tText1 > > tText1 is empty. > > Is there a way to get the data from the arrays without doing this > kind of thing for each array: > > put tArray1 [?Text?] into tText1 > put tArray2 [?Text?] into tText2 Whenever you have a collection of variables whose names may be variable, an array is a natural fit. LiveCode supports n-dimensional arrays, so you could use: -- Store: put "something" into tBigArray["1"]["text"] put "somethingelse" into tBigArray["2"]["text"] -- Retrieve: put tBigArray["1"]["text"] into tSomeVar put tBigArray["2"]["text"] into tAnotherVar -- 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 Feb 1 19:16:53 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Feb 2017 00:16:53 +0000 Subject: Using a variable for an array name In-Reply-To: References: Message-ID: Even better! Bob S On Feb 1, 2017, at 16:08 , Richard Gaskin via use-livecode > wrote: Whenever you have a collection of variables whose names may be variable, an array is a natural fit. LiveCode supports n-dimensional arrays, so you could use: -- Store: put "something" into tBigArray["1"]["text"] put "somethingelse" into tBigArray["2"]["text"] -- Retrieve: put tBigArray["1"]["text"] into tSomeVar put tBigArray["2"]["text"] into tAnotherVar -- Richard Gaskin From dunbarx at aol.com Wed Feb 1 19:26:10 2017 From: dunbarx at aol.com (dunbarx) Date: Wed, 1 Feb 2017 16:26:10 -0800 (PST) Subject: Auto scrolling a locked field when mouse comes to edge In-Reply-To: References: Message-ID: <1485995170522-4712141.post@n4.nabble.com> Hi. Not sure, I guess, what you are asking. I make an ordinary field, fill it with lots of dross, and lock the text. If I click on any visible line and then drag the mouse around, the text below the cursor, whether above or below the original clickLine, are all hilited. Craig NEwman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-scrolling-a-locked-field-when-mouse-comes-to-edge-tp4712135p4712141.html Sent from the Revolution - User mailing list archive at Nabble.com. From bogdanoff at me.com Wed Feb 1 19:40:29 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 01 Feb 2017 19:40:29 -0500 Subject: Using a variable for an array name In-Reply-To: References: Message-ID: <0378BDAD-748A-4C80-8995-64291004EAB0@me.com> Yes, ?do? does it. Thank you Ralph and Bob. Richard, I?ve heard that ?do? is slow because it must be compiled every time. I am reiterating this possibly hundreds of times, so it is probably much better to combine the arrays into a Big Array? Peter > On Feb 1, 2017, at 7:16 PM, Bob Sneidar via use-livecode wrote: > > Even better! > > Bob S > > > On Feb 1, 2017, at 16:08 , Richard Gaskin via use-livecode > wrote: > > Whenever you have a collection of variables whose names may be variable, an array is a natural fit. > > LiveCode supports n-dimensional arrays, so you could use: > > -- Store: > put "something" into tBigArray["1"]["text"] > put "somethingelse" into tBigArray["2"]["text"] > > -- Retrieve: > put tBigArray["1"]["text"] into tSomeVar > put tBigArray["2"]["text"] into tAnotherVar > > > -- > 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 bogdanoff at me.com Wed Feb 1 19:44:51 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 01 Feb 2017 19:44:51 -0500 Subject: Auto scrolling a locked field when mouse comes to edge In-Reply-To: References: Message-ID: <9DBB2141-BD23-40B8-A79D-7D260F256426@me.com> Is this an issue with ?Focus with Keyboard? not checked or traversalOn not true? > On Feb 1, 2017, at 6:33 PM, David Epstein via use-livecode wrote: > > When the mouse drags across text in an unlocked (horizontally and vertically) scrolling field, the field automatically scrolls at a legible rate to display the (previously hidden) text that the mouse was dragging toward. > Has anyone scripted a way to reproduce this effect for a locked field? > Many thanks. > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Feb 1 19:46:22 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 1 Feb 2017 16:46:22 -0800 Subject: Difference between "html" and "htmlText" in clipboardData? Message-ID: The Dictionary entry for clipboardData lists these among the array keys: - htmlText: LiveCode HTML text - html: styled text in LiveCode HTML format What is the difference between "LiveCode HTML text" and "LiveCode HTML format"? If there is no difference and they're both LC's htmlText, why two key names? -- 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 stephen at barncard.com Wed Feb 1 19:51:26 2017 From: stephen at barncard.com (Stephen Barncard) Date: Wed, 1 Feb 2017 16:51:26 -0800 Subject: Difference between "html" and "htmlText" in clipboardData? In-Reply-To: References: Message-ID: if you need it. http://media.barncard.com/downloads/clipboardTest.livecode On Wed, Feb 1, 2017 at 4:46 PM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > The Dictionary entry for clipboardData lists these among the array keys: > > - htmlText: LiveCode HTML text > - html: styled text in LiveCode HTML format > > What is the difference between "LiveCode HTML text" and "LiveCode HTML > format"? > > If there is no difference and they're both LC's htmlText, why two key > names? > -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From ambassador at fourthworld.com Wed Feb 1 19:52:36 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 1 Feb 2017 16:52:36 -0800 Subject: Using a variable for an array name In-Reply-To: <0378BDAD-748A-4C80-8995-64291004EAB0@me.com> References: <0378BDAD-748A-4C80-8995-64291004EAB0@me.com> Message-ID: <147b9b46-763e-9e32-3b7b-befcf2a00699@fourthworld.com> Peter Bogdanoff wrote: > Richard, I?ve heard that ?do? is slow because it must be compiled > every time. I am reiterating this possibly hundreds of times, so > it is probably much better to combine the arrays into a Big Array? It'll be a little faster, and to my eye much more readable. "Do" is a good option when no other option exists. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bogdanoff at me.com Wed Feb 1 19:54:44 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 01 Feb 2017 19:54:44 -0500 Subject: Using a variable for an array name In-Reply-To: <147b9b46-763e-9e32-3b7b-befcf2a00699@fourthworld.com> References: <0378BDAD-748A-4C80-8995-64291004EAB0@me.com> <147b9b46-763e-9e32-3b7b-befcf2a00699@fourthworld.com> Message-ID: <9A1CA95A-5A63-49D6-9926-699367B09AEE@me.com> OK, I?ll test the two methods when I get the general procedure working. > On Feb 1, 2017, at 7:52 PM, Richard Gaskin via use-livecode wrote: > > Peter Bogdanoff wrote: > > > Richard, I?ve heard that ?do? is slow because it must be compiled > > every time. I am reiterating this possibly hundreds of times, so > > it is probably much better to combine the arrays into a Big Array? > > It'll be a little faster, and to my eye much more readable. > > "Do" is a good option when no other option exists. :) > > -- > 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 dfepstein at comcast.net Wed Feb 1 20:38:08 2017 From: dfepstein at comcast.net (David Epstein) Date: Wed, 1 Feb 2017 20:38:08 -0500 Subject: Auto scrolling a locked field when mouse comes to edge Message-ID: <76228587-96E2-4F74-B3C0-7C04DF7B27FB@comcast.net> To clarify: For a locked field with autohilite and traversalOn both true, the ?built in? auto scrolling works the same as with an unlocked field. I?m looking for a way to script this kind of auto scrolling with autohilite and traversalOn both false. David Epstein From tom at makeshyft.com Wed Feb 1 21:05:52 2017 From: tom at makeshyft.com (Tom Glod) Date: Wed, 1 Feb 2017 21:05:52 -0500 Subject: Dirty HTTP Launch In-Reply-To: <9E2C899E-B4EF-4727-8CA6-CB53E783859A@iotecdigital.com> References: <9E2C899E-B4EF-4727-8CA6-CB53E783859A@iotecdigital.com> Message-ID: Bob, I can't really use yours since it doesn't always happen.... and Mike's suggestion did not work...... there is no magnifying glass in the variable watcher, so it is just the last character. replace space with empty also didn't work. head scratching continues. On Mon, Jan 30, 2017 at 5:54 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Try replacing the variable holding the URL (let's assume it's tVar) with > word 1 to -1 of tVar. > > As in put word 1 to -1 of tVar into tVar > > Bob S > > > > On Jan 30, 2017, at 10:34 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > the URL is read as an ITEM from a line in a file that was generated by > PHP > > (which is I am sure where the cr comes from) > > > > PHP code just concatnates label "HTTP Link, item delimiter "=" and the > URL > > starting with HTTP. > > > > I think I will just write a little repeat loop to rewrite the URL before > I > > send it off to the launch command. Gonna try format function too > > > > > > > > On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Mind posting the code that you use to build the url? > >> > >> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> I will try to clean it somehow as nothing (no cr) appears at the end > >> until > >>> i run the launch url command.... i guess i can just rewrite the > variable > >>> somehow. Thanks > >>> > >>> On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>> > >>>> Most likely you have an extraneous cr at the end of the url, and its > >>>> showing as html encoded. If thats the case, before you > >>>> encode/launch/whatever, remove the cr and it should go away. > >>>> > >>>> > >>>> On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> Hi Livecoders, > >>>>> > >>>>> I have a license file generated by PHP and when I bring it into LC I > >>>> parse > >>>>> it for data. should be easy right? > >>>>> > >>>>> So I parse an http link and upon the using launch url command, I > >>> realize > >>>>> there is garbage at the end of the URL... the end of line "%0d" > >> garbage > >>>> to > >>>>> be exact. > >>>>> > >>>>> Anyone know how to clean this? it doesn't apprear at the end of the > >>>>> variable that i am using to store the http URL...just appears after > >> the > >>>>> launch url command. > >>>>> > >>>>> Thanks for any help on this > >>>>> > >>>>> Tom > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Wed Feb 1 21:10:06 2017 From: tom at makeshyft.com (Tom Glod) Date: Wed, 1 Feb 2017 21:10:06 -0500 Subject: Dirty HTTP Launch In-Reply-To: References: <9E2C899E-B4EF-4727-8CA6-CB53E783859A@iotecdigital.com> Message-ID: scratch that...bob's solution works and isn't likley to do anything ever except take out the last space. great job....there should be no spaces in URLs anyways..thanks Bob On Wed, Feb 1, 2017 at 9:05 PM, Tom Glod wrote: > Bob, I can't really use yours since it doesn't always happen.... and > Mike's suggestion did not work...... there is no magnifying glass in the > variable watcher, so it is just the last character. replace space with > empty also didn't work. head scratching continues. > > On Mon, Jan 30, 2017 at 5:54 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Try replacing the variable holding the URL (let's assume it's tVar) with >> word 1 to -1 of tVar. >> >> As in put word 1 to -1 of tVar into tVar >> >> Bob S >> >> >> > On Jan 30, 2017, at 10:34 , Tom Glod via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > the URL is read as an ITEM from a line in a file that was generated by >> PHP >> > (which is I am sure where the cr comes from) >> > >> > PHP code just concatnates label "HTTP Link, item delimiter "=" and the >> URL >> > starting with HTTP. >> > >> > I think I will just write a little repeat loop to rewrite the URL >> before I >> > send it off to the launch command. Gonna try format function too >> > >> > >> > >> > On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > >> >> Mind posting the code that you use to build the url? >> >> >> >> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode < >> >> use-livecode at lists.runrev.com> wrote: >> >> >> >>> I will try to clean it somehow as nothing (no cr) appears at the end >> >> until >> >>> i run the launch url command.... i guess i can just rewrite the >> variable >> >>> somehow. Thanks >> >>> >> >>> On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode < >> >>> use-livecode at lists.runrev.com> wrote: >> >>> >> >>>> Most likely you have an extraneous cr at the end of the url, and its >> >>>> showing as html encoded. If thats the case, before you >> >>>> encode/launch/whatever, remove the cr and it should go away. >> >>>> >> >>>> >> >>>> On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode < >> >>>> use-livecode at lists.runrev.com> wrote: >> >>>> >> >>>>> Hi Livecoders, >> >>>>> >> >>>>> I have a license file generated by PHP and when I bring it into LC I >> >>>> parse >> >>>>> it for data. should be easy right? >> >>>>> >> >>>>> So I parse an http link and upon the using launch url command, I >> >>> realize >> >>>>> there is garbage at the end of the URL... the end of line "%0d" >> >> garbage >> >>>> to >> >>>>> be exact. >> >>>>> >> >>>>> Anyone know how to clean this? it doesn't apprear at the end of the >> >>>>> variable that i am using to store the http URL...just appears after >> >> the >> >>>>> launch url command. >> >>>>> >> >>>>> Thanks for any help on this >> >>>>> >> >>>>> Tom >> >>>>> _______________________________________________ >> >>>>> use-livecode mailing list >> >>>>> use-livecode at lists.runrev.com >> >>>>> Please visit this url to subscribe, unsubscribe and manage your >> >>>>> subscription preferences: >> >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >>>>> >> >>>> _______________________________________________ >> >>>> use-livecode mailing list >> >>>> use-livecode at lists.runrev.com >> >>>> Please visit this url to subscribe, unsubscribe and manage your >> >>>> subscription preferences: >> >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >>>> >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode at lists.runrev.com >> >>> Please visit this url to subscribe, unsubscribe and manage your >> >>> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >>> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From ambassador at fourthworld.com Wed Feb 1 22:33:24 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 1 Feb 2017 19:33:24 -0800 Subject: Difference between "html" and "htmlText" in clipboardData? In-Reply-To: References: Message-ID: Stephen Barncard wrote: > On Wed, Feb 1, 2017 at 4:46 PM, Richard Gaskin wrote: > >> The Dictionary entry for clipboardData lists these among the array >> keys: >> >> - htmlText: LiveCode HTML text >> - html: styled text in LiveCode HTML format >> >> What is the difference between "LiveCode HTML text" and "LiveCode >> HTML format"? >> >> If there is no difference and they're both LC's htmlText, why two key >> names? >> > if you need it. > > http://media.barncard.com/downloads/clipboardTest.livecode Thanks. Interestingly, it shows a key for "html" but not "htmlText". Do you know what the difference between those keys is? Is this just a bug in the Dictionary and there is no "htmlText", with the "html" key using LC's htmlText? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Thu Feb 2 00:29:30 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 1 Feb 2017 23:29:30 -0600 Subject: Difference between "html" and "htmlText" in clipboardData? In-Reply-To: References: Message-ID: <5dbce803-6885-102a-a70c-89e0cbdfbfd3@hyperactivesw.com> On 2/1/17 9:33 PM, Richard Gaskin via use-livecode wrote: > Interestingly, it shows a key for "html" but not "htmlText". > > Do you know what the difference between those keys is? > > Is this just a bug in the Dictionary and there is no "htmlText", with > the "html" key using LC's htmlText? They appear to be synonyms; at least, I get the same results with both keys. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephen at barncard.com Thu Feb 2 00:43:25 2017 From: stephen at barncard.com (Stephen Barncard) Date: Wed, 1 Feb 2017 21:43:25 -0800 Subject: Difference between "html" and "htmlText" in clipboardData? In-Reply-To: References: Message-ID: On Wed, Feb 1, 2017 at 7:33 PM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks. Interestingly, it shows a key for "html" but not "htmlText". > > Do you know what the difference between those keys is? > no. The key list is derived from the clipboard array. > > Is this just a bug in the Dictionary and there is no "htmlText", with the > "html" key using LC's htmlText? > -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From mark at livecode.com Thu Feb 2 03:28:31 2017 From: mark at livecode.com (Mark Waddingham) Date: Thu, 02 Feb 2017 09:28:31 +0100 Subject: Difference between "html" and "htmlText" in =?UTF-8?Q?clipboardData=3F?= In-Reply-To: References: Message-ID: <5bafd0a241a01851722eb0d3960d9474@livecode.com> On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: > The Dictionary entry for clipboardData lists these among the array > keys: > > - htmlText: LiveCode HTML text > - html: styled text in LiveCode HTML format That dictionary entry could do with a little refinement :) > What is the difference between "LiveCode HTML text" and "LiveCode HTML > format"? Nothing - they are the same format in that context (the clipboardData). However, you should use 'htmlText' and 'rtfText' in preference to 'html' and 'rtf' as they are the new names. > If there is no difference and they're both LC's htmlText, why two key > names? The difference comes about when you use 'the fullClipboardData'. The fullClipboardData gives you access both to the engine's synthesized data formats and the original data that was placed on the clipboard. In this context: - rtfText: LiveCode's rtfText format - htmlText: LiveCode's htmlText format - styledText: LiveCode's (array-based) styledText format - html: Only present if the data on the clipboard is actually HTML - rtf: Only present if the data on the clipboard is actually RTF This is explained in more detail in the fullClipboardData entry. I'd generally recommend not using 'the clipboardData' for new apps, and using 'the fullClipboardData' instead. It allows you to put multiple distinct data types on the clipboard, and does not use any 'legacy' rules to determine what keys appear ('the clipboardData' only allows a single actual datatype, so uses priority rules to determine which you see). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From toolbook at kestner.de Thu Feb 2 06:13:08 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 2 Feb 2017 12:13:08 +0100 Subject: Different result in LC 6 to LC 8 when copying field text into Excel? Message-ID: <005f01d27d45$5639a700$02acf500$@kestner.de> Hello, I have a standard scrolling list field with multiple lines of text. I copy the text by: *set the clipboarddata["text"] to fld "List"* The User now can past the text into MS Excel on Windows. With LC 6 the text was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the text is pasted with an extra space line between each two lines. I checked the line ends in both versions. There is only one "LF" (byteToNum=10) at the end of each line and it looks the same in both versions. What has changed in LC 8 to cause such a different behavior? Is this again a Unicode thing what I don't understand? I already tried different clipboarddata keys, without success. It can't be an Excel option, because I tested it with the same Excel version on the same machine. Any idea, what has to be changed to get the same clipboard result as in LC 6? Thank you Tiemo From brahma at hindu.org Thu Feb 2 10:07:45 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 2 Feb 2017 15:07:45 +0000 Subject: Using a variable for an array name In-Reply-To: <9A1CA95A-5A63-49D6-9926-699367B09AEE@me.com> References: <0378BDAD-748A-4C80-8995-64291004EAB0@me.com> <147b9b46-763e-9e32-3b7b-befcf2a00699@fourthworld.com> <9A1CA95A-5A63-49D6-9926-699367B09AEE@me.com> Message-ID: <94AF7016-47F2-45B2-84FA-35EDE646DFAF@hindu.org> Peter: FYI multi-dimensional arrays are awesome. I use to be "scared" of them, but in RevIgniter we have all kinds of things like galleriaShow["options"]["width"]["805] and even more? so I had go understand it. And, on top of this you can have an array "inside" a key/value (where the value is an array) Once you wrap your head around this you will never look back! BR From brahma at hindu.org Thu Feb 2 10:13:58 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 2 Feb 2017 15:13:58 +0000 Subject: Drag List Items Up and Down Message-ID: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> There is a near universal behavior on mobile, varying flavors of color and style but the UX is almost the same everywhere whether it is your contacts, book marks in Safari, or songs on play lists in Spotify. you have a list like this, after each item the common icon is often 2 horizontal bars, apples == oranges == grapes == kiwi == the user can long press, hold down and drag up and down on the little bars on the right and move the list item up and down to re-order the list. Before I go nuts in a deep dive building this from ground zero, does anyone have a library that does this already they can share? Needs to work on mobile. Mahalo! BR From bobsneidar at iotecdigital.com Thu Feb 2 10:37:10 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Feb 2017 15:37:10 +0000 Subject: Auto scrolling a locked field when mouse comes to edge In-Reply-To: <76228587-96E2-4F74-B3C0-7C04DF7B27FB@comcast.net> References: <76228587-96E2-4F74-B3C0-7C04DF7B27FB@comcast.net> Message-ID: <0F267484-929C-4FD8-BA5E-36D30C74C747@iotecdigital.com> I have a similar issue where I want to be able to select text in a field with traversalOn set to false. I can select the text, but I cannot copy it. It's as though the engine cannot discern there is a selection. Bob S On Feb 1, 2017, at 17:38 , David Epstein via use-livecode > wrote: To clarify: For a locked field with autohilite and traversalOn both true, the ?built in? auto scrolling works the same as with an unlocked field. I?m looking for a way to script this kind of auto scrolling with autohilite and traversalOn both false. David Epstein From bobsneidar at iotecdigital.com Thu Feb 2 10:39:37 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Feb 2017 15:39:37 +0000 Subject: Difference between "html" and "htmlText" in clipboardData? In-Reply-To: <5bafd0a241a01851722eb0d3960d9474@livecode.com> References: <5bafd0a241a01851722eb0d3960d9474@livecode.com> Message-ID: THAT is a revelation! Bob S On Feb 2, 2017, at 24:28 , Mark Waddingham via use-livecode > wrote: The difference comes about when you use 'the fullClipboardData'. The fullClipboardData gives you access both to the engine's synthesized data formats and the original data that was placed on the clipboard. In this context: - rtfText: LiveCode's rtfText format - htmlText: LiveCode's htmlText format - styledText: LiveCode's (array-based) styledText format - html: Only present if the data on the clipboard is actually HTML - rtf: Only present if the data on the clipboard is actually RTF This is explained in more detail in the fullClipboardData entry. I'd generally recommend not using 'the clipboardData' for new apps, and using 'the fullClipboardData' instead. It allows you to put multiple distinct data types on the clipboard, and does not use any 'legacy' rules to determine what keys appear ('the clipboardData' only allows a single actual datatype, so uses priority rules to determine which you see). From bobsneidar at iotecdigital.com Thu Feb 2 10:41:31 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Feb 2017 15:41:31 +0000 Subject: Dirty HTTP Launch In-Reply-To: References: <9E2C899E-B4EF-4727-8CA6-CB53E783859A@iotecdigital.com> Message-ID: <52BB0C63-DB02-4F5F-91FA-B78C1A543843@iotecdigital.com> Actually it works to take out any number of beginning and ending characters. Bob S On Feb 1, 2017, at 18:10 , Tom Glod via use-livecode > wrote: scratch that...bob's solution works and isn't likley to do anything ever except take out the last space. great job....there should be no spaces in URLs anyways..thanks Bob From bobsneidar at iotecdigital.com Thu Feb 2 10:42:06 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Feb 2017 15:42:06 +0000 Subject: Dirty HTTP Launch In-Reply-To: <52BB0C63-DB02-4F5F-91FA-B78C1A543843@iotecdigital.com> References: <9E2C899E-B4EF-4727-8CA6-CB53E783859A@iotecdigital.com> <52BB0C63-DB02-4F5F-91FA-B78C1A543843@iotecdigital.com> Message-ID: <1CA5CC8A-109A-4FB4-86AB-B9F28CFD4F03@iotecdigital.com> err... that are white spaces that is. Bob S On Feb 2, 2017, at 07:41 , Bob Sneidar > wrote: Actually it works to take out any number of beginning and ending characters. Bob S From smudge.andy at googlemail.com Thu Feb 2 11:14:04 2017 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 2 Feb 2017 08:14:04 -0800 (PST) Subject: Drag List Items Up and Down In-Reply-To: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> Message-ID: <1486052044037-4712163.post@n4.nabble.com> Try this Create a scrolling field Add a few lines In the field properties *check the Lock text* /it will not work without this/ Add this to the field on mouseDown put word 2 of the clickLine into tcl set the textcolor of line tcl of me to "red" if line tcl of me is empty then exit mousedown end if put item 2 of the mouseLoc into tstarty put the effective textHeight of me into th repeat while the mouse is down if item 2 of the mouseLoc - tstarty > (th/2) then lock screen put cr & line tcl of me after line tcl + 1 of me delete line tcl of me add 1 to tcl set the textcolor of line tcl of me to "red" add th to tstarty unlock screen else if tstarty - item 2 of the mouseLoc > (th/2) then lock screen put line tcl of me & cr before line tcl - 1 of me delete line tcl + 1 of me subtract 1 from tcl set the textcolor of line tcl of me to "red" subtract th from tstarty unlock screen end if end repeat set the textcolor of line tcl of me to "black" set the hilitedLine of me to tcl end mouseDown This came from a question on one of the forums, not sure which and from whom. ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-List-Items-Up-and-Down-tp4712158p4712163.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Feb 2 11:36:06 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 2 Feb 2017 08:36:06 -0800 Subject: Difference between "html" and "htmlText" in clipboardData? In-Reply-To: <5bafd0a241a01851722eb0d3960d9474@livecode.com> References: <5bafd0a241a01851722eb0d3960d9474@livecode.com> Message-ID: <3b6c562b-906c-509a-943e-7d0a9c04f4f3@fourthworld.com> Mark Waddingham wrote: > On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: >> What is the difference between "LiveCode HTML text" and "LiveCode >> HTML format"? > > Nothing - they are the same format in that context (the > clipboardData). > However, > you should use 'htmlText' and 'rtfText' in preference to 'html' and > 'rtf' as they are the new names. Good choice - helps folks better anticipate the differences between LC's htmlText and the web's HTML. >> If there is no difference and they're both LC's htmlText, why two >> key names? > > The difference comes about when you use 'the fullClipboardData'. > > The fullClipboardData gives you access both to the engine's > synthesized data formats and the original data that was placed on > the clipboard. > > In this context: > > - rtfText: LiveCode's rtfText format > - htmlText: LiveCode's htmlText format > - styledText: LiveCode's (array-based) styledText format > - html: Only present if the data on the clipboard is actually HTML > - rtf: Only present if the data on the clipboard is actually RTF > > This is explained in more detail in the fullClipboardData entry. > > I'd generally recommend not using 'the clipboardData' for new apps, > and using 'the fullClipboardData' instead. It allows you to put > multiple distinct data types on the clipboard, and does not use any > 'legacy' rules to determine what keys appear ('the clipboardData' > only allows a single actual datatype, so uses priority rules to > determine which you see). That info is VERY useful - thank you! My question arose because a forum user found an interesting workaround for making backgroundColor in text pastable into other applications - this post gets to the meat (the thread as a whole is long): The code he offers there does far more stuff than I believe may be needed, but the crux of it is that he's modifying the clipboardData["html"] so that LC's htmlText becomes inline CSS: Hello ...becomes: Hello He says this works well, that after he modifies the clipboardData["html"] he can then paste into other apps and preserve the background color for text runs. This didn't seem right to me, since my understanding seems to fit what you've said here, that modifying any key of clipboardData will update the other keys to their closest match, and that only the fullClipboardData treats keys independently - is that correct? If so, I don't understand how his code works. But if my understanding is incorrect, it suggests perhaps there's a way that the clipboard routines modify the internal "htmlText" element to the closest match it can when setting the "text" element. That doesn't seem logical, though, as it would require that LC have a CSS processor built-in, and I can't imagine you folks would be sitting on such a gem without providing an interface for 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 skiplondon at gmail.com Thu Feb 2 12:02:45 2017 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 2 Feb 2017 12:02:45 -0500 Subject: Drag List Items Up and Down In-Reply-To: <1486052044037-4712163.post@n4.nabble.com> References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> <1486052044037-4712163.post@n4.nabble.com> Message-ID: Very nice little script! Question: You can actually drag an item "up" and out of the field and it disappears forever. Any way to avoid this? SKIP KIMPEL On Thu, Feb 2, 2017 at 11:14 AM, AndyP via use-livecode < use-livecode at lists.runrev.com> wrote: > Try this > > Create a scrolling field > > Add a few lines > > In the field properties *check the Lock text* /it will not work without > this/ > > > Add this to the field > > on mouseDown > put word 2 of the clickLine into tcl > set the textcolor of line tcl of me to "red" > if line tcl of me is empty then > exit mousedown > end if > put item 2 of the mouseLoc into tstarty > put the effective textHeight of me into th > repeat while the mouse is down > if item 2 of the mouseLoc - tstarty > (th/2) then > lock screen > put cr & line tcl of me after line tcl + 1 of me > delete line tcl of me > add 1 to tcl > set the textcolor of line tcl of me to "red" > add th to tstarty > unlock screen > else if tstarty - item 2 of the mouseLoc > (th/2) then > lock screen > put line tcl of me & cr before line tcl - 1 of me > delete line tcl + 1 of me > subtract 1 from tcl > set the textcolor of line tcl of me to "red" > subtract th from tstarty > unlock screen > end if > end repeat > set the textcolor of line tcl of me to "black" > set the hilitedLine of me to tcl > end mouseDown > > This came from a question on one of the forums, not sure which and from > whom. > > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > TinyIDE a Free alternative minimalist IDE Plugin for LiveCode > TinyIDE > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker > / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/Drag-List-Items-Up-and-Down-tp4712158p4712163.html > Sent from the Revolution - User mailing list archive at Nabble.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 skiplondon at gmail.com Thu Feb 2 12:02:45 2017 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 2 Feb 2017 12:02:45 -0500 Subject: Drag List Items Up and Down In-Reply-To: <1486052044037-4712163.post@n4.nabble.com> References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> <1486052044037-4712163.post@n4.nabble.com> Message-ID: Very nice little script! Question: You can actually drag an item "up" and out of the field and it disappears forever. Any way to avoid this? SKIP KIMPEL On Thu, Feb 2, 2017 at 11:14 AM, AndyP via use-livecode < use-livecode at lists.runrev.com> wrote: > Try this > > Create a scrolling field > > Add a few lines > > In the field properties *check the Lock text* /it will not work without > this/ > > > Add this to the field > > on mouseDown > put word 2 of the clickLine into tcl > set the textcolor of line tcl of me to "red" > if line tcl of me is empty then > exit mousedown > end if > put item 2 of the mouseLoc into tstarty > put the effective textHeight of me into th > repeat while the mouse is down > if item 2 of the mouseLoc - tstarty > (th/2) then > lock screen > put cr & line tcl of me after line tcl + 1 of me > delete line tcl of me > add 1 to tcl > set the textcolor of line tcl of me to "red" > add th to tstarty > unlock screen > else if tstarty - item 2 of the mouseLoc > (th/2) then > lock screen > put line tcl of me & cr before line tcl - 1 of me > delete line tcl + 1 of me > subtract 1 from tcl > set the textcolor of line tcl of me to "red" > subtract th from tstarty > unlock screen > end if > end repeat > set the textcolor of line tcl of me to "black" > set the hilitedLine of me to tcl > end mouseDown > > This came from a question on one of the forums, not sure which and from > whom. > > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > TinyIDE a Free alternative minimalist IDE Plugin for LiveCode > TinyIDE > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker > / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/Drag-List-Items-Up-and-Down-tp4712158p4712163.html > Sent from the Revolution - User mailing list archive at Nabble.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 smudge.andy at googlemail.com Thu Feb 2 13:48:33 2017 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 2 Feb 2017 10:48:33 -0800 (PST) Subject: Drag List Items Up and Down In-Reply-To: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> Message-ID: <1486061313565-4712166.post@n4.nabble.com> Modified script added /if within (field "myField", the mouseLoc) is true then / on mouseDown put word 2 of the clickLine into tcl set the textcolor of line tcl of me to "red" if line tcl of me is empty then exit mousedown end if put item 2 of the mouseLoc into tstarty put the effective textHeight of me into th repeat while the mouse is down if item 2 of the mouseLoc - tstarty > (th/2) then if within (field "myField", the mouseLoc) is true then lock screen put cr & line tcl of me after line tcl + 1 of me delete line tcl of me add 1 to tcl set the textcolor of line tcl of me to "red" add th to tstarty unlock screen end if else if tstarty - item 2 of the mouseLoc > (th/2) then if within (field "myField", the mouseLoc) is true then lock screen put line tcl of me & cr before line tcl - 1 of me delete line tcl + 1 of me subtract 1 from tcl set the textcolor of line tcl of me to "red" subtract th from tstarty unlock screen end if end if end repeat set the textcolor of line tcl of me to "black" set the hilitedLine of me to tcl end mouseDown ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-List-Items-Up-and-Down-tp4712158p4712166.html Sent from the Revolution - User mailing list archive at Nabble.com. From skiplondon at gmail.com Thu Feb 2 13:56:20 2017 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 2 Feb 2017 13:56:20 -0500 Subject: Drag List Items Up and Down In-Reply-To: <1486061313565-4712166.post@n4.nabble.com> References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> <1486061313565-4712166.post@n4.nabble.com> Message-ID: Excellent... works like a charm. Thanks for sharing! SKIP On Thu, Feb 2, 2017 at 1:48 PM, AndyP via use-livecode < use-livecode at lists.runrev.com> wrote: > Modified script > added > > /if within (field "myField", the mouseLoc) is true then / > > on mouseDown > > put word 2 of the clickLine into tcl > set the textcolor of line tcl of me to "red" > if line tcl of me is empty then > exit mousedown > end if > put item 2 of the mouseLoc into tstarty > put the effective textHeight of me into th > repeat while the mouse is down > if item 2 of the mouseLoc - tstarty > (th/2) then > if within (field "myField", the mouseLoc) is true then > lock screen > put cr & line tcl of me after line tcl + 1 of me > delete line tcl of me > add 1 to tcl > set the textcolor of line tcl of me to "red" > add th to tstarty > unlock screen > end if > else if tstarty - item 2 of the mouseLoc > (th/2) then > if within (field "myField", the mouseLoc) is true then > lock screen > put line tcl of me & cr before line tcl - 1 of me > delete line tcl + 1 of me > subtract 1 from tcl > set the textcolor of line tcl of me to "red" > subtract th from tstarty > unlock screen > end if > end if > end repeat > set the textcolor of line tcl of me to "black" > set the hilitedLine of me to tcl > > end mouseDown > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > TinyIDE a Free alternative minimalist IDE Plugin for LiveCode > TinyIDE > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker > / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/Drag-List-Items-Up-and-Down-tp4712158p4712166.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Feb 2 14:34:20 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 2 Feb 2017 11:34:20 -0800 Subject: Difference between "html" and "htmlText" in clipboardData? In-Reply-To: <3b6c562b-906c-509a-943e-7d0a9c04f4f3@fourthworld.com> References: <3b6c562b-906c-509a-943e-7d0a9c04f4f3@fourthworld.com> Message-ID: <7f2c0ee7-90db-d83d-ab6d-0d3aa61163ef@fourthworld.com> Earlier this morning I wrote in reply to Mark Waddingham: > My question arose because a forum user found an interesting > workaround for making backgroundColor in text pastable into other > applications - this post gets to the meat (the thread as a whole > is long): > ...and included some queries about the differences between clipboardData and fullClipboardData. Mark, no need to reply: I always recommend to newcomers that they take a little time to explore new features to get a feel for how they work. After all, nothing beats hands-on experience for learning. So I ate my own haggis and made a sample stack, with notes, that I just posted in that forum thread: Thanks again, Mark, for the reminder about fullClipboardData. It's not only very useful for things I'm working on, but also provides a super-simple solution for the OP in that 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 stephen at barncard.com Thu Feb 2 16:14:45 2017 From: stephen at barncard.com (Stephen Barncard) Date: Thu, 2 Feb 2017 13:14:45 -0800 Subject: Difference between "html" and "htmlText" in clipboardData? In-Reply-To: <7f2c0ee7-90db-d83d-ab6d-0d3aa61163ef@fourthworld.com> References: <3b6c562b-906c-509a-943e-7d0a9c04f4f3@fourthworld.com> <7f2c0ee7-90db-d83d-ab6d-0d3aa61163ef@fourthworld.com> Message-ID: And it was the discussions on this list that led me to update that "clipboard explorer" stack to use that newer property. I'm not sure if I built in backward compatibility to earlier versions than 7 or 8. On Thu, Feb 2, 2017 at 11:34 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks again, Mark, for the reminder about fullClipboardData. It's not > only very useful for things I'm working on, but also provides a > super-simple solution for the OP in that thread. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From rdimola at evergreeninfo.net Thu Feb 2 19:51:49 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Feb 2017 19:51:49 -0500 Subject: Android Remote Tester or "A funny thing happened on the way to the VM" In-Reply-To: References: Message-ID: <006b01d27db7$b47e02d0$1d7a0870$@net> I got tired of worrying about rebuilding my development environment if a PC failed. When I built my Win 10 PC I wanted to use VMs and have nothing on the host except for the Hyper-V role. I installed all my dev tools including multiple versions of LC on a VM.... I even got VB6 and the 32 bit DB drivers working on a 64 bit OS alongside 64 bit MS Office! I was very proud of myself until I tried to install via LC a test build on an Android device. (whoops!!!) Although Android USB device's internal drive data can be viewed on a VM, to my surprise you can't talk directly to the USB device from an Hyper-V VM. There are hardware USB sharing options using SW USB drivers on the VM. These boxes are very expensive, $250.00 US for 4 ports. The performance of these devices are sketchy at best. Before I go on I want to thank the LC support team for their help, Mark and Panos showed me where and how to hook into the IDE building process. I found a wealth of goodies after poking around in the IDE stacks. So the "Android Remote Tester" plug-in was born. I first envisioned it as a "Test" button just like LCs Test button and an manual copy and install. Then as it always goes the scope expanded to multiple devices, signed builds, automated file copy and install and then (why not) installing pre-built APKs. There are 2 parts: 1) A server on the host machine that the devices are connected to. 2) An IDE Plug-in. The host is any PC/Mac/Linux box that the Android devices USB ports are connected to. This can be the same machine that the LC IDE is running on, or not. The server could even be on a remote machine somewhere else. I my case the server is running on the VM host and the plug-in is on development VMs. I tested both the server and plug-in on Mac(10.11), Windows(XP 32 bit/Win 7-10 64 bit) and Linux Mint 64 bit. I have not tested on 32 bit Linux but I expect it would work just fine. I tested using LC 6, 7 and 8.1.2. In Windows I have the "Android Remote Tester Server" running as an Windows Service. I am working getting the server running as a "service" on Mac and Linux(any help here would be appreciated). Beyond the ability to install builds from a VM(or any remote machine) the Android Remote Tester plug-in has these functions that make testing to multiple devices easier: 1) Install test builds to one or more devices(and optionally launch) with one click and one LC build. 2) Build a signed standalone AND install to one or more devices(and optionally launch) with one click and one LC build. 3) Install any existing APK file to one or more devices(and optionally launch) with one click. Requirements/Limitations: 1) The Android "build tools" and "platform tools" needs to be installed on the server machine. The server only needs 2 programs so only a skeleton Android SDK needs to be installed. 2) I have not created any installers. 3) It needs the Indy or Business version of LiveCode. 4) SSL is not implemented. I do my testing on several devices. Doing 4 test builds to install on 4 devices gets old real quick. Building production APKs and then using an Android file manager on 4 devices to install the APK after going thru a bunch of "OK" popups for every install also gets old quick. If anyone is interested in trying it, please drop me a line off list and I will send you the files and instructions for installation on your platform(s). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From johnpatten at me.com Thu Feb 2 22:12:59 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 02 Feb 2017 19:12:59 -0800 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> Message-ID: Hi All, I managed to trial and error together a working html5 panorama using Pan2VR (http://ggnome.com/pano2vr ). The interface of their software allows you to attach a javascript action to a vr hotspot. The interface creates the following javascript for the hotspot to trigger the LiveCode handler: this._svg2.onclick=function (e) { window.addEventListener('click', function() {liveCode.myLiveCodeHandler2();}); } (svg2 is the hotspot icon). The hotspot in the vr adds some text to a field on the card when clicked, waits 2 seconds, and then removes the text. This javascript works only the first time, because after the hotspot is clicked, the LiveCode handler is triggered any time the user clicks within the vr of the browser object. (Javascript ?event listener? listens for any click in the browser object, after the hotspot is clicked once.) The only solution I have found is to reload the html for the vr into the browser object again. But that is not ideal. I am aware of a the javascript command removeEventListener, and that appears to be what I need, however I am not sure how I would go about and use the script? Its appears that ?this.? is defined in the js as the hotspot, and _svg2 is the hot spot ID, but everything I have tried to cobble together to apply this command has not worked. I?m not sure where it should even be located in the process? I?ve shared the LiveCode project and VR files here: https://dl.dropboxusercontent.com/u/6767916/VR_and_Javascript_Example.zip Any help is greatly appreciated! John Patten SUSD > On Jan 30, 2017, at 8:01 PM, Mike Bonner via use-livecode wrote: > > Depending on what version of LC you're using,k and if you're using the > widget, or openrevbrowser > look at revBrowserAddJavascriptHandler in the dictionary. > > If using the widget, use the dropdown to select the browser widget in the > dictionary and look at the javascripthandlers property. > > > > On Mon, Jan 30, 2017 at 8:22 PM, JOHN PATTEN via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> Hi All, >> >> I?m not sure if this is possible with Livecode, but I thought I?d ask >> anyways. >> >> I have a html5 panorama I created in a trial version of Pano2VR. I posted >> it up here: http://jpatten.on-rev.com/vrjs/index.html < >> http://jpatten.on-rev.com/vrjs/index.html > >> >> This pano has one hot spot that just throws a JavaScript alert, ?Hello >> World.? So I know I can create a Javascript inside a hotspot in the pano >> using the Pano2VR app. >> >> Here are my questions. >> >> 1. Can Livecode intercept the Javascript result in the browser object and >> act on it? If it can, I?m guessing I could have it return text and then >> have Livecode run an action. Something like? if varText = ?picture 1? >> then, show picture one ? else/switch if vartex = "picture 2" then open >> "picture 2", etc. etc. etc. >> >> >> 2. I would like to have hotspots in a panoramic image run JavaScripts that >> LiveCode intercepts, and then act on what it catches to runs scripts in the >> stack. One hot spot might open and image. Another might open a substack, >> etc. etc. all within the LiveCode project. The Browser Object is used only >> to present the panoramic image, and the pano image acts as s pseudo >> navigation object for additional content. >> >> Anybody have a simple example of what the Javascript in the pano might >> look like, as opposed to just an alert? What scripts would I use to capture >> and act on the Javascript in the browser object? >> >> Or, maybe this is not possible?? >> >> Thank you! >> >> John Patten >> SUSD >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Thu Feb 2 22:56:23 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 2 Feb 2017 20:56:23 -0700 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> Message-ID: Hmm. NO easy way to see the critical stuff from here but I found this post. https://ggnome.com/forum/viewtopic.php?f=6&t=9123&p=35818&hilit=custom+function+hotspot#p35818 I think the key is to do similar to what is being done in the post. Basically,pass the value of me.hotspot.id to livecode as part of the function call, and add a switch block that gives a message based on the hotspot id. Very hard to actually test anything from here, but maybe there is something useful in the post. On Thu, Feb 2, 2017 at 8:12 PM, JOHN PATTEN via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi All, > > I managed to trial and error together a working html5 panorama using > Pan2VR (http://ggnome.com/pano2vr ). The > interface of their software allows you to attach a javascript action to a > vr hotspot. The interface creates the following javascript for the hotspot > to trigger the LiveCode handler: > > this._svg2.onclick=function (e) { > window.addEventListener('click', > function() {liveCode.myLiveCodeHandler2();}); > } > > (svg2 is the hotspot icon). > > The hotspot in the vr adds some text to a field on the card when clicked, > waits 2 seconds, and then removes the text. > > This javascript works only the first time, because after the hotspot is > clicked, the LiveCode handler is triggered any time the user clicks within > the vr of the browser object. (Javascript ?event listener? listens for any > click in the browser object, after the hotspot is clicked once.) > > The only solution I have found is to reload the html for the vr into the > browser object again. But that is not ideal. > > I am aware of a the javascript command removeEventListener, and that > appears to be what I need, however I am not sure how I would go about and > use the script? Its appears that ?this.? is defined in the js as the > hotspot, and _svg2 is the hot spot ID, but everything I have tried to > cobble together to apply this command has not worked. I?m not sure where it > should even be located in the process? > > I?ve shared the LiveCode project and VR files here: > https://dl.dropboxusercontent.com/u/6767916/VR_and_Javascript_Example.zip > > > > Any help is greatly appreciated! > > John Patten > SUSD > > > > > On Jan 30, 2017, at 8:01 PM, Mike Bonner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Depending on what version of LC you're using,k and if you're using the > > widget, or openrevbrowser > > look at revBrowserAddJavascriptHandler in the dictionary. > > > > If using the widget, use the dropdown to select the browser widget in the > > dictionary and look at the javascripthandlers property. > > > > > > > > On Mon, Jan 30, 2017 at 8:22 PM, JOHN PATTEN via use-livecode < > > use-livecode at lists.runrev.com > > wrote: > > > >> Hi All, > >> > >> I?m not sure if this is possible with Livecode, but I thought I?d ask > >> anyways. > >> > >> I have a html5 panorama I created in a trial version of Pano2VR. I > posted > >> it up here: http://jpatten.on-rev.com/vrjs/index.html < > http://jpatten.on-rev.com/vrjs/index.html> < > >> http://jpatten.on-rev.com/vrjs/index.html vrjs/index.html>> > >> > >> This pano has one hot spot that just throws a JavaScript alert, ?Hello > >> World.? So I know I can create a Javascript inside a hotspot in the > pano > >> using the Pano2VR app. > >> > >> Here are my questions. > >> > >> 1. Can Livecode intercept the Javascript result in the browser object > and > >> act on it? If it can, I?m guessing I could have it return text and then > >> have Livecode run an action. Something like? if varText = ?picture 1? > >> then, show picture one ? else/switch if vartex = "picture 2" then open > >> "picture 2", etc. etc. etc. > >> > >> > >> 2. I would like to have hotspots in a panoramic image run JavaScripts > that > >> LiveCode intercepts, and then act on what it catches to runs scripts in > the > >> stack. One hot spot might open and image. Another might open a substack, > >> etc. etc. all within the LiveCode project. The Browser Object is used > only > >> to present the panoramic image, and the pano image acts as s pseudo > >> navigation object for additional content. > >> > >> Anybody have a simple example of what the Javascript in the pano might > >> look like, as opposed to just an alert? What scripts would I use to > capture > >> and act on the Javascript in the browser object? > >> > >> Or, maybe this is not possible?? > >> > >> Thank you! > >> > >> John Patten > >> SUSD > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode < > http://lists.runrev.com/mailman/listinfo/use-livecode> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode < > http://lists.runrev.com/mailman/listinfo/use-livecode> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 3 00:54:23 2017 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 2 Feb 2017 21:54:23 -0800 Subject: Drag List Items Up and Down In-Reply-To: References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> <1486061313565-4712166.post@n4.nabble.com> Message-ID: Scott Rossi published "Get In Line?, a different sort of solution which involves dragging an img representation of the text line. I liked the added opportunity for visual effect that this method offered. I have used it successfully in several applications including ones in iOS. Scott talks about this stack here: You can find a working copy that is open for examination by: 1?> go url "http://www.tactilemedia.com/tmpanel.rev? 2?> scroll to the ?DEMOS? channel (wait for them to load? there is a bunch of great stuff here!) 3?> scroll down to "Get In Line? and click Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ > On Feb 2, 2017, at 10:56 AM, Skip Kimpel via use-livecode wrote: > > Excellent... works like a charm. Thanks for sharing! > > SKIP > > On Thu, Feb 2, 2017 at 1:48 PM, AndyP via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Modified script >> added >> >> /if within (field "myField", the mouseLoc) is true then / >> >> on mouseDown >> >> put word 2 of the clickLine into tcl >> set the textcolor of line tcl of me to "red" >> if line tcl of me is empty then >> exit mousedown >> end if >> put item 2 of the mouseLoc into tstarty >> put the effective textHeight of me into th >> repeat while the mouse is down >> if item 2 of the mouseLoc - tstarty > (th/2) then >> if within (field "myField", the mouseLoc) is true then >> lock screen >> put cr & line tcl of me after line tcl + 1 of me >> delete line tcl of me >> add 1 to tcl >> set the textcolor of line tcl of me to "red" >> add th to tstarty >> unlock screen >> end if >> else if tstarty - item 2 of the mouseLoc > (th/2) then >> if within (field "myField", the mouseLoc) is true then >> lock screen >> put line tcl of me & cr before line tcl - 1 of me >> delete line tcl + 1 of me >> subtract 1 from tcl >> set the textcolor of line tcl of me to "red" >> subtract th from tstarty >> unlock screen >> end if >> end if >> end repeat >> set the textcolor of line tcl of me to "black" >> set the hilitedLine of me to tcl >> >> end mouseDown >> >> >> >> ----- >> Andy Piddock >> >> >> My software never has bugs. It just develops random features. >> >> TinyIDE a Free alternative minimalist IDE Plugin for LiveCode >> TinyIDE >> >> >> Script editor Themer for LC http://2108.co.uk >> >> PointandSee is a FREE simple but full featured under cursor colour picker >> / finder. >> http://www.pointandsee.co.uk - made with LiveCode >> -- >> View this message in context: http://runtime-revolution. >> 278305.n4.nabble.com/Drag-List-Items-Up-and-Down-tp4712158p4712166.html >> Sent from the Revolution - User mailing list archive at Nabble.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 toolbook at kestner.de Fri Feb 3 09:25:44 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 3 Feb 2017 15:25:44 +0100 Subject: AW: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <005f01d27d45$5639a700$02acf500$@kestner.de> References: <005f01d27d45$5639a700$02acf500$@kestner.de> Message-ID: <004e01d27e29$69924c00$3cb6e400$@kestner.de> Can anybody on Windows with LC 8 confirm this: - create a new stack - create a scrolling list field - enter three lines of text, each with one word - enter into the message box: *set the clipboarddata["text"] to fld 1* - open MS Excel (in my case Windows 10, Excel 2013) - paste - see an extra empty line between each line of text Pasted in a text editor there are no extra lines and up to LC 7 there also was no extra line in Excel. Can anybody confirm this behavior or even has an idea for a workaround? Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Donnerstag, 2. Februar 2017 12:13 An: LiveCode User Liste senden Cc: Tiemo Hollmann TB Betreff: Different result in LC 6 to LC 8 when copying field text into Excel? Hello, I have a standard scrolling list field with multiple lines of text. I copy the text by: *set the clipboarddata["text"] to fld "List"* The User now can past the text into MS Excel on Windows. With LC 6 the text was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the text is pasted with an extra space line between each two lines. I checked the line ends in both versions. There is only one "LF" (byteToNum=10) at the end of each line and it looks the same in both versions. What has changed in LC 8 to cause such a different behavior? Is this again a Unicode thing what I don't understand? I already tried different clipboarddata keys, without success. It can't be an Excel option, because I tested it with the same Excel version on the same machine. Any idea, what has to be changed to get the same clipboard result as in LC 6? Thank you 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 livfoss at mac.com Fri Feb 3 11:15:52 2017 From: livfoss at mac.com (Graham Samuel) Date: Fri, 03 Feb 2017 17:15:52 +0100 Subject: Supercard 4.8 public beta In-Reply-To: <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: Only slightly OT, quite near my first encounter with computers at all, and at the very beginning of my encounter with High Level Languages (do people still use that expression?), I translated Knuth?s algorithm for calculating the date of Easter into LISP 1. It would be a lot easier to do in LiveCode. As this is probably of limited interest, I have not spent the $2.99 needed to retrieve the original article, but maybe someone might want to: https://www.deepdyve.com/lp/acm/the-calculation-of-easter-bXkDNEaKDY?key=acm I did not know either of the languages involved when I started the exercise. Anyway that experience makes me endorse one of Richmond?s way of introducing people to LiveCode, quoted below. Graham PS As an exercise for the reader (do people still use **that** expression?) you can work out from this story approximately how old I am. > On 16 Oct 2016, at 13:30, Richmond wrote: > > Another thing that is quite instructive is to download some daft game from the internet written in > who-knows-what and get the kids, first, to consider its functionality, and secondly, how they might > possibly achieve that functionality in Livecode. From bobsneidar at iotecdigital.com Fri Feb 3 11:20:41 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Feb 2017 16:20:41 +0000 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: <9346DDC9-9DA4-4B63-A3F4-4EB43F068F3C@iotecdigital.com> Why is this post called Supercard 4.8 Public Beta?? Bob S > On Feb 3, 2017, at 08:15 , Graham Samuel via use-livecode wrote: > > Only slightly OT, quite near my first encounter with computers at all, and at the very beginning of my encounter with High Level Languages (do people still use that expression?), I translated Knuth?s algorithm for calculating the date of Easter into LISP 1. It would be a lot easier to do in LiveCode. As this is probably of limited interest, I have not spent the $2.99 needed to retrieve the original article, but maybe someone might want to: > > https://www.deepdyve.com/lp/acm/the-calculation-of-easter-bXkDNEaKDY?key=acm > > I did not know either of the languages involved when I started the exercise. > > Anyway that experience makes me endorse one of Richmond?s way of introducing people to LiveCode, quoted below. > > Graham > > PS As an exercise for the reader (do people still use **that** expression?) you can work out from this story approximately how old I am. > > >> On 16 Oct 2016, at 13:30, Richmond wrote: >> >> Another thing that is quite instructive is to download some daft game from the internet written in >> who-knows-what and get the kids, first, to consider its functionality, and secondly, how they might >> possibly achieve that functionality in Livecode. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 3 11:25:21 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Feb 2017 16:25:21 +0000 Subject: Supercard 4.8 public beta In-Reply-To: <9346DDC9-9DA4-4B63-A3F4-4EB43F068F3C@iotecdigital.com> References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> <9346DDC9-9DA4-4B63-A3F4-4EB43F068F3C@iotecdigital.com> Message-ID: <560B0984-D475-402A-83BA-6CF8EC006167@iotecdigital.com> Actually, I learned recently that C and it's variants is NOT a high level language! It's considered a mid-level language. Bob S On Feb 3, 2017, at 08:20 , Bob Sneidar via use-livecode > wrote: Only slightly OT, quite near my first encounter with computers at all, and at the very beginning of my encounter with High Level Languages (do people still use that expression?) From dochawk at gmail.com Fri Feb 3 11:26:46 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 3 Feb 2017 08:26:46 -0800 Subject: repeated crashing on save in 8.x Message-ID: My project is in a dozen or so stacks which I turn into substacks before filing. In 8.x, as I go through this dance, in addition to the bug that stops "save as" from working (although it does seem to change the name on the next save after, some of the time. I've worked around it with "set the filename" and a gratuitous save), I am now seeing crashes when saving after adding a sub stack. Even looping through, and saving after each added substack, I get crashes at different points each run. Off the cuff, I'm estimating a crash (of livecode itself) about 10% of the time, so getting through the whole set is rather rare event. I've found that if I run the combination code in 7.1.4, it works (but doesn't compile correctly, failing to add the database and other support modules [it identifies them, and gives a list of failures at the end]). So for the moment, I'm combing in 7 and compiling in 8. Another odd observation is that when I *do* manage to combine in 8, compilation takes something like 10 minutes when it succeeds (but it usually crashes on the way). If I combine in 7 and compile in 8, compilation is quick (maybe a minute; I haven't measured), and no crash. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From devin_asay at byu.edu Fri Feb 3 11:41:00 2017 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 3 Feb 2017 16:41:00 +0000 Subject: Drag List Items Up and Down In-Reply-To: <1486061313565-4712166.post@n4.nabble.com> References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> <1486061313565-4712166.post@n4.nabble.com> Message-ID: Excellent, Andy! Thanks for sharing this. The only minor, cosmetic change I made was on the next to last line: set the textColor of line tcl of me to empty My hilite color was set to a dark blue, and the black on dark blue was hard to read. Setting it back to empty means that it will go to a contrasting white when highlighted. Devin On Feb 2, 2017, at 11:48 AM, AndyP via use-livecode > wrote: Modified script added /if within (field "myField", the mouseLoc) is true then / on mouseDown put word 2 of the clickLine into tcl set the textcolor of line tcl of me to "red" if line tcl of me is empty then exit mousedown end if put item 2 of the mouseLoc into tstarty put the effective textHeight of me into th repeat while the mouse is down if item 2 of the mouseLoc - tstarty > (th/2) then if within (field "myField", the mouseLoc) is true then lock screen put cr & line tcl of me after line tcl + 1 of me delete line tcl of me add 1 to tcl set the textcolor of line tcl of me to "red" add th to tstarty unlock screen end if else if tstarty - item 2 of the mouseLoc > (th/2) then if within (field "myField", the mouseLoc) is true then lock screen put line tcl of me & cr before line tcl - 1 of me delete line tcl + 1 of me subtract 1 from tcl set the textcolor of line tcl of me to "red" subtract th from tstarty unlock screen end if end if end repeat set the textcolor of line tcl of me to "black" set the hilitedLine of me to tcl end mouseDown ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-List-Items-Up-and-Down-tp4712158p4712166.html Sent from the Revolution - User mailing list archive at Nabble.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 Devin Asay Director Office of Digital Humanities Brigham Young University From toolbook at kestner.de Fri Feb 3 11:53:09 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 3 Feb 2017 17:53:09 +0100 Subject: AW: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <004e01d27e29$69924c00$3cb6e400$@kestner.de> References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> Message-ID: <007d01d27e3e$007b04e0$01710ea0$@kestner.de> the headquarter could confirm this interaction to Excel bug and pointed me to the workaround with "paste special as text" Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Freitag, 3. Februar 2017 15:26 An: 'How to use LiveCode' Cc: Tiemo Hollmann TB Betreff: AW: Different result in LC 6 to LC 8 when copying field text into Excel? Can anybody on Windows with LC 8 confirm this: - create a new stack - create a scrolling list field - enter three lines of text, each with one word - enter into the message box: *set the clipboarddata["text"] to fld 1* - open MS Excel (in my case Windows 10, Excel 2013) - paste - see an extra empty line between each line of text Pasted in a text editor there are no extra lines and up to LC 7 there also was no extra line in Excel. Can anybody confirm this behavior or even has an idea for a workaround? Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Donnerstag, 2. Februar 2017 12:13 An: LiveCode User Liste senden Cc: Tiemo Hollmann TB Betreff: Different result in LC 6 to LC 8 when copying field text into Excel? Hello, I have a standard scrolling list field with multiple lines of text. I copy the text by: *set the clipboarddata["text"] to fld "List"* The User now can past the text into MS Excel on Windows. With LC 6 the text was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the text is pasted with an extra space line between each two lines. I checked the line ends in both versions. There is only one "LF" (byteToNum=10) at the end of each line and it looks the same in both versions. What has changed in LC 8 to cause such a different behavior? Is this again a Unicode thing what I don't understand? I already tried different clipboarddata keys, without success. It can't be an Excel option, because I tested it with the same Excel version on the same machine. Any idea, what has to be changed to get the same clipboard result as in LC 6? Thank you 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 livfoss at mac.com Fri Feb 3 12:02:57 2017 From: livfoss at mac.com (Graham Samuel) Date: Fri, 03 Feb 2017 18:02:57 +0100 Subject: Supercard 4.8 public beta In-Reply-To: <9346DDC9-9DA4-4B63-A3F4-4EB43F068F3C@iotecdigital.com> References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> <9346DDC9-9DA4-4B63-A3F4-4EB43F068F3C@iotecdigital.com> Message-ID: <1BA6C5D1-8585-4417-B6F1-7D3E6D6F5A13@mac.com> Sorry, I got that from an old thread and forgot to change it. By the way I didn?t say in my story that Knuth used Algol and Cobol for his algorithm, and I translated the Algol one (looks a bit like LiveCode, even today?) > On 3 Feb 2017, at 17:20, Bob Sneidar via use-livecode wrote: > > Why is this post called Supercard 4.8 Public Beta?? > > Bob S > > >> On Feb 3, 2017, at 08:15 , Graham Samuel via use-livecode wrote: >> >> Only slightly OT, quite near my first encounter with computers at all, and at the very beginning of my encounter with High Level Languages (do people still use that expression?), I translated Knuth?s algorithm for calculating the date of Easter into LISP 1. It would be a lot easier to do in LiveCode. As this is probably of limited interest, I have not spent the $2.99 needed to retrieve the original article, but maybe someone might want to: >> >> https://www.deepdyve.com/lp/acm/the-calculation-of-easter-bXkDNEaKDY?key=acm >> >> I did not know either of the languages involved when I started the exercise. >> >> Anyway that experience makes me endorse one of Richmond?s way of introducing people to LiveCode, quoted below. >> >> Graham >> >> PS As an exercise for the reader (do people still use **that** expression?) you can work out from this story approximately how old I am. >> >> >>> On 16 Oct 2016, at 13:30, Richmond wrote: >>> >>> Another thing that is quite instructive is to download some daft game from the internet written in >>> who-knows-what and get the kids, first, to consider its functionality, and secondly, how they might >>> possibly achieve that functionality in Livecode. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmac at consensustech.com Fri Feb 3 12:39:02 2017 From: jmac at consensustech.com (Jim MacConnell) Date: Fri, 3 Feb 2017 09:39:02 -0800 Subject: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <007d01d27e3e$007b04e0$01710ea0$@kestner.de> References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> <007d01d27e3e$007b04e0$01710ea0$@kestner.de> Message-ID: <02e501d27e44$690e5ab0$3b2b1010$@consensustech.com> Beat me to it and good to know. Paste special as Unicode Text also works but Paste special as HTML does not. As a wrinkle... pasting into NotePad has no line feeds (e.g. gives " Line 1Line 2Line 3") Copying that from NotePad and pasting into LC, Word, Excel, etc. gives correct result (meaning 3 different lines) Still too wonky for me to use I'm afraid. My users are simple "copy and pasters" and asking them to do different flavors of Paste isn't going to work. Jim -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB via use-livecode Sent: Friday, February 03, 2017 8:53 AM To: 'How to use LiveCode' Cc: Tiemo Hollmann TB Subject: AW: Different result in LC 6 to LC 8 when copying field text into Excel? the headquarter could confirm this interaction to Excel bug and pointed me to the workaround with "paste special as text" Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Freitag, 3. Februar 2017 15:26 An: 'How to use LiveCode' Cc: Tiemo Hollmann TB Betreff: AW: Different result in LC 6 to LC 8 when copying field text into Excel? Can anybody on Windows with LC 8 confirm this: - create a new stack - create a scrolling list field - enter three lines of text, each with one word - enter into the message box: *set the clipboarddata["text"] to fld 1* - open MS Excel (in my case Windows 10, Excel 2013) - paste - see an extra empty line between each line of text Pasted in a text editor there are no extra lines and up to LC 7 there also was no extra line in Excel. Can anybody confirm this behavior or even has an idea for a workaround? Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Donnerstag, 2. Februar 2017 12:13 An: LiveCode User Liste senden Cc: Tiemo Hollmann TB Betreff: Different result in LC 6 to LC 8 when copying field text into Excel? Hello, I have a standard scrolling list field with multiple lines of text. I copy the text by: *set the clipboarddata["text"] to fld "List"* The User now can past the text into MS Excel on Windows. With LC 6 the text was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the text is pasted with an extra space line between each two lines. I checked the line ends in both versions. There is only one "LF" (byteToNum=10) at the end of each line and it looks the same in both versions. What has changed in LC 8 to cause such a different behavior? Is this again a Unicode thing what I don't understand? I already tried different clipboarddata keys, without success. It can't be an Excel option, because I tested it with the same Excel version on the same machine. Any idea, what has to be changed to get the same clipboard result as in LC 6? Thank you 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Fri Feb 3 13:54:22 2017 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 3 Feb 2017 10:54:22 -0800 Subject: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <02e501d27e44$690e5ab0$3b2b1010$@consensustech.com> References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> <007d01d27e3e$007b04e0$01710ea0$@kestner.de> <02e501d27e44$690e5ab0$3b2b1010$@consensustech.com> Message-ID: On Fri, Feb 3, 2017 at 9:39 AM, Jim MacConnell via use-livecode < use-livecode at lists.runrev.com> wrote: > Still too wonky for me to use I'm afraid. > My users are simple "copy and pasters" and asking them to do different > flavors of Paste isn't going to work. > MANY apps have paste special or paste as... items in their edit menus - obviously they've faced the same issues. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From johnpatten at me.com Fri Feb 3 14:08:47 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Fri, 03 Feb 2017 11:08:47 -0800 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> Message-ID: Thanks Mike! I posted this question on Pano2VR ggnome forum with a little animation of the particular challenge. https://ggnome.com/forum/viewtopic.php?f=13&t=11663 There may be folks interested in what Livecode could do for their workflow too :) Cheers! > On Feb 2, 2017, at 7:56 PM, Mike Bonner via use-livecode wrote: > > Hmm. NO easy way to see the critical stuff from here but I found this post. > > https://ggnome.com/forum/viewtopic.php?f=6&t=9123&p=35818&hilit=custom+function+hotspot#p35818 > > I think the key is to do similar to what is being done in the post. > Basically,pass the value of me.hotspot.id to livecode as part of the > function call, and add a switch block that gives a message based on the > hotspot id. Very hard to actually test anything from here, but maybe there > is something useful in the post. > > On Thu, Feb 2, 2017 at 8:12 PM, JOHN PATTEN via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi All, >> >> I managed to trial and error together a working html5 panorama using >> Pan2VR (http://ggnome.com/pano2vr ). The >> interface of their software allows you to attach a javascript action to a >> vr hotspot. The interface creates the following javascript for the hotspot >> to trigger the LiveCode handler: >> >> this._svg2.onclick=function (e) { >> window.addEventListener('click', >> function() {liveCode.myLiveCodeHandler2();}); >> } >> >> (svg2 is the hotspot icon). >> >> The hotspot in the vr adds some text to a field on the card when clicked, >> waits 2 seconds, and then removes the text. >> >> This javascript works only the first time, because after the hotspot is >> clicked, the LiveCode handler is triggered any time the user clicks within >> the vr of the browser object. (Javascript ?event listener? listens for any >> click in the browser object, after the hotspot is clicked once.) >> >> The only solution I have found is to reload the html for the vr into the >> browser object again. But that is not ideal. >> >> I am aware of a the javascript command removeEventListener, and that >> appears to be what I need, however I am not sure how I would go about and >> use the script? Its appears that ?this.? is defined in the js as the >> hotspot, and _svg2 is the hot spot ID, but everything I have tried to >> cobble together to apply this command has not worked. I?m not sure where it >> should even be located in the process? >> >> I?ve shared the LiveCode project and VR files here: >> https://dl.dropboxusercontent.com/u/6767916/VR_and_Javascript_Example.zip >> >> >> >> Any help is greatly appreciated! >> >> John Patten >> SUSD >> >> >> >>> On Jan 30, 2017, at 8:01 PM, Mike Bonner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Depending on what version of LC you're using,k and if you're using the >>> widget, or openrevbrowser >>> look at revBrowserAddJavascriptHandler in the dictionary. >>> >>> If using the widget, use the dropdown to select the browser widget in the >>> dictionary and look at the javascripthandlers property. >>> >>> >>> >>> On Mon, Jan 30, 2017 at 8:22 PM, JOHN PATTEN via use-livecode < >>> use-livecode at lists.runrev.com > >> wrote: >>> >>>> Hi All, >>>> >>>> I?m not sure if this is possible with Livecode, but I thought I?d ask >>>> anyways. >>>> >>>> I have a html5 panorama I created in a trial version of Pano2VR. I >> posted >>>> it up here: http://jpatten.on-rev.com/vrjs/index.html < >> http://jpatten.on-rev.com/vrjs/index.html> < >>>> http://jpatten.on-rev.com/vrjs/index.html > vrjs/index.html>> >>>> >>>> This pano has one hot spot that just throws a JavaScript alert, ?Hello >>>> World.? So I know I can create a Javascript inside a hotspot in the >> pano >>>> using the Pano2VR app. >>>> >>>> Here are my questions. >>>> >>>> 1. Can Livecode intercept the Javascript result in the browser object >> and >>>> act on it? If it can, I?m guessing I could have it return text and then >>>> have Livecode run an action. Something like? if varText = ?picture 1? >>>> then, show picture one ? else/switch if vartex = "picture 2" then open >>>> "picture 2", etc. etc. etc. >>>> >>>> >>>> 2. I would like to have hotspots in a panoramic image run JavaScripts >> that >>>> LiveCode intercepts, and then act on what it catches to runs scripts in >> the >>>> stack. One hot spot might open and image. Another might open a substack, >>>> etc. etc. all within the LiveCode project. The Browser Object is used >> only >>>> to present the panoramic image, and the pano image acts as s pseudo >>>> navigation object for additional content. >>>> >>>> Anybody have a simple example of what the Javascript in the pano might >>>> look like, as opposed to just an alert? What scripts would I use to >> capture >>>> and act on the Javascript in the browser object? >>>> >>>> Or, maybe this is not possible?? >>>> >>>> Thank you! >>>> >>>> John Patten >>>> SUSD >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >> http://lists.runrev.com/mailman/listinfo/use-livecode> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode < >> http://lists.runrev.com/mailman/listinfo/use-livecode> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Feb 3 14:26:13 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 3 Feb 2017 21:26:13 +0200 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> Message-ID: This could be effected as an extension of what I posted here: http://forums.livecode.com/viewtopic.php?f=10&t=28749&p=150876#p150876 As my example involves showing a series of static images inside a graphic object "frame" the hotspots might prove 'fun' to make; but I should think, ultimately, they should not be all that difficult. As I am "off" on Sunday for a week (meaning 'another country' and 'a cheap Android tablet only') my attempt at that (and it does sound like fun) will have to wait a bit. Richmond. On 2/3/17 9:08 pm, JOHN PATTEN via use-livecode wrote: > Thanks Mike! > > I posted this question on Pano2VR ggnome forum with a little animation of the particular challenge. > > https://ggnome.com/forum/viewtopic.php?f=13&t=11663 > > There may be folks interested in what Livecode could do for their workflow too :) > > Cheers! > > >> On Feb 2, 2017, at 7:56 PM, Mike Bonner via use-livecode wrote: >> >> Hmm. NO easy way to see the critical stuff from here but I found this post. >> >> https://ggnome.com/forum/viewtopic.php?f=6&t=9123&p=35818&hilit=custom+function+hotspot#p35818 >> >> I think the key is to do similar to what is being done in the post. >> Basically,pass the value of me.hotspot.id to livecode as part of the >> function call, and add a switch block that gives a message based on the >> hotspot id. Very hard to actually test anything from here, but maybe there >> is something useful in the post. >> >> On Thu, Feb 2, 2017 at 8:12 PM, JOHN PATTEN via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi All, >>> >>> I managed to trial and error together a working html5 panorama using >>> Pan2VR (http://ggnome.com/pano2vr ). The >>> interface of their software allows you to attach a javascript action to a >>> vr hotspot. The interface creates the following javascript for the hotspot >>> to trigger the LiveCode handler: >>> >>> this._svg2.onclick=function (e) { >>> window.addEventListener('click', >>> function() {liveCode.myLiveCodeHandler2();}); >>> } >>> >>> (svg2 is the hotspot icon). >>> >>> The hotspot in the vr adds some text to a field on the card when clicked, >>> waits 2 seconds, and then removes the text. >>> >>> This javascript works only the first time, because after the hotspot is >>> clicked, the LiveCode handler is triggered any time the user clicks within >>> the vr of the browser object. (Javascript ?event listener? listens for any >>> click in the browser object, after the hotspot is clicked once.) >>> >>> The only solution I have found is to reload the html for the vr into the >>> browser object again. But that is not ideal. >>> >>> I am aware of a the javascript command removeEventListener, and that >>> appears to be what I need, however I am not sure how I would go about and >>> use the script? Its appears that ?this.? is defined in the js as the >>> hotspot, and _svg2 is the hot spot ID, but everything I have tried to >>> cobble together to apply this command has not worked. I?m not sure where it >>> should even be located in the process? >>> >>> I?ve shared the LiveCode project and VR files here: >>> https://dl.dropboxusercontent.com/u/6767916/VR_and_Javascript_Example.zip >>> >> Any help is greatly appreciated! >>> >>> John Patten >>> SUSD >>> >>> >>> >>>> On Jan 30, 2017, at 8:01 PM, Mike Bonner via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Depending on what version of LC you're using,k and if you're using the >>>> widget, or openrevbrowser >>>> look at revBrowserAddJavascriptHandler in the dictionary. >>>> >>>> If using the widget, use the dropdown to select the browser widget in the >>>> dictionary and look at the javascripthandlers property. >>>> >>>> >>>> >>>> On Mon, Jan 30, 2017 at 8:22 PM, JOHN PATTEN via use-livecode < >>>> use-livecode at lists.runrev.com > >>> wrote: >>>>> Hi All, >>>>> >>>>> I?m not sure if this is possible with Livecode, but I thought I?d ask >>>>> anyways. >>>>> >>>>> I have a html5 panorama I created in a trial version of Pano2VR. I >>> posted >>>>> it up here: http://jpatten.on-rev.com/vrjs/index.html < >>> http://jpatten.on-rev.com/vrjs/index.html> < >>>>> http://jpatten.on-rev.com/vrjs/index.html >> vrjs/index.html>> >>>>> This pano has one hot spot that just throws a JavaScript alert, ?Hello >>>>> World.? So I know I can create a Javascript inside a hotspot in the >>> pano >>>>> using the Pano2VR app. >>>>> >>>>> Here are my questions. >>>>> >>>>> 1. Can Livecode intercept the Javascript result in the browser object >>> and >>>>> act on it? If it can, I?m guessing I could have it return text and then >>>>> have Livecode run an action. Something like? if varText = ?picture 1? >>>>> then, show picture one ? else/switch if vartex = "picture 2" then open >>>>> "picture 2", etc. etc. etc. >>>>> >>>>> >>>>> 2. I would like to have hotspots in a panoramic image run JavaScripts >>> that >>>>> LiveCode intercepts, and then act on what it catches to runs scripts in >>> the >>>>> stack. One hot spot might open and image. Another might open a substack, >>>>> etc. etc. all within the LiveCode project. The Browser Object is used >>> only >>>>> to present the panoramic image, and the pano image acts as s pseudo >>>>> navigation object for additional content. >>>>> >>>>> Anybody have a simple example of what the Javascript in the pano might >>>>> look like, as opposed to just an alert? What scripts would I use to >>> capture >>>>> and act on the Javascript in the browser object? >>>>> >>>>> Or, maybe this is not possible?? >>>>> >>>>> Thank you! >>>>> >>>>> John Patten >>>>> SUSD >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >>> http://lists.runrev.com/mailman/listinfo/use-livecode> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >>> http://lists.runrev.com/mailman/listinfo/use-livecode> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Fri Feb 3 16:34:52 2017 From: bleiler at buffalo.edu (Bleiler, Timothy) Date: Fri, 3 Feb 2017 21:34:52 +0000 Subject: Browser widget and websites that open content in a tab or window In-Reply-To: References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> <007d01d27e3e$007b04e0$01710ea0$@kestner.de> <02e501d27e44$690e5ab0$3b2b1010$@consensustech.com> Message-ID: <7978D6B2-3957-4564-9143-C4B83CC306D3@buffalo.edu> The links on a website displayed in a browser widget work fine when they are of the form: https://www.NotRealSite.*** but nothing happens in the Livecode browser widget if the links are part of a javascript element that attempts to open the site in a new tab. Is there any way to deal with this problem without rewriting the web site? Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From bogdanoff at me.com Fri Feb 3 19:35:36 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 03 Feb 2017 19:35:36 -0500 Subject: repeated crashing on save in 8.x In-Reply-To: References: Message-ID: <10E64B01-86B0-409A-A0A1-DAA144C561DC@me.com> I have trouble with 8 crashing on save also. I found that I have an external La Cie drive that spins up on open and save activity, which is normal, but seems to cause this. When I dismount the drive, no problem. Peter > On Feb 3, 2017, at 11:26 AM, Dr. Hawkins via use-livecode wrote: > > My project is in a dozen or so stacks which I turn into substacks before > filing. > > In 8.x, as I go through this dance, in addition to the bug that stops "save > as" from working (although it does seem to change the name on the next save > after, some of the time. I've worked around it with "set the filename" and > a gratuitous save), I am now seeing crashes when saving after adding a sub > stack. > > Even looping through, and saving after each added substack, I get crashes > at different points each run. Off the cuff, I'm estimating a crash (of > livecode itself) about 10% of the time, so getting through the whole set is > rather rare event. > > I've found that if I run the combination code in 7.1.4, it works (but > doesn't compile correctly, failing to add the database and other support > modules [it identifies them, and gives a list of failures at the end]). > > So for the moment, I'm combing in 7 and compiling in 8. > > Another odd observation is that when I *do* manage to combine in 8, > compilation takes something like 10 minutes when it succeeds (but it > usually crashes on the way). If I combine in 7 and compile in 8, > compilation is quick (maybe a minute; I haven't measured), and no crash. > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Fri Feb 3 21:03:28 2017 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 3 Feb 2017 18:03:28 -0800 Subject: fontNames Message-ID: <8e63cea6-fc48-3825-6e8c-58ac47e40032@pdslabs.net> I'm currently fiddling around with fonts. I see that the list returned by 'the fontNames' contains some 'placeholder' values, namely these: (Default) (Menu) (Message) (Styled Text) (System) (Text) (Tooltip) Is there a way to find out what font is used when a field's textFont is set to "(Default)" or some other placeholder value? I'm using LC 8.1.2 on Mac OS X 10.11.6. Thanks - Phil Davis -- Phil Davis From dunbarx at aol.com Fri Feb 3 21:31:21 2017 From: dunbarx at aol.com (dunbarx) Date: Fri, 3 Feb 2017 18:31:21 -0800 (PST) Subject: fontNames In-Reply-To: <8e63cea6-fc48-3825-6e8c-58ac47e40032@pdslabs.net> References: <8e63cea6-fc48-3825-6e8c-58ac47e40032@pdslabs.net> Message-ID: <1486175481419-4712189.post@n4.nabble.com> I fear I am becoming more and more orphaned around here, languishing in v.6x. For what it is worth, the fontNames returns only a list of fonts, one per line, in my world. Is it a v.8 thing? Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/fontNames-tp4712188p4712189.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Fri Feb 3 21:59:16 2017 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 3 Feb 2017 18:59:16 -0800 Subject: fontNames In-Reply-To: <1486175481419-4712189.post@n4.nabble.com> References: <8e63cea6-fc48-3825-6e8c-58ac47e40032@pdslabs.net> <1486175481419-4712189.post@n4.nabble.com> Message-ID: <0e51812b-c02e-a5f7-ded8-74445c289de1@pdslabs.net> Hi Craig, Maybe those new 'fonts' debuted in LC 7. I see what you're talking about in LC 6.7.10, then in 8.0.2 I see the additional ones. I don't have LC 7 installed anywhere and don't want to take the time, and none of the release notes for 6 / 7 / 8 mention it (that I can see), so... guess I'm moving on. It isn't a showstopper for me, just a curiosity more than anything. Thanks - Phil On 2/3/17 6:31 PM, dunbarx via use-livecode wrote: > I fear I am becoming more and more orphaned around here, languishing in v.6x. > > For what it is worth, the fontNames returns only a list of fonts, one per > line, in my world. Is it a v.8 thing? > > Craig Newman > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/fontNames-tp4712188p4712189.html > Sent from the Revolution - User mailing list archive at Nabble.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 > -- Phil Davis From fraser.gordon at livecode.com Fri Feb 3 22:20:48 2017 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Fri, 3 Feb 2017 22:20:48 -0500 Subject: fontNames In-Reply-To: <8e63cea6-fc48-3825-6e8c-58ac47e40032@pdslabs.net> References: <8e63cea6-fc48-3825-6e8c-58ac47e40032@pdslabs.net> Message-ID: On 2017-02-03 21:03, Phil Davis via use-livecode wrote: > I'm currently fiddling around with fonts. I see that the list returned > by 'the fontNames' contains some 'placeholder' values, namely these: > > (Default) > (Menu) > (Message) > (Styled Text) > (System) > (Text) > (Tooltip) > > Is there a way to find out what font is used when a field's textFont > is set to "(Default)" or some other placeholder value? Yes and no - the font that is being used for, say, "(Message)" has a name that will be returned if you ask the macOS system for the font for push buttons and then ask what the name of that font is - it might be "San Francisco" on recent versions of macOS, for example. When I originally added these pseudo-fonts in LC8, that's exactly what asking for 'the effective textfont of...' would give you. Unfortunately, it turns out that the font you get when you try to request the macOS system fonts by name is *not* the same font as when you ask the 'official' way (which means that setting the textFont of a control to its effective textFont actually changes the font!). So, no, because LiveCode doesn't provide a way to get the "display name" of the font used for these. But yes, because the font really *is* "(Message)" because that's the only name for it that LiveCode can actually use. I hope that's about as clear as mud for you ;) Fraser From revdev at pdslabs.net Fri Feb 3 23:21:45 2017 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 3 Feb 2017 20:21:45 -0800 Subject: fontNames In-Reply-To: References: <8e63cea6-fc48-3825-6e8c-58ac47e40032@pdslabs.net> Message-ID: A masterful explanation! Thanks Fraser - Phil On 2/3/17 7:20 PM, Fraser Gordon via use-livecode wrote: > On 2017-02-03 21:03, Phil Davis via use-livecode wrote: > >> I'm currently fiddling around with fonts. I see that the list >> returned by 'the fontNames' contains some 'placeholder' values, >> namely these: >> >> (Default) >> (Menu) >> (Message) >> (Styled Text) >> (System) >> (Text) >> (Tooltip) >> >> Is there a way to find out what font is used when a field's textFont >> is set to "(Default)" or some other placeholder value? > Yes and no - the font that is being used for, say, "(Message)" has a > name that will be returned if you ask the macOS system for the font > for push buttons and then ask what the name of that font is - it might > be "San Francisco" on recent versions of macOS, for example. When I > originally added these pseudo-fonts in LC8, that's exactly what asking > for 'the effective textfont of...' would give you. Unfortunately, it > turns out that the font you get when you try to request the macOS > system fonts by name is *not* the same font as when you ask the > 'official' way (which means that setting the textFont of a control to > its effective textFont actually changes the font!). > > So, no, because LiveCode doesn't provide a way to get the "display > name" of the font used for these. > > But yes, because the font really *is* "(Message)" because that's the > only name for it that LiveCode can actually use. > > I hope that's about as clear as mud for you ;) > > Fraser > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From jmyepes at mac.com Sat Feb 4 00:37:15 2017 From: jmyepes at mac.com (Josep Maria Yepes Montardit) Date: Sat, 04 Feb 2017 06:37:15 +0100 Subject: Quartam reports blank page on Sierra Macosx Message-ID: <11FC1521-A1F0-4FC5-B7BD-0553B0D93129@mac.com> Hi, I need help with Quartam Reports. Since Sierra MacOSX when you print preview any report a blank page left on desktop making unusable these zone until close the app. Since now was impossible contact with Quartam support. Any idea if Quartam still exist or is supported? Alternatives? Salut, Josep M From admin at FlexibleLearning.com Sat Feb 4 05:55:31 2017 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 4 Feb 2017 10:55:31 -0000 Subject: Drag List Items Up and Down Message-ID: <00be01d27ed5$35660d20$a0322760$@FlexibleLearning.com> This modification honours the minimum and maximum drag line to avoid the inadvertent insertion of empty lines, and cosmetically works for both list and standard fields... -- Field script on mouseDown put the num of lines of me into tmax # Store drag constraint put word 2 of the clickLine into tcl if not the listBehavior of me then set the textcolor of line tcl of me to "red" # Cosmetic if line tcl of me is empty then exit mousedown end if put item 2 of the mouseLoc into tstarty put the effective textHeight of me into th repeat while the mouse is down if item 2 of the mouseLoc - tstarty > (th/2) then if within (me, the mouseLoc) is true then lock screen if tcl (th/2) then if within (me, the mouseLoc) is true then lock screen put line tcl of me & cr before line (tcl - 1) of me delete line tcl + 1 of me subtract 1 from tcl if tcl<1 then put 1 into tcl # Constrain drag to min lines if not the listBehavior of me then set the textcolor of line tcl of me to "red" # Cosmetic subtract th from tstarty if the listBehavior of me then set the hilitedLine of me to tcl # Update hilitedline unlock screen end if end if end repeat if not the listBehavior of me then set the textcolor of line tcl of me to empty # Cosmetic end mouseDown Hugh Senior FLCo > On Feb 2, 2017, at 11:48 AM, AndyP via use-livecode livecode at lists.runrev.com> wrote: > > Modified script > added > > /if within (field "myField", the mouseLoc) is true then / > > on mouseDown > > put word 2 of the clickLine into tcl > set the textcolor of line tcl of me to "red" > if line tcl of me is empty then > exit mousedown > end if > put item 2 of the mouseLoc into tstarty > put the effective textHeight of me into th > repeat while the mouse is down > if item 2 of the mouseLoc - tstarty > (th/2) then > if within (field "myField", the mouseLoc) is true then > lock screen > put cr & line tcl of me after line tcl + 1 of me > delete line tcl of me > add 1 to tcl > set the textcolor of line tcl of me to "red" > add th to tstarty > unlock screen > end if > else if tstarty - item 2 of the mouseLoc > (th/2) then > if within (field "myField", the mouseLoc) is true then > lock screen > put line tcl of me & cr before line tcl - 1 of me > delete line tcl + 1 of me > subtract 1 from tcl > set the textcolor of line tcl of me to "red" > subtract th from tstarty > unlock screen > end if > end if > end repeat > set the textcolor of line tcl of me to "black" > set the hilitedLine of me to tcl > > end mouseDown > > > > ----- > Andy Piddock From MikeKerner at roadrunner.com Sat Feb 4 13:53:56 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 4 Feb 2017 13:53:56 -0500 Subject: github clients Message-ID: What are you using for accessing git from your desktop besides the github desktop program? -- 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 ahsoftware at sonic.net Sat Feb 4 15:22:32 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 4 Feb 2017 12:22:32 -0800 Subject: github clients In-Reply-To: References: Message-ID: <64c0e351-8bfe-e3b4-2c97-bb805067d692@sonic.net> On 02/04/2017 10:53 AM, Mike Kerner via use-livecode wrote: > What are you using for accessing git from your desktop besides the > github desktop program? > git -- Mark Wieder ahsoftware at gmail.com From smudge.andy at googlemail.com Sat Feb 4 16:19:21 2017 From: smudge.andy at googlemail.com (AndyP) Date: Sat, 4 Feb 2017 13:19:21 -0800 (PST) Subject: github clients In-Reply-To: References: Message-ID: <1486243161354-4712197.post@n4.nabble.com> A good write up of GitHub Desktop comparison to SourceTree. With alternatives at the bottom of the page. https://www.slant.co/versus/13488/7569/~github-desktop_vs_sourcetree ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/github-clients-tp4712195p4712197.html Sent from the Revolution - User mailing list archive at Nabble.com. From smudge.andy at googlemail.com Sat Feb 4 16:23:28 2017 From: smudge.andy at googlemail.com (AndyP) Date: Sat, 4 Feb 2017 13:23:28 -0800 (PST) Subject: Drag List Items Up and Down In-Reply-To: <00be01d27ed5$35660d20$a0322760$@FlexibleLearning.com> References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> <00be01d27ed5$35660d20$a0322760$@FlexibleLearning.com> Message-ID: <1486243408881-4712198.post@n4.nabble.com> Nice addition .. thanks. ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-List-Items-Up-and-Down-tp4712158p4712198.html Sent from the Revolution - User mailing list archive at Nabble.com. From bob at bobhall.net Sat Feb 4 17:04:34 2017 From: bob at bobhall.net (Bob Hall) Date: Sat, 4 Feb 2017 17:04:34 -0500 Subject: github clients In-Reply-To: <1486243161354-4712197.post@n4.nabble.com> References: <1486243161354-4712197.post@n4.nabble.com> Message-ID: <46EE83B1-5E08-40B2-8669-8F16B431DB87@bobhall.net> I use Tower. Not free but it makes things very easy with Git. Yes, there is still a learning curve but it?s not too bad. Has more features than Github and I find the UI very easy to understand. Mac and Windows only. https://www.git-tower.com/ Bob Hall From ahsoftware at sonic.net Sat Feb 4 17:43:46 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 4 Feb 2017 14:43:46 -0800 Subject: github clients In-Reply-To: <64c0e351-8bfe-e3b4-2c97-bb805067d692@sonic.net> References: <64c0e351-8bfe-e3b4-2c97-bb805067d692@sonic.net> Message-ID: <0e7971ff-e123-dd4b-dd4e-d77436a192ed@sonic.net> On 02/04/2017 12:22 PM, Mark Wieder via use-livecode wrote: > On 02/04/2017 10:53 AM, Mike Kerner via use-livecode wrote: >> What are you using for accessing git from your desktop besides the >> github desktop program? >> > > git > I also should give a shoutout to tig. https://github.com/jonas/tig -- Mark Wieder ahsoftware at gmail.com From lists at mangomultimedia.com Sat Feb 4 20:45:26 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 4 Feb 2017 19:45:26 -0600 Subject: Converting scripts in stacks to script only stack behaviors Message-ID: I created a screencast showing how you can convert the scripts in your stacks to script only behavior stacks using a new Property Inspector feature in LiveCode 9 (still in early development). Storing your code in script only stacks allows you to manage your application with source control software such as git. https://www.youtube.com/watch?v=eyggLzIbeSU -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From MikeKerner at roadrunner.com Sat Feb 4 21:39:22 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 4 Feb 2017 21:39:22 -0500 Subject: github clients In-Reply-To: <0e7971ff-e123-dd4b-dd4e-d77436a192ed@sonic.net> References: <64c0e351-8bfe-e3b4-2c97-bb805067d692@sonic.net> <0e7971ff-e123-dd4b-dd4e-d77436a192ed@sonic.net> Message-ID: GitHub Desktop doesn't help me untangle everything in a way that is intuitive to me, and I don't use it often enough to make that hassle very exciting. I downloaded GitKraken tonight. We'll see if that's any better, and I'll read the rest of the info you guys sent to see if those look interesting. On Sat, Feb 4, 2017 at 5:43 PM, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 02/04/2017 12:22 PM, Mark Wieder via use-livecode wrote: > >> On 02/04/2017 10:53 AM, Mike Kerner via use-livecode wrote: >> >>> What are you using for accessing git from your desktop besides the >>> github desktop program? >>> >>> >> git >> >> > I also should give a shoutout to tig. > https://github.com/jonas/tig > > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Sat Feb 4 23:08:05 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 4 Feb 2017 22:08:05 -0600 Subject: Creating LiveCode applications that play well with version control software Message-ID: For the last few months I've been developing an application framework for LiveCode applications that works well with version control software such as git. The framework encourages the use of as many text files as possible. Scripts are stored in script only stacks and all configuration is done with yaml files. Stacks used for UI are stored as binary so there is still some work to do in that area. I?ve also started using Sublime Text as my editor of choice when working with LiveCode. My ultimate goal is for the LiveCode community to have a viable option for creating applications managed with version control software, which can be worked on in teams, but that don't lose the "live" aspect of developing in LiveCode. I've created a screencast where I show what I've been doing in case anyone is interested. https://www.youtube.com/watch?v=e1p_FTRi1-Q Here is the GitHub repository url the Levure framework: https://github.com/trevordevore/levure -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From livecode_ at sfr.fr Sun Feb 5 06:55:48 2017 From: livecode_ at sfr.fr (livecode_) Date: Sun, 5 Feb 2017 12:55:48 +0100 (CET) Subject: Best combination of versions of MacOSX / LC / Xcode ? Message-ID: <1486136063.77908.1486295748797.JavaMail.www@wsfrf1421> ?Hello everybody,
I am brand new to this list although I have been using Metacard / Revolution in the past.
I presently have the project of developing an app that would run on iOS and Android
mobile devices, and was wondering what is the best combination of versions of
MacOSX / LC / Xcode for such a project ?
Thanks in advance.

M. Leraille
From merakosp at gmail.com Sun Feb 5 07:03:45 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 5 Feb 2017 12:03:45 +0000 Subject: Best combination of versions of MacOSX / LC / Xcode ? In-Reply-To: <1486136063.77908.1486295748797.JavaMail.www@wsfrf1421> References: <1486136063.77908.1486295748797.JavaMail.www@wsfrf1421> Message-ID: Hi M.Leraille, Welcome to the list. See the first Q in the FAQ: https://livecode.com/resources/support/ask-a-question/ Best, Panos -- On Sun, Feb 5, 2017 at 11:55 AM, livecode_ via use-livecode < use-livecode at lists.runrev.com> wrote: > ?Hello everybody,
> I am brand new to this list although I have been using Metacard / > Revolution in the past.
> I presently have the project of developing an app that would run on iOS > and Android
> mobile devices, and was wondering what is the best combination of versions > of
> MacOSX / LC / Xcode for such a project ?
> Thanks in advance.
>
> M. Leraille
> _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livecode_ at sfr.fr Sun Feb 5 07:24:29 2017 From: livecode_ at sfr.fr (livecode_) Date: Sun, 5 Feb 2017 13:24:29 +0100 (CET) Subject: Developer needed for LC external for Android Message-ID: <1196163430.83519.1486297469828.JavaMail.www@wsfrf1421> ???Hello again,
For the project of an app for android mobile devices, we may need to hire
someone for developing an external for android.
Please contact me off-list for more details if interested.
Thanks in advance.

M. Leraille From livecode_ at sfr.fr Sun Feb 5 07:05:41 2017 From: livecode_ at sfr.fr (livecode_) Date: Sun, 5 Feb 2017 13:05:41 +0100 (CET) Subject: Developer needed for LC external for Android Message-ID: <1259717554.79823.1486296341311.JavaMail.www@wsfrf1421> ??Hello again,
For the project of an app for android mobile devices, we may need to hire
someone for developing an external for android.
Please contact me off-list for more details if interested.
Thanks in advance.

M. Leraille From dave at applicationinsight.com Sun Feb 5 08:53:08 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 5 Feb 2017 13:53:08 +0000 Subject: Converting scripts in stacks to script only stack behaviors Message-ID: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> Thank you Trevor - a really nice video! I?ve been using script-only stacks for a while for code libraries, never realised how easy it was to use them to effectively make ?script-only behaviors? :) Kind regards Dave From dave at applicationinsight.com Sun Feb 5 08:55:59 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 5 Feb 2017 13:55:59 +0000 Subject: Creating LiveCode applications that play well with version control software Message-ID: <102D8DEA-FF39-437C-AA69-34BEBB0BB864@applicationinsight.com> Wow this is fantastic! Thank you so much for sharing what you?ve done, it really is remarkable Kind regards Dave From skiplondon at gmail.com Sun Feb 5 10:14:59 2017 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 5 Feb 2017 10:14:59 -0500 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: <102D8DEA-FF39-437C-AA69-34BEBB0BB864@applicationinsight.com> References: <102D8DEA-FF39-437C-AA69-34BEBB0BB864@applicationinsight.com> Message-ID: I second Dave's comments.... very well done and a foundation for amazing things to come. This is been an issue that has been brought up in the past and you have made great headways into making version control a reality in LiveCode. SKIP On Sun, Feb 5, 2017 at 8:55 AM, Dave Kilroy via use-livecode < use-livecode at lists.runrev.com> wrote: > Wow this is fantastic! > > Thank you so much for sharing what you?ve done, it really is remarkable > > Kind regards > > Dave > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Sun Feb 5 10:29:37 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 5 Feb 2017 10:29:37 -0500 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: <102D8DEA-FF39-437C-AA69-34BEBB0BB864@applicationinsight.com> Message-ID: Has anyone who is using an external editor come up with a way of generating a handler list? That's the one thing that we don't have, yet, in external text editors (at least that I'm aware of). Something that we should talk about for 9, since we're still in the DP stage, is seeing if we can come up with a way to make "Edit Script" launch an external editor (and the same goes for documentation). For specialized functionality that these tools provide, I think it might be time for the team to get out of having to maintain those functions. On Sun, Feb 5, 2017 at 10:14 AM, Skip Kimpel via use-livecode < use-livecode at lists.runrev.com> wrote: > I second Dave's comments.... very well done and a foundation for amazing > things to come. This is been an issue that has been brought up in the past > and you have made great headways into making version control a reality in > LiveCode. > > SKIP > > On Sun, Feb 5, 2017 at 8:55 AM, Dave Kilroy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Wow this is fantastic! > > > > Thank you so much for sharing what you?ve done, it really is remarkable > > > > Kind regards > > > > Dave > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bonnmike at gmail.com Sun Feb 5 12:08:35 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 5 Feb 2017 10:08:35 -0700 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> Message-ID: Strange. I've been messing with your project and have some ideas, but I've run into a blocker. I can't seem to get javascript params to pass to the lc handler. The handler fires as expected, but params are empty. *sigh* On Fri, Feb 3, 2017 at 12:26 PM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > This could be effected as an extension of what I posted here: > > http://forums.livecode.com/viewtopic.php?f=10&t=28749&p=150876#p150876 > > As my example involves showing a series of static images inside a graphic > object "frame" > the hotspots might prove 'fun' to make; but I should think, ultimately, > they should > not be all that difficult. > > As I am "off" on Sunday for a week (meaning 'another country' and 'a cheap > Android tablet only') > my attempt at that (and it does sound like fun) will have to wait a bit. > > Richmond. > > > On 2/3/17 9:08 pm, JOHN PATTEN via use-livecode wrote: > >> Thanks Mike! >> >> I posted this question on Pano2VR ggnome forum with a little animation >> of the particular challenge. >> >> https://ggnome.com/forum/viewtopic.php?f=13&t=11663 < >> https://ggnome.com/forum/viewtopic.php?f=13&t=11663> >> >> There may be folks interested in what Livecode could do for their >> workflow too :) >> >> Cheers! >> >> >> On Feb 2, 2017, at 7:56 PM, Mike Bonner via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Hmm. NO easy way to see the critical stuff from here but I found this >>> post. >>> >>> https://ggnome.com/forum/viewtopic.php?f=6&t=9123&p=35818& >>> hilit=custom+function+hotspot#p35818 >>> >>> I think the key is to do similar to what is being done in the post. >>> Basically,pass the value of me.hotspot.id to livecode as part of the >>> function call, and add a switch block that gives a message based on the >>> hotspot id. Very hard to actually test anything from here, but maybe >>> there >>> is something useful in the post. >>> >>> On Thu, Feb 2, 2017 at 8:12 PM, JOHN PATTEN via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Hi All, >>>> >>>> I managed to trial and error together a working html5 panorama using >>>> Pan2VR (http://ggnome.com/pano2vr ). The >>>> interface of their software allows you to attach a javascript action to >>>> a >>>> vr hotspot. The interface creates the following javascript for the >>>> hotspot >>>> to trigger the LiveCode handler: >>>> >>>> this._svg2.onclick=function (e) { >>>> window.addEventListener('click', >>>> function() {liveCode.myLiveCodeHandler2();}); >>>> } >>>> >>>> (svg2 is the hotspot icon). >>>> >>>> The hotspot in the vr adds some text to a field on the card when >>>> clicked, >>>> waits 2 seconds, and then removes the text. >>>> >>>> This javascript works only the first time, because after the hotspot is >>>> clicked, the LiveCode handler is triggered any time the user clicks >>>> within >>>> the vr of the browser object. (Javascript ?event listener? listens for >>>> any >>>> click in the browser object, after the hotspot is clicked once.) >>>> >>>> The only solution I have found is to reload the html for the vr into the >>>> browser object again. But that is not ideal. >>>> >>>> I am aware of a the javascript command removeEventListener, and that >>>> appears to be what I need, however I am not sure how I would go about >>>> and >>>> use the script? Its appears that ?this.? is defined in the js as the >>>> hotspot, and _svg2 is the hot spot ID, but everything I have tried to >>>> cobble together to apply this command has not worked. I?m not sure >>>> where it >>>> should even be located in the process? >>>> >>>> I?ve shared the LiveCode project and VR files here: >>>> https://dl.dropboxusercontent.com/u/6767916/VR_and_Javascrip >>>> t_Example.zip >>>> >>> Javascript_Example.zip >>>> Any help is greatly appreciated! >>>> >>>> John Patten >>>> SUSD >>>> >>>> >>>> >>>> On Jan 30, 2017, at 8:01 PM, Mike Bonner via use-livecode < >>>>> >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Depending on what version of LC you're using,k and if you're using the >>>>> widget, or openrevbrowser >>>>> look at revBrowserAddJavascriptHandler in the dictionary. >>>>> >>>>> If using the widget, use the dropdown to select the browser widget in >>>>> the >>>>> dictionary and look at the javascripthandlers property. >>>>> >>>>> >>>>> >>>>> On Mon, Jan 30, 2017 at 8:22 PM, JOHN PATTEN via use-livecode < >>>>> use-livecode at lists.runrev.com > >>>>> >>>> wrote: >>>> >>>>> Hi All, >>>>>> >>>>>> I?m not sure if this is possible with Livecode, but I thought I?d ask >>>>>> anyways. >>>>>> >>>>>> I have a html5 panorama I created in a trial version of Pano2VR. I >>>>>> >>>>> posted >>>> >>>>> it up here: http://jpatten.on-rev.com/vrjs/index.html < >>>>>> >>>>> http://jpatten.on-rev.com/vrjs/index.html> < >>>> >>>>> http://jpatten.on-rev.com/vrjs/index.html >>>>> >>>>> vrjs/index.html>> >>>> >>>>> This pano has one hot spot that just throws a JavaScript alert, ?Hello >>>>>> World.? So I know I can create a Javascript inside a hotspot in the >>>>>> >>>>> pano >>>> >>>>> using the Pano2VR app. >>>>>> >>>>>> Here are my questions. >>>>>> >>>>>> 1. Can Livecode intercept the Javascript result in the browser object >>>>>> >>>>> and >>>> >>>>> act on it? If it can, I?m guessing I could have it return text and >>>>>> then >>>>>> have Livecode run an action. Something like? if varText = ?picture 1? >>>>>> then, show picture one ? else/switch if vartex = "picture 2" then open >>>>>> "picture 2", etc. etc. etc. >>>>>> >>>>>> >>>>>> 2. I would like to have hotspots in a panoramic image run JavaScripts >>>>>> >>>>> that >>>> >>>>> LiveCode intercepts, and then act on what it catches to runs scripts in >>>>>> >>>>> the >>>> >>>>> stack. One hot spot might open and image. Another might open a >>>>>> substack, >>>>>> etc. etc. all within the LiveCode project. The Browser Object is used >>>>>> >>>>> only >>>> >>>>> to present the panoramic image, and the pano image acts as s pseudo >>>>>> navigation object for additional content. >>>>>> >>>>>> Anybody have a simple example of what the Javascript in the pano might >>>>>> look like, as opposed to just an alert? What scripts would I use to >>>>>> >>>>> capture >>>> >>>>> and act on the Javascript in the browser object? >>>>>> >>>>>> Or, maybe this is not possible?? >>>>>> >>>>>> Thank you! >>>>>> >>>>>> John Patten >>>>>> SUSD >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >>>>>> >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode> >>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> >>>> subscription preferences: >>>> >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode < >>>>> >>>> http://lists.runrev.com/mailman/listinfo/use-livecode> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 5 13:03:02 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 5 Feb 2017 18:03:02 +0000 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> Message-ID: <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> Trevor, thanks for that intro to the new tools in LC9 I'm already using libraries and behaviors extensively, but still find my self build LC stack binaries with a full stack script or, quite often, 95% of the code in the card script (if the UI can all be done on a single card) The other day I was thinking 'gee, why not just move this card script out to a behavior and assign it to the card." been mulling this over for a few days, the the work flow for making this transition seemed onerous, but LC9 will make it soooo easy! Our new app, SivaSiva, is being done with GIT and this is the first time working with GIT for something like this? for web and RevIgniter, GIT make obvious sense, since the whole environment is text files from the ground up. But now, with the new app, we have this mix of text only scripts and binary *.livecode stacks. So this leads to two more interesting avenue of adventure/explorations 1) we are already hitting GIT conflicts with the main stack of the project because if one developer needs to add some stack files, or wants to change a standalone setting for testing a build on a device, the IDE of course requires a Save? so now this stack must be either stashed (assuming you don?t need the changes) or committed.. and we hit a conflict later that is not so easily resolved. 2) building UI from script: every now and the notion passes by that perhaps building UI from script has advantages of the LC WSIWIG model. I was intrigued in your to see in the background in sublime text, you had a handler that built some of the UI. perhaps all of it for that dialog box? So the question then becomes when, where and why do we make a decision to go the route to build UI by script? I guess the one obvious answer is that you want to put the UI under git control so that we have, as you put it "fine-grained control over changes, edits, history" etc. I wonder if there are other criteria besides that. Possibly building UI be script may be better suited to responsive design, since, in the end, if you want responsive geometry, you will end up writing those scripts anyway. The only thing missing being the default init props for the control (which we normally would create in the IDE) so one must as well "create button" and set the default init buttons in the script. Actually it would be pretty easy to create the button in WSIWIG and have a small tool to write out the initial props that you could then turn into a script. But this should probably be different thread. I'm sure HQ has solved moved of these issues, but we may need to wait until LC9 is unveiled before we get the full picture from the mother ship, until then? I "muddle along" Brahmanathaswami From ali.lloyd at livecode.com Sun Feb 5 13:21:55 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Sun, 05 Feb 2017 18:21:55 +0000 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> Message-ID: On the subject of building UI from script, I generally think it boils down to whether you already have a good resizeStack handler implemented. If you do, you've done all the hard work already - you can just create all the objects with their required properties before the card opens and delete them when it closes, and your resizeStack does the rest of the placement work. Obviously this is a bit trickier if you have a lot of fields prepopulated with text, or groups with more complicated structure where it's not so easy to tease out the scripts into a behavior. On Sun, Feb 5, 2017 at 6:03 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor, thanks for that intro to the new tools in LC9 > > > I'm already using libraries and behaviors extensively, but still find my > self build LC stack binaries with a full stack script or, quite often, 95% > of the code in the card script (if the UI can all be done on a single card) > > The other day I was thinking 'gee, why not just move this card script out > to a behavior and assign it to the card." been mulling this over for a few > days, the the work flow for making this transition seemed onerous, but LC9 > will make it soooo easy! > > Our new app, SivaSiva, is being done with GIT and this is the first time > working with GIT for something like this? for web and RevIgniter, GIT make > obvious sense, since the whole environment is text files from the ground up. > > But now, with the new app, we have this mix of text only scripts and > binary *.livecode stacks. > > So this leads to two more interesting avenue of adventure/explorations > > 1) we are already hitting GIT conflicts with the main stack of the project > because if one developer needs to add some stack files, or wants to change > a standalone setting for testing a build on a device, the IDE of course > requires a Save? so now this stack must be either stashed (assuming you > don?t need the changes) or committed.. and we hit a conflict later that is > not so easily resolved. > > 2) building UI from script: every now and the notion passes by that > perhaps building UI from script has advantages of the LC WSIWIG model. I > was intrigued in your to see in the background in sublime text, you had a > handler that built some of the UI. perhaps all of it for that dialog box? > So the question then becomes when, where and why do we make a decision to > go the route to build UI by script? I guess the one obvious answer is that > you want to put the UI under git control so that we have, as you put it > "fine-grained control over changes, edits, history" etc. > > I wonder if there are other criteria besides that. Possibly building UI be > script may be better suited to responsive design, since, in the end, if you > want responsive geometry, you will end up writing those scripts anyway. > The only thing missing being the default init props for the control (which > we normally would create in the IDE) so one must as well "create button" > and set the default init buttons in the script. Actually it would be pretty > easy to create the button in WSIWIG and have a small tool to write out the > initial props that you could then turn into a script. > > But this should probably be different thread. I'm sure HQ has solved > moved of these issues, but we may need to wait until LC9 is unveiled before > we get the full picture from the mother ship, until then? I "muddle along" > > Brahmanathaswami > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Sun Feb 5 13:22:42 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Sun, 05 Feb 2017 18:22:42 +0000 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> Message-ID: Heh, I somehow missed the para where you made this comment already Brahma! Sorry. On Sun, Feb 5, 2017 at 6:21 PM Ali Lloyd wrote: > On the subject of building UI from script, I generally think it boils down > to whether you already have a good resizeStack handler implemented. If you > do, you've done all the hard work already - you can just create all the > objects with their required properties before the card opens and delete > them when it closes, and your resizeStack does the rest of the placement > work. > > Obviously this is a bit trickier if you have a lot of fields prepopulated > with text, or groups with more complicated structure where it's not so easy > to tease out the scripts into a behavior. > > > On Sun, Feb 5, 2017 at 6:03 PM Sannyasin Brahmanathaswami via use-livecode > wrote: > > Trevor, thanks for that intro to the new tools in LC9 > > > I'm already using libraries and behaviors extensively, but still find my > self build LC stack binaries with a full stack script or, quite often, 95% > of the code in the card script (if the UI can all be done on a single card) > > The other day I was thinking 'gee, why not just move this card script out > to a behavior and assign it to the card." been mulling this over for a few > days, the the work flow for making this transition seemed onerous, but LC9 > will make it soooo easy! > > Our new app, SivaSiva, is being done with GIT and this is the first time > working with GIT for something like this? for web and RevIgniter, GIT make > obvious sense, since the whole environment is text files from the ground up. > > But now, with the new app, we have this mix of text only scripts and > binary *.livecode stacks. > > So this leads to two more interesting avenue of adventure/explorations > > 1) we are already hitting GIT conflicts with the main stack of the project > because if one developer needs to add some stack files, or wants to change > a standalone setting for testing a build on a device, the IDE of course > requires a Save? so now this stack must be either stashed (assuming you > don?t need the changes) or committed.. and we hit a conflict later that is > not so easily resolved. > > 2) building UI from script: every now and the notion passes by that > perhaps building UI from script has advantages of the LC WSIWIG model. I > was intrigued in your to see in the background in sublime text, you had a > handler that built some of the UI. perhaps all of it for that dialog box? > So the question then becomes when, where and why do we make a decision to > go the route to build UI by script? I guess the one obvious answer is that > you want to put the UI under git control so that we have, as you put it > "fine-grained control over changes, edits, history" etc. > > I wonder if there are other criteria besides that. Possibly building UI be > script may be better suited to responsive design, since, in the end, if you > want responsive geometry, you will end up writing those scripts anyway. > The only thing missing being the default init props for the control (which > we normally would create in the IDE) so one must as well "create button" > and set the default init buttons in the script. Actually it would be pretty > easy to create the button in WSIWIG and have a small tool to write out the > initial props that you could then turn into a script. > > But this should probably be different thread. I'm sure HQ has solved > moved of these issues, but we may need to wait until LC9 is unveiled before > we get the full picture from the mother ship, until then? I "muddle along" > > Brahmanathaswami > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From johnpatten at me.com Sun Feb 5 14:31:16 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Sun, 05 Feb 2017 11:31:16 -0800 Subject: Browser Widget Appears to be caching data (javascript)? Message-ID: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> Hi All, How do you get the browser widget to dump any cached web content? I have an html5 panoramic running in a browser widget. I change the javascript code associated to a hotspot to point to a different url, but the hotspot link continues to point to the old URL. If I launch the panorama in a browser (Chrome,) the hotspot points to the changed url. Why after loading the panorama in the browser widget does the hotspot continue to point to the old url? Thank you! John Patten SUSD From waprothero at gmail.com Sun Feb 5 14:53:34 2017 From: waprothero at gmail.com (William Prothero) Date: Sun, 5 Feb 2017 11:53:34 -0800 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> Message-ID: <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> John: Try adding ??? to the URL. This should force reload. Bill > On Feb 5, 2017, at 11:31 AM, JOHN PATTEN via use-livecode wrote: > > Hi All, > > How do you get the browser widget to dump any cached web content? > > I have an html5 panoramic running in a browser widget. I change the javascript code associated to a hotspot to point to a different url, but the hotspot link continues to point to the old URL. > > If I launch the panorama in a browser (Chrome,) the hotspot points to the changed url. > > Why after loading the panorama in the browser widget does the hotspot continue to point to the old url? > > Thank you! > > John Patten > SUSD > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 5 15:03:12 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 5 Feb 2017 20:03:12 +0000 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> Message-ID: <72A6FCB0-E206-4EDC-822F-627FB339D7E8@hindu.org> Ali, thanks for chiming in? in the current app we stayed away from any resizing, the Design passed down from our team which has years of experience in print graphics (but zero in digital UX/UI) would have been a challenge to get responsive. It could be done of course, anything can be done in Livecode! But, compared to using CSS for web, writing all the code for making the design I got handed, responsive, would have taken more time than we wanted to put in at that stage of the project (with "tiny" budget!)? possibly in the future. RE: "a good resizeStack Handler" ? it would be great is those who have mastered this skill--have libraries, examples? were to place them somewhere for us to study. A lot of the "flak" I hear about using LC is "but it's not responsive, at that so easy with HTML5" They gloss over the depth of javascript skills required to actually program the UI to do anything other than look pretty. However easy it may be to make a
and apply a class. The "ease" ends there. If I have a UI ready to go and ask a JS jockey to program the whole UX, click a stop watch and have Jacqueline do it in LiveCode. Jacque will be done in half the time. Point: if we had a more robust set of examples, lessons, youTube Tutorials on "building responsive UI for LiveCode" it would go a long way in helping the product feel that this issue, is a non-issue. Right now it is. BR On 2/5/17, 8:21 AM, "use-livecode on behalf of Ali Lloyd via use-livecode" wrote: On the subject of building UI from script, I generally think it boils down to whether you already have a good resizeStack handler implemented. If you do, you've done all the hard work already - you can just create all the objects with their required properties before the card opens and delete them when it closes, and your resizeStack does the rest of the placement work. Obviously this is a bit trickier if you have a lot of fields prepopulated with text, or groups with more complicated structure where it's not so easy to tease out the scripts into a behavior. From johnpatten at me.com Sun Feb 5 15:16:31 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Sun, 05 Feb 2017 12:16:31 -0800 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> Message-ID: Hi Bill, Did not seem to make a difference with the ??? added to the end. It is still going to the old site. I have attached an example stack. https://dl.dropboxusercontent.com/u/6767916/Pano%20JavaScript%20Tester.livecode.zip The ?cow? hotspot should launch the NASA site instead of the cow site. (I?m guessing it will work for you the first time though. I would have to change the url in the javascript after you were to try it once, and then see if the hotspot goes to the new url.) The cow hotspot should be going to the nasa.gov site. Thank you! John Patten SUSD > On Feb 5, 2017, at 11:53 AM, William Prothero via use-livecode wrote: > > John: > Try adding ??? to the URL. This should force reload. > Bill > >> On Feb 5, 2017, at 11:31 AM, JOHN PATTEN via use-livecode wrote: >> >> Hi All, >> >> How do you get the browser widget to dump any cached web content? >> >> I have an html5 panoramic running in a browser widget. I change the javascript code associated to a hotspot to point to a different url, but the hotspot link continues to point to the old URL. >> >> If I launch the panorama in a browser (Chrome,) the hotspot points to the changed url. >> >> Why after loading the panorama in the browser widget does the hotspot continue to point to the old url? >> >> Thank you! >> >> John Patten >> SUSD >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Sun Feb 5 15:18:14 2017 From: waprothero at gmail.com (William Prothero) Date: Sun, 5 Feb 2017 12:18:14 -0800 Subject: Checking out the "Resources" button in LC9 Message-ID: <326D6210-3C66-43DB-AEEC-5BB17535CC9E@gmail.com> This has probably been noticed by others, but I just clicked the ?Resources? button in LC9. It looks like a lot of great stuff. But, seems way, way out of date. Refers to Revolution, v2.7, etc. I know the mothership is very busy implementing new features. But, to get new users, this kind of resource will be needed and the fact that it?s so old seeming might be a turnoff. Best, Bill William A. Prothero http://earthlearningsolution.org/ From brahma at hindu.org Sun Feb 5 15:28:33 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 5 Feb 2017 20:28:33 +0000 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> Message-ID: <4E4DA0A8-0CB2-456D-A095-2FA912CAD926@hindu.org> FYI Mike, Getting those params over to LC is doable? Jonathan wrote me off line.. I will email you a small stack he created that works and perhaps will suffice for your needs. But, beware, you may head into this thinking "Wow, this is so cool. We could do a lot with this." Hold your horses, you will banging against walls in no time. The browser widget is *not* in the message path We had some long discussions on the integration of the Browser Widget/HTML5 apps already see: thread: Browser Widget/HTML5/LC Integration We also have an enhancement request which was 'hibernated' that may interest you. http://quality.livecode.com/show_bug.cgi?id=19184 related: http://quality.livecode.com/show_bug.cgi?id=19021#c15 I even got a quote from HQ team on the price for implementation, I can pitch in $1,000.00 and if anyone else is interested in tighter integration between the browser widget and LIvecode message path, contact me off list at brahma at hindu.org. I was hoping for a group effort to pay for the development, HQ's estimate $ is actually more than reasonable given the scope of the requirements? but not getting any takers so far. The discussion continues here if you want to add more. http://forums.livecode.com/viewtopic.php?f=11&t=28737 BR On 2/5/17, 7:08 AM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: Strange. I've been messing with your project and have some ideas, but I've run into a blocker. I can't seem to get javascript params to pass to the lc handler. The handler fires as expected, but params are empty. *sigh* From waprothero at gmail.com Sun Feb 5 15:32:31 2017 From: waprothero at gmail.com (William Prothero) Date: Sun, 5 Feb 2017 12:32:31 -0800 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> Message-ID: <28838BC8-EEBC-41ED-B8FB-6CB692F79D04@gmail.com> On the park Pano, I clicked the Fox and got to the ?The Fox Project?, clicked the cow and got to the NASA site several times. If I click on the chicken, I get the ?Damn? message and after that, every time I click on the pano, I get the ?Damn? message. If I reload the pano, I don?t get it. It seems to go to the right place. I?m on OSX 10.11.6 Livecode 9.0.0(dp4) John, this is a very cool project. I hope you get it working. I?d love to be able to use your VR framework. One of my colleagues created a VR exploration of the East Pacific Rise, with lots of videos, etc. It stopped working when Quicktime VR went away. It was written in Director, ages ago. But, it was a very cool app and would be really wonderful to be able to resurrect it in livecode. Best, Bill > On Feb 5, 2017, at 12:16 PM, JOHN PATTEN via use-livecode wrote: > > Hi Bill, > > Did not seem to make a difference with the ??? added to the end. It is still going to the old site. > > I have attached an example stack. https://dl.dropboxusercontent.com/u/6767916/Pano%20JavaScript%20Tester.livecode.zip > > The ?cow? hotspot should launch the NASA site instead of the cow site. (I?m guessing it will work for you the first time though. I would have to change the url in the javascript after you were to try it once, and then see if the hotspot goes to the new url.) > > The cow hotspot should be going to the nasa.gov site. > > > Thank you! > > John Patten > SUSD >> On Feb 5, 2017, at 11:53 AM, William Prothero via use-livecode wrote: >> >> John: >> Try adding ??? to the URL. This should force reload. >> Bill >> >>> On Feb 5, 2017, at 11:31 AM, JOHN PATTEN via use-livecode wrote: >>> >>> Hi All, >>> >>> How do you get the browser widget to dump any cached web content? >>> >>> I have an html5 panoramic running in a browser widget. I change the javascript code associated to a hotspot to point to a different url, but the hotspot link continues to point to the old URL. >>> >>> If I launch the panorama in a browser (Chrome,) the hotspot points to the changed url. >>> >>> Why after loading the panorama in the browser widget does the hotspot continue to point to the old url? >>> >>> Thank you! >>> >>> John Patten >>> SUSD >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Feb 5 15:35:14 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 05 Feb 2017 20:35:14 +0000 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: <102D8DEA-FF39-437C-AA69-34BEBB0BB864@applicationinsight.com> Message-ID: On Sun, Feb 5, 2017 at 9:30 AM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Has anyone who is using an external editor come up with a way of generating > a handler list? That's the one thing that we don't have, yet, in external > text editors (at least that I'm aware of). The Sublime Text language module has a handler list. I'm not at my computer but I think it is CMD + R that brings up the list and then you start typing to filter it. You can also bring up a list of all handlers in your entire project and search those. -- Trevor DeVore > From waprothero at gmail.com Sun Feb 5 15:36:54 2017 From: waprothero at gmail.com (William Prothero) Date: Sun, 5 Feb 2017 12:36:54 -0800 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: Trevor: Looks like your video is getting lots of hits. It hangs on me, which shouldn?t happen with youtube. Anyway, I somehow missed getting the new Project Browser you use in your tutorial. Where can I get it? Best, Bill > On Feb 4, 2017, at 8:08 PM, Trevor DeVore via use-livecode wrote: > > For the last few months I've been developing an application framework for > LiveCode applications that works well with version control software such as > git. The framework encourages the use of as many text files as possible. > Scripts are stored in script only stacks and all configuration is done with > yaml files. Stacks used for UI are stored as binary so there is still some > work to do in that area. I?ve also started using Sublime Text as my editor > of choice when working with LiveCode. > > My ultimate goal is for the LiveCode community to have a viable option for > creating applications managed with version control software, which can be > worked on in teams, but that don't lose the "live" aspect of developing in > LiveCode. > > I've created a screencast where I show what I've been doing in case anyone > is interested. > > https://www.youtube.com/watch?v=e1p_FTRi1-Q > > Here is the GitHub repository url the Levure framework: > > https://github.com/trevordevore/levure > > -- > Trevor DeVore > Outcome & ScreenSteps > www.outcomeapp.io - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sun Feb 5 15:41:03 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 5 Feb 2017 20:41:03 +0000 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: <4E4DA0A8-0CB2-456D-A095-2FA912CAD926@hindu.org> References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> <4E4DA0A8-0CB2-456D-A095-2FA912CAD926@hindu.org> Message-ID: Actually you can get it here: http://livecodeshare.runrev.com/stack/817/LC-to-JS-Data-Transfer On 2/5/17, 10:28 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: Getting those params over to LC is doable? Jonathan wrote me off line.. I will email you a small stack he created that works and perhaps will suffice for your needs. From brahma at hindu.org Sun Feb 5 15:44:54 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 5 Feb 2017 20:44:54 +0000 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <28838BC8-EEBC-41ED-B8FB-6CB692F79D04@gmail.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <28838BC8-EEBC-41ED-B8FB-6CB692F79D04@gmail.com> Message-ID: <155C2F52-51F8-46D3-AA00-5CA51EA2F12D@hindu.org> John: Ditto what Bill said?that, keep us all posted! Possibly get a thread going on the multi-media are of the forums? William Prothero: John, this is a very cool project. I hope you get it working. I?d love to be able to use your VR framework. One of my colleagues created a VR exploration of the East Pacific Rise, with lots of videos, etc. It stopped working when Quicktime VR went away. It was written in Director, ages ago. But, it was a very cool app and would be really wonderful to be able to resurrect it in livecode. From MikeKerner at roadrunner.com Sun Feb 5 15:48:08 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 5 Feb 2017 15:48:08 -0500 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: Do we know if TW or Atom can do that? I'm not aware of Atom being able to, but I don't know if TW can On Sun, Feb 5, 2017 at 3:36 PM, William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor: > Looks like your video is getting lots of hits. It hangs on me, which > shouldn?t happen with youtube. Anyway, I somehow missed getting the new > Project Browser you use in your tutorial. Where can I get it? > Best, > Bill > > > On Feb 4, 2017, at 8:08 PM, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > For the last few months I've been developing an application framework for > > LiveCode applications that works well with version control software such > as > > git. The framework encourages the use of as many text files as possible. > > Scripts are stored in script only stacks and all configuration is done > with > > yaml files. Stacks used for UI are stored as binary so there is still > some > > work to do in that area. I?ve also started using Sublime Text as my > editor > > of choice when working with LiveCode. > > > > My ultimate goal is for the LiveCode community to have a viable option > for > > creating applications managed with version control software, which can be > > worked on in teams, but that don't lose the "live" aspect of developing > in > > LiveCode. > > > > I've created a screencast where I show what I've been doing in case > anyone > > is interested. > > > > https://www.youtube.com/watch?v=e1p_FTRi1-Q > > > > Here is the GitHub repository url the Levure framework: > > > > https://github.com/trevordevore/levure > > > > -- > > Trevor DeVore > > Outcome & ScreenSteps > > www.outcomeapp.io - www.screensteps.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Sun Feb 5 16:05:34 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 Feb 2017 15:05:34 -0600 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: <102D8DEA-FF39-437C-AA69-34BEBB0BB864@applicationinsight.com> Message-ID: On Sun, Feb 5, 2017 at 9:14 AM, Skip Kimpel via use-livecode < use-livecode at lists.runrev.com> wrote: > I second Dave's comments.... very well done and a foundation for amazing > things to come. This is been an issue that has been brought up in the past > and you have made great headways into making version control a reality in > LiveCode. > I'm glad you guys enjoyed it. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From lists at mangomultimedia.com Sun Feb 5 16:06:57 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 Feb 2017 15:06:57 -0600 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: On Sun, Feb 5, 2017 at 2:48 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Do we know if TW or Atom can do that? I'm not aware of Atom being able to, > but I don't know if TW can Sorry, I don't. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From lists at mangomultimedia.com Sun Feb 5 16:08:47 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 Feb 2017 15:08:47 -0600 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: On Sun, Feb 5, 2017 at 2:36 PM, William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > > Anyway, I somehow missed getting the new Project Browser you use in your > tutorial. Where can I get it? > That is actually the old Application Browser that I accessed from the plugins menu. The Project Browser seems to have a bug in LC 9 dp-4 and it doesn't display objects for me. That is why I opened the Application Browser from the plugins menu. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From MikeKerner at roadrunner.com Sun Feb 5 16:18:54 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 5 Feb 2017 16:18:54 -0500 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: So: Installing the sublime text customizations for LC - where? On Sun, Feb 5, 2017 at 4:08 PM, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Sun, Feb 5, 2017 at 2:36 PM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > Anyway, I somehow missed getting the new Project Browser you use in your > > tutorial. Where can I get it? > > > > That is actually the old Application Browser that I accessed from the > plugins menu. The Project Browser seems to have a bug in LC 9 dp-4 and it > doesn't display objects for me. That is why I opened the Application > Browser from the plugins menu. > > -- > Trevor DeVore > Outcome & ScreenSteps > www.outcomeapp.io - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 MikeKerner at roadrunner.com Sun Feb 5 16:26:58 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 5 Feb 2017 16:26:58 -0500 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: wait - i think i found them. On Sun, Feb 5, 2017 at 4:18 PM, Mike Kerner wrote: > So: Installing the sublime text customizations for LC - where? > > On Sun, Feb 5, 2017 at 4:08 PM, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Sun, Feb 5, 2017 at 2:36 PM, William Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> > >> > Anyway, I somehow missed getting the new Project Browser you use in your >> > tutorial. Where can I get it? >> > >> >> That is actually the old Application Browser that I accessed from the >> plugins menu. The Project Browser seems to have a bug in LC 9 dp-4 and it >> doesn't display objects for me. That is why I opened the Application >> Browser from the plugins menu. >> >> -- >> Trevor DeVore >> Outcome & ScreenSteps >> www.outcomeapp.io - www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Sun Feb 5 16:41:25 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 Feb 2017 15:41:25 -0600 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: On Sun, Feb 5, 2017 at 3:18 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > So: Installing the sublime text customizations for LC - where? Install using Package Control: https://packagecontrol.io/packages/LiveCode Github page: https://github.com/trevordevore/livecode-sublimetext The linter GitHub page is here: https://github.com/trevordevore/sublimelinter-contrib-livecodelint The linter is built for use with SublimeLinter. I've submitted the plugin to SublimeLinter but there hasn't been any movement in the last two months on their end to add new submissions. You can install sublimelinter-contrib-livecodelint manually but it won't auto update. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From MikeKerner at roadrunner.com Sun Feb 5 16:57:25 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 5 Feb 2017 16:57:25 -0500 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: But how do I get any of that into SublimeText? I have the sublimeLinter installed, but I don't see any python or other means to get closer. On Sun, Feb 5, 2017 at 4:41 PM, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Sun, Feb 5, 2017 at 3:18 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > So: Installing the sublime text customizations for LC - where? > > > Install using Package Control: > > https://packagecontrol.io/packages/LiveCode > > Github page: > > https://github.com/trevordevore/livecode-sublimetext > > The linter GitHub page is here: > > https://github.com/trevordevore/sublimelinter-contrib-livecodelint > > The linter is built for use with SublimeLinter. I've submitted the plugin > to SublimeLinter but there hasn't been any movement in the last two months > on their end to add new submissions. You can install > sublimelinter-contrib-livecodelint manually but it won't auto update. > > -- > Trevor DeVore > Outcome & ScreenSteps > www.outcomeapp.io - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 MikeKerner at roadrunner.com Sun Feb 5 17:01:18 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 5 Feb 2017 17:01:18 -0500 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: References: Message-ID: Wait, I got it. The steps are with the livecodelint depo on github that you created. https://github.com/trevordevore/sublimelinter-contrib-livecodelint I don't know if having package control installed mattered or not, but I finally got it. On Sun, Feb 5, 2017 at 4:57 PM, Mike Kerner wrote: > But how do I get any of that into SublimeText? I have the > sublimeLinter installed, but I don't see any python or other means to get > closer. > > On Sun, Feb 5, 2017 at 4:41 PM, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Sun, Feb 5, 2017 at 3:18 PM, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> > So: Installing the sublime text customizations for LC - where? >> >> >> Install using Package Control: >> >> https://packagecontrol.io/packages/LiveCode >> >> Github page: >> >> https://github.com/trevordevore/livecode-sublimetext >> >> The linter GitHub page is here: >> >> https://github.com/trevordevore/sublimelinter-contrib-livecodelint >> >> The linter is built for use with SublimeLinter. I've submitted the plugin >> to SublimeLinter but there hasn't been any movement in the last two months >> on their end to add new submissions. You can install >> sublimelinter-contrib-livecodelint manually but it won't auto update. >> >> -- >> Trevor DeVore >> Outcome & ScreenSteps >> www.outcomeapp.io - www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bonnmike at gmail.com Sun Feb 5 17:08:29 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 5 Feb 2017 15:08:29 -0700 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> <4E4DA0A8-0CB2-456D-A095-2FA912CAD926@hindu.org> Message-ID: Thx for the info. Honestly, all I want is for the example in the dictionary to work for me. (and yes, the javascript causes the lc side handler to fire, but.. No parameters passed.) I'll read through the stuff you linked and see what I can learn. Thanks! On Sun, Feb 5, 2017 at 1:41 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Actually you can get it here: > > http://livecodeshare.runrev.com/stack/817/LC-to-JS-Data-Transfer > > > > On 2/5/17, 10:28 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami > via use-livecode" use-livecode at lists.runrev.com> wrote: > > Getting those params over to LC is doable? Jonathan wrote me off > line.. I will email you a small stack he created that works and perhaps > will suffice for your needs. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sun Feb 5 17:11:51 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 5 Feb 2017 15:11:51 -0700 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <155C2F52-51F8-46D3-AA00-5CA51EA2F12D@hindu.org> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <28838BC8-EEBC-41ED-B8FB-6CB692F79D04@gmail.com> <155C2F52-51F8-46D3-AA00-5CA51EA2F12D@hindu.org> Message-ID: if just tacking on a ? at the end doesn't work, do this instead. Tack on the ?dummyvar=1234125 where 1234125 is "the seconds." That way its always a unique url and should do a fresh load. On Sun, Feb 5, 2017 at 1:44 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > John: Ditto what Bill said?that, keep us all posted! Possibly get a thread > going on the multi-media are of the forums? > > William Prothero: > > John, this is a very cool project. I hope you get it working. I?d love > to be able to use your VR framework. One of my colleagues created a VR > exploration of the East Pacific Rise, with lots of videos, etc. It stopped > working when Quicktime VR went away. It was written in Director, ages ago. > But, it was a very cool app and would be really wonderful to be able to > resurrect it in livecode. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sun Feb 5 20:11:07 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 5 Feb 2017 18:11:07 -0700 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> <4E4DA0A8-0CB2-456D-A095-2FA912CAD926@hindu.org> Message-ID: Nevermind, user error. It doesn't matter how many changes I make to local files when i'm actually pointing to an external web page. On Sun, Feb 5, 2017 at 3:08 PM, Mike Bonner wrote: > Thx for the info. Honestly, all I want is for the example in the > dictionary to work for me. (and yes, the javascript causes the lc side > handler to fire, but.. No parameters passed.) I'll read through the stuff > you linked and see what I can learn. Thanks! > > On Sun, Feb 5, 2017 at 1:41 PM, Sannyasin Brahmanathaswami via > use-livecode wrote: > >> Actually you can get it here: >> >> http://livecodeshare.runrev.com/stack/817/LC-to-JS-Data-Transfer >> >> >> >> On 2/5/17, 10:28 AM, "use-livecode on behalf of Sannyasin >> Brahmanathaswami via use-livecode" > on behalf of use-livecode at lists.runrev.com> wrote: >> >> Getting those params over to LC is doable? Jonathan wrote me off >> line.. I will email you a small stack he created that works and perhaps >> will suffice for your needs. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Sun Feb 5 20:41:32 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 Feb 2017 19:41:32 -0600 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> Message-ID: ieOn Sun, Feb 5, 2017 at 12:03 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > 2) building UI from script: every now and the notion passes by that > perhaps building UI from script has advantages of the LC WSIWIG model. I > was intrigued in your to see in the background in sublime text, you had a > handler that built some of the UI. perhaps all of it for that dialog box? > So the question then becomes when, where and why do we make a decision to > go the route to build UI by script? I guess the one obvious answer is that > you want to put the UI under git control so that we have, as you put it > "fine-grained control over changes, edits, history" etc. > Personally I don't like building UI from script and I very rarely do it in my projects. The code you saw probably set properties of the controls that already existed on the card. I prefer to lay out the UI in the LiveCode IDE. With Levure adding stack files won't cause any conflicts. Each stack is an independent file and the file that specifies which stacks to load is a text file. If I am testing standalone settings then I do my testing and then reset the file to the last commit. No need to stash the changes or commit them. My hope is that at some point LC will get a single file, text based file format for stacks that can be used while authoring. My goal is to keep the "live" aspect of LiveCode while gaining the benefits of version control software and really powerful text editors. If I'm creating controls in script I have to recreate the stack each time I want to move a control around or add a control. > I wonder if there are other criteria besides that. Possibly building UI be > script may be better suited to responsive design, since, in the end, if you > want responsive geometry, you will end up writing those scripts anyway. > The only thing missing being the default init props for the control (which > we normally would create in the IDE) so one must as well "create button" > and set the default init buttons in the script. Actually it would be pretty > easy to create the button in WSIWIG and have a small tool to write out the > initial props that you could then turn into a script. > Whether or not you create your UI in script won't affect the code you would write to make a design responsive. Creating responsive UI in LiveCode isn't that difficult. If you look at your design you can probably splice it up into rectangles. If my UI is made up of four primary rectangles then I have four primary groups. My card script resizes those four groups. The resizeControl handler in each group is responsible for resizing the controls in that particular group. Within each primary group you can continue to splice up the contents into more rectangles, creating groups and writing more resizeControl handlers. I find that this approach makes the resizing code more manageable as there is less code at each level. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From lists at mangomultimedia.com Sun Feb 5 20:43:59 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 Feb 2017 19:43:59 -0600 Subject: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <005f01d27d45$5639a700$02acf500$@kestner.de> References: <005f01d27d45$5639a700$02acf500$@kestner.de> Message-ID: On Thu, Feb 2, 2017 at 5:13 AM, Tiemo Hollmann TB via use-livecode < use-livecode at lists.runrev.com> wrote: > I have a standard scrolling list field with multiple lines of text. I copy > the text by: > > *set the clipboarddata["text"] to fld "List"* > > The User now can past the text into MS Excel on Windows. With LC 6 the text > was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the > text is pasted with an extra space line between each two lines. > > I checked the line ends in both versions. There is only one "LF" > (byteToNum=10) at the end of each line and it looks the same in both > versions. > > What has changed in LC 8 to cause such a different behavior? Is this again > a > Unicode thing what I don't understand? I already tried different > clipboarddata keys, without success. > I wonder if this is related to the following bug where pasting into Notepad strips all newlines. It would appear that LC 8 is having trouble putting new lines on the clipboard properly. http://quality.livecode.com/show_bug.cgi?id=17524 -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From brahma at hindu.org Sun Feb 5 21:54:56 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 6 Feb 2017 02:54:56 +0000 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> <4E4DA0A8-0CB2-456D-A095-2FA912CAD926@hindu.org> Message-ID: <16C154EF-EA41-4C9F-9D7D-DE2E8565778F@hindu.org> On 2/5/17, 12:08 PM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: Thx for the info. Honestly, all I want is for the example in the dictionary to work for me. (and yes, the javascript causes the lc side handler to fire, but.. No parameters passed.) I'll read through the stuff you linked and see what I can learn. Thanks! Right? OK, well back to John's problem: Passing params to LC I think you are right: "Basically, pass the value of me.hotspot.id to livecode as part of the function call, and add a switch block that gives a message based on the hotspot id." then, theoretically just click anywhere on the pano should fail to evoke the last call (to be tested) If it does, it goes back to: Browser widget is possibly caching the last event params? I have more than a passing interest in this. could be very useful. Those going Richmond's "simple image in native LC control" path may be easier. I don't know how far you can take the pano model with a still image before requiring the software to tile specialized sliced images that are dynamically stitched for the 360. which is what Pano2VR is doing (and also Kolor's similar software). it can be done? a bit of a hack here because the distortion is a bit more than what the human eye would actually perceive but it works, would not require expense pano software? and if you had A number of these you could create a robust VR with just JPGs. Assumes some front end production skills to create them of course. http://www.eisklotz.com/photography/360-panorama/360-panorama-jpg-for-free/ single image: view-source:http://www.eisklotz.com/wp-content/uploads/2016/01/IMG_2226-Panorama.jpg he used blender for the stitching? only 243K? Adding hotspots and controlling the view with LC should be easy? From brahma at hindu.org Sun Feb 5 22:00:10 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 6 Feb 2017 03:00:10 +0000 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> Message-ID: <21A94366-0E1A-4E72-BE9E-807173284DDD@hindu.org> In line On 2/5/17, 3:41 PM, "use-livecode on behalf of Trevor DeVore via use-livecode" wrote: With Levure adding stack files won't cause any conflicts. Each stack is an independent file and the file that specifies which stacks to load is a text file. BR: I must be missing something. in the video you show how the stack files of the URL Dialog stack have been set in the stack properties of the binary livecode stack?so if those changed, the binary is changed Y/N? but here you say "and the file that specifies which stacks to load is a text file." If I am testing standalone settings then I do my testing and then reset the file to the last commit. BR: Oh? I should learn that one (GIT newbie here, barely crawling) No need to stash the changes or commit them. From bonnmike at gmail.com Sun Feb 5 22:04:25 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 5 Feb 2017 20:04:25 -0700 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: <16C154EF-EA41-4C9F-9D7D-DE2E8565778F@hindu.org> References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> <4E4DA0A8-0CB2-456D-A095-2FA912CAD926@hindu.org> <16C154EF-EA41-4C9F-9D7D-DE2E8565778F@hindu.org> Message-ID: Yeah, pretty sure that will work. I just can't test it locally because I'm not set up to actually be able to test. (the project comes with a bunch of stuff, but doesn't function (missing resources I'm sure) when I try to point to the local file. Still feel silly that I was editing local files.. and expecting it to change what I was getting from the server. (DOH) On Sun, Feb 5, 2017 at 7:54 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > On 2/5/17, 12:08 PM, "use-livecode on behalf of Mike Bonner via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Thx for the info. Honestly, all I want is for the example in the > dictionary to work for me. (and yes, the javascript causes the lc > side > handler to fire, but.. No parameters passed.) I'll read through the > stuff > you linked and see what I can learn. Thanks! > > > Right? OK, well back to John's problem: > > Passing params to LC > > I think you are right: > > "Basically, pass the value of me.hotspot.id to livecode as part of the > function call, and add a switch block that gives a message based on the > hotspot id." > > then, theoretically just click anywhere on the pano should fail to evoke > the last call (to be tested) > > If it does, it goes back to: Browser widget is possibly caching the last > event params? > > I have more than a passing interest in this. could be very useful. Those > going Richmond's "simple image in native LC control" path may be easier. I > don't know how far you can take the pano model with a still image before > requiring the software to tile specialized sliced images that are > dynamically stitched for the 360. which is what Pano2VR is doing (and > also Kolor's similar software). > > it can be done? a bit of a hack here because the distortion is a bit more > than what the human eye would actually perceive but it works, would not > require expense pano software? and if you had A number of these you could > create a robust VR with just JPGs. Assumes some front end production skills > to create them of course. > > http://www.eisklotz.com/photography/360-panorama/360- > panorama-jpg-for-free/ > > single image: > > view-source:http://www.eisklotz.com/wp-content/uploads/2016/01/IMG_2226- > Panorama.jpg > > he used blender for the stitching? > > only 243K? Adding hotspots and controlling the view with LC should be easy? > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Sun Feb 5 22:18:58 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 6 Feb 2017 03:18:58 +0000 Subject: JavaScript, Browser Object, VR with Hotspots? In-Reply-To: References: <61D68B10-5CD5-4C34-A978-E62C4E44ACFE@me.com> <4E4DA0A8-0CB2-456D-A095-2FA912CAD926@hindu.org> <16C154EF-EA41-4C9F-9D7D-DE2E8565778F@hindu.org> Message-ID: right, you will not be the first one to change file on his own machine think it would magically appear in his browser. time for either a nap or a swim. and "duh" here too? seems the 360 pano in native LC has been a long running topic on the forums already since 2007 http://forums.livecode.com/viewtopic.php?f=49&t=13430&p=64576&hilit=panorama#p64550 I'm not sure if it is as easy as I thought to get that 360 jpg to behave like a real pano in LC. real good VR in LC still seems a bit far away. I'm pursuing that discussion over at the forums. BR On 2/5/17, 5:04 PM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: Still feel silly that I was editing local files.. and expecting it to change what I was getting from the server. (DO From MikeKerner at roadrunner.com Sun Feb 5 22:52:55 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 5 Feb 2017 22:52:55 -0500 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: <21A94366-0E1A-4E72-BE9E-807173284DDD@hindu.org> References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> <21A94366-0E1A-4E72-BE9E-807173284DDD@hindu.org> Message-ID: I personally don't like everything in one file. I conceptualize things better if I can think of them as being separate. When I'm building interfaces, I could lay everything out on one card and use groups to show/hide the relevant controls, but in my head they're all still there. In interfaces that have overlays, I am constantly fighting the clutter that I imagine in my head. The new PB, without thumbnails, just makes that issue worse for me. Maybe that's part of the reason that I want implicit typing and I don't like explicit variable declarations - it's more clutter to me. Even in Trevor's demo, the folder upon folder layout gets to me as being a jumble. I completely understand why doing things this way can be a good idea, and for IDE components, I even tend to agree that it is desirable, but for projects that are not live, I still want something cleaner. On Sun, Feb 5, 2017 at 10:00 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > In line > On 2/5/17, 3:41 PM, "use-livecode on behalf of Trevor DeVore via > use-livecode" use-livecode at lists.runrev.com> wrote: > > With Levure adding stack files won't cause any conflicts. Each stack > is an independent file and the file that specifies which stacks to > load is > a text file. > > > BR: I must be missing something. in the video you show how the stack files > of the URL Dialog stack have been set in the stack properties of the binary > livecode stack?so if those changed, the binary is changed Y/N? > > but here you say > > "and the file that specifies which stacks to load is a text file." > > If I am testing standalone settings then I do my testing and > then reset the file to the last commit. > > BR: Oh? I should learn that one (GIT newbie here, barely crawling) > > No need to stash the changes or > commit them. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Sun Feb 5 23:04:40 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 5 Feb 2017 22:04:40 -0600 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: <21A94366-0E1A-4E72-BE9E-807173284DDD@hindu.org> References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> <21A94366-0E1A-4E72-BE9E-807173284DDD@hindu.org> Message-ID: On Sun, Feb 5, 2017 at 9:00 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > In line > On 2/5/17, 3:41 PM, "use-livecode on behalf of Trevor DeVore via > use-livecode" use-livecode at lists.runrev.com> wrote: > > With Levure adding stack files won't cause any conflicts. Each stack > is an independent file and the file that specifies which stacks to > load is > a text file. > > BR: I must be missing something. in the video you show how the stack files > of the URL Dialog stack have been set in the stack properties of the binary > livecode stack?so if those changed, the binary is changed Y/N? > Correct. The stackfiles property is only changed if you add a new behavior via a script only stack. That should only happen if you add a new control to the stack that requires a behavior. Keep in mind that the URL Dialog is a stack file that contains a single stack, no substacks. It represents one window in the UI of the application. > but here you say > > "and the file that specifies which stacks to load is a text file." > I'm referring to the app.yml file here. The app.yml file is what ties together all of the files in the application folder into a single application. It is where you specify which libraries, frontscripts, backscripts, and other stacks make up the application. If I add a new UI stack named "Prompt User Prior to Delete" no other stack files will be modified. The only file that might be updated is the app.yml file and that is unlikely as well. In the app.yml file you can specify that the contents of a specific folder are components and Levure will treat all of the contents of that folder as such. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From brahma at hindu.org Mon Feb 6 01:40:13 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 6 Feb 2017 06:40:13 +0000 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> <21A94366-0E1A-4E72-BE9E-807173284DDD@hindu.org> Message-ID: <56E8C3A5-DAAB-4C21-984D-ACFCA6A5BEC5@hindu.org> @ trevor: OK, understood. In fact we are doing a similar/ almost same thing though calling it "SivaSiva.json" which is read on start up, re the stack files for the components: interesting? We have been adding *all* behaviors for all modules in the main stack, since many of these are reused by controls in different modules/components, but I can see if we externalize the *entire* stack script of a component as a behavior then, your layout is obviously the way to do it. Thanks for that! I have been thinking about this already this past week and wasn't clear, Levure shows the way forward? I?ll download 9 asap. @ Mike I think we may not be on the same page. There is certainly no "one file" for the entire project. Both in our SivaSiva app we have many "modules" aka "components" in Trevor's framework ("views" in a MVC way of looking at it) ? OTOH some modules benefit by having one more UI's on the same card, or at least different cards in the same stack. Yeah.. I use to worry about the array of folder and files, but believe me, we have it pretty straight forward. Trevor's Levure and our new app are surprisingly close. Actually Ralf's RevIgniter was there way ahead of us? if you think about it there are only a few classes of objects, so you don't have to make it too complex: assets # images, sound, text files, video, info files. behaviors # code you may want to assign to controls in many different contexts config # start up defaults store as plain text/json/yaml/ LC arrays whatever? libraries # code you want accessible everywhere all the time. models # re-usable code for doing "work/jobs" modules (aka components or "views") # stacks users actually see SuperApp.livecode # the "loader" stack I don't think that is too much of a "jumble" doesn't it add some obvious clarity? If you want to "see" your app, open the components folder that's where the UI/views lives.? and this kind of frame work has a strong track record in web apps, CodeIgniter (PHP) so it is well proven for usability. Anyway, the ability to diff previous commits and cross reference and "cherry pick" from other branches has already saved me headaches in so many ways I can't ever go back. AS for scary jumble snake pit, just expand some html5 apps, some of them are *really* scary. I unwrapped a Ionic app last month done in Angular2; it has 20,000+ files! Yikes! Of course this is like seeing the entire LC engine IDE files set right alongside your own, but with LiveCode we don?t' have to do that. BR On 2/5/17, 6:04 PM, "use-livecode on behalf of Trevor DeVore via use-livecode" wrote: I'm referring to the app.yml file here. The app.yml file is what ties together all of the files in the application folder into a single application. It is where you specify which libraries, frontscripts, backscripts, and other stacks make up the application. If I add a new UI stack named "Prompt User Prior to Delete" no other stack files will be modified. The only file that might be updated is the app.yml file and that is unlikely as well. In the app.yml file you can specify that the contents of a specific folder are components and Levure will treat all of the contents of that folder as such. From janschenkel at yahoo.com Mon Feb 6 03:57:04 2017 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Feb 2017 08:57:04 +0000 (UTC) Subject: Quartam reports blank page on Sierra Macosx References: <1567435563.1550370.1486371424641.ref@mail.yahoo.com> Message-ID: <1567435563.1550370.1486371424641@mail.yahoo.com> Hi Josep, I'm always happy to help, but if you post on the forum on Saturday afternoon, then you might not get an answer by Sunday afternoon... Can you provide a little more background info?rmation, because I can't quite follow what problem you are encountering. Some screenshots or perhaps a screen recording would definitely help me to understand the issue. Let's continue this over on http://forums.quartam.com so the good folks on the use-livecode list can concentrate on the LiveCode bits :-) Cheers, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) -------------------------------------------- On Sat, 2/4/17, Josep Maria Yepes Montardit via use-livecode wrote: Subject: Quartam reports blank page on Sierra Macosx To: use-livecode at lists.runrev.com Cc: "Josep Maria Yepes Montardit" Date: Saturday, February 4, 2017, 6:37 AM Hi, I need help with Quartam Reports. Since Sierra MacOSX when you print preview any report a blank page left on desktop making unusable these zone until close the app. Since now was impossible contact with Quartam support. Any idea if Quartam still exist or is supported? Alternatives? Salut, Josep M _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Mon Feb 6 05:19:32 2017 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 6 Feb 2017 10:19:32 +0000 Subject: [ANN] This Week in LiveCode 69 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 #69 here: https://goo.gl/iaxtl0 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. Peter -- Dr Peter Brett lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From richmondmathewson at gmail.com Mon Feb 6 05:47:43 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 6 Feb 2017 12:47:43 +0200 Subject: Checking out the "Resources" button in LC9 In-Reply-To: <326D6210-3C66-43DB-AEEC-5BB17535CC9E@gmail.com> References: <326D6210-3C66-43DB-AEEC-5BB17535CC9E@gmail.com> Message-ID: LC 9 is a bit like a human being who has an appendix because millions of years ago his/her ancestors were eating a high fibre diet in the depths of the Pangean jungle: full of old, outdated stuff that has been overlooked in the relentess onward drive. Richmond. On Feb 5, 2017 8:18 PM, "William Prothero via use-livecode" < use-livecode at lists.runrev.com> wrote: > This has probably been noticed by others, but I just clicked the > ?Resources? button in LC9. It looks like a lot of great stuff. But, seems > way, way out of date. Refers to Revolution, v2.7, etc. > > I know the mothership is very busy implementing new features. But, to get > new users, this kind of resource will be needed and the fact that it?s so > old seeming might be a turnoff. > > Best, > Bill > > William A. Prothero > http://earthlearningsolution.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Feb 6 07:33:28 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 6 Feb 2017 07:33:28 -0500 Subject: Checking out the "Resources" button in LC9 In-Reply-To: References: <326D6210-3C66-43DB-AEEC-5BB17535CC9E@gmail.com> Message-ID: I was thinking about some of the old deprecated/obsolete features (like the Resources), too. I think that some of those should be resurrected in 9, because they are things that a n00b might appreciate. Some of the SQL tools are one good example, like field binding. On Mon, Feb 6, 2017 at 5:47 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > LC 9 is a bit like a human being who has an appendix because millions of > years ago his/her ancestors were eating a high fibre diet in the depths of > the Pangean jungle: full of old, outdated stuff that has been overlooked in > the relentess onward drive. > > Richmond. > > On Feb 5, 2017 8:18 PM, "William Prothero via use-livecode" < > use-livecode at lists.runrev.com> wrote: > > > This has probably been noticed by others, but I just clicked the > > ?Resources? button in LC9. It looks like a lot of great stuff. But, seems > > way, way out of date. Refers to Revolution, v2.7, etc. > > > > I know the mothership is very busy implementing new features. But, to get > > new users, this kind of resource will be needed and the fact that it?s so > > old seeming might be a turnoff. > > > > Best, > > Bill > > > > William A. Prothero > > http://earthlearningsolution.org/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobsneidar at iotecdigital.com Mon Feb 6 10:55:02 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 15:55:02 +0000 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> Message-ID: <36C58645-3060-4A21-A1CD-73114DB2AAA7@iotecdigital.com> In ANY browser?? I did not know that!! Bob S On Feb 5, 2017, at 11:53 , William Prothero via use-livecode > wrote: John: Try adding ??? to the URL. This should force reload. Bill From bobsneidar at iotecdigital.com Mon Feb 6 11:01:54 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 16:01:54 +0000 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> Message-ID: <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> Old site? This may be DNS caching not browser caching. Clear the cache on your computer, and if possible, if you have a local DNS server, clear that cache as well. Bob S > On Feb 5, 2017, at 12:16 , JOHN PATTEN via use-livecode wrote: > > Hi Bill, > > Did not seem to make a difference with the ??? added to the end. It is still going to the old site. > > I have attached an example stack. https://dl.dropboxusercontent.com/u/6767916/Pano%20JavaScript%20Tester.livecode.zip > > The ?cow? hotspot should launch the NASA site instead of the cow site. (I?m guessing it will work for you the first time though. I would have to change the url in the javascript after you were to try it once, and then see if the hotspot goes to the new url.) > > The cow hotspot should be going to the nasa.gov site. > > > Thank you! > > John Patten > SUSD >> On Feb 5, 2017, at 11:53 AM, William Prothero via use-livecode wrote: >> >> John: >> Try adding ??? to the URL. This should force reload. >> Bill >> >>> On Feb 5, 2017, at 11:31 AM, JOHN PATTEN via use-livecode wrote: >>> >>> Hi All, >>> >>> How do you get the browser widget to dump any cached web content? >>> >>> I have an html5 panoramic running in a browser widget. I change the javascript code associated to a hotspot to point to a different url, but the hotspot link continues to point to the old URL. >>> >>> If I launch the panorama in a browser (Chrome,) the hotspot points to the changed url. >>> >>> Why after loading the panorama in the browser widget does the hotspot continue to point to the old url? >>> >>> Thank you! >>> >>> John Patten >>> SUSD >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 6 11:07:03 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 16:07:03 +0000 Subject: Checking out the "Resources" button in LC9 In-Reply-To: References: <326D6210-3C66-43DB-AEEC-5BB17535CC9E@gmail.com> Message-ID: <7B297EAF-C84F-4894-B32B-5E46C417E79D@iotecdigital.com> This is an unfortunate anology. I like you, were taught this in biology, but since then it seems medical science has discovered that the appendix is a functional organ. http://www.sciencefocus.com/news/what-does-appendix-do-lot-more-we-thought%E2%80%A6 Bob S On Feb 6, 2017, at 02:47 , Richmond Mathewson via use-livecode > wrote: LC 9 is a bit like a human being who has an appendix because millions of years ago his/her ancestors were eating a high fibre diet in the depths of the Pangean jungle: full of old, outdated stuff that has been overlooked in the relentess onward drive. Richmond. From bobsneidar at iotecdigital.com Mon Feb 6 11:15:39 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 16:15:39 +0000 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: References: <47F5AEAA-4F49-43D2-97B2-17BFE28D734F@applicationinsight.com> <6557E8A0-193F-4B51-A785-363CA5BD7D7C@hindu.org> <21A94366-0E1A-4E72-BE9E-807173284DDD@hindu.org> Message-ID: +1 The whole point, or one of the points to object oriented development was to de-centralize the code base. As stated in other posts it really comes down to how complex your app is. I have cards that can be used in any stack, and cards that are very specific to the app. Same with different stacks. Bob S On Feb 5, 2017, at 19:52 , Mike Kerner via use-livecode > wrote: I personally don't like everything in one file. I conceptualize things better if I can think of them as being separate. When I'm building interfaces, I could lay everything out on one card and use groups to show/hide the relevant controls, but in my head they're all still there. In interfaces that have overlays, I am constantly fighting the clutter that I imagine in my head. The new PB, without thumbnails, just makes that issue worse for me. From bobsneidar at iotecdigital.com Mon Feb 6 11:20:05 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 16:20:05 +0000 Subject: Creating LiveCode applications that play well with version control software In-Reply-To: <102D8DEA-FF39-437C-AA69-34BEBB0BB864@applicationinsight.com> References: <102D8DEA-FF39-437C-AA69-34BEBB0BB864@applicationinsight.com> Message-ID: <7E8EFAC0-34FE-4E27-82D2-F6A14FA8393A@iotecdigital.com> Trevor doesn't just think outside the box. He comes up with new ways to make better boxes, and more efficiently in the bargain. Bob S > On Feb 5, 2017, at 05:55 , Dave Kilroy via use-livecode wrote: > > Wow this is fantastic! > > Thank you so much for sharing what you?ve done, it really is remarkable > > Kind regards > > Dave From bobsneidar at iotecdigital.com Mon Feb 6 11:27:09 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 16:27:09 +0000 Subject: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: References: <005f01d27d45$5639a700$02acf500$@kestner.de> Message-ID: <64FB7E52-BFE0-481C-9BB4-42A14D30AB91@iotecdigital.com> If it helps, it may be a Mac OS issue. If I open a text file exported from a Toshiba copier, like the address book let's say, then open it with a text editor like SimpleText, and then save it, I cannot reimport the text file. The copier thinks that the file is unreadable. This happens with other Mac OS apps like Excel and Word. Someone at Apple thought it was a good idea to just help us out by replacing foreign line wraps to carriage returns. Oh, and not tell us they were doing it. Bob S On Feb 5, 2017, at 17:43 , Trevor DeVore via use-livecode > wrote: I wonder if this is related to the following bug where pasting into Notepad strips all newlines. It would appear that LC 8 is having trouble putting new lines on the clipboard properly. From bobsneidar at iotecdigital.com Mon Feb 6 11:34:18 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 16:34:18 +0000 Subject: fontNames In-Reply-To: References: <8e63cea6-fc48-3825-6e8c-58ac47e40032@pdslabs.net> Message-ID: Mud is much clearer. ;-) Bob S On Feb 3, 2017, at 19:20 , Fraser Gordon via use-livecode > wrote: So, no, because LiveCode doesn't provide a way to get the "display name" of the font used for these. But yes, because the font really *is* "(Message)" because that's the only name for it that LiveCode can actually use. I hope that's about as clear as mud for you ;) Fraser From bonnmike at gmail.com Mon Feb 6 11:39:20 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 6 Feb 2017 09:39:20 -0700 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> Message-ID: In an actual browser (at least as far as I know) one doesn't have to resort to tricks. Like in chrome, ctrl-f5 bipasses cache and reloads. More info here. https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache On Mon, Feb 6, 2017 at 9:01 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Old site? This may be DNS caching not browser caching. Clear the cache on > your computer, and if possible, if you have a local DNS server, clear that > cache as well. > > Bob S > > > > On Feb 5, 2017, at 12:16 , JOHN PATTEN via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Bill, > > > > Did not seem to make a difference with the ??? added to the end. It is > still going to the old site. > > > > I have attached an example stack. https://dl.dropboxusercontent. > com/u/6767916/Pano%20JavaScript%20Tester.livecode.zip > > > > The ?cow? hotspot should launch the NASA site instead of the cow site. > (I?m guessing it will work for you the first time though. I would have to > change the url in the javascript after you were to try it once, and then > see if the hotspot goes to the new url.) > > > > The cow hotspot should be going to the nasa.gov site. > > > > > > Thank you! > > > > John Patten > > SUSD > >> On Feb 5, 2017, at 11:53 AM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> John: > >> Try adding ??? to the URL. This should force reload. > >> Bill > >> > >>> On Feb 5, 2017, at 11:31 AM, JOHN PATTEN via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi All, > >>> > >>> How do you get the browser widget to dump any cached web content? > >>> > >>> I have an html5 panoramic running in a browser widget. I change the > javascript code associated to a hotspot to point to a different url, but > the hotspot link continues to point to the old URL. > >>> > >>> If I launch the panorama in a browser (Chrome,) the hotspot points to > the changed url. > >>> > >>> Why after loading the panorama in the browser widget does the hotspot > continue to point to the old url? > >>> > >>> Thank you! > >>> > >>> John Patten > >>> SUSD > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 6 11:45:45 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 16:45:45 +0000 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> Message-ID: <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> Right. But that is the browser cache. If you are talking about a url resolving to a different site, that is a function of DNS, which is totally separate from the browser cache the browser maintains. I do not think the browser is capable of bypassing DNS caching. But maybe I misunderstand the problem. Bob S On Feb 6, 2017, at 08:39 , Mike Bonner via use-livecode > wrote: In an actual browser (at least as far as I know) one doesn't have to resort to tricks. Like in chrome, ctrl-f5 bipasses cache and reloads. More info here. https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache From bonnmike at gmail.com Mon Feb 6 11:49:49 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 6 Feb 2017 09:49:49 -0700 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> Message-ID: I see where you're going with that, and yeah I believe the mutating url would get around a dns cache. Cool! (you can also do it with #134143.. I believe. There were posts re: this in the forum way back.) On Mon, Feb 6, 2017 at 9:45 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Right. But that is the browser cache. If you are talking about a url > resolving to a different site, that is a function of DNS, which is totally > separate from the browser cache the browser maintains. I do not think the > browser is capable of bypassing DNS caching. > > But maybe I misunderstand the problem. > > Bob S > > > On Feb 6, 2017, at 08:39 , Mike Bonner via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > In an actual browser (at least as far as I know) one doesn't have to resort > to tricks. Like in chrome, ctrl-f5 bipasses cache and reloads. More info > here. https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Mon Feb 6 12:07:20 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 6 Feb 2017 12:07:20 -0500 Subject: Browser Widget Appears to be caching data (JavaScript)? In-Reply-To: <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> Message-ID: <005f01d2809b$7ad54890$707fd9b0$@net> To refresh a browser cache I put an argument on the URL that is different from the last request and the cache will be invalidated. In LC I put "&seconds=12345678" at the end of the URL arguments or if there are no arguments then I put "?seconds=12345678" where "12345678" is the LC "the seconds". This only helps if there is no more than 1 request per second. I there are more that "the milliseconds" would be more appropriate. The local DNS cache can be refreshed on Windows by "ipconfig /flushdns". I'm sure that this is function is available on other platforms. Then you are getting the next level of DNS that you might/might not have access to. If the next level is your router you can reset that DNS cache, but after that you have to wait for it to propagate. The TTL of the DNS entry gives an maximum time this will take. I practice I have found that this happens much quicker. I use DynDns for IPs that change regularly and that seems to happen very quickly. Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Monday, February 06, 2017 11:46 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Browser Widget Appears to be caching data (javascript)? Right. But that is the browser cache. If you are talking about a url resolving to a different site, that is a function of DNS, which is totally separate from the browser cache the browser maintains. I do not think the browser is capable of bypassing DNS caching. But maybe I misunderstand the problem. Bob S On Feb 6, 2017, at 08:39 , Mike Bonner via use-livecode > wrote: In an actual browser (at least as far as I know) one doesn't have to resort to tricks. Like in chrome, ctrl-f5 bipasses cache and reloads. More info here. https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache _______________________________________________ use-livecode mailing list use-livecode at 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 Feb 6 12:22:24 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Feb 2017 11:22:24 -0600 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> Message-ID: <15a1472ac80.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I had the DNS caching problem in one project. We had to resort to the "?" trick. Without it, different computers or browsers would all load the older file, which usually didn't update for 24 hours. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 6, 2017 10:47:43 AM Bob Sneidar via use-livecode wrote: > Right. But that is the browser cache. If you are talking about a url > resolving to a different site, that is a function of DNS, which is totally > separate from the browser cache the browser maintains. I do not think the > browser is capable of bypassing DNS caching. > > But maybe I misunderstand the problem. > > Bob S > > > On Feb 6, 2017, at 08:39 , Mike Bonner via use-livecode > > wrote: > > In an actual browser (at least as far as I know) one doesn't have to resort > to tricks. Like in chrome, ctrl-f5 bipasses cache and reloads. More info > here. https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 6 12:30:27 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Feb 2017 17:30:27 +0000 Subject: Browser Widget Appears to be caching data (javascript)? In-Reply-To: <15a1472ac80.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> <15a1472ac80.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0BD18729-71A3-4D12-B4CF-814B32C70D1B@iotecdigital.com> >From Stack Overflow: "There's no guaranteed way to force the user to clear the DNS cache, and it is often done by their ISP on top of their OS. It shouldn't take more than 24 hours for the updated DNS to propagate. Your best option is to make the transition seamless to the user by using something like mod_proxy with Apache to create a reverse proxy to your new server. That would cause all queries to the old server to still return the proper results and after a few days you would be free to remove the reverse proxy." Another way is to simple create a redirect on the old page. Bob S On Feb 6, 2017, at 09:22 , J. Landman Gay via use-livecode > wrote: I had the DNS caching problem in one project. We had to resort to the "?" trick. Without it, different computers or browsers would all load the older file, which usually didn't update for 24 hours. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Feb 6 12:41:39 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Feb 2017 09:41:39 -0800 Subject: Converting scripts in stacks to script only stack behaviors In-Reply-To: <72A6FCB0-E206-4EDC-822F-627FB339D7E8@hindu.org> References: <72A6FCB0-E206-4EDC-822F-627FB339D7E8@hindu.org> Message-ID: <43c9dcfe-4da0-ffd1-23bc-06e3804cb25e@fourthworld.com> Sannyasin Brahmanathaswami wrote: > A lot of the "flak" I hear about using LC is "but it's not > responsive, at that so easy with HTML5" They gloss over the > depth of javascript skills required to actually program the UI > to do anything other than look pretty. However easy it may be > to make a
and apply a class. The "ease" > ends there. Well said. "Responsive" isn't a technology, but a design decision (these days, arguably a requirement). Regardless of the language used, decisions need to be made, and the expression of those decisions in code needs to be tested. Some things are easier in one language than another, and other things easier in other languages. But all of them require commitment to providing a good UX, clear thinking about the layout goals, and good familiarity with whatever language will be used to express those goals. > Point: if we had a more robust set of examples, lessons, youTube > Tutorials on "building responsive UI for LiveCode" it would go > a long way in helping the product feel that this issue, is a > non-issue. Right now it is. Personally, when it comes to programming I prefer textual tutorials, so I can copy-and-paste code. But any tutorials folks in our community want to deliver would be welcome. -- 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 Mon Feb 6 14:43:38 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 6 Feb 2017 19:43:38 +0000 Subject: Coding Responsive UI in Livecode Message-ID: <61BDC611-5002-46DF-A0FD-F509EF661DA2@hindu.org> [moved to a new thread] Sample stacks are probably the way to go? with some lightweight "guide on how to hink about it. Like Trevor wrote "slice up your UI into rectangle and groups? go from there." Richard wrote: > A lot of the "flak" I hear about using LC is "but it's not > responsive, at that so easy with HTML5" They gloss over the > depth of javascript skills required to actually program the UI > to do anything other than look pretty. However easy it may be > to make a
and apply a class. The "ease" > ends there. Well said. "Responsive" isn't a technology, but a design decision (these days, arguably a requirement). Regardless of the language used, decisions need to be made, and the expression of those decisions in code needs to be tested. Some things are easier in one language than another, and other things easier in other languages. But all of them require commitment to providing a good UX, clear thinking about the layout goals, and good familiarity with whatever language will be used to express those goals. > Point: if we had a more robust set of examples, lessons, youTube > Tutorials on "building responsive UI for LiveCode" it would go > a long way in helping the product feel that this issue, is a > non-issue. Right now it is. Personally, when it comes to programming I prefer textual tutorials, so I can copy-and-paste code. But any tutorials folks in our community want to deliver would be welcome. Svasti Astu, Be Well Brahmanathaswami www.himalayanacademy.com From brahma at hindu.org Mon Feb 6 14:47:07 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 6 Feb 2017 19:47:07 +0000 Subject: Drag List Items Up and Down In-Reply-To: <1486243408881-4712198.post@n4.nabble.com> References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> <00be01d27ed5$35660d20$a0322760$@FlexibleLearning.com> <1486243408881-4712198.post@n4.nabble.com> Message-ID: Thank you all! FYI tmpanel.rev crashes 8.1.3 (at least here on Sierra) On 2/4/17, 11:23 AM, "use-livecode on behalf of AndyP via use-livecode" wrote: Nice addition .. thanks. ----- Andy Piddock From scott at elementarysoftware.com Mon Feb 6 21:03:01 2017 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 6 Feb 2017 18:03:01 -0800 Subject: Drag List Items Up and Down In-Reply-To: References: <3AC5D8C8-2CF8-475C-AE11-76B761B54358@hindu.org> <00be01d27ed5$35660d20$a0322760$@FlexibleLearning.com> <1486243408881-4712198.post@n4.nabble.com> Message-ID: <68A2A909-456D-40B6-8AFA-3B307EF9DBA6@elementarysoftware.com> tmPanel did crash once but eventually ran for me on Sierra using LC 8.1.2 ? Scott Morrow > On Feb 6, 2017, at 11:47 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > Thank you all! > > FYI tmpanel.rev crashes 8.1.3 (at least here on Sierra) > > > > On 2/4/17, 11:23 AM, "use-livecode on behalf of AndyP via use-livecode" wrote: > > Nice addition .. thanks. > > > > ----- > Andy Piddock > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Feb 6 22:28:31 2017 From: monte at appisle.net (Monte Goulding) Date: Tue, 7 Feb 2017 14:28:31 +1100 Subject: Help: Does anyone use legacy message box behavior? Message-ID: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> Hi Folks I?m in the midst of making the message box redirect work in all engines (https://github.com/livecode/livecode/pull/5156 ) and it would seem that there?s a legacy message box behavior that could be removed from the engine. It?s not used by the IDE. The behavior is if no message box redirect is set then it looks for a stack named ?Message Box?, sets the text of the first field then raises the stack. As this is only an IDE thing I strongly suspect we are ok to remove the code but while I?m waiting for the team to wake up in Scotland I thought I?d check here! It would be easy to work around even if you have been depending on it because it?s just setting the property and then handling msgChanged to put msg where ever you want. Cheers Monte From ahsoftware at sonic.net Tue Feb 7 01:07:45 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 Feb 2017 22:07:45 -0800 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> References: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> Message-ID: On 02/06/2017 07:28 PM, Monte Goulding via use-livecode wrote: > I?m in the midst of making the message box redirect work in all engines (https://github.com/livecode/livecode/pull/5156 ) and it would seem that there?s a legacy message box behavior that could be removed from the engine. It?s not used by the IDE. The behavior is if no message box redirect is set then it looks for a stack named ?Message Box?, sets the text of the first field then raises the stack. As this is only an IDE thing I strongly suspect we are ok to remove the code but while I?m waiting for the team to wake up in Scotland I thought I?d check here! > > It would be easy to work around even if you have been depending on it because it?s just setting the property and then handling msgChanged to put msg where ever you want. Go for it. Would be nice to have redirect work any/every/where. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Tue Feb 7 01:16:30 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 7 Feb 2017 00:16:30 -0600 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> References: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> Message-ID: On 2/6/17 9:28 PM, Monte Goulding via use-livecode wrote: > Hi Folks > > I?m in the midst of making the message box redirect work in all > engines (https://github.com/livecode/livecode/pull/5156 > ) and it would seem > that there?s a legacy message box behavior that could be removed from > the engine. It?s not used by the IDE. The behavior is if no message > box redirect is set then it looks for a stack named ?Message Box?, > sets the text of the first field then raises the stack. As this is > only an IDE thing I strongly suspect we are ok to remove the code but > while I?m waiting for the team to wake up in Scotland I thought I?d > check here! > > It would be easy to work around even if you have been depending on it > because it?s just setting the property and then handling msgChanged > to put msg where ever you want. Do whatever it takes, I've been waiting for this for years. I could really use it right now. Debugging standalones is an exercise in frustration. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Feb 7 04:09:38 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 7 Feb 2017 09:09:38 +0000 Subject: Checking out the "Resources" button in LC9 In-Reply-To: <7B297EAF-C84F-4894-B32B-5E46C417E79D@iotecdigital.com> References: <326D6210-3C66-43DB-AEEC-5BB17535CC9E@gmail.com> <7B297EAF-C84F-4894-B32B-5E46C417E79D@iotecdigital.com> Message-ID: That is interesting about the appendix! And, taking advantage of that information and someone else's observation, it might not be a bad thing if some apparently obsolete "organs" were retuned and returned to full functionality (err, did I hear a small voice softly calling "application browser" ?) again? Richmond. On Feb 6, 2017 4:07 PM, "Bob Sneidar via use-livecode" < use-livecode at lists.runrev.com> wrote: > This is an unfortunate anology. I like you, were taught this in biology, > but since then it seems medical science has discovered that the appendix is > a functional organ. > > http://www.sciencefocus.com/news/what-does-appendix-do- > lot-more-we-thought%E2%80%A6 > > Bob S > > > On Feb 6, 2017, at 02:47 , Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > LC 9 is a bit like a human being who has an appendix because millions of > years ago his/her ancestors were eating a high fibre diet in the depths of > the Pangean jungle: full of old, outdated stuff that has been overlooked in > the relentess onward drive. > > 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 livfoss at mac.com Tue Feb 7 06:48:20 2017 From: livfoss at mac.com (Graham Samuel) Date: Tue, 07 Feb 2017 12:48:20 +0100 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: References: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> Message-ID: <7675FC13-8950-45BD-BEB4-FDA7AC4870C3@mac.com> Forgive my stupidity, but how would you use this feature, specifically in debugging a standalone, and what?s wrong with it now? TIA Graham > On 7 Feb 2017, at 07:16, J. Landman Gay via use-livecode wrote: > > On 2/6/17 9:28 PM, Monte Goulding via use-livecode wrote: >> Hi Folks >> >> I?m in the midst of making the message box redirect work in all >> engines (https://github.com/livecode/livecode/pull/5156 >> ) and it would seem >> that there?s a legacy message box behavior that could be removed from >> the engine. It?s not used by the IDE. The behavior is if no message >> box redirect is set then it looks for a stack named ?Message Box?, >> sets the text of the first field then raises the stack. As this is >> only an IDE thing I strongly suspect we are ok to remove the code but >> while I?m waiting for the team to wake up in Scotland I thought I?d >> check here! >> >> It would be easy to work around even if you have been depending on it >> because it?s just setting the property and then handling msgChanged >> to put msg where ever you want. > > Do whatever it takes, I've been waiting for this for years. I could really use it right now. Debugging standalones is an exercise in frustration. > > -- > 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 mcgrath3 at mac.com Tue Feb 7 10:18:09 2017 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 07 Feb 2017 10:18:09 -0500 Subject: Checking out the "Resources" button in LC9 In-Reply-To: References: <326D6210-3C66-43DB-AEEC-5BB17535CC9E@gmail.com> <7B297EAF-C84F-4894-B32B-5E46C417E79D@iotecdigital.com> Message-ID: <908A3D9E-9A36-457B-A3F0-C33B1A016A8F@mac.com> By the way, Happy Birthday Richmond!!! Hope you have a great day. Tom McGrath From bobsneidar at iotecdigital.com Tue Feb 7 10:38:09 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 7 Feb 2017 15:38:09 +0000 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> References: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> Message-ID: <75A745A6-0790-4E46-9746-80DD25C79EBB@iotecdigital.com> what the heck is that? Bob S On Feb 6, 2017, at 19:28 , Monte Goulding via use-livecode > wrote: message box redirect From ambassador at fourthworld.com Tue Feb 7 10:45:41 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Feb 2017 07:45:41 -0800 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <7675FC13-8950-45BD-BEB4-FDA7AC4870C3@mac.com> References: <7675FC13-8950-45BD-BEB4-FDA7AC4870C3@mac.com> Message-ID: <6c27d747-98bb-d784-a4e6-6ed7156a2d69@fourthworld.com> Graham Samuel wrote: > ...how would you use this feature, specifically in debugging a > standalone, and what?s wrong with it now? The revMessageBox redirect allows you to use any field to display data that would otherwise go to LC's Message Box; that is, any "put" without a specified destination. When combined with an input field for triggering commands and querying functions and properties, you can effectively make a satisfyingly full-featured Message Box replacement. This allows you to query information at runtime in a standalone. When these fields are part of a separate window they can be useful in desktop apps, but they can also be contained within a group, which could be shown and hidden as needed, for debugging in mobile apps as well. I had thought revMessageBoxRedirect was already part of the standalone engine, but apparently not. Making it available to standalones opens up very flexible options for poking around in a LC app. -- 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 Feb 7 10:37:30 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Feb 2017 07:37:30 -0800 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> References: <207F7C9D-BD1A-4870-B320-73382EE3E1AE@appisle.net> Message-ID: Monte Goulding wrote: > I?m in the midst of making the message box redirect work in all > engines (https://github.com/livecode/livecode/pull/5156 > ) and it would seem > that there?s a legacy message box behavior that could be removed from > the engine. It?s not used by the IDE. The behavior is if no message > box redirect is set then it looks for a stack named ?Message Box?, > sets the text of the first field then raises the stack. As this is > only an IDE thing I strongly suspect we are ok to remove the code > but while I?m waiting for the team to wake up in Scotland I thought > I?d check here! > > It would be easy to work around even if you have been depending on it > because it?s just setting the property and then handling msgChanged > to put msg where ever you want. IIRC what you describe is the original engine behavior which drove the MC IDE. I believe that was also used by early versions of the LC IDE. The revMessageBoxRedirect global property was a solution added to satisfy a request I had for being able to use the MC IDE as a plugin within LC. If the LC IDE now also uses that property itself that would seem a cleaner implementation. Removing the engine behavior you describe will break the MC IDE, but given how few people use it these days I don't think that should be a reason to clutter the code base. Those interested could easily add the one line of code needed to use revMessageBoxRedirect instead. Personally, I don't use anything dependent on the older behavior, but I do use revMessageBoxRedirect very extensively; among other things I've been using a custom Terminal-like Message Box replacement for years. Being able to use my custom Message Box in a standalone would be a godsend. If removing the old behavior makes a cleaner way to do that I say go for 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 richmondmathewson at gmail.com Tue Feb 7 13:29:14 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 7 Feb 2017 18:29:14 +0000 Subject: Checking out the "Resources" button in LC9 In-Reply-To: <908A3D9E-9A36-457B-A3F0-C33B1A016A8F@mac.com> References: <326D6210-3C66-43DB-AEEC-5BB17535CC9E@gmail.com> <7B297EAF-C84F-4894-B32B-5E46C417E79D@iotecdigital.com> <908A3D9E-9A36-457B-A3F0-C33B1A016A8F@mac.com> Message-ID: I'm trying to keep off the LiveCode for a day :) On Tue, Feb 7, 2017 at 3:18 PM, Thomas McGrath III via use-livecode < use-livecode at lists.runrev.com> wrote: > By the way, Happy Birthday Richmond!!! > > Hope you have a great day. > > Tom McGrath > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- This communication may be unlawfully collected and stored by the Agents of a large number of governments in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From roger.e.eller at sealedair.com Tue Feb 7 13:51:21 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 7 Feb 2017 13:51:21 -0500 Subject: [OT] DevDocs.io doesn't have "LiveCode" Message-ID: This is another place where LiveCode could receive some great exposure, if represented. A great resource for many language API docs in one convenient location. https://devdocs.io/ ~Roger From MikeKerner at roadrunner.com Tue Feb 7 14:12:10 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 7 Feb 2017 14:12:10 -0500 Subject: [OT] DevDocs.io doesn't have "LiveCode" In-Reply-To: References: Message-ID: Part of my "attack the docs" project ( http://forums.livecode.com/viewtopic.php?f=67&t=28731) includes doing this, so please add your voice and your ideas over there. There are several important functions within LC that maybe should be outsourced so the team can work on what I think are more important tasks, (like adding functionality and platforms, and completing the support for some of the underserved existing platforms). 1) Documentation rendering - there are several of these, and different people might like different ones. Why not make the documentation work with several of the more popular ones, and get the metadata into a form that will make it easy to add more? 2) Code editing - Do we like the LC script editor better than one of the editors that folks are using to work on lcs files? 3) There are a multitude of layout and prototyping tools, and subscription services from artists and designers who are creating objects and themes that would be wonderful to use. Why not use one of those tools to make our projects more beautiful? On Tue, Feb 7, 2017 at 1:51 PM, Roger Eller via use-livecode < use-livecode at lists.runrev.com> wrote: > This is another place where LiveCode could receive some great exposure, if > represented. > > A great resource for many language API docs in one convenient location. > > https://devdocs.io/ > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 jacque at hyperactivesw.com Tue Feb 7 15:09:04 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 7 Feb 2017 14:09:04 -0600 Subject: Nested groups Message-ID: Curiosity question: Do multiple nested groups (3 or 4 levels deep) affect CPU and memory performance? Are fewer nested groups easier on the engine? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Feb 7 11:04:32 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Feb 2017 08:04:32 -0800 Subject: Fwd: Re: Help: Does anyone use legacy message box behavior? In-Reply-To: References: Message-ID: <028771cd-1682-1c53-f7a4-f2a8e67d8db5@fourthworld.com> I sent this a while ago, and oddly enough another message I'd sent lae came in but this one did not. After thinking about this some more, I wonder: are you sure the LC IDE doesn't rely on this? My Message Box replacement sets the revMessageBox redirect to empty when it closes, and after doing so the LC IDE Message Box resumes normal behavior. I don't mind modifying mine if needed, but since an empty revMessageBox redirect allows the LC IDE to resume use of its own Message Box, and since the LC IDE's Message Box stack is still named "Message Box", it would seem the engine behavior you describe is still in use. Please let me know if I misunderstand. But FWIW one nice thing about that behavior is that it keeps things simple, allowing a useful default in the IDE even if the revMessageBoxRedirect is set to not restored to a valid field reference. Is it necessary to remove the old behavior? - rg -------- Forwarded Message -------- Subject: Re: Help: Does anyone use legacy message box behavior? Date: Tue, 7 Feb 2017 07:37:30 -0800 From: Richard Gaskin To: use-livecode at lists.runrev.com Monte Goulding wrote: > I?m in the midst of making the message box redirect work in all > engines (https://github.com/livecode/livecode/pull/5156 > ) and it would seem > that there?s a legacy message box behavior that could be removed from > the engine. It?s not used by the IDE. The behavior is if no message > box redirect is set then it looks for a stack named ?Message Box?, > sets the text of the first field then raises the stack. As this is > only an IDE thing I strongly suspect we are ok to remove the code > but while I?m waiting for the team to wake up in Scotland I thought > I?d check here! > > It would be easy to work around even if you have been depending on it > because it?s just setting the property and then handling msgChanged > to put msg where ever you want. IIRC what you describe is the original engine behavior which drove the MC IDE. I believe that was also used by early versions of the LC IDE. The revMessageBoxRedirect global property was a solution added to satisfy a request I had for being able to use the MC IDE as a plugin within LC. If the LC IDE now also uses that property itself that would seem a cleaner implementation. Removing the engine behavior you describe will break the MC IDE, but given how few people use it these days I don't think that should be a reason to clutter the code base. Those interested could easily add the one line of code needed to use revMessageBoxRedirect instead. Personally, I don't use anything dependent on the older behavior, but I do use revMessageBoxRedirect very extensively; among other things I've been using a custom Terminal-like Message Box replacement for years. Being able to use my custom Message Box in a standalone would be a godsend. If removing the old behavior makes a cleaner way to do that I say go for 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 ambassador at fourthworld.com Tue Feb 7 15:13:02 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Feb 2017 12:13:02 -0800 Subject: Nested groups In-Reply-To: References: Message-ID: <7b5c3180-d0e2-1962-a4ad-99770f6d3aa0@fourthworld.com> J. Landman Gay wrote: > Curiosity question: Do multiple nested groups (3 or 4 levels deep) > affect CPU and memory performance? Are fewer nested groups easier > on the engine? Because they effectively deepen the message path, I'd wager there is some difference, at least in terms of initializing the message path as the objects are unpacked before preOpenCard. That said, given the speed of the natural message path I'd wager it would be small enough to be unnoticeable, and perhaps even difficult to measure. -- 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 smudge.andy at googlemail.com Tue Feb 7 15:25:04 2017 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 7 Feb 2017 12:25:04 -0800 (PST) Subject: [OT] DevDocs.io doesn't have "LiveCode" In-Reply-To: References: Message-ID: <1486499104983-4712286.post@n4.nabble.com> Thanks for the pointer to https://devdocs.io/ I haven't come across this before...great resource ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-DevDocs-io-doesn-t-have-LiveCode-tp4712281p4712286.html Sent from the Revolution - User mailing list archive at Nabble.com. From paul at livecode.org Tue Feb 7 16:10:38 2017 From: paul at livecode.org (Paul Hibbert) Date: Tue, 7 Feb 2017 13:10:38 -0800 Subject: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <004e01d27e29$69924c00$3cb6e400$@kestner.de> References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> Message-ID: <69CD8F1A-654C-4DC5-AC1B-6BFB554A2B5C@livecode.org> Tiemo, I?m not sure if this will help because I?m testing on Mac, but I did a little bit of experimenting with the new ?rawClipboardData?, it allows plain text to be copied out of LC, just to prove it, here?s a button script copied via my now modified Script Buddy plugin? on mouseUp local tClip if the selectedText is empty then set the clipBoardData["text"] to fld ?myTextField" else copy the selectedText end if if the altKey is down then -- Convert the clipBoard to plain text put the clipBoardData["text"] into tClip lock the clipBoard ## Use some code lifted from the LiveCode Dictionary? set the rawClipBoardData to empty -- Clear ALL ClipboardData if the platform is "Linux" then set the rawClipboardData["text/plain;charset=utf-8"] \ to textEncode(tClip, "UTF-8" ) -- Linux if the platform is "Win32" then set the rawClipboardData["CF_UNICODE"] \ to textEncode(tClip, "UTF-16" ) -- Windows if the platform is "MacOS" then set the rawClipboardData["public.utf8-plain-text"] \ to textEncode(tClip, "UTF-8" ) -- OSX unlock the clipboard end if end mouseUp At last, no extra line spacing! :-) Normally when I paste from LC into Mail I see extra line spacing, and I would have to copy and paste via a plain text editor to remove it. Emptying the clipBoard and setting the rawClipboardData as above seems to work, on Mac at least, hopefully it should work with Excel on Windows too. Paul > On Feb 3, 2017, at 6:25 AM, Tiemo Hollmann TB via use-livecode wrote: > > Can anybody on Windows with LC 8 confirm this: > > - create a new stack > - create a scrolling list field > - enter three lines of text, each with one word > - enter into the message box: *set the clipboarddata["text"] to fld 1* > - open MS Excel (in my case Windows 10, Excel 2013) > - paste > - see an extra empty line between each line of text > > Pasted in a text editor there are no extra lines and up to LC 7 there also > was no extra line in Excel. > > Can anybody confirm this behavior or even has an idea for a workaround? > > Thanks > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB via use-livecode > Gesendet: Donnerstag, 2. Februar 2017 12:13 > An: LiveCode User Liste senden > Cc: Tiemo Hollmann TB > Betreff: Different result in LC 6 to LC 8 when copying field text into > Excel? > > Hello, > > I have a standard scrolling list field with multiple lines of text. I copy > the text by: > > *set the clipboarddata["text"] to fld "List"* > > The User now can past the text into MS Excel on Windows. With LC 6 the text > was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the > text is pasted with an extra space line between each two lines. > > I checked the line ends in both versions. There is only one "LF" > (byteToNum=10) at the end of each line and it looks the same in both > versions. > > What has changed in LC 8 to cause such a different behavior? Is this again a > Unicode thing what I don't understand? I already tried different > clipboarddata keys, without success. > > It can't be an Excel option, because I tested it with the same Excel version > on the same machine. > > Any idea, what has to be changed to get the same clipboard result as in LC > 6? > > Thank you > > 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 jacque at hyperactivesw.com Tue Feb 7 17:01:30 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 7 Feb 2017 16:01:30 -0600 Subject: Nested groups In-Reply-To: <7b5c3180-d0e2-1962-a4ad-99770f6d3aa0@fourthworld.com> References: <7b5c3180-d0e2-1962-a4ad-99770f6d3aa0@fourthworld.com> Message-ID: <5a212d65-517d-10a5-c65b-baab68e0f3d6@hyperactivesw.com> On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: > J. Landman Gay wrote: > >> Curiosity question: Do multiple nested groups (3 or 4 levels deep) >> affect CPU and memory performance? Are fewer nested groups easier >> on the engine? > > Because they effectively deepen the message path, I'd wager there is > some difference, at least in terms of initializing the message path as > the objects are unpacked before preOpenCard. > > That said, given the speed of the natural message path I'd wager it > would be small enough to be unnoticeable, and perhaps even difficult to > measure. > I was thinking about the amount of redrawing the engine would need to do to render them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Tue Feb 7 17:07:04 2017 From: paul at researchware.com (Paul Dupuis) Date: Tue, 7 Feb 2017 17:07:04 -0500 Subject: Nested groups In-Reply-To: <5a212d65-517d-10a5-c65b-baab68e0f3d6@hyperactivesw.com> References: <7b5c3180-d0e2-1962-a4ad-99770f6d3aa0@fourthworld.com> <5a212d65-517d-10a5-c65b-baab68e0f3d6@hyperactivesw.com> Message-ID: <589A4508.70009@researchware.com> On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: > On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: >> J. Landman Gay wrote: >> >>> Curiosity question: Do multiple nested groups (3 or 4 levels deep) >>> affect CPU and memory performance? Are fewer nested groups easier >>> on the engine? >> >> Because they effectively deepen the message path, I'd wager there is >> some difference, at least in terms of initializing the message path as >> the objects are unpacked before preOpenCard. >> >> That said, given the speed of the natural message path I'd wager it >> would be small enough to be unnoticeable, and perhaps even difficult to >> measure. >> > > I was thinking about the amount of redrawing the engine would need to > do to render them. > I have a number of stack with a lot of controls in multiple nested groups. For me, the groups are primarily for organizing objects on the card so I can find what I am looking for as a developer. OR when I want to move a set of related control around. In all such cases, I have never noticed a visible difference in rendering of the cards vs card with few groups or fewer controls in a similar number of groups. This is just human perception. I have never timed renderings to compare. From monte at appisle.net Tue Feb 7 17:13:00 2017 From: monte at appisle.net (Monte Goulding) Date: Wed, 8 Feb 2017 09:13:00 +1100 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <028771cd-1682-1c53-f7a4-f2a8e67d8db5@fourthworld.com> References: <028771cd-1682-1c53-f7a4-f2a8e67d8db5@fourthworld.com> Message-ID: <4F5E0C28-AE53-4AE2-A774-C2D6E08E19B5@appisle.net> > On 8 Feb 2017, at 3:04 am, Richard Gaskin via use-livecode wrote: > > I sent this a while ago, and oddly enough another message I'd sent lae came in but this one did not. > > After thinking about this some more, I wonder: are you sure the LC IDE doesn't rely on this? > > My Message Box replacement sets the revMessageBox redirect to empty when it closes, and after doing so the LC IDE Message Box resumes normal behavior. Yes it does use it but it also (at least the single line msg box) happens to conform to the old spec too (stack is named ?Message Box?). Also it sets it when loading the message box so that might be fixing it for you. > > Is it necessary to remove the old behavior? Not overly so, however, every line removed is something we don?t need to waste time maintaining. You might think we don?t need to touch it but it has been touched recently because of a change in the way we retain object references. BTW our internal discussions have led us to consider dropping the message box redirect entirely and just sending msgChanged to the defaultStack which is inline with other messages. The less special cases in the way we do things the better. The IDE pubsub library can dispatch ideMsgChanged to any subscribers and they can do what they like. If it?s unhandled or passed to the engine then it can be sent to the appropriate system logs (or stdout? not sure which just yet and perhaps will depend on if its in no ui mode as there?s a legacy there). Cheers Monte From jacque at hyperactivesw.com Tue Feb 7 17:19:14 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 7 Feb 2017 16:19:14 -0600 Subject: Nested groups In-Reply-To: <589A4508.70009@researchware.com> References: <7b5c3180-d0e2-1962-a4ad-99770f6d3aa0@fourthworld.com> <5a212d65-517d-10a5-c65b-baab68e0f3d6@hyperactivesw.com> <589A4508.70009@researchware.com> Message-ID: On 2/7/17 4:07 PM, Paul Dupuis via use-livecode wrote: > On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: >> On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: >>> J. Landman Gay wrote: >>> >>>> Curiosity question: Do multiple nested groups (3 or 4 levels deep) >>>> affect CPU and memory performance? Are fewer nested groups easier >>>> on the engine? >>> >>> Because they effectively deepen the message path, I'd wager there is >>> some difference, at least in terms of initializing the message path as >>> the objects are unpacked before preOpenCard. >>> >>> That said, given the speed of the natural message path I'd wager it >>> would be small enough to be unnoticeable, and perhaps even difficult to >>> measure. >>> >> >> I was thinking about the amount of redrawing the engine would need to >> do to render them. >> > > I have a number of stack with a lot of controls in multiple nested > groups. For me, the groups are primarily for organizing objects on the > card so I can find what I am looking for as a developer. OR when I want > to move a set of related control around. In all such cases, I have never > noticed a visible difference in rendering of the cards vs card with few > groups or fewer controls in a similar number of groups. > > This is just human perception. I have never timed renderings to compare. Thanks. I'm working with a stack that has some memory issues which includes many image-rich nested groups. I don't think this is contributing directly to the problem but wondered if reducing the number of groups might help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Tue Feb 7 17:44:18 2017 From: paul at researchware.com (Paul Dupuis) Date: Tue, 7 Feb 2017 17:44:18 -0500 Subject: Nested groups In-Reply-To: References: <7b5c3180-d0e2-1962-a4ad-99770f6d3aa0@fourthworld.com> <5a212d65-517d-10a5-c65b-baab68e0f3d6@hyperactivesw.com> <589A4508.70009@researchware.com> Message-ID: <589A4DC2.8030508@researchware.com> On 2/7/2017 5:19 PM, J. Landman Gay via use-livecode wrote: > On 2/7/17 4:07 PM, Paul Dupuis via use-livecode wrote: >> On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: >>> On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: >>>> J. Landman Gay wrote: >>>> >>>>> Curiosity question: Do multiple nested groups (3 or 4 levels deep) >>>>> affect CPU and memory performance? Are fewer nested groups easier >>>>> on the engine? >>>> >>>> Because they effectively deepen the message path, I'd wager there is >>>> some difference, at least in terms of initializing the message path as >>>> the objects are unpacked before preOpenCard. >>>> >>>> That said, given the speed of the natural message path I'd wager it >>>> would be small enough to be unnoticeable, and perhaps even >>>> difficult to >>>> measure. >>>> >>> >>> I was thinking about the amount of redrawing the engine would need to >>> do to render them. >>> >> >> I have a number of stack with a lot of controls in multiple nested >> groups. For me, the groups are primarily for organizing objects on the >> card so I can find what I am looking for as a developer. OR when I want >> to move a set of related control around. In all such cases, I have never >> noticed a visible difference in rendering of the cards vs card with few >> groups or fewer controls in a similar number of groups. >> >> This is just human perception. I have never timed renderings to compare. > > Thanks. I'm working with a stack that has some memory issues which > includes many image-rich nested groups. I don't think this is > contributing directly to the problem but wondered if reducing the > number of groups might help. > My guess is it is more probably related to the number of images than the number of groups. I am NOT very knowledgeable about all the details of image optimization in LiveCode, but there are people on the list who are. From ambassador at fourthworld.com Tue Feb 7 18:53:39 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Feb 2017 15:53:39 -0800 Subject: Nested groups In-Reply-To: References: Message-ID: J. Landman Gay wrote: >> On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: >>>>> Curiosity question: Do multiple nested groups (3 or 4 levels deep) >>>>> affect CPU and memory performance? Are fewer nested groups easier >>>>> on the engine? ... > I'm working with a stack that has some memory issues which includes > many image-rich nested groups. I don't think this is contributing > directly to the problem but wondered if reducing the number of > groups might help. For both performance and memory, each object adds some overhead. But the group object would seem slim in both respects, so I wouldn't imagine an extra level of nesting would make much difference either performance or RAM. Images, however, are among the most RAM-intensive objects LC handles. Each exists at least initially in its compressed form, then in its unpacked bitmap form when rendered (width * height * color depth, possibly also + alpha width * height if PNG), and often both exist at the same time. If there's a way to reduce the number of images, or their size, or their quality (if JPEG), you'll likely get much farther with reducing memory requirements than by removing groups. -- 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 Feb 7 19:02:07 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Feb 2017 16:02:07 -0800 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <4F5E0C28-AE53-4AE2-A774-C2D6E08E19B5@appisle.net> References: <4F5E0C28-AE53-4AE2-A774-C2D6E08E19B5@appisle.net> Message-ID: <65a90148-e2c3-72aa-5499-064387189664@fourthworld.com> Monte Goulding wrote: >> On 8 Feb 2017, at 3:04 am, Richard Gaskin wrote: >> >> My Message Box replacement sets the revMessageBox redirect to empty >> when it closes, and after doing so the LC IDE Message Box resumes >> normal behavior. > > Yes it does use it but it also (at least the single line msg box) > happens to conform to the old spec too (stack is named ?Message > Box?). Also it sets it when loading the message box so that might > be fixing it for you. >> >> Is it necessary to remove the old behavior? > > Not overly so, however, every line removed is something we don?t > need to waste time maintaining. You might think we don?t need to > touch it but it has been touched recently because of a change in > the way we retain object references. Now I'm curious: anything interesting there in terms of features, performance, or memory handling? > BTW our internal discussions have led us to consider dropping the > message box redirect entirely and just sending msgChanged to the > defaultStack which is inline with other messages. The less special > cases in the way we do things the better. The IDE pubsub library > can dispatch ideMsgChanged to any subscribers and they can do what > they like. If it?s unhandled or passed to the engine then it can be > sent to the appropriate system logs (or stdout? not sure which just > yet and perhaps will depend on if its in no ui mode as there?s a > legacy there). My first inclination would be as you'd anticipated, that it would be such a low priority as to be barely worth the net trade-off of trimming some code in one place while writing other code elsewhere. But if we're at last in a place where the IDE spec we're working with will finally settle down, I'm okay with rewriting my stuff to work with it. And best of all, since both the IDE code and our code will be coming from an engine-borne message (I like msgChanged), I have options for how I handle that, either through the IDE pubsub or in a well-managed frontscript as all my other tools tend to use (which is why they don't generally break with IDE changes ), and that freedom is as important to me as being able to rely on the message within a standalone when I need to do that too. In short, go for it. :) Thanks for running this by the community. -- 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 monte at appisle.net Tue Feb 7 19:37:04 2017 From: monte at appisle.net (Monte Goulding) Date: Wed, 8 Feb 2017 11:37:04 +1100 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <65a90148-e2c3-72aa-5499-064387189664@fourthworld.com> References: <4F5E0C28-AE53-4AE2-A774-C2D6E08E19B5@appisle.net> <65a90148-e2c3-72aa-5499-064387189664@fourthworld.com> Message-ID: <0E3ED401-159F-402C-BA89-5665A7AF4E91@appisle.net> > On 8 Feb 2017, at 11:02 am, Richard Gaskin via use-livecode wrote: > > Monte Goulding wrote: > > >> On 8 Feb 2017, at 3:04 am, Richard Gaskin wrote: > >> > >> My Message Box replacement sets the revMessageBox redirect to empty > >> when it closes, and after doing so the LC IDE Message Box resumes > >> normal behavior. > > > > Yes it does use it but it also (at least the single line msg box) > > happens to conform to the old spec too (stack is named ?Message > > Box?). Also it sets it when loading the message box so that might > > be fixing it for you. > >> > >> Is it necessary to remove the old behavior? > > > > Not overly so, however, every line removed is something we don?t > > need to waste time maintaining. You might think we don?t need to > > touch it but it has been touched recently because of a change in > > the way we retain object references. > > Now I'm curious: anything interesting there in terms of features, performance, or memory handling? The main advantage is stability. You might remember that in one of the early 8 releases (not sure which one as it was just before I started) the memory management of objects changed so they would be released sooner if deleted within tight script loops instead of waiting for the next main loop to released them. It was a response to a bug where creating and deleting lots of objects in a loop bloated memory use I believe. Well deleting them earlier resulted in *lots* of instability where there were references to objects (say the internal defaultStack global for example) but the object had been deleted. Things like scripts still executing on objects that are meant to be deleted or setting the defaultStack to a stack that has just been deleted. Anyway in order to make it easier for us to resolve these issues Fraser wrote a class to use as an object handle whenever we want to keep a reference to an object. So now we can do stuff like t_stack.IsValid() before doing something with t_stack. For example one crash that I just fixed is this one: https://github.com/livecode/livecode/pull/5143 In that crash we were getting the stack of an object when it is being sent a message then using it later but the particular crashing code was deleting the stack the target object was on in a frontScript which was executed between getting the reference to the stack and using it. So the change now uses an object handle so we can check it?s still valid before sending the message after the frontScripts are executed ;-) > > > > BTW our internal discussions have led us to consider dropping the > > message box redirect entirely and just sending msgChanged to the > > defaultStack which is inline with other messages. The less special > > cases in the way we do things the better. The IDE pubsub library > > can dispatch ideMsgChanged to any subscribers and they can do what > > they like. If it?s unhandled or passed to the engine then it can be > > sent to the appropriate system logs (or stdout? not sure which just > > yet and perhaps will depend on if its in no ui mode as there?s a > > legacy there). > > My first inclination would be as you'd anticipated, that it would be such a low priority as to be barely worth the net trade-off of trimming some code in one place while writing other code elsewhere. > > But if we're at last in a place where the IDE spec we're working with will finally settle down, I'm okay with rewriting my stuff to work with it. > > And best of all, since both the IDE code and our code will be coming from an engine-borne message (I like msgChanged), I have options for how I handle that, either through the IDE pubsub or in a well-managed frontscript as all my other tools tend to use (which is why they don't generally break with IDE changes ), and that freedom is as important to me as being able to rely on the message within a standalone when I need to do that too. > > In short, go for it. :) ;-) OK > > Thanks for running this by the community. It?s worth remembering that almost all of what we do is run by the community because everyone is free to subscrib to our github feed and comment on our PRs. Cheers Monte From ambassador at fourthworld.com Tue Feb 7 19:46:25 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Feb 2017 16:46:25 -0800 Subject: Help: Does anyone use legacy message box behavior? In-Reply-To: <0E3ED401-159F-402C-BA89-5665A7AF4E91@appisle.net> References: <0E3ED401-159F-402C-BA89-5665A7AF4E91@appisle.net> Message-ID: Monte Goulding wrote: >> On 8 Feb 2017, at 11:02 am, Richard Gaskin wrote: >> >> Monte Goulding wrote: >> > ...You might think we don?t need to touch it but it has >> > been touched recently because of a change in the way we >> > retain object references. >> >> Now I'm curious: anything interesting there in terms of features, > performance, or memory handling? > > The main advantage is stability. That's a feature. And a good one. In my community meeting with Peter last week he outlined some of the effort going into v9 stability improvements, and I was quite impressed. > You might remember that in one of the early 8 releases (not sure > which one as it was just before I started) the memory management > of objects changed so they would be released sooner if deleted > within tight script loops instead of waiting for the next main > loop to released them. It was a response to a bug where creating > and deleting lots of objects in a loop bloated memory use I believe. > Well deleting them earlier resulted in *lots* of instability where > there were references to objects (say the internal defaultStack > global for example) but the object had been deleted. Things like > scripts still executing on objects that are meant to be deleted > or setting the defaultStack to a stack that has just been deleted. > Anyway in order to make it easier for us to resolve these issues > Fraser wrote a class to use as an object handle whenever we want > to keep a reference to an object. So now we can do stuff like > t_stack.IsValid() before doing something with t_stack. > > For example one crash that I just fixed is this one: https://github.com/livecode/livecode/pull/5143 > > In that crash we were getting the stack of an object when it is being > sent a message then using it later but the particular crashing code > was deleting the stack the target object was on in a frontScript > which was executed between getting the reference to the stack and > using it. So the change now uses an object handle so we can check > it?s still valid before sending the message after the frontScripts > are executed ;-) Sounds like a very good change. Thanks for that background. Even though I almost never write in C anymore, that under-the-hood stuff is very helpful for understanding how the engine works. >> Thanks for running this by the community. > > It?s worth remembering that almost all of what we do is run by the > community because everyone is free to subscrib to our github feed > and comment on our PRs. An excellent reminder. The Github tools have made the process wonderfully visible. -- 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 Tue Feb 7 22:45:24 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 8 Feb 2017 03:45:24 +0000 Subject: Size of Image in RAM Message-ID: I'm trying to optimize for Mobile. Photoshop is playing tricks on me given a 38K jpg; rect 3 X 5 552px w 736 px h 72 dpi (irrelevant for screen) Open in Photoshop: it indicates 1.16M in RAM, but mode is 8 bit? but but the online calculation sites for file size for that rect/bit-depth should make it only take up 398k or so, in RAM. If I change the online calculator for that rect to "24 bit" it returns the exactly size (1.16M) I'm seeing in photoshop?roughly 3X the size of the 8 bit, which is what we would expect. So 1) Why is Photoshop reporting the files size as if it were 24 bit? and 2) Does LC have a function to check the size of an image in terms of RAM consumed? I couldn't find one in the dictionary. BR (thinking about affinity these days!) From bogdanoff at me.com Tue Feb 7 23:37:10 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 07 Feb 2017 23:37:10 -0500 Subject: Size of Image in RAM In-Reply-To: References: Message-ID: <34EE7500-402E-4532-B835-57E0BE20A6FF@me.com> I think I can answer the Photoshop question. It seems that 1.6 Mb size is the file size for PS to do its work in the application. If you save that file as a .psd, I suspect you?ll see a file size of 1.6 Mb. I find the Save for Web dialog (in the File>Export menu) useful. You can choose the file type, compression amount, and see the original and compressed file size there. Peter > On Feb 7, 2017, at 10:45 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > I'm trying to optimize for Mobile. Photoshop is playing tricks on me > > given a 38K jpg; > > rect 3 X 5 > > 552px w > 736 px h > 72 dpi (irrelevant for screen) > > Open in Photoshop: it indicates 1.16M in RAM, but mode is 8 bit? but > > but the online calculation sites for file size for that rect/bit-depth should make it only take up 398k or so, in RAM. > > If I change the online calculator for that rect to "24 bit" it returns the exactly size (1.16M) I'm seeing in photoshop?roughly 3X the size of the 8 bit, which is what we would expect. > > So > > 1) Why is Photoshop reporting the files size as if it were 24 bit? and > 2) Does LC have a function to check the size of an image in terms of RAM consumed? I couldn't find one in the dictionary. > > BR (thinking about affinity these days!) > _______________________________________________ > use-livecode mailing list > use-livecode at 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 tactilemedia.com Wed Feb 8 00:35:41 2017 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 7 Feb 2017 21:35:41 -0800 Subject: Size of Image in RAM In-Reply-To: References: Message-ID: You say the mode is 8 bit. I might be wrong, but I don?t believe JPEG supports 8 bit (256 color) images. Even if it does technically, the format is not really intended for 8 bit images, but rather 16 bit or higher. When I generate an 8 bit indexed color image in Photoshop and look at the Save As menu, JPEG is not an option. If I instead choose Save for Web which allows saving as JPEG, the resulting image re-opens in Photoshop in RGB (24 bit color) mode. So as I read question, you?re getting a 24 bit image because you?re saving in JPEG format. If you really want to save as 8 bit color, use PNG or GIF. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Feb 7, 2017, at 7:45 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > I'm trying to optimize for Mobile. Photoshop is playing tricks on me > > given a 38K jpg; > > rect 3 X 5 > > 552px w > 736 px h > 72 dpi (irrelevant for screen) > > Open in Photoshop: it indicates 1.16M in RAM, but mode is 8 bit? but > > but the online calculation sites for file size for that rect/bit-depth should make it only take up 398k or so, in RAM. > > If I change the online calculator for that rect to "24 bit" it returns the exactly size (1.16M) I'm seeing in photoshop?roughly 3X the size of the 8 bit, which is what we would expect. > > So > > 1) Why is Photoshop reporting the files size as if it were 24 bit? and > 2) Does LC have a function to check the size of an image in terms of RAM consumed? I couldn't find one in the dictionary. > > BR (thinking about affinity these days!) > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 8 01:17:54 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 8 Feb 2017 06:17:54 +0000 Subject: Size of Image in RAM In-Reply-To: References: Message-ID: <964A1A0D-E17C-400D-8BDE-67EC05E1D55F@hindu.org> @ Scott: That's not what I get if I open this image in Photoshop. (CC 2017) 575 X 1000 http://wiki.hindu.org/uploads/img37.jpg It is a JPEG, but under the mode menu it shows "RGB/8 Bit" and if I look under indexed colors it says "256" definitely not 16bit (in which case we should see 65536 colors) So, somehow this IS a JPG that at least reports in PS as 8 bit but shows it is taking 2.17 MB in RAM, which it would if it were 16 bit. Scott Rossi wrote: When I generate an 8 bit indexed color image in Photoshop and look at the Save As menu, JPEG is not an option. If I instead choose Save for Web which allows saving as JPEG, the resulting image re-opens in Photoshop in RGB (24 bit color) mode. But, and this is interesting: if I save as PNG Photoshop offers the option to change turn off transparency and save as bit? the resulting images on disk is 1/3 bigger I size (jpeg,:229K, png:353K) But the former/jpg opens in photoshop at 2.17MB and not the 8-bit PNG opens at 739K in RAM This tends to confirm your theory and Photoshop is miss reporting the bit depth on the jpg (or something!) ? very interesting. the PNG at half the size in RAM is visually indistinquishable from the JPG (at least to my eyes) http://wiki.hindu.org/uploads/img37.png So we have a trade off: use 8 bit PNG and pack more data than we have room for in the mobile app package. or optimize really small JPG's on disk that then take up twice the room in RAM! From brahma at hindu.org Wed Feb 8 01:31:04 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 8 Feb 2017 06:31:04 +0000 Subject: Browser Widget Appears to be caching data (JavaScript)? In-Reply-To: <005f01d2809b$7ad54890$707fd9b0$@net> References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> <005f01d2809b$7ad54890$707fd9b0$@net> Message-ID: Are you serving this content yourself from your web server? If so there are "cb" (cache busting) methods already well worked out. e.g. logo.jpg # on disk logo-cb123455678.jpg # in the html code and mod-rewrite handles the translation back to the original image. So you can update "logo.jpg" without changing it's name, but your content assembly system appends the cache busting string to the outgoing html? (Ralf does this in RevIgniter) BR On 2/6/17, 7:07 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: To refresh a browser cache I put an argument on the URL that is different from the last request and the cache will be invalidated. In LC I put "&seconds=12345678" at the end of the URL arguments or if there are no arguments then I put "?seconds=12345678" where "12345678" is the LC "the seconds". This only helps if there is no more than 1 request per second. From hh at hyperhh.de Wed Feb 8 01:38:04 2017 From: hh at hyperhh.de (hh) Date: Wed, 8 Feb 2017 07:38:04 +0100 Subject: Size of Image in RAM Message-ID: Scott is right: JPEG has exactly one _color_ mode: 16M = 2^24 (seen apart of 256 gray-color mode). What you interpret as "8bit-color-mode" relates to the _compression_ mode which also explains the relation filesize vs (uncompressed) size in memory. From scott at tactilemedia.com Wed Feb 8 01:44:39 2017 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 7 Feb 2017 22:44:39 -0800 Subject: Size of Image in RAM In-Reply-To: <964A1A0D-E17C-400D-8BDE-67EC05E1D55F@hindu.org> References: <964A1A0D-E17C-400D-8BDE-67EC05E1D55F@hindu.org> Message-ID: If your image was 256 colors, the Index > Mode menu would show Indexed Color checked, instead of RGB Color. The RGB/8 Bit you?re seeing in the Photoshop menu actually reads ?8 Bits/Channel? ? an RGB image is 3 channels (red, green, blue), 8 bits each, so 24 bit color. Again, if you really want your image limited to 256 colors, convert it to Indexed Color and save as PNG or GIF. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Feb 7, 2017, at 10:17 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > @ Scott: > > That's not what I get if I open this image in Photoshop. (CC 2017) > > > > 575 X 1000 > > http://wiki.hindu.org/uploads/img37.jpg > > > It is a JPEG, but under the mode menu it shows "RGB/8 Bit" and if I look under indexed colors it says "256" definitely not 16bit (in which case we should see 65536 colors) > > So, somehow this IS a JPG that at least reports in PS as 8 bit but shows it is taking 2.17 MB in RAM, which it would if it were 16 bit. > > Scott Rossi wrote: > > When I generate an 8 bit indexed color image in Photoshop and look at the Save As menu, JPEG is not an option. If I instead choose Save for Web which allows saving as JPEG, the resulting image re-opens in Photoshop in RGB (24 bit color) mode. > > But, and this is interesting: if I save as PNG Photoshop offers the option to change turn off transparency and save as bit? the resulting images on disk is 1/3 bigger I size (jpeg,:229K, png:353K) But the former/jpg opens in photoshop at 2.17MB and not the 8-bit PNG opens at 739K in RAM > > This tends to confirm your theory and Photoshop is miss reporting the bit depth on the jpg (or something!) ? very interesting. the PNG at half the size in RAM is visually indistinquishable from the JPG (at least to my eyes) > > http://wiki.hindu.org/uploads/img37.png > > So we have a trade off: use 8 bit PNG and pack more data than we have room for in the mobile app package. or optimize really small JPG's on disk that then take up twice the room in RAM! > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Feb 8 03:32:35 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 8 Feb 2017 09:32:35 +0100 Subject: AW: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <69CD8F1A-654C-4DC5-AC1B-6BFB554A2B5C@livecode.org> References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> <69CD8F1A-654C-4DC5-AC1B-6BFB554A2B5C@livecode.org> Message-ID: <002701d281e5$e6c8aa10$b459fe30$@kestner.de> Hi Paul, I test your approach, but when running the code in the DIE, LiveCode crashes immediatly. When debugging the code, it doesn't crashes, but stops at setting the rawclipboarddata with an error "clipboard is not locked". This happens anyhow, if I am using "lock clipboard" or not. I'll file it Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Paul Hibbert via use-livecode Gesendet: Dienstag, 7. Februar 2017 22:11 An: How to use LiveCode Cc: Paul Hibbert Betreff: Re: Different result in LC 6 to LC 8 when copying field text into Excel? Tiemo, I?m not sure if this will help because I?m testing on Mac, but I did a little bit of experimenting with the new ?rawClipboardData?, it allows plain text to be copied out of LC, just to prove it, here?s a button script copied via my now modified Script Buddy plugin? on mouseUp local tClip if the selectedText is empty then set the clipBoardData["text"] to fld ?myTextField" else copy the selectedText end if if the altKey is down then -- Convert the clipBoard to plain text put the clipBoardData["text"] into tClip lock the clipBoard ## Use some code lifted from the LiveCode Dictionary? set the rawClipBoardData to empty -- Clear ALL ClipboardData if the platform is "Linux" then set the rawClipboardData["text/plain;charset=utf-8"] \ to textEncode(tClip, "UTF-8" ) -- Linux if the platform is "Win32" then set the rawClipboardData["CF_UNICODE"] \ to textEncode(tClip, "UTF-16" ) -- Windows if the platform is "MacOS" then set the rawClipboardData["public.utf8-plain-text"] \ to textEncode(tClip, "UTF-8" ) -- OSX unlock the clipboard end if end mouseUp At last, no extra line spacing! :-) Normally when I paste from LC into Mail I see extra line spacing, and I would have to copy and paste via a plain text editor to remove it. Emptying the clipBoard and setting the rawClipboardData as above seems to work, on Mac at least, hopefully it should work with Excel on Windows too. Paul > On Feb 3, 2017, at 6:25 AM, Tiemo Hollmann TB via use-livecode wrote: > > Can anybody on Windows with LC 8 confirm this: > > - create a new stack > - create a scrolling list field > - enter three lines of text, each with one word > - enter into the message box: *set the clipboarddata["text"] to fld 1* > - open MS Excel (in my case Windows 10, Excel 2013) > - paste > - see an extra empty line between each line of text > > Pasted in a text editor there are no extra lines and up to LC 7 there > also was no extra line in Excel. > > Can anybody confirm this behavior or even has an idea for a workaround? > > Thanks > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Tiemo Hollmann TB via use-livecode > Gesendet: Donnerstag, 2. Februar 2017 12:13 > An: LiveCode User Liste senden > Cc: Tiemo Hollmann TB > Betreff: Different result in LC 6 to LC 8 when copying field text into > Excel? > > Hello, > > I have a standard scrolling list field with multiple lines of text. I > copy the text by: > > *set the clipboarddata["text"] to fld "List"* > > The User now can past the text into MS Excel on Windows. With LC 6 the > text was pasted into Excel line by line, as it showed up in LC. In LC > 8.1.2 the text is pasted with an extra space line between each two lines. > > I checked the line ends in both versions. There is only one "LF" > (byteToNum=10) at the end of each line and it looks the same in both > versions. > > What has changed in LC 8 to cause such a different behavior? Is this > again a Unicode thing what I don't understand? I already tried > different clipboarddata keys, without success. > > It can't be an Excel option, because I tested it with the same Excel > version on the same machine. > > Any idea, what has to be changed to get the same clipboard result as > in LC 6? > > Thank you > > 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 _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Feb 8 04:59:22 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 8 Feb 2017 10:59:22 +0100 Subject: AW: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <002701d281e5$e6c8aa10$b459fe30$@kestner.de> References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> <69CD8F1A-654C-4DC5-AC1B-6BFB554A2B5C@livecode.org> <002701d281e5$e6c8aa10$b459fe30$@kestner.de> Message-ID: <003d01d281f2$070c6fd0$15254f70$@kestner.de> Paul, I tested a little bit more and this code works for me: on mouseUp lock clipboard set the rawClipBoardData to empty set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) unlock clipboard end mouseUp and the IDE doesn't crashes anymore. BTW. The rawclipboarddata key is supposed to be ["CF_UNICODETEXT"] and not ["CF_UNICODE"] as the docs say. Thanks for your help Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Mittwoch, 8. Februar 2017 09:33 An: 'How to use LiveCode' Cc: Tiemo Hollmann TB Betreff: AW: Different result in LC 6 to LC 8 when copying field text into Excel? Hi Paul, I test your approach, but when running the code in the DIE, LiveCode crashes immediatly. When debugging the code, it doesn't crashes, but stops at setting the rawclipboarddata with an error "clipboard is not locked". This happens anyhow, if I am using "lock clipboard" or not. I'll file it Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Paul Hibbert via use-livecode Gesendet: Dienstag, 7. Februar 2017 22:11 An: How to use LiveCode Cc: Paul Hibbert Betreff: Re: Different result in LC 6 to LC 8 when copying field text into Excel? Tiemo, I?m not sure if this will help because I?m testing on Mac, but I did a little bit of experimenting with the new ?rawClipboardData?, it allows plain text to be copied out of LC, just to prove it, here?s a button script copied via my now modified Script Buddy plugin? on mouseUp local tClip if the selectedText is empty then set the clipBoardData["text"] to fld ?myTextField" else copy the selectedText end if if the altKey is down then -- Convert the clipBoard to plain text put the clipBoardData["text"] into tClip lock the clipBoard ## Use some code lifted from the LiveCode Dictionary? set the rawClipBoardData to empty -- Clear ALL ClipboardData if the platform is "Linux" then set the rawClipboardData["text/plain;charset=utf-8"] \ to textEncode(tClip, "UTF-8" ) -- Linux if the platform is "Win32" then set the rawClipboardData["CF_UNICODE"] \ to textEncode(tClip, "UTF-16" ) -- Windows if the platform is "MacOS" then set the rawClipboardData["public.utf8-plain-text"] \ to textEncode(tClip, "UTF-8" ) -- OSX unlock the clipboard end if end mouseUp At last, no extra line spacing! :-) Normally when I paste from LC into Mail I see extra line spacing, and I would have to copy and paste via a plain text editor to remove it. Emptying the clipBoard and setting the rawClipboardData as above seems to work, on Mac at least, hopefully it should work with Excel on Windows too. Paul > On Feb 3, 2017, at 6:25 AM, Tiemo Hollmann TB via use-livecode wrote: > > Can anybody on Windows with LC 8 confirm this: > > - create a new stack > - create a scrolling list field > - enter three lines of text, each with one word > - enter into the message box: *set the clipboarddata["text"] to fld 1* > - open MS Excel (in my case Windows 10, Excel 2013) > - paste > - see an extra empty line between each line of text > > Pasted in a text editor there are no extra lines and up to LC 7 there > also was no extra line in Excel. > > Can anybody confirm this behavior or even has an idea for a workaround? > > Thanks > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Tiemo Hollmann TB via use-livecode > Gesendet: Donnerstag, 2. Februar 2017 12:13 > An: LiveCode User Liste senden > Cc: Tiemo Hollmann TB > Betreff: Different result in LC 6 to LC 8 when copying field text into > Excel? > > Hello, > > I have a standard scrolling list field with multiple lines of text. I > copy the text by: > > *set the clipboarddata["text"] to fld "List"* > > The User now can past the text into MS Excel on Windows. With LC 6 the > text was pasted into Excel line by line, as it showed up in LC. In LC > 8.1.2 the text is pasted with an extra space line between each two lines. > > I checked the line ends in both versions. There is only one "LF" > (byteToNum=10) at the end of each line and it looks the same in both > versions. > > What has changed in LC 8 to cause such a different behavior? Is this > again a Unicode thing what I don't understand? I already tried > different clipboarddata keys, without success. > > It can't be an Excel option, because I tested it with the same Excel > version on the same machine. > > Any idea, what has to be changed to get the same clipboard result as > in LC 6? > > Thank you > > 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Feb 8 10:59:10 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Feb 2017 15:59:10 +0000 Subject: Browser Widget Appears to be caching data (JavaScript)? In-Reply-To: References: <67547599-6EC2-4BD5-AD12-7A3A8B157C56@me.com> <91A225E2-C849-4311-AB6C-7A259DCA9A49@gmail.com> <6A9DB973-7932-4F09-8414-21767BABA715@iotecdigital.com> <8934491C-8205-413C-9635-AAE5F3F256BC@iotecdigital.com> <005f01d2809b$7ad54890$707fd9b0$@net> Message-ID: <59EA94FD-710D-48AC-83CF-42CCF1185BD4@iotecdigital.com> I think he mentioned a different site. I could be mistaken. Bob S On Feb 7, 2017, at 22:31 , Sannyasin Brahmanathaswami via use-livecode > wrote: Are you serving this content yourself from your web server? If so there are "cb" (cache busting) methods already well worked out. e.g. logo.jpg # on disk logo-cb123455678.jpg # in the html code and mod-rewrite handles the translation back to the original image. So you can update "logo.jpg" without changing it's name, but your content assembly system appends the cache busting string to the outgoing html? (Ralf does this in RevIgniter) BR From bobsneidar at iotecdigital.com Wed Feb 8 10:59:23 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Feb 2017 15:59:23 +0000 Subject: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <002701d281e5$e6c8aa10$b459fe30$@kestner.de> References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> <69CD8F1A-654C-4DC5-AC1B-6BFB554A2B5C@livecode.org> <002701d281e5$e6c8aa10$b459fe30$@kestner.de> Message-ID: <2F5DAAAF-3C80-4DF8-9FED-7AE2D03C47C6@iotecdigital.com> Well any attempt to run the code in the DIE mode would understandably cause anything to crash. ;-) (sorry I just had to). Bob S On Feb 8, 2017, at 24:32 , Tiemo Hollmann TB via use-livecode > wrote: but when running the code in the DIE, LiveCode crashes immediatly From bobsneidar at iotecdigital.com Wed Feb 8 10:59:39 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Feb 2017 15:59:39 +0000 Subject: Size of Image in RAM In-Reply-To: References: Message-ID: <4333F75D-EF62-4711-A375-5E97E07DD946@iotecdigital.com> On our copiers, we have the option of scanning to Compact PDF. All it does is use the highest compression for the embedded JPEG images. The copier will not allow the selection of Compact PDF if the color depth is set to grayscale or black and white. Hence, I believe you are correct in your assessment. Grayscale is essentially a 256 color (8 bit) image which uses only black as a color. Bob S On Feb 7, 2017, at 21:35 , Scott Rossi via use-livecode > wrote: You say the mode is 8 bit. I might be wrong, but I don?t believe JPEG supports 8 bit (256 color) images. Even if it does technically, the format is not really intended for 8 bit images, but rather 16 bit or higher. From bobsneidar at iotecdigital.com Wed Feb 8 10:59:49 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Feb 2017 15:59:49 +0000 Subject: Size of Image in RAM In-Reply-To: <964A1A0D-E17C-400D-8BDE-67EC05E1D55F@hindu.org> References: <964A1A0D-E17C-400D-8BDE-67EC05E1D55F@hindu.org> Message-ID: <87A34C82-639B-4EF4-8395-2DFB615EFD02@iotecdigital.com> It's very possible that for the purposes of efficiency, Photoshop allocates enough memory so that it can work on the file as though it were in 24 bit color mode. It may be that some filters do a temporary shift to 24 bit color to do their magic, then back to 8 bit. This is just a guess though. I wouldn't go by that. If Photoshop reports 8 bit, then it's 8 bit. Bob S On Feb 7, 2017, at 22:17 , Sannyasin Brahmanathaswami via use-livecode > wrote: @ Scott: That's not what I get if I open this image in Photoshop. (CC 2017) 575 X 1000 http://wiki.hindu.org/uploads/img37.jpg It is a JPEG, but under the mode menu it shows "RGB/8 Bit" and if I look under indexed colors it says "256" definitely not 16bit (in which case we should see 65536 colors) So, somehow this IS a JPG that at least reports in PS as 8 bit but shows it is taking 2.17 MB in RAM, which it would if it were 16 bit. From ambassador at fourthworld.com Wed Feb 8 11:17:00 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 8 Feb 2017 08:17:00 -0800 Subject: AW: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <003d01d281f2$070c6fd0$15254f70$@kestner.de> References: <003d01d281f2$070c6fd0$15254f70$@kestner.de> Message-ID: <38d8726c-67f1-be11-a335-54d434e5540f@fourthworld.com> Tiemo Hollmann wrote: > I tested a little bit more and this code works for me: > on mouseUp > lock clipboard > set the rawClipBoardData to empty > set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) > unlock clipboard > end mouseUp > > and the IDE doesn't crashes anymore. > BTW. The rawclipboarddata key is supposed to be ["CF_UNICODETEXT"] > and not ["CF_UNICODE"] as the docs say. I wonder if the difference in keys is because the keys of the rawClipboardData are platform-specific. After reading Mark Waddingham's note here last week on a related subject: http://lists.runrev.com/pipermail/use-livecode/2017-February/234491.html ...I've come to regard the fullClipboardData as my go-to first choice for manipulating Clipboard contents, resorting to rawClipboardData only when I need some platform-specific special handling I can't address with fullClipboardData. -- 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 bob at bobhall.net Wed Feb 8 13:05:39 2017 From: bob at bobhall.net (Bob Hall) Date: Wed, 8 Feb 2017 13:05:39 -0500 Subject: PUT method where is returned data? Message-ID: <3AD7A242-7D66-48D0-963C-0D08E5575824@bobhall.net> 8.1.2 Indy with Desktop App I am using an API that uses the PUT method for some of the calls. JSON is sent with server data as JSON. I can?t figure out how to access the returned JSON data from the PUT call. I can not effect the API call. It's a commercial SAAS application. Here?s my snippet of code (everything is working with the PUT as far as I can tell. The data in the JSON ends up in the server App where it should). I use the all caps PUT for my pea brain to understand this is a HTTP PUT method request ;-) PUT tJsonData into URL tURL put the result into tResult put it into tResult2 I would of thought that either the result or it would have the data but both are empty. If there is an error, I do see tsneterr in the result. Where do can I find the response data? Thanks in advance, Bob Hall Hosting, eCommerce, Website Design, Custom Apps, and yes, Bicycle Repairs From mark.h at canelasoftware.com Wed Feb 8 13:46:29 2017 From: mark.h at canelasoftware.com (Mark Hsu) Date: Wed, 8 Feb 2017 10:46:29 -0800 Subject: PUT method where is returned data? In-Reply-To: <3AD7A242-7D66-48D0-963C-0D08E5575824@bobhall.net> References: <3AD7A242-7D66-48D0-963C-0D08E5575824@bobhall.net> Message-ID: <8124531E-5F22-40B6-AC44-EFF47CE92C03@canelasoftware.com> Try the urlResponse: PUT tJsonData into URL tURL put the urlResponse into tResult Regards, Mark Hsu Canela Software mark.h at canelasoftware.com > On Feb 8, 2017, at 10:05 AM, Bob Hall via use-livecode wrote: > > 8.1.2 Indy with Desktop App > > I am using an API that uses the PUT method for some of the calls. JSON is sent with server data as JSON. I can?t figure out how to access the returned JSON data from the PUT call. I can not effect the API call. It's a commercial SAAS application. > > Here?s my snippet of code (everything is working with the PUT as far as I can tell. The data in the JSON ends up in the server App where it should). I use the all caps PUT for my pea brain to understand this is a HTTP PUT method request ;-) > > PUT tJsonData into URL tURL > > put the result into tResult > > put it into tResult2 > > > I would of thought that either the result or it would have the data but both are empty. If there is an error, I do see tsneterr in the result. Where do can I find the response data? > > Thanks in advance, > Bob Hall > > Hosting, eCommerce, Website Design, > Custom Apps, and yes, Bicycle Repairs > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 8 14:03:43 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 8 Feb 2017 11:03:43 -0800 Subject: some, but not all, custom properties survive paste to new stack Message-ID: more hair-pulling time . . . I paste a group from a source stack to an output stack in a script. Some, but not all, of the custom properties that I set survive this pasting. For example, my source field has properties mrgns, txtFnt, txtSiz, and txtHgt. Its group, supergroups, card, and stack have no such properties. Nonetheless, all I have after paste are mrgns and txtFnt. I've single stepped through the paste point, and the behavior remains; the properties aren't there as soon as it is pasted, but remain in the source group. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Wed Feb 8 14:38:25 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Feb 2017 19:38:25 +0000 Subject: Memory Allocation Message-ID: <659ED5CA-FA17-4E41-A264-4EC9903E28E8@iotecdigital.com> I hesitate to post but... A dev posted here about a change made to the engine to make it more efficient which ended up causing problems down the line, memory being released before it's time, and the need to create a special C class to handle it. When was this implemented? I ask because I am running 8.1.2 and I have a method I am using which involves some recursion and database reads and writes in between. Sometimes it works famously, other times I crash to desktop. I have gone through the code to make sure I have no endless loops, and yet I am still getting this CtoD sporadically. If it were looping it would happen every time. Bob S From paul at livecode.org Wed Feb 8 15:02:30 2017 From: paul at livecode.org (Paul Hibbert) Date: Wed, 8 Feb 2017 12:02:30 -0800 Subject: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <003d01d281f2$070c6fd0$15254f70$@kestner.de> References: <005f01d27d45$5639a700$02acf500$@kestner.de> <004e01d27e29$69924c00$3cb6e400$@kestner.de> <69CD8F1A-654C-4DC5-AC1B-6BFB554A2B5C@livecode.org> <002701d281e5$e6c8aa10$b459fe30$@kestner.de> <003d01d281f2$070c6fd0$15254f70$@kestner.de> Message-ID: Pleased it helped and thank you for the update. Paul > On Feb 8, 2017, at 1:59 AM, Tiemo Hollmann TB via use-livecode wrote: > > Paul, > I tested a little bit more and this code works for me: > on mouseUp > lock clipboard > set the rawClipBoardData to empty > set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) > unlock clipboard > end mouseUp > > and the IDE doesn't crashes anymore. > BTW. The rawclipboarddata key is supposed to be ["CF_UNICODETEXT"] and not ["CF_UNICODE"] as the docs say. > > Thanks for your help > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode > Gesendet: Mittwoch, 8. Februar 2017 09:33 > An: 'How to use LiveCode' > Cc: Tiemo Hollmann TB > Betreff: AW: Different result in LC 6 to LC 8 when copying field text into Excel? > > Hi Paul, > > I test your approach, but when running the code in the DIE, LiveCode crashes immediatly. When debugging the code, it doesn't crashes, but stops at setting the rawclipboarddata with an error "clipboard is not locked". > This happens anyhow, if I am using "lock clipboard" or not. I'll file it Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Paul Hibbert via use-livecode > Gesendet: Dienstag, 7. Februar 2017 22:11 > An: How to use LiveCode > Cc: Paul Hibbert > Betreff: Re: Different result in LC 6 to LC 8 when copying field text into Excel? > > Tiemo, > > I?m not sure if this will help because I?m testing on Mac, but I did a little bit of experimenting with the new ?rawClipboardData?, it allows plain text to be copied out of LC, just to prove it, here?s a button script copied via my now modified Script Buddy plugin? > > on mouseUp > local tClip > > if the selectedText is empty then > set the clipBoardData["text"] to fld ?myTextField" > else > copy the selectedText > end if > > if the altKey is down then -- Convert the clipBoard to plain text > put the clipBoardData["text"] into tClip > lock the clipBoard > ## Use some code lifted from the LiveCode Dictionary? > set the rawClipBoardData to empty -- Clear ALL ClipboardData > if the platform is "Linux" then set the rawClipboardData["text/plain;charset=utf-8"] \ > to textEncode(tClip, "UTF-8" ) -- Linux > if the platform is "Win32" then set the rawClipboardData["CF_UNICODE"] \ > to textEncode(tClip, "UTF-16" ) -- Windows > if the platform is "MacOS" then set the rawClipboardData["public.utf8-plain-text"] \ > to textEncode(tClip, "UTF-8" ) -- OSX > unlock the clipboard > end if > end mouseUp > > At last, no extra line spacing! :-) > > Normally when I paste from LC into Mail I see extra line spacing, and I would have to copy and paste via a plain text editor to remove it. Emptying the clipBoard and setting the rawClipboardData as above seems to work, on Mac at least, hopefully it should work with Excel on Windows too. > > Paul > > > > >> On Feb 3, 2017, at 6:25 AM, Tiemo Hollmann TB via use-livecode wrote: >> >> Can anybody on Windows with LC 8 confirm this: >> >> - create a new stack >> - create a scrolling list field >> - enter three lines of text, each with one word >> - enter into the message box: *set the clipboarddata["text"] to fld 1* >> - open MS Excel (in my case Windows 10, Excel 2013) >> - paste >> - see an extra empty line between each line of text >> >> Pasted in a text editor there are no extra lines and up to LC 7 there >> also was no extra line in Excel. >> >> Can anybody confirm this behavior or even has an idea for a workaround? >> >> Thanks >> Tiemo >> >> >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von Tiemo Hollmann TB via use-livecode >> Gesendet: Donnerstag, 2. Februar 2017 12:13 >> An: LiveCode User Liste senden >> Cc: Tiemo Hollmann TB >> Betreff: Different result in LC 6 to LC 8 when copying field text into >> Excel? >> >> Hello, >> >> I have a standard scrolling list field with multiple lines of text. I >> copy the text by: >> >> *set the clipboarddata["text"] to fld "List"* >> >> The User now can past the text into MS Excel on Windows. With LC 6 the >> text was pasted into Excel line by line, as it showed up in LC. In LC >> 8.1.2 the text is pasted with an extra space line between each two lines. >> >> I checked the line ends in both versions. There is only one "LF" >> (byteToNum=10) at the end of each line and it looks the same in both >> versions. >> >> What has changed in LC 8 to cause such a different behavior? Is this >> again a Unicode thing what I don't understand? I already tried >> different clipboarddata keys, without success. >> >> It can't be an Excel option, because I tested it with the same Excel >> version on the same machine. >> >> Any idea, what has to be changed to get the same clipboard result as >> in LC 6? >> >> Thank you >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Feb 8 15:18:35 2017 From: mark at livecode.com (Mark Waddingham) Date: Wed, 8 Feb 2017 20:18:35 +0000 Subject: AW: Different result in LC 6 to LC 8 when copying field text into Excel? In-Reply-To: <38d8726c-67f1-be11-a335-54d434e5540f@fourthworld.com> References: <003d01d281f2$070c6fd0$15254f70$@kestner.de> <38d8726c-67f1-be11-a335-54d434e5540f@fourthworld.com> Message-ID: <3A13C3E0-1EBE-4210-BC89-061967E186BD@livecode.com> They are platform-specific - the 'original' win32 ones are here: It looks like Tiemo has discovered a bug in the docs! Warmest Regards, Mark. Sent from my iPhone > On 8 Feb 2017, at 16:17, Richard Gaskin via use-livecode wrote: > > Tiemo Hollmann wrote: > > > I tested a little bit more and this code works for me: > > on mouseUp > > lock clipboard > > set the rawClipBoardData to empty > > set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) > > unlock clipboard > > end mouseUp > > > > and the IDE doesn't crashes anymore. > > BTW. The rawclipboarddata key is supposed to be ["CF_UNICODETEXT"] > > and not ["CF_UNICODE"] as the docs say. > > I wonder if the difference in keys is because the keys of the rawClipboardData are platform-specific. > > After reading Mark Waddingham's note here last week on a related subject: > http://lists.runrev.com/pipermail/use-livecode/2017-February/234491.html > > ...I've come to regard the fullClipboardData as my go-to first choice for manipulating Clipboard contents, resorting to rawClipboardData only when I need some platform-specific special handling I can't address with fullClipboardData. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Feb 8 16:02:44 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 8 Feb 2017 13:02:44 -0800 Subject: PUT method where is returned data? In-Reply-To: <8124531E-5F22-40B6-AC44-EFF47CE92C03@canelasoftware.com> References: <8124531E-5F22-40B6-AC44-EFF47CE92C03@canelasoftware.com> Message-ID: <6aaeff1e-ebfd-2bba-4e80-c72319317b10@fourthworld.com> Mark Hsu wrote: >> On Feb 8, 2017, at 10:05 AM, Bob Hall wrote: >> >> PUT tJsonData into URL tURL >> >> put the result into tResult >> >> put it into tResult2 >> >> I would of thought that either the result or it would have the data >> > > Try the urlResponse: > > PUT tJsonData into URL tURL > > put the urlResponse into tResult "it" is not longer a valid container for URL responses? I missed that memo. Which version did that change take place in? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Wed Feb 8 16:34:11 2017 From: paul at researchware.com (Paul Dupuis) Date: Wed, 8 Feb 2017 16:34:11 -0500 Subject: some, but not all, custom properties survive paste to new stack In-Reply-To: References: Message-ID: <589B8ED3.7090509@researchware.com> On 2/8/2017 2:03 PM, Dr. Hawkins via use-livecode wrote: > more hair-pulling time . . . > > I paste a group from a source stack to an output stack in a script. > > Some, but not all, of the custom properties that I set survive this pasting. > > For example, my source field has properties mrgns, txtFnt, txtSiz, and > txtHgt. > > Its group, supergroups, card, and stack have no such properties. > > Nonetheless, all I have after paste are mrgns and txtFnt. > > > I've single stepped through the paste point, and the behavior remains; the > properties aren't there as soon as it is pasted, but remain in the source > group. > I just did a test in LC 8.1.2. Created a new stack, created a field with the custom properties mrgns, txtFnt, txtSiz, and txtxHgt with some values. Grouped the field and set the name and properties of the group (showBorder, showName so I could see the group). Created a second new stack. Copied the group from the 1st stack to the 2nd new stack, Checked the properties of the group in the second stack. All properties and values were copied. Now I was reminded the the custom property tab in the Project Browser is wacky - I would click the add new element "plus", select the default "1" for the key, rename it, click in the value box and enter a value and then click on the plus for a new element and the value never got set. I have not yet checked 8.1.3 to see if that bug of the Project Browser is one of the many things fixed in 8.1.3. From merakosp at gmail.com Wed Feb 8 16:42:19 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 8 Feb 2017 21:42:19 +0000 Subject: some, but not all, custom properties survive paste to new stack In-Reply-To: <589B8ED3.7090509@researchware.com> References: <589B8ED3.7090509@researchware.com> Message-ID: > >>>>>>I have not yet checked 8.1.3 to see if that bug of the Project > Browser is one of the many things fixed in 8.1.3. > @Paul I guess you mean "Property Inspector", and yes, it is fixed :) http://quality.livecode.com/show_bug.cgi?id=18302 @Richard Could you please file a bug, including a stack and a recipe? Best, Panos -- From jacque at hyperactivesw.com Wed Feb 8 16:44:53 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Feb 2017 15:44:53 -0600 Subject: some, but not all, custom properties survive paste to new stack In-Reply-To: <589B8ED3.7090509@researchware.com> References: <589B8ED3.7090509@researchware.com> Message-ID: On 2/8/17 3:34 PM, Paul Dupuis via use-livecode wrote: > Now I was reminded the the custom property tab in the Project Browser is > wacky - I would click the add new element "plus", select the default "1" > for the key, rename it, click in the value box and enter a value and > then click on the plus for a new element and the value never got set. I struggled with that too. You have to hit the Enter key after each change. It wasn't intuitive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Feb 8 17:32:27 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Feb 2017 16:32:27 -0600 Subject: Script locals in library stack script Message-ID: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> I have a splash stack that opens a data stack from a server. The data stack has a substack which is used as a library with "start using". The handlers in the library work okay. Some of them store data in script local variables in the library script. The script locals do not retain their values, they are almost always empty when the library tries to access them later. Is this something others have seen? LC 8.1.3 rc 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Feb 8 17:36:34 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Feb 2017 22:36:34 +0000 Subject: Memory Allocation In-Reply-To: <659ED5CA-FA17-4E41-A264-4EC9903E28E8@iotecdigital.com> References: <659ED5CA-FA17-4E41-A264-4EC9903E28E8@iotecdigital.com> Message-ID: NVM I am discovering that setting the DGData of a datagrid in the middle of a selectionChanged handler is what is crashing to desktop. I can produce this every single time in my app, but alas when I rey to create a test stack I cannot reproduce it. But I enabled gRevDevelopment and I discovered where it's going wrong. There is a private command called _resetdata that when called in this manner crashes to desktop. I will investigate further to see what command specifically is doing it. BTW it is not the data itself. I put empty into the array, then set a single line and a single column to the value "12345". Still crashes. Bob S On Feb 8, 2017, at 11:38 , Bob Sneidar via use-livecode > wrote: I hesitate to post but... A dev posted here about a change made to the engine to make it more efficient which ended up causing problems down the line, memory being released before it's time, and the need to create a special C class to handle it. When was this implemented? I ask because I am running 8.1.2 and I have a method I am using which involves some recursion and database reads and writes in between. Sometimes it works famously, other times I crash to desktop. I have gone through the code to make sure I have no endless loops, and yet I am still getting this CtoD sporadically. If it were looping it would happen every time. Bob S From bobsneidar at iotecdigital.com Wed Feb 8 17:40:08 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Feb 2017 22:40:08 +0000 Subject: Memory Allocation In-Reply-To: References: <659ED5CA-FA17-4E41-A264-4EC9903E28E8@iotecdigital.com> Message-ID: Hmmm... also of note, putting true into gRevDevelopment enables explicit variables. That is where that bugaboo was coming from, where people were saying that explicitVariables was being enabled randomly. workaround would be: put true into gRevDevelopment;set explicitVariables to false in the message box Bob S > On Feb 8, 2017, at 14:36 , Bob Sneidar via use-livecode wrote: > > NVM I am discovering that setting the DGData of a datagrid in the middle of a selectionChanged handler is what is crashing to desktop. I can produce this every single time in my app, but alas when I rey to create a test stack I cannot reproduce it. > > But I enabled gRevDevelopment and I discovered where it's going wrong. There is a private command called _resetdata that when called in this manner crashes to desktop. I will investigate further to see what command specifically is doing it. > > BTW it is not the data itself. I put empty into the array, then set a single line and a single column to the value "12345". Still crashes. > > Bob S > > > On Feb 8, 2017, at 11:38 , Bob Sneidar via use-livecode > wrote: > > I hesitate to post but... > > A dev posted here about a change made to the engine to make it more efficient which ended up causing problems down the line, memory being released before it's time, and the need to create a special C class to handle it. When was this implemented? I ask because I am running 8.1.2 and I have a method I am using which involves some recursion and database reads and writes in between. > > Sometimes it works famously, other times I crash to desktop. I have gone through the code to make sure I have no endless loops, and yet I am still getting this CtoD sporadically. If it were looping it would happen every time. > > 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 dochawk at gmail.com Wed Feb 8 17:50:37 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 8 Feb 2017 14:50:37 -0800 Subject: some, but not all, custom properties survive paste to new stack In-Reply-To: <589B8ED3.7090509@researchware.com> References: <589B8ED3.7090509@researchware.com> Message-ID: On Wed, Feb 8, 2017 at 1:34 PM, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > All properties and > values were copied. > They had been for me until recently. At this point, I have it cleared, but I'm suspecting a deeper bug is behind it. I had set the properties for a few fields at a time, and these survived multiple save/quit/load cycles. And then the properties disappeared. I reset them individually, and now they stuck. > > Now I was reminded the the custom property tab in the Project Browser is > wacky - I would click the add new element "plus", select the default "1" > for the key, rename it, click in the value box and enter a value and > then click on the plus for a new element and the value never got set. > This one is, indeed, maddening. Even used to it, it bites quite frequently. You also need to click out of the data area to get the data to fix with this. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Wed Feb 8 17:52:25 2017 From: monte at appisle.net (Monte Goulding) Date: Thu, 9 Feb 2017 09:52:25 +1100 Subject: Script locals in library stack script In-Reply-To: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> Message-ID: > On 9 Feb 2017, at 9:32 am, J. Landman Gay via use-livecode wrote: > > I have a splash stack that opens a data stack from a server. The data stack has a substack which is used as a library with "start using". > > The handlers in the library work okay. Some of them store data in script local variables in the library script. The script locals do not retain their values, they are almost always empty when the library tries to access them later. > > Is this something others have seen? LC 8.1.3 rc 1. I?m guessing you don?t mean in a separate request on the server. I?m not aware of anything special about the way server does stuff with variables so someone would need to chase this down based on a bug report I think. Cheers Monte From dochawk at gmail.com Wed Feb 8 17:52:50 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 8 Feb 2017 14:52:50 -0800 Subject: How big of a request can be sent with https? Message-ID: I am contemplating the changes to, instead of direct postgres communication, using an https wrapper. How big of an inquiry can I send? Most are small, but when opening the file, there are something like a thousand queries as a single transaction, -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Wed Feb 8 18:04:13 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Feb 2017 17:04:13 -0600 Subject: Script locals in library stack script In-Reply-To: References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> Message-ID: <71e779ee-b9e4-09a2-b2d1-1275459640c0@hyperactivesw.com> On 2/8/17 4:52 PM, Monte Goulding via use-livecode wrote: > >> On 9 Feb 2017, at 9:32 am, J. Landman Gay via use-livecode >> wrote: >> >> I have a splash stack that opens a data stack from a server. The >> data stack has a substack which is used as a library with "start >> using". >> >> The handlers in the library work okay. Some of them store data in >> script local variables in the library script. The script locals do >> not retain their values, they are almost always empty when the >> library tries to access them later. >> >> Is this something others have seen? LC 8.1.3 rc 1. > > I?m guessing you don?t mean in a separate request on the server. I?m > not aware of anything special about the way server does stuff with > variables so someone would need to chase this down based on a bug > report I think. Right, after downloading the data stack, for this stuff it's all local messaging. I'll try to track it down before submitting a bug, I just wondered if this was a known thing. I'm seeing other problems that indicate the message path isn't what I expect. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Feb 8 19:16:43 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 9 Feb 2017 00:16:43 +0000 Subject: Memory Allocation In-Reply-To: References: <659ED5CA-FA17-4E41-A264-4EC9903E28E8@iotecdigital.com> Message-ID: <737C0868-E659-49A4-A077-3EF31B93C1AA@iotecdigital.com> OK I've figured this out. I'm not sure if this qualifies as a bug per se, but you cannot modify the datagrid data while a selectionChanged handler is running. The only reason I can think this is an issue is if the datagrid library calls selectionChanged itself. The workaround is to send in time to a handler that changes the dgData or dgDataOfRecord/Index. Not sure what would happen with dgText. ex. on selectionChanged put "12345" into aDGData [1] ["some column"] set the dgData of me to aDGData set the dgHilitedIndex of me to 1 end selectionChanged BAAAAD on selectionChanged send populateMe to me in 10 milliseconds selectionChanged on populateMe put "12345" into aDGData [1] ["some column"] set the dgData of me to aDGData set the dgHilitedIndex of me to 1 end populateMe GOOOOD The odd thing is I tested this in a simple stack with a datagrid with one column without fail. It may be I need more data to get it to glitch, but I can definitely make it happen every time in a more complex app, and I can also definitely make it not fail using send in time. If anyone at Livecode wants to remote in to my workstation sometime so I can demonstrate the issue I'm open to that. The app is way to big to even attempt to send via the QC center. Contact me off list. Bob S On Feb 8, 2017, at 14:36 , Bob Sneidar > wrote: NVM I am discovering that setting the DGData of a datagrid in the middle of a selectionChanged handler is what is crashing to desktop. I can produce this every single time in my app, but alas when I rey to create a test stack I cannot reproduce it. But I enabled gRevDevelopment and I discovered where it's going wrong. There is a private command called _resetdata that when called in this manner crashes to desktop. I will investigate further to see what command specifically is doing it. BTW it is not the data itself. I put empty into the array, then set a single line and a single column to the value "12345". Still crashes. Bob S From devin_asay at byu.edu Thu Feb 9 18:31:26 2017 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 9 Feb 2017 23:31:26 +0000 Subject: PUT method where is returned data? In-Reply-To: <6aaeff1e-ebfd-2bba-4e80-c72319317b10@fourthworld.com> References: <8124531E-5F22-40B6-AC44-EFF47CE92C03@canelasoftware.com> <6aaeff1e-ebfd-2bba-4e80-c72319317b10@fourthworld.com> Message-ID: <68CF2FCE-35F2-4355-8417-2CD3DCE0CAEA@byu.edu> On Feb 8, 2017, at 2:02 PM, Richard Gaskin via use-livecode > wrote: Mark Hsu wrote: >> On Feb 8, 2017, at 10:05 AM, Bob Hall wrote: >> >> PUT tJsonData into URL tURL >> >> put the result into tResult >> >> put it into tResult2 >> >> I would of thought that either the result or it would have the data >> > > Try the urlResponse: > > PUT tJsonData into URL tURL > > put the urlResponse into tResult "it" is not longer a valid container for URL responses? I missed that memo. Which version did that change take place in? My understanding is that GET requests are simply submitted in a LiveCode ?put URL tURL into ? statement, and the results go into the container you designate. POST requests are returned to ?it?. As far as I know it?s always been like this. The PUT results going to the urlResponse is a new one on me. But I?m happy to know it. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From tom at makeshyft.com Thu Feb 9 20:40:35 2017 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Feb 2017 20:40:35 -0500 Subject: Windows and OSX 64-bit builds? Message-ID: Hi folks, Does anyone know if there are plans for 64 bit windows and mac builds anytime soon?.... I'm bumping up against limits that seems all too ancient to be deallng with in 2017. Just wanna know if its wishful thinking at this point or if its feasible to wait for 65 bit builds and save myself the work of optimizng for 32-bit? Thanks, *Tom Glod* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com From paul at researchware.com Thu Feb 9 20:49:10 2017 From: paul at researchware.com (Paul Dupuis) Date: Thu, 9 Feb 2017 20:49:10 -0500 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: Message-ID: <589D1C16.7050405@researchware.com> On 2/9/2017 8:40 PM, Tom Glod via use-livecode wrote: > Hi folks, > > Does anyone know if there are plans for 64 bit windows and mac builds > anytime soon?.... I'm bumping up against limits that seems all too ancient > to be deallng with in 2017. > Out of curiosity, what specific LC limits are you running into? Do you need a field to hold more than 4GB of text? A limit on sizes of Arrays? Something else? From monte at appisle.net Thu Feb 9 21:02:48 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 10 Feb 2017 13:02:48 +1100 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: Message-ID: > On 10 Feb 2017, at 12:40 pm, Tom Glod via use-livecode wrote: > > Does anyone know if there are plans for 64 bit windows and mac builds > anytime soon?.... I'm bumping up against limits that seems all too ancient > to be deallng with in 2017. > > Just wanna know if its wishful thinking at this point or if its feasible to > wait for 65 bit builds and save myself the work of optimizng for 32-bit? Hi Tom Mac 64 bit has been available for quite some time now. Windows 64 bit is in motion. Cheers Monte From tom at makeshyft.com Thu Feb 9 21:03:11 2017 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Feb 2017 21:03:11 -0500 Subject: Windows and OSX 64-bit builds? In-Reply-To: <589D1C16.7050405@researchware.com> References: <589D1C16.7050405@researchware.com> Message-ID: trying to export snapshots of lage groups with many image controls. .... can't get past 10k On Thu, Feb 9, 2017 at 8:49 PM, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2/9/2017 8:40 PM, Tom Glod via use-livecode wrote: > > Hi folks, > > > > Does anyone know if there are plans for 64 bit windows and mac builds > > anytime soon?.... I'm bumping up against limits that seems all too > ancient > > to be deallng with in 2017. > > > > Out of curiosity, what specific LC limits are you running into? Do you > need a field to hold more than 4GB of text? A limit on sizes of Arrays? > Something else? > > _______________________________________________ > use-livecode mailing list > use-livecode 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* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com From tom at makeshyft.com Thu Feb 9 21:04:32 2017 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Feb 2017 21:04:32 -0500 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <589D1C16.7050405@researchware.com> Message-ID: thanks monte..... thats what i wanted to hear....sorry i didn't notice the osx 64 builds..... only ever saw llinux 64...... but i work on windows....so its music to my ears..... what are we looking at ?...a few months? On Thu, Feb 9, 2017 at 9:03 PM, Tom Glod wrote: > trying to export snapshots of lage groups with many image controls. .... > can't get past 10k > > On Thu, Feb 9, 2017 at 8:49 PM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 2/9/2017 8:40 PM, Tom Glod via use-livecode wrote: >> > Hi folks, >> > >> > Does anyone know if there are plans for 64 bit windows and mac builds >> > anytime soon?.... I'm bumping up against limits that seems all too >> ancient >> > to be deallng with in 2017. >> > >> >> Out of curiosity, what specific LC limits are you running into? Do you >> need a field to hold more than 4GB of text? A limit on sizes of Arrays? >> Something else? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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* > > CEO @ *MakeShyft R.D.A* - www.makeshyft.com > > > > Developer of *U.M.P* - www.IamUMP.com > -- *Tom Glod* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com From monte at appisle.net Thu Feb 9 21:08:22 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 10 Feb 2017 13:08:22 +1100 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <589D1C16.7050405@researchware.com> Message-ID: <68C30C28-4E10-428A-89C7-16EFA5E20FD6@appisle.net> > On 10 Feb 2017, at 1:04 pm, Tom Glod via use-livecode wrote: > > thanks monte..... thats what i wanted to hear....sorry i didn't notice the > osx 64 builds..... only ever saw llinux 64...... but i work on > windows....so its music to my ears..... what are we looking at ?...a few > months? I?m not really sure when the first versions will make a stable release but the work required to get things building on our build servers is on the go. It requires some drastic changes to things is all I know. Peter, Mark or Fraser would be better to give you more detail than that ;-) Cheers Monte From tom at makeshyft.com Thu Feb 9 21:10:50 2017 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Feb 2017 21:10:50 -0500 Subject: Windows and OSX 64-bit builds? In-Reply-To: <68C30C28-4E10-428A-89C7-16EFA5E20FD6@appisle.net> References: <589D1C16.7050405@researchware.com> <68C30C28-4E10-428A-89C7-16EFA5E20FD6@appisle.net> Message-ID: sounds good.... i'll wait patiently....thanks alot for confirming its a WIP. On Thu, Feb 9, 2017 at 9:08 PM, Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > > > On 10 Feb 2017, at 1:04 pm, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > thanks monte..... thats what i wanted to hear....sorry i didn't notice > the > > osx 64 builds..... only ever saw llinux 64...... but i work on > > windows....so its music to my ears..... what are we looking at ?...a few > > months? > > I?m not really sure when the first versions will make a stable release but > the work required to get things building on our build servers is on the go. > It requires some drastic changes to things is all I know. Peter, Mark or > Fraser would be better to give you more detail than that ;-) > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Tom Glod* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com From monte at appisle.net Thu Feb 9 21:19:45 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 10 Feb 2017 13:19:45 +1100 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <589D1C16.7050405@researchware.com> Message-ID: <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> > On 10 Feb 2017, at 1:03 pm, Tom Glod via use-livecode wrote: > > trying to export snapshots of lage groups with many image controls. .... > can't get past 10k 10k controls or 10k pixels. Control rect origins are 16 bit ints and sizes are 16 bit unsigned ints so if you are trying to position a control at > 32767 then it won?t work. That won?t change when we compile the engine as 64 bit. Cheers Monte From tom at makeshyft.com Thu Feb 9 21:33:13 2017 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Feb 2017 21:33:13 -0500 Subject: Windows and OSX 64-bit builds? In-Reply-To: <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> Message-ID: 10 K in resolution.... I'm going to do more tests with the 2 cache settings ..... compositor cache and image cache..... increasing these definately lets me export snapshots of larger groups...but I have not succeeded in going past 10 K.... I can display up to 32k..... but snapshot export just hard crashes Livecode as soon as it is triggered. .... 32,000*32,000*4 is 4GB+ ...... I would like my customers to be able to output their content as large images. 10 k is large enough for now. From monte at appisle.net Thu Feb 9 21:35:35 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 10 Feb 2017 13:35:35 +1100 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> Message-ID: <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> > On 10 Feb 2017, at 1:33 pm, Tom Glod via use-livecode wrote: > > but snapshot export just hard crashes Livecode as > soon as it is triggered If you have a recipe for a hard crash please post bug report Cheers Monte From tom at makeshyft.com Thu Feb 9 21:38:15 2017 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Feb 2017 21:38:15 -0500 Subject: Windows and OSX 64-bit builds? In-Reply-To: <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> Message-ID: I will... if u wanna replicate...put an image on a stack..make it 32k x 32k .....and try and do a export snapshot of the image, LC goes POOF... Trevor said tha last version of 8 (8.13) had some memory issues solves, so i will try to test is there too. On Thu, Feb 9, 2017 at 9:35 PM, Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > > > On 10 Feb 2017, at 1:33 pm, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > but snapshot export just hard crashes Livecode as > > soon as it is triggered > > If you have a recipe for a hard crash please post bug report > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Tom Glod* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com From bob at bobhall.net Fri Feb 10 06:56:19 2017 From: bob at bobhall.net (Bob Hall) Date: Fri, 10 Feb 2017 06:56:19 -0500 Subject: Script locals in library stack script In-Reply-To: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> Message-ID: I?ve been wondering this myself. I?m going to try to create a recipe but it looks like the TTL of script local variables is different than what I thought I knew it to be. I ?think? I started see this behavior about 8.1.0-ish timeframe but not sure. In the past few months I started to put everything into properties as I found that my understanding of how script local variables behaved was different then how they do. I had chalked it up to getting old and just forgetting how things work. So I guess I need to understand what is the TTL definition of a script local variable? I was under the impression that if I have setters/getters for the variables and set their value, as long as that Script remains in memory, the script local variable retains it?s value. I do not see that for sure if I set the script local var in the libraryStack message in 8.1.2 or 8.1.3. Curious if you?ve figured out anything about this since the original note. Bob Hall > > Is this something others have seen? LC 8.1.3 rc 1. > From paul at researchware.com Fri Feb 10 08:14:28 2017 From: paul at researchware.com (Paul Dupuis) Date: Fri, 10 Feb 2017 08:14:28 -0500 Subject: Windows and OSX 64-bit builds? In-Reply-To: <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> Message-ID: <589DBCB4.9070300@researchware.com> On 2/9/2017 9:19 PM, Monte Goulding via use-livecode wrote: >> On 10 Feb 2017, at 1:03 pm, Tom Glod via use-livecode wrote: >> >> trying to export snapshots of lage groups with many image controls. .... >> can't get past 10k > 10k controls or 10k pixels. Control rect origins are 16 bit ints and sizes are 16 bit unsigned ints so if you are trying to position a control at > 32767 then it won?t work. That won?t change when we compile the engine as 64 bit. > > This is one reason I asked what specific limits are being run into. Juts making "64-bit" versions of LC for OSX or Window will not magically fix all limits in LiveCode that exists. Many are based on a coded 16 bit or 32 bit bounds. When running into limits, it is better to report the specific limit - as a bug report at http://quality.livecode.com/ - rather than looking for 64 bit versions of the engine. It *may* be that 64 bit address spaces is needed to expand the limit, but the again, it may not. From MikeKerner at roadrunner.com Fri Feb 10 09:29:33 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 10 Feb 2017 09:29:33 -0500 Subject: Script locals in library stack script In-Reply-To: References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> Message-ID: This might explain the bizarre bug I'm experiencing with one of Monte's externals. I manage the calls to the various routines for the external from a library stack. Periodically, I end up somewhere in the code that I shouldn't be able to get to because of the values of various variables, and the only way I could get there would be if the values were somehow wiped. Hmmmmm. Maybe it's not my code. Time to go sleuthing... On Fri, Feb 10, 2017 at 6:56 AM, Bob Hall via use-livecode < use-livecode at lists.runrev.com> wrote: > I?ve been wondering this myself. I?m going to try to create a recipe but > it looks like the TTL of script local variables is different than what I > thought I knew it to be. I ?think? I started see this behavior about > 8.1.0-ish timeframe but not sure. > > In the past few months I started to put everything into properties as I > found that my understanding of how script local variables behaved was > different then how they do. I had chalked it up to getting old and just > forgetting how things work. > > So I guess I need to understand what is the TTL definition of a script > local variable? I was under the impression that if I have setters/getters > for the variables and set their value, as long as that Script remains in > memory, the script local variable retains it?s value. I do not see that for > sure if I set the script local var in the libraryStack message in 8.1.2 or > 8.1.3. > > Curious if you?ve figured out anything about this since the original note. > > Bob Hall > > > > > Is this something others have seen? LC 8.1.3 rc 1. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ambassador at fourthworld.com Fri Feb 10 09:47:07 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Feb 2017 06:47:07 -0800 Subject: PUT method where is returned data? In-Reply-To: <68CF2FCE-35F2-4355-8417-2CD3DCE0CAEA@byu.edu> References: <68CF2FCE-35F2-4355-8417-2CD3DCE0CAEA@byu.edu> Message-ID: <8f4722f4-820a-a31c-7199-4521588d8ce0@fourthworld.com> Devin Asay wrote: > On Feb 8, 2017, at 2:02 PM, Richard Gaskin wrote: > >> "it" is not longer a valid container for URL responses? >> >> I missed that memo. Which version did that change take place in? >> >> My understanding is that GET requests are simply submitted in a >> LiveCode ?put URL tURL into ? statement, and the results >> go into the container you designate. POST requests are returned to >> ?it?. > > As far as I know it?s always been like this. > > The PUT results going to the urlResponse is a new one on me. But I?m > happy to know it. If urlResponse is offered as an alternative that may be useful, but if "it" is no longer valid at all it'll break a lot of scripts. Sometimes moving forward with changes, even those that require script changes, isn't a bad thing. But this could use some clarification from the home team. -- 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 lists at mangomultimedia.com Fri Feb 10 09:52:08 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 10 Feb 2017 08:52:08 -0600 Subject: PUT method where is returned data? In-Reply-To: <8f4722f4-820a-a31c-7199-4521588d8ce0@fourthworld.com> References: <68CF2FCE-35F2-4355-8417-2CD3DCE0CAEA@byu.edu> <8f4722f4-820a-a31c-7199-4521588d8ce0@fourthworld.com> Message-ID: On Fri, Feb 10, 2017 at 8:47 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Devin Asay wrote: > > > On Feb 8, 2017, at 2:02 PM, Richard Gaskin wrote: > > > >> "it" is not longer a valid container for URL responses? > >> > >> I missed that memo. Which version did that change take place in? > >> > >> My understanding is that GET requests are simply submitted in a > >> LiveCode ?put URL tURL into ? statement, and the results > >> go into the container you designate. POST requests are returned to > >> ?it?. > > > > As far as I know it?s always been like this. > > > > The PUT results going to the urlResponse is a new one on me. But I?m > > happy to know it. > > If urlResponse is offered as an alternative that may be useful, but if > "it" is no longer valid at all it'll break a lot of scripts. The urlresponse has been around for a number of years. It was added so that you can get the response sent back from the server for url calls. It doesn?t affect how it behaves in any way. Prior to adding the urlresponse one couldn?t get the server response for PUT ? into URL tURL or DELETE URL tURL calls. It?s been so long I don?t recall the exact reasons why ?it? wasn?t used but I much prefer reading ?the urlresopnse? in my code than dealing with ?it? which is meaningless until put into another variable. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From selander at tkf.att.ne.jp Fri Feb 10 10:00:49 2017 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 11 Feb 2017 00:00:49 +0900 Subject: Cancelling a script?? Message-ID: <589DD5A1.2040002@tkf.att.ne.jp> The documentation says Cmd + . should stop a running script. I have set the allowinterrupts to true in my openstack script. But if I get into a long repeat loop, cmd + . does not stop anything. Community v8.1, OSX 10.9. Any advice appreciated. Tim Selander Tokyo, Japan From ambassador at fourthworld.com Fri Feb 10 10:03:24 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Feb 2017 07:03:24 -0800 Subject: Script locals in library stack script In-Reply-To: References: Message-ID: <45a196fc-8512-7d75-8954-56acaaf2df85@fourthworld.com> Bob Hall wrote: > So I guess I need to understand what is the TTL definition of a > script local variable? In the engine, script-local variables will retain their values throughout the session. If a script is edited, however, by default the recompilation of the script causes the script-local variables to be cleared. This default can be overridden with the preserveVariables property. False by default, when set to true script-local variables will retain their values between compilations of the script they appear in. I had previously thought that the preserveVariables was a global property, which would mean its value is preserved throughout the session, and that the "Variable Preservation" checkbox in the "Script Editor" section of Prefs reflected that value. However, the Dictionary does not specify that the preserveVariables is a global property, and there appears to be no relationship between the seemingly-related Prefs checkbox and this property - recipe: 1. In the Message Box, run: put the preserveVariables 2. In the MB, set the preserveVariables to the opposite 3. Open the Prefs window, note the checkbox 4. Close the Prefs window 5. In the MB, set the preserveVariables to its opposite 6. Open the Prefs window, not that the checkbox retains the true/false state seen before, even though the property itself has changed. The Dictionary does say: The preserveVariables property is provided as a background compatibility aid. It should not, in general, be used in user scripts as the IDE automatically handles preservation of variables via the Variable Preservation option in the preferences and Script Editor Script menu. So while I once thought I'd understood both the property and the seemingly-related Prefs setting, apparently I do not. Guidance from the IDE team would be welcome here. -- 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 bonnmike at gmail.com Fri Feb 10 10:09:36 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 10 Feb 2017 08:09:36 -0700 Subject: Cancelling a script?? In-Reply-To: <589DD5A1.2040002@tkf.att.ne.jp> References: <589DD5A1.2040002@tkf.att.ne.jp> Message-ID: If the loop is tight enough, the keypress never gets through. I've just got into the habit of putting an escape hatch into loops that can go wrong. Something like: if the environment is "development" and the shiftkey is down then exit to top (or if you want the user to have access to the same exit, don't check for the environment) Then all you have to do is hold shift and the loop will exit. On Fri, Feb 10, 2017 at 8:00 AM, Tim Selander via use-livecode < use-livecode at lists.runrev.com> wrote: > The documentation says Cmd + . should stop a running script. > > I have set the allowinterrupts to true in my openstack script. But if > I get into a long repeat loop, cmd + . does not stop anything. > > Community v8.1, OSX 10.9. > > Any advice appreciated. > > Tim Selander > Tokyo, Japan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Fri Feb 10 10:10:52 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 10 Feb 2017 07:10:52 -0800 Subject: PUT method where is returned data? In-Reply-To: References: <68CF2FCE-35F2-4355-8417-2CD3DCE0CAEA@byu.edu> <8f4722f4-820a-a31c-7199-4521588d8ce0@fourthworld.com> Message-ID: On Fri, Feb 10, 2017 at 6:52 AM, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > It?s been so long I don?t recall the exact reasons why ?it? > wasn?t used but I much prefer reading ?the urlresopnse? in my code than > dealing with ?it? which is meaningless until put into another variable. > I have been horrified by "it" since HyperCard 1.0 was released . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From selander at tkf.att.ne.jp Fri Feb 10 10:18:30 2017 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 11 Feb 2017 00:18:30 +0900 Subject: Cancelling a script?? In-Reply-To: References: <589DD5A1.2040002@tkf.att.ne.jp> Message-ID: <589DD9C6.7040206@tkf.att.ne.jp> Mike, that did the trick. I'll get into the same coding habit. Thanks! Tim Selander Tokyo, Japan On 2017.02.11, 0:09, Mike Bonner via use-livecode wrote: > If the loop is tight enough, the keypress never gets through. I've just > got into the habit of putting an escape hatch into loops that can go wrong. > Something like: > if the environment is "development" and the shiftkey is down then exit to > top > (or if you want the user to have access to the same exit, don't check for > the environment) > > Then all you have to do is hold shift and the loop will exit. > > On Fri, Feb 10, 2017 at 8:00 AM, Tim Selander via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The documentation says Cmd + . should stop a running script. >> >> I have set the allowinterrupts to true in my openstack script. But if >> I get into a long repeat loop, cmd + . does not stop anything. >> >> Community v8.1, OSX 10.9. >> >> Any advice appreciated. >> >> Tim Selander >> Tokyo, Japan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 10 10:43:47 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Feb 2017 07:43:47 -0800 Subject: PUT method where is returned data? In-Reply-To: References: Message-ID: <8e3476d4-da76-6b3b-db14-36b0ad046724@fourthworld.com> Trevor DeVore wrote: > The urlresponse has been around for a number of years. It was added > so that you can get the response sent back from the server for url > calls. It doesn?t affect how it behaves in any way. Prior to adding > the urlresponse one couldn?t get the server response for PUT ? into > URL tURL or DELETE URL tURL calls. It?s been so long I don?t recall > the exact reasons why ?it? wasn?t used but I much prefer reading > ?the urlresopnse? in my code than dealing with ?it? which is > meaningless until put into another variable. Thank you, Trevor. With that explanation I can rest easy, since my older code only uses GET and POST. So to summarize, please let me know if any of the following is incorrect: Both "it" and "urlResponse" can be used to get return values from: GET POST "urlResonse" can be used to get return values from: GET POST PUT DELETE -- 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 Fri Feb 10 11:16:33 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Feb 2017 08:16:33 -0800 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: Message-ID: <3a64c6c5-5527-8aa1-f59e-c78700c93cdd@fourthworld.com> Tom Glod wrote: > 10 K in resolution.... > > I'm going to do more tests with the 2 cache settings ..... compositor > cache and image cache..... increasing these definately lets me export > snapshots of larger groups...but I have not succeeded in going past > 10 K.... I can display up to 32k..... but snapshot export just hard > crashes Livecode as soon as it is triggered. .... 32,000*32,000*4 is > 4GB+ ...... I would like my customers to be able to output their > content as large images. 10 k is large enough for now. Curious about this, I ran a test in LC 9 with a new stack with one button containing this script: on mouseUp set the rect of me to 0,0,6000,6000 put specialFolderPath("desktop")&"/TestBigImage.png" into tFile export snapshot from me to file tFile as PNG end mouseUp On Ubuntu 14.04 w/8GB RAM I get the image file generated within seconds, but then LC takes another several seconds (almost a full minute!) with one CPU core maxed until it goes back to a normal idle. Worse, while writing this email I was switching back and forth between my email client and LC, and apparently resume also takes nearly a full minute of maxed CPU before I'm able to work. I'll run strace with that and file a bug report later to see what could be done, but back to your app's need: Is raster output the best option for your users? Even at 10k px that'll be a pretty big file, unwieldy in many image apps (and apparently prohibitive to export in the Linux version of LC currently). It would be tedious but not too difficult to write a CardToSVG function instead, giving your users a widely-supported vector format whose file will be only slightly larger than the stack it was generated from (relatively speaking; being a plain-text format I'd guess the output size would be a small multiple of the stack file size, but certainly far less than a raster representation of the same layout). I know Alejandro had written some SVG importers some time ago - anyone here have at least the beginnings of an SVG exporter we could build upon as a community project? -- 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 lists at mangomultimedia.com Fri Feb 10 11:18:42 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 10 Feb 2017 10:18:42 -0600 Subject: PUT method where is returned data? In-Reply-To: References: <68CF2FCE-35F2-4355-8417-2CD3DCE0CAEA@byu.edu> <8f4722f4-820a-a31c-7199-4521588d8ce0@fourthworld.com> Message-ID: On Fri, Feb 10, 2017 at 9:10 AM, Dr. Hawkins via use-livecode < use-livecode at lists.runrev.com> wrote: > On Fri, Feb 10, 2017 at 6:52 AM, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > It?s been so long I don?t recall the exact reasons why ?it? > > wasn?t used but I much prefer reading ?the urlresopnse? in my code than > > dealing with ?it? which is meaningless until put into another variable. > > > > I have been horrified by "it" since HyperCard 1.0 was released . . . > I recall seeing ?it? used frequently in code I read when first learning LiveCode. A variable named ?it? was more of a barrier than anything as it made no sense where it was coming from. It just appeared in the code out of thin air. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From lists at mangomultimedia.com Fri Feb 10 11:18:59 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 10 Feb 2017 10:18:59 -0600 Subject: PUT method where is returned data? In-Reply-To: <8e3476d4-da76-6b3b-db14-36b0ad046724@fourthworld.com> References: <8e3476d4-da76-6b3b-db14-36b0ad046724@fourthworld.com> Message-ID: On Fri, Feb 10, 2017 at 9:43 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > > Thank you, Trevor. With that explanation I can rest easy, since my older > code only uses GET and POST. > > So to summarize, please let me know if any of the following is incorrect: > > Both "it" and "urlResponse" can be used to get return values from: > GET > POST > > "urlResonse" can be used to get return values from: > GET > POST > PUT > DELETE That is correct. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From panos.merakos at livecode.com Fri Feb 10 11:34:57 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 10 Feb 2017 16:34:57 +0000 Subject: [ ANN ] Release 8.1.3 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.1.3 RC-2. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8.1.3 RC-2 contains bug fixes and stability improvements. In total, 90 bugs have been fixed since the last stable release (LiveCode 8.1.2). Thanks to the people who tried out LiveCode 8.1.3 RC-1, we have been able to identify and fix the following issues in this release: 19185 - dragdata["private"] has no value in dragMove 19105 - Crash in MCObject::message when deleting stack 19120 - Error when loading plugins in 8.1.3 rc-1 19174 - Unable to save as standalone when a substack has cantDelete = true 19127 - itunes rejecting because of non-public symbols 19158 - Crash when deleting object and then pressing cmd+z (Undo) 19121 - Incorrect folder path passed to standaloneSaved The full release notes are available from: http://downloads.livecode.com/livecode/8_1_3/LiveCodeNotes-8_1_3_rc_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 brahma at hindu.org Fri Feb 10 11:43:00 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 10 Feb 2017 16:43:00 +0000 Subject: "Deleting" Stacks in Memory - What About Behaviors? Message-ID: When we delete a main stack, the main stack and all its substacks are removed from memory. But if we delete a stack that has behaviors set from external *_behavior.livecodescript stacks for controls in the "main" (parent?) stack, those behaviors are still in memory. Does it make sense to file an enhancement request, to at least allow the dev to set a preference __ Delete behavior stacks from memory when stack using them are deleted [YES/NO] This is in line with trying to manage memory usage on small devices. Yes, someone will no doubt respond "but they are so small why are you worried?" But small android phone with limited RAM, really do need help keeping the heap as low as possible. I am just looking for all possible means to clear ram, then set a "policy" in app to do all possible house keeping along the way: set images to empty, delete stacks not in use are the main two "tricks" we need to have that are obvious; But that leaves libraries and behaviors that are not in use. So if we *could* clean them up? why not do it. Some times 200K means the diff between running and crashing on these "weak" devices. Obviouslyl if one is using Libraries with Start Using, the intent is probably that these are serving as globally accessible handlers. But this is not the case with behaviors attached to controls in a stack that may be deleted. So does it not make sense they are treated the same way as sub-stacks when their "parent" stack is deleted? Before filing an enhancement request I want to check here with everyone. What do you think? BR From bobsneidar at iotecdigital.com Fri Feb 10 11:53:26 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 10 Feb 2017 16:53:26 +0000 Subject: [ ANN ] Release 8.1.3 RC-2 In-Reply-To: References: Message-ID: <6543E752-F2BB-4455-BC0E-1E6C6AAA8E33@iotecdigital.com> THAT'S the bugger (see what I did there) that was keeping me from creating standalones! Bob S On Feb 10, 2017, at 08:34 , panagiotis merakos via use-livecode > wrote: 19174 - Unable to save as standalone when a substack has cantDelete = true From bobsneidar at iotecdigital.com Fri Feb 10 11:54:56 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 10 Feb 2017 16:54:56 +0000 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> Message-ID: <6D70BE7F-F9E3-46BE-A19A-356E315BD1DA@iotecdigital.com> That is a 28 FOOT image!!! at 8 bits per pixel that's 8.2 terabytes. At 24 bits per pixel it's 24.5 terabytes!!!!! Am I missing something?? My math skills may not be the best: 32000*32000*24 Granted LC should never crash, it whould warn the end user that the data exceeds limits, but if I understand what you are doing, it's unreasonable to expect any application to do this. Bob S > On Feb 9, 2017, at 18:38 , Tom Glod via use-livecode wrote: > > I will... if u wanna replicate...put an image on a stack..make it 32k x 32k > .....and try and do a export snapshot of the image, LC goes POOF... Trevor > said tha last version of 8 (8.13) had some memory issues solves, so i will > try to test is there too. From mark at canelasoftware.com Fri Feb 10 12:00:33 2017 From: mark at canelasoftware.com (Mark Talluto) Date: Fri, 10 Feb 2017 09:00:33 -0800 Subject: How big of a request can be sent with https? In-Reply-To: References: Message-ID: > On Feb 8, 2017, at 2:52 PM, Dr. Hawkins via use-livecode wrote: > > I am contemplating the changes to, instead of direct postgres > communication, using an https wrapper. > > How big of an inquiry can I send? Most are small, but when opening the > file, there are something like a thousand queries as a single transaction, > The size of the request is determined by your PHP settings. Most default settings range from 5MB to 10MB. You can set it to a much higher value if you really need it. But, it would be better to control the sizes of the requests client side for performance/robustness reasons. Best regards, Mark Talluto livecloud.io canelasoftware.com From devin_asay at byu.edu Fri Feb 10 12:04:00 2017 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 10 Feb 2017 17:04:00 +0000 Subject: [ ANN ] Release 8.1.3 RC-2 In-Reply-To: References: Message-ID: <9A8D3616-B1BA-40E6-8181-AA1D2287D110@byu.edu> I had just barely encountered this bug, and was *thinking* about filing a bug report. And now it?s fixed already! That?s some fast work! On Feb 10, 2017, at 9:34 AM, panagiotis merakos via use-livecode > wrote: 19185 - dragdata["private"] has no value in dragMove Or maybe Panagiotis got ahold of Jacque?s time warp stack. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From dochawk at gmail.com Fri Feb 10 12:26:28 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 10 Feb 2017 09:26:28 -0800 Subject: How big of a request can be sent with https? In-Reply-To: References: Message-ID: On Fri, Feb 10, 2017 at 9:00 AM, Mark Talluto via use-livecode < use-livecode at lists.runrev.com> wrote: > The size of the request is determined by your PHP settings. Most default > settings range from 5MB to 10MB. You can set it to a much higher value if > you really need it. But, it would be better to control the sizes of the > requests client side for performance/robustness reasons. > Mine should be well below a megabyte. It's a single request, as I need the queries to succeed/fail together, or I could get an inconsistent state. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Feb 10 12:31:03 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 10 Feb 2017 09:31:03 -0800 Subject: Windows and OSX 64-bit builds? In-Reply-To: <6D70BE7F-F9E3-46BE-A19A-356E315BD1DA@iotecdigital.com> References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> <6D70BE7F-F9E3-46BE-A19A-356E315BD1DA@iotecdigital.com> Message-ID: On Fri, Feb 10, 2017 at 8:54 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Granted LC should never crash, it whould warn the end user that the data > exceeds limits, but if I understand what you are doing, it's unreasonable > to expect any application to do this. > > An, err, long time ago, I found that I could consistently crash both FreeBSD and Linux by loading a file larger than virtual memory into a binary editor . . . (I had had to make an image of a hard disk to search for versions of a paper when ~ got deleted. While an older machine, the hard drive than even VM on the other machine. I eventually got the paper back [maybe I split the file?] . . . just manipulating it was no small task. [maybe I finally filtered the disk through strings or tr to a file on a zip disk for transport?]) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From christer at mindcrea.com Fri Feb 10 12:40:50 2017 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Fri, 10 Feb 2017 19:40:50 +0200 Subject: Remote debugger vs other issues in targeting Message-ID: <578BDB58-6132-4FD1-8300-554D68693765@mindcrea.com> The forthcoming Remote Debugger will definitely be of value in targeting LiveCode apps to the devices. However, there are areas, especially in catching issues taking place in (nearly) real time, which I - and don't know how many others - have met as the most problematic ones. Not all of the apps won't meet these, if developed to be "contained", that means working without external or file communication. The examples having caused excessive headache to me include the following. - what happens in communication with the apps library purchasing options like subscription; - what happens with user clicks - there is a place for an Application Note how to make it correctly, for example to avoid double clicks received; - user entry into the fields, including the use of del key; - where did your PC (Program Counter - I belong to those ancient machine code programmers) get lost with chained subroutine / handler calls or continuous wake-up's (send to handler after...) and what was done to your global variables in what order; - why does the exact same user behaviour, for example with Samsung SGS 4 or 6 or Sony Experia Tablet produce different route of actions as entries are of different code, and - what is the correct way of handling character sets with different devices' I/O and setups (like kb automatic text correction). The list is not exhaustive. The problem escalates if you build a system using back-end server software (which thanks to LiveCode On-Rev is very, very easy and efficient), and use the file services and external communications from within. There even seems to be slightly different behaviour between the selected target devices with exactly same source code, how it is sent and received forth and back. Getting expertise in every version turn. This is not a manifest against the Remote Debugger, vice versa. Unfortunately could not extract from the demo if the headaches above could be addressed by the new functionality. I would be interested to hear of any experiences from the user community tackling problems like described above. thx Christer Pyyhti? MindCrea Ltd christer at mindcrea.com From ambassador at fourthworld.com Fri Feb 10 12:48:29 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Feb 2017 09:48:29 -0800 Subject: "Deleting" Stacks in Memory - What About Behaviors? In-Reply-To: References: Message-ID: Sannyasin Brahmanathaswami wrote: > When we delete a main stack, the main stack and all its substacks are > removed from memory. > > But if we delete a stack that has behaviors set from external > *_behavior.livecodescript stacks for controls in the "main" > (parent?) stack, those behaviors are still in memory. > > Does it make sense to file an enhancement request, to at least allow > the dev to set a preference > > __ Delete behavior stacks from memory when stack using them are > deleted [YES/NO] My vote: No. Different stack, different purge. I want to remain in control of when things get purged. Imagine, for example, an app that uses multiple documents. Once I've inited the stack containing behavior scripts, I'll want to allow the user to open and close any document stacks they like during the session. If I lost control over then behaviors are purged, I'd have to add code to ensure the stack with the behaviors is properly set up each time a document is opened. And as someone who does a lot of LiveCode training, I've come to appreciate that the fewer "sometimes" rules we have the better. Right now we give the developer the freedom to manage their own stack purging (however wonky that syntax may currently be). If we introduce a "sometimes" rule about if some other stack happens to have an object that had been used as a behavior, things get muddy quickly. > This is in line with trying to manage memory usage on small devices. > > Yes, someone will no doubt respond "but they are so small why are you > worried?" > > But small android phone with limited RAM, really do need help keeping > the heap as low as possible. I am just looking for all possible > means to clear ram, then set a "policy" in app to do all possible > house keeping along the way: set images to empty, delete stacks not > in use are the main two "tricks" we need to have that are obvious; > > But that leaves libraries and behaviors that are not in use. So if we > *could* clean them up? why not do it. Some times 200K means the diff > between running and crashing on these "weak" devices. > > Obviouslyl if one is using Libraries with Start Using, the intent is > probably that these are serving as globally accessible handlers. But > this is not the case with behaviors attached to controls in a stack > that may be deleted. So does it not make sense they are treated the > same way as sub-stacks when their "parent" stack is deleted? > > Before filing an enhancement request I want to check here with > everyone. What do you think? If you want to purge things, purge them. But please don't purge my things. :) And given the relatively low overhead of all but the longest of scripts, I wonder how much of a difference it'll make in your app. Could there be something with images or other RAM-heavy elements that may benefit from reviewing first? -- 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 dvglasgow at gmail.com Fri Feb 10 12:54:07 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 10 Feb 2017 17:54:07 +0000 Subject: Transition to and from Fullscreen In-Reply-To: References: Message-ID: <459EDDC6-6558-4663-A0CA-CA1C372BF9EC@gmail.com> Has anyone managed to script away the ugly spasm that happens when using the fullscreen command? I have tried all sorts, with either no effect or making matters uglier. Best Wishes, David Glasgow From ambassador at fourthworld.com Fri Feb 10 12:57:57 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Feb 2017 09:57:57 -0800 Subject: Transition to and from Fullscreen In-Reply-To: <459EDDC6-6558-4663-A0CA-CA1C372BF9EC@gmail.com> References: <459EDDC6-6558-4663-A0CA-CA1C372BF9EC@gmail.com> Message-ID: David V Glasgow wrote: > Has anyone managed to script away the ugly spasm that happens when > using the fullscreen command? > > I have tried all sorts, with either no effect or making matters > uglier. Which LC version on which OS version? Testing with v9 on Ubuntu 14.04, when I toggle the fullScreen of a stack it gets bigger, then returns to its previous size, without much in the way of rendering anomalies. Can you describe this "spasm"? -- 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 Fri Feb 10 13:04:15 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 10 Feb 2017 18:04:15 +0000 Subject: "Deleting" Stacks in Memory - What About Behaviors? In-Reply-To: References: Message-ID: <410595B6-4D0D-49B0-AFB2-D8BB7B6D230E@iotecdigital.com> I was thinking the same thing. I'm pretty sure that when an app for Windows uses DotNET Framework, it takes some time to initially load the framework, then the app can launch. Once the app is quit, I do not think it unloads DotNET Framework, because the next time I launch the app, the process is almost instantaneous. If more than one app is using your "framework" (behavior script only stack) then it doesn't make sense to purge it. Now if you want to maintain a system of registering and unregistering your apps with your framework, and purging the framework when the last app quits, that would make sense. I find that a lot of times in lieu of an enhancement request, the problem can really be handled by a little ingenuity on the part of the end developer. As I have said in the past, Livecode is less like raw materials and a full set of tools (C variants or Java) and more like a constructor set. All the different parts have been made, and we really put the parts together to make something useful, like a toy house for example. The logical conclusion to any approach to less granularity than necessary would result in opening the box of the constructor set and finding inside walls and a roof. But what if I didn't want to make a house?? I guess I'm saying that it's more beneficial to keep as much flexibility in the hands of the developer as possible. It's up to us to detemine how best to put the parts together in a way that suits us. Bob S > On Feb 10, 2017, at 09:48 , Richard Gaskin via use-livecode wrote: > > > __ Delete behavior stacks from memory when stack using them are > > deleted [YES/NO] > > My vote: No. > > Different stack, different purge. > > I want to remain in control of when things get purged. From dvglasgow at gmail.com Fri Feb 10 13:15:24 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 10 Feb 2017 18:15:24 +0000 Subject: Transition to and from Fullscreen In-Reply-To: References: <459EDDC6-6558-4663-A0CA-CA1C372BF9EC@gmail.com> Message-ID: <0BCD6C78-B262-4F1B-9B90-C109D81A0270@gmail.com> Sorry, should know better. Mac Sierra with LC 7.1.3 Going fullscreen true first hides the entire window, then the backdrop appears, and then the window itself. Just how ugly that is depends what is present in the background. If the backdrop appeared first, things would look better. In fact, if you preset the backdrop so that isn?t a change between states, two out of three or four transitions look OK, and then there will be one with a nasty flash. Cheers, David G > On 10 Feb 2017, at 5:57 pm, Richard Gaskin via use-livecode wrote: > > David V Glasgow wrote: > > > Has anyone managed to script away the ugly spasm that happens when > > using the fullscreen command? > > > > I have tried all sorts, with either no effect or making matters > > uglier. > > Which LC version on which OS version? > > Testing with v9 on Ubuntu 14.04, when I toggle the fullScreen of a stack it gets bigger, then returns to its previous size, without much in the way of rendering anomalies. > > Can you describe this "spasm"? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Feb 10 13:27:52 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Feb 2017 12:27:52 -0600 Subject: "Deleting" Stacks in Memory - What About Behaviors? In-Reply-To: References: Message-ID: <15a29480c40.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> How would the engine know whether that behavior is used elsewhere, or will be needed in the stack that opens next? The easiest way to get the behavior you want, without any scripting, is to put the script in a button in the stack. Then when the stack is deleted, the behavior is gone. If you're using script only stacks, it's not difficult to remove the script stack when you no longer need it. On February 10, 2017 10:45:01 AM Sannyasin Brahmanathaswami via use-livecode wrote: > When we delete a main stack, the main stack and all its substacks are > removed from memory. > > But if we delete a stack that has behaviors set from external > *_behavior.livecodescript stacks for controls in the "main" (parent?) > stack, those behaviors are still in memory. > > Does it make sense to file an enhancement request, to at least allow the > dev to set a preference > > __ Delete behavior stacks from memory when stack using them are deleted > [YES/NO] -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at livecode.com Fri Feb 10 13:33:51 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 10 Feb 2017 19:33:51 +0100 Subject: Windows and OSX 64-bit =?UTF-8?Q?builds=3F?= In-Reply-To: References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> Message-ID: <64d8a1c5eb413ef7103d72f9a732f736@livecode.com> On 2017-02-10 03:38, Tom Glod via use-livecode wrote: > I will... if u wanna replicate...put an image on a stack..make it 32k x > 32k > .....and try and do a export snapshot of the image, LC goes POOF... > Trevor > said tha last version of 8 (8.13) had some memory issues solves, so i > will > try to test is there too. Currently, the engine implements 'export snapshot' by allocating a raster (32-bits per pixel) of the size of the snapshot you are making, rendering into it and then compressing it. So really the maximum size you could hope to snapshot is 16k x* 16k pixels as that requires 2Gb - the engine in general uses signed integer indicies, so the maximum memory buffer it can manipulate is 2Gb bytes. A 32-bit process would probably struggle to do that (due to only having around 2-3Gb of user address space to use) - as there is overhead in rasterization and then compression; but a 64-bit process should be fine. There is a bug here as (at least in this specific case) the engine should fail gracefully (as we know there is a hard limit in the size of an image the engine can process). As you correctly point out 32k x 32k comes in at 1Gb pixels - which at 24-bit RGB comes out at 4Gb of data. No 'normal' 32-bit application which isn't explicitly designed for manipulating huge images will be able to deal with something that size. I would expect applications such as Photoshop to be able to deal with them though since I believe their native raw storage format for images pages from disk as required (so you never have the 'whole thing' in memory at once - just the bit you are looking at / editing). One important thing to remember is that the amount of memory required to take a snapshot is (SOMECONSTANT * 4 * the number of pixels) in the rect of the snapshot (I've not checked but I would estimate 0 < SOMECONSTANT < 2) which means that you can get LiveCode to generate very large images, but you have to break the problem down by splitting up the snapshot into bands and probably use an external (command-line) tool to compress the image into your format of choice (how big an image such a tool can process, again, will be dependent on whether it needs to load the entire image into memory to compress it or not). Rough idea: repeat with i = 0 to pHeight / kBandSize import snapshot from rect (0, pWidth, i * kBandSize, kBandSize) write the imageData of the last image to file tOutputFile delete the last image end repeat After this you will have a very large file with the raw xRGB data in it, so you need to find a tool which can take raw 32-bit xRGB data (with specified order of the RGB), the width and height and process it into jpg or png or whatever format you require (I'm hoping others who know more about such things might be able to chime in here - ImageMagick has an arsenal of command-line tools, for example). Warmest Regards, Mark. P.S. There is a hard limit of co-ordinate magnitude in LC and thus the size of any object - 32767 pixels on any side of anything. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Fri Feb 10 15:22:02 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Feb 2017 14:22:02 -0600 Subject: Script locals in library stack script In-Reply-To: References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> Message-ID: <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> On 2/10/17 5:56 AM, Bob Hall via use-livecode wrote: > I?ve been wondering this myself. I?m going to try to create a recipe > but it looks like the TTL of script local variables is different than > what I thought I knew it to be. I ?think? I started see this behavior > about 8.1.0-ish timeframe but not sure. > > In the past few months I started to put everything into properties as > I found that my understanding of how script local variables behaved > was different then how they do. I have set the LC preference to preserve variables. In the past I have rarely seen a script local lose its value, and never if there has been no script compile. I don't know exactly when it started but I was in 8.1.3 rc 1 when I noticed it. I spent two days trying to fix the problem, eventually gave up and worked around it. The extremely odd thing was that the script had three script locals, and only one of them lost its value. The other two were fine. It was impossible to track down. Here is what I was doing: Stack Main has a substack "InternetLib" that contains all handlers that deal with server connections. It is put in use when Main opens. InternetLib handles server queries and returns the retrieved data. That all works fine. It also has a "setter" handler that can be used to store data in a script local variable in its own script, and a "getter" handler to return data from the script local. What happened: 1. Stack Main calls InternetLib to do a query. 2. Stack Main manipulates the returned data, parses out what it needs, and calls the "setter" handler to store it in the script local "sVarA" in InternetLib. 3. Immediately after the handler ends, Stack Main calls InternetLib to do a second query. 4. Stack Main uses the returned data and calls the "setter" handler to store the value in InternetLib script local "sVarB". 5. Later, stack Main tries to retrieve a value from sVarA. sVarA is empty. 6. Retrieving data from sVarB is always available. The third script local, sVarC, always retains its value. It is not involved with the above process, it is set earlier when Main is opened. When tracing through the handlers, it appears that sVarA loses its value some time between the first query and the second. What I need to do is find a way to track sVarA to see when it changes. There used to be a way to do that but I can't remember how, or else I forgot it on purpose because it didn't work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Fri Feb 10 16:36:11 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 10 Feb 2017 13:36:11 -0800 Subject: automating enabling of plugin settings on new versions Message-ID: WE went through parts of this a while ago, and being naturally lazy, I came up with chmod -R u+w `ls -rtd /Applications/LiveCode*/Contents/Tools/Plugins/revapplicationoverview.rev | tail -1` as an invocation to write enable the plugin folder and its contents for the most recent version (OS X; linux will be similar and depend upon variant) This changes the mode (chmod) recursively; the ls finds the version with the latter date stamp. However, even though the mode changes, I still can't write, and have to manually load the application browser. Isn't that folder the only thing we used to need to changer am I missing something? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bob at bobhall.net Fri Feb 10 17:16:30 2017 From: bob at bobhall.net (Bob Hall) Date: Fri, 10 Feb 2017 17:16:30 -0500 Subject: Script locals in library stack script In-Reply-To: <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> Message-ID: <9F305095-C258-4066-943C-4E2F1BC15C87@bobhall.net> ?>There used to be a way to do that but I can't remember how, or else I forgot it on purpose because it didn't work. I think this is how you would do that? in IDE, debug menu->Add variable watch select the library stack and sVarA in the pop up. What I haven?t tested is the Condition. Maybe "is empty"???? You could also add "if sVarA is empty then breakpoint? at interesting points in the script. Bob Hall From hh at hyperhh.de Fri Feb 10 17:29:14 2017 From: hh at hyperhh.de (hh) Date: Fri, 10 Feb 2017 23:29:14 +0100 Subject: Windows and OSX 64-bit builds? Message-ID: <6034296C-7670-46FD-984C-46540849D4F4@hyperhh.de> Please post this "Split it!"- answer, as it is, in LC's blog. This is good even for real beginners. Large files or large data shouldn't be a reason for _incomplete_ 64Bit implementations that would make once again LC Script slower. > Mark Waddingham wrote: > > > > Tom Glod wrote: > > I will... if u wanna replicate...put an image on a stack..make it > > 32k x 32k > > ..... and try and do a export snapshot of the image, LC goes POOF... > > Trevor > > said tha last version of 8 (8.13) had some memory issues solves, so i > > will try to test is there too. > > Currently, the engine implements 'export snapshot' by allocating a > raster (32-bits per pixel) of the size of the snapshot you are making, > rendering into it and then compressing it. > > So really the maximum size you could hope to snapshot is 16k x* 16k > pixels as that requires 2Gb - the engine in general uses signed integer > indicies, so the maximum memory buffer it can manipulate is 2Gb bytes. A > 32-bit process would probably struggle to do that (due to only having > around 2-3Gb of user address space to use) - as there is overhead in > rasterization and then compression; but a 64-bit process should be fine. > > There is a bug here as (at least in this specific case) the engine > should fail gracefully (as we know there is a hard limit in the size of > an image the engine can process). > > As you correctly point out 32k x 32k comes in at 1Gb pixels - which at > 24-bit RGB comes out at 4Gb of data. No 'normal' 32-bit application > which isn't explicitly designed for manipulating huge images will be > able to deal with something that size. I would expect applications such > as Photoshop to be able to deal with them though since I believe their > native raw storage format for images pages from disk as required (so you > never have the 'whole thing' in memory at once - just the bit you are > looking at / editing). > > One important thing to remember is that the amount of memory required to > take a snapshot is (SOMECONSTANT * 4 * the number of pixels) in the rect > of the snapshot (I've not checked but I would estimate 0 < SOMECONSTANT > < 2) which means that you can get LiveCode to generate very large > images, but you have to break the problem down by splitting up the > snapshot into bands and probably use an external (command-line) tool to > compress the image into your format of choice (how big an image such a > tool can process, again, will be dependent on whether it needs to load > the entire image into memory to compress it or not). > > Rough idea: > > repeat with i = 0 to pHeight / kBandSize > import snapshot from rect (0, pWidth, i * kBandSize, kBandSize) > write the imageData of the last image to file tOutputFile > delete the last image > end repeat > > After this you will have a very large file with the raw xRGB data in it, > so you need to find a tool which can take raw 32-bit xRGB data (with > specified order of the RGB), the width and height and process it into > jpg or png or whatever format you require (I'm hoping others who know > more about such things might be able to chime in here - ImageMagick has > an arsenal of command-line tools, for example). > > Warmest Regards, > > Mark. > > P.S. There is a hard limit of co-ordinate magnitude in LC and thus the > size of any object - 32767 pixels on any side of anything. From dochawk at gmail.com Fri Feb 10 18:19:15 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 10 Feb 2017 15:19:15 -0800 Subject: [ ANN ] Release 8.1.3 RC-2 In-Reply-To: References: Message-ID: I opened and tried to build my compilation amalgam of stacks. It promptly crashed "unexpectedly" This is consistent (and was the case with rc1, 8.1.1, etc.) Back to combining with 7.1 . . . &suig -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ali.lloyd at livecode.com Fri Feb 10 18:33:40 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 10 Feb 2017 23:33:40 +0000 Subject: [ ANN ] Release 8.1.3 RC-2 In-Reply-To: References: Message-ID: Is it this bug? http://quality.livecode.com/show_bug.cgi?id=18994 It would help if you posted a crash log too, we might be able to fix it just from that. On Fri, Feb 10, 2017 at 11:19 PM Dr. Hawkins via use-livecode < use-livecode at lists.runrev.com> wrote: > I opened and tried to build my compilation amalgam of stacks. > > It promptly crashed "unexpectedly" > > This is consistent (and was the case with rc1, 8.1.1, etc.) > > Back to combining with 7.1 . . . > > &suig > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Fri Feb 10 18:41:31 2017 From: tom at makeshyft.com (Tom Glod) Date: Fri, 10 Feb 2017 18:41:31 -0500 Subject: Windows and OSX 64-bit builds? In-Reply-To: <6034296C-7670-46FD-984C-46540849D4F4@hyperhh.de> References: <6034296C-7670-46FD-984C-46540849D4F4@hyperhh.de> Message-ID: can't thank you enough for all the extra info mark....I'm going to read it over a few times to make sure I got everything I could out of it. will re-engage this idea as I go forward ... I still need to lock down my maximum presets, so I will still have to play with this in a week or so. Thanks On Fri, Feb 10, 2017 at 5:29 PM, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Please post this "Split it!"- answer, as it is, in LC's blog. > This is good even for real beginners. > > Large files or large data shouldn't be a reason for _incomplete_ 64Bit > implementations that would make once again LC Script slower. > > > Mark Waddingham wrote: > > > > > > Tom Glod wrote: > > > I will... if u wanna replicate...put an image on a stack..make it > > > 32k x 32k > > > ..... and try and do a export snapshot of the image, LC goes POOF... > > > Trevor > > > said tha last version of 8 (8.13) had some memory issues solves, so i > > > will try to test is there too. > > > > Currently, the engine implements 'export snapshot' by allocating a > > raster (32-bits per pixel) of the size of the snapshot you are making, > > rendering into it and then compressing it. > > > > So really the maximum size you could hope to snapshot is 16k x* 16k > > pixels as that requires 2Gb - the engine in general uses signed integer > > indicies, so the maximum memory buffer it can manipulate is 2Gb bytes. A > > 32-bit process would probably struggle to do that (due to only having > > around 2-3Gb of user address space to use) - as there is overhead in > > rasterization and then compression; but a 64-bit process should be fine. > > > > There is a bug here as (at least in this specific case) the engine > > should fail gracefully (as we know there is a hard limit in the size of > > an image the engine can process). > > > > As you correctly point out 32k x 32k comes in at 1Gb pixels - which at > > 24-bit RGB comes out at 4Gb of data. No 'normal' 32-bit application > > which isn't explicitly designed for manipulating huge images will be > > able to deal with something that size. I would expect applications such > > as Photoshop to be able to deal with them though since I believe their > > native raw storage format for images pages from disk as required (so you > > never have the 'whole thing' in memory at once - just the bit you are > > looking at / editing). > > > > One important thing to remember is that the amount of memory required to > > take a snapshot is (SOMECONSTANT * 4 * the number of pixels) in the rect > > of the snapshot (I've not checked but I would estimate 0 < SOMECONSTANT > > < 2) which means that you can get LiveCode to generate very large > > images, but you have to break the problem down by splitting up the > > snapshot into bands and probably use an external (command-line) tool to > > compress the image into your format of choice (how big an image such a > > tool can process, again, will be dependent on whether it needs to load > > the entire image into memory to compress it or not). > > > > Rough idea: > > > > repeat with i = 0 to pHeight / kBandSize > > import snapshot from rect (0, pWidth, i * kBandSize, kBandSize) > > write the imageData of the last image to file tOutputFile > > delete the last image > > end repeat > > > > After this you will have a very large file with the raw xRGB data in it, > > so you need to find a tool which can take raw 32-bit xRGB data (with > > specified order of the RGB), the width and height and process it into > > jpg or png or whatever format you require (I'm hoping others who know > > more about such things might be able to chime in here - ImageMagick has > > an arsenal of command-line tools, for example). > > > > Warmest Regards, > > > > Mark. > > > > P.S. There is a hard limit of co-ordinate magnitude in LC and thus the > > size of any object - 32767 pixels on any side of anything. > > _______________________________________________ > use-livecode mailing list > use-livecode 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* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com From ambassador at fourthworld.com Fri Feb 10 18:49:15 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Feb 2017 15:49:15 -0800 Subject: Windows and OSX 64-bit builds? In-Reply-To: <6034296C-7670-46FD-984C-46540849D4F4@hyperhh.de> References: <6034296C-7670-46FD-984C-46540849D4F4@hyperhh.de> Message-ID: I would second that, with an extension: it would be most helpful to have some guidance on memory management overall. Many see the total addressable space afforded by 64-bit systems as "Cool, I can use a 16-terabyte array!" But as we've seen in bits and pieces here and elsewhere, total addressable memory is not what LC will necessarily use, or can use, for many tasks. And it some cases it may not be what we really want to do. OS APIs impose their own limits, and many other factors can come into play as well. It would be useful to have at least some general guidance on what those limitations are, both in terms of LC as it is today and in terms where it bumps into system limits and general memory management challenges. Often these implications aren't obvious. For example, this morning I noted the difficulty with exporting an image of a 5000 X 5000 px button on Ubuntu. Later I tried a set of much smaller objects but spread out much more broadly (10k px and more), and LC remained very responsive throughout - even exported the snapshot fine. So I'm guessing from this that the difficulty with making unusually large standard controls was specific to how Linux' GDK handles them internally. Indeed, making LC-handled objects, like graphics, apparently have no problem being rendered and buffered at such sizes. Rather than make this an attempt at an exhaustive study of memory implications (though I'd gladly read it, it would take too long to write), it might be nice if Mark could draw from examples he's seen in the community over the years to outline some of the more commonly requested scenarios. -- Richard Gaskin hh wrote: > Please post this "Split it!"- answer, as it is, in LC's blog. > This is good even for real beginners. > > Large files or large data shouldn't be a reason for _incomplete_ 64Bit > implementations that would make once again LC Script slower. > >> Mark Waddingham wrote: >> > >> > Tom Glod wrote: >> > I will... if u wanna replicate...put an image on a stack..make it >> > 32k x 32k >> > ..... and try and do a export snapshot of the image, LC goes POOF... >> > Trevor >> > said tha last version of 8 (8.13) had some memory issues solves, so i >> > will try to test is there too. >> >> Currently, the engine implements 'export snapshot' by allocating a >> raster (32-bits per pixel) of the size of the snapshot you are making, >> rendering into it and then compressing it. >> >> So really the maximum size you could hope to snapshot is 16k x* 16k >> pixels as that requires 2Gb - the engine in general uses signed integer >> indicies, so the maximum memory buffer it can manipulate is 2Gb bytes. A >> 32-bit process would probably struggle to do that (due to only having >> around 2-3Gb of user address space to use) - as there is overhead in >> rasterization and then compression; but a 64-bit process should be fine. >> >> There is a bug here as (at least in this specific case) the engine >> should fail gracefully (as we know there is a hard limit in the size of >> an image the engine can process). >> >> As you correctly point out 32k x 32k comes in at 1Gb pixels - which at >> 24-bit RGB comes out at 4Gb of data. No 'normal' 32-bit application >> which isn't explicitly designed for manipulating huge images will be >> able to deal with something that size. I would expect applications such >> as Photoshop to be able to deal with them though since I believe their >> native raw storage format for images pages from disk as required (so you >> never have the 'whole thing' in memory at once - just the bit you are >> looking at / editing). >> >> One important thing to remember is that the amount of memory required to >> take a snapshot is (SOMECONSTANT * 4 * the number of pixels) in the rect >> of the snapshot (I've not checked but I would estimate 0 < SOMECONSTANT >> < 2) which means that you can get LiveCode to generate very large >> images, but you have to break the problem down by splitting up the >> snapshot into bands and probably use an external (command-line) tool to >> compress the image into your format of choice (how big an image such a >> tool can process, again, will be dependent on whether it needs to load >> the entire image into memory to compress it or not). >> >> Rough idea: >> >> repeat with i = 0 to pHeight / kBandSize >> import snapshot from rect (0, pWidth, i * kBandSize, kBandSize) >> write the imageData of the last image to file tOutputFile >> delete the last image >> end repeat >> >> After this you will have a very large file with the raw xRGB data in it, >> so you need to find a tool which can take raw 32-bit xRGB data (with >> specified order of the RGB), the width and height and process it into >> jpg or png or whatever format you require (I'm hoping others who know >> more about such things might be able to chime in here - ImageMagick has >> an arsenal of command-line tools, for example). >> >> Warmest Regards, >> >> Mark. >> >> P.S. There is a hard limit of co-ordinate magnitude in LC and thus the >> size of any object - 32767 pixels on any side of anything. From bobsneidar at iotecdigital.com Fri Feb 10 21:47:05 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Feb 2017 02:47:05 +0000 Subject: Script locals in library stack script In-Reply-To: <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> Message-ID: <39DA0104-1427-4BCE-83FF-D21B0B910A9A@iotecdigital.com> I don't mean to oversimplify, but when customers call complaing that only one of several scan to SMB registrations is failing, I have to get them to see that if all the others are not failing ever, it cannot be a problem with the copier. If only one script local is getting reset, then it cannot be that LC is resetting script locals because they would ALL reset, not just one. It may be possible to set a breakpoint on the script local to trigger when it becomes empty. Bob S > On Feb 10, 2017, at 12:22 , J. Landman Gay via use-livecode wrote: > > The extremely odd thing was that the script had three script locals, and only one of them lost its value. The other two were fine. It was impossible to track down. From bobsneidar at iotecdigital.com Fri Feb 10 21:57:13 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Feb 2017 02:57:13 +0000 Subject: Windows and OSX 64-bit builds? In-Reply-To: <64d8a1c5eb413ef7103d72f9a732f736@livecode.com> References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> <64d8a1c5eb413ef7103d72f9a732f736@livecode.com> Message-ID: isn't it kBytes not bits? So 32,000 * 32000 Bytes (a pixel takes up one Byte in 8 bit color) which comes to 1,024,000,000 BYTES. That's 1.024 terabytes, unless my faculties have wholly abandoned me. Of course, a black and white image is 1,024,000 BYTES, or 1.023 GIGS, but are we talking about black and white images? That said, I am a couple strong ales in at this point, sooo... Bob S > On Feb 10, 2017, at 10:33 , Mark Waddingham via use-livecode wrote: > > As you correctly point out 32k x 32k comes in at 1Gb pixels - which at 24-bit RGB comes out at 4Gb of data. From bobsneidar at iotecdigital.com Fri Feb 10 21:58:27 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Feb 2017 02:58:27 +0000 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <6034296C-7670-46FD-984C-46540849D4F4@hyperhh.de> Message-ID: <88C81E5F-DDFD-40EA-AA3E-2F04EE8DAE76@iotecdigital.com> Essentially, eat the elephant one byte at a time. (see what I did there??) Bob S > On Feb 10, 2017, at 15:41 , Tom Glod via use-livecode wrote: > > can't thank you enough for all the extra info mark....I'm going to read it > over a few times to make sure I got everything I could out of it. will > re-engage this idea as I go forward ... I still need to lock down my > maximum presets, so I will still have to play with this in a week or so. > > Thanks From revdev at pdslabs.net Fri Feb 10 22:10:57 2017 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 10 Feb 2017 19:10:57 -0800 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> <64d8a1c5eb413ef7103d72f9a732f736@livecode.com> Message-ID: <9a9f7162-7a57-354d-9c2c-4d5ec42d8723@pdslabs.net> Your labels are one order of magnitude off the actual values, Bob. Say it with me: 1,024,000,000 BYTES is "one billion bytes" (and change, depending on whose standard you use). Of course one billion bytes is a gigabyte. Same with the labeling of 1,024,000 BYTES = 1000kb = a megabyte, not a gig. FWIW - Phil Davis On 2/10/17 6:57 PM, Bob Sneidar via use-livecode wrote: > isn't it kBytes not bits? So 32,000 * 32000 Bytes (a pixel takes up one Byte in 8 bit color) which comes to 1,024,000,000 BYTES. That's 1.024 terabytes, unless my faculties have wholly abandoned me. Of course, a black and white image is 1,024,000 BYTES, or 1.023 GIGS, but are we talking about black and white images? > > That said, I am a couple strong ales in at this point, sooo... > > Bob S > > >> On Feb 10, 2017, at 10:33 , Mark Waddingham via use-livecode wrote: >> >> As you correctly point out 32k x 32k comes in at 1Gb pixels - which at 24-bit RGB comes out at 4Gb of data. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From jacque at hyperactivesw.com Fri Feb 10 23:03:47 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Feb 2017 22:03:47 -0600 Subject: Script locals in library stack script In-Reply-To: <39DA0104-1427-4BCE-83FF-D21B0B910A9A@iotecdigital.com> References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> <39DA0104-1427-4BCE-83FF-D21B0B910A9A@iotecdigital.com> Message-ID: <05b6093e-179f-fae3-3aaa-d43c6b0c5d0e@hyperactivesw.com> I know, that's why I didn't report it. I scoured the script looking for a difference but I couldn't find anything, the two queries were executed by the same handler. I looked for anything that would empty the variable and that wasn't there either. My current theory is creeping stack corruption. The stack ran with only this one oddity, but when I tried to reload it from disk later it was reported as corrupted and wouldn't open. I had to open it in BBEdit and use a days-old backup in LC to paste in all the changes. Apparently it had corrupted several days before, but because I'd left the Mac on with the stack open I didn't know. I've sent the working stack and the corrupted one to bugzilla though I don't know if the team can make anything of it. The missing variable appeared in LC 8.1.2 so I switched over to LC 9 to see if that helped. That's when the stack gave up. I think I'll stay away from 9 until it's out of dp, but there's something going on with LC 8 too in some unique circumstance. I haven't had any trouble with 8 before now. On 2/10/17 8:47 PM, Bob Sneidar via use-livecode wrote: > I don't mean to oversimplify, but when customers call complaing that only one of several scan to SMB registrations is failing, I have to get them to see that if all the others are not failing ever, it cannot be a problem with the copier. > > If only one script local is getting reset, then it cannot be that LC is resetting script locals because they would ALL reset, not just one. > > It may be possible to set a breakpoint on the script local to trigger when it becomes empty. > > Bob S > > >> On Feb 10, 2017, at 12:22 , J. Landman Gay via use-livecode wrote: >> >> The extremely odd thing was that the script had three script locals, and only one of them lost its value. The other two were fine. It was impossible to track down. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 hh at hyperhh.de Sat Feb 11 04:12:38 2017 From: hh at hyperhh.de (hh) Date: Sat, 11 Feb 2017 10:12:38 +0100 Subject: Windows and OSX 64-bit builds? Message-ID: <74CC3E3F-87D4-4476-9B50-1C51271913B5@hyperhh.de> This is a well known visual phenomena: When I'm tired I also switch sometimes 'in between reading' the temporarily memorized decimal point from the beginning to the end of a three-digit-block (did it recently in the forum). It mostly works for me (if not 'computing') to force myself to obey the rule, for the decimal prefixes, starting from Byte: Kilobytes = 10^3 Bytes => cut most right three MegaBytes = 10^6 Bytes => cut most right 6 (another three) GigaBytes = 10^9 Bytes => cut most right 9 (another three) TeraBytes = 10^12 Bytes => cut most right 12 (another three) As Phil hints, to use number words may be misleading here because 'billion' has different meanings in Europe (1 billion = 10^12) and in the USA (1 billion = 10^9). >> Bob S. wrote: >> Isn't it kBytes not bits? So 32,000 * 32000 Bytes (a pixel takes up >> one Byte in 8 bit color) which comes to 1,024,000,000 BYTES. That's >> 1.024 terabytes, unless my faculties have wholly abandoned me. >> Of course, a black and white image is 1,024,000 BYTES, or 1.023 GIGS, >> but are we talking about black and white images? > > Phil D. wrote: > Your labels are one order of magnitude off the actual values, Bob. Say > it with me: 1,024,000,000 BYTES is "one billion bytes" (and change, > depending on whose standard you use). Of course one billion bytes is a > gigabyte. > Same with the labeling of 1,024,000 BYTES = 1000kb = a megabyte, not a gig. From bob at bobhall.net Sat Feb 11 06:53:06 2017 From: bob at bobhall.net (Bob Hall) Date: Sat, 11 Feb 2017 06:53:06 -0500 Subject: PUT method where is returned data? In-Reply-To: References: <68CF2FCE-35F2-4355-8417-2CD3DCE0CAEA@byu.edu> <8f4722f4-820a-a31c-7199-4521588d8ce0@fourthworld.com> Message-ID: <6E5F95D0-C1AE-495C-8D9E-3394CC929773@bobhall.net> On Feb 10, 2017, at 9:52 AM, Trevor DeVore via use-livecode wrote: > > I much prefer reading ?the urlresopnse? in my code than > dealing with ?it? which is meaningless until put into another variable. In my defense ? it was my attempt at figuring out where PUT put the response data. I was desperate to figured it out and thought it might contain my JSON response. It is not part of my regular coding. But I'll admit. I was using Hypercard at v1.0 so it is my fall back when all else fails. Old habits are hard to break ;-) Thanks for the help and reminding me about urlResponse. My API wrapper is working like a charm! Bob Hall From brahma at hindu.org Sat Feb 11 13:38:39 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 11 Feb 2017 18:38:39 +0000 Subject: Deleting stacks on the fly Message-ID: I'm trying to optimize for minimal RAM usage on mobile. The app is modular with many stacks that are opened from the mainstack. I had this before in a global library: command portal_GoStack stackName -- goes to the new stack -- closes the current stack # But we want to delete it to clear RAM -- safely ignores if we are alrady in the new stack put the short name of this stack into oStackName if oStackName = stackName then return oStackName go to stack stackName --close stack oStackName -- test deleting the stacks to save on RAM delete stack oStackName return oStackName end portal_GoStack This is called from a button on a navigation bar of the stack we want to close and delete, as it opens a different stack. This works if we just use "close stack oStackName" but if I change this to "delete stack oStackName" we get an error: stack "lib_SivaSivaPortal": execution error at line n/a (Object: stack locked, or object's script is executing) near "widget "go-home-portal" of group "homeScreensBottomNav" of card "images-quotes" of stack "/Users/Brahmanathaswami/Documents/_Siva-Siva-App/modules/gems/gems.livecode"" Obviously this means that the stack "gem.livecode" which has the button which is trying to "navigate" back to the home/main stack, cannot be deleted because the button script that calls the library handler is considered to be executing. Closing it first before deleting does not help. so I tried using "send in 10 milliseconds" And this *does* work.. I'm just trying to see if this is best practice. both stacks will occupy RAM briefly, but there is no other way that I know of to avoid this without a "flash" of some empty screen. command portal_GoStack stackName -- goes to the new stack -- closes the current stack -- safely ignores if we are alrady in the new stack put the short name of this stack into oStackName if oStackName = stackName then return oStackName go to stack stackName send "removeStack oStackName" to me in 10 milliseconds return oStackName end portal_GoStack command removeStack stackName delete stack stackName end removeStack Stack A opens Stack B opens on top Stack B want to close itself, be deleted (removed from memory) and open stack A Anyone has gone through this loop already and discovered best practices to accomplish this? BR From dvglasgow at gmail.com Sun Feb 12 08:22:46 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 12 Feb 2017 13:22:46 +0000 Subject: Cross platform font symbols & quality In-Reply-To: References: Message-ID: <8701378B-3215-419B-BCE0-16324FE5F327@gmail.com> I have always liked Trebuchet as a cross platform font, just nudging the size up by 1 point on Windows and leaving a bit of breathing space in fields. However, I have encountered a few problems in my latest project which has a lot of rather closely packed fields, and needs smaller font sizes than I normally use. 1/ Trebuchet at small font sizes (10 - 12) looks OK on Mac but horrible on Windows. I assumed there would be no problem because of the font?s origins. It is definitely installed on my Win test box, so it isn?t a substitution issue. Weirdly, if the card is scaled to fullscreen, the same font sizes seems to look much better - not just bigger. 2/ I use the null symbol a lot, which appears fine on Mac, but as the dreaded rectangle on Windows. Is this the MacOS making it look like null is available in Trebuchet, when actually it isn?t by substituting from symbol? If so, how do I tackle this issue? 3/ I use male and female symbols downward cross female, and diagonally upward arrow. These appear on both platforms, but look horrible on Windows (faint and jagged), even if I use Arial. Win XP, Vista & 10 Mac 10.12 LC 7.1.3 Any advice? Best wishes, David Glasgow From david.bovill at gmail.com Sun Feb 12 13:35:08 2017 From: david.bovill at gmail.com (David Bovill) Date: Sun, 12 Feb 2017 18:35:08 +0000 Subject: [ ANN ] Release 8.1.3 RC-2 In-Reply-To: References: Message-ID: Having a problem with downloading this. Probably to do with my system setup / update? Autoupdate fails, and downloading direct from the Livecode site gives me a file of the form: - Unconfirmed 821853.crdownload Any ideas? On 10 February 2017 at 23:33, Ali Lloyd via use-livecode < use-livecode at lists.runrev.com> wrote: > Is it this bug? > http://quality.livecode.com/show_bug.cgi?id=18994 > > It would help if you posted a crash log too, we might be able to fix it > just from that. > > On Fri, Feb 10, 2017 at 11:19 PM Dr. Hawkins via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I opened and tried to build my compilation amalgam of stacks. > > > > It promptly crashed "unexpectedly" > > > > This is consistent (and was the case with rc1, 8.1.1, etc.) > > > > Back to combining with 7.1 . . . > > > > &suig > > > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peter.brett at livecode.com Mon Feb 13 05:11:06 2017 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 13 Feb 2017 10:11:06 +0000 Subject: [ANN] This Week in LiveCode 70 Message-ID: <170c822d-76ad-9e30-18c0-6537035c9f56@livecode.com> 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 #70 here: https://goo.gl/NIzw7V 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. Peter -- Dr Peter Brett lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From merakosp at gmail.com Mon Feb 13 06:11:00 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 13 Feb 2017 11:11:00 +0000 Subject: [ ANN ] Release 8.1.3 RC-2 In-Reply-To: References: Message-ID: @David Are you still seeing this behavior? I have successfully downloaded 8.1.3 RC-2 from the downloads page. Maybe it was caused by bad internet connection at that time? Best, Panos -- On Sun, Feb 12, 2017 at 6:35 PM, David Bovill via use-livecode < use-livecode at lists.runrev.com> wrote: > Having a problem with downloading this. Probably to do with my system setup > / update? > > Autoupdate fails, and downloading direct from the Livecode site gives me a > file of the form: > > - Unconfirmed 821853.crdownload > > Any ideas? > > On 10 February 2017 at 23:33, Ali Lloyd via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Is it this bug? > > http://quality.livecode.com/show_bug.cgi?id=18994 > > > > It would help if you posted a crash log too, we might be able to fix it > > just from that. > > > > On Fri, Feb 10, 2017 at 11:19 PM Dr. Hawkins via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I opened and tried to build my compilation amalgam of stacks. > > > > > > It promptly crashed "unexpectedly" > > > > > > This is consistent (and was the case with rc1, 8.1.1, etc.) > > > > > > Back to combining with 7.1 . . . > > > > > > &suig > > > > > > > > > > > > -- > > > Dr. Richard E. Hawkins, Esq. > > > (702) 508-8462 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Feb 13 10:39:06 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Feb 2017 15:39:06 +0000 Subject: Script locals in library stack script In-Reply-To: <05b6093e-179f-fae3-3aaa-d43c6b0c5d0e@hyperactivesw.com> References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> <39DA0104-1427-4BCE-83FF-D21B0B910A9A@iotecdigital.com> <05b6093e-179f-fae3-3aaa-d43c6b0c5d0e@hyperactivesw.com> Message-ID: I mised that this was on a web server. I should pay more attention. Bob S > On Feb 10, 2017, at 20:03 , J. Landman Gay via use-livecode wrote: > > I know, that's why I didn't report it. I scoured the script looking for a difference but I couldn't find anything, the two queries were executed by the same handler. I looked for anything that would empty the variable and that wasn't there either. From panos.merakos at livecode.com Mon Feb 13 10:51:22 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 13 Feb 2017 15:51:22 +0000 Subject: automating enabling of plugin settings on new versions In-Reply-To: References: Message-ID: Hi Richard, I think that changing the permissions of the app bundle may cause issues with OSX's Gatekeeper. If you want to customize or change the settings (and make sure the changes do stick) of the Application Browser, I suggest you put a copy of it in your Plugins folder. In case you are interested, see http://quality.livecode.com/show_bug.cgi?id=17757 for more details on this. Best, Panos -- On Fri, Feb 10, 2017 at 9:36 PM, Dr. Hawkins via use-livecode < use-livecode at lists.runrev.com> wrote: > WE went through parts of this a while ago, and being naturally lazy, I came > up with > > chmod -R u+w `ls -rtd > /Applications/LiveCode*/Contents/Tools/Plugins/revapplicationoverview.rev > | > tail -1` > > > as an invocation to write enable the plugin folder and its contents for the > most recent version (OS X; linux will be similar and depend upon variant) > > This changes the mode (chmod) recursively; the ls finds the version with > the latter date stamp. > > However, even though the mode changes, I still can't write, and have to > manually load the application browser. > > Isn't that folder the only thing we used to need to changer am I missing > something? > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Mon Feb 13 10:51:44 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Feb 2017 15:51:44 +0000 Subject: Windows and OSX 64-bit builds? In-Reply-To: <9a9f7162-7a57-354d-9c2c-4d5ec42d8723@pdslabs.net> References: <589D1C16.7050405@researchware.com> <72A0059A-8E81-42BF-8AE5-74837077F69B@appisle.net> <9877125D-CF87-4437-A217-0D0E10ADDBF9@appisle.net> <64d8a1c5eb413ef7103d72f9a732f736@livecode.com> <9a9f7162-7a57-354d-9c2c-4d5ec42d8723@pdslabs.net> Message-ID: <47EB5B19-FEF0-4614-85E6-6C5723E585A4@iotecdigital.com> I failed 6th grade math and then went on to ace algebra and geometry. Everyone can thank their lucky stars I didn't go in for Rocket Science! Bob S > On Feb 10, 2017, at 19:10 , Phil Davis via use-livecode wrote: > > Your labels are one order of magnitude off the actual values, Bob. Say it with me: 1,024,000,000 BYTES is "one billion bytes" (and change, depending on whose standard you use). Of course one billion bytes is a gigabyte. > > Same with the labeling of 1,024,000 BYTES = 1000kb = a megabyte, not a gig. > > FWIW - > Phil Davis From david.bovill at gmail.com Mon Feb 13 11:49:36 2017 From: david.bovill at gmail.com (David Bovill) Date: Mon, 13 Feb 2017 16:49:36 +0000 Subject: [ ANN ] Release 8.1.3 RC-2 In-Reply-To: References: Message-ID: It appears to be a Chrome issue - using Safari I was able to get the release. On 13 February 2017 at 11:11, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > @David > > Are you still seeing this behavior? I have successfully downloaded 8.1.3 > RC-2 from the downloads page. Maybe it was caused by bad internet > connection at that time? > > Best, > Panos > -- > > On Sun, Feb 12, 2017 at 6:35 PM, David Bovill via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Having a problem with downloading this. Probably to do with my system > setup > > / update? > > > > Autoupdate fails, and downloading direct from the Livecode site gives me > a > > file of the form: > > > > - Unconfirmed 821853.crdownload > > > > Any ideas? > > > > On 10 February 2017 at 23:33, Ali Lloyd via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Is it this bug? > > > http://quality.livecode.com/show_bug.cgi?id=18994 > > > > > > It would help if you posted a crash log too, we might be able to fix it > > > just from that. > > > > > > On Fri, Feb 10, 2017 at 11:19 PM Dr. Hawkins via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > I opened and tried to build my compilation amalgam of stacks. > > > > > > > > It promptly crashed "unexpectedly" > > > > > > > > This is consistent (and was the case with rc1, 8.1.1, etc.) > > > > > > > > Back to combining with 7.1 . . . > > > > > > > > &suig > > > > > > > > > > > > > > > > -- > > > > Dr. Richard E. Hawkins, Esq. > > > > (702) 508-8462 > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Mon Feb 13 13:58:24 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 13 Feb 2017 13:58:24 -0500 Subject: [ ANN ] Release 8.1.3 RC-1 In-Reply-To: References: Message-ID: I'm getting this same error (revSEObjectDeleted) in RC2 when running a script that calls a certain external. I just quit and will run it, again, to see if it repeats... On Sat, Jan 21, 2017 at 1:03 PM, zryip theSlug via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks to the logs shared, I was able to identify the problem with DGH > stoping the plugins loading process. > > The problem is in the DGH_Help substack (the DGH documentation) which > the IDE is considering as locked. Don't ask me why, this is the only > substack in DGH which has a couple of properties set, such as the > cantdelete property. Setting this property to false in the inspector > is solving the issue. > > Will update the bugzilla report with this information in case this new > behavior is not something expected. > > > Best Regards, > > On Sat, Jan 21, 2017 at 7:17 AM, Trevor DeVore via use-livecode > wrote: > > On Fri, Jan 20, 2017 at 11:26 AM, panagiotis merakos via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> > >> LiveCode 8.1.3 RC 1 contains 83 bug fixes and stability improvements: > >> > >> - Several crashes have been fixed. > >> ? > > > > - Several clipboard-related bugs have been fixed. > >> > > > > After getting past the plugin loading issue 8.1.3 rc-1 has been working > > nicely. I was able to routinely crash previous versions of LC 8 with a > > project I?m working on. I haven?t had a single crash with 8.1.3 rc-1. I?m > > very happy about that! > > > > -- > > Trevor DeVore > > Outcome & ScreenSteps > > www.outcomeapp.io - www.screensteps.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Zryip TheSlug > http://www.aslugontheroad.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 > -- 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 hh at hyperhh.de Mon Feb 13 14:45:47 2017 From: hh at hyperhh.de (hh) Date: Mon, 13 Feb 2017 20:45:47 +0100 Subject: Windows and OSX 64-bit builds? Message-ID: <27940EED-B8A0-42AF-81D0-49F1E9FF9BE4@hyperhh.de> > Bob S. wrote: > I failed 6th grade math and then went on to ace algebra and geometry. > Everyone can thank their lucky stars I didn't go in for Rocket Science! Documented in a letter: "... Do not worry about your difficulties in Mathematics. I can assure you mine are still greater. Best regards Professor Albert Einstein." From richmondmathewson at gmail.com Mon Feb 13 14:48:09 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 13 Feb 2017 21:48:09 +0200 Subject: Windows and OSX 64-bit builds? In-Reply-To: <27940EED-B8A0-42AF-81D0-49F1E9FF9BE4@hyperhh.de> References: <27940EED-B8A0-42AF-81D0-49F1E9FF9BE4@hyperhh.de> Message-ID: <81d436e3-3b38-bd27-032d-43086817f1fe@gmail.com> Something that never stops annoying me is the requirement for students who want to study programming to be good at Mathematics. Richmond. On 2/13/17 9:45 pm, hh via use-livecode wrote: >> Bob S. wrote: >> I failed 6th grade math and then went on to ace algebra and geometry. >> Everyone can thank their lucky stars I didn't go in for Rocket Science! > Documented in a letter: > "... Do not worry about your difficulties in Mathematics. I can assure > you mine are still greater. > Best regards Professor Albert Einstein." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ms1 at soas.ac.uk Mon Feb 13 14:56:57 2017 From: ms1 at soas.ac.uk (Muaadh Salih) Date: Mon, 13 Feb 2017 19:56:57 +0000 Subject: Vector graphics in 8.1.2 Message-ID: The above seems to not be working at all . Clicking on fill and setting graphics line color, shape , fill etc ( with the rest of the graphic tool ,circle square etc are non functional) unlike lc 7.1.4 Using windows 7 Muaadh From stephen at barncard.com Mon Feb 13 15:07:36 2017 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 13 Feb 2017 12:07:36 -0800 Subject: Windows and OSX 64-bit builds? In-Reply-To: <81d436e3-3b38-bd27-032d-43086817f1fe@gmail.com> References: <27940EED-B8A0-42AF-81D0-49F1E9FF9BE4@hyperhh.de> <81d436e3-3b38-bd27-032d-43086817f1fe@gmail.com> Message-ID: Yes! Logic - YES. Concept of Sets - Yes. Higher math... no On Mon, Feb 13, 2017 at 11:48 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Something that never stops annoying me is the requirement for students who > want to study programming > to be good at Mathematics. > > Richmond. > -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From richmondmathewson at gmail.com Mon Feb 13 15:17:55 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 13 Feb 2017 22:17:55 +0200 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <27940EED-B8A0-42AF-81D0-49F1E9FF9BE4@hyperhh.de> <81d436e3-3b38-bd27-032d-43086817f1fe@gmail.com> Message-ID: <208d0ae2-64e5-4419-2692-8efd046901d9@gmail.com> Logic, branching, sets = Boolean logic. Over here, in Bulgaria, they expect kids to have got to grips with Calculus to start studying programming! Richmond. On 2/13/17 10:07 pm, Stephen Barncard via use-livecode wrote: > Yes! Logic - YES. Concept of Sets - Yes. Higher math... no > > > On Mon, Feb 13, 2017 at 11:48 AM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Something that never stops annoying me is the requirement for students who >> want to study programming >> to be good at Mathematics. >> >> Richmond. >> > > > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Mon Feb 13 16:37:31 2017 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 13 Feb 2017 13:37:31 -0800 Subject: Windows and OSX 64-bit builds? In-Reply-To: <208d0ae2-64e5-4419-2692-8efd046901d9@gmail.com> References: <27940EED-B8A0-42AF-81D0-49F1E9FF9BE4@hyperhh.de> <81d436e3-3b38-bd27-032d-43086817f1fe@gmail.com> <208d0ae2-64e5-4419-2692-8efd046901d9@gmail.com> Message-ID: The blind leading the blind? On Mon, Feb 13, 2017 at 12:17 PM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Over here, in Bulgaria, they expect kids to have got to grips with > Calculus to start studying programming! -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From mkoob at rogers.com Mon Feb 13 17:56:46 2017 From: mkoob at rogers.com (Martin Koob) Date: Mon, 13 Feb 2017 17:56:46 -0500 Subject: Nabble fools one of us Message-ID: Hi I am still seeing the changing authorship of posts on the Nabble view of this list. Has anyone figured out how to fix this? Martin > On 1/13/17 10:27 AM, hh via use-livecode wrote: > > Just in case somebody of us is wondering why he/she suddenly authored *all* > > posts of this list since Jan 8 here: > > > > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > > > I can't see the logic which author is elected as the "one-for-all", but it's > > certainly without asking that person and without looking if the person is > > using Nabble. > > > > For a while it was Bob S., currently it's Tiemo. > > Perhaps the last poster to the list modulo some time shift? > > Or is it a platform specific "malfunction"? > > > > May be it is not Nabble but a changed "delivering" procedure? > > It's because Heather changed the From: header in order to stop people > from getting unsubscribed from the list. That worked. But apparently > Nabble doesn't read the From: header correctly, or does some other kind > of processing. I believe the problem is with Nabble, which is > unfortunate because I often use their archives to search the list. > > I don't know who first set up the Nabble account but it would be good if > someone with authority could see if the problem can be fixed, and also > change "Revolution" to "LiveCode" in the list name. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software From bobsneidar at iotecdigital.com Mon Feb 13 18:13:59 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Feb 2017 23:13:59 +0000 Subject: Nabble fools one of us In-Reply-To: References: Message-ID: <1B19366D-4B3B-4720-90AB-175CDBCDEF76@iotecdigital.com> To quote Jacque, > It's because Heather changed the From: header in order to stop people > from getting unsubscribed from the list. That worked. But apparently > Nabble doesn't read the From: header correctly, or does some other kind > of processing. I believe the problem is with Nabble, which is > unfortunate because I often use their archives to search the list. > > I don't know who first set up the Nabble account but it would be good if > someone with authority could see if the problem can be fixed, and also > change "Revolution" to "LiveCode" in the list name. > > -- > Jacqueline Landman Gay So, who set up the Nabble account is the question. Bob S >> On Feb 13, 2017, at 14:56 , Martin Koob via use-livecode wrote: >> >> Hi >> I am still seeing the changing authorship of posts on the Nabble view of this list. >> Has anyone figured out how to fix this? >> Martin > From brahma at hindu.org Tue Feb 14 01:00:58 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 14 Feb 2017 06:00:58 +0000 Subject: Deleting stacks on the fly In-Reply-To: References: Message-ID: FWIW, tested on an android device with plenty of memory Deleting stacks isn't helping. My Nexus 5 has 1 GB free RAM even with all of Google's widgets and my app open and going from Stack B back to stack A then deleting StackcB in 10 milliseconds is "nothing" in terms of memory requirement, but crashes in Android every time? I have a report in to HQ? On 2/11/17, 8:38 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: I'm trying to optimize for minimal RAM usage on mobile. The app is modular with many stacks that are opened from the mainstack. I had this before in a global library: command portal_GoStack stackName -- goes to the new stack -- closes the current stack # But we want to delete it to clear RAM -- safely ignores if we are alrady in the new stack put the short name of this stack into oStackName if oStackName = stackName then return oStackName go to stack stackName --close stack oStackName -- test deleting the stacks to save on RAM delete stack oStackName return oStackName end portal_GoStack This is called from a button on a navigation bar of the stack we want to close and delete, as it opens a different stack. This works if we just use "close stack oStackName" but if I change this to "delete stack oStackName" we get an error: stack "lib_SivaSivaPortal": execution error at line n/a (Object: stack locked, or object's script is executing) near "widget "go-home-portal" of group "homeScreensBottomNav" of card "images-quotes" of stack "/Users/Brahmanathaswami/Documents/_Siva-Siva-App/modules/gems/gems.livecode"" Obviously this means that the stack "gem.livecode" which has the button which is trying to "navigate" back to the home/main stack, cannot be deleted because the button script that calls the library handler is considered to be executing. Closing it first before deleting does not help. so I tried using "send in 10 milliseconds" And this *does* work.. I'm just trying to see if this is best practice. both stacks will occupy RAM briefly, but there is no other way that I know of to avoid this without a "flash" of some empty screen. command portal_GoStack stackName -- goes to the new stack -- closes the current stack -- safely ignores if we are alrady in the new stack put the short name of this stack into oStackName if oStackName = stackName then return oStackName go to stack stackName send "removeStack oStackName" to me in 10 milliseconds return oStackName end portal_GoStack command removeStack stackName delete stack stackName end removeStack Stack A opens Stack B opens on top Stack B want to close itself, be deleted (removed from memory) and open stack A Anyone has gone through this loop already and discovered best practices to accomplish this? BR _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Feb 14 02:34:47 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Feb 2017 01:34:47 -0600 Subject: Deleting stacks on the fly In-Reply-To: References: Message-ID: <59a5a422-a30b-a58c-4790-2216134e75bb@hyperactivesw.com> On 2/14/17 12:00 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > Deleting stacks isn't helping. My Nexus 5 has 1 GB free RAM even with > all of Google's widgets and my app open and going from Stack B back > to stack A then deleting StackcB in 10 milliseconds is "nothing" in > terms of memory requirement, but crashes in Android every time? My other project is crashing on Android the same way. It also has heavy server/internet use. I'm starting to think that's where the problem lies. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Feb 14 03:43:42 2017 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 Feb 2017 10:43:42 +0200 Subject: Windows and OSX 64-bit builds? In-Reply-To: References: <27940EED-B8A0-42AF-81D0-49F1E9FF9BE4@hyperhh.de> <81d436e3-3b38-bd27-032d-43086817f1fe@gmail.com> <208d0ae2-64e5-4419-2692-8efd046901d9@gmail.com> Message-ID: <4487e194-19e5-9ce4-58fc-839c1f74a1ac@gmail.com> Most probably :) On 13/02/17 23:37, Stephen Barncard via use-livecode wrote: > The blind leading the blind? > > On Mon, Feb 13, 2017 at 12:17 PM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Over here, in Bulgaria, they expect kids to have got to grips with >> Calculus to start studying programming! > > > > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Feb 14 08:01:42 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 14 Feb 2017 14:01:42 +0100 Subject: [ANN] A quick note about the conference Message-ID: <5ed33969-deb4-0c59-991b-a6a3751859a9@economy-x-talk.com> Hi, The eHUG International Mini Conference on LiveCode will take place on 25th February between 13:00 and 18:00 at the Ibis hotel in the city centre of Antwerp. Address: Meistraat 39, Antwerp, Belgium. Reasonably prices rooms are still available. Book those on the Ibis website. More information is available at http://economy-x-talk.com/conf Keep an eye on the website as we're updating. After the conference, we'll go somewhere for dinner and socialising. We might also arrange something for the next day. More info will follow soon. -- Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com From bobsneidar at iotecdigital.com Tue Feb 14 10:42:13 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Feb 2017 15:42:13 +0000 Subject: Deleting stacks on the fly In-Reply-To: References: Message-ID: <3298DAAD-4C67-4B13-A664-DD314871D479@iotecdigital.com> Is there any reason to delete the stack? If not, don't. Clearly any CtoD should be investigated, but I have never seen why an app would be designed to create and delete stacks when all you have to do is show and hide existing ones. Bob S > On Feb 13, 2017, at 22:00 , Sannyasin Brahmanathaswami via use-livecode wrote: > > This works if we just use "close stack oStackName" > > but if I change this to "delete stack oStackName" From jacque at hyperactivesw.com Tue Feb 14 11:48:39 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Feb 2017 10:48:39 -0600 Subject: Deleting stacks on the fly In-Reply-To: <3298DAAD-4C67-4B13-A664-DD314871D479@iotecdigital.com> References: <3298DAAD-4C67-4B13-A664-DD314871D479@iotecdigital.com> Message-ID: <15a3d86a270.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I frequently delete stacks when memory is an issue, which is the problem with Swami's stack suite. I also create almost all new stacks with destroystack set to true for the same reason. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 14, 2017 9:44:36 AM Bob Sneidar via use-livecode wrote: > Is there any reason to delete the stack? If not, don't. Clearly any CtoD > should be investigated, but I have never seen why an app would be designed > to create and delete stacks when all you have to do is show and hide > existing ones. > > Bob S > > >> On Feb 13, 2017, at 22:00 , Sannyasin Brahmanathaswami via use-livecode >> wrote: >> >> This works if we just use "close stack oStackName" >> >> but if I change this to "delete stack oStackName" > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 14 12:15:53 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Feb 2017 11:15:53 -0600 Subject: Deleting stacks on the fly In-Reply-To: <15a3d86a270.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3298DAAD-4C67-4B13-A664-DD314871D479@iotecdigital.com> <15a3d86a270.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <15a3d9f9528.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> BTW, we're not talking about creating and deleting new stacks on the fly, we mean the "delete stack" command that removes an open stack from RAM. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 14, 2017 10:51:06 AM "J. Landman Gay via use-livecode" wrote: > I frequently delete stacks when memory is an issue, which is the problem > with Swami's stack suite. I also create almost all new stacks with > destroystack set to true for the same reason. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On February 14, 2017 9:44:36 AM Bob Sneidar via use-livecode > wrote: > >> Is there any reason to delete the stack? If not, don't. Clearly any CtoD >> should be investigated, but I have never seen why an app would be designed >> to create and delete stacks when all you have to do is show and hide >> existing ones. >> >> Bob S >> >> >>> On Feb 13, 2017, at 22:00 , Sannyasin Brahmanathaswami via use-livecode >>> wrote: >>> >>> This works if we just use "close stack oStackName" >>> >>> but if I change this to "delete stack oStackName" >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 14 16:38:03 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Feb 2017 13:38:03 -0800 Subject: Deleting stacks on the fly In-Reply-To: <59a5a422-a30b-a58c-4790-2216134e75bb@hyperactivesw.com> References: <59a5a422-a30b-a58c-4790-2216134e75bb@hyperactivesw.com> Message-ID: <1b63a6c1-4c1a-59bf-16ff-4f433ed1ff8c@fourthworld.com> J. Landman Gay wrote: > My other project is crashing on Android the same way. It also has heavy > server/internet use. I'm starting to think that's where the problem lies. I wonder if that may be related to some of the leaks closed recently. -- 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 mkoob at rogers.com Tue Feb 14 16:37:15 2017 From: mkoob at rogers.com (Martin Koob) Date: Tue, 14 Feb 2017 13:37:15 -0800 (PST) Subject: Nabble fools one of us In-Reply-To: <1B19366D-4B3B-4720-90AB-175CDBCDEF76@iotecdigital.com> References: <1B19366D-4B3B-4720-90AB-175CDBCDEF76@iotecdigital.com> Message-ID: <1487108235601-4712413.post@n4.nabble.com> I cc'd my earlier message to Heather at LiveCode so maybe she can figure it out. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nabble-fools-one-of-us-tp4712403p4712413.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Tue Feb 14 17:46:54 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 Feb 2017 14:46:54 -0800 Subject: automating enabling of plugin settings on new versions In-Reply-To: References: Message-ID: On Mon, Feb 13, 2017 at 7:51 AM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > I think that changing the permissions of the app bundle may cause issues > with OSX's Gatekeeper. If you want to customize or change the settings (and > make sure the changes do stick) of the Application Browser, I suggest you > put a copy of it in your Plugins folder. > The issue is that as shipped, there is an option in the plugin settings to save changes/choices--and it just plain doesn't work, failing silently due to the permissions. Rather than saving inside of the application bundle, it seems that the "correct" way for this to happen is to be writing to ~/Library/Application\ Support In fact, my understanding is that *not* writing there is, by apple's definition, a bug/wrong/heresy/etc. Copying plugins on each release opens its own can of worms. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Tue Feb 14 17:53:09 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Feb 2017 14:53:09 -0800 Subject: automating enabling of plugin settings on new versions In-Reply-To: References: Message-ID: <6e0cc900-b62d-3902-d3f4-492e85105364@fourthworld.com> Dr. Hawkins wrote: > The issue is that as shipped, there is an option in the plugin > settings to save changes/choices--and it just plain doesn't work, > failing silently due to the permissions. > > Rather than saving inside of the application bundle, it seems that the > "correct" way for this to happen is to be writing to ~/Library > /Application\Support Even better, the plugin should ideally stay where it is but write its prefs out to a separate file in some user-writable folder. You may want to contact the author to see about modernizing the prefs handling. I've found the team very receptive to handling updates of bundled plugins, but v9 DP is approaching, so the sooner the better. -- 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 Tue Feb 14 19:08:23 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Feb 2017 18:08:23 -0600 Subject: Deleting stacks on the fly In-Reply-To: <1b63a6c1-4c1a-59bf-16ff-4f433ed1ff8c@fourthworld.com> References: <59a5a422-a30b-a58c-4790-2216134e75bb@hyperactivesw.com> <1b63a6c1-4c1a-59bf-16ff-4f433ed1ff8c@fourthworld.com> Message-ID: <20508bfb-babe-d1a4-a782-285111ea5eed@hyperactivesw.com> On 2/14/17 3:38 PM, Richard Gaskin via use-livecode wrote: > J. Landman Gay wrote: > >> My other project is crashing on Android the same way. It also has heavy >> server/internet use. I'm starting to think that's where the problem lies. > > I wonder if that may be related to some of the leaks closed recently. > Would be nice, but it happens in 9.0dp4 too. :( My stack is in the QCC, maybe they can figure it out. We have a repeatable recipe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Feb 14 19:12:01 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Feb 2017 18:12:01 -0600 Subject: automating enabling of plugin settings on new versions In-Reply-To: References: Message-ID: <3465c4b6-6cd8-2283-5ca6-ebb3253cfe2e@hyperactivesw.com> On 2/14/17 4:46 PM, Dr. Hawkins via use-livecode wrote: > Copying plugins on each release opens its own can of worms. I did that and it works fine. The user plugins folder is shared with all copies of LC you have installed. I put my own copy in there some months ago after submitting the bug report. If you don't have a user plugins folder, create one in the My Livecode folder. (Whoever named that, I'll find them some day.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Tue Feb 14 19:55:12 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 Feb 2017 16:55:12 -0800 Subject: automating enabling of plugin settings on new versions In-Reply-To: <3465c4b6-6cd8-2283-5ca6-ebb3253cfe2e@hyperactivesw.com> References: <3465c4b6-6cd8-2283-5ca6-ebb3253cfe2e@hyperactivesw.com> Message-ID: On Tue, Feb 14, 2017 at 4:12 PM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > > I did that and it works fine. The user plugins folder is shared with all > copies of LC you have installed. I put my own copy in there some months ago > after submitting the bug report. > But as I understand, that is "incorrect" behavior--preferences should be by user, not shared. And I'm not sure about doing it from the finder, but in general on unix,if you move (mv) or copy (cp) folder b to a and there si already a folder a/b, young up with a/b/b rather than replacing b. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Tue Feb 14 20:21:25 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Feb 2017 19:21:25 -0600 Subject: automating enabling of plugin settings on new versions In-Reply-To: References: <3465c4b6-6cd8-2283-5ca6-ebb3253cfe2e@hyperactivesw.com> Message-ID: <15a3f5c1a08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Instructions are in the bug report, but basically you make a copy of the plugin, do whatever you want with it, and put it in your user extensions folder. It will override the LC copy. If you've installed for "this user" then that's who it will apply to. If you installed for everyone I assume the change will apply to all users. I always install for just me so that's what I'm familiar with. If LC updates their plugin then you'd have to replace your copy, but as they promised me in the report, they'll tell us if that happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 14, 2017 6:57:10 PM "Dr. Hawkins via use-livecode" wrote: > On Tue, Feb 14, 2017 at 4:12 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> I did that and it works fine. The user plugins folder is shared with all >> copies of LC you have installed. I put my own copy in there some months ago >> after submitting the bug report. >> > > But as I understand, that is "incorrect" behavior--preferences should be by > user, not shared. > > And I'm not sure about doing it from the finder, but in general on unix,if > you move (mv) or copy (cp) folder b to a and there si already a folder a/b, > young up with a/b/b rather than replacing b. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Wed Feb 15 02:45:09 2017 From: james at thehales.id.au (James Hale) Date: Wed, 15 Feb 2017 18:45:09 +1100 Subject: OT - video compression HEVC woo cool! Message-ID: <85D51076-A118-4745-AE68-922C4D050C9F@thehales.id.au> Recently in a discussion on the data grid someone mentioned Trevor's DG presentations at runrev09. Grabbing my revLive09 disks I loaded up the relevant DVD. However I am not a great fan of DVDs these days and thought I would copy onto my hard disk. I also am not that keen on the Mac DVD player so I thought I would rip and compress. The DVD was single sided so took about 4.3GB. I decided to use Handbrake which I had recently modified to use the 10 bit x265 (HEVC) libraries. I processed the three presentations on the disk and ended up with three files totaling 480MB. The settings I used were not very aggressive as I used my std settings for bd's. I know x265 is good. I also know x264 would have done a passable job but not of the same order. In short, if you have a need to compress/convert video to h264 I would consider trying h265. Of course it depends on your use but it really is impressive. Btw I use the 10bit versions of the binaries as they seem to offer a better looking image at the same settings as 8bit compressions even when the source is 8bit. For those on the Mac, "iffMpeg" is a really nice interface for FFMPEG. One of the sites providing precompiled Mac binaries of FFMPEG consented to compiling a 10 bit x264/265 binary as well. So either handbrake (free) or iffmpeg (not free) are really great choices to get great compression with little loss of quality. James BTW re the quality. The files I rip to place as back ups on my server I view on a 55" HD screen. Trust me, I would know if the x265s were not as good as an x264 version. The size reduction x264->x265 is one quarter to one third. E.g x264 at 3.7GB -> x265 910bit) at 800MB I have yet to pick a difference visually. You can of course compress more aggressively but then you would notice. From heather at livecode.com Wed Feb 15 04:08:37 2017 From: heather at livecode.com (Heather Laine) Date: Wed, 15 Feb 2017 09:08:37 +0000 Subject: Nabble fools one of us In-Reply-To: <1487108235601-4712413.post@n4.nabble.com> References: <1B19366D-4B3B-4720-90AB-175CDBCDEF76@iotecdigital.com> <1487108235601-4712413.post@n4.nabble.com> Message-ID: <7EA611F4-3D7D-4E29-A737-2057781DB9F3@livecode.com> I'm afraid not. Whoever set up the Nabble account it was no-one from LiveCode (or Runrev). I have no influence over this account... Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 14 Feb 2017, at 21:37, Martin Koob via use-livecode wrote: > > I cc'd my earlier message to Heather at LiveCode so maybe she can figure it > out. > > Martin > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nabble-fools-one-of-us-tp4712403p4712413.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Wed Feb 15 15:09:50 2017 From: paul at researchware.com (Paul Dupuis) Date: Wed, 15 Feb 2017 15:09:50 -0500 Subject: How to run a hidden standalone under OSX? Message-ID: <58A4B58E.5090008@researchware.com> I am trying to have my main application (an LC standalone) run a helper app (another LC standalone) under OSX. The helper app is "headless" - it displays no windows or user interaction. The main application communicates with the helper through sockets and shuts it down after it has done the data processing it does. Under Windows, I can just use "launch" and it appears in the Windows process list when you press Control-Alt-Delete, but does NOT appear in the Windows task bar. Under OSX (testing under 10.9.5), I have tried "launch" and get shell("open -a" && quote & tHelper & quote && "-n -j") and get shell(quote & tHelper & quote && "-ui") and possible some other variation I have forgotten. Whatever I do, the App appears in the Dock. No app windows, but it always appears in the Dock. Is there any way under OSX to make launch/run/open a standalone under script control where it really is a background process and in no way appear to the user? From dochawk at gmail.com Wed Feb 15 15:51:30 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 15 Feb 2017 12:51:30 -0800 Subject: How to run a hidden standalone under OSX? In-Reply-To: <58A4B58E.5090008@researchware.com> References: <58A4B58E.5090008@researchware.com> Message-ID: On Wed, Feb 15, 2017 at 12:09 PM, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > Is there any way under OSX to make launch/run/open a standalone under > script control where it really is a background process and in no way > appear to the user? > perhaps a & at the end of the shell() command to launch it as a background process? This is a very real need with livecode not having multiple threads. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From paul at researchware.com Wed Feb 15 15:58:31 2017 From: paul at researchware.com (Paul Dupuis) Date: Wed, 15 Feb 2017 15:58:31 -0500 Subject: AW: Re: How to run a hidden standalone under OSX? In-Reply-To: <58A4B58E.5090008@researchware.com> References: <58A4B58E.5090008@researchware.com> Message-ID: <58A4C0F7.1040005@researchware.com> Someone else here in the office already solved this. I was just slow to read my emails I guess. The answer is: On OS X, you can do this by adding LSUIElement true to its Info.plist file (within the application bundle). It's probably easiest to do this with Property List Editor which is part of the OS X development tools - doesn't look like the Standalone Builder has a place to do it. On 2/15/2017 3:09 PM, Paul Dupuis via use-livecode wrote: > I am trying to have my main application (an LC standalone) run a helper > app (another LC standalone) under OSX. The helper app is "headless" - it > displays no windows or user interaction. The main application > communicates with the helper through sockets and shuts it down after it > has done the data processing it does. > > Under Windows, I can just use "launch" and it appears in the Windows > process list when you press Control-Alt-Delete, but does NOT appear in > the Windows task bar. > > Under OSX (testing under 10.9.5), I have tried "launch" and get > shell("open -a" && quote & tHelper & quote && "-n -j") and get > shell(quote & tHelper & quote && "-ui") and possible some other > variation I have forgotten. > > Whatever I do, the App appears in the Dock. No app windows, but it > always appears in the Dock. > > Is there any way under OSX to make launch/run/open a standalone under > script control where it really is a background process and in no way > appear to the user? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Feb 15 16:28:10 2017 From: hh at hyperhh.de (hh) Date: Wed, 15 Feb 2017 22:28:10 +0100 Subject: Formatting scripts in a field Message-ID: <645D7047-7B76-4E1B-A324-5582A4C820A5@hyperhh.de> Some time ago there was a thread about formatting 'directly' the text of a field or the selection of a field, without using manually the script editor: http://runtime-revolution.278305.n4.nabble.com/Script-Indenting-tp4699437.html I couldn't find a follow-up, so just in case this is not (publicly) solved, here one way to do that. Formatting/Beautifying means colorisation AND indentation. So the following stack is complementary to the well known helper stacks of Max V. and Paul H. If you are interested you may try stack #91 in the Raspi collection: http://forums.livecode.com/viewtopic.php?p=151405#p151405 The main script has 65 lines and simply prepares calls to handlers of LC's script editor. Works (tested, slow only with LC 7) on Mac/Win/Linux/Raspi using latest of LC 6/7/8/9 (Raspi 6.5.1 and 7.0.4). From bobsneidar at iotecdigital.com Wed Feb 15 16:14:17 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 15 Feb 2017 21:14:17 +0000 Subject: How to run a hidden standalone under OSX? In-Reply-To: <58A4C0F7.1040005@researchware.com> References: <58A4B58E.5090008@researchware.com> <58A4C0F7.1040005@researchware.com> Message-ID: I have a helper app which uses Applescript to communicate what I want it to do. I call it Spinner, and all it does is display a model window with a message and a spinning indicator. If I set it's LSUIElement to true, can I still have it show or hide it's window? All I really want is for the app to not have the icon in the dock as you expressed, but I DO want the user to see it when I show it's window. I've also toyed with the idea of having a translucent window I can set to the size of the current app window to give it a kind of screen back effect. I don't think that will work on Windows though. Bob S > On Feb 15, 2017, at 12:58 , Paul Dupuis via use-livecode wrote: > > Someone else here in the office already solved this. I was just slow to > read my emails I guess. > > The answer is: > > On OS X, you can do this by adding > LSUIElement true > to its Info.plist file (within the application bundle). > > It's probably easiest to do this with Property List Editor which is part > of the OS X development tools - doesn't look like the Standalone Builder > has a place to do it. From paul at researchware.com Wed Feb 15 17:20:03 2017 From: paul at researchware.com (Paul Dupuis) Date: Wed, 15 Feb 2017 17:20:03 -0500 Subject: How to run a hidden standalone under OSX? In-Reply-To: References: <58A4B58E.5090008@researchware.com> <58A4C0F7.1040005@researchware.com> Message-ID: <58A4D413.6000108@researchware.com> On 2/15/2017 4:14 PM, Bob Sneidar via use-livecode wrote: > I have a helper app which uses Applescript to communicate what I want it to do. I call it Spinner, and all it does is display a model window with a message and a spinning indicator. If I set it's LSUIElement to true, can I still have it show or hide it's window? All I really want is for the app to not have the icon in the dock as you expressed, but I DO want the user to see it when I show it's window. Hi Bob, I'm sorry, I don't know whether the LSUIElement flag would suppress any windows - I don't think it would, but you'd need to test it. Manually edit the info.plist file and just add these 2 lines: LSUIElement AFTER the tag (3rd line or so) and BEFORE the CFBundleDevelopmentRegion line Hope that helps. From jacque at hyperactivesw.com Thu Feb 16 03:33:44 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Feb 2017 02:33:44 -0600 Subject: ulExtIsBlocked Message-ID: <16da4581-e856-7a27-aef1-46964c7ec2a5@hyperactivesw.com> I keep getting this message, both in the IDE and in a standalone: Message execution error: Error description: Function: error in function handler Hint: ulExtIsBlocked It's either a libURL or TSNet error, so it looks like a thing for Charles W. Thoughts? I need a workaround. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From charles at techstrategies.com.au Thu Feb 16 04:01:41 2017 From: charles at techstrategies.com.au (Charles Warwick) Date: Thu, 16 Feb 2017 19:01:41 +1000 Subject: ulExtIsBlocked In-Reply-To: <16da4581-e856-7a27-aef1-46964c7ec2a5@hyperactivesw.com> References: <16da4581-e856-7a27-aef1-46964c7ec2a5@hyperactivesw.com> Message-ID: <31367bd6-e7e7-d0ee-f1a2-f1b2e8a98910@techstrategies.com.au> Sounds like the tsNetLibUrl stack may have been unloaded. Is it possible this bug is affecting you? http://quality.livecode.com/show_bug.cgi?id=18833 On 16/02/2017 6:33 PM, J. Landman Gay via use-livecode wrote: > I keep getting this message, both in the IDE and in a standalone: > > Message execution error: > Error description: Function: error in function handler > Hint: ulExtIsBlocked > > It's either a libURL or TSNet error, so it looks like a thing for > Charles W. Thoughts? I need a workaround. > From devin_asay at byu.edu Thu Feb 16 12:41:40 2017 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 16 Feb 2017 17:41:40 +0000 Subject: Provisioning Profiles list Message-ID: <2D4F7CE8-AF1A-4764-88BC-6A6C42ED7F9C@byu.edu> Does anyone know how to clear out expired Provisioning Profiles from the Standalone application settings for iOS? My option menu shows every PP that ever existed on my system, making it difficult to choose the most current one. Thanks, Devin Devin Asay Director Office of Digital Humanities Brigham Young University From merakosp at gmail.com Thu Feb 16 12:46:20 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 16 Feb 2017 17:46:20 +0000 Subject: Provisioning Profiles list In-Reply-To: <2D4F7CE8-AF1A-4764-88BC-6A6C42ED7F9C@byu.edu> References: <2D4F7CE8-AF1A-4764-88BC-6A6C42ED7F9C@byu.edu> Message-ID: Hi Devin, If that helps, *all* the provisioning profiles are stored in /Users//Library/MobileDevice/Provisioning Profiles/ Best, Panos -- On Thu, Feb 16, 2017 at 5:41 PM, Devin Asay via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone know how to clear out expired Provisioning Profiles from the > Standalone application settings for iOS? My option menu shows every PP that > ever existed on my system, making it difficult to choose the most current > one. > > Thanks, > > Devin > > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Thu Feb 16 13:18:15 2017 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 16 Feb 2017 18:18:15 +0000 Subject: Provisioning Profiles list In-Reply-To: References: <2D4F7CE8-AF1A-4764-88BC-6A6C42ED7F9C@byu.edu> Message-ID: <9BCFA160-AA5F-4D86-BF55-D4F36EEF431D@byu.edu> Thanks, Panos. That?s what I needed to know. Devin On Feb 16, 2017, at 10:46 AM, panagiotis merakos via use-livecode > wrote: Hi Devin, If that helps, *all* the provisioning profiles are stored in /Users//Library/MobileDevice/Provisioning Profiles/ Best, Panos -- On Thu, Feb 16, 2017 at 5:41 PM, Devin Asay via use-livecode < use-livecode at lists.runrev.com> wrote: Does anyone know how to clear out expired Provisioning Profiles from the Standalone application settings for iOS? My option menu shows every PP that ever existed on my system, making it difficult to choose the most current one. Thanks, Devin Devin Asay Director Office of Digital Humanities Brigham Young University _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Thu Feb 16 14:26:27 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Feb 2017 13:26:27 -0600 Subject: ulExtIsBlocked In-Reply-To: <31367bd6-e7e7-d0ee-f1a2-f1b2e8a98910@techstrategies.com.au> References: <16da4581-e856-7a27-aef1-46964c7ec2a5@hyperactivesw.com> <31367bd6-e7e7-d0ee-f1a2-f1b2e8a98910@techstrategies.com.au> Message-ID: That bug might be related, yes. I can't remember now whether it only happened after I built a standalone, but I will pay more attention now. Thanks for the pointer, I wasn't sure what the error meant. On 2/16/17 3:01 AM, Charles Warwick via use-livecode wrote: > Sounds like the tsNetLibUrl stack may have been unloaded. > > Is it possible this bug is affecting you? > > http://quality.livecode.com/show_bug.cgi?id=18833 > > > On 16/02/2017 6:33 PM, J. Landman Gay via use-livecode wrote: >> I keep getting this message, both in the IDE and in a standalone: >> >> Message execution error: >> Error description: Function: error in function handler >> Hint: ulExtIsBlocked >> >> It's either a libURL or TSNet error, so it looks like a thing for >> Charles W. Thoughts? I need a workaround. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Thu Feb 16 16:08:57 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 16 Feb 2017 21:08:57 +0000 Subject: Deleting stacks on the fly In-Reply-To: <15a3d86a270.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3298DAAD-4C67-4B13-A664-DD314871D479@iotecdigital.com> <15a3d86a270.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: @ Jacque: I don't think it is ram after all. FYI: on my Nexus 5 I have 1.8 GB RAM and our new app + All of Googles "widgets" that come preloaded take up a mere .8 GB and I have a full GB of RAM free. after proceeding (as we discussed off list with our team) to delete stacks when we move from one to another, so that only 1 or 2 are ever open in memory? I am pretty certain I'm not have a memory issue on this Android Device: but it still crashes. I took this to HQ? I guess you all know about plugging in your android phone and running ./adb logcat and then pass that over to LC support. If you are interested you can view it here: http://wiki.hindu.org/uploads/siva-siva-app_adb-log.txt # 13MB file if you search Activity Manager: Process com.himalayan You will run into all the instances of ActivityManager: Process com.himalayanacademy.sivasiva (pid 25473) has died (crash/exit) There appear to be three different "flavors" of "exited due to signal (11) in that log. I won't detail them here as I don't grok the log well enough to talk about it. Hopefully HQ will figure it out? building from 8.1.3 (RC2) does 9 dp4 change the file format? Safe? I could make back ups of course. and test? but need to keep moving on content dev? I have no recipe or rather, we do, but it seems harmless. we "Go" from one stack to another, then after 10 milliseconds, delete the first one here is the handler where the app exits on signal 11, you can see where we were fiddling with 1) just closing it, 2) opening stack B and deleting stack A 3) Opening stack B and send a "Delete" stack A in 10 milliseconds. All three scenarios cause android to crash and we have *lots* of open RAM. command portal_GoStack stackName -- goes to the new stack -- closes the current stack -- safely ignores if we are alrady in the new stack put the short name of this stack into oStackName if oStackName = stackName then return oStackName go to stack stackName --close stack oStackName -- test deleting the stacks to save on RAM send "portal_RemoveStack oStackName" to me in 10 milliseconds -- delete stack oStackName return oStackName end portal_GoStack command portal_RemoveStack stackName if stackName <> "Siva-Siva-App" then delete stack stackName end if end portal_RemoveStack # Works perfectly well on iOS Svasti Astu, Be Well Brahmanathaswami www.himalayanacademy.com On 2/14/17, 6:48 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: I frequently delete stacks when memory is an issue, which is the problem with Swami's stack suite. I also create almost all new stacks with destroystack set to true for the same reason. From dochawk at gmail.com Thu Feb 16 19:22:50 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 16 Feb 2017 16:22:50 -0800 Subject: restore table exported with pg_dump from within livecode? Message-ID: I have a table that I want each customer to get as a starting point (abbreviations for creditors)> I've tried exporting with pg_dump for only the table /Library/PostgreSQL/9.5/bin/pg_dump -t stockabrevs -f abrev_bkp.sql -Udhadmin dhbk_dbtrs I then use this within a script, put "BEGIN TRANSACTION;" & cr & url "file:~/Documents/dhbk/dflt_fls/abrev_bkp.sql" & cr & "END TRANSACTION;" & cr into dcmd revExecuteSql dbUsrDbNo, dcmd This, however, gives me ERROR: syntax error at or near "scum" LINE 232: scum \N \N S f f f f the scummiest lending company under t... ^ The relevant section of the dumped file seems to be -- -- Data for Name: stockabrevs; Type: TABLE DATA; Schema: public; Owner: dhadmin -- COPY stockabrevs (abrev, usr, tstmp, chrtype, unliq, disp, cont, codbt, cd_adr, rpinterest, cname, cadr, ijkey, due, acctno, pmt, reason, prtype, npramount, hwjc, asset, value, atype, exemption_1, exval_1, scintent, exemption_2, exval_2, exemption_3, exval_3, arrears, pmtsleft, pmtmt, incins, inctax, unsecprt, gsl, parentdna, dpnddna, contact, prtyp, extyp_1, extyp_2, extyp_3, dfl_exval_1, dfl_exval_2, dfl_exval_3, dfl_pmtmt, dfl_unsecprt, dflcrd, dflcrdchps, claimno, claimamt, pramount, dodbt, intexpl, intent, exempt, cecfeml, srv704, srvecf, srvinc, arint, cpmtstr, grtottrpy, othvals, arint1, armnt1, arpmt1, arstr1, conduit, dfl_arint1, dfl_armnt1, dfl_arpmt1, dfl_arstr1, dfl_grtotdbpy, dfl_grtottrpy, dfl_p13_value, dfl_scint1, dfl_scint2, dfl_scmnt1, dfl_scmnt2, dfl_scpmt1, dfl_scpmt2, dfl_scstr1, dfl_scstr2, grtotdbpy, p13_value, scint1, scint2, scmnt1, scmnt2, scpmt1, scpmt2, scstr1, scstr2, cpmtmnt, dfl_cpmtmnt, dfl_cpmtstr, dfl_matdate, matdate, p13_pstpetpby, rate, cg_chrtype, ck_codbt, ck_cont, ck_disp, ck_exempt, ck_gsl, ck_incins, ck_inctax, ck_srv704, ck_srvecf, ck_srvinc, ck_unliq, dfl_p13_pstpetpby, othvals2, setoff, dfl_pramount, totliens, dfl_totliens, dat1, dat2, leased, linnodbt, valuetot, dfl_valuetot, dfl_linnodbt, dfl_linnumdbt, linnumdbt, dfl_linnoast, linnoast, prothexp, prtypexp, asubtype, unstyp, unstypexp, dat3, dat4, dbtcp, dfl_exvaltot, dfl_linnoxmp, exvaltot, linnoxmp, xmpmax, bnfnsdr, dfl_prfpydats, dfl_totpref, paynsdr, prfpydats, prfsofa, prftyp, prftypexp, totpref, dfl_prfpydat1, prfpydat1, prfpydat2, prfpydat3, atypeexp, astoinfo, dfl_insbnfpmtexp, dfl_inspmtexp, dfl_linnomtr, dfl_propszedscr, dfl_propszeval, dfl_rpinterest, dfl_value, insbnfpmtexp, inspmtexp, linnomtr, propszedat, propszedscr, propszeval, sctypexp, dfl_prfpmtexp, dfl_prftypexp, prfpmtexp, dfl_prftot, prftot, pardnatyps, dfl_parlinnosec, dfl_parlinnouns, parlinnosec, parlinnouns, dfl_paractnosec, paractnosec, dfl_paractnouns, paractnouns, setoff90, sftyp, dat5, exlbl_1, exlbl_2, exlbl_3) FROM stdin; And line 232 is scum \N \N S f f f f the scummiest lending company under the bridge with the trolls\nAmes, IA 50010 mrt1 \N \N \nFirst mortgage on primary residence \N \N R NRS 21.090(l) \N \N \N \N \N \N f f 8000000 f \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N This doesn't look right to me; I had thought that I should have a file with CREATE and a bunch of INSERTs. Am I using pg_dump wrong? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jerry at jhjensen.com Fri Feb 17 14:25:37 2017 From: jerry at jhjensen.com (Jerry Jensen) Date: Fri, 17 Feb 2017 11:25:37 -0800 Subject: How to view custom props Message-ID: <6049DE24-E650-4FBD-A6D6-92414DCF6B94@jhjensen.com> Hi folks, I?m back to working in LC after a hiatus working on other pressing issues. I seem to be missing something important - how to view custom properties. I use them a lot in this project. In LC 7.1.4 I would use the Stack Inspector, and pull down its top menu to Custom Properties. In this case, all the custom props are of the stack. In LC 8.1.2, which I would like to use, there is no such pull-down, and I can?t seem to find any way to view contents of Custom Properties! All I find in various docs is to select the object, then choose Object Inspector from the Object menu. Nothing I can figure out will un-gray that choice, but I suspect it would give me the Stack Inspector anyway. What am I missing, or forgetting? Where would I find this in the sea of documentation? Feeling a bit ignorant, Jerry From merakosp at gmail.com Fri Feb 17 14:40:33 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 17 Feb 2017 19:40:33 +0000 Subject: How to view custom props In-Reply-To: <6049DE24-E650-4FBD-A6D6-92414DCF6B94@jhjensen.com> References: <6049DE24-E650-4FBD-A6D6-92414DCF6B94@jhjensen.com> Message-ID: Hi Jerry, Right click on the card, and select Stack -> Property Inspector from the contextual menu. Then click on the third tab of the stack Property Inspector (=Custom Properties). In LC 8 the Property Inspector has tabs instead of a pull down menu. This allows faster access to the various panes. Best, Panos -- On Fri, Feb 17, 2017 at 7:25 PM, Jerry Jensen via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi folks, > I?m back to working in LC after a hiatus working on other pressing issues. > I seem to be missing something important - how to view custom properties. I > use them a lot in this project. > > In LC 7.1.4 I would use the Stack Inspector, and pull down its top menu to > Custom Properties. In this case, all the custom props are of the stack. > > In LC 8.1.2, which I would like to use, there is no such pull-down, and I > can?t seem to find any way to view contents of Custom Properties! All I > find in various docs is to select the object, then choose Object Inspector > from the Object menu. Nothing I can figure out will un-gray that choice, > but I suspect it would give me the Stack Inspector anyway. > > What am I missing, or forgetting? Where would I find this in the sea of > documentation? > > Feeling a bit ignorant, > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jerry at jhjensen.com Fri Feb 17 14:57:32 2017 From: jerry at jhjensen.com (Jerry Jensen) Date: Fri, 17 Feb 2017 11:57:32 -0800 Subject: How to view custom props In-Reply-To: References: <6049DE24-E650-4FBD-A6D6-92414DCF6B94@jhjensen.com> Message-ID: <424840AF-56FD-4F4B-8D8E-91F7487EFBFB@jhjensen.com> Got it. It is better, if not terribly obvious. Thanks! Jerry > On Feb 17, 2017, at 11:40 AM, panagiotis merakos via use-livecode wrote: > > Hi Jerry, > > Right click on the card, and select Stack -> Property Inspector from the > contextual menu. > > Then click on the third tab of the stack Property Inspector (=Custom > Properties). > > In LC 8 the Property Inspector has tabs instead of a pull down menu. This > allows faster access to the various panes. > > Best, > Panos > -- > > On Fri, Feb 17, 2017 at 7:25 PM, Jerry Jensen via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi folks, >> I?m back to working in LC after a hiatus working on other pressing issues. >> I seem to be missing something important - how to view custom properties. I >> use them a lot in this project. >> >> In LC 7.1.4 I would use the Stack Inspector, and pull down its top menu to >> Custom Properties. In this case, all the custom props are of the stack. >> >> In LC 8.1.2, which I would like to use, there is no such pull-down, and I >> can?t seem to find any way to view contents of Custom Properties! All I >> find in various docs is to select the object, then choose Object Inspector >> from the Object menu. Nothing I can figure out will un-gray that choice, >> but I suspect it would give me the Stack Inspector anyway. >> >> What am I missing, or forgetting? Where would I find this in the sea of >> documentation? >> >> Feeling a bit ignorant, >> Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Fri Feb 17 15:07:05 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 17 Feb 2017 20:07:05 +0000 Subject: Deleting stacks on the fly In-Reply-To: References: <3298DAAD-4C67-4B13-A664-DD314871D479@iotecdigital.com> <15a3d86a270.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Brahmanathaswami, What happens if you set the acceleratedRendering of the stack to false? Best, Panos -- On Thu, Feb 16, 2017 at 9:08 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > @ Jacque: I don't think it is ram after all. > > FYI: on my Nexus 5 I have 1.8 GB RAM and our new app + All of Googles > "widgets" that come preloaded take up a mere .8 GB and I have a full GB of > RAM free. after proceeding (as we discussed off list with our team) to > delete stacks when we move from one to another, so that only 1 or 2 are > ever open in memory? I am pretty certain I'm not have a memory issue on > this Android Device: but it still crashes. > > I took this to HQ? I guess you all know about plugging in your android > phone and running ./adb logcat and then pass that over to LC support. > > If you are interested you can view it here: > > http://wiki.hindu.org/uploads/siva-siva-app_adb-log.txt # 13MB file > > if you search > > Activity Manager: Process com.himalayan > > You will run into all the instances of > > ActivityManager: Process com.himalayanacademy.sivasiva (pid 25473) has died > > (crash/exit) > > > There appear to be three different "flavors" of "exited due to signal > (11) in that log. I won't detail them here as I don't grok the log well > enough to talk about it. > > Hopefully HQ will figure it out? building from 8.1.3 (RC2) > > does 9 dp4 change the file format? Safe? I could make back ups of > course. and test? but need to keep moving on content dev? > > I have no recipe or rather, we do, but it seems harmless. > > we "Go" from one stack to another, then after 10 milliseconds, delete the > first one > > here is the handler where the app exits on signal 11, you can see where > we were fiddling with > > 1) just closing it, > 2) opening stack B and deleting stack A > 3) Opening stack B and send a "Delete" stack A in 10 milliseconds. > > All three scenarios cause android to crash and we have *lots* of open RAM. > > command portal_GoStack stackName > -- goes to the new stack > -- closes the current stack > -- safely ignores if we are alrady in the new stack > > put the short name of this stack into oStackName > if oStackName = stackName then return oStackName > > go to stack stackName > --close stack oStackName > -- test deleting the stacks to save on RAM > send "portal_RemoveStack oStackName" to me in 10 milliseconds > -- delete stack oStackName > return oStackName > end portal_GoStack > > command portal_RemoveStack stackName > if stackName <> "Siva-Siva-App" then > delete stack stackName > end if > end portal_RemoveStack > > > # Works perfectly well on iOS > > > > > > > > > Svasti Astu, Be Well > Brahmanathaswami > > www.himalayanacademy.com > > > > On 2/14/17, 6:48 AM, "use-livecode on behalf of J. Landman Gay via > use-livecode" use-livecode at lists.runrev.com> wrote: > > I frequently delete stacks when memory is an issue, which is the > problem > with Swami's stack suite. I also create almost all new stacks with > destroystack set to true for the same 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 ali.lloyd at livecode.com Fri Feb 17 15:34:47 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 17 Feb 2017 20:34:47 +0000 Subject: How to view custom props In-Reply-To: <424840AF-56FD-4F4B-8D8E-91F7487EFBFB@jhjensen.com> References: <6049DE24-E650-4FBD-A6D6-92414DCF6B94@jhjensen.com> <424840AF-56FD-4F4B-8D8E-91F7487EFBFB@jhjensen.com> Message-ID: Try clicking the cog in the top right, and changing the 'Tab Display Style' to Labels - it should be clearer what the various sections are! On Fri, Feb 17, 2017 at 7:57 PM Jerry Jensen via use-livecode < use-livecode at lists.runrev.com> wrote: > Got it. It is better, if not terribly obvious. > Thanks! > Jerry > > > On Feb 17, 2017, at 11:40 AM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Jerry, > > > > Right click on the card, and select Stack -> Property Inspector from the > > contextual menu. > > > > Then click on the third tab of the stack Property Inspector (=Custom > > Properties). > > > > In LC 8 the Property Inspector has tabs instead of a pull down menu. This > > allows faster access to the various panes. > > > > Best, > > Panos > > -- > > > > On Fri, Feb 17, 2017 at 7:25 PM, Jerry Jensen via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi folks, > >> I?m back to working in LC after a hiatus working on other pressing > issues. > >> I seem to be missing something important - how to view custom > properties. I > >> use them a lot in this project. > >> > >> In LC 7.1.4 I would use the Stack Inspector, and pull down its top menu > to > >> Custom Properties. In this case, all the custom props are of the stack. > >> > >> In LC 8.1.2, which I would like to use, there is no such pull-down, and > I > >> can?t seem to find any way to view contents of Custom Properties! All I > >> find in various docs is to select the object, then choose Object > Inspector > >> from the Object menu. Nothing I can figure out will un-gray that choice, > >> but I suspect it would give me the Stack Inspector anyway. > >> > >> What am I missing, or forgetting? Where would I find this in the sea of > >> documentation? > >> > >> Feeling a bit ignorant, > >> Jerry > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jerry at jhjensen.com Fri Feb 17 15:49:54 2017 From: jerry at jhjensen.com (Jerry Jensen) Date: Fri, 17 Feb 2017 12:49:54 -0800 Subject: How to view custom props In-Reply-To: References: <6049DE24-E650-4FBD-A6D6-92414DCF6B94@jhjensen.com> <424840AF-56FD-4F4B-8D8E-91F7487EFBFB@jhjensen.com> Message-ID: <3E5DA810-CE95-4F7C-B93F-730201A62A45@jhjensen.com> I like it! > On Feb 17, 2017, at 12:34 PM, Ali Lloyd via use-livecode wrote: > > Try clicking the cog in the top right, and changing the 'Tab Display Style' > to Labels - it should be clearer what the various sections are! > > On Fri, Feb 17, 2017 at 7:57 PM Jerry Jensen via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Got it. It is better, if not terribly obvious. >> Thanks! >> Jerry >> >>> On Feb 17, 2017, at 11:40 AM, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi Jerry, >>> >>> Right click on the card, and select Stack -> Property Inspector from the >>> contextual menu. >>> >>> Then click on the third tab of the stack Property Inspector (=Custom >>> Properties). >>> >>> In LC 8 the Property Inspector has tabs instead of a pull down menu. This >>> allows faster access to the various panes. >>> >>> Best, >>> Panos >>> -- >>> >>> On Fri, Feb 17, 2017 at 7:25 PM, Jerry Jensen via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi folks, >>>> I?m back to working in LC after a hiatus working on other pressing >> issues. >>>> I seem to be missing something important - how to view custom >> properties. I >>>> use them a lot in this project. >>>> >>>> In LC 7.1.4 I would use the Stack Inspector, and pull down its top menu >> to >>>> Custom Properties. In this case, all the custom props are of the stack. >>>> >>>> In LC 8.1.2, which I would like to use, there is no such pull-down, and >> I >>>> can?t seem to find any way to view contents of Custom Properties! All I >>>> find in various docs is to select the object, then choose Object >> Inspector >>>> from the Object menu. Nothing I can figure out will un-gray that choice, >>>> but I suspect it would give me the Stack Inspector anyway. >>>> >>>> What am I missing, or forgetting? Where would I find this in the sea of >>>> documentation? >>>> >>>> Feeling a bit ignorant, >>>> Jerry >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Feb 18 04:11:11 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 18 Feb 2017 11:11:11 +0200 Subject: [OT] Kid's Play Message-ID: When you need to have a break from LiveCode how about popping over here: https://www.facebook.com/RichmondsCoding Of course, if that fills you will joy: then go back and do it all in LiveCode :) Richmond. From dvglasgow at gmail.com Sat Feb 18 07:20:03 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Sat, 18 Feb 2017 12:20:03 +0000 Subject: playloudness of audioclip ignored on Windows? In-Reply-To: References: Message-ID: I have a ?click' audio clip that typically is played once only in any one use of the software, as a sort of 'captured data? indicator in response to an on screen button. That meant that the slight delay in first playing an audio clip was always noticeable for users. To get around this, I used this script to play silently once on opencard, and then the ?real? click would not be laggy. On opencard set the playloudness of audioclip ?click.aiff? to zero play audioclip ?click.aiff? set the playloudness of audioclip ?click.aiff? to 50 ?? not sure this setting is retained, but hey ho. end opencard This works fine in the ide and in Mac standadalone. No click, and no lag when the click is needed for real. On Windows (10 and Vista tested so far) standalone the click is not muted, but plays at the OS volume setting. I have looked through the docs and forums, but can?t see anything relevant. Any ideas? Developing on Mac OS 10.12, LC 7.1.3 Best wishes, David Glasgow From dan at clearvisiontech.com Sat Feb 18 13:08:46 2017 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 18 Feb 2017 10:08:46 -0800 Subject: Help needed with scaleFactor and scaling In-Reply-To: References: Message-ID: Can anyone figure out the math to resize a control so it appears to be unchanged when you set the scaleFactor of a stack? For example? you have a button who?s rect is 100,100,400,400. On the screen, it looks to be 300px wide. Now, if you set the scaleFactor to 1.5, what rect do you have to set the button to get it to ?appear? to remain 300px wide? At first, I thought it would simply be each item of the rect/scaleFactor. But, that doesn?t do it. I feels like you have to get the DPI of the active display and somehow use that as part of the equation. Any ideas? Thanks in advance, -Dan From colinholgate at gmail.com Sat Feb 18 13:29:41 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 18 Feb 2017 13:29:41 -0500 Subject: Help needed with scaleFactor and scaling In-Reply-To: References: Message-ID: This seems to work (to make button 1 appear to be 100 pixels from the top and left, and to appear to be 200 wide and 150 tall): on fixit put random(10)/10 + 1 into it set the scalefactor of this stack to it set the rect of btn 1 to 100/it,100/it,100/it+100/it,100/it+50/it end fixit From MikeKerner at roadrunner.com Sat Feb 18 19:55:12 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 18 Feb 2017 19:55:12 -0500 Subject: backscripts vs. libraries in 8 with .livecodescript Message-ID: Aside from the libraryStack/releaseStack messages, is there any difference between using a .livecodescript file as a backscript vs a library? -- 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 m.schonewille at economy-x-talk.com Sun Feb 19 07:10:15 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 19 Feb 2017 13:10:15 +0100 Subject: [ANN] About the conference in Antwerp Message-ID: <64ae05ee-fe35-558f-04e8-46f494b8cd90@economy-x-talk.com> Hello, Next week is the 'eHUG International Mini Conference on LiveCode'. The conference will take place on 25th February from 13:00h. until 18:00h. The conference room is open from 12:00h. The location is the Ibis hotel, Meistraat 39 in Antwerp, Belgium. Participation is only possible if you purchase a ticket no later than 22nd February. The tickets will be sent to you later this week. There are 20 tickets available. If you want to be sure of a ticket, you'll need to act quickly. The prices of the tickets are listed on the website. Additionally, non-alcoholic beverages are available for 6 euro per person. Coffee and tea are available from a dispenser (for which my apologies). If any budget is left, it will be spent on additional drinks or perhaps on dinner afterwards. Everything we need is available: WIFI, a beamer with VGA connection, electricity, at least one extra laptop, drinks, etc. If you have any special requests, just let me know. We need more speakers! You can tell something about your own project, private or professional, for which you have created a liveCode stack. If you use a different platform, such as SuperCard, Filemaker, HyperStudio or Xojo, you're very welcome to tell us about it. Do you think you're not so good at making presentations? Organise a workshop instead! Just show us how you work with your favorite tool and if you like, or if you can, invite your public to join. Please indicate that you're a speaker when you buy a ticket. You will receive a discount. A discount is also available if you buy the book Programming LiveCode for the Real Beginner. After the formal part of the conference, we may have dinner together. The next day, we might have a social event before going home. We will organise this on the spot. I hope to have informed you sufficiently. Just send me an e-mail right-away if you have any questions and I'll reply as soon as I can. More information at http://economy-x-talk.com/conf -- Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com From MikeKerner at roadrunner.com Sun Feb 19 10:48:03 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 19 Feb 2017 10:48:03 -0500 Subject: libjson replacement Message-ID: Do we have a drop-in replacement for libjson? -- 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 jacque at hyperactivesw.com Sun Feb 19 16:46:51 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Feb 2017 15:46:51 -0600 Subject: libjson replacement In-Reply-To: References: Message-ID: <439fe696-0917-9763-f4a3-3eabb2aed57a@hyperactivesw.com> On 2/19/17 9:48 AM, Mike Kerner via use-livecode wrote: > Do we have a drop-in replacement for libjson? We have two: jsonToArray/arrayToJson, in the general dictionary entries, and jsonImport in the JSON dictionary category. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Feb 19 16:48:09 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Feb 2017 15:48:09 -0600 Subject: backscripts vs. libraries in 8 with .livecodescript In-Reply-To: References: Message-ID: <91e25d58-d855-e246-81ec-84314e6ea070@hyperactivesw.com> On 2/18/17 6:55 PM, Mike Kerner via use-livecode wrote: > Aside from the libraryStack/releaseStack messages, is there any difference > between using a .livecodescript file as a backscript vs a library? I don't know if it is still true, but when I asked about this in the MetaCard days, the only differece was that backscripts get messages after the Home stack, and libraries get them before. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sun Feb 19 16:50:32 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 19 Feb 2017 16:50:32 -0500 Subject: libjson replacement In-Reply-To: <439fe696-0917-9763-f4a3-3eabb2aed57a@hyperactivesw.com> References: <439fe696-0917-9763-f4a3-3eabb2aed57a@hyperactivesw.com> Message-ID: But are the syntax and the results the same? On Sun, Feb 19, 2017 at 4:46 PM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2/19/17 9:48 AM, Mike Kerner via use-livecode wrote: > >> Do we have a drop-in replacement for libjson? >> > > We have two: jsonToArray/arrayToJson, in the general dictionary entries, > and jsonImport in the JSON dictionary category. > > -- > 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 > -- 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 paul at livecode.org Sun Feb 19 18:56:08 2017 From: paul at livecode.org (Paul Hibbert) Date: Sun, 19 Feb 2017 15:56:08 -0800 Subject: MacOS Sierra - Tab Bar showing in Stack and IDE windows? Message-ID: I?ve just recently started seeing the MacOS Sierra Tab Bar showing up in the LC IDE and stack windows. I don?t know when it started happening, maybe the last OS update, but it?s now it?s starting to cause some problems. Very occasionally I would see the menu item ?Show Tab Bar? with the shortcut shift-cmd-T in the ?View? menu, but more recently I haven?t seen the menu item! It?s getting to be pretty frustrating, when the menu item is not there the shortcut doesn?t work for any window except the project browser. Some of the time this feels like a really useful feature, I can added the Project Browser, Script Editor and Dictionary into one window, so that makes it really easy to switch between the tabs and results in a much tidier screen space. The problem I?m having now is when opening a new or previously saved stack, it shows a tab bar if the stack is resizable, but not if the stack is a fixed size. The odd thing is the tab bar eats into the stack size, so if I create a new default stack the size would normally be 400 x 400 px, but now it?s 400px W and 377px H. If I turn off ?Resizable? the inspector shows 400px H, now if I turn ?Resizable? back on the inspector still shows 400px H, but now I have a tab bar showing within the 400px so I end up with just 377px of useable stack height. This happens in LC7 onwards, LC5.5.5 is unaffected. Until just a few moments ago, I couldn?t figure out how to control the problem, but I?ve just found that the Project Browser window is the key. If I open the Project Browser the shortcut seems to work provided I don?t go to the View Menu first, opening any other widows including stack windows just follow whatever setting is applied to the PB window, with the exception of fixed size stack windows. This doesn?t seem like a LC bug, but more a change in the OS that LC needs to address somehow, so before I fill in a bug report or feature enhancement request, I?m curious if anybody else is seeing the Tab Bar in the IDE windows on MacOS Sierra? Or better still, does anybody know a way to control or disable the feature? Paul paul at livecode.org MacOS Sierra 10.12.3 - iMac with Eizo monitor From jacque at hyperactivesw.com Mon Feb 20 00:18:16 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Feb 2017 23:18:16 -0600 Subject: libjson replacement In-Reply-To: References: <439fe696-0917-9763-f4a3-3eabb2aed57a@hyperactivesw.com> Message-ID: <53f5c746-5557-db7e-184a-2a2d964aec56@hyperactivesw.com> I've only used jsonImport to get LC arrays, and the syntax and results are the same. As far as I can tell, the main difference is when you have json that isn't a JSON object, in which case jsonImport translates it to the LC equivalent (list, string, boolean, etc.) On 2/19/17 3:50 PM, Mike Kerner via use-livecode wrote: > But are the syntax and the results the same? > > On Sun, Feb 19, 2017 at 4:46 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 2/19/17 9:48 AM, Mike Kerner via use-livecode wrote: >> >>> Do we have a drop-in replacement for libjson? >>> >> >> We have two: jsonToArray/arrayToJson, in the general dictionary entries, >> and jsonImport in the JSON dictionary category. >> >> -- >> 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 >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tfabacher at gmail.com Mon Feb 20 02:27:57 2017 From: tfabacher at gmail.com (Todd Fabacher) Date: Mon, 20 Feb 2017 02:27:57 -0500 Subject: LiveCode + Amazon CloudFront Message-ID: Hello All, We need to interface between LiveCode and Amazon CloudFront. We are aware of mergAWS, but it ONLY works on iOS. We also need this for Android. Any suggestions??? We need this ASAP! --Todd Fabacher From ludovic.thebault at laposte.net Mon Feb 20 04:50:18 2017 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Mon, 20 Feb 2017 10:50:18 +0100 Subject: "Do in widget" works only one time on iOS Message-ID: Hello, I try to update an app to use the new browser widget in replacement of the revbrowser. The user can move a marker on a map and i get the coordinate of this marker with the ? do in widget ? function. it?s work fine in development mode but in iOS simulator or on the device, the ? do in widget ? works only one time or never. To avoid cache problem i always change the name of the html file used by the browser. Any ideas ? Thanks From peter.brett at livecode.com Mon Feb 20 05:19:00 2017 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 20 Feb 2017 10:19:00 +0000 Subject: [ANN] This Week in LiveCode 71 Message-ID: <24516ecc-30e1-e9ef-8d73-5db9c4b6094a@livecode.com> 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 #71 here: https://goo.gl/QJ73VB 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. Peter -- Dr Peter Brett lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From skiplondon at gmail.com Mon Feb 20 06:24:00 2017 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 20 Feb 2017 06:24:00 -0500 Subject: LiveCode + Amazon CloudFront In-Reply-To: References: Message-ID: No suggestions but if somebody is going to develop this, please add in support for Windows. This would be a great addition! SKIP > On Feb 20, 2017, at 2:27 AM, Todd Fabacher via use-livecode wrote: > > Hello All, > > We need to interface between LiveCode and Amazon CloudFront. We are aware > of mergAWS, but it ONLY works on iOS. We also need this for Android. Any > suggestions??? > > We need this ASAP! > > --Todd Fabacher > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Mon Feb 20 07:46:25 2017 From: james at thehales.id.au (James Hale) Date: Mon, 20 Feb 2017 23:46:25 +1100 Subject: MacOS Sierra - Tab Bar showing in Stack and IDE windows? Message-ID: Check you Dock preferences. When Sierra came out I too was looking forward to this feature having gotten use to tabs in other apps. One app I use quite a lot is Nisus and having tabbed windows rather than multiple windows was going to be a real plus, or so i thought. Sadly tabbed windows was not present and so I wrote to their support asking if it would be. They said they would add the request for a possible future update but also added.... > One tip: apparently you can adjust how Sierra's tabs behave in all application, including Nisus Writer, in your system Dock preferences. You can change the setting for "Prefer tabs when opening documents" so tabs are more often retained. This doesn't cover all your requests, but might help you improve your workflow. And so I did, setting it to "Always" and voila, tabbed windows. A few days later I opened LC and was dismayed to see exactly what you have described. I played around with different windows etc but quickly realised that having all new docs open in a tabbed window was not something LC liked. I turned this "dock" preference to "In Full Screen Only" and have not had the issue return (I do not use fullscreen mode for LC) So perhaps your Dock settings and the way you are using LC are triggering this feature of Sierra. James james at thehales.id.au Tel: +61 3 9386 2516 Fax: +61 3 9386 1387 From tfabacher at gmail.com Mon Feb 20 09:50:32 2017 From: tfabacher at gmail.com (Todd Fabacher) Date: Mon, 20 Feb 2017 09:50:32 -0500 Subject: LiveCode + Amazon CloudFront In-Reply-To: References: Message-ID: We found found this: http://docs.aws.amazon.com/AmazonS3/latest/API/s3-api.pdf The area with the most work in LC is authorization. I don't see this as a ton of work to wrap this in LC9. It would be a great community project???? This way it will work on ALL current LC supported platforms Windows and Android. --Todd On Mon, Feb 20, 2017 at 2:27 AM, Todd Fabacher wrote: > Hello All, > > We need to interface between LiveCode and Amazon CloudFront. We are aware > of mergAWS, but it ONLY works on iOS. We also need this for Android. Any > suggestions??? > > We need this ASAP! > > --Todd Fabacher > From iowahengst at mac.com Mon Feb 20 11:42:11 2017 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 20 Feb 2017 10:42:11 -0600 Subject: IconGravity vs Margins in Buttons Message-ID: <00297B3C-98A1-425D-B71E-4B98AC915757@mac.com> Hi All, I?ve been messing with using a variety of fonts in buttons coupled with a round icon. It?s handy to set the iconGravity of the button to ?center? and have the text of the button line up nicely with the icon. However, I?ve noticed that some fonts don?t line up in the center of the icon. I?ve set the textAlign of the button to ?center? I?ve set the iconGravity of the button to ?center? Is there a way besides using textAlign to adjust only the placement of the text of the button separately from the icon? I?m thinking of something like in spreadsheet cells that have the left, right, center and top, middle, bottom settings. In this case, I?d like to move the text down relative to the button icon? the textAlign will move the text left or right without moving the icon. Is there a way to move the text down without moving the icon down? I?ve tried messing with ?margins,? but changing those settings moves the text and the icon. I?m using LC 8.1.2 Mac OS 10.11.6 Thanks for any thoughts. be well, randy From paul at livecode.org Mon Feb 20 12:19:05 2017 From: paul at livecode.org (Paul Hibbert) Date: Mon, 20 Feb 2017 09:19:05 -0800 Subject: MacOS Sierra - Tab Bar showing in Stack and IDE windows? In-Reply-To: References: Message-ID: Thank you James, I would never have thought Window Tab Prefs would be in Dock settings! I?ll give it a try. Paul Paul paul at livecode.org Mac OS Sierra 10.12.1 > On Feb 20, 2017, at 4:46 AM, James Hale via use-livecode wrote: > > So perhaps your Dock settings and the way you are using LC are triggering this feature of Sierra. From benr_mc at cogapp.com Mon Feb 20 14:00:45 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 20 Feb 2017 19:00:45 +0000 Subject: Touch interpretation? Message-ID: <94319a8a-94fc-090e-cc80-812ad87ecbaa@cogapp.com> Being a lazy sort, until now on mobile apps (which are all for internal use, not publication) I've just used the standard controls, and at most tracked mousedown/mouseup (for convenience of desktop development) to drag something. However now I'm trying to make a rather more native-like app, and respond to swiping in various directions, and two-finger pinches. So I've started coding simple heuristics for when a touch sequence is a tap, a swipe, or a drag; and the next step is to consider when it is actually a two-finger gesture. But obviously the community has been there way before me. Are there any shared libraries developed to implement this? Or at least commonly agreed good heuristics? TIA, Ben From lists at mangomultimedia.com Mon Feb 20 15:03:17 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 20 Feb 2017 14:03:17 -0600 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks Message-ID: Hi List, I added a screencast showing how to configure a Sublime Text project to a notify a Levure application running in the IDE about updates to script only stacks. This allows you to edit script only stacks in Sublime Text and have the stack script updated in the IDE. https://www.youtube.com/watch?v=gkVo35Tb3ck -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From jacque at hyperactivesw.com Mon Feb 20 15:31:29 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Feb 2017 14:31:29 -0600 Subject: Touch interpretation? In-Reply-To: <94319a8a-94fc-090e-cc80-812ad87ecbaa@cogapp.com> References: <94319a8a-94fc-090e-cc80-812ad87ecbaa@cogapp.com> Message-ID: <94f33e04-60d3-8d2e-2c61-9b1aee1596fd@hyperactivesw.com> On 2/20/17 1:00 PM, Ben Rubinstein via use-livecode wrote: > So I've started coding simple heuristics for when a touch sequence is a > tap, a swipe, or a drag; and the next step is to consider when it is > actually a two-finger gesture. > > But obviously the community has been there way before me. Are there any > shared libraries developed to implement this? Or at least commonly > agreed good heuristics? Search the LC Lessons. I found a swipe example here: but I remember some other lessons that also worked with both swipe and taps. Basically, if it isn't a swipe, you implement the tap behavior. There are also some lessons on 2-finger swipes in there somewhere. A couple that showed up in a search for "2 finger": -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From panos.merakos at livecode.com Tue Feb 21 04:57:25 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 21 Feb 2017 09:57:25 +0000 Subject: [ANN] Release 8.1.3 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 8.1.3 Stable. By "Stable", we mean that no reported regressions have been introduced in 8.1.3, compared to the previous Stable release. LiveCode 8.1.3 contains 90 extra bug fixes and new features, compared to LiveCode 8.1.2. *Getting the Release* You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. *Feedback* Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ Warmest regards, The LiveCode Team -- From richmondmathewson at gmail.com Tue Feb 21 04:59:39 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 21 Feb 2017 11:59:39 +0200 Subject: [ANN] Release 8.1.3 In-Reply-To: References: Message-ID: Congratulations! Richmond. On 2/21/17 11:57 am, panagiotis merakos via use-livecode wrote: > Dear List Members, > > We are pleased to announce the release of LiveCode 8.1.3 Stable. By > "Stable", we mean that no reported regressions have been introduced in > 8.1.3, compared to the previous Stable release. > > LiveCode 8.1.3 contains 90 extra bug fixes and new features, compared to > LiveCode 8.1.2. > > *Getting the Release* > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > *Feedback* > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > > Warmest regards, > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Feb 21 08:08:18 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 21 Feb 2017 14:08:18 +0100 Subject: [ANN] Conference - book your hotel Message-ID: <81a6f586-8f89-508a-2491-029a9e6d7bdf@economy-x-talk.com> Dear conference participants, I would like to thank all early birds for registering for the eHUG International Mini Confernece on LiveCode. Some of you may have ordered a hotel already, while others are still contemplating what to do. Because I have received a few questions about this, here is a little information about hotels. First of all, the location of the conference is the Ibis hotel, Meistraat 9 in Antwerp, Belgium. A room in this hotel costs approximately 90 euro. More info about the hotel is available here http://tinyurl.com/za4o9ou If you want a little more luxury, you might prefer the Leonardo hotel, which is close enough to the conference location to go there on foot. The price difference between the hotels is very small. More info: http://leonardo-antwerpen.hotels-antwerpen.net/nl/#rooms Please note: registration for the conference closes tomorrow. Please, make sure to register on time. Tickets are still available at http://economy-x-talk.com/conf/ If you prefer not to use PayPal or a credit card to book your conference ticket, just contact me and we'll try to find an alternative that works for you. -- Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com From bobsneidar at iotecdigital.com Tue Feb 21 10:53:13 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Feb 2017 15:53:13 +0000 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: References: Message-ID: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> Nice. Thanks for all this work Trevor. I am looking forward to using Sublime Text as my defacto script editor. I hesitate to install a web server only because I don't feel comfortable exposing another web server to the internet from my employer's network. I would eventually have to explain why I did it, which would not make the least bit of sense to the owners. Otherwise I will have to set this up at home. Bob S > On Feb 20, 2017, at 12:03 , Trevor DeVore via use-livecode wrote: > > Hi List, > > I added a screencast showing how to configure a Sublime Text project to a > notify a Levure application running in the IDE about updates to script only > stacks. This allows you to edit script only stacks in Sublime Text and have > the stack script updated in the IDE. > > https://www.youtube.com/watch?v=gkVo35Tb3ck > > -- > Trevor DeVore From bobsneidar at iotecdigital.com Tue Feb 21 10:57:57 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Feb 2017 15:57:57 +0000 Subject: IconGravity vs Margins in Buttons In-Reply-To: <00297B3C-98A1-425D-B71E-4B98AC915757@mac.com> References: <00297B3C-98A1-425D-B71E-4B98AC915757@mac.com> Message-ID: <7B91C5DC-D31D-4473-A2C1-5C64E901D95E@iotecdigital.com> Sounds like there are margins set. Try playing with those. Bob S > On Feb 20, 2017, at 08:42 , Randy Hengst via use-livecode wrote: > > Hi All, > > I?ve been messing with using a variety of fonts in buttons coupled with a round icon. > > It?s handy to set the iconGravity of the button to ?center? and have the text of the button line up nicely with the icon. However, I?ve noticed that some fonts don?t line up in the center of the icon. > > I?ve set the textAlign of the button to ?center? > I?ve set the iconGravity of the button to ?center? > > Is there a way besides using textAlign to adjust only the placement of the text of the button separately from the icon? I?m thinking of something like in spreadsheet cells that have the left, right, center and top, middle, bottom settings. > > In this case, I?d like to move the text down relative to the button icon? the textAlign will move the text left or right without moving the icon. Is there a way to move the text down without moving the icon down? > > I?ve tried messing with ?margins,? but changing those settings moves the text and the icon. > > I?m using LC 8.1.2 > Mac OS 10.11.6 > > Thanks for any thoughts. > > be well, > randy > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dvglasgow at gmail.com Tue Feb 21 11:06:53 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Tue, 21 Feb 2017 16:06:53 +0000 Subject: Fwd: playloudness of audioclip ignored on Windows? References: Message-ID: This is still driving me nuts. I tried setting the overall playloudness, and displaying that value in a field in the standalone. On Windows it reports 0, but still plays the click at the pre set play loudness level. Has no one else encountered this or similar? > Begin forwarded message: > > From: David V Glasgow > Subject: playloudness of audioclip ignored on Windows? > Date: 18 February 2017 12:20:03 pm GMT > To: How to use LiveCode > > I have a ?click' audio clip that typically is played once only in any one use of the software, as a sort of 'captured data? indicator in response to an on screen button. That meant that the slight delay in first playing an audio clip was always noticeable for users. > > To get around this, I used this script to play silently once on opencard, and then the ?real? click would not be laggy. > > On opencard > set the playloudness of audioclip ?click.aiff? to zero > play audioclip ?click.aiff? > set the playloudness of audioclip ?click.aiff? to 50 > ?? not sure this setting is retained, but hey ho. > end opencard > > This works fine in the ide and in Mac standadalone. No click, and no lag when the click is needed for real. > > On Windows (10 and Vista tested so far) standalone the click is not muted, but plays at the OS volume setting. > > I have looked through the docs and forums, but can?t see anything relevant. Any ideas? > > Developing on Mac OS 10.12, LC 7.1.3 > > > Best wishes, > > David Glasgow From iowahengst at mac.com Tue Feb 21 11:36:08 2017 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 21 Feb 2017 10:36:08 -0600 Subject: IconGravity vs Margins in Buttons In-Reply-To: <7B91C5DC-D31D-4473-A2C1-5C64E901D95E@iotecdigital.com> References: <00297B3C-98A1-425D-B71E-4B98AC915757@mac.com> <7B91C5DC-D31D-4473-A2C1-5C64E901D95E@iotecdigital.com> Message-ID: Hi Bob, Thanks for the response? I?ve messed with the margin settings. For example, 0,12,0,0 does move the text down realtive to the top of the button, but it also moves the icon down? I really need to just adjust the text?. I?d like to be able to set something like ?textHeight? in a field for buttons. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 21, 2017, at 9:57 AM, Bob Sneidar via use-livecode wrote: > > Sounds like there are margins set. Try playing with those. > > Bob S > > >> On Feb 20, 2017, at 08:42 , Randy Hengst via use-livecode wrote: >> >> Hi All, >> >> I?ve been messing with using a variety of fonts in buttons coupled with a round icon. >> >> It?s handy to set the iconGravity of the button to ?center? and have the text of the button line up nicely with the icon. However, I?ve noticed that some fonts don?t line up in the center of the icon. >> >> I?ve set the textAlign of the button to ?center? >> I?ve set the iconGravity of the button to ?center? >> >> Is there a way besides using textAlign to adjust only the placement of the text of the button separately from the icon? I?m thinking of something like in spreadsheet cells that have the left, right, center and top, middle, bottom settings. >> >> In this case, I?d like to move the text down relative to the button icon? the textAlign will move the text left or right without moving the icon. Is there a way to move the text down without moving the icon down? >> >> I?ve tried messing with ?margins,? but changing those settings moves the text and the icon. >> >> I?m using LC 8.1.2 >> Mac OS 10.11.6 >> >> Thanks for any thoughts. >> >> be well, >> randy >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Tue Feb 21 12:32:19 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 21 Feb 2017 17:32:19 +0000 Subject: Inclusions on Android (was Re: Are SVG icons supposed to work on Android?) In-Reply-To: References: Message-ID: <188c7757-7008-1431-0cb2-c50355b362fd@cogapp.com> Immediately after sending the below, I decide to put that project on hold and try another one on Android - and found that a segmented control widget was missing. I switched to manually-selected inclusions, and was then able to see the segmented control widget on Android; and then went back to the previous project, manually selected SVG icons, and found thqt worked too. So, forget the question about SVG working on Android; but is there a known issue with the inclusion search not working for Android builds? TIA, Ben On 21/02/2017 17:13, Ben Rubinstein wrote: > per the subject really - I added some snazzy SVG icons into my app, for no > better reason than that I could - but when I built to Android, one of them > didn't appear at all, and when the other is supposed to briefly fade in and > out again, instead a square of approximately the same size does so. > > Is this a known issue? (I couldn't find any reference to it, in user guide, or > QCC. Then again, the only reference to SVG in the - 8.1.3 - user guide is to > say that there is a third-party library to import and export.) > > TIA, > > Ben From benr_mc at cogapp.com Tue Feb 21 12:13:25 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 21 Feb 2017 17:13:25 +0000 Subject: Are SVG icons supposed to work on Android? Message-ID: per the subject really - I added some snazzy SVG icons into my app, for no better reason than that I could - but when I built to Android, one of them didn't appear at all, and when the other is supposed to briefly fade in and out again, instead a square of approximately the same size does so. Is this a known issue? (I couldn't find any reference to it, in user guide, or QCC. Then again, the only reference to SVG in the - 8.1.3 - user guide is to say that there is a third-party library to import and export.) TIA, Ben From jacque at hyperactivesw.com Tue Feb 21 12:55:13 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Feb 2017 11:55:13 -0600 Subject: Are SVG icons supposed to work on Android? In-Reply-To: References: Message-ID: <15a61d01be8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm using svg in a couple of Android apps and they work fine. You do need to make sure that SVG is selected in the Inclusions pane of the standalone settings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 21, 2017 11:47:35 AM Ben Rubinstein via use-livecode wrote: > per the subject really - I added some snazzy SVG icons into my app, for no > better reason than that I could - but when I built to Android, one of them > didn't appear at all, and when the other is supposed to briefly fade in and > out again, instead a square of approximately the same size does so. > > Is this a known issue? (I couldn't find any reference to it, in user guide, or > QCC. Then again, the only reference to SVG in the - 8.1.3 - user guide is to > say that there is a third-party library to import and export.) > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Tue Feb 21 13:09:46 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 21 Feb 2017 18:09:46 +0000 Subject: Inclusions on Android (was Re: Are SVG icons supposed to work on Android?) In-Reply-To: <188c7757-7008-1431-0cb2-c50355b362fd@cogapp.com> References: <188c7757-7008-1431-0cb2-c50355b362fd@cogapp.com> Message-ID: Not as far as I know- if the search for inclusions wasn't working I would expect it to be an ide bug... does it work in a desktop standalone? On Tue, 21 Feb 2017 at 17:32, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Immediately after sending the below, I decide to put that project on hold > and > try another one on Android - and found that a segmented control widget was > missing. > > I switched to manually-selected inclusions, and was then able to see the > segmented control widget on Android; and then went back to the previous > project, manually selected SVG icons, and found thqt worked too. > > So, forget the question about SVG working on Android; but is there a known > issue with the inclusion search not working for Android builds? > > TIA, > > Ben > > On 21/02/2017 17:13, Ben Rubinstein wrote: > > per the subject really - I added some snazzy SVG icons into my app, for > no > > better reason than that I could - but when I built to Android, one of > them > > didn't appear at all, and when the other is supposed to briefly fade in > and > > out again, instead a square of approximately the same size does so. > > > > Is this a known issue? (I couldn't find any reference to it, in user > guide, or > > QCC. Then again, the only reference to SVG in the - 8.1.3 - user guide > is to > > say that there is a third-party library to import and export.) > > > > TIA, > > > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 21 13:15:35 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Feb 2017 18:15:35 +0000 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> Message-ID: You're welcome Bob. The "server" is running locally. It is a stack in the LiveCode IDE listening for requests from Sublime Text (of any other editor I suppose). The stack is included in the Levure framework source files. Some enterprising soul could create a plugin for LiveCode that performs the same function more generally. -- Trevor DeVore On Tue, Feb 21, 2017 at 9:53 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Nice. Thanks for all this work Trevor. I am looking forward to using > Sublime Text as my defacto script editor. I hesitate to install a web > server only because I don't feel comfortable exposing another web server to > the internet from my employer's network. I would eventually have to explain > why I did it, which would not make the least bit of sense to the owners. > > Otherwise I will have to set this up at home. > > Bob S > > > > On Feb 20, 2017, at 12:03 , Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi List, > > > > I added a screencast showing how to configure a Sublime Text project to a > > notify a Levure application running in the IDE about updates to script > only > > stacks. This allows you to edit script only stacks in Sublime Text and > have > > the stack script updated in the IDE. > > > > https://www.youtube.com/watch?v=gkVo35Tb3ck > > > > -- > > Trevor DeVore > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Tue Feb 21 13:35:12 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 21 Feb 2017 18:35:12 +0000 Subject: Inclusions on Android (was Re: Are SVG icons supposed to work on Android?) In-Reply-To: References: <188c7757-7008-1431-0cb2-c50355b362fd@cogapp.com> Message-ID: <5a3cc61b-d8c6-9c06-b9ab-7da01e82097c@cogapp.com> Hi Ali (and Jacque) - thanks for responding. Here's what I'm seeing: A very simple stack with a field and a segemented widget (I've concentrated on this stack because it's an easier test for me than the SVG icon, but I think it's the same thing). Standalone settings for both Android and iOS. 1. Start with manually selected inclusions: segmented control widget checked. - App has the widget on both Android and iOS. 2. Now switch to 'search for inclusions', build new apps. - App has the widget on both Android and iOS. 3. Now switch to 'select inclusions', uncheck the segmented control widget; switch back to 'search for inclusions'. Build new apps. - App on iOS has the widget, but app on Android doesn't. In other words, it seems that the standalone builder for Android always works from the manually selected inclusions, ignoring the result of the 'search for required inclusions'. (BTW in case it turns out to make a difference to reproduce this - I'm too lazy to use Xcode and APK directly, so although in my tests both apps were being built each time, I was actually checking the results by switching the "Test Target" between an Android and an iOS device, and using "Test" - so actually building both apps twice for each condition.) Ben On 21/02/2017 18:09, Ali Lloyd via use-livecode wrote: > Not as far as I know- if the search for inclusions wasn't working I would > expect it to be an ide bug... does it work in a desktop standalone? > > On Tue, 21 Feb 2017 at 17:32, Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Immediately after sending the below, I decide to put that project on hold >> and >> try another one on Android - and found that a segmented control widget was >> missing. >> >> I switched to manually-selected inclusions, and was then able to see the >> segmented control widget on Android; and then went back to the previous >> project, manually selected SVG icons, and found thqt worked too. >> >> So, forget the question about SVG working on Android; but is there a known >> issue with the inclusion search not working for Android builds? >> >> TIA, >> >> Ben >> >> On 21/02/2017 17:13, Ben Rubinstein wrote: >>> per the subject really - I added some snazzy SVG icons into my app, for >> no >>> better reason than that I could - but when I built to Android, one of >> them >>> didn't appear at all, and when the other is supposed to briefly fade in >> and >>> out again, instead a square of approximately the same size does so. >>> >>> Is this a known issue? (I couldn't find any reference to it, in user >> guide, or >>> QCC. Then again, the only reference to SVG in the - 8.1.3 - user guide >> is to >>> say that there is a third-party library to import and export.) >>> >>> TIA, >>> >>> Ben >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Tue Feb 21 14:19:22 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 21 Feb 2017 14:19:22 -0500 Subject: SVG To PNG v04 Message-ID: Hi All, Download a new version of this utility stack (Draft 04) In this version the svg file is converted to a png image and is copied automatically from the Widget Browser and pasted within the stack in a new png image. Requires LiveCode 8.1.3 or later. In next versions, I will include an interface for applying scaling, clipping, grouping, svg filters, svg transforms, etc... to imported svg. Many thanks again to Peter Brett and Jonathan Lynch for posting their stacks and demonstrate how to pass data from the Browser Widget to Livecode. Download the latest version of this compressed stack from this forum thread: http://forums.livecode.com/viewtopic.php?f=11&t=28384&p=151620#p151620 Al From bobsneidar at iotecdigital.com Tue Feb 21 17:28:44 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Feb 2017 22:28:44 +0000 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> Message-ID: <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> Oh IC! I was thinking I had to install LC Server! That helps a lot. Bob S > On Feb 21, 2017, at 10:15 , Trevor DeVore via use-livecode wrote: > > You're welcome Bob. > > The "server" is running locally. It is a stack in the LiveCode IDE > listening for requests from Sublime Text (of any other editor I suppose). > The stack is included in the Levure framework source files. Some > enterprising soul could create a plugin for LiveCode that performs the same > function more generally. > > -- > Trevor DeVore From revdev at pdslabs.net Tue Feb 21 17:33:38 2017 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 21 Feb 2017 14:33:38 -0800 Subject: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS" Message-ID: <0731d7fa-7aeb-13d1-929e-9e86802a6904@pdslabs.net> Hi folks, Today I got back to my office after a long weekend to find that a desktop app I support, which was working fine last week, is blowing up during a server login process. It's trying to log into a system that runs on an on-rev server. Looking at the server globals, I notice this one: $_SERVER[HTTP_UPGRADE_INSECURE_REQUESTS] = 1 Does anyone know if this was recently changed? (grasping at straws here) Thanks - Phil Davis -- Phil Davis From bobsneidar at iotecdigital.com Tue Feb 21 17:53:36 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Feb 2017 22:53:36 +0000 Subject: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS" In-Reply-To: <0731d7fa-7aeb-13d1-929e-9e86802a6904@pdslabs.net> References: <0731d7fa-7aeb-13d1-929e-9e86802a6904@pdslabs.net> Message-ID: <981DEBBC-9150-49AB-9D73-0C1A5ACE0AF8@iotecdigital.com> Well if it's straws you are grasping at, I can tell you we had a customer last week who has 2 copiers which suddently began failing scan to SMB share, and nothing we could do would get it to talk to the server. I had another customer call this morning with the same problem. I'm a little concerned that Microsoft "expired" (forced) an update or patch out that may be causing an issue. Bob S > On Feb 21, 2017, at 14:33 , Phil Davis via use-livecode wrote: > > Hi folks, > > Today I got back to my office after a long weekend to find that a desktop app I support, which was working fine last week, is blowing up during a server login process. It's trying to log into a system that runs on an on-rev server. > > Looking at the server globals, I notice this one: > > $_SERVER[HTTP_UPGRADE_INSECURE_REQUESTS] = 1 > > Does anyone know if this was recently changed? > > (grasping at straws here) > > Thanks - > Phil Davis From lists at mangomultimedia.com Tue Feb 21 18:02:10 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Feb 2017 23:02:10 +0000 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> Message-ID: Your are probably thinking about the linter which checks your code for errors while you type. The LC server executable is installed locally if you want Sublime Text to check your code for errors The linter that uses the server executable is available here: https://github.com/trevordevore/sublimelinter-contrib-livecodelint -- Trevor DeVore On Tue, Feb 21, 2017 at 4:29 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Oh IC! I was thinking I had to install LC Server! That helps a lot. > > Bob S > > > > On Feb 21, 2017, at 10:15 , Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > You're welcome Bob. > > > > The "server" is running locally. It is a stack in the LiveCode IDE > > listening for requests from Sublime Text (of any other editor I suppose). > > The stack is included in the Levure framework source files. Some > > enterprising soul could create a plugin for LiveCode that performs the > same > > function more generally. > > > > -- > > Trevor DeVore > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revdev at pdslabs.net Tue Feb 21 18:07:51 2017 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 21 Feb 2017 15:07:51 -0800 Subject: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS" In-Reply-To: <981DEBBC-9150-49AB-9D73-0C1A5ACE0AF8@iotecdigital.com> References: <0731d7fa-7aeb-13d1-929e-9e86802a6904@pdslabs.net> <981DEBBC-9150-49AB-9D73-0C1A5ACE0AF8@iotecdigital.com> Message-ID: <18c2a1a6-08c1-271f-1654-27b9b5ec3436@pdslabs.net> Thanks Bob - at least there are plenty of straws to go around. Guess I'll stop guessing and start digging. Phil On 2/21/17 2:53 PM, Bob Sneidar via use-livecode wrote: > Well if it's straws you are grasping at, I can tell you we had a customer last week who has 2 copiers which suddently began failing scan to SMB share, and nothing we could do would get it to talk to the server. I had another customer call this morning with the same problem. I'm a little concerned that Microsoft "expired" (forced) an update or patch out that may be causing an issue. > > Bob S > > >> On Feb 21, 2017, at 14:33 , Phil Davis via use-livecode wrote: >> >> Hi folks, >> >> Today I got back to my office after a long weekend to find that a desktop app I support, which was working fine last week, is blowing up during a server login process. It's trying to log into a system that runs on an on-rev server. >> >> Looking at the server globals, I notice this one: >> >> $_SERVER[HTTP_UPGRADE_INSECURE_REQUESTS] = 1 >> >> Does anyone know if this was recently changed? >> >> (grasping at straws here) >> >> Thanks - >> Phil Davis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From bobsneidar at iotecdigital.com Tue Feb 21 18:59:54 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Feb 2017 23:59:54 +0000 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> Message-ID: <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> Thanks Trevor. Just one more question. Do I copy JUST the executable, or the whole folder including Drivers folder etc. Bob S > On Feb 21, 2017, at 15:02 , Trevor DeVore via use-livecode wrote: > > Your are probably thinking about the linter which checks your code for > errors while you type. The LC server executable is installed locally if > you want Sublime Text to check your code for errors The linter that uses > the server executable is available here: > > https://github.com/trevordevore/sublimelinter-contrib-livecodelint > > -- > Trevor DeVore From jonathandlynch at gmail.com Tue Feb 21 20:35:27 2017 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 21 Feb 2017 20:35:27 -0500 Subject: SVG To PNG v04 In-Reply-To: References: Message-ID: Thanks, Alejandro. If you get a chance, please check out version 3 of the LC to JS stack. I loaded it up a few days ago. In version 2, it took 230 milliseconds to get the first 10,000 digits of pi from an LC field and into a variable in Javascript. In version 3, it takes 8 milliseconds. I am glad folks are starting to realize how much potential the browser widget provides - apparently including converting SVG to PNG :) On Tue, Feb 21, 2017 at 2:19 PM, Alejandro Tejada via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi All, > > Download a new version of this utility stack (Draft 04) > In this version the svg file is converted to a png image > and is copied automatically from the Widget Browser > and pasted within the stack in a new png image. > > Requires LiveCode 8.1.3 or later. > > In next versions, I will include an interface for > applying scaling, clipping, grouping, svg filters, > svg transforms, etc... to imported svg. > > Many thanks again to Peter Brett and Jonathan Lynch > for posting their stacks and demonstrate how to pass > data from the Browser Widget to Livecode. > > Download the latest version of this compressed stack > from this forum thread: > http://forums.livecode.com/viewtopic.php?f=11&t=28384&p=151620#p151620 > > Al > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From lists at mangomultimedia.com Tue Feb 21 21:19:25 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Feb 2017 02:19:25 +0000 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> Message-ID: On Tue, Feb 21, 2017 at 6:00 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Trevor. Just one more question. Do I copy JUST the executable, or > the whole folder including Drivers folder etc Just the executable. -- Trevor DeVore > From ambassador at fourthworld.com Tue Feb 21 21:27:28 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Feb 2017 18:27:28 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> It's always exciting to see new ground explored with inter-app communications, but with script editors I find myself wondering: Why not use LC's? If it's not on par with alternatives and for some reason can't be made to be on par, why don't we just ship LC with an appropriately-licensed editor, allow hooks like the ones discussed here for any other editor folks might want, and spend the development time we used to spend on LC's editor on other things? -- Richard Gaskin Fourth World Systems From revdev at pdslabs.net Tue Feb 21 21:30:23 2017 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 21 Feb 2017 18:30:23 -0800 Subject: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS" In-Reply-To: <18c2a1a6-08c1-271f-1654-27b9b5ec3436@pdslabs.net> References: <0731d7fa-7aeb-13d1-929e-9e86802a6904@pdslabs.net> <981DEBBC-9150-49AB-9D73-0C1A5ACE0AF8@iotecdigital.com> <18c2a1a6-08c1-271f-1654-27b9b5ec3436@pdslabs.net> Message-ID: <6c4e0e7e-8a2b-9a7c-a398-7a2927dccadc@pdslabs.net> WHAT JUST HAPPENED? The desktop app I mentioned earlier is now (around 6:15 PM Pacific time) suddenly no longer blowing up during login, and its normal speed has been restored. I suspect someone at Command Central changed a server setting... but I see my 'HTTP_UPGRADE_INSECURE_REQUESTS' is still turned on. Whatever magical thing happened, I'm very grateful. But I sure would like to know what it was so I can tell my client. Thanks - Phil On 2/21/17 3:07 PM, Phil Davis via use-livecode wrote: > Thanks Bob - at least there are plenty of straws to go around. Guess > I'll stop guessing and start digging. > > Phil > > > On 2/21/17 2:53 PM, Bob Sneidar via use-livecode wrote: >> Well if it's straws you are grasping at, I can tell you we had a >> customer last week who has 2 copiers which suddently began failing >> scan to SMB share, and nothing we could do would get it to talk to >> the server. I had another customer call this morning with the same >> problem. I'm a little concerned that Microsoft "expired" (forced) an >> update or patch out that may be causing an issue. >> >> Bob S >> >> >>> On Feb 21, 2017, at 14:33 , Phil Davis via use-livecode >>> wrote: >>> >>> Hi folks, >>> >>> Today I got back to my office after a long weekend to find that a >>> desktop app I support, which was working fine last week, is blowing >>> up during a server login process. It's trying to log into a system >>> that runs on an on-rev server. >>> >>> Looking at the server globals, I notice this one: >>> >>> $_SERVER[HTTP_UPGRADE_INSECURE_REQUESTS] = 1 >>> >>> Does anyone know if this was recently changed? >>> >>> (grasping at straws here) >>> >>> Thanks - >>> Phil Davis >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Phil Davis From brahma at hindu.org Tue Feb 21 21:46:44 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 22 Feb 2017 02:46:44 +0000 Subject: Sets props of multiple objects from msg box Message-ID: <7624DDCF-F714-4855-B19C-C96DC91D36A0@hindu.org> select three fields enter in msg box: set the margins of the selectedObjects to 10,10,10,10 Expected: margins of all three fields should change observed: only the first one registers a change in margins the other two do not. Is this a bug? From roger.e.eller at sealedair.com Tue Feb 21 22:10:32 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 21 Feb 2017 22:10:32 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: I'm not what you would call a power user, nor do I need an editor that handles multiple languages and syntax coloring variations. I like the truly integrated LC editor just fine. It is great to see users providing options for those who need more than that. ~Roger On Feb 21, 2017 9:28 PM, "Richard Gaskin via use-livecode" < use-livecode at lists.runrev.com> wrote: > It's always exciting to see new ground explored with inter-app > communications, but with script editors I find myself wondering: > > Why not use LC's? > > If it's not on par with alternatives and for some reason can't be made to > be on par, why don't we just ship LC with an appropriately-licensed editor, > allow hooks like the ones discussed here for any other editor folks might > want, and spend the development time we used to spend on LC's editor on > other things? > > -- > 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 brahma at hindu.org Tue Feb 21 22:42:36 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 22 Feb 2017 03:42:36 +0000 Subject: Reveal in Find on Windows Message-ID: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> for in house production tools I use an apples script or shell script to reveal a file in the finder how do we do this on windows? BR From capellan2000 at gmail.com Tue Feb 21 23:15:44 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 22 Feb 2017 00:15:44 -0400 Subject: SVG To PNG v04 Message-ID: Hi Jonathan, > If you get a chance, please check out version 3 of > the LC to JS stack. I loaded it up a few days ago. > In version 2, it took 230 milliseconds to get > the first 10,000 digits of pi from an LC field and > into a variable in Javascript. In version 3, it takes > 8 milliseconds. Yes, I checked this and your previous stacks. Many, many thanks for sharing your expertise will all developers in this platform. :D I encourage you to keep publishing your very useful demos and tools that explains LC-JS interaction. > I am glad folks are starting to realize how much potential > the browser widget provides - apparently including converting > SVG to PNG :) We started more than 10 years ago, using altBrowser external from Altuit (Chipp Walters). Back then, altBrowser allowed to choose between Internet Explorer and Firefox as web browser engine. Today, Chromium Embedded Framework is a better choice. :) Ideally, we should be able to use the widget browser to run many useful libraries and (why not?) virtual machines from other programming languages: https://lansley.com/2016/09/27/javascript-my-web-browser-runs-python-and-basic-and/ Al From jacque at hyperactivesw.com Wed Feb 22 01:12:15 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Feb 2017 00:12:15 -0600 Subject: Sets props of multiple objects from msg box In-Reply-To: <7624DDCF-F714-4855-B19C-C96DC91D36A0@hindu.org> References: <7624DDCF-F714-4855-B19C-C96DC91D36A0@hindu.org> Message-ID: <549b2c13-4f77-dc42-e208-f23852903d93@hyperactivesw.com> On 2/21/17 8:46 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > select three fields > > enter in msg box: > > set the margins of the selectedObjects to 10,10,10,10 > > Expected: margins of all three fields should change > > observed: only the first one registers a change in margins > the other two do not. > > Is this a bug? I don't think so, you need to get the selectedObjects and run a loop. I think that's how the property inspector does it too. In fact, if this is just for development, it's easier to do it in the PI. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Wed Feb 22 06:54:33 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 22 Feb 2017 06:54:33 -0500 Subject: Reveal in Find on Windows In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> Message-ID: get shell (?explorer.exe /select,c:\windows\system32\selected_file.txt") Source: http://stackoverflow.com/questions/29970897/cmd-file-tasks-open-directory-and-select-file ~Roger On Feb 21, 2017 10:43 PM, "Sannyasin Brahmanathaswami via use-livecode" < use-livecode at lists.runrev.com> wrote: for in house production tools I use an apples script or shell script to reveal a file in the finder how do we do this on windows? 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 m.schonewille at economy-x-talk.com Wed Feb 22 08:00:47 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 22 Feb 2017 14:00:47 +0100 Subject: [ANN] About the conference in Antwerp In-Reply-To: <64ae05ee-fe35-558f-04e8-46f494b8cd90@economy-x-talk.com> References: <64ae05ee-fe35-558f-04e8-46f494b8cd90@economy-x-talk.com> Message-ID: <75c4937a-c741-271c-2211-3dd3dcf71431@economy-x-talk.com> Hi, Please note: today is the last possibility to register for the eHUG International Mini Conference on LiveCode in Antwerp, Belgium. I have updated the website. Please go to http://economy-x-talk.com/conf/ We're still looking for speakers. If you want to share your ideas or are looking for advice, this is your opportunity. We're expecting people from the Netherlands, Germany, Belgium and Switzerland. Given the current location, Antwerp, this conference is an ideal opportunity to meet with other LiveCode programmers, if you're in the North of France. Please, consider participating. The website uses PayPal to handle the registration fee. If this isn't a good option for you, contact me. Got any more questions? Just send me an e-mail. Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 19-Feb-17 om 13:10 schreef Mark Schonewille: > Hello, > > Next week is the 'eHUG International Mini Conference on LiveCode'. The > conference will take place on 25th February from 13:00h. until 18:00h. > The conference room is open from 12:00h. The location is the Ibis hotel, > Meistraat 39 in Antwerp, Belgium. > > Participation is only possible if you purchase a ticket no later than > 22nd February. The tickets will be sent to you later this week. There > are 20 tickets available. If you want to be sure of a ticket, you'll > need to act quickly. > > The prices of the tickets are listed on the website. Additionally, > non-alcoholic beverages are available for 6 euro per person. Coffee and > tea are available from a dispenser (for which my apologies). If any > budget is left, it will be spent on additional drinks or perhaps on > dinner afterwards. > > Everything we need is available: WIFI, a beamer with VGA connection, > electricity, at least one extra laptop, drinks, etc. If you have any > special requests, just let me know. > > We need more speakers! You can tell something about your own project, > private or professional, for which you have created a liveCode stack. If > you use a different platform, such as SuperCard, Filemaker, HyperStudio > or Xojo, you're very welcome to tell us about it. > > Do you think you're not so good at making presentations? Organise a > workshop instead! Just show us how you work with your favorite tool and > if you like, or if you can, invite your public to join. > > Please indicate that you're a speaker when you buy a ticket. You will > receive a discount. A discount is also available if you buy the book > Programming LiveCode for the Real Beginner. > > After the formal part of the conference, we may have dinner together. > The next day, we might have a social event before going home. We will > organise this on the spot. > > I hope to have informed you sufficiently. Just send me an e-mail > right-away if you have any questions and I'll reply as soon as I can. > > More information at http://economy-x-talk.com/conf > From dvglasgow at gmail.com Wed Feb 22 08:15:23 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 22 Feb 2017 13:15:23 +0000 Subject: Null symbol cross platform In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> Message-ID: Hello, folks. I already posted this, but no response. I have a bit more informations and new areas of confusion, so I thought I would try again. I have a group displaying a number of single character fields which can be clicked on to populate other fields. Essentially a pick list. One of the options is the null set character ( the O with a line through it, U+2205). I have tried to find a cross platform font that displays it on Mac & Win. I got some apparently duff info that Trebuchet would do the trick, It is OK on Mac, but appears as the mystery character box on Win standalone. So I did some more digging, and it is listed among the characters displayed by unicode Arial MS. So I set the fonts accordingly and again it works fine on Mac, but when I test a build on Windows, I get the mystery box. This really surprised me. I did wonder whether I might get the NUL symbol appearing as letters top left to bottom right (U+2400), but the no such character surprised me. I have never attempted any unicode jiggery pokery - is that what I need to do, and if so, any guidance? Best wishes, David Glasgow From richmondmathewson at gmail.com Wed Feb 22 09:04:38 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 22 Feb 2017 16:04:38 +0200 Subject: Null symbol cross platform In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> Message-ID: <3a6a67d0-52f7-7ce3-eefa-60f5154e31d7@gmail.com> Frankly I would just take a look at the Unicode convention's guff: U+2205 is a sort of "O" with a slanted line through it: http://www.fileformat.info/info/unicode/char/2205/index.htm http://www.unicode.org/charts/PDF/U2200.pdf If you stare at this PDF long enough you might get a free trip without having to reach for the LSD! This is NOT really the problem. What is the problem is whether the stuff "under the hood" in your operating system recognises U+2205 as the null set character or not. I would suggest the "quickest route to heaven" is to ask Microsoft and Apple directly. This would seem to suggest that Windows has not jettisoned all its pre-Unicode bumf: http://superuser.com/questions/61742/how-to-insert-a-null-character-ascii-00-in-notepad While ASCII 00 may result in a null set character being inserted in some Windowsy code, it may not be displayed as the "happy" slashed zero. Richmond. On 2/22/17 3:15 pm, David V Glasgow via use-livecode wrote: > Hello, folks. > > I already posted this, but no response. I have a bit more informations and new areas of confusion, so I thought I would try again. > > I have a group displaying a number of single character fields which can be clicked on to populate other fields. Essentially a pick list. One of the options is the null set character ( the O with a line through it, U+2205). I have tried to find a cross platform font that displays it on Mac & Win. I got some apparently duff info that Trebuchet would do the trick, It is OK on Mac, but appears as the mystery character box on Win standalone. > > So I did some more digging, and it is listed among the characters displayed by unicode Arial MS. So I set the fonts accordingly and again it works fine on Mac, but when I test a build on Windows, I get the mystery box. This really surprised me. I did wonder whether I might get the NUL symbol appearing as letters top left to bottom right (U+2400), but the no such character surprised me. > > I have never attempted any unicode jiggery pokery - is that what I need to do, and if so, any guidance? > > Best wishes, > > David Glasgow > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 22 10:34:59 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Feb 2017 15:34:59 +0000 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> Message-ID: <649F892D-A80F-4688-972E-3E692CD7EEC7@iotecdigital.com> If the debugger hilites errors in red, it's working! Bob S > On Feb 21, 2017, at 18:19 , Trevor DeVore via use-livecode wrote: > >> Thanks Trevor. Just one more question. Do I copy JUST the executable, or >> the whole folder including Drivers folder etc > > > Just the executable. > > -- > Trevor DeVore From bobsneidar at iotecdigital.com Wed Feb 22 10:42:23 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Feb 2017 15:42:23 +0000 Subject: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS" In-Reply-To: <6c4e0e7e-8a2b-9a7c-a398-7a2927dccadc@pdslabs.net> References: <0731d7fa-7aeb-13d1-929e-9e86802a6904@pdslabs.net> <981DEBBC-9150-49AB-9D73-0C1A5ACE0AF8@iotecdigital.com> <18c2a1a6-08c1-271f-1654-27b9b5ec3436@pdslabs.net> <6c4e0e7e-8a2b-9a7c-a398-7a2927dccadc@pdslabs.net> Message-ID: That actually sounds like a constant that determines if HTTP requests get bumped up to HTTPS. So I googled it and discovered that this is pretty much what it does. For a login request, you would expect that this should be enabled, otherwise you are sending passwords in the clear. You probably know all that, but never assume is the IT Tech's motto. Just tell the client that someone at the server site was working with security certificates and be done with it. Bob S > On Feb 21, 2017, at 18:30 , Phil Davis via use-livecode wrote: > > WHAT JUST HAPPENED? The desktop app I mentioned earlier is now (around 6:15 PM Pacific time) suddenly no longer blowing up during login, and its normal speed has been restored. I suspect someone at Command Central changed a server setting... but I see my 'HTTP_UPGRADE_INSECURE_REQUESTS' is still turned on. > > Whatever magical thing happened, I'm very grateful. But I sure would like to know what it was so I can tell my client. > > Thanks - > Phil From lists at mangomultimedia.com Wed Feb 22 10:43:14 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Feb 2017 09:43:14 -0600 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: <649F892D-A80F-4688-972E-3E692CD7EEC7@iotecdigital.com> References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> <649F892D-A80F-4688-972E-3E692CD7EEC7@iotecdigital.com> Message-ID: On Wed, Feb 22, 2017 at 9:34 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > If the debugger hilites errors in red, it's working! > Great. You will see the error message in the horizontal pane along the bottom of the window. You can use CMD + CONTROL + A to navigate to the next error in the script. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From lists at mangomultimedia.com Wed Feb 22 10:57:21 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Feb 2017 09:57:21 -0600 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: On Tue, Feb 21, 2017 at 8:27 PM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > It's always exciting to see new ground explored with inter-app > communications, but with script editors I find myself wondering: > > Why not use LC's? > > If it's not on par with alternatives and for some reason can't be made to > be on par, why don't we just ship LC with an appropriately-licensed editor, > allow hooks like the ones discussed here for any other editor folks might > want, and spend the development time we used to spend on LC's editor on > other things? > Richard, Like Roger I think both solutions are useful depending on user preference. I would guess that a large number of LiveCode users are happy with the current editor. Iterating on the one that ships with LC is probably in the best interest for those users. Keeping everything within LC is definitely a smoother new user experience. Personally I don?t expect the LC team to create a script editor that meets all of my needs. They don?t have enough resources to create an editor that matches a product like Sublime Text. Sublime Text is an app dedicated entirely to editing. There are thousands of people contributing tools to Sublime Text. In addition to the general feature, there is the added bonus that I can work on my company apps that are created using Ruby on Rails, Ember, Salesforce, etc. For me using the same editor for all projects is a big productivity boost. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From ambassador at fourthworld.com Wed Feb 22 11:16:57 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Feb 2017 08:16:57 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: Roger Eller wrote: > On Feb 21, 2017 9:28 PM, "Richard Gaskin via use-livecode" wrote: > >> It's always exciting to see new ground explored with inter-app >> communications, but with script editors I find myself wondering: >> >> Why not use LC's? >> >> If it's not on par with alternatives and for some reason can't be >> made to be on par, why don't we just ship LC with an appropriately- >> licensed editor, allow hooks like the ones discussed here for any >> other editor folks might want, and spend the development time we >> used to spend on LC's editor on other things? > > I'm not what you would call a power user, nor do I need an editor that > handles multiple languages and syntax coloring variations. I like the > truly integrated LC editor just fine. It is great to see users > providing options for those who need more than that. Options are good. I'm wondering if perhaps we could embrace that more fully. The SE is a very expensive component to maintain. If we could replace it with a third-party editor, and put a fraction of the time we used to spend maintaining and enhancing the SE into providing a mechanism to use any editor the user prefers, we'd have a better editor in the box and vast options for using other editors, and save development expense along the way. -- 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 revdev at pdslabs.net Wed Feb 22 11:19:09 2017 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 22 Feb 2017 08:19:09 -0800 Subject: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS" In-Reply-To: References: <0731d7fa-7aeb-13d1-929e-9e86802a6904@pdslabs.net> <981DEBBC-9150-49AB-9D73-0C1A5ACE0AF8@iotecdigital.com> <18c2a1a6-08c1-271f-1654-27b9b5ec3436@pdslabs.net> <6c4e0e7e-8a2b-9a7c-a398-7a2927dccadc@pdslabs.net> Message-ID: <7fe669cd-aeae-a541-8acb-cd6633b2abf9@pdslabs.net> I assumed the same as you but didn't look it up. Good idea about what to say - thanks Bob! Phil On 2/22/17 7:42 AM, Bob Sneidar via use-livecode wrote: > That actually sounds like a constant that determines if HTTP requests get bumped up to HTTPS. So I googled it and discovered that this is pretty much what it does. For a login request, you would expect that this should be enabled, otherwise you are sending passwords in the clear. You probably know all that, but never assume is the IT Tech's motto. > > Just tell the client that someone at the server site was working with security certificates and be done with it. > > Bob S > > >> On Feb 21, 2017, at 18:30 , Phil Davis via use-livecode wrote: >> >> WHAT JUST HAPPENED? The desktop app I mentioned earlier is now (around 6:15 PM Pacific time) suddenly no longer blowing up during login, and its normal speed has been restored. I suspect someone at Command Central changed a server setting... but I see my 'HTTP_UPGRADE_INSECURE_REQUESTS' is still turned on. >> >> Whatever magical thing happened, I'm very grateful. But I sure would like to know what it was so I can tell my client. >> >> Thanks - >> Phil > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From roger.e.eller at sealedair.com Wed Feb 22 11:28:04 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 22 Feb 2017 11:28:04 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: I'm fine with a different editor, as long as it is "in the box". I don't want to be forced into adding components from other sites unless I choose to, like plugins, etc. The IDE should install as a complete thing (editor included). 2 cents. ~Roger On Wed, Feb 22, 2017 at 11:16 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Roger Eller wrote: > > > On Feb 21, 2017 9:28 PM, "Richard Gaskin via use-livecode" wrote: > > > >> It's always exciting to see new ground explored with inter-app > >> communications, but with script editors I find myself wondering: > >> > >> Why not use LC's? > >> > >> If it's not on par with alternatives and for some reason can't be > >> made to be on par, why don't we just ship LC with an appropriately- > >> licensed editor, allow hooks like the ones discussed here for any > >> other editor folks might want, and spend the development time we > >> used to spend on LC's editor on other things? > > > > I'm not what you would call a power user, nor do I need an editor that > > handles multiple languages and syntax coloring variations. I like the > > truly integrated LC editor just fine. It is great to see users > > providing options for those who need more than that. > > Options are good. I'm wondering if perhaps we could embrace that more > fully. > > The SE is a very expensive component to maintain. If we could replace it > with a third-party editor, and put a fraction of the time we used to spend > maintaining and enhancing the SE into providing a mechanism to use any > editor the user prefers, we'd have a better editor in the box and vast > options for using other editors, and save development expense along the way. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthlearningsolutions.org Wed Feb 22 11:39:34 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 22 Feb 2017 08:39:34 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: <056EC7E3-5334-4910-9A7C-900928F8B654@earthlearningsolutions.org> I agree with Roger, There needs to be a useful script editor bundled with livecode. I'm suspecting that a lot of the impetus for sublime text and other external editors has to do with professional developers' need to use github with script only stacks. For entry level users, the built in editor would be their first exposure and perhaps sufficient. I also suspect that folks new to programming, or non-professionals might be a target too good to "not" keep on our good side. Best, Bill William Prothero http://es.earthednet.org > On Feb 22, 2017, at 8:28 AM, Roger Eller via use-livecode wrote: > > I'm fine with a different editor, as long as it is "in the box". I don't > want to be forced into adding components from other sites unless I choose > to, like plugins, etc. The IDE should install as a complete thing (editor > included). > > 2 cents. > ~Roger > > > On Wed, Feb 22, 2017 at 11:16 AM, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Roger Eller wrote: >> >>>> On Feb 21, 2017 9:28 PM, "Richard Gaskin via use-livecode" wrote: >>>> >>>> It's always exciting to see new ground explored with inter-app >>>> communications, but with script editors I find myself wondering: >>>> >>>> Why not use LC's? >>>> >>>> If it's not on par with alternatives and for some reason can't be >>>> made to be on par, why don't we just ship LC with an appropriately- >>>> licensed editor, allow hooks like the ones discussed here for any >>>> other editor folks might want, and spend the development time we >>>> used to spend on LC's editor on other things? >>> >>> I'm not what you would call a power user, nor do I need an editor that >>> handles multiple languages and syntax coloring variations. I like the >>> truly integrated LC editor just fine. It is great to see users >>> providing options for those who need more than that. >> >> Options are good. I'm wondering if perhaps we could embrace that more >> fully. >> >> The SE is a very expensive component to maintain. If we could replace it >> with a third-party editor, and put a fraction of the time we used to spend >> maintaining and enhancing the SE into providing a mechanism to use any >> editor the user prefers, we'd have a better editor in the box and vast >> options for using other editors, and save development expense along the way. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Feb 22 11:46:22 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Feb 2017 08:46:22 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <056EC7E3-5334-4910-9A7C-900928F8B654@earthlearningsolutions.org> References: <056EC7E3-5334-4910-9A7C-900928F8B654@earthlearningsolutions.org> Message-ID: <4bacc132-afaf-6750-193c-b39beb925ea1@fourthworld.com> prothero wrote: > I agree with Roger, > There needs to be a useful script editor bundled with livecode. Absolutely. No development environment could claim to be integrated without including such an essential components. I'm not suggesting we make people hunt for their own components. I'm wondering if it makes sense to officially embrace external editors, for both utility and cost savings. > I'm suspecting that a lot of the impetus for sublime text and other > external editors has to do with professional developers' need to use > github with script only stacks. For entry level users, the built in > editor would be their first exposure and perhaps sufficient. > > I also suspect that folks new to programming, or non-professionals > might be a target too good to "not" keep on our good side. Apologies that I didn't wrote more clearly. In all my communications on this I've tried to stress that a good editor be bundled with the LC install. But if that editor were external, then the IDE needs only one interface for managing not only the included editor, but any other editor anyone might want to use. Out of the box there's an experience at least as good as what we have now, and with the click of a Prefs button users could also choose any other editor they prefer. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthlearningsolutions.org Wed Feb 22 11:55:10 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 22 Feb 2017 08:55:10 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <4bacc132-afaf-6750-193c-b39beb925ea1@fourthworld.com> References: <056EC7E3-5334-4910-9A7C-900928F8B654@earthlearningsolutions.org> <4bacc132-afaf-6750-193c-b39beb925ea1@fourthworld.com> Message-ID: Richard, That makes good sense. A mothership sanctioned powerful external editor, with detailed install instructions, would be very nice and would better support those with higher professional aspirations for livecode. Best, Bill William Prothero http://es.earthednet.org > On Feb 22, 2017, at 8:46 AM, Richard Gaskin via use-livecode wrote: > > prothero wrote: > > > I agree with Roger, > > There needs to be a useful script editor bundled with livecode. > > Absolutely. No development environment could claim to be integrated without including such an essential components. > > I'm not suggesting we make people hunt for their own components. I'm wondering if it makes sense to officially embrace external editors, for both utility and cost savings. > > > > I'm suspecting that a lot of the impetus for sublime text and other > > external editors has to do with professional developers' need to use > > github with script only stacks. For entry level users, the built in > > editor would be their first exposure and perhaps sufficient. > > > > I also suspect that folks new to programming, or non-professionals > > might be a target too good to "not" keep on our good side. > > Apologies that I didn't wrote more clearly. > > In all my communications on this I've tried to stress that a good editor be bundled with the LC install. > > But if that editor were external, then the IDE needs only one interface for managing not only the included editor, but any other editor anyone might want to use. > > Out of the box there's an experience at least as good as what we have now, and with the click of a Prefs button users could also choose any other editor they prefer. > > -- > 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 bobsneidar at iotecdigital.com Wed Feb 22 16:09:14 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Feb 2017 21:09:14 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: >From what little I know, the levoure framework is designed to allow multiple devs on a single project. This is almost undoable from within the IDE. If however it's just text files getting worked on, then they can be checked out and in to whatever system you are working with, like Github for example. That is my understanding anyway. Bob S > On Feb 21, 2017, at 18:27 , Richard Gaskin via use-livecode wrote: > > It's always exciting to see new ground explored with inter-app communications, but with script editors I find myself wondering: > > Why not use LC's? > > If it's not on par with alternatives and for some reason can't be made to be on par, why don't we just ship LC with an appropriately-licensed editor, allow hooks like the ones discussed here for any other editor folks might want, and spend the development time we used to spend on LC's editor on other things? > > -- > Richard Gaskin > Fourth World Systems From lists at mangomultimedia.com Wed Feb 22 17:06:32 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Feb 2017 22:06:32 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: On Wed, Feb 22, 2017 at 3:09 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > From what little I know, the levoure framework is designed to allow > multiple devs on a single project. This is almost undoable from within the > IDE. If however it's just text files getting worked on, then they can be > checked out and in to whatever system you are working with, like Github for > example. That is my understanding anyway. I believe if you are editing a script only stack script in the IDE then saving the script will update the script only stack file on disk. So the file will remain a text file. Integrating with github is more about using script only stacks than which editor you choose. That means scripts in a Levure app can be edited with the IDE editor. I just find it takes me less time to add features and fix bugs in a large project when working in Sublime Text which is why I use it. -- Trevor DeVore > From bobsneidar at iotecdigital.com Wed Feb 22 18:35:05 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Feb 2017 23:35:05 +0000 Subject: 8.1.3 Search And Replace Message-ID: <11A943C0-9AB2-41B0-A085-28C2457F97EE@iotecdigital.com> 8.1.3 Search and Replace is much mo bettah. Instead of spinning it's wheels for 2 or 3 minutes on a large project, it gets right down to searching. Kudos to the dev team! Bob S From dochawk at gmail.com Wed Feb 22 18:53:03 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 22 Feb 2017 15:53:03 -0800 Subject: preOpenCard not called when opened from project browser Message-ID: I just found, after trying to open a stack from the project browser, that preOpenCard is not called when the stack is opened this way, whereas it is when using the application browser. Is this correct behavior? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From merakosp at gmail.com Wed Feb 22 18:58:38 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 22 Feb 2017 23:58:38 +0000 Subject: preOpenCard not called when opened from project browser In-Reply-To: References: Message-ID: No, this is a bug which will be fixed in 8.1.4 rc1. http://quality.livecode.com/show_bug.cgi?id=17448 Best, Panos On 22 Feb 2017 23:53, "Dr. Hawkins via use-livecode" < use-livecode at lists.runrev.com> wrote: > I just found, after trying to open a stack from the project browser, that > preOpenCard is not called when the stack is opened this way, whereas it is > when using the application browser. > > Is this correct behavior? > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Feb 22 19:31:42 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Feb 2017 18:31:42 -0600 Subject: Null symbol cross platform In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> Message-ID: On 2/22/17 7:15 AM, David V Glasgow via use-livecode wrote: > I have a group displaying a number of single character fields which > can be clicked on to populate other fields. Essentially a pick list. > One of the options is the null set character ( the O with a line > through it, U+2205). I have tried to find a cross platform font that > displays it on Mac & Win. I got some apparently duff info that > Trebuchet would do the trick, It is OK on Mac, but appears as the > mystery character box on Win standalone. It may be the difference in the character sets for each platform. If you always develop on a Mac, use macToISO() on the character when the platform is win32. LC usually does the conversion by itself, but if you are populating the list from a custom property, the script has to do it. If you aren't using a custom property then I'm not sure why it isn't translating. Is the list coming from somewhere outside LC? If so, textDecode() should work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Wed Feb 22 20:58:37 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 Feb 2017 01:58:37 +0000 Subject: Reveal in Find on Windows In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> Message-ID: <6806BD85-431D-4881-94BE-6982F0D005C9@hindu.org> Thanks Roger! On 2/22/17, 1:54 AM, "use-livecode on behalf of Roger Eller via use-livecode" wrote: get shell (?explorer.exe /select,c:\windows\system32\selected_file.txt") Source: http://stackoverflow.com/questions/29970897/cmd-file-tasks-open-directory-and-select-file ~Roger From brahma at hindu.org Wed Feb 22 21:01:49 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 Feb 2017 02:01:49 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: going a bit OT here? I've dabbled withj Atom, Visual Studio and also long time ago Sublime? any reason you prefer Sublime? I still keep dropping out back to BBEdit.. but if I could find a nother editor that had comparable tools I would use it. So far, atom and Visual Studio keep falling short? On 2/22/17, 5:57 AM, "use-livecode on behalf of Trevor DeVore via use-livecode" wrote: They don?t have enough resources to create an editor that matches a product like Sublime Text. Sublime Text is an app dedicated entirely to editing. There are thousands of people contributing tools to Sublime Text. From MikeKerner at roadrunner.com Wed Feb 22 21:14:43 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 22 Feb 2017 21:14:43 -0500 Subject: Community Dictionary (was Re: Delete element from array) In-Reply-To: References: <59AE9AF7-F523-4D86-BA0B-7E14606585CE@hindu.org> Message-ID: Everyone, Have a look at what Bernd has done. Again, the thread is http://forums.livecode.com/viewtopic.php?f=67&t=28731&p=151678#p151678 On Mon, Jan 30, 2017 at 9:10 PM, Mike Kerner wrote: > Also, over there, I have included a list of bug reports that I found that > seem to be relevant. If you have submitted a bug report for *the way the > dictionary works* (not for an entry being incorrect or requiring > modification, because that is a separate, but eventually related project), > please weigh in so we can add it to the list. > > On Mon, Jan 30, 2017 at 12:00 PM, Mike Kerner > wrote: > >> Do me a favor, please, and post to the thread I already started on the >> forum. >> http://forums.livecode.com/viewtopic.php?f=67&t=28731 >> >> I also have a bug report that I started on this, that I suppose you could >> contribute to, but I would think that first the forum would be the place to >> go, until we have some firm things, so The Team doesn't have even more >> stuff to read when they should be writing. >> >> On Sat, Jan 28, 2017 at 12:03 AM, Sannyasin Brahmanathaswami via >> use-livecode wrote: >> >>> Richard Gaskin wrote: >>> >>> /Documentation/resources/data/api/api.sqlite >>> >>> Oh boy, gonna have fun with that! >>> >>> 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 >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From brahma at hindu.org Wed Feb 22 21:59:20 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 Feb 2017 02:59:20 +0000 Subject: Reveal in Find on Windows In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> Message-ID: <084AD168-CED7-494C-8808-E178C7CAC9E4@hindu.org> OK I studied the doc here: https://support.microsoft.com/en-us/help/130510/command-line-switches-for-windows-explorer and actually the use cases are more often to open a folder but I don't have windows to test does this work to open a folder window on Win32? get shell (?explorer.exe /n,/root,c:\windows\system32\my-project-folder") BR On 2/22/17, 1:54 AM, "use-livecode on behalf of Roger Eller via use-livecode" wrote: get shell (?explorer.exe /select,c:\windows\system32\selected_file.txt") Source: http://stackoverflow.com/questions/29970897/cmd-file-tasks-open-directory-and-select-file ~Roger From brahma at hindu.org Wed Feb 22 22:06:11 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 Feb 2017 03:06:11 +0000 Subject: Reveal in Find on Windows In-Reply-To: <084AD168-CED7-494C-8808-E178C7CAC9E4@hindu.org> References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> <084AD168-CED7-494C-8808-E178C7CAC9E4@hindu.org> Message-ID: <3B199219-3CA6-4E18-9136-9510B0642890@hindu.org> this is what I have so far? command openWorkingFolderInFinder pFolderFile set the itemdel to "/" put pFolderFile into sRootFolder delete item -1 of sRootFolder switch platform() case "MacOS" put ("open " & quote & sRootFolder & quote) into tShell break case "Win32" put ("explorer.exe /n/root," & tRootfolder) into tShell break end switch get shell(tShell) end openWorkingFolderInFinder Can anyone test if this opens a folder on Windows? tks On 2/22/17, 4:59 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: OK I studied the doc here: https://support.microsoft.com/en-us/help/130510/command-line-switches-for-windows-explorer and actually the use cases are more often to open a folder but I don't have windows to test does this work to open a folder window on Win32? get shell (?explorer.exe /n,/root,c:\windows\system32\my-project-folder") BR On 2/22/17, 1:54 AM, "use-livecode on behalf of Roger Eller via use-livecode" wrote: get shell (?explorer.exe /select,c:\windows\system32\selected_file.txt") Source: http://stackoverflow.com/questions/29970897/cmd-file-tasks-open-directory-and-select-file ~Roger From bonnmike at gmail.com Wed Feb 22 22:41:53 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 22 Feb 2017 20:41:53 -0700 Subject: Reveal in Find on Windows In-Reply-To: <3B199219-3CA6-4E18-9136-9510B0642890@hindu.org> References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> <084AD168-CED7-494C-8808-E178C7CAC9E4@hindu.org> <3B199219-3CA6-4E18-9136-9510B0642890@hindu.org> Message-ID: I can't test it on mac, but 2 things. First, if your path is a folder but doesn't have the trailing / you'll end up in the wrong place so you might consider doing a check: if there is a file sRootFolder then delete item -1 of sRootFolder Then for the windows segment use "start": put ("start " & sRootFolder) into tShell -- also noted there is a typo, you use tRootfolder rather than sRootfolder in your example above I _think_ start is available all the way down to xp, but I can't check to make sure. On Wed, Feb 22, 2017 at 8:06 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > this is what I have so far? > > command openWorkingFolderInFinder pFolderFile > set the itemdel to "/" > put pFolderFile into sRootFolder > delete item -1 of sRootFolder > switch platform() > case "MacOS" > put ("open " & quote & sRootFolder & quote) into tShell > break > case "Win32" > put ("explorer.exe /n/root," & tRootfolder) into tShell > break > end switch > get shell(tShell) > end openWorkingFolderInFinder > > Can anyone test if this opens a folder on Windows? > > tks > > > On 2/22/17, 4:59 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami > via use-livecode" use-livecode at lists.runrev.com> wrote: > > OK I studied the doc here: > > https://support.microsoft.com/en-us/help/130510/command- > line-switches-for-windows-explorer > > and actually the use cases are more often to open a folder > > but I don't have windows to test > > does this work to open a folder window on Win32? > > get shell (?explorer.exe /n,/root,c:\windows\system32\ > my-project-folder") > > > BR > > > > On 2/22/17, 1:54 AM, "use-livecode on behalf of Roger Eller via > use-livecode" use-livecode at lists.runrev.com> wrote: > > get shell (?explorer.exe /select,c:\windows\system32\ > selected_file.txt") > > Source: > http://stackoverflow.com/questions/29970897/cmd-file- > tasks-open-directory-and-select-file > > ~Roger > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed Feb 22 22:45:16 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 22 Feb 2017 20:45:16 -0700 Subject: Reveal in Find on Windows In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> <084AD168-CED7-494C-8808-E178C7CAC9E4@hindu.org> <3B199219-3CA6-4E18-9136-9510B0642890@hindu.org> Message-ID: Just remembered, you can bipass the shell call entirely.. launch document sRootFolder -- native lc command. Just need to do as I mentioned and be sure its a folder you're dealing with. (otherwise it will launch the apropos app to match the file type) It will probably work for both platforms. (my mac is down or I'd check there) On Wed, Feb 22, 2017 at 8:41 PM, Mike Bonner wrote: > I can't test it on mac, but 2 things. First, if your path is a folder but > doesn't have the trailing / you'll end up in the wrong place so you might > consider doing a check: > if there is a file sRootFolder then delete item -1 of sRootFolder > > Then for the windows segment use "start": > > put ("start " & sRootFolder) into tShell -- also noted there is a typo, > you use tRootfolder rather than sRootfolder in your example above > > I _think_ start is available all the way down to xp, but I can't check to > make sure. > > > On Wed, Feb 22, 2017 at 8:06 PM, Sannyasin Brahmanathaswami via > use-livecode wrote: > >> this is what I have so far? >> >> command openWorkingFolderInFinder pFolderFile >> set the itemdel to "/" >> put pFolderFile into sRootFolder >> delete item -1 of sRootFolder >> switch platform() >> case "MacOS" >> put ("open " & quote & sRootFolder & quote) into tShell >> break >> case "Win32" >> put ("explorer.exe /n/root," & tRootfolder) into tShell >> break >> end switch >> get shell(tShell) >> end openWorkingFolderInFinder >> >> Can anyone test if this opens a folder on Windows? >> >> tks >> >> >> On 2/22/17, 4:59 PM, "use-livecode on behalf of Sannyasin >> Brahmanathaswami via use-livecode" > on behalf of use-livecode at lists.runrev.com> wrote: >> >> OK I studied the doc here: >> >> https://support.microsoft.com/en-us/help/130510/command-line >> -switches-for-windows-explorer >> >> and actually the use cases are more often to open a folder >> >> but I don't have windows to test >> >> does this work to open a folder window on Win32? >> >> get shell (?explorer.exe /n,/root,c:\windows\system32\m >> y-project-folder") >> >> >> BR >> >> >> >> On 2/22/17, 1:54 AM, "use-livecode on behalf of Roger Eller via >> use-livecode" > use-livecode at lists.runrev.com> wrote: >> >> get shell (?explorer.exe /select,c:\windows\system32\se >> lected_file.txt") >> >> Source: >> http://stackoverflow.com/questions/29970897/cmd-file-tasks- >> open-directory-and-select-file >> >> ~Roger >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From axwald at gmail.com Thu Feb 23 04:11:43 2017 From: axwald at gmail.com (axwald) Date: Thu, 23 Feb 2017 01:11:43 -0800 (PST) Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> <056EC7E3-5334-4910-9A7C-900928F8B654@earthlearningsolutions.org> <4bacc132-afaf-6750-193c-b39beb925ea1@fourthworld.com> Message-ID: <1487841103634-4712521.post@n4.nabble.com> Hi, William Prothero wrote > [...] A mothership sanctioned powerful external editor [...] Which one? This is the problem here. The "target audience" already has its favorite text editor, each another one ;-) So I think it would only make sense to have "the basics" collected at some place: - Lists of keywords, commands, functions, properties, ... - Regex that work to determine control structures, comments, ... - already existing solutions (for whatever text editors) This would be a great help to roll ones own "syntax schemata", IMHO. And the only one I can imagine that would really be a benefit for all. Have fun! axwald @ the forum ----- ? Livecode programming until the cat hits the fan ? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Configuring-a-Sublime-Text-project-to-notify-LiveCode-IDE-about-updates-to-script-only-stacks-tp4712463p4712521.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Thu Feb 23 06:53:10 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 23 Feb 2017 06:53:10 -0500 Subject: Reveal in Find on Windows In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> <084AD168-CED7-494C-8808-E178C7CAC9E4@hindu.org> <3B199219-3CA6-4E18-9136-9510B0642890@hindu.org> Message-ID: Launch document is good, but the OP wants to simply open a folder, and as stated in his first post, reveal or select a specific file. I'll try the handler on Windows when I get to the office. ~Roger On Feb 22, 2017 10:45 PM, "Mike Bonner via use-livecode" < use-livecode at lists.runrev.com> wrote: > Just remembered, you can bipass the shell call entirely.. > > launch document sRootFolder -- native lc command. Just need to do as I > mentioned and be sure its a folder you're dealing with. (otherwise it will > launch the apropos app to match the file type) > > It will probably work for both platforms. (my mac is down or I'd check > there) > > On Wed, Feb 22, 2017 at 8:41 PM, Mike Bonner wrote: > > > I can't test it on mac, but 2 things. First, if your path is a folder but > > doesn't have the trailing / you'll end up in the wrong place so you might > > consider doing a check: > > if there is a file sRootFolder then delete item -1 of sRootFolder > > > > Then for the windows segment use "start": > > > > put ("start " & sRootFolder) into tShell -- also noted there is a typo, > > you use tRootfolder rather than sRootfolder in your example above > > > > I _think_ start is available all the way down to xp, but I can't check to > > make sure. > > > > > > On Wed, Feb 22, 2017 at 8:06 PM, Sannyasin Brahmanathaswami via > > use-livecode wrote: > > > >> this is what I have so far? > >> > >> command openWorkingFolderInFinder pFolderFile > >> set the itemdel to "/" > >> put pFolderFile into sRootFolder > >> delete item -1 of sRootFolder > >> switch platform() > >> case "MacOS" > >> put ("open " & quote & sRootFolder & quote) into tShell > >> break > >> case "Win32" > >> put ("explorer.exe /n/root," & tRootfolder) into tShell > >> break > >> end switch > >> get shell(tShell) > >> end openWorkingFolderInFinder > >> > >> Can anyone test if this opens a folder on Windows? > >> > >> tks > >> > >> > >> On 2/22/17, 4:59 PM, "use-livecode on behalf of Sannyasin > >> Brahmanathaswami via use-livecode" runrev.com > >> on behalf of use-livecode at lists.runrev.com> wrote: > >> > >> OK I studied the doc here: > >> > >> https://support.microsoft.com/en-us/help/130510/command-line > >> -switches-for-windows-explorer > >> > >> and actually the use cases are more often to open a folder > >> > >> but I don't have windows to test > >> > >> does this work to open a folder window on Win32? > >> > >> get shell (?explorer.exe /n,/root,c:\windows\system32\m > >> y-project-folder") > >> > >> > >> BR > >> > >> > >> > >> On 2/22/17, 1:54 AM, "use-livecode on behalf of Roger Eller via > >> use-livecode" >> use-livecode at lists.runrev.com> wrote: > >> > >> get shell (?explorer.exe /select,c:\windows\system32\se > >> lected_file.txt") > >> > >> Source: > >> http://stackoverflow.com/questions/29970897/cmd-file-tasks- > >> open-directory-and-select-file > >> > >> ~Roger > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Feb 23 07:23:39 2017 From: hh at hyperhh.de (hh) Date: Thu, 23 Feb 2017 13:23:39 +0100 Subject: Reveal in Find on Windows Message-ID: The following works here on Mac/Win/Linux with LC 6/7/8/9. All my newer stacks have a menu (small square at top left) to do that for each path item of the current stack path. ## Opens the folder that contains the file pFolderFile command openWorkingFolder pFolderFile set itemdel to "/" put item 1 to -2 of pFolderFile into t set itemdel to "," if the platform is "linux" then try launch document t get shell("xdg-open " & quote&t"e) end try else launch document t end openWorkingFolderInFinder From lists at mangomultimedia.com Thu Feb 23 09:33:51 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Feb 2017 08:33:51 -0600 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: On Wed, Feb 22, 2017 at 8:01 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > going a bit OT here? I've dabbled withj Atom, Visual Studio and also long > time ago Sublime? any reason you prefer Sublime? > > I still keep dropping out back to BBEdit.. but if I could find a nother > editor that had comparable tools I would use it. So far, atom and Visual > Studio keep falling short? > BBEdit was my editor of choice for a long time. I tried out Sublime Text 3 while working on some projects based on Rails and Ember at the end of last year. I?ve fallen in love with it. Here is what I like in no particular order: - Projects - You can configure folders/files within your project folder (e.g. build folders) to ignore in searches - Define project properties (this helps with the communication between LiveCode and Sublime Text). - Multi-column, multi-row pane layouts with tabs in each pane. - Multiple views into the same file. I like being able to work on two parts of the same file in two different panes. - Highly configurable - Language modules for just about everything under the sun. - Language modules can include python scripts which is how Sublime Text sends messages to the stack in LiveCode that is listening on a local port). - Plugins for things like git and linters. I can commit using keyboard shortcuts from within Sublime Text. I can also visually see changes to files that I?ve made since the last commit. The LiveCode linter allows me to see mistakes in my code. - Search - Searching a project shows results in a tab. I prefer this to a search window in a separate window. - Navigation - See and filter list of all handlers in current view without leaving keyboard. - See and filter list of all handlers in entire project without leaving keyboard. - Quickly open any file in a project without leaving the keyboard. - View and install language modules and plugins without everything leaving the keyboard. - Right-click on any handler that is defined in a project and navigate to it. This works even if the handler appears within quotes (e.g. send ?MyHandler? to ?) Overall I feel like Sublime Text reduces friction while I?m working. I feel like I can work much faster. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From ambassador at fourthworld.com Thu Feb 23 10:52:35 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Feb 2017 07:52:35 -0800 Subject: Reveal in Find on Windows In-Reply-To: References: Message-ID: Mike Bonner wrote: > Just remembered, you can bipass the shell call entirely.. > > launch document sRootFolder -- native lc command. Just need to do as I > mentioned and be sure its a folder you're dealing with. (otherwise it will > launch the apropos app to match the file type) > > It will probably work for both platforms. (my mac is down or I'd check > there) As Richmond might ask, "both"? There are three major desktop OSes. :) For those who include the roughly 50 million Linux desktop users in their deployments, calling xdg-open with the shell function does the trick: on mouseUp put specialFolderPath("desktop") into tFolder get shell("xdg-open ""e& tFolder "e) end mouseUp -- 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 roger.e.eller at sealedair.com Thu Feb 23 10:58:04 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 23 Feb 2017 10:58:04 -0500 Subject: Reveal in Find on Windows In-Reply-To: References: Message-ID: 50 Million!!! pffft Well, let's not forget about the Amiga then. I know there are still at least 2, because I still have mine. ;) ~Roger On Thu, Feb 23, 2017 at 10:52 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike Bonner wrote: > > Just remembered, you can bipass the shell call entirely.. >> >> launch document sRootFolder -- native lc command. Just need to do as I >> mentioned and be sure its a folder you're dealing with. (otherwise it will >> launch the apropos app to match the file type) >> >> It will probably work for both platforms. (my mac is down or I'd check >> there) >> > > As Richmond might ask, "both"? > > There are three major desktop OSes. :) > > For those who include the roughly 50 million Linux desktop users in their > deployments, calling xdg-open with the shell function does the trick: > > on mouseUp > put specialFolderPath("desktop") into tFolder > get shell("xdg-open ""e& tFolder "e) > end mouseUp > > -- > 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 hh at hyperhh.de Thu Feb 23 11:32:03 2017 From: hh at hyperhh.de (hh) Date: Thu, 23 Feb 2017 17:32:03 +0100 Subject: Reveal in Find on Windows Message-ID: <14900390-FF4B-403A-8558-6282FF6C3410@hyperhh.de> > Richard G. wrote: > There are three major desktop OSes. :) Yes. And I'm _the only one_ in this thread who posted a handler that serves all these three ... http://lists.runrev.com/pipermail/use-livecode/2017-February/234858.html From roger.e.eller at sealedair.com Thu Feb 23 12:56:19 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 23 Feb 2017 12:56:19 -0500 Subject: Reveal in Find on Windows In-Reply-To: <14900390-FF4B-403A-8558-6282FF6C3410@hyperhh.de> References: <14900390-FF4B-403A-8558-6282FF6C3410@hyperhh.de> Message-ID: You get a star for effort. ;-p I tried your handler on Mac and Win, (not currently one of the 50 million Linux users). It opened the folder but did not select (reveal) the file or folder. The start of your command name didn't match the end, but that's okay. Community effort, right? ~Roger On Thu, Feb 23, 2017 at 11:32 AM, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > > Richard G. wrote: > > There are three major desktop OSes. :) > > Yes. And I'm _the only one_ in this thread who posted a handler > that serves all these three ... > > http://lists.runrev.com/pipermail/use-livecode/2017-February/234858.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bogdanoff at me.com Thu Feb 23 15:32:32 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 23 Feb 2017 12:32:32 -0800 Subject: Call a function on another card Message-ID: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> Hi, I?m reading on http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object this: put value("myFunction(hello, world)", group "myGroup" of card "myCard") into tResult I want to use a variable as a parameter instead of ?hello, world? as in the page example. These don?t work: put value(?getPageNumber (tID)", card "MITA" of stack "MITA") into tResult put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into tResult What do I do? Peter Bogdanoff From panos.merakos at livecode.com Thu Feb 23 15:41:34 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 23 Feb 2017 20:41:34 +0000 Subject: [ANN] Release 9.0.0 DP-5 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.0 DP-5. 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.0.0 DP-5 contains exciting new features, bug fixes, stability and security improvements. In total, 21 bugs have been fixed since the last development preview release (LiveCode 9.0.0 DP-4). Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which is not released yet), are included in LiveCode 9.0.0 DP-5. LiveCode 9.0.0 DP-5 contains, among others, the following exciting new features: - Implementation of NFC tag reading on Android (Community, Indy and Business): New functions/commands/messages to read data from NFC tags. - Implementation of a script library for common MIME functions (Community, Indy and Business): A new Multipurpose Internet Mail Extensions (MIME) library has been implemented to provide support for common data formats such as multipart email message bodies. - Implementation of a remote debugger (Business only): Run a standalone for the local platform from the IDE and debug it whilst it runs locally Run a standalone for iOS or Android from the IDE and debug it whilst it runs on a directly connected Android or iOS device - Implementation of a script profiler (Business only): Use the new script profiler to identify the most costly lines of code in a stack. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_5.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 hh at hyperhh.de Thu Feb 23 15:14:48 2017 From: hh at hyperhh.de (hh) Date: Thu, 23 Feb 2017 21:14:48 +0100 Subject: Reveal in Find on Windows Message-ID: <8ED3ADD9-9E84-41C5-8816-55E8B6FBC3B3@hyperhh.de> @Roger I adjusted (uncompletely) the name to the OP's handler name. Yes, you are right, the handler only opens the enclosing folder (or any path item of such a folder path). The purpose of my post was to second the "launch document" solution for folders and moreover to add the linux variant for the ubuntu- and debian-flavours (most Raspis run also linux). I saw the "launch document" method for folders first, as a real beginner, in an old post of Klaus in the forum. For revealing/selecting the file one needs, as was partially explicitly pointed out in other posts before (thanks for that), specific tools for each platform. Some time ago I tried several hours to find general variants but I gave up eventually because it is moreover, within the platform, specific for OS-releases/OS-flavours. From bonnmike at gmail.com Thu Feb 23 15:54:37 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 23 Feb 2017 13:54:37 -0700 Subject: Call a function on another card In-Reply-To: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> References: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> Message-ID: Will this work for you? dispatch function "myFunction" to card "myCard" put the result into tResult Parameters can also be passed using the "with" extension. Unlike the "call", "send" and "value" handlers, the parameters are sent directly to the target handler, rather than being extracted from the string used to call the handler. This negates the need to surround our parameters in quotes and also allows us to pass arrays On Thu, Feb 23, 2017 at 1:32 PM, Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > I?m reading on > http://lessons.livecode.com/m/4071/l/11787-how-to-call-a- > function-or-command-in-another-object > > this: > put value("myFunction(hello, world)", group "myGroup" of card "myCard") > into tResult > > I want to use a variable as a parameter instead of ?hello, world? as in > the page example. > > These don?t work: > put value(?getPageNumber (tID)", card "MITA" of stack "MITA") into tResult > put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into > tResult > > What do I do? > > Peter Bogdanoff > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 23 16:21:44 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 23 Feb 2017 13:21:44 -0800 Subject: Call a function on another card In-Reply-To: References: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> Message-ID: <10C6A45C-D893-4456-BA6B-C30FEE9A795A@me.com> Yes, thank you, that works. I used: dispatch function "getPageNumber" to card "MITA" of stack "MITA" with tID What came back was in ?the result? ?it? contained ?handled? pb On Feb 23, 2017, at 12:54 PM, Mike Bonner via use-livecode wrote: > Will this work for you? > dispatch function "myFunction" to card "myCard" > > put the result into tResult > > Parameters can also be passed using the "with" extension. Unlike the > "call", "send" and "value" handlers, the parameters are sent directly to > the target handler, rather than being extracted from the string used to > call the handler. This negates the need to surround our parameters in > quotes and also allows us to pass arrays > > On Thu, Feb 23, 2017 at 1:32 PM, Peter Bogdanoff via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi, >> >> I?m reading on >> http://lessons.livecode.com/m/4071/l/11787-how-to-call-a- >> function-or-command-in-another-object >> >> this: >> put value("myFunction(hello, world)", group "myGroup" of card "myCard") >> into tResult >> >> I want to use a variable as a parameter instead of ?hello, world? as in >> the page example. >> >> These don?t work: >> put value(?getPageNumber (tID)", card "MITA" of stack "MITA") into tResult >> put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into >> tResult >> >> What do I do? >> >> Peter Bogdanoff >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Feb 23 16:35:42 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 Feb 2017 21:35:42 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: I'm behind here in the overview: Why even continue in 8.* ? What issues are there with 9.* that would make it advisable not to try it for production? BR On 2/23/17, 10:41 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" wrote: Dear list members, We are pleased to announce the release of LiveCode 9.0.0 DP-5. 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.0.0 DP-5 contains exciting new features, bug fixes, stability and security improvements. In total, 21 bugs have been fixed since the last development preview release (LiveCode 9.0.0 DP-4). Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which is not released yet), are included in LiveCode 9.0.0 DP-5. LiveCode 9.0.0 DP-5 contains, among others, the following exciting new features: - Implementation of NFC tag reading on Android (Community, Indy and Business): New functions/commands/messages to read data from NFC tags. - Implementation of a script library for common MIME functions (Community, Indy and Business): A new Multipurpose Internet Mail Extensions (MIME) library has been implemented to provide support for common data formats such as multipart email message bodies. - Implementation of a remote debugger (Business only): Run a standalone for the local platform from the IDE and debug it whilst it runs locally Run a standalone for iOS or Android from the IDE and debug it whilst it runs on a directly connected Android or iOS device - Implementation of a script profiler (Business only): Use the new script profiler to identify the most costly lines of code in a stack. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_5.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Feb 23 16:59:23 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Feb 2017 21:59:23 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> First of all this is a Developer Preview. Note the, "This is not a stable release" disclaimer. Consider also that some may be unwilling to move to version 9 until such a time as they feel confident that most of the issues have been shaken out of it. I am one of these. Do you suggest that all development and improvement for version 8 and that we all wait for certain bugs to be addressed in the next major release? That would be unfortunate. Already since the earlier versions of 8, there have been marked improvements and bug fixes, such as much faster search times and an order of magnitude faster Build times. So long as version 8 is supported, I think we can expect (and be thankful) that the LC dev team is constantly improving. And also, I suspect that any new features introduced and bugs squashed in 8 are also being rolled into 9. It's not an either or proposition. Bob S > On Feb 23, 2017, at 13:35 , Sannyasin Brahmanathaswami via use-livecode wrote: > > I'm behind here in the overview: > > Why even continue in 8.* ? > > What issues are there with 9.* that would make it advisable not to try it for production? > > BR From bobsneidar at iotecdigital.com Thu Feb 23 17:03:40 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Feb 2017 22:03:40 +0000 Subject: Call a function on another card In-Reply-To: <10C6A45C-D893-4456-BA6B-C30FEE9A795A@me.com> References: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> <10C6A45C-D893-4456-BA6B-C30FEE9A795A@me.com> Message-ID: <6A7FFABE-6C03-4D49-A23F-6F70494B48E3@iotecdigital.com> When I encounter situations like these, I begin to ask myself why the handler is in a card script. If it needs to be accessible from other cards, it should probably be moved to the stack script, or put into a button and inserted into front or back. I have 3 buttons I use for this effect: Utilities, Validations and Database Functions. Utilities and Database functions I insert into back. The validations I insert into front in case I want to intercept things like openField or selectionChanged and do things before passing them on. Bob S > On Feb 23, 2017, at 13:21 , Peter Bogdanoff via use-livecode wrote: > > Yes, thank you, that works. I used: > > dispatch function "getPageNumber" to card "MITA" of stack "MITA" with tID > > What came back was in ?the result? > > ?it? contained ?handled? > > pb > > On Feb 23, 2017, at 12:54 PM, Mike Bonner via use-livecode wrote: > >> Will this work for you? >> dispatch function "myFunction" to card "myCard" >> >> put the result into tResult >> >> Parameters can also be passed using the "with" extension. Unlike the >> "call", "send" and "value" handlers, the parameters are sent directly to >> the target handler, rather than being extracted from the string used to >> call the handler. This negates the need to surround our parameters in >> quotes and also allows us to pass arrays >> >> On Thu, Feb 23, 2017 at 1:32 PM, Peter Bogdanoff via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi, >>> >>> I?m reading on >>> http://lessons.livecode.com/m/4071/l/11787-how-to-call-a- >>> function-or-command-in-another-object >>> >>> this: >>> put value("myFunction(hello, world)", group "myGroup" of card "myCard") >>> into tResult >>> >>> I want to use a variable as a parameter instead of ?hello, world? as in >>> the page example. >>> >>> These don?t work: >>> put value(?getPageNumber (tID)", card "MITA" of stack "MITA") into tResult >>> put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into >>> tResult >>> >>> What do I do? >>> >>> Peter Bogdanoff >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 livecode.org Thu Feb 23 17:07:32 2017 From: paul at livecode.org (Paul Hibbert) Date: Thu, 23 Feb 2017 14:07:32 -0800 Subject: Call a function on another card In-Reply-To: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> References: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> Message-ID: > On Feb 23, 2017, at 12:32 PM, Peter Bogdanoff via use-livecode > wrote: > > put value("myFunction(hello, world)", group "myGroup" of card "myCard") into tResult > > I want to use a variable as a parameter instead of ?hello, world? as in the page example. You could try: put value(?myFunction(? & myVar & ")", group "myGroup" of card "myCard") into tResult Paul From m.schonewille at economy-x-talk.com Thu Feb 23 17:38:36 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 23 Feb 2017 23:38:36 +0100 Subject: [ANN] conference - tickets sent Message-ID: <511f2047-1b39-6840-7136-ecd81ccd7cb7@economy-x-talk.com> The tickets for the eHUG International Mini Conference on LiveCode have been sent. Everyone who ordered a ticket until yesterday should have received it by now. Obviously, if you didn't, you should contact me right-away. If you regret not having bought a ticket, you can still do so until we disable this feature of the website. However, you might want to send me an e-mail or call first. -- Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com From brahma at hindu.org Thu Feb 23 17:40:22 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 Feb 2017 22:40:22 +0000 Subject: Reveal in Find on Windows In-Reply-To: <8ED3ADD9-9E84-41C5-8816-55E8B6FBC3B3@hyperhh.de> References: <8ED3ADD9-9E84-41C5-8816-55E8B6FBC3B3@hyperhh.de> Message-ID: HH wrote: Yes, you are right, the handler only opens the enclosing folder (or any path item of such a folder path). Actually that's my main use case? But now we have all options? thanks to all. nice to find that I can use launch for both Windows and Mac But has to have a slash on the end for Windows? @Mike, right that was a typo sRootFolder is what it should be. (script local for future use in another session) BR From MikeKerner at roadrunner.com Thu Feb 23 17:42:39 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 23 Feb 2017 17:42:39 -0500 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> Message-ID: Another question: Does the mobile have to be tethered to the desktop? If I build a standalone, how are we going to communicate? Did you guys also see that we will have a regular message box context with the app? That's just one less thing I have to include with my stack (and then use the mobile keyboard to accomplish...) On Thu, Feb 23, 2017 at 5:13 PM, Mike Kerner wrote: > I'm drooling. I once told Kevin that about half of the lines of code in > my mobile apps wind up being debugging code (granted the end up being > commented out, eventually, but I digress). The biggest issue on mobile has > always been debugging. I even have a debugging library that I have added > to all my mobiles to help me figure out what is going on when something > doesn't work. The silent fails dog me even now. This...this is going to > make the debugging task a lot easier. > > On Thu, Feb 23, 2017 at 4:59 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> First of all this is a Developer Preview. Note the, "This is not a stable >> release" disclaimer. Consider also that some may be unwilling to move to >> version 9 until such a time as they feel confident that most of the issues >> have been shaken out of it. I am one of these. >> >> Do you suggest that all development and improvement for version 8 and >> that we all wait for certain bugs to be addressed in the next major >> release? That would be unfortunate. Already since the earlier versions of >> 8, there have been marked improvements and bug fixes, such as much faster >> search times and an order of magnitude faster Build times. >> >> So long as version 8 is supported, I think we can expect (and be >> thankful) that the LC dev team is constantly improving. And also, I suspect >> that any new features introduced and bugs squashed in 8 are also being >> rolled into 9. It's not an either or proposition. >> >> Bob S >> >> >> > On Feb 23, 2017, at 13:35 , Sannyasin Brahmanathaswami via use-livecode >> wrote: >> > >> > I'm behind here in the overview: >> > >> > Why even continue in 8.* ? >> > >> > What issues are there with 9.* that would make it advisable not to try >> it for production? >> > >> > 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 >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bogdanoff at me.com Thu Feb 23 17:51:07 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 23 Feb 2017 14:51:07 -0800 Subject: Call a function on another card In-Reply-To: <6A7FFABE-6C03-4D49-A23F-6F70494B48E3@iotecdigital.com> References: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> <10C6A45C-D893-4456-BA6B-C30FEE9A795A@me.com> <6A7FFABE-6C03-4D49-A23F-6F70494B48E3@iotecdigital.com> Message-ID: <616E668D-51FB-4765-BCDF-12FD61911263@me.com> Bob, This is a good question. In my case, each card script has script local variables that are used only for that card. In this unusual case (I?m creating a text search method) I need to access the contents of those variables from another stack. I indeed would like to move common handlers to a stack or library script, but these handlers use many local variables relevant to the individual cards. I have not yet thought of a simple way to use common handlers without a LOT of passing of local variable data. Instead of local variables, I suppose I could set custom properties in the library stack for each bit of data. But it seems awkward to me to have in the library script: put the FieldTextArray of stack ?MLib? into tVar # Stored in a custom property return tVar [?HTML?] then in the card script: set the htmlText of field ?Text? to it instead of simply (in the card script): set the htmlText of field ?Text? to sFieldTextData [?HTML?] # Card local variable And then, custom properties would have to be emptied after each session. Peter On Feb 23, 2017, at 2:03 PM, Bob Sneidar via use-livecode wrote: > When I encounter situations like these, I begin to ask myself why the handler is in a card script. If it needs to be accessible from other cards, it should probably be moved to the stack script, or put into a button and inserted into front or back. I have 3 buttons I use for this effect: Utilities, Validations and Database Functions. Utilities and Database functions I insert into back. The validations I insert into front in case I want to intercept things like openField or selectionChanged and do things before passing them on. > > Bob S > > >> On Feb 23, 2017, at 13:21 , Peter Bogdanoff via use-livecode wrote: >> >> Yes, thank you, that works. I used: >> >> dispatch function "getPageNumber" to card "MITA" of stack "MITA" with tID >> >> What came back was in ?the result? >> >> ?it? contained ?handled? >> >> pb >> >> On Feb 23, 2017, at 12:54 PM, Mike Bonner via use-livecode wrote: >> >>> Will this work for you? >>> dispatch function "myFunction" to card "myCard" >>> >>> put the result into tResult >>> >>> Parameters can also be passed using the "with" extension. Unlike the >>> "call", "send" and "value" handlers, the parameters are sent directly to >>> the target handler, rather than being extracted from the string used to >>> call the handler. This negates the need to surround our parameters in >>> quotes and also allows us to pass arrays >>> >>> On Thu, Feb 23, 2017 at 1:32 PM, Peter Bogdanoff via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi, >>>> >>>> I?m reading on >>>> http://lessons.livecode.com/m/4071/l/11787-how-to-call-a- >>>> function-or-command-in-another-object >>>> >>>> this: >>>> put value("myFunction(hello, world)", group "myGroup" of card "myCard") >>>> into tResult >>>> >>>> I want to use a variable as a parameter instead of ?hello, world? as in >>>> the page example. >>>> >>>> These don?t work: >>>> put value(?getPageNumber (tID)", card "MITA" of stack "MITA") into tResult >>>> put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into >>>> tResult >>>> >>>> What do I do? >>>> >>>> Peter Bogdanoff >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Feb 23 17:16:05 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Feb 2017 14:16:05 -0800 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: Sannyasin Brahmanathaswami wrote: > Why even continue in 8.* ? > > What issues are there with 9.* that would make it advisable not to > try it for production? For deployment it's usually best to use the most recent Stable build. But for development it's usually best to use the most recent build of any designation so you know the current state of the engine as it pertains to your work. -- 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 MikeKerner at roadrunner.com Thu Feb 23 17:13:02 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 23 Feb 2017 17:13:02 -0500 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> References: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> Message-ID: I'm drooling. I once told Kevin that about half of the lines of code in my mobile apps wind up being debugging code (granted the end up being commented out, eventually, but I digress). The biggest issue on mobile has always been debugging. I even have a debugging library that I have added to all my mobiles to help me figure out what is going on when something doesn't work. The silent fails dog me even now. This...this is going to make the debugging task a lot easier. On Thu, Feb 23, 2017 at 4:59 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > First of all this is a Developer Preview. Note the, "This is not a stable > release" disclaimer. Consider also that some may be unwilling to move to > version 9 until such a time as they feel confident that most of the issues > have been shaken out of it. I am one of these. > > Do you suggest that all development and improvement for version 8 and that > we all wait for certain bugs to be addressed in the next major release? > That would be unfortunate. Already since the earlier versions of 8, there > have been marked improvements and bug fixes, such as much faster search > times and an order of magnitude faster Build times. > > So long as version 8 is supported, I think we can expect (and be thankful) > that the LC dev team is constantly improving. And also, I suspect that any > new features introduced and bugs squashed in 8 are also being rolled into > 9. It's not an either or proposition. > > Bob S > > > > On Feb 23, 2017, at 13:35 , Sannyasin Brahmanathaswami via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I'm behind here in the overview: > > > > Why even continue in 8.* ? > > > > What issues are there with 9.* that would make it advisable not to try > it for production? > > > > 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 > -- 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 bobsneidar at iotecdigital.com Thu Feb 23 17:56:24 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Feb 2017 22:56:24 +0000 Subject: Call a function on another card In-Reply-To: <616E668D-51FB-4765-BCDF-12FD61911263@me.com> References: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> <10C6A45C-D893-4456-BA6B-C30FEE9A795A@me.com> <6A7FFABE-6C03-4D49-A23F-6F70494B48E3@iotecdigital.com> <616E668D-51FB-4765-BCDF-12FD61911263@me.com> Message-ID: <53BF9947-8893-46CE-A414-F6E0BC00E58F@iotecdigital.com> I may be mistaken, but I think that script locals are accessible to a behavior script. If so, you could keep the script local variables in the card, and the handlers in a library or backscript. I will set up a test for that. Bob S > On Feb 23, 2017, at 14:51 , Peter Bogdanoff via use-livecode wrote: > > Bob, > > This is a good question. In my case, each card script has script local variables that are used only for that card. > > In this unusual case (I?m creating a text search method) I need to access the contents of those variables from another stack. > > I indeed would like to move common handlers to a stack or library script, but these handlers use many local variables relevant to the individual cards. I have not yet thought of a simple way to use common handlers without a LOT of passing of local variable data. From jiml at netrin.com Thu Feb 23 17:58:08 2017 From: jiml at netrin.com (Jim Lambert) Date: Thu, 23 Feb 2017 14:58:08 -0800 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: <9B88BBBF-0941-47EB-95C6-FB2D0105540A@netrin.com> LC Team, Congratulations and many thanks for this feature-packed release. Brilliant! Jim Lambert From bobsneidar at iotecdigital.com Thu Feb 23 18:17:41 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Feb 2017 23:17:41 +0000 Subject: Call a function on another card In-Reply-To: <53BF9947-8893-46CE-A414-F6E0BC00E58F@iotecdigital.com> References: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> <10C6A45C-D893-4456-BA6B-C30FEE9A795A@me.com> <6A7FFABE-6C03-4D49-A23F-6F70494B48E3@iotecdigital.com> <616E668D-51FB-4765-BCDF-12FD61911263@me.com> <53BF9947-8893-46CE-A414-F6E0BC00E58F@iotecdigital.com> Message-ID: <70F0DF6E-6938-4161-9BEC-DE3DB0DD309B@iotecdigital.com> I did a quick little test. The card's script local variables are not accessible from the behavior script. At this point you might consider using card properties instead. This is what I have been doing. This way each card can have it's own "variables" in the form of properties. Then you can have a function in each card script that returns the value stored in the property: function cardProp pPropName return the pPropName of me end cardProp Booyah. I use this myself. The nice thing about using properties is that if there is no such property there will not be any error thrown. Bob S > On Feb 23, 2017, at 14:56 , Bob Sneidar via use-livecode wrote: > > I may be mistaken, but I think that script locals are accessible to a behavior script. If so, you could keep the script local variables in the card, and the handlers in a library or backscript. I will set up a test for that. > > Bob S > > >> On Feb 23, 2017, at 14:51 , Peter Bogdanoff via use-livecode wrote: >> >> Bob, >> >> This is a good question. In my case, each card script has script local variables that are used only for that card. >> >> In this unusual case (I?m creating a text search method) I need to access the contents of those variables from another stack. >> >> I indeed would like to move common handlers to a stack or library script, but these handlers use many local variables relevant to the individual cards. I have not yet thought of a simple way to use common handlers without a LOT of passing of local variable data. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Thu Feb 23 18:34:10 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 24 Feb 2017 10:34:10 +1100 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> Message-ID: > On 24 Feb 2017, at 9:42 am, Mike Kerner via use-livecode wrote: > > Another question: Does the mobile have to be tethered to the desktop? If > I build a standalone, how are we going to communicate? They communicate via sockets so no it doesn?t need to be tethered. Cheers Monte From bobsneidar at iotecdigital.com Thu Feb 23 18:43:23 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Feb 2017 23:43:23 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> References: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> Message-ID: Probably a typo, but shouldn't the backslash be INSIDE the quotes in the example for Specifying local host and port when opening a socket? Bob S From bobsneidar at iotecdigital.com Thu Feb 23 18:52:43 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Feb 2017 23:52:43 +0000 Subject: Standalone Builder Issues (again) Message-ID: <7D966B96-2BCF-425E-8DBB-CA9911FD24A5@iotecdigital.com> Hi all. I am getting the impression that the standalone builder goes to each card in each stack when building an application. The reason I think this is because I have an openStack handler in the card script of the mainstack which opens a login stack as modal. When building standalones now in 8.1.3, the Login stack opens and the build process stops (because it's a modal stack). I can work around this by shift-ctrl-cmd right-clicking the card and switching the stack to topLevel, but that begs the question: Why is the standalone builder running my scripts?? Or do I misunderstand something? Bob S From dirk.cleenwerck at gmail.com Thu Feb 23 19:17:46 2017 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Fri, 24 Feb 2017 01:17:46 +0100 Subject: [ANN] conference - tickets sent In-Reply-To: <511f2047-1b39-6840-7136-ecd81ccd7cb7@economy-x-talk.com> References: <511f2047-1b39-6840-7136-ecd81ccd7cb7@economy-x-talk.com> Message-ID: Ik zie niet direct mijn ticket? Groeten, Dirk Cleenwerck On Feb 23, 2017 23:39, "Mark Schonewille via use-livecode" < use-livecode at lists.runrev.com> wrote: > The tickets for the eHUG International Mini Conference on LiveCode have > been sent. Everyone who ordered a ticket until yesterday should have > received it by now. Obviously, if you didn't, you should contact me > right-away. > > If you regret not having bought a ticket, you can still do so until we > disable this feature of the website. However, you might want to send me an > e-mail or call first. > > -- > Kind regards, > > Mark Schonewille > http://economy-x-talk.com > https://www.facebook.com/marksch > > Buy the most extensive book on the > LiveCode language: > http://livecodebeginner.economy-x-talk.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 Thu Feb 23 19:39:59 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 23 Feb 2017 16:39:59 -0800 Subject: back to slow compile with 8.1.3? Message-ID: I mentioned a bit ago that with the RC sequences of 8.1.3, I had to go to 7.1 to combine my stacks, but then they compiled quickly with 8.1.3. Now, I'm at 8 minutes and counting with the released 8.1.3 . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bogdanoff at me.com Thu Feb 23 19:14:05 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 23 Feb 2017 16:14:05 -0800 Subject: Call a function on another card In-Reply-To: <70F0DF6E-6938-4161-9BEC-DE3DB0DD309B@iotecdigital.com> References: <783127A1-92F9-46A4-ADC5-2D4777DFA89F@me.com> <10C6A45C-D893-4456-BA6B-C30FEE9A795A@me.com> <6A7FFABE-6C03-4D49-A23F-6F70494B48E3@iotecdigital.com> <616E668D-51FB-4765-BCDF-12FD61911263@me.com> <53BF9947-8893-46CE-A414-F6E0BC00E58F@iotecdigital.com> <70F0DF6E-6938-4161-9BEC-DE3DB0DD309B@iotecdigital.com> Message-ID: <0482C0D7-27E5-4C09-98E4-260EBDADAEBC@me.com> Thanks Bob, I?ll look at this more closely. One benefit of using custom properties rather than local variables is that I?ve seen that local variables are sometimes emptied on some script errors when working on a script. Then I have to quit and reload the stack. Peter On Feb 23, 2017, at 3:17 PM, Bob Sneidar via use-livecode wrote: > I did a quick little test. The card's script local variables are not accessible from the behavior script. > > At this point you might consider using card properties instead. This is what I have been doing. This way each card can have it's own "variables" in the form of properties. Then you can have a function in each card script that returns the value stored in the property: > > function cardProp pPropName > return the pPropName of me > end cardProp > > Booyah. I use this myself. The nice thing about using properties is that if there is no such property there will not be any error thrown. > > Bob S > > >> On Feb 23, 2017, at 14:56 , Bob Sneidar via use-livecode wrote: >> >> I may be mistaken, but I think that script locals are accessible to a behavior script. If so, you could keep the script local variables in the card, and the handlers in a library or backscript. I will set up a test for that. >> >> Bob S >> >> >>> On Feb 23, 2017, at 14:51 , Peter Bogdanoff via use-livecode wrote: >>> >>> Bob, >>> >>> This is a good question. In my case, each card script has script local variables that are used only for that card. >>> >>> In this unusual case (I?m creating a text search method) I need to access the contents of those variables from another stack. >>> >>> I indeed would like to move common handlers to a stack or library script, but these handlers use many local variables relevant to the individual cards. I have not yet thought of a simple way to use common handlers without a LOT of passing of local variable data. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Feb 23 20:08:08 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 24 Feb 2017 02:08:08 +0100 Subject: [ANN] conference - tickets sent In-Reply-To: References: <511f2047-1b39-6840-7136-ecd81ccd7cb7@economy-x-talk.com> Message-ID: <1f7a5070-e086-1a90-3868-5fcbe5cc0668@economy-x-talk.com> Beste Dirk, Ik zal je off-list nog even een mailtje sturen. Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 24-Feb-17 om 01:17 schreef Dirk prive via use-livecode: > Ik zie niet direct mijn ticket? > Groeten, > Dirk Cleenwerck > > > On Feb 23, 2017 23:39, "Mark Schonewille via use-livecode" < > use-livecode at lists.runrev.com> wrote: > >> The tickets for the eHUG International Mini Conference on LiveCode have >> been sent. Everyone who ordered a ticket until yesterday should have >> received it by now. Obviously, if you didn't, you should contact me >> right-away. >> >> If you regret not having bought a ticket, you can still do so until we >> disable this feature of the website. However, you might want to send me an >> e-mail or call first. >> >> -- >> Kind regards, >> >> Mark Schonewille >> http://economy-x-talk.com >> https://www.facebook.com/marksch >> >> Buy the most extensive book on the >> LiveCode language: >> http://livecodebeginner.economy-x-talk.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Thu Feb 23 20:25:55 2017 From: tom at makeshyft.com (Tom Glod) Date: Thu, 23 Feb 2017 20:25:55 -0500 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? Message-ID: Hi everyone, Read this article today. I use SHA1 in my software, so https://www.recode.net/2017/2/23/14715570/google-researchers-crack-internet-security-tool-sha1-encryption What do you all think? Should I bother reporting this? or is it fair to say they know about it? What are the chances that there will be extra effort placed on adding another sha digest function? sha256? THanks Tom From brahma at hindu.org Thu Feb 23 20:31:12 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 24 Feb 2017 01:31:12 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> References: <9C3CE805-764D-4C82-84C0-DE07DB3185B9@iotecdigital.com> Message-ID: @ Bob (who wrote) " Do you suggest that all development and improvement for version 8 and that we all wait for certain bugs to be addressed in the next major release? That would be unfortunate. Already since the earlier versions of 8, there have been marked improvements and bug fixes, such as much faster search times and an order of magnitude faster Build times." Not at all. But for those of us who are a) making a major move to script only (stacks, libs, behaviors) b) struggling with de-bugging on mobile 9 DP5 has us, as Mike says "drooling" @Richard who wrote: "for deployment -- most recent stable?" "for dev -- most recent build, know current state of engine as pertains to your work." How logical! thanks? assuming there is no change in file format and stacks are backward compatible, that makes good sense. I have backups everywhere, so I'm off with 9DP5 Congrats to the team at HQ BR From ambassador at fourthworld.com Thu Feb 23 20:42:35 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Feb 2017 17:42:35 -0800 Subject: Call a function on another card In-Reply-To: <70F0DF6E-6938-4161-9BEC-DE3DB0DD309B@iotecdigital.com> References: <70F0DF6E-6938-4161-9BEC-DE3DB0DD309B@iotecdigital.com> Message-ID: Bob Sneidar wrote: > I did a quick little test. The card's script local variables are not > accessible from the behavior script. True, but you may not need to: each object subscribed to a behavior script maintains its own set of script-local variables. -- 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 Thu Feb 23 20:45:47 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Feb 2017 17:45:47 -0800 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: <9db8d56f-eccd-e385-1728-b03dabf37754@fourthworld.com> Sannyasin Brahmanathaswami wrote: > @Richard who wrote: > > "for deployment -- most recent stable?" > "for dev -- most recent build, know current state of engine as > pertains to your work." > > How logical! thanks? assuming there is no change in file format and > stacks are backward compatible, that makes good sense. v8.1 and v9 share the same format. But even when there is a format change, the team's done a good job of providing save-as going back at least a decade's worth of older formats. -- 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 Thu Feb 23 20:51:05 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Feb 2017 17:51:05 -0800 Subject: deploy? Message-ID: The v9dp5 Release Notes include: Script-only deploy (9.0.0-dp-5) It is now possible to use script-only stacks in the mainstack and auxiliary stack parameters to the deploy command. Sounds cool. What's the "deploy" command? It's not in the Dictionary. -- 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 monte at appisle.net Thu Feb 23 20:52:29 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 24 Feb 2017 12:52:29 +1100 Subject: deploy? In-Reply-To: References: Message-ID: <38B2B6DE-3072-4351-94DA-EBAE926754A8@appisle.net> It?s an IDE only internal command for creating standalone engines. > On 24 Feb 2017, at 12:51 pm, Richard Gaskin via use-livecode wrote: > > The v9dp5 Release Notes include: > > Script-only deploy (9.0.0-dp-5) > It is now possible to use script-only stacks in the mainstack > and auxiliary stack parameters to the deploy command. > > Sounds cool. What's the "deploy" command? It's not in the Dictionary. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Feb 23 21:19:19 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Feb 2017 18:19:19 -0800 Subject: deploy? In-Reply-To: <38B2B6DE-3072-4351-94DA-EBAE926754A8@appisle.net> References: <38B2B6DE-3072-4351-94DA-EBAE926754A8@appisle.net> Message-ID: <4cf04ac2-b52c-fa19-1c98-7fbfd62fc961@fourthworld.com> Monte Goulding wrote: >> On 24 Feb 2017, at 12:51 pm, Richard Gaskin wrote: >> >> What's the "deploy" command? It's not in the Dictionary. > > It?s an IDE only internal command for creating standalone engines. Sounds useful for automating build systems. At least part of it is documented in the latest Release Notes - where can I find the rest of the docs on 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 monte at appisle.net Thu Feb 23 21:25:02 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 24 Feb 2017 13:25:02 +1100 Subject: deploy? In-Reply-To: <4cf04ac2-b52c-fa19-1c98-7fbfd62fc961@fourthworld.com> References: <38B2B6DE-3072-4351-94DA-EBAE926754A8@appisle.net> <4cf04ac2-b52c-fa19-1c98-7fbfd62fc961@fourthworld.com> Message-ID: > On 24 Feb 2017, at 1:19 pm, Richard Gaskin via use-livecode wrote: > > Sounds useful for automating build systems. At least part of it is documented in the latest Release Notes - where can I find the rest of the docs on that? It isn?t part of the engine I know much about nor am I sure if/where the documentation might be. You would probably be better working with standalone builder scripts to automate building anyway. Have a look at the standalone builder tests for command line building https://github.com/livecode/livecode-ide/tree/develop/tests/standalonebuilder From jacque at hyperactivesw.com Thu Feb 23 22:53:05 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Feb 2017 21:53:05 -0600 Subject: Script locals in library stack script In-Reply-To: <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> References: <83944710-2ccc-a5ed-51ac-1a93fe903304@hyperactivesw.com> <68da76ae-e948-6bd8-14c6-9c90be410333@hyperactivesw.com> Message-ID: <18e191b3-6e4e-b55a-8296-8eb5f74e069b@hyperactivesw.com> On 2/10/17 2:22 PM, J. Landman Gay via use-livecode wrote: > I have set the LC preference to preserve variables. In the past I have > rarely seen a script local lose its value, and never if there has been > no script compile. I don't know exactly when it started but I was in > 8.1.3 rc 1 when I noticed it. In case anyone has been losing sleep over this, it was indeed me. Two weeks later while revising my scripts I found the culprit line, sandwiched between two large blocks of commented-out code, lurking with its head down and its eyes closed. But there was a snicker on its face. I hit it over the head, put it in a gunny sack, and threw it in the river. Our river is frozen right now so I hope it hurt. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Feb 24 00:44:46 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Feb 2017 23:44:46 -0600 Subject: Remote debugger Message-ID: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> I jumped all over this right away. I set a breakpoint in a test stack, tethered my phone to the Mac, and clicked the Test button. My button script: on mouseUp get "Testing" put it into fld 1 -- breakpoint set here end mouseUP The app launched on my phone and the script stopped executing at the right place (nothing went into fld 1) but I wasn't asked if I wanted to start a debugging session and the IDE didn't go into debug mode. Is there something else I need to do to in the stack to activate remote debugging? Samsung S4, Android 5.0.1 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From merakosp at gmail.com Fri Feb 24 01:21:11 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 24 Feb 2017 06:21:11 +0000 Subject: Remote debugger In-Reply-To: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> Message-ID: Hi Jacque, Make sure you add the remote debugger inclusion in Inclusions pane. This should not be necessary in the IDE, but currently you maybe have to do it. Best, Panos On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" < use-livecode at lists.runrev.com> wrote: > I jumped all over this right away. I set a breakpoint in a test stack, > tethered my phone to the Mac, and clicked the Test button. > > My button script: > > on mouseUp > get "Testing" > put it into fld 1 -- breakpoint set here > end mouseUP > > The app launched on my phone and the script stopped executing at the right > place (nothing went into fld 1) but I wasn't asked if I wanted to start a > debugging session and the IDE didn't go into debug mode. > > Is there something else I need to do to in the stack to activate remote > debugging? > > Samsung S4, Android 5.0.1 > > -- > 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 richmondmathewson at gmail.com Fri Feb 24 01:26:46 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 24 Feb 2017 08:26:46 +0200 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: <6604c4fb-f94c-a75e-0fb4-7b82d9ad53a3@gmail.com> I wish I could understand the way different "levels" come out concurrently. Are we to assume that all the new things in 8.1.3 are also bound into 9.0.0 DP-5? Richmond. On 2/23/17 10:41 pm, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.0.0 DP-5. > > > 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.0.0 DP-5 contains exciting new features, bug fixes, stability > and security improvements. > > In total, 21 bugs have been fixed since the last development preview > release (LiveCode 9.0.0 DP-4). > > Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which is > not released yet), are included in LiveCode 9.0.0 DP-5. > > LiveCode 9.0.0 DP-5 contains, among others, the following exciting new > features: > > - Implementation of NFC tag reading on Android (Community, Indy and > Business): > New functions/commands/messages to read data from NFC tags. > > - Implementation of a script library for common MIME functions (Community, > Indy and Business): > A new Multipurpose Internet Mail Extensions (MIME) library has been > implemented to provide support for common data formats such as multipart > email message bodies. > > - Implementation of a remote debugger (Business only): > Run a standalone for the local platform from the IDE and debug it whilst it > runs locally > Run a standalone for iOS or Android from the IDE and debug it whilst it > runs on a directly connected Android or iOS device > > - Implementation of a script profiler (Business only): > Use the new script profiler to identify the most costly lines of code in a > stack. > > > The full release notes are available from: > > http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_5.pdf > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > Have fun! > > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Feb 24 01:31:26 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Feb 2017 00:31:26 -0600 Subject: Remote debugger In-Reply-To: References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> Message-ID: <4bea92c2-f83a-55c8-c5ff-bde85f449319@hyperactivesw.com> Hi Panos, I did it both ways, with the remote debugger included and without, but got the same results. It stops the app at the point where it should activate and nothing else happens. On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote: > Hi Jacque, > > Make sure you add the remote debugger inclusion in Inclusions pane. This > should not be necessary in the IDE, but currently you maybe have to do it. > > Best, > Panos > > On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" < > use-livecode at lists.runrev.com> wrote: > >> I jumped all over this right away. I set a breakpoint in a test stack, >> tethered my phone to the Mac, and clicked the Test button. >> >> My button script: >> >> on mouseUp >> get "Testing" >> put it into fld 1 -- breakpoint set here >> end mouseUP >> >> The app launched on my phone and the script stopped executing at the right >> place (nothing went into fld 1) but I wasn't asked if I wanted to start a >> debugging session and the IDE didn't go into debug mode. >> >> Is there something else I need to do to in the stack to activate remote >> debugging? >> >> Samsung S4, Android 5.0.1 >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Feb 24 01:34:37 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Feb 2017 00:34:37 -0600 Subject: Remote debugger In-Reply-To: References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> Message-ID: <4693cb95-d29a-a7c4-f774-0d4372649726@hyperactivesw.com> How do the sockets communicate? My phone is on wifi, my Mac is ethernet. They both go through the same router though. On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote: > Hi Jacque, > > Make sure you add the remote debugger inclusion in Inclusions pane. This > should not be necessary in the IDE, but currently you maybe have to do it. > > Best, > Panos > > On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" < > use-livecode at lists.runrev.com> wrote: > >> I jumped all over this right away. I set a breakpoint in a test stack, >> tethered my phone to the Mac, and clicked the Test button. >> >> My button script: >> >> on mouseUp >> get "Testing" >> put it into fld 1 -- breakpoint set here >> end mouseUP >> >> The app launched on my phone and the script stopped executing at the right >> place (nothing went into fld 1) but I wasn't asked if I wanted to start a >> debugging session and the IDE didn't go into debug mode. >> >> Is there something else I need to do to in the stack to activate remote >> debugging? >> >> Samsung S4, Android 5.0.1 >> >> -- >> 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 merakosp at gmail.com Fri Feb 24 01:39:03 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 24 Feb 2017 06:39:03 +0000 Subject: Remote debugger In-Reply-To: References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> <4bea92c2-f83a-55c8-c5ff-bde85f449319@hyperactivesw.com> Message-ID: Hmm I guess you have checked Script Debug mode, is that correct? Maybe it is worth typing in the msg box "put true into grevdevelopment" and test again. This will catch any silent failure in the IDE, if any. On 24 Feb 2017 06:31, "J. Landman Gay via use-livecode" < use-livecode at lists.runrev.com> wrote: Hi Panos, I did it both ways, with the remote debugger included and without, but got the same results. It stops the app at the point where it should activate and nothing else happens. On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote: > Hi Jacque, > > Make sure you add the remote debugger inclusion in Inclusions pane. This > should not be necessary in the IDE, but currently you maybe have to do it. > > Best, > Panos > > On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" < > use-livecode at lists.runrev.com> wrote: > > I jumped all over this right away. I set a breakpoint in a test stack, >> tethered my phone to the Mac, and clicked the Test button. >> >> My button script: >> >> on mouseUp >> get "Testing" >> put it into fld 1 -- breakpoint set here >> end mouseUP >> >> The app launched on my phone and the script stopped executing at the right >> place (nothing went into fld 1) but I wasn't asked if I wanted to start a >> debugging session and the IDE didn't go into debug mode. >> >> Is there something else I need to do to in the stack to activate remote >> debugging? >> >> Samsung S4, Android 5.0.1 >> >> -- >> 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 jacque at hyperactivesw.com Fri Feb 24 01:54:29 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Feb 2017 00:54:29 -0600 Subject: Remote debugger In-Reply-To: References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> <4bea92c2-f83a-55c8-c5ff-bde85f449319@hyperactivesw.com> Message-ID: <8eccbf70-0057-7730-e111-51937db6303b@hyperactivesw.com> Debug mode is on (it always is, but I just checked again.) I set gRevDevelopment to true, but no change. It acts like the phone script stops at the breakpoint but the IDE doesn't know anything happened. On 2/24/17 12:39 AM, panagiotis merakos via use-livecode wrote: > Hmm I guess you have checked Script Debug mode, is that correct? Maybe it > is worth typing in the msg box "put true into grevdevelopment" and test > again. This will catch any silent failure in the IDE, if any. > > On 24 Feb 2017 06:31, "J. Landman Gay via use-livecode" < > use-livecode at lists.runrev.com> wrote: > > Hi Panos, > > I did it both ways, with the remote debugger included and without, but got > the same results. It stops the app at the point where it should activate > and nothing else happens. > > > > On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote: > >> Hi Jacque, >> >> Make sure you add the remote debugger inclusion in Inclusions pane. This >> should not be necessary in the IDE, but currently you maybe have to do it. >> >> Best, >> Panos >> >> On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" < >> use-livecode at lists.runrev.com> wrote: >> >> I jumped all over this right away. I set a breakpoint in a test stack, >>> tethered my phone to the Mac, and clicked the Test button. >>> >>> My button script: >>> >>> on mouseUp >>> get "Testing" >>> put it into fld 1 -- breakpoint set here >>> end mouseUP >>> >>> The app launched on my phone and the script stopped executing at the right >>> place (nothing went into fld 1) but I wasn't asked if I wanted to start a >>> debugging session and the IDE didn't go into debug mode. >>> >>> Is there something else I need to do to in the stack to activate remote >>> debugging? >>> >>> Samsung S4, Android 5.0.1 >>> >>> -- >>> 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 monte at appisle.net Fri Feb 24 03:36:55 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 24 Feb 2017 19:36:55 +1100 Subject: Remote debugger In-Reply-To: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> Message-ID: <9E1ED5E0-CE98-4764-9B8F-D1317C269AC4@appisle.net> You need to ensure the internet permission is on for android. We probably should make that automagicial with the test button.. Sent from my iPhone > On 24 Feb 2017, at 4:44 pm, J. Landman Gay via use-livecode wrote: > > I jumped all over this right away. I set a breakpoint in a test stack, tethered my phone to the Mac, and clicked the Test button. > > My button script: > > on mouseUp > get "Testing" > put it into fld 1 -- breakpoint set here > end mouseUP > > The app launched on my phone and the script stopped executing at the right place (nothing went into fld 1) but I wasn't asked if I wanted to start a debugging session and the IDE didn't go into debug mode. > > Is there something else I need to do to in the stack to activate remote debugging? > > Samsung S4, Android 5.0.1 > > -- > 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 smudge.andy at googlemail.com Fri Feb 24 03:38:47 2017 From: smudge.andy at googlemail.com (AndyP) Date: Fri, 24 Feb 2017 00:38:47 -0800 (PST) Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: <6604c4fb-f94c-a75e-0fb4-7b82d9ad53a3@gmail.com> References: <6604c4fb-f94c-a75e-0fb4-7b82d9ad53a3@gmail.com> Message-ID: <1487925527809-4712571.post@n4.nabble.com> Apart from all the other changes, Its great to see Android getting some updates and attention. A big well done to the team! ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Release-9-0-0-DP-5-tp4712530p4712571.html Sent from the Revolution - User mailing list archive at Nabble.com. From ali.lloyd at livecode.com Fri Feb 24 03:44:40 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 24 Feb 2017 08:44:40 +0000 Subject: Remote debugger In-Reply-To: <8eccbf70-0057-7730-e111-51937db6303b@hyperactivesw.com> References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> <4bea92c2-f83a-55c8-c5ff-bde85f449319@hyperactivesw.com> <8eccbf70-0057-7730-e111-51937db6303b@hyperactivesw.com> Message-ID: The dialog asking if you want to start a remote debug session should occur as soon as you launch the app, so if that isn't happening then something is not working with the socket, I would imagine. Perhaps try with the phone actually connected by USB to the Mac and see if that works? On Fri, Feb 24, 2017 at 6:54 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Debug mode is on (it always is, but I just checked again.) I set > gRevDevelopment to true, but no change. It acts like the phone script > stops at the breakpoint but the IDE doesn't know anything happened. > > > On 2/24/17 12:39 AM, panagiotis merakos via use-livecode wrote: > > Hmm I guess you have checked Script Debug mode, is that correct? Maybe it > > is worth typing in the msg box "put true into grevdevelopment" and test > > again. This will catch any silent failure in the IDE, if any. > > > > On 24 Feb 2017 06:31, "J. Landman Gay via use-livecode" < > > use-livecode at lists.runrev.com> wrote: > > > > Hi Panos, > > > > I did it both ways, with the remote debugger included and without, but > got > > the same results. It stops the app at the point where it should activate > > and nothing else happens. > > > > > > > > On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote: > > > >> Hi Jacque, > >> > >> Make sure you add the remote debugger inclusion in Inclusions pane. This > >> should not be necessary in the IDE, but currently you maybe have to do > it. > >> > >> Best, > >> Panos > >> > >> On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" < > >> use-livecode at lists.runrev.com> wrote: > >> > >> I jumped all over this right away. I set a breakpoint in a test stack, > >>> tethered my phone to the Mac, and clicked the Test button. > >>> > >>> My button script: > >>> > >>> on mouseUp > >>> get "Testing" > >>> put it into fld 1 -- breakpoint set here > >>> end mouseUP > >>> > >>> The app launched on my phone and the script stopped executing at the > right > >>> place (nothing went into fld 1) but I wasn't asked if I wanted to > start a > >>> debugging session and the IDE didn't go into debug mode. > >>> > >>> Is there something else I need to do to in the stack to activate remote > >>> debugging? > >>> > >>> Samsung S4, Android 5.0.1 > >>> > >>> -- > >>> 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 iphonelagi at gmail.com Fri Feb 24 05:44:03 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 24 Feb 2017 10:44:03 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: I think everybody is overplaying this. It will only matter if the amount of money or other advantages is worth at least $110,000. The algorithm executed in Amazons cloud at the cheapest rate would cost that much in processing to get 1 key. The only people that will waste YOUR money to do this are governments and they have the equipment. If you really have something they want so much they will come through your door. Depending on what you are doing why not do 2 SHA1 or even an blowfish encrypt first. Better yet - you could write your own in a few hours based on other code - it doesnt have to be particular clever since they don't know the algorithm how will they break it unless it's just a simple transposition? Read between the lines Google doesn't use it so obviously people will start using Google's which will with 100% certainty will have a backdoor in it looking as to how they removed 140,000 indexed pages of www.naturalnews.com after the owner didn't give in to blackmail - "Don't be evil" my arse. http://www.newstarget.com/2017-02-23-breaking-mike-adams-and-alex-jones-taken-down-by-google-cia-prior-to-big-event-trump-needs-to-beware.html A bit of history of backdoors and homegrown encryption algorithm http://www.whatreallyhappened.com/WRHARTICLES/NSAchallenge.php#axzz4Zb6ctE4v I'm certainly not going to lose sleep over this. Lagi On 24 February 2017 at 01:25, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi everyone, > > Read this article today. I use SHA1 in my software, so > > https://www.recode.net/2017/2/23/14715570/google- > researchers-crack-internet-security-tool-sha1-encryption > > What do you all think? Should I bother reporting this? or is it fair to say > they know about it? What are the chances that there will be extra effort > placed on adding another sha digest function? sha256? > > THanks > > Tom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ali.lloyd at livecode.com Fri Feb 24 05:07:20 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 24 Feb 2017 10:07:20 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: <6604c4fb-f94c-a75e-0fb4-7b82d9ad53a3@gmail.com> References: <6604c4fb-f94c-a75e-0fb4-7b82d9ad53a3@gmail.com> Message-ID: Richmond, In general that is the case, yes. When for example 8.1.3 GM has been released, we merge the branches all the way up so that the develop branch (from which DPs are released) contains everything from that branch. In some cases there may be things that are in earlier releases but not in a DP, but very rarely, and I think it would only happen with regression fixes that are specific to that earlier release. On Fri, Feb 24, 2017 at 6:26 AM Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: I wish I could understand the way different "levels" come out concurrently. Are we to assume that all the new things in 8.1.3 are also bound into 9.0.0 DP-5? Richmond. On 2/23/17 10:41 pm, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.0.0 DP-5. > > > 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.0.0 DP-5 contains exciting new features, bug fixes, stability > and security improvements. > > In total, 21 bugs have been fixed since the last development preview > release (LiveCode 9.0.0 DP-4). > > Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which is > not released yet), are included in LiveCode 9.0.0 DP-5. > > LiveCode 9.0.0 DP-5 contains, among others, the following exciting new > features: > > - Implementation of NFC tag reading on Android (Community, Indy and > Business): > New functions/commands/messages to read data from NFC tags. > > - Implementation of a script library for common MIME functions (Community, > Indy and Business): > A new Multipurpose Internet Mail Extensions (MIME) library has been > implemented to provide support for common data formats such as multipart > email message bodies. > > - Implementation of a remote debugger (Business only): > Run a standalone for the local platform from the IDE and debug it whilst it > runs locally > Run a standalone for iOS or Android from the IDE and debug it whilst it > runs on a directly connected Android or iOS device > > - Implementation of a script profiler (Business only): > Use the new script profiler to identify the most costly lines of code in a > stack. > > > The full release notes are available from: > > http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_5.pdf > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > Have fun! > > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Fri Feb 24 08:53:18 2017 From: tom at makeshyft.com (Tom Glod) Date: Fri, 24 Feb 2017 08:53:18 -0500 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: thanks for sharing your thoughts on this Lagi, you make some good points. On Fri, Feb 24, 2017 at 5:44 AM, Lagi Pittas via use-livecode < use-livecode at lists.runrev.com> wrote: > I think everybody is overplaying this. > > It will only matter if the amount of money or other advantages is worth at > least $110,000. > > > The algorithm executed in Amazons cloud at the cheapest rate would cost > that much in processing to get 1 key. > > The only people that will waste YOUR money to do this are governments and > they have the equipment. > If you really have something they want so much they will come through your > door. > > Depending on what you are doing why not do 2 SHA1 or even an blowfish > encrypt first. > > Better yet - you could write your own in a few hours based on other code > - it doesnt have to be particular clever since they don't know the > algorithm how will they break it unless it's just a simple transposition? > > Read between the lines Google doesn't use it so obviously people will start > using Google's which will with 100% certainty will have a backdoor in it > looking as to how they removed 140,000 indexed pages of > www.naturalnews.com > after the owner didn't give in to blackmail - "Don't be evil" my arse. > > http://www.newstarget.com/2017-02-23-breaking-mike- > adams-and-alex-jones-taken-down-by-google-cia-prior-to- > big-event-trump-needs-to-beware.html > > A bit of history of backdoors and homegrown encryption algorithm > http://www.whatreallyhappened.com/WRHARTICLES/NSAchallenge. > php#axzz4Zb6ctE4v > > I'm certainly not going to lose sleep over this. > > > Lagi > > On 24 February 2017 at 01:25, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi everyone, > > > > Read this article today. I use SHA1 in my software, so > > > > https://www.recode.net/2017/2/23/14715570/google- > > researchers-crack-internet-security-tool-sha1-encryption > > > > What do you all think? Should I bother reporting this? or is it fair to > say > > they know about it? What are the chances that there will be extra effort > > placed on adding another sha digest function? sha256? > > > > THanks > > > > Tom > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com From danoldboy at gmail.com Fri Feb 24 08:58:50 2017 From: danoldboy at gmail.com (Dan Brown) Date: Fri, 24 Feb 2017 13:58:50 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: It may cost $110,000 today but the computational cost of executing this exploit will decrease year on year until it is trivial to perform. I would think it much better to address this issue immediately so that applications being made now are future proofed. There is also the PR element to consider - Does Livecode really want to be advertising a demonstrably insecure hash algorithm as a feature... On Fri, Feb 24, 2017 at 10:44 AM, Lagi Pittas via use-livecode < use-livecode at lists.runrev.com> wrote: > I think everybody is overplaying this. > > It will only matter if the amount of money or other advantages is worth at > least $110,000. > > > The algorithm executed in Amazons cloud at the cheapest rate would cost > that much in processing to get 1 key. > > The only people that will waste YOUR money to do this are governments and > they have the equipment. > If you really have something they want so much they will come through your > door. > > Depending on what you are doing why not do 2 SHA1 or even an blowfish > encrypt first. > > Better yet - you could write your own in a few hours based on other code > - it doesnt have to be particular clever since they don't know the > algorithm how will they break it unless it's just a simple transposition? > > Read between the lines Google doesn't use it so obviously people will start > using Google's which will with 100% certainty will have a backdoor in it > looking as to how they removed 140,000 indexed pages of > www.naturalnews.com > after the owner didn't give in to blackmail - "Don't be evil" my arse. > > http://www.newstarget.com/2017-02-23-breaking-mike- > adams-and-alex-jones-taken-down-by-google-cia-prior-to- > big-event-trump-needs-to-beware.html > > A bit of history of backdoors and homegrown encryption algorithm > http://www.whatreallyhappened.com/WRHARTICLES/NSAchallenge. > php#axzz4Zb6ctE4v > > I'm certainly not going to lose sleep over this. > > > Lagi > > On 24 February 2017 at 01:25, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi everyone, > > > > Read this article today. I use SHA1 in my software, so > > > > https://www.recode.net/2017/2/23/14715570/google- > > researchers-crack-internet-security-tool-sha1-encryption > > > > What do you all think? Should I bother reporting this? or is it fair to > say > > they know about it? What are the chances that there will be extra effort > > placed on adding another sha digest function? sha256? > > > > THanks > > > > Tom > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Fri Feb 24 09:07:00 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 Feb 2017 09:07:00 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: Other reasons to think about an external editor: 1) Code folding 2) Visual markers for structures (vertical lines that connect the beginning and end of a control structure, making it easy to see) 3) Larger community, therefore more people to work on it, make suggestions, etc. 3a) Maybe, eventually, the development team doesn't have to worry about the SE, any more, at all. 4) Why is having an integrated editor important, if your edits made via an external editor take effect immediately? If we didn't need the L server hack to get live edits, we could use any editor. 5) Choose the editor you want, for whatever reason you want it. 6) And if you're using Git or some other code repo tool, ...a) Less need to carefully mark changes in your code so you can track them because the tool does that for you. You can see all the changes that have happened in a particular handler, and you can see all the changes that go with a particular version across handlers. ...b) Undo, and undo from several months ago From MikeKerner at roadrunner.com Fri Feb 24 09:11:26 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 Feb 2017 09:11:26 -0500 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: <6604c4fb-f94c-a75e-0fb4-7b82d9ad53a3@gmail.com> Message-ID: I like the way these tracks are going. This is a very sensible and logical way to progress. The cool new dangerous toys go into the newest version, and the sensible stuff goes into both. On Fri, Feb 24, 2017 at 5:07 AM, Ali Lloyd via use-livecode < use-livecode at lists.runrev.com> wrote: > Richmond, > In general that is the case, yes. When for example 8.1.3 GM has been > released, we merge the branches all the way up so that the develop branch > (from which DPs are released) contains everything from that branch. In some > cases there may be things that are in earlier releases but not in a DP, but > very rarely, and I think it would only happen with regression fixes that > are specific to that earlier release. > > On Fri, Feb 24, 2017 at 6:26 AM Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > > I wish I could understand the way different "levels" come out > concurrently. Are we to assume > that all the new things in 8.1.3 are also bound into 9.0.0 DP-5? > > Richmond. > > On 2/23/17 10:41 pm, panagiotis merakos via use-livecode wrote: > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.0.0 DP-5. > > > > > > 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.0.0 DP-5 contains exciting new features, bug fixes, stability > > and security improvements. > > > > In total, 21 bugs have been fixed since the last development preview > > release (LiveCode 9.0.0 DP-4). > > > > Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which > is > > not released yet), are included in LiveCode 9.0.0 DP-5. > > > > LiveCode 9.0.0 DP-5 contains, among others, the following exciting new > > features: > > > > - Implementation of NFC tag reading on Android (Community, Indy and > > Business): > > New functions/commands/messages to read data from NFC tags. > > > > - Implementation of a script library for common MIME functions > (Community, > > Indy and Business): > > A new Multipurpose Internet Mail Extensions (MIME) library has been > > implemented to provide support for common data formats such as multipart > > email message bodies. > > > > - Implementation of a remote debugger (Business only): > > Run a standalone for the local platform from the IDE and debug it whilst > it > > runs locally > > Run a standalone for iOS or Android from the IDE and debug it whilst it > > runs on a directly connected Android or iOS device > > > > - Implementation of a script profiler (Business only): > > Use the new script profiler to identify the most costly lines of code in > a > > stack. > > > > > > The full release notes are available from: > > > > http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes- > 9_0_0_dp_5.pdf > > > > Feedback > > ======== > > Please report any bugs encountered on our BugZilla at > > http://quality.livecode.com/ > > > > We have a forum available for discussing LiveCode Builder at > > http://forums.livecode.com/viewforum.php?f=93 > > > > Have fun! > > > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 iphonelagi at gmail.com Fri Feb 24 09:13:38 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 24 Feb 2017 14:13:38 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: Hi I didn't say they shouldn't do it I said I won't lose any sleep over it. I don't think it needs to be built in either - just a library will do and everybody can tweak it a little bit so that NOBODY knows which one it is - that'll piss TPTB off. Lagi On 24 February 2017 at 13:58, Dan Brown via use-livecode < use-livecode at lists.runrev.com> wrote: > It may cost $110,000 today but the computational cost of executing this > exploit will decrease year on year until it is trivial to perform. I would > think it much better to address this issue immediately so that applications > being made now are future proofed. > > There is also the PR element to consider - Does Livecode really want to be > advertising a demonstrably insecure hash algorithm as a feature... > > On Fri, Feb 24, 2017 at 10:44 AM, Lagi Pittas via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I think everybody is overplaying this. > > > > It will only matter if the amount of money or other advantages is worth > at > > least $110,000. > > > > > > The algorithm executed in Amazons cloud at the cheapest rate would cost > > that much in processing to get 1 key. > > > > The only people that will waste YOUR money to do this are governments and > > they have the equipment. > > If you really have something they want so much they will come through > your > > door. > > > > Depending on what you are doing why not do 2 SHA1 or even an blowfish > > encrypt first. > > > > Better yet - you could write your own in a few hours based on other code > > - it doesnt have to be particular clever since they don't know the > > algorithm how will they break it unless it's just a simple transposition? > > > > Read between the lines Google doesn't use it so obviously people will > start > > using Google's which will with 100% certainty will have a backdoor in it > > looking as to how they removed 140,000 indexed pages of > > www.naturalnews.com > > after the owner didn't give in to blackmail - "Don't be evil" my arse. > > > > http://www.newstarget.com/2017-02-23-breaking-mike- > > adams-and-alex-jones-taken-down-by-google-cia-prior-to- > > big-event-trump-needs-to-beware.html > > > > A bit of history of backdoors and homegrown encryption algorithm > > http://www.whatreallyhappened.com/WRHARTICLES/NSAchallenge. > > php#axzz4Zb6ctE4v > > > > I'm certainly not going to lose sleep over this. > > > > > > Lagi > > > > On 24 February 2017 at 01:25, Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi everyone, > > > > > > Read this article today. I use SHA1 in my software, so > > > > > > https://www.recode.net/2017/2/23/14715570/google- > > > researchers-crack-internet-security-tool-sha1-encryption > > > > > > What do you all think? Should I bother reporting this? or is it fair to > > say > > > they know about it? What are the chances that there will be extra > effort > > > placed on adding another sha digest function? sha256? > > > > > > THanks > > > > > > Tom > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Fri Feb 24 09:13:53 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 Feb 2017 09:13:53 -0500 Subject: Remote debugger In-Reply-To: References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> <4bea92c2-f83a-55c8-c5ff-bde85f449319@hyperactivesw.com> <8eccbf70-0057-7730-e111-51937db6303b@hyperactivesw.com> Message-ID: Some more instruction on this might be helpful - if there is a socket connection, what port has to be clear? Is the development machine supposed to be listening for the mobile? I have additional security on our network, and on each endpoint, so that may need to be dealt with. On Fri, Feb 24, 2017 at 3:44 AM, Ali Lloyd via use-livecode < use-livecode at lists.runrev.com> wrote: > The dialog asking if you want to start a remote debug session should occur > as soon as you launch the app, so if that isn't happening then something is > not working with the socket, I would imagine. Perhaps try with the phone > actually connected by USB to the Mac and see if that works? > > On Fri, Feb 24, 2017 at 6:54 AM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Debug mode is on (it always is, but I just checked again.) I set > > gRevDevelopment to true, but no change. It acts like the phone script > > stops at the breakpoint but the IDE doesn't know anything happened. > > > > > > On 2/24/17 12:39 AM, panagiotis merakos via use-livecode wrote: > > > Hmm I guess you have checked Script Debug mode, is that correct? Maybe > it > > > is worth typing in the msg box "put true into grevdevelopment" and test > > > again. This will catch any silent failure in the IDE, if any. > > > > > > On 24 Feb 2017 06:31, "J. Landman Gay via use-livecode" < > > > use-livecode at lists.runrev.com> wrote: > > > > > > Hi Panos, > > > > > > I did it both ways, with the remote debugger included and without, but > > got > > > the same results. It stops the app at the point where it should > activate > > > and nothing else happens. > > > > > > > > > > > > On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote: > > > > > >> Hi Jacque, > > >> > > >> Make sure you add the remote debugger inclusion in Inclusions pane. > This > > >> should not be necessary in the IDE, but currently you maybe have to do > > it. > > >> > > >> Best, > > >> Panos > > >> > > >> On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >> I jumped all over this right away. I set a breakpoint in a test stack, > > >>> tethered my phone to the Mac, and clicked the Test button. > > >>> > > >>> My button script: > > >>> > > >>> on mouseUp > > >>> get "Testing" > > >>> put it into fld 1 -- breakpoint set here > > >>> end mouseUP > > >>> > > >>> The app launched on my phone and the script stopped executing at the > > right > > >>> place (nothing went into fld 1) but I wasn't asked if I wanted to > > start a > > >>> debugging session and the IDE didn't go into debug mode. > > >>> > > >>> Is there something else I need to do to in the stack to activate > remote > > >>> debugging? > > >>> > > >>> Samsung S4, Android 5.0.1 > > >>> > > >>> -- > > >>> 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 > -- 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 roger.e.eller at sealedair.com Fri Feb 24 09:26:24 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 24 Feb 2017 09:26:24 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: And if for #5, if I just want to keep using the LC built-in editor because I am comfortable using it, then I would hope it still exists. I guess like metacard, it would branch into it's own open-source thing, maintained by those who want it. On Fri, Feb 24, 2017 at 9:07 AM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Other reasons to think about an external editor: > 1) Code folding > 2) Visual markers for structures (vertical lines that connect the beginning > and end of a control structure, making it easy to see) > 3) Larger community, therefore more people to work on it, make suggestions, > etc. > 3a) Maybe, eventually, the development team doesn't have to worry about the > SE, any more, at all. > 4) Why is having an integrated editor important, if your edits made via an > external editor take effect immediately? If we didn't need the L server > hack to get live edits, we could use any editor. > 5) Choose the editor you want, for whatever reason you want it. > 6) And if you're using Git or some other code repo tool, > ...a) Less need to carefully mark changes in your code so you can track > them because the tool does that for you. You can see all the changes that > have happened in a particular handler, and you can see all the changes that > go with a particular version across handlers. > ...b) Undo, and undo from several months 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 MikeKerner at roadrunner.com Fri Feb 24 09:55:44 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 Feb 2017 09:55:44 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: Obviously I can't speak for LC, but since the source is already there and available, I can't imagine that it would go away, but it is definitely behind most of the run-of-the-mill text editors. From bobsneidar at iotecdigital.com Fri Feb 24 10:41:57 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 15:41:57 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: <9db8d56f-eccd-e385-1728-b03dabf37754@fourthworld.com> References: <9db8d56f-eccd-e385-1728-b03dabf37754@fourthworld.com> Message-ID: <7458EF83-AA5A-4CC0-A88C-7751CA22C45B@iotecdigital.com> That is interesting because I am still struggling with a bug http://quality.livecode.com/show_bug.cgi?id=19322 where compiling to more than one OS from a splash stack and with stack files seems to "corrupt" (I use the term loosely) the mainstack where the libraries have been added to the list of stackfiles. What it does is it changes the path of the stack files to the path of the COPIED stack files in the first (or previous) build. I say this post is interesting because this began with 8.1.x. Prior to that I could do multiple builds with no problems. Something regressed methinks in the 8.1 forward. The workaround is simple: Only build for one platform at a time. Bob S > On Feb 23, 2017, at 17:45 , Richard Gaskin via use-livecode wrote: > > v8.1 and v9 share the same format. > > But even when there is a format change, the team's done a good job of providing save-as going back at least a decade's worth of older formats. > > -- > Richard Gaskin From bobsneidar at iotecdigital.com Fri Feb 24 10:45:03 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 15:45:03 +0000 Subject: back to slow compile with 8.1.3? In-Reply-To: References: Message-ID: <4FA45D75-9EA2-49A6-8267-7FC9DD6E2CF4@iotecdigital.com> I did notice that somehow the compile was managing to open a modal stack which was a substack of the mainstack, and until I shift-ctrl-cmd-right clicked the window to get the contextual menu and set the mode of the stack to TopLevel, the compiler halted in it's tracks. Might you be experiencing something of the sort? Theoretically, messages should *NOT* be getting triggered when building a standalone! That is the only way that substack of mine could be opening. Bob S > On Feb 23, 2017, at 16:39 , Dr. Hawkins via use-livecode wrote: > > I mentioned a bit ago that with the RC sequences of 8.1.3, I had to go to > 7.1 to combine my stacks, but then they compiled quickly with 8.1.3. > > Now, I'm at 8 minutes and counting with the released 8.1.3 . . . > -- > Dr. Richard E. Hawkins, Esq. From bobsneidar at iotecdigital.com Fri Feb 24 10:52:04 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 15:52:04 +0000 Subject: Call a function on another card In-Reply-To: References: <70F0DF6E-6938-4161-9BEC-DE3DB0DD309B@iotecdigital.com> Message-ID: <38AECCC8-8342-469E-9CD3-B800EA4ACF8F@iotecdigital.com> Yes, but Peter has a single behavior for all his cards, but unique script local variables for each card. He wants those script local variables to be visible to his behavior. In a related note, I want to say again that properties can act as scoped variables using the method I described. So properties of a stack or a card or of anything can have the same names, like tableName for instance for each card displaying data from different SQL tables for instance. A behavior script for all the cards can call a function in the actual script of each card and depending on the card you are on will retrieve the properties specific to that card. A poor man's variable scoping as I have called it before. Bob S > On Feb 23, 2017, at 17:42 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: > > > I did a quick little test. The card's script local variables are not > > accessible from the behavior script. > > True, but you may not need to: each object subscribed to a behavior script maintains its own set of script-local variables. > > -- > Richard Gaskin From matthias_livecode_150811 at m-r-d.de Fri Feb 24 10:54:32 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 24 Feb 2017 16:54:32 +0100 Subject: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments Message-ID: <232CC151-8F22-43E0-98AB-14530ACBEB01@m-r-d.de> Hi, did someone already tested the new mime library, especially the command mimeEncodeAsMIMEEmail. I tried it already and i am having problems to use the command with an attachment. My problem is, the attachment is not encoded and not added to the encoded message in the IT variable. This is my sample code i am using for it on mouseUp answer File "file" if it is empty then exit to top put it into tFile put URL ("Binfile:"&tFile) into tData set the itemdelimiter to slash put item -1 of tFile into tFileName put tFile into tAttachment["filepath"] put "tFileName" into tAttachment["name"] put tData into tAttachment["data"] put "email1 at server.com " into tTo put "email2 at server.com " into tCc put "email3 at server.com " into tFrom put "this is the subject" into tSubject put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 1) into tBody mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCC, tSubject, tAttachment put it answer the result end mouseUp Shouldn?t that work? Or is there an error in it? The Result does not show any error. Regards, Matthias Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 From bobsneidar at iotecdigital.com Fri Feb 24 11:05:51 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 16:05:51 +0000 Subject: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments In-Reply-To: <232CC151-8F22-43E0-98AB-14530ACBEB01@m-r-d.de> References: <232CC151-8F22-43E0-98AB-14530ACBEB01@m-r-d.de> Message-ID: Exclude the mailto: in each email address. Bob S > On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode wrote: > > Hi, > did someone already tested the new mime library, especially the command mimeEncodeAsMIMEEmail. > > I tried it already and i am having problems to use the command with an attachment. My problem is, the attachment is not encoded and not added to the encoded message in the IT variable. > > This is my sample code i am using for it > > on mouseUp > answer File "file" > if it is empty then exit to top > put it into tFile > put URL ("Binfile:"&tFile) into tData > set the itemdelimiter to slash > put item -1 of tFile into tFileName > put tFile into tAttachment["filepath"] > put "tFileName" into tAttachment["name"] > put tData into tAttachment["data"] > > put "email1 at server.com " into tTo > put "email2 at server.com " into tCc > put "email3 at server.com " into tFrom > put "this is the subject" into tSubject > put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 1) into tBody > > > mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCC, tSubject, tAttachment > > put it > answer the result > end mouseUp > > Shouldn?t that work? Or is there an error in it? The Result does not show any error. > > > Regards, > > Matthias > Matthias Rebbe > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 24 11:08:09 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 16:08:09 +0000 Subject: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments In-Reply-To: <232CC151-8F22-43E0-98AB-14530ACBEB01@m-r-d.de> References: <232CC151-8F22-43E0-98AB-14530ACBEB01@m-r-d.de> Message-ID: <55EBA5F2-765D-40F1-AC68-4D67B41F153A@iotecdigital.com> Outside the angle brackes is the display name of the email. Inside is the actual email address. Unless the mailbox really is called "mailto:email1", the server will reject this as an invalid email address. In fact I do not believe colons are legal characters in a mailbox. Bob S > On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode wrote: > > put "email1 at server.com " into tTo From matthiasrebbe at me.com Fri Feb 24 11:08:50 2017 From: matthiasrebbe at me.com (Matthias Rebbe) Date: Fri, 24 Feb 2017 17:08:50 +0100 Subject: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments In-Reply-To: References: <232CC151-8F22-43E0-98AB-14530ACBEB01@m-r-d.de> Message-ID: Thanks, but the script does not include that. It seems Apple Mail.app added that to the script. But my original script definitely just contains the email address. > Am 24.02.2017 um 17:05 schrieb Bob Sneidar via use-livecode >: > > Exclude the mailto: in each email address. > > Bob S > > >> On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode > wrote: >> >> Hi, >> did someone already tested the new mime library, especially the command mimeEncodeAsMIMEEmail. >> >> I tried it already and i am having problems to use the command with an attachment. My problem is, the attachment is not encoded and not added to the encoded message in the IT variable. >> >> This is my sample code i am using for it >> >> on mouseUp >> answer File "file" >> if it is empty then exit to top >> put it into tFile >> put URL ("Binfile:"&tFile) into tData >> set the itemdelimiter to slash >> put item -1 of tFile into tFileName >> put tFile into tAttachment["filepath"] >> put "tFileName" into tAttachment["name"] >> put tData into tAttachment["data"] >> >> put "email1 at server.com >" into tTo >> put "email2 at server.com >" into tCc >> put "email3 at server.com >" into tFrom >> put "this is the subject" into tSubject >> put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 1) into tBody >> >> >> mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCC, tSubject, tAttachment >> >> put it >> answer the result >> end mouseUp >> >> Shouldn?t that work? Or is there an error in it? The Result does not show any error. >> >> >> Regards, >> >> Matthias >> Matthias Rebbe >> Bramkampsieke 13 >> 32312 L?bbecke >> Tel +49 5741 310000 >> +49 160 5504462 >> Fax: +49 5741 310002 >> eMail: matthias at m-r-d.de > >> >> BR5 Konverter - BR5 -> MP3 > >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 24 11:28:59 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 08:28:59 -0800 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: As much as I enjoy chatting with other users, a while back I had hoped to make this more actionable by submitting an enhancement request for sha256: http://quality.livecode.com/show_bug.cgi?id=14223 The challenge with satisfying that request is two fold: - sha2 is not a single algo, but a family of algos, and requires new syntax forms that have to be thought out in addition to the more complex engineering work to support that new set of language design patterns. - This chart shows that sha2 already has minor weaknesses, which will likely become more significant over time, suggesting we might already start looking at extending the afore-mentioned framework even further to include sha3 (and I suppose even be prepared for the inevitable sha4). http://valerieaurora.org/hash.html All that said, in light of the visibility of the issue after the recent Google research, I discussed this with a member of the core dev team yesterday, who will be evaluating the merit of this more comprehensive framework vs perhaps a simpler implementation of merely the most commonly-use sha2 flavor for now. After that analysis is done I trust we'll get an update on that soon. For now, just rest assured that they read the same security bulletins we do (Peter tends to read more than me, so I always pick up a trick or two talking with him about security), and are actively exploring options for us. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Feb 24 11:32:49 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 08:32:49 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: <40089f38-be14-16d3-b38d-dccce22aa4db@fourthworld.com> Mike Kerner wrote: > 4) Why is having an integrated editor important, if your edits made > via an external editor take effect immediately? If we didn't need > the L server hack to get live edits, we could use any editor. What is "the L server hack", and what is the threshold of acceptable immediacy? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dvglasgow at gmail.com Fri Feb 24 11:36:38 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 24 Feb 2017 16:36:38 +0000 Subject: Null symbol cross platform In-Reply-To: <3a6a67d0-52f7-7ce3-eefa-60f5154e31d7@gmail.com> References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> <3a6a67d0-52f7-7ce3-eefa-60f5154e31d7@gmail.com> Message-ID: <4B89016D-3F5A-44F2-ABCC-52E30E16D56C@gmail.com> I think you are correct, Richmond. Blagodarya vi mnogo (transliteration from vague memory, so apologies if mangled). Best wishes, David Glasgow > On 22 Feb 2017, at 2:04 pm, Richmond Mathewson via use-livecode wrote: > > Frankly I would just take a look at the Unicode convention's guff: > > U+2205 is a sort of "O" with a slanted line through it: > > http://www.fileformat.info/info/unicode/char/2205/index.htm > > http://www.unicode.org/charts/PDF/U2200.pdf > > If you stare at this PDF long enough you might get a free trip without having to reach for the LSD! > > This is NOT really the problem. What is the problem is whether the stuff "under the hood" in your operating system recognises U+2205 as the null set character or not. > > I would suggest the "quickest route to heaven" is to ask Microsoft and Apple directly. > > This would seem to suggest that Windows has not jettisoned all its pre-Unicode bumf: http://superuser.com/questions/61742/how-to-insert-a-null-character-ascii-00-in-notepad > > While ASCII 00 may result in a null set character being inserted in some Windowsy code, it may not > be displayed as the "happy" slashed zero. > > Richmond. > > > > > On 2/22/17 3:15 pm, David V Glasgow via use-livecode wrote: >> Hello, folks. >> >> I already posted this, but no response. I have a bit more informations and new areas of confusion, so I thought I would try again. >> >> I have a group displaying a number of single character fields which can be clicked on to populate other fields. Essentially a pick list. One of the options is the null set character ( the O with a line through it, U+2205). I have tried to find a cross platform font that displays it on Mac & Win. I got some apparently duff info that Trebuchet would do the trick, It is OK on Mac, but appears as the mystery character box on Win standalone. >> >> So I did some more digging, and it is listed among the characters displayed by unicode Arial MS. So I set the fonts accordingly and again it works fine on Mac, but when I test a build on Windows, I get the mystery box. This really surprised me. I did wonder whether I might get the NUL symbol appearing as letters top left to bottom right (U+2400), but the no such character surprised me. >> >> I have never attempted any unicode jiggery pokery - is that what I need to do, and if so, any guidance? >> >> Best wishes, >> >> David Glasgow >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Fri Feb 24 11:13:08 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 24 Feb 2017 16:13:08 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: <7458EF83-AA5A-4CC0-A88C-7751CA22C45B@iotecdigital.com> References: <9db8d56f-eccd-e385-1728-b03dabf37754@fourthworld.com> <7458EF83-AA5A-4CC0-A88C-7751CA22C45B@iotecdigital.com> Message-ID: Bob you are probably affected by this bug: http://quality.livecode.com/show_bug.cgi?id=19248 This will be fixed in 8.1.4 RC-1 (thanks to Trevor who identified the cause and submitted a pull request) Best, Panos -- On Fri, Feb 24, 2017 at 3:41 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > That is interesting because I am still struggling with a bug > http://quality.livecode.com/show_bug.cgi?id=19322 where compiling to more > than one OS from a splash stack and with stack files seems to "corrupt" (I > use the term loosely) the mainstack where the libraries have been added to > the list of stackfiles. What it does is it changes the path of the stack > files to the path of the COPIED stack files in the first (or previous) > build. > > I say this post is interesting because this began with 8.1.x. Prior to > that I could do multiple builds with no problems. Something regressed > methinks in the 8.1 forward. The workaround is simple: Only build for one > platform at a time. > > Bob S > > > > On Feb 23, 2017, at 17:45 , Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > v8.1 and v9 share the same format. > > > > But even when there is a format change, the team's done a good job of > providing save-as going back at least a decade's worth of older formats. > > > > -- > > 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 dvglasgow at gmail.com Fri Feb 24 11:47:47 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 24 Feb 2017 16:47:47 +0000 Subject: Null symbol cross platform In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> Message-ID: Thanks for that reminder. I had forgotten about mactoISO(). Field population isn?t from a custom property, but I have had oddities in another project which are probably exactly that. At least I can fix that! Cheers, David G > On 23 Feb 2017, at 12:31 am, J. Landman Gay via use-livecode wrote: > > If you always develop on a Mac, use macToISO() on the character when the platform is win32. LC usually does the conversion by itself, but if you are populating the list from a custom property, the script has to do it. From bobsneidar at iotecdigital.com Fri Feb 24 11:50:27 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 16:50:27 +0000 Subject: The selectedText for controls without focus Message-ID: Hi all. The Short Version: Is there a way to get the hilited text for a control without focus? The Long Version: I use a method for forms (by which I mean LC cards with fields and buttons on them) where I set the traversalOn to false on all the fields when I am simply viewing the data, so that the user will not be led to believe they are making actual edits to the database simply because they changed the value of a field. I have new/edit buttons that then set the traversalOn accordingly. But when not editing (view mode no traversalOn) users can still hilited text in a field. Of course, the field does not receive focus (no focus border) but it is clear that a selection has been made. My question is, HOW DO I GET THAT SELECTION? I want the user to be able to copy text in view mode, but unless the control has traversalOn set to true, AND the control has focus, none of the text selection commands seem to work. Not only that, none of the field handlers work. OpenField, selectionChanged, nothing. It would be better i suppose if the end user was unable to even select text in this mode (I can accomplish that with lockText) that for the text to be hilited, but nothing can be done with it. I can work around this I am sure, but it will require a lot of factoring. My question is, is there a way to get that visible selection? The engine is obviously hiliting it. Bob S From bobsneidar at iotecdigital.com Fri Feb 24 11:54:40 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 16:54:40 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: <9db8d56f-eccd-e385-1728-b03dabf37754@fourthworld.com> <7458EF83-AA5A-4CC0-A88C-7751CA22C45B@iotecdigital.com> Message-ID: That would be it, although I do not use any behaviors, except for data grids. Bob S > On Feb 24, 2017, at 08:13 , panagiotis merakos via use-livecode wrote: > > Bob you are probably affected by this bug: > > http://quality.livecode.com/show_bug.cgi?id=19248 > > This will be fixed in 8.1.4 RC-1 (thanks to Trevor who identified the cause > and submitted a pull request) > > Best, > Panos From bobsneidar at iotecdigital.com Fri Feb 24 11:57:41 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 16:57:41 +0000 Subject: Null symbol cross platform In-Reply-To: References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> Message-ID: Interesting, although the Apple checkmark (option-v) returns empty. I really like that checkmark! Bob S > On Feb 24, 2017, at 08:47 , David V Glasgow via use-livecode wrote: > > Thanks for that reminder. I had forgotten about mactoISO(). Field population isn?t from a custom property, but I have had oddities in another project which are probably exactly that. At least I can fix that! > > Cheers, > > David G > > >> On 23 Feb 2017, at 12:31 am, J. Landman Gay via use-livecode wrote: >> >> If you always develop on a Mac, use macToISO() on the character when the platform is win32. LC usually does the conversion by itself, but if you are populating the list from a custom property, the script has to do it. From merakosp at gmail.com Fri Feb 24 12:00:34 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 24 Feb 2017 17:00:34 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: <9db8d56f-eccd-e385-1728-b03dabf37754@fourthworld.com> <7458EF83-AA5A-4CC0-A88C-7751CA22C45B@iotecdigital.com> Message-ID: If you want, you can apply those changes locally: https://github.com/livecode/livecode/pull/5180/files and see if the problem is fixed. 1. Type in the msg box "edit the script of stack revsaveasstandalone" 2. Make those changes 3. Make sure you click on the "Apply" button 4. Try to create a standalone for more than one platforms PS: The changes will not be saved once you quit LiveCode, unless you change the permissions in the LiveCode .app bundle On Fri, Feb 24, 2017 at 4:54 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > That would be it, although I do not use any behaviors, except for data > grids. > > Bob S > > > > On Feb 24, 2017, at 08:13 , panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Bob you are probably affected by this bug: > > > > http://quality.livecode.com/show_bug.cgi?id=19248 > > > > This will be fixed in 8.1.4 RC-1 (thanks to Trevor who identified the > cause > > and submitted a pull request) > > > > Best, > > Panos > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 24 12:15:17 2017 From: tom at makeshyft.com (Tom Glod) Date: Fri, 24 Feb 2017 12:15:17 -0500 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: Its good to hear its being looked at by the core team. I trust the most obvious correct decision will be made eventually. On Fri, Feb 24, 2017 at 11:28 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > As much as I enjoy chatting with other users, a while back I had hoped to > make this more actionable by submitting an enhancement request for sha256: > > http://quality.livecode.com/show_bug.cgi?id=14223 > > The challenge with satisfying that request is two fold: > > - sha2 is not a single algo, but a family of algos, and requires new > syntax forms that have to be thought out in addition to the more complex > engineering work to support that new set of language design patterns. > > - This chart shows that sha2 already has minor weaknesses, which will > likely become more significant over time, suggesting we might already start > looking at extending the afore-mentioned framework even further to include > sha3 (and I suppose even be prepared for the inevitable sha4). > http://valerieaurora.org/hash.html > > All that said, in light of the visibility of the issue after the recent > Google research, I discussed this with a member of the core dev team > yesterday, who will be evaluating the merit of this more comprehensive > framework vs perhaps a simpler implementation of merely the most > commonly-use sha2 flavor for now. > > After that analysis is done I trust we'll get an update on that soon. > > For now, just rest assured that they read the same security bulletins we > do (Peter tends to read more than me, so I always pick up a trick or two > talking with him about security), and are actively exploring options for us. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and 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 > -- *Tom Glod* CEO @ *MakeShyft R.D.A* - www.makeshyft.com Developer of *U.M.P* - www.IamUMP.com From bonnmike at gmail.com Fri Feb 24 12:16:05 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 24 Feb 2017 10:16:05 -0700 Subject: The selectedText for controls without focus In-Reply-To: References: Message-ID: of field "fieldname" is an optional argument youcan use. get the selectedtext of field "myfield" On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all. > > The Short Version: > > Is there a way to get the hilited text for a control without focus? > > > The Long Version: > > I use a method for forms (by which I mean LC cards with fields and buttons > on them) where I set the traversalOn to false on all the fields when I am > simply viewing the data, so that the user will not be led to believe they > are making actual edits to the database simply because they changed the > value of a field. > > I have new/edit buttons that then set the traversalOn accordingly. But > when not editing (view mode no traversalOn) users can still hilited text in > a field. Of course, the field does not receive focus (no focus border) but > it is clear that a selection has been made. > > My question is, HOW DO I GET THAT SELECTION? I want the user to be able to > copy text in view mode, but unless the control has traversalOn set to true, > AND the control has focus, none of the text selection commands seem to > work. Not only that, none of the field handlers work. OpenField, > selectionChanged, nothing. > > It would be better i suppose if the end user was unable to even select > text in this mode (I can accomplish that with lockText) that for the text > to be hilited, but nothing can be done with it. I can work around this I am > sure, but it will require a lot of factoring. > > My question is, is there a way to get that visible selection? The engine > is obviously hiliting it. > > 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 lists at mangomultimedia.com Fri Feb 24 12:18:02 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 24 Feb 2017 11:18:02 -0600 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: <9db8d56f-eccd-e385-1728-b03dabf37754@fourthworld.com> <7458EF83-AA5A-4CC0-A88C-7751CA22C45B@iotecdigital.com> Message-ID: On Fri, Feb 24, 2017 at 11:00 AM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > If you want, you can apply those changes locally: > > https://github.com/livecode/livecode/pull/5180/files > > and see if the problem is fixed. > I have a stack that will install the standalone builder fix (plus one other one I?ve reported) when you open it. I have it as a plugin and open it when I want to build a standalone. https://www.dropbox.com/s/pficdwx3gm6z76c/InstallRevSaveAsStandaloneScriptUpdate.livecode?dl=0 -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From iphonelagi at gmail.com Fri Feb 24 12:18:56 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 24 Feb 2017 17:18:56 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: Why does it need to be a part of the language and not a widget or a library stack which we can all fiddle with for our projects , which would make it more difficult for the bad boys to decrypt? Lagi On 24 February 2017 at 17:15, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Its good to hear its being looked at by the core team. I trust the most > obvious correct decision will be made eventually. > > On Fri, Feb 24, 2017 at 11:28 AM, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > As much as I enjoy chatting with other users, a while back I had hoped to > > make this more actionable by submitting an enhancement request for > sha256: > > > > http://quality.livecode.com/show_bug.cgi?id=14223 > > > > The challenge with satisfying that request is two fold: > > > > - sha2 is not a single algo, but a family of algos, and requires new > > syntax forms that have to be thought out in addition to the more complex > > engineering work to support that new set of language design patterns. > > > > - This chart shows that sha2 already has minor weaknesses, which will > > likely become more significant over time, suggesting we might already > start > > looking at extending the afore-mentioned framework even further to > include > > sha3 (and I suppose even be prepared for the inevitable sha4). > > http://valerieaurora.org/hash.html > > > > All that said, in light of the visibility of the issue after the recent > > Google research, I discussed this with a member of the core dev team > > yesterday, who will be evaluating the merit of this more comprehensive > > framework vs perhaps a simpler implementation of merely the most > > commonly-use sha2 flavor for now. > > > > After that analysis is done I trust we'll get an update on that soon. > > > > For now, just rest assured that they read the same security bulletins we > > do (Peter tends to read more than me, so I always pick up a trick or two > > talking with him about security), and are actively exploring options for > us. > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for Desktop, Mobile, and 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 > > > > > > -- > *Tom Glod* > > CEO @ *MakeShyft R.D.A* - www.makeshyft.com > > > > Developer of *U.M.P* - www.IamUMP.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 bonnmike at gmail.com Fri Feb 24 12:21:35 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 24 Feb 2017 10:21:35 -0700 Subject: The selectedText for controls without focus In-Reply-To: References: Message-ID: Nevermind, it doesn't work, and I think it should. Enhancement request? Bug? On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner wrote: > of field "fieldname" is an optional argument youcan use. > > get the selectedtext of field "myfield" > > On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all. >> >> The Short Version: >> >> Is there a way to get the hilited text for a control without focus? >> >> >> The Long Version: >> >> I use a method for forms (by which I mean LC cards with fields and >> buttons on them) where I set the traversalOn to false on all the fields >> when I am simply viewing the data, so that the user will not be led to >> believe they are making actual edits to the database simply because they >> changed the value of a field. >> >> I have new/edit buttons that then set the traversalOn accordingly. But >> when not editing (view mode no traversalOn) users can still hilited text in >> a field. Of course, the field does not receive focus (no focus border) but >> it is clear that a selection has been made. >> >> My question is, HOW DO I GET THAT SELECTION? I want the user to be able >> to copy text in view mode, but unless the control has traversalOn set to >> true, AND the control has focus, none of the text selection commands seem >> to work. Not only that, none of the field handlers work. OpenField, >> selectionChanged, nothing. >> >> It would be better i suppose if the end user was unable to even select >> text in this mode (I can accomplish that with lockText) that for the text >> to be hilited, but nothing can be done with it. I can work around this I am >> sure, but it will require a lot of factoring. >> >> My question is, is there a way to get that visible selection? The engine >> is obviously hiliting it. >> >> Bob S >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From bobsneidar at iotecdigital.com Fri Feb 24 12:24:49 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 17:24:49 +0000 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: <9db8d56f-eccd-e385-1728-b03dabf37754@fourthworld.com> <7458EF83-AA5A-4CC0-A88C-7751CA22C45B@iotecdigital.com> Message-ID: Trevor, I've said it before and I'll say it again. You are da bomb! :-) Bob S > On Feb 24, 2017, at 09:18 , Trevor DeVore via use-livecode wrote: > > On Fri, Feb 24, 2017 at 11:00 AM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> If you want, you can apply those changes locally: >> >> https://github.com/livecode/livecode/pull/5180/files >> >> and see if the problem is fixed. >> > > I have a stack that will install the standalone builder fix (plus one other > one I?ve reported) when you open it. I have it as a plugin and open it when > I want to build a standalone. > > https://www.dropbox.com/s/pficdwx3gm6z76c/InstallRevSaveAsStandaloneScriptUpdate.livecode?dl=0 > > -- > Trevor DeVore > Outcome & ScreenSteps > www.outcomeapp.io - www.screensteps.com From bobsneidar at iotecdigital.com Fri Feb 24 12:26:29 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 17:26:29 +0000 Subject: The selectedText for controls without focus In-Reply-To: References: Message-ID: <905B5E83-7ED3-4C71-AC78-2DB6398F1EA2@iotecdigital.com> I'll submit one. Bob S > On Feb 24, 2017, at 09:21 , Mike Bonner via use-livecode wrote: > > Nevermind, it doesn't work, and I think it should. Enhancement request? > Bug? > > On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner wrote: > >> of field "fieldname" is an optional argument youcan use. >> >> get the selectedtext of field "myfield" >> >> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi all. >>> >>> The Short Version: >>> >>> Is there a way to get the hilited text for a control without focus? >>> >>> From ambassador at fourthworld.com Fri Feb 24 12:27:40 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 09:27:40 -0800 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: panagiotis merakos wrote: > http://quality.livecode.com/show_bug.cgi?id=19248 Unfortunate to see complication after complication pile up from the IDE's insistence that stacks with the same name should not be in memory at the same time. As we've discussed earlier, the engine does not appear to have such a limitation for most operations. The real issue at the root of all this is the subset of actions performed on stacks with the same name affecting the wrong stack to due an easily-fixable limitation in how topstack is derived: http://quality.livecode.com/show_bug.cgi?id=18793 If the more complete algo employed in the FixedTopStack function provided in comment #1 there were implemented in the engine's stack topstack referencing, so many workflow limitations unique to LiveCode would go away.... -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From peter.brett at livecode.com Fri Feb 24 12:32:13 2017 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 24 Feb 2017 17:32:13 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: <3f512297-f57f-bd21-3e71-cfa69a379043@livecode.com> On 24/02/2017 17:18, Lagi Pittas via use-livecode wrote: > Why does it need to be a part of the language and not a widget or a library > stack which we can all fiddle with for our projects , which would make it > more difficult for the bad boys to decrypt? Cryptographic hash implementations have a lot of fairly strict requirements that make them extremely difficult to implement in a language like LiveCode. For example, they have to run in _exactly_ the same amount of time for the same number of bytes of input, no matter what those bytes are. It would be good to have an external that provides a nice variety of cryptographic hashes, though. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From bonnmike at gmail.com Fri Feb 24 12:36:07 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 24 Feb 2017 10:36:07 -0700 Subject: The selectedText for controls without focus In-Reply-To: <905B5E83-7ED3-4C71-AC78-2DB6398F1EA2@iotecdigital.com> References: <905B5E83-7ED3-4C71-AC78-2DB6398F1EA2@iotecdigital.com> Message-ID: One last thing. On windows, with traversalon and locktext to true, text is selectable, but as expected there is no insertion point. The only way I can make a selection with traversalon = false is to double click a word. This is the opposite of just setting the locktext to true, one can drag and select, but multi clicks don't select. getting the selectedtext of field "whatever" does indeed work. (and you could turn off the focusborder too) My guess is that despite the hilite that appears when traversal is off, the text isn't actually selected. To test this, I had a button set the selection, made sure that traversal was off, then put the selectedtext of the field, and it worked as expected. So, I'd call it a bug. Either a) one shouldn't be able to faux select in that mode, or b) it should be an actual real selection which it obviously is not. On Fri, Feb 24, 2017 at 10:26 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I'll submit one. > > Bob S > > > > On Feb 24, 2017, at 09:21 , Mike Bonner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Nevermind, it doesn't work, and I think it should. Enhancement request? > > Bug? > > > > On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner > wrote: > > > >> of field "fieldname" is an optional argument youcan use. > >> > >> get the selectedtext of field "myfield" > >> > >> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Hi all. > >>> > >>> The Short Version: > >>> > >>> Is there a way to get the hilited text for a control without focus? > >>> > >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri Feb 24 12:45:54 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 24 Feb 2017 10:45:54 -0700 Subject: The selectedText for controls without focus In-Reply-To: References: <905B5E83-7ED3-4C71-AC78-2DB6398F1EA2@iotecdigital.com> Message-ID: *sigh* my mistake again. Even when selecting a word with script it doesn't work. (I still had locktext on, combined with traversal being off, and THAT worked. As soon as I turned the locktext back off it failed to work) Shutting up now, till I get some sleep. :D On Fri, Feb 24, 2017 at 10:36 AM, Mike Bonner wrote: > One last thing. On windows, with traversalon and locktext to true, text is > selectable, but as expected there is no insertion point. The only way I > can make a selection with traversalon = false is to double click a word. > > This is the opposite of just setting the locktext to true, one can drag > and select, but multi clicks don't select. getting the selectedtext of > field "whatever" does indeed work. (and you could turn off the focusborder > too) > > My guess is that despite the hilite that appears when traversal is off, > the text isn't actually selected. To test this, I had a button set the > selection, made sure that traversal was off, then put the selectedtext of > the field, and it worked as expected. > > So, I'd call it a bug. Either a) one shouldn't be able to faux select in > that mode, or b) it should be an actual real selection which it obviously > is not. > > On Fri, Feb 24, 2017 at 10:26 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I'll submit one. >> >> Bob S >> >> >> > On Feb 24, 2017, at 09:21 , Mike Bonner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > Nevermind, it doesn't work, and I think it should. Enhancement request? >> > Bug? >> > >> > On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner >> wrote: >> > >> >> of field "fieldname" is an optional argument youcan use. >> >> >> >> get the selectedtext of field "myfield" >> >> >> >> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode < >> >> use-livecode at lists.runrev.com> wrote: >> >> >> >>> Hi all. >> >>> >> >>> The Short Version: >> >>> >> >>> Is there a way to get the hilited text for a control without focus? >> >>> >> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Feb 24 12:50:41 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 17:50:41 +0000 Subject: The selectedText for controls without focus In-Reply-To: References: <905B5E83-7ED3-4C71-AC78-2DB6398F1EA2@iotecdigital.com> Message-ID: <7156F3C2-76BC-494B-91F0-552EE87B2066@iotecdigital.com> Enhancement Request 19323 submitted. As to your post, yes the selectedText 'of the field' will work. But a menu command like "Copy" would not know which field was selected. I suppose I could loop through all the fields and get the one which was not empty. I'll play with that a bit. Bob S > On Feb 24, 2017, at 09:36 , Mike Bonner via use-livecode wrote: > > One last thing. On windows, with traversalon and locktext to true, text is > selectable, but as expected there is no insertion point. The only way I > can make a selection with traversalon = false is to double click a word. > > This is the opposite of just setting the locktext to true, one can drag and > select, but multi clicks don't select. getting the selectedtext of field > "whatever" does indeed work. (and you could turn off the focusborder too) > > My guess is that despite the hilite that appears when traversal is off, the > text isn't actually selected. To test this, I had a button set the > selection, made sure that traversal was off, then put the selectedtext of > the field, and it worked as expected. > > So, I'd call it a bug. Either a) one shouldn't be able to faux select in > that mode, or b) it should be an actual real selection which it obviously > is not. From richmondmathewson at gmail.com Fri Feb 24 12:53:43 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 24 Feb 2017 19:53:43 +0200 Subject: Null symbol cross platform In-Reply-To: <4B89016D-3F5A-44F2-ABCC-52E30E16D56C@gmail.com> References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> <3a6a67d0-52f7-7ce3-eefa-60f5154e31d7@gmail.com> <4B89016D-3F5A-44F2-ABCC-52E30E16D56C@gmail.com> Message-ID: <716d5c0a-1eb0-a17e-f28b-9ca5c7d94a6f@gmail.com> Thanks for the reply; although, as I am not Bulgarian (as my Bulgarian wife of 25 years never stops reminding me: "If you were Bulgarian I never would have married you. This, of course, is a highly ambiguous statement which may be interpreted in a number of ways . . .) you don't need to stretch to Bulgarian, although, of course, the interesting Q is where that came from in your memory :) --- serious programmers; tune out NOW! ---- Frankly your formal grammar is about 100 better than mine as I have never attended any Bulgarian lessons, having "breathed in the language" along with the jolly old Eastern European pollution: which, as the nurses said when I was lying around in my own sweat in a heart attack ward about 3 years ago was just as well, because my crappy grammar kept them laughing so much through their night shifts that they were very nice indeed to me while I was lying there "intubated" after the merry op. for thrombosis. The question, which my stupid GP (who was quite unable to see the heart attack coming) didn't ask, even though she was insulting my grammar every time I went to her for my 6 monthly "oil-and-filter" until I asked her if she could say "Hello" in any other language than Bulgarian (which made her shut up for good as she is probably more monoglot than anyone else on the planet), is, was the heart attack brought on by the eastern-European pollution or my worries about not being up to par with Bulgarian grammar. Tell you what, though; I couldn't have managed to have written all the nonsense in the preceding paragraph without the "assistance" of half a bottle of "Starosel" white, a jolly efefctive Bulgarian 'fermented beverage' (my wife, with whom I share all thing (except my obsession with Livecode) drank the other half; but, being Bulgarian stayed stone cold sober). ---- OK: serious programmers: time to refocus ----- Notwithstanding the above, the problems with the "slash-zero" seems to be on several levels; or, as someone wrote on the Computer teachers' forum to which I belong: how on earth does one describe abstraction layers to 12 year old children: a tough call indeed! Richmond. On 2/24/17 6:36 pm, David V Glasgow via use-livecode wrote: > I think you are correct, Richmond. > > Blagodarya vi mnogo (transliteration from vague memory, so apologies if mangled). > > Best wishes, > > David Glasgow > >> On 22 Feb 2017, at 2:04 pm, Richmond Mathewson via use-livecode wrote: >> >> Frankly I would just take a look at the Unicode convention's guff: >> >> U+2205 is a sort of "O" with a slanted line through it: >> >> http://www.fileformat.info/info/unicode/char/2205/index.htm >> >> http://www.unicode.org/charts/PDF/U2200.pdf >> >> If you stare at this PDF long enough you might get a free trip without having to reach for the LSD! >> >> This is NOT really the problem. What is the problem is whether the stuff "under the hood" in your operating system recognises U+2205 as the null set character or not. >> >> I would suggest the "quickest route to heaven" is to ask Microsoft and Apple directly. >> >> This would seem to suggest that Windows has not jettisoned all its pre-Unicode bumf: http://superuser.com/questions/61742/how-to-insert-a-null-character-ascii-00-in-notepad >> >> While ASCII 00 may result in a null set character being inserted in some Windowsy code, it may not >> be displayed as the "happy" slashed zero. >> >> Richmond. >> >> >> >> >> On 2/22/17 3:15 pm, David V Glasgow via use-livecode wrote: >>> Hello, folks. >>> >>> I already posted this, but no response. I have a bit more informations and new areas of confusion, so I thought I would try again. >>> >>> I have a group displaying a number of single character fields which can be clicked on to populate other fields. Essentially a pick list. One of the options is the null set character ( the O with a line through it, U+2205). I have tried to find a cross platform font that displays it on Mac & Win. I got some apparently duff info that Trebuchet would do the trick, It is OK on Mac, but appears as the mystery character box on Win standalone. >>> >>> So I did some more digging, and it is listed among the characters displayed by unicode Arial MS. So I set the fonts accordingly and again it works fine on Mac, but when I test a build on Windows, I get the mystery box. This really surprised me. I did wonder whether I might get the NUL symbol appearing as letters top left to bottom right (U+2400), but the no such character surprised me. >>> >>> I have never attempted any unicode jiggery pokery - is that what I need to do, and if so, any guidance? >>> >>> Best wishes, >>> >>> David Glasgow >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 24 12:56:55 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 09:56:55 -0800 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: <9cff2752-dc33-b143-b834-1a1e91c512de@fourthworld.com> Lagi Pittas wrote: > Why does it need to be a part of the language and not a widget > or a library stack which we can all fiddle with for our projects, > which would make it more difficult for the bad boys to decrypt? Peter covered why it should be done in C, but if you really need sha256 today Mark Smith's libSHA includes a scripted version: http://marksmith.on-rev.com/revstuff/ -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Fri Feb 24 13:00:01 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 18:00:01 +0000 Subject: The selectedText for controls without focus In-Reply-To: <7156F3C2-76BC-494B-91F0-552EE87B2066@iotecdigital.com> References: <905B5E83-7ED3-4C71-AC78-2DB6398F1EA2@iotecdigital.com> <7156F3C2-76BC-494B-91F0-552EE87B2066@iotecdigital.com> Message-ID: If by "as expected" you mean the selectedText of the field can be obtained, then this is likely because you set it with the button. Selecting it with a cursor does not behave the same way. How odd. I may have to dig into the IDE and find where this is happening. Bob S > On Feb 24, 2017, at 09:50 , Bob Sneidar via use-livecode wrote: > >> To test this, I had a button set the >> selection, made sure that traversal was off, then put the selectedtext of >> the field, and it worked as expected. From bobsneidar at iotecdigital.com Fri Feb 24 13:03:59 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 18:03:59 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <9cff2752-dc33-b143-b834-1a1e91c512de@fourthworld.com> References: <9cff2752-dc33-b143-b834-1a1e91c512de@fourthworld.com> Message-ID: <9B4337EB-6B6C-48D5-BB4E-952145892178@iotecdigital.com> I dl'd and also sent him some money. Bob S > On Feb 24, 2017, at 09:56 , Richard Gaskin via use-livecode wrote: > > Peter covered why it should be done in C, but if you really need sha256 today Mark Smith's libSHA includes a scripted version: > > http://marksmith.on-rev.com/revstuff/ > > -- > Richard Gaskin From ambassador at fourthworld.com Fri Feb 24 13:06:16 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 10:06:16 -0800 Subject: The selectedText for controls without focus In-Reply-To: <7156F3C2-76BC-494B-91F0-552EE87B2066@iotecdigital.com> References: <7156F3C2-76BC-494B-91F0-552EE87B2066@iotecdigital.com> Message-ID: Bob Sneidar wrote: > Enhancement Request 19323 submitted. > > As to your post, yes the selectedText 'of the field' will work. > But a menu command like "Copy" would not know which field was > selected. I suppose I could loop through all the fields and get > the one which was not empty. I'll play with that a bit. Did you try it without the "of "? That should not be needed. LiveCode allows only one active field selection in non-list fields. This means that selecting a text run will in any field that allows it will cause any other field to lose selection and become the selectedField. This is independent of other properties like lockText, and is logically needed to prevent cases where more than one field might have a run of text selected. I've been relying on solid handling of text selections in locked fields for years, but just in case I also tested this in v9 right now: 1. Make a field as you describe 2. Make a button with this script: on mouseUp select word 2 of fld 1 copy end mouseUp 3. Turn off the button's traversalOn property. That's essential for the same reason this all works: like most systems, LC only has one keyboard-focused object at a time, and if the traversalOn is off (why isn't it just called "traversal"?) then clicking on it will not take keyboard focus away from other objects, like the selection of text runs in fields. 4. Click the button. 5. Paste into any editor and see if it worked. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Fri Feb 24 13:27:39 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 18:27:39 +0000 Subject: The selectedText for controls without focus In-Reply-To: References: <7156F3C2-76BC-494B-91F0-552EE87B2066@iotecdigital.com> Message-ID: Yes I did. It returns empty. I have a menu which intercepts the Copy menu selection. I hilite the text in a field whose traversalOn is false, then select Copy from the menu. In the menu handler I have "put the selectedText". I also tried "hilitedText". Neither work. I also tried the hilitedText of field "fldIPAddress". No bueno. If however you SET the hilitedText from a handler, it DOES return something. So it's clear that the property CAN be set even if traversalOn is false. The engine is just not doing it. This has actually been the case since version 2 when I began using Revolution. Bob S > On Feb 24, 2017, at 10:06 , Richard Gaskin via use-livecode wrote: > > That should not be needed. > > LiveCode allows only one active field selection in non-list fields. From axwald at gmail.com Fri Feb 24 13:47:35 2017 From: axwald at gmail.com (axwald) Date: Fri, 24 Feb 2017 10:47:35 -0800 (PST) Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <3f512297-f57f-bd21-3e71-cfa69a379043@livecode.com> References: <3f512297-f57f-bd21-3e71-cfa69a379043@livecode.com> Message-ID: <1487962055145-4712617.post@n4.nabble.com> Hi, few days ago I read about PHP incorporating a modern crypto lib now: > https://dev.to/paragonie/php-72-the-first-programming-language-to-add-modern-cryptography-to-its-standard-library Not a specialist regarding this, but wouldn't it be possible to interface such? > https://github.com/jedisct1/libsodium @Lagi: The first customer already called to ask if I'd use "this security risk" - thanks "LibHash-Hmac" (Richard posted the URL) I could deny plausibly :) Even if I agree with you about the real risk, it would be very bad idea not to update any commercial software now. It might even have juristic consequences, knowingly using broken crypto? Anyway. Have fun! ----- ? Livecode programming until the cat hits the fan ? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SHA1-cracked-What-are-the-chances-this-will-be-addressed-in-LC-tp4712554p4712617.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Fri Feb 24 13:54:00 2017 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 24 Feb 2017 10:54:00 -0800 Subject: Community Dictionary (was Re: Delete element from array) In-Reply-To: References: <59AE9AF7-F523-4D86-BA0B-7E14606585CE@hindu.org> Message-ID: Very nice! I think I'll start using it as my primary docs UI and see if there's anything I wish it had in addition. I love the simplicity of it. Phil Davis On 2/22/17 6:14 PM, Mike Kerner via use-livecode wrote: > Everyone, > Have a look at what Bernd has done. Again, the thread is > http://forums.livecode.com/viewtopic.php?f=67&t=28731&p=151678#p151678 > > > On Mon, Jan 30, 2017 at 9:10 PM, Mike Kerner > wrote: > >> Also, over there, I have included a list of bug reports that I found that >> seem to be relevant. If you have submitted a bug report for *the way the >> dictionary works* (not for an entry being incorrect or requiring >> modification, because that is a separate, but eventually related project), >> please weigh in so we can add it to the list. >> >> On Mon, Jan 30, 2017 at 12:00 PM, Mike Kerner >> wrote: >> >>> Do me a favor, please, and post to the thread I already started on the >>> forum. >>> http://forums.livecode.com/viewtopic.php?f=67&t=28731 >>> >>> I also have a bug report that I started on this, that I suppose you could >>> contribute to, but I would think that first the forum would be the place to >>> go, until we have some firm things, so The Team doesn't have even more >>> stuff to read when they should be writing. >>> >>> On Sat, Jan 28, 2017 at 12:03 AM, Sannyasin Brahmanathaswami via >>> use-livecode wrote: >>> >>>> Richard Gaskin wrote: >>>> >>>> /Documentation/resources/data/api/api.sqlite >>>> >>>> Oh boy, gonna have fun with that! >>>> >>>> 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 >>>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > -- Phil Davis From matthias_livecode_150811 at m-r-d.de Fri Feb 24 14:19:26 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 24 Feb 2017 20:19:26 +0100 Subject: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments In-Reply-To: References: <232CC151-8F22-43E0-98AB-14530ACBEB01@m-r-d.de> Message-ID: Hi, just found out what the problem was. I examined the mime.livecodescript file. The array which holds the attachment information has to be a multidimensional array e.g. pAttachment[1][name] for the first attachment pAttachment[2][name] for the second attachment and so on. Of course that make sense, but a note in the dictionary would have saved me some time. But anyway it?s working now. ;) Matthias Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 24.02.2017 um 17:08 schrieb Matthias Rebbe via use-livecode >: > > Thanks, but the script does not include that. It seems Apple Mail.app added that to the script. > > But my original script definitely just contains the email address. > > >> Am 24.02.2017 um 17:05 schrieb Bob Sneidar via use-livecode >>: >> >> Exclude the mailto: in each email address. >> >> Bob S >> >> >>> On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode >> wrote: >>> >>> Hi, >>> did someone already tested the new mime library, especially the command mimeEncodeAsMIMEEmail. >>> >>> I tried it already and i am having problems to use the command with an attachment. My problem is, the attachment is not encoded and not added to the encoded message in the IT variable. >>> >>> This is my sample code i am using for it >>> >>> on mouseUp >>> answer File "file" >>> if it is empty then exit to top >>> put it into tFile >>> put URL ("Binfile:"&tFile) into tData >>> set the itemdelimiter to slash >>> put item -1 of tFile into tFileName >>> put tFile into tAttachment["filepath"] >>> put "tFileName" into tAttachment["name"] >>> put tData into tAttachment["data"] >>> >>> put "email1 at server.com > >>" into tTo >>> put "email2 at server.com > >>" into tCc >>> put "email3 at server.com > >>" into tFrom >>> put "this is the subject" into tSubject >>> put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 1) into tBody >>> >>> >>> mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCC, tSubject, tAttachment >>> >>> put it >>> answer the result >>> end mouseUp >>> >>> Shouldn?t that work? Or is there an error in it? The Result does not show any error. >>> >>> >>> Regards, >>> >>> Matthias >>> Matthias Rebbe >>> Bramkampsieke 13 >>> 32312 L?bbecke >>> Tel +49 5741 310000 >>> +49 160 5504462 >>> Fax: +49 5741 310002 >>> eMail: matthias at m-r-d.de > >> >>> >>> BR5 Konverter - BR5 -> MP3 >> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 24 14:45:12 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 24 Feb 2017 19:45:12 +0000 Subject: Parsing XML Nodes w/Same Tag Message-ID: <656C8A8E-F07C-4F45-9F31-83D2D557013B@hindu.org> My longest running in house production app is an audio transcriber. Very successful little gadget, running in xTalk since 2001 We have over 1,000 XML files from an audio archive of transcripts. Now I'm digging in and getting the data out. I'm not facile with xml routines but did my best with the help of Bernd new, actually useable, dictionary. But ran into a bug in 9 DP5 (I think? ) OR I am doing something wrong given transcripts formatted with nodes like this:
CAS0886_radio-pilot_Inspired-Talks.A.mp3 1980-01-03 Gurudeva Three Words of Existence God and Lords of Dharma 18 min, 36 secs San Francisco Brahmanathaswami Subtopic: three worlds: 0:3:56 Subtopic: temple: 0:4:7

[Radio Announcer: Ravi Peruman introduces Gurudeva]

Gurudeva says ......

More content here

Subtopic: three worlds: 0:3:56

All about temple

Subtopic: temple: 0:4:7

My script looks like this put revXMLChildContents(pTree, "/audio_transcript/header",tab,return,false,4) into fld "productionNotes" # this works? I get all the contents put revXMLNodeContents(pTree,"/audio_transcript/transcript_text/p") into tText # this works but we only get the first

content # so I presume (like I said? parsing xml is new to me) we need to loop/iterate over the sibling

tags.. put revXMLNumberOfChildren(pTree,"/audio_transcript/transcript_text/","p",4) # return "6 # the following line should provide us what we need, I think, to set up a repeat loop using the indexed node function # and this is a) according to the dictionary b) and the script will compile: put revXMLChildNames(pTree,"/audio_transcript/transcript_text/", return,"p",true) I get a "green" OK in the script editor, but when I run it. we get this output, which is expected p[1] p[2] p[3] p[4] p[5] p[6] and presumably I can use that list to now fetch the contents of all those nodes (haven't figured that out yet) but the engine fires an error msg (even though the script compiled without complaining) when we run it.. button "Load Transcript": execution error at line 22 (Handler: can't find handler) near "", char 89 it is breaking on the end of this line put revXMLChildNames(pTree,"/audio_transcript/transcript_text/", return,"p",true) even though the script compiles? isn't this a bug? If it a) is what the dictionary says it should be and b) compiles, why the error? if not, what am I doing wrong? The full button script is below? and you see my "fumbling" to fetch the content of all the "p" nodes. There seems to be some oddity relating to multiples nodes all having the same tag. global theTape on mouseUp put theTape into tTranscript set the itemdel to "." put "xml" into item -1 of tTranscript if there is a file tTranscript then put url ("file:/" & tTranscript) into tTranscriptXML else answer "Sorry, there is no transcript in the same folder as the audio" with "OK" exit to top end if put revXMLCreateTree(tTranscriptXML,false, true,true) into pTree if pTree is not an integer then answer "Problem with the XML. Open in a text editor" with "OK" end if put revXMLChildContents(pTree, "/audio_transcript/header",tab,return,false,4) into fld "productionNotes" put revXMLNodeContents(pTree,"/audio_transcript/transcript_text/p") into tText put revXMLNumberOfChildren(pTree,"/audio_transcript/transcript_text/","p",4) put revXMLChildNames(pTree,"/audio_transcript/transcript_text/", return,"p",true) #this script complies, but breaks on the above line when run --put revXMLNextSibling(pTree,"/audio_transcript/transcript_text/p") into nextSibling --put revXMLNodeContents(pTree,nextSibling) after tText # feeble attempt fails, need to do some loop but don't know how. # no robust examples to follow, any help appreciated! --put revXMLNodeContents(pTree, "audio_transcript/header/duration") into tTranscriptHTML # works for single node (of course) --set the htmltext of fld "transcript" of stack "Audio_transcriber" to tTranscriptHTML end mouseUp From jacque at hyperactivesw.com Fri Feb 24 14:48:13 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Feb 2017 13:48:13 -0600 Subject: Remote debugger In-Reply-To: <9E1ED5E0-CE98-4764-9B8F-D1317C269AC4@appisle.net> References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> <9E1ED5E0-CE98-4764-9B8F-D1317C269AC4@appisle.net> Message-ID: On 2/24/17 2:36 AM, Monte Goulding via use-livecode wrote: > You need to ensure the internet permission is on for android. We > probably should make that automagicial with the test button.. Oh duh. Of course. I had overlooked the Android permission. Just in case, I also added internet and TSNet to the inclusions. Are those necessary too? I'm thinking probably not. So I ran my test stack again and was blown away. This is one of the coolest and most needed features we've had in a very long time. In my current project I need to get the text of a long error result and was about to write an ftp handler so I could move it out of the Android sandbox to a place where I could access the text. Now I don't have to, I can just get it from the debugger. This is amazing. I'd suggest that documentation make it clear what permissions and inclusions need to be set up. I'm not sure I'd make the permission automatic, since the final standalone may not want that permission set and the developer will probably forget to unset it, especially if they didn't know it was turned on in the first place. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Fri Feb 24 15:01:41 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 24 Feb 2017 15:01:41 -0500 Subject: Remote debugger In-Reply-To: References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> <9E1ED5E0-CE98-4764-9B8F-D1317C269AC4@appisle.net> Message-ID: But if you wanted to continue developing an alternative way of remote debugging, the open-source LC users would love you. :) On Fri, Feb 24, 2017 at 2:48 PM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2/24/17 2:36 AM, Monte Goulding via use-livecode wrote: > >> You need to ensure the internet permission is on for android. We >> probably should make that automagicial with the test button.. >> > > Oh duh. Of course. I had overlooked the Android permission. Just in case, > I also added internet and TSNet to the inclusions. Are those necessary too? > I'm thinking probably not. > > So I ran my test stack again and was blown away. This is one of the > coolest and most needed features we've had in a very long time. In my > current project I need to get the text of a long error result and was about > to write an ftp handler so I could move it out of the Android sandbox to a > place where I could access the text. Now I don't have to, I can just get it > from the debugger. This is amazing. > > I'd suggest that documentation make it clear what permissions and > inclusions need to be set up. I'm not sure I'd make the permission > automatic, since the final standalone may not want that permission set and > the developer will probably forget to unset it, especially if they didn't > know it was turned on in the first place. > > -- > 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 richmondmathewson at gmail.com Fri Feb 24 15:14:29 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 24 Feb 2017 22:14:29 +0200 Subject: Remote debugger In-Reply-To: References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> <9E1ED5E0-CE98-4764-9B8F-D1317C269AC4@appisle.net> Message-ID: <48811625-b649-1505-3e47-5b39b68e5991@gmail.com> Today I spent most of the day using a proximal debugger: a nit comb, for the simple reason that as the weather has warmed up several of the children picked up head-lice from "somewhere". When I saw postings about a "remote debugger" it cheered me up no end after an awful day. Thanks; what a lovely Use-list! Richmond. On 2/24/17 10:01 pm, Roger Eller via use-livecode wrote: > But if you wanted to continue developing an alternative way of remote > debugging, the open-source LC users would love you. :) > > > On Fri, Feb 24, 2017 at 2:48 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 2/24/17 2:36 AM, Monte Goulding via use-livecode wrote: >> >>> You need to ensure the internet permission is on for android. We >>> probably should make that automagicial with the test button.. >>> >> Oh duh. Of course. I had overlooked the Android permission. Just in case, >> I also added internet and TSNet to the inclusions. Are those necessary too? >> I'm thinking probably not. >> >> So I ran my test stack again and was blown away. This is one of the >> coolest and most needed features we've had in a very long time. In my >> current project I need to get the text of a long error result and was about >> to write an ftp handler so I could move it out of the Android sandbox to a >> place where I could access the text. Now I don't have to, I can just get it >> from the debugger. This is amazing. >> >> I'd suggest that documentation make it clear what permissions and >> inclusions need to be set up. I'm not sure I'd make the permission >> automatic, since the final standalone may not want that permission set and >> the developer will probably forget to unset it, especially if they didn't >> know it was turned on in the first place. >> >> -- >> 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 monte at appisle.net Fri Feb 24 15:15:52 2017 From: monte at appisle.net (Monte Goulding) Date: Sat, 25 Feb 2017 07:15:52 +1100 Subject: Remote debugger In-Reply-To: References: <9a99a712-e72b-c8e2-f991-afc59449b40e@hyperactivesw.com> <9E1ED5E0-CE98-4764-9B8F-D1317C269AC4@appisle.net> Message-ID: <65866042-F201-4032-8244-95CE3FFCD23B@appisle.net> Thanks for the positive feedback. It was an interesting project but *hard* to debug when something went wrong. > On 25 Feb 2017, at 6:48 am, J. Landman Gay via use-livecode wrote: > > I'd suggest that documentation make it clear what permissions and inclusions need to be set up. I'm not sure I'd make the permission automatic, since the final standalone may not want that permission set and the developer will probably forget to unset it, especially if they didn't know it was turned on in the first place. We probably need a system of standalone settings dependencies for inclusions in general anyway ;-) Cheers Monte From ambassador at fourthworld.com Fri Feb 24 15:35:50 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 12:35:50 -0800 Subject: The selectedText for controls without focus In-Reply-To: References: Message-ID: <31416e84-2ab3-2ba8-e352-44664083ee52@fourthworld.com> Bob Sneidar wrote: > On Feb 24, 2017, at 10:06 , Richard Gaskin wrote: >> >> That should not be needed. >> >> LiveCode allows only one active field selection in non-list fields. > > Yes I did. It returns empty. I have a menu which intercepts the > Copy menu selection. I hilite the text in a field whose traversalOn > is false, then select Copy from the menu. In the menu handler I have > "put the selectedText". I also tried "hilitedText". Neither work. I > also tried the hilitedText of field "fldIPAddress". No bueno. If > however you SET the hilitedText from a handler, it DOES return > something. So it's clear that the property CAN be set even if > traversalOn is false. The engine is just not doing it. > > This has actually been the case since version 2 when I began using > Revolution. Which Copy menu item, LC's or one of yours? In my last recipe I was using the copy command but you said you were having issues with the selectedText, so I came up with this one: http://fourthworldlabs.com/rev/LockedFieldText.livecode If has one menu and a simple script in it: on menuPick pItemName put the selectedText end menuPick So here everything I do with selections in locked fields gives me the same results as unlocked fields. I've had products that rely heavily on this behavior. If you're seeing something different we need to dig into specifics to discover the differences. But once we do I'm confident we can get it to work for you. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Fri Feb 24 15:55:55 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 Feb 2017 15:55:55 -0500 Subject: [ANN] Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: oh baby i just read the blog on the profiler. I am going to have fun with this, too. On Fri, Feb 24, 2017 at 12:27 PM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > panagiotis merakos wrote: > > > http://quality.livecode.com/show_bug.cgi?id=19248 > > Unfortunate to see complication after complication pile up from the IDE's > insistence that stacks with the same name should not be in memory at the > same time. > > As we've discussed earlier, the engine does not appear to have such a > limitation for most operations. > > The real issue at the root of all this is the subset of actions performed > on stacks with the same name affecting the wrong stack to due an > easily-fixable limitation in how topstack is derived: > > http://quality.livecode.com/show_bug.cgi?id=18793 > > If the more complete algo employed in the FixedTopStack function provided > in comment #1 there were implemented in the engine's stack topstack > referencing, so many workflow limitations unique to LiveCode would go > away.... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and 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 > -- 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 bonnmike at gmail.com Fri Feb 24 16:15:14 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 24 Feb 2017 14:15:14 -0700 Subject: The selectedText for controls without focus In-Reply-To: <31416e84-2ab3-2ba8-e352-44664083ee52@fourthworld.com> References: <31416e84-2ab3-2ba8-e352-44664083ee52@fourthworld.com> Message-ID: The difference is, turning traversal off, rather than setting the locktext to true doesn't work. Even if one manages to hilite text in the non-traversable field, it isn't really selected. (Which is why if it were me I'd not do it that way) On Fri, Feb 24, 2017 at 1:35 PM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Bob Sneidar wrote: > > On Feb 24, 2017, at 10:06 , Richard Gaskin wrote: > >> > >> That should not be needed. > >> > >> LiveCode allows only one active field selection in non-list fields. > > > > Yes I did. It returns empty. I have a menu which intercepts the > > Copy menu selection. I hilite the text in a field whose traversalOn > > is false, then select Copy from the menu. In the menu handler I have > > "put the selectedText". I also tried "hilitedText". Neither work. I > > also tried the hilitedText of field "fldIPAddress". No bueno. If > > however you SET the hilitedText from a handler, it DOES return > > something. So it's clear that the property CAN be set even if > > traversalOn is false. The engine is just not doing it. > > > > This has actually been the case since version 2 when I began using > > Revolution. > > Which Copy menu item, LC's or one of yours? > > In my last recipe I was using the copy command but you said you were > having issues with the selectedText, so I came up with this one: > http://fourthworldlabs.com/rev/LockedFieldText.livecode > > If has one menu and a simple script in it: > > on menuPick pItemName > put the selectedText > end menuPick > > So here everything I do with selections in locked fields gives me the same > results as unlocked fields. I've had products that rely heavily on this > behavior. If you're seeing something different we need to dig into > specifics to discover the differences. But once we do I'm confident we can > get it to work for you. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and 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 stephen at barncard.com Fri Feb 24 16:27:09 2017 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 24 Feb 2017 13:27:09 -0800 Subject: Null symbol cross platform In-Reply-To: <716d5c0a-1eb0-a17e-f28b-9ca5c7d94a6f@gmail.com> References: <3D1DD6C9-ED33-4564-B084-D6E53F542293@hindu.org> <3a6a67d0-52f7-7ce3-eefa-60f5154e31d7@gmail.com> <4B89016D-3F5A-44F2-ABCC-52E30E16D56C@gmail.com> <716d5c0a-1eb0-a17e-f28b-9ca5c7d94a6f@gmail.com> Message-ID: On Fri, Feb 24, 2017 at 9:53 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > --- serious programmers; tune out NOW! ---- Richmond, my world is enriched with your "crusty but benign" narratives and your asking the questions that the rest of us are to afraid to ask ( for fear of revealing our own 'holes in our knowledge' ). Always fun and educational to see posts from you as an "Enabled User". Thanks for being you and testing the limits of what we can say on this forum! -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From bobsneidar at iotecdigital.com Fri Feb 24 16:33:02 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 21:33:02 +0000 Subject: The selectedText for controls without focus In-Reply-To: <31416e84-2ab3-2ba8-e352-44664083ee52@fourthworld.com> References: <31416e84-2ab3-2ba8-e352-44664083ee52@fourthworld.com> Message-ID: Hi Richard. You are "locking" fields. I am setting the traversalOn to false. The reason I use this is because a locked field will still show the focus border, which I do not want. I suppose I can lock the field and lock the field. I will play around with it. Bob S > On Feb 24, 2017, at 12:35 , Richard Gaskin via use-livecode wrote: > > If has one menu and a simple script in it: > > on menuPick pItemName > put the selectedText > end menuPick > > So here everything I do with selections in locked fields gives me the same results as unlocked fields. I've had products that rely heavily on this behavior. If you're seeing something different we need to dig into specifics to discover the differences. But once we do I'm confident we can get it to work for you. > > -- > Richard Gaskin From jacque at hyperactivesw.com Fri Feb 24 16:46:34 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Feb 2017 15:46:34 -0600 Subject: The selectedText for controls without focus In-Reply-To: References: <31416e84-2ab3-2ba8-e352-44664083ee52@fourthworld.com> Message-ID: On 2/24/17 3:33 PM, Bob Sneidar via use-livecode wrote: > Hi Richard. You are "locking" fields. I am setting the traversalOn to > false. The reason I use this is because a locked field will still > show the focus border, which I do not want. I suppose I can lock the > field and lock the field. I will play around with it. You can turn off the focusborder in the field's property inspector. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Feb 24 18:13:34 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Feb 2017 23:13:34 +0000 Subject: The default button Message-ID: <1140205D-563F-49F2-8014-247DA1C58810@iotecdigital.com> Hi all. I was given to understand that there can only be one default button. I see I am mistaken. I thought that setting the defaultButton of a card unset the default of the button that was the defaultButton prior to that. It seems to me that this is how this ought to work, because if not, then the return key will yield unpredictable results. What this DOES do is on a standard button it changes the appearance to, for example on OS X, a blue button instead of a whitish one. Is this all this is for? It cannot be as hitting the return key WILL send a mouseUp to whatever the engine thinks is the current defaultButton. Bob S From ambassador at fourthworld.com Fri Feb 24 19:23:12 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 16:23:12 -0800 Subject: The selectedText for controls without focus In-Reply-To: References: Message-ID: Bob Sneidar wrote: > Hi Richard. You are "locking" fields. I am setting the traversalOn > to false. The reason I use this is because a locked field will still > show the focus border, which I do not want. The focus border should be governed independently, using the showFocusBorder property. If you turn that off and it still shows with traversalOn true, that would be a bug. As for traversalOn, when I turn that off the reason I don't get a focus border is because I also don't get focus - without keyboard interaction allowed with traversalOn, I'm unable to select text. That is, by the most common means, click-and-drag. I do find that I can double-click a word to select it, and when double-clicked in a field with traversalOn turned off then my example menu does indeed fail to recognize that selection. So I agree there's a bug there, but I'd go the other way: if traversalOn is supposed to prevent selections, it should also prevent selections that occur from double-clicking on words. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Fri Feb 24 19:32:40 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 24 Feb 2017 16:32:40 -0800 Subject: The default button In-Reply-To: <1140205D-563F-49F2-8014-247DA1C58810@iotecdigital.com> References: <1140205D-563F-49F2-8014-247DA1C58810@iotecdigital.com> Message-ID: On 02/24/2017 03:13 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > I was given to understand that there can only be one default button. I see I am mistaken. I thought that setting the defaultButton of a card unset the default of the button that was the defaultButton prior to that. It seems to me that this is how this ought to work, because if not, then the return key will yield unpredictable results. > > What this DOES do is on a standard button it changes the appearance to, for example on OS X, a blue button instead of a whitish one. Is this all this is for? It cannot be as hitting the return key WILL send a mouseUp to whatever the engine thinks is the current defaultButton. You *can* indeed have more than one default button, but it's not a good idea. For the reasons you mentioned and more. On OSX having more than one default button will use up huge amounts of cpu power even while doing nothing more than sitting around and looking good. PowerTools will warn you if you try to add more than one default button, but once you've been warned won't prevent it, because by that point you obviously mean to do what you're about to do. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Fri Feb 24 21:06:29 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 25 Feb 2017 02:06:29 +0000 Subject: The default button In-Reply-To: References: <1140205D-563F-49F2-8014-247DA1C58810@iotecdigital.com> Message-ID: Interesting. I think what I will do then is spend time setting all the buttons default to false, then managing which buttons have the default on. The only reason it helps me (I don't ever use standard buttons, but always attach a graphic for an icon) is that I have 3 modes each data form can have: View, Edit, New. This is so that I can control what the user can and cannot do at different states. I set the default of the save button in edit/new, but in view mode the default is the Edit button. Bob S > On Feb 24, 2017, at 16:32 , Mark Wieder via use-livecode wrote: > > You *can* indeed have more than one default button, but it's not a good idea. For the reasons you mentioned and more. On OSX having more than one default button will use up huge amounts of cpu power even while doing nothing more than sitting around and looking good. From bobsneidar at iotecdigital.com Fri Feb 24 21:18:09 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 25 Feb 2017 02:18:09 +0000 Subject: The selectedText for controls without focus In-Reply-To: References: Message-ID: <348D0667-DB39-4244-BC75-8048258D6F34@iotecdigital.com> Ok I've played with locked, traversalOn, and disabled and the only thing that alows me to enable/disable editing of the contents of a field is traversalOn. No combination of the other settings allow me to select text (in any manner that a user would expect) and yet prevent the editing of the text. I can probably check the pEditing property of each stack (which contains new|edit|view) in a keyUp handler or something to pass keyUp or no to control whether or not a user can edit or no. But it seems like a lot of convolutions to go through for something so simple as allowing a user to select and copy data from an uneditable field. Think of a web form. You can copy text all the live long day and yet not be allowed to edit it. That is what I am shooting for. I agree that if copying is not allowed, or to put it another way, if getting the selectedText or hilitedText is not possible, then the UI should not indicate that text is selected. So let's kill that first, then consider whether or not there ought to be a property that returns the hilited text of a field regardless of the status of traversalOn. Maybe we can have a new field and button property: editable? Bob S > On Feb 24, 2017, at 16:23 , Richard Gaskin via use-livecode wrote: > > So I agree there's a bug there, but I'd go the other way: if traversalOn is supposed to prevent selections, it should also prevent selections that occur from double-clicking on words. > > -- > Richard Gaskin From revdev at pdslabs.net Fri Feb 24 21:29:19 2017 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 24 Feb 2017 18:29:19 -0800 Subject: The selectedText for controls without focus In-Reply-To: <348D0667-DB39-4244-BC75-8048258D6F34@iotecdigital.com> References: <348D0667-DB39-4244-BC75-8048258D6F34@iotecdigital.com> Message-ID: <74f1c1ac-8ea3-1894-c090-f4ae88de7e3a@pdslabs.net> Don't ignore the autoHilite of a field. Dictionary says: Specifies whether a button highlights when it's pressed, or whether selected text in a field is highlighted. Phil Davis On 2/24/17 6:18 PM, Bob Sneidar via use-livecode wrote: > Ok I've played with locked, traversalOn, and disabled and the only thing that alows me to enable/disable editing of the contents of a field is traversalOn. No combination of the other settings allow me to select text (in any manner that a user would expect) and yet prevent the editing of the text. > > I can probably check the pEditing property of each stack (which contains new|edit|view) in a keyUp handler or something to pass keyUp or no to control whether or not a user can edit or no. But it seems like a lot of convolutions to go through for something so simple as allowing a user to select and copy data from an uneditable field. Think of a web form. You can copy text all the live long day and yet not be allowed to edit it. That is what I am shooting for. > > I agree that if copying is not allowed, or to put it another way, if getting the selectedText or hilitedText is not possible, then the UI should not indicate that text is selected. So let's kill that first, then consider whether or not there ought to be a property that returns the hilited text of a field regardless of the status of traversalOn. > > Maybe we can have a new field and button property: editable? > > Bob S > > >> On Feb 24, 2017, at 16:23 , Richard Gaskin via use-livecode wrote: >> >> So I agree there's a bug there, but I'd go the other way: if traversalOn is supposed to prevent selections, it should also prevent selections that occur from double-clicking on words. >> >> -- >> 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 > -- Phil Davis From MikeKerner at roadrunner.com Fri Feb 24 22:20:30 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 24 Feb 2017 22:20:30 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <40089f38-be14-16d3-b38d-dccce22aa4db@fourthworld.com> References: <40089f38-be14-16d3-b38d-dccce22aa4db@fourthworld.com> Message-ID: Trevor, in his (L)evure framework (which is what brought the original topic up that inspired this thread) developed a way to get the LC IDE to act as a server/listener and ST to broadcast every time a .livecodescript file is edited. LC then unloads and reloads the .lcs file (whether it is a front or backscript, library, behavior, etc.), causing it to be updated live, as if it had been edited in the LC SE. On Fri, Feb 24, 2017 at 11:32 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike Kerner wrote: > > > 4) Why is having an integrated editor important, if your edits made > > via an external editor take effect immediately? If we didn't need > > the L server hack to get live edits, we could use any editor. > > What is "the L server hack", and what is the threshold of acceptable > immediacy? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and 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 > -- 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 jacque at hyperactivesw.com Sat Feb 25 00:17:44 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Feb 2017 23:17:44 -0600 Subject: The selectedText for controls without focus In-Reply-To: <348D0667-DB39-4244-BC75-8048258D6F34@iotecdigital.com> References: <348D0667-DB39-4244-BC75-8048258D6F34@iotecdigital.com> Message-ID: On 2/24/17 8:18 PM, Bob Sneidar via use-livecode wrote: > Ok I've played with locked, traversalOn, and disabled and the only > thing that alows me to enable/disable editing of the contents of a > field is traversalOn. No combination of the other settings allow me > to select text (in any manner that a user would expect) and yet > prevent the editing of the text. Set a field to use locktext, traversalOn, and autohilite. You can select and copy text without the ability to edit. Command/Control-C is built into the engine so you don't need to know what the selection is, the engine just does it. Your scripts don't need to do anything to accomodate this. You can't double-click a word to select it, but you can drag. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Feb 25 01:00:48 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 22:00:48 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: Mike Kerner wrote: > On Fri, Feb 24, 2017 at 11:32 AM, Richard Gaskin wrote: > >> Mike Kerner wrote: >> >> > 4) Why is having an integrated editor important, if your edits made >> > via an external editor take effect immediately? If we didn't need >> > the L server hack to get live edits, we could use any editor. >> >> What is "the L server hack", and what is the threshold of acceptable >> immediacy? > > Trevor, in his (L)evure framework (which is what brought the original > topic up that inspired this thread) developed a way to get the LC IDE > to act as a server/listener and ST to broadcast every time a > .livecodescript file is edited. LC then unloads and reloads the .lcs > file (whether it is a front or backscript, library, behavior, etc.), > causing it to be updated live, as if it had been edited in the LC SE. Thanks. I has misread "hack" as "workaround". Sockets are of course are a very common method for processes to communicate, and are generally pretty fast, esp. on the local machine. If you've seen delays I'll bet they can be addressed. The MC IDE used to have built-in support for external editors since the olden days, and a more flexible socket-based method is even better. So far this thought experiment seems favorable to all who've responded. For those who prefer a LiveCode-based editor, I can envision are project very much like the one you started with the Dictionary, leaving scripted components in the hands of capable scripters in the community so the engine team could theoretically be freed up to do the things only they can do. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Feb 25 01:09:37 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Feb 2017 22:09:37 -0800 Subject: The selectedText for controls without focus In-Reply-To: References: Message-ID: <17dd4425-1693-a731-a620-c8d75b21a0e9@fourthworld.com> For a scriptless solution that's purely property-driven, what Jacque said covers normal click-and-drag selection at the small cost of multi-click selection. And if you need multi-click selection and don't mind a small bit of scripting, putting this in a normal editable field seems to make it uneditable well enough while still allowing Copy to work: on rawkeydown k if k = 99 then if the commandKey is "down" then copy end if end rawkeydown -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sat Feb 25 03:20:34 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 25 Feb 2017 10:20:34 +0200 Subject: Release 9.0.0 DP-5 In-Reply-To: References: Message-ID: <13a73e8e-b868-6da8-728d-ac5a5dbba0cd@gmail.com> For anyone other than myself who might possibly care about this sort of thing: 9.0.0 DP-4 runs on Mac OS 10.7.5 while 9.0.0 DP-5 does not [which means that when I want to explore its features I shall use the Linux version] Richmond. From richmondmathewson at gmail.com Sat Feb 25 04:37:14 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 25 Feb 2017 11:37:14 +0200 Subject: Goofy Drawing question Message-ID: <510b65ef-c085-0615-e51d-fa894ca95875@gmail.com> Probably very goofy, but nevertheless stumping me, so here goes: I should like to issue this sort of command (pseudocode): draw from 250,250 to 375, 375 and a line of the thickness and colour I have cosen would appear on the card. Richmond. From hh at hyperhh.de Sat Feb 25 05:07:53 2017 From: hh at hyperhh.de (hh) Date: Sat, 25 Feb 2017 11:07:53 +0100 Subject: Goofy Drawing question Message-ID: Assuming you wish to draw, not to paint: local gg="goofy", fc="255,0,0", ls=3 on mouseUp lock screen if there is no grc gg then create grc gg set style of grc gg to "polygon" -- or "line" set points of grc gg to (250,250),(375, 375) set lineSize of grc gg to ls set forecolor of grc gg to fc unlock screen end mouseUp From hh at hyperhh.de Sat Feb 25 06:09:08 2017 From: hh at hyperhh.de (hh) Date: Sat, 25 Feb 2017 12:09:08 +0100 Subject: Posting delay Message-ID: <7EFD94B7-B848-40C5-8949-363A5D0DCF8D@hyperhh.de> I have currently a "posting delay" (time between sending the mail and the becoming visible in the list) of 40 up to 60 minutes. Is this the consequence of a changed incoming spam filter? From richmondmathewson at gmail.com Sat Feb 25 07:16:20 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 25 Feb 2017 14:16:20 +0200 Subject: Goofy Drawing question In-Reply-To: References: Message-ID: <5dbfc567-85a0-ea1e-40b8-800e8eb75965@gmail.com> Aah: paint, as I don't really want lots of "artifacts" lying around after the exercise. Richmond. On 2/25/17 12:07 pm, hh via use-livecode wrote: > Assuming you wish to draw, not to paint: > > local gg="goofy", fc="255,0,0", ls=3 > > on mouseUp > lock screen > if there is no grc gg then create grc gg > set style of grc gg to "polygon" -- or "line" > set points of grc gg to (250,250),(375, 375) > set lineSize of grc gg to ls > set forecolor of grc gg to fc > unlock screen > end mouseUp > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From thatkeith at mac.com Sat Feb 25 08:15:01 2017 From: thatkeith at mac.com (Keith Martin) Date: Sat, 25 Feb 2017 13:15:01 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: An aside response... > Read between the lines Google doesn't use it so obviously people will start > using Google's which will with 100% certainty will have a backdoor in it > looking as to how they removed 140,000 indexed pages of www.naturalnews.com > after the owner didn't give in to blackmail - "Don't be evil" my arse. While Google may include a backdoor (something I consider unlikely but I realise that's no less conjecture than '100% certainty'), the Natural News issue isn't what the site owners paint it to be. This https://www.google.co.uk/amp/s/www.seroundtable.com/amp/google-natural-news-deindex-23463.html is a good place to start for reference. k From MikeKerner at roadrunner.com Sat Feb 25 09:20:42 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Feb 2017 09:20:42 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: All I did was plant the thought, and Bernd went nuts with it. Welcome to management. Where's my big paycheck and pin stripes? Anyway, we have been reeeeeeeeeeeeeeeealy slooooooooooooooooow as a community picking up the ball and running with it since LC went OSS. Every time we start going after ANYTHING in LC it's a plus, so I'm glad the dictionary is getting attention. I have a list of other LC components that I want to have fixed, but we will wait just a little longer, before getting someone to do the next one. On Sat, Feb 25, 2017 at 1:00 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike Kerner wrote: > > > On Fri, Feb 24, 2017 at 11:32 AM, Richard Gaskin wrote: > > > >> Mike Kerner wrote: > >> > >> > 4) Why is having an integrated editor important, if your edits made > >> > via an external editor take effect immediately? If we didn't need > >> > the L server hack to get live edits, we could use any editor. > >> > >> What is "the L server hack", and what is the threshold of acceptable > >> immediacy? > > > > Trevor, in his (L)evure framework (which is what brought the original > > topic up that inspired this thread) developed a way to get the LC IDE > > to act as a server/listener and ST to broadcast every time a > > .livecodescript file is edited. LC then unloads and reloads the .lcs > > file (whether it is a front or backscript, library, behavior, etc.), > > causing it to be updated live, as if it had been edited in the LC SE. > > Thanks. I has misread "hack" as "workaround". > > Sockets are of course are a very common method for processes to > communicate, and are generally pretty fast, esp. on the local machine. > > If you've seen delays I'll bet they can be addressed. > > The MC IDE used to have built-in support for external editors since the > olden days, and a more flexible socket-based method is even better. > > So far this thought experiment seems favorable to all who've responded. > For those who prefer a LiveCode-based editor, I can envision are project > very much like the one you started with the Dictionary, leaving scripted > components in the hands of capable scripters in the community so the engine > team could theoretically be freed up to do the things only they can do. > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and 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 > -- 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 dochawk at gmail.com Sat Feb 25 10:17:58 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 25 Feb 2017 07:17:58 -0800 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: On Sat, Feb 25, 2017 at 5:15 AM, Keith Martin via use-livecode < use-livecode at lists.runrev.com> wrote: > While Google may include a backdoor (something I consider unlikely but I > realise that's no less conjecture than '100% certainty'), the Natural News > issue isn't what the site owners paint it to be. This > https://www.google.co.uk/amp/s/www.seroundtable.com/amp/ > google-natural-news-deindex-23463.html is a good place to start for > reference. > Just reading a couple of paragraphs of that site was enough to tell me that the connection with reality was, well, tenable. Black helicopters, the trilateral commission, VWRC, and Yeti conversations would have fit in . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Feb 25 10:39:40 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 25 Feb 2017 07:39:40 -0800 Subject: Goofy Drawing question In-Reply-To: References: Message-ID: On Sat, Feb 25, 2017 at 2:07 AM, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Assuming you wish to draw, not to paint: > I assumed he wanted to see it draw, so . . . > > local gg="goofy", fc="255,0,0", ls=3 > > local x0=250, x1=375,y0=250, y1=275 --starting & ending coordinates local x,y, xstep, ystep local drwTm = 500 --time to take to draw it on mouseUp > lock screen > if there is no grc gg then create grc gg > set points of grc gg to (x0,y0) unlock screen set style of grc gg to "polygon" -- or "line" > set lineSize of grc gg to ls set forecolor of grc gg to fc steps = max(x1-x0, y1-y0) put (x1-x0)/steps into xstep put (y1-y0)/steps into ystep tinc = round(drwTm /steps) repeat with i = 1 to steps lock screen set points of grc gg to (x0,y0),(x0+i*xstep, y0+i*ystep) > wait tinc milliseconds with messages unlock screen end repeat > > > end mouseUp > > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From roger.e.eller at sealedair.com Sat Feb 25 10:47:45 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 25 Feb 2017 10:47:45 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: On Feb 25, 2017 9:21 AM, "Mike Kerner via use-livecode" < use-livecode at lists.runrev.com> wrote: > > All I did was plant the thought, and Bernd went nuts with it. Welcome to > management. Where's my big paycheck and pin stripes? > Anyway, we have been reeeeeeeeeeeeeeeealy slooooooooooooooooow as a > community picking up the ball and running with it since LC went OSS. Every > time we start going after ANYTHING in LC it's a plus, so I'm glad the > dictionary is getting attention. I supported LC OSS when it was in kickstarter with my personal $$$. And it was the largest sum that I personally have ever given toward any cause. It was very difficult for me because I don't sell any apps. My investment was 1) because I believe in the potential of LC to empower non-programmers to create, 2) to open the doors for OSS programmers to improve the product for everyone, 3) to reap the reward of lifetime LC upgrades so I can continue to enjoy creating without having to learn C or java, or whatever else. I have always loved the idea that our interface was created in its own language. I see the advantages for the "team" to remove some burdens, but at the same time it makes me feel like something special is being abandoned. But I'm not selling apps, so disregard me. ~Roger From jacque at hyperactivesw.com Sat Feb 25 10:52:15 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 25 Feb 2017 09:52:15 -0600 Subject: Goofy Drawing question In-Reply-To: <5dbfc567-85a0-ea1e-40b8-800e8eb75965@gmail.com> References: <5dbfc567-85a0-ea1e-40b8-800e8eb75965@gmail.com> Message-ID: <15a75f8f798.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> With a paint tool selected, use the "drag" command. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 25, 2017 6:18:16 AM Richmond Mathewson via use-livecode wrote: > Aah: paint, as I don't really want lots of "artifacts" lying around > after the exercise. > > Richmond. > > On 2/25/17 12:07 pm, hh via use-livecode wrote: >> Assuming you wish to draw, not to paint: >> >> local gg="goofy", fc="255,0,0", ls=3 >> >> on mouseUp >> lock screen >> if there is no grc gg then create grc gg >> set style of grc gg to "polygon" -- or "line" >> set points of grc gg to (250,250),(375, 375) >> set lineSize of grc gg to ls >> set forecolor of grc gg to fc >> unlock screen >> end mouseUp >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sat Feb 25 11:43:31 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Feb 2017 11:43:31 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: What do you mean, Roger? On Sat, Feb 25, 2017 at 10:47 AM, Roger Eller via use-livecode < use-livecode at lists.runrev.com> wrote: > On Feb 25, 2017 9:21 AM, "Mike Kerner via use-livecode" < > use-livecode at lists.runrev.com> wrote: > > > > All I did was plant the thought, and Bernd went nuts with it. Welcome to > > management. Where's my big paycheck and pin stripes? > > Anyway, we have been reeeeeeeeeeeeeeeealy slooooooooooooooooow as a > > community picking up the ball and running with it since LC went OSS. > Every > > time we start going after ANYTHING in LC it's a plus, so I'm glad the > > dictionary is getting attention. > > I supported LC OSS when it was in kickstarter with my personal $$$. And it > was the largest sum that I personally have ever given toward any cause. It > was very difficult for me because I don't sell any apps. My investment was > 1) because I believe in the potential of LC to empower non-programmers to > create, 2) to open the doors for OSS programmers to improve the product for > everyone, 3) to reap the reward of lifetime LC upgrades so I can continue > to enjoy creating without having to learn C or java, or whatever else. I > have always loved the idea that our interface was created in its own > language. I see the advantages for the "team" to remove some burdens, but > at the same time it makes me feel like something special is being > abandoned. But I'm not selling apps, so disregard me. > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 waprothero at gmail.com Sat Feb 25 14:45:08 2017 From: waprothero at gmail.com (William Prothero) Date: Sat, 25 Feb 2017 11:45:08 -0800 Subject: iOS SDK Set Up In-Reply-To: References: <45E4E478-68B8-45C9-83BA-783253618CAD@reidit.co.uk> <3E9ECBFC-21C5-4AA5-BADB-24A32F985B3E@leftbrainmedia.com> Message-ID: Tim: I?ve often thought of asking the mothership to provide a bit more extebsuve diagnostics (in the IDE) for those of us making iOS apps. I suspect it?s hard, because Apple is regularly changing the requirements, but for me, several months can go by without making an iOS app, and then it takes me a bunch of time to work out which developer certificate, which provisioning profile, which version of XCode, etc. I don?t know how practical this, but at least your suggestion of checking for the correct version of XCode would be helpful. Best, Bill > On Feb 25, 2017, at 10:27 AM, Bobo Tim wrote: > > This is just some feedback for the live code team. You could really save us a lot of trouble if you would do something VERY simple to the preferences screen for mobile SDK stuff. > > 1) List out which versions of Xcode have the accepted versions of the SDK that Livecode recognizes and accepts. > 2) Then you could even link to the page on Apple?s developer website where the downloads can be made. > > There are a million versions of Xcode, and the apple website does NOT make it clear always which version of the iOS SDK is included with which version of Xcode. I had to visit Wikipedia to finally track down the information we need. > > At the VERY least in your little dialog box that comes up you could say the version of the SDK, like you do, but also include the version of Xcode. that is needed for that. > > If someone would spend 20 minutes making this update of providing the right information at the right time, you could save all your users HOURS of frustration trying to figure this out, if they don?t happen to have a version of Xcode that has one of the specific limited SDKs that Livecode accepts. > > Anyone else think this would be helpful? > > > Tim Bobo > Left Brain Media, Corporation > http://www.leftbrainmedia.com > 972-345-3989 m > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev From MikeKerner at roadrunner.com Sat Feb 25 15:18:03 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Feb 2017 15:18:03 -0500 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> <649F892D-A80F-4688-972E-3E692CD7EEC7@iotecdigital.com> Message-ID: For anyone who is messing with this, sublimeText is a little different in the way you add things to it and configure it. If you get tired of the color scheme that Trevor is using, here is one way to load others. Some of these come with configuration "apps" that run inside of ST. You can also do some mixing and matching, but I'll let you figure that out: https://scotch.io/bar-talk/best-sublime-text-3-themes-of-2015-and-2016 My favorite of these, so far, is Boxy: Monokai On Wed, Feb 22, 2017 at 10:43 AM, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Wed, Feb 22, 2017 at 9:34 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > If the debugger hilites errors in red, it's working! > > > > Great. You will see the error message in the horizontal pane along the > bottom of the window. You can use CMD + CONTROL + A to navigate to the > next error in the script. > > -- > Trevor DeVore > Outcome & ScreenSteps > www.outcomeapp.io - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 richmondmathewson at gmail.com Sat Feb 25 15:26:18 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 25 Feb 2017 22:26:18 +0200 Subject: Squashed Turtles Message-ID: Ouch: http://forums.livecode.com/viewtopic.php?f=8&t=28898 Richmond. From roger.e.eller at sealedair.com Sat Feb 25 15:50:36 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 25 Feb 2017 15:50:36 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: On Sat, Feb 25, 2017 at 10:47 AM, Roger Eller wrote: > On Feb 25, 2017 9:21 AM, "Mike Kerner via use-livecode" < > use-livecode at lists.runrev.com> wrote: > > > > All I did was plant the thought, and Bernd went nuts with it. Welcome to > > management. Where's my big paycheck and pin stripes? > > Anyway, we have been reeeeeeeeeeeeeeeealy slooooooooooooooooow as a > > community picking up the ball and running with it since LC went OSS. > Every > > time we start going after ANYTHING in LC it's a plus, so I'm glad the > > dictionary is getting attention. > > I supported LC OSS when it was in kickstarter with my personal $$$. And > it was the largest sum that I personally have ever given toward any cause. > It was very difficult for me because I don't sell any apps. My investment > was 1) because I believe in the potential of LC to empower non-programmers > to create, 2) to open the doors for OSS programmers to improve the product > for everyone, 3) to reap the reward of lifetime LC upgrades so I can > continue to enjoy creating without having to learn C or java, or whatever > else. I have always loved the idea that our interface was created in its > own language. I see the advantages for the "team" to remove some burdens, > but at the same time it makes me feel like something special is being > abandoned. But I'm not selling apps, so disregard me. > > ~Roger > Just to clarify, I am thrilled that there are people in the community that have both the time and the skills to contribute. Others like myself have also contributed in varying degrees monetarily, but may or may not do more beyond that. That might be considered "reeeeeealy sloooooow at picking up the ball", but both types of contributions make OSS work at the end of the day. I love Bernd's dictionary stack, by the way. Everything he touches is outstanding! ~Roger From danoldboy at gmail.com Sat Feb 25 15:53:33 2017 From: danoldboy at gmail.com (Dan Brown) Date: Sat, 25 Feb 2017 20:53:33 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: For those interested there is a SHA-1 collider here to have a play with https://alf.nu/SHA1 On 25 Feb 2017 3:18 p.m., "Dr. Hawkins via use-livecode" < use-livecode at lists.runrev.com> wrote: > On Sat, Feb 25, 2017 at 5:15 AM, Keith Martin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > While Google may include a backdoor (something I consider unlikely but I > > realise that's no less conjecture than '100% certainty'), the Natural > News > > issue isn't what the site owners paint it to be. This > > https://www.google.co.uk/amp/s/www.seroundtable.com/amp/ > > google-natural-news-deindex-23463.html is a good place to start for > > reference. > > > > Just reading a couple of paragraphs of that site was enough to tell me that > the connection with reality was, well, tenable. Black helicopters, the > trilateral commission, VWRC, and Yeti conversations would have fit in . . . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Sat Feb 25 16:06:29 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 25 Feb 2017 21:06:29 +0000 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> <649F892D-A80F-4688-972E-3E692CD7EEC7@iotecdigital.com> Message-ID: On Sat, Feb 25, 2017 at 2:19 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > For anyone who is messing with this, sublimeText is a little different in > the way you add things to it and configure it. > > If you get tired of the color scheme that Trevor is using, here is one way > to load others. Thanks for pointing to those Mike. The LiveCode language module doesn't use any particular color scheme. It just tells Sublime Text how to classify each token in your script. Whichever scheme you are using handles the color choices. -- Trevor DeVore > From MikeKerner at roadrunner.com Sat Feb 25 18:30:28 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Feb 2017 18:30:28 -0500 Subject: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks In-Reply-To: References: <8DBDB8B2-711D-4E23-9200-008A68D9AA47@iotecdigital.com> <208427EF-F462-4796-9CAE-1AE6DB0D490C@iotecdigital.com> <301329B0-A9A4-4EA3-B94F-31696B9C5AF9@iotecdigital.com> <649F892D-A80F-4688-972E-3E692CD7EEC7@iotecdigital.com> Message-ID: Yes, and that made the task a LOT easier. Now to get the indenting fixed. I've been working on that most of the afternoon... On Sat, Feb 25, 2017 at 4:06 PM, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Sat, Feb 25, 2017 at 2:19 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > For anyone who is messing with this, sublimeText is a little different in > > the way you add things to it and configure it. > > > > If you get tired of the color scheme that Trevor is using, here is one > way > > to load others. > > > Thanks for pointing to those Mike. The LiveCode language module doesn't use > any particular color scheme. It just tells Sublime Text how to classify > each token in your script. Whichever scheme you are using handles the color > choices. > > -- > Trevor DeVore > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 MikeKerner at roadrunner.com Sat Feb 25 18:32:07 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Feb 2017 18:32:07 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: No, what I meant was that we as a group have been really slow to get the ball and start running. We're just start to get moving, but I'm hoping that with a few of these little projects started we're picking it up... On Sat, Feb 25, 2017 at 3:50 PM, Roger Eller via use-livecode < use-livecode at lists.runrev.com> wrote: > On Sat, Feb 25, 2017 at 10:47 AM, Roger Eller > > wrote: > > > On Feb 25, 2017 9:21 AM, "Mike Kerner via use-livecode" < > > use-livecode at lists.runrev.com> wrote: > > > > > > All I did was plant the thought, and Bernd went nuts with it. Welcome > to > > > management. Where's my big paycheck and pin stripes? > > > Anyway, we have been reeeeeeeeeeeeeeeealy slooooooooooooooooow as a > > > community picking up the ball and running with it since LC went OSS. > > Every > > > time we start going after ANYTHING in LC it's a plus, so I'm glad the > > > dictionary is getting attention. > > > > I supported LC OSS when it was in kickstarter with my personal $$$. And > > it was the largest sum that I personally have ever given toward any > cause. > > It was very difficult for me because I don't sell any apps. My > investment > > was 1) because I believe in the potential of LC to empower > non-programmers > > to create, 2) to open the doors for OSS programmers to improve the > product > > for everyone, 3) to reap the reward of lifetime LC upgrades so I can > > continue to enjoy creating without having to learn C or java, or whatever > > else. I have always loved the idea that our interface was created in its > > own language. I see the advantages for the "team" to remove some burdens, > > but at the same time it makes me feel like something special is being > > abandoned. But I'm not selling apps, so disregard me. > > > > ~Roger > > > Just to clarify, I am thrilled that there are people in the community that > have both the time and the skills to contribute. Others like myself have > also contributed in varying degrees monetarily, but may or may not do more > beyond that. That might be considered "reeeeeealy sloooooow at picking up > the ball", but both types of contributions make OSS work at the end of the > day. > > I love Bernd's dictionary stack, by the way. Everything he touches is > outstanding! > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 matthias_livecode_150811 at m-r-d.de Sat Feb 25 18:13:27 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 26 Feb 2017 00:13:27 +0100 Subject: Sublime Text - Trevors LivecodeLint - some questions Message-ID: I was wondering about how this code checking would work, so i installed SublimeText, installed the LiveCode Package, SublimeLinter and LC server community as described at https://github.com/trevordevore/sublimelinter-contrib-livecodelint I then tried to install the plugin SublimeLinter-contrib-livecodelint via Package Control, but i do not see the plugin in the list. So i downloaded the plugin from github, rename the folder from SublimeLinter-contrib-livecodelint-master to SublimeLinter-contrib-livecodelint and moved it into the folder ~/Library/Application Support/Sublime Text 3/Packages/User I added the described settings to the linters section and set the Lint Mode to Background. But i do not get an error when for example using a non declared variable. What am i missing. Regards, Matthias From roger.e.eller at sealedair.com Sat Feb 25 19:19:58 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 25 Feb 2017 19:19:58 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: There seems to be more stack-based collaboration over in the forums, since you can attach files. GIT seems overkill for many of the smaller tasks, and way more complicated too. At least if you've never participated in team-based coding. Balls are rolling, but rolling in different directions. I believe one just rolled under the couch. lol On Sat, Feb 25, 2017 at 6:32 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > No, what I meant was that we as a group have been really slow to get the > ball and start running. We're just start to get moving, but I'm hoping > that with a few of these little projects started we're picking it up... > > On Sat, Feb 25, 2017 at 3:50 PM, Roger Eller via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > On Sat, Feb 25, 2017 at 10:47 AM, Roger Eller < > roger.e.eller at sealedair.com > > > > > wrote: > > > > > On Feb 25, 2017 9:21 AM, "Mike Kerner via use-livecode" < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > All I did was plant the thought, and Bernd went nuts with it. > Welcome > > to > > > > management. Where's my big paycheck and pin stripes? > > > > Anyway, we have been reeeeeeeeeeeeeeeealy slooooooooooooooooow as a > > > > community picking up the ball and running with it since LC went OSS. > > > Every > > > > time we start going after ANYTHING in LC it's a plus, so I'm glad the > > > > dictionary is getting attention. > > > > > > I supported LC OSS when it was in kickstarter with my personal $$$. > And > > > it was the largest sum that I personally have ever given toward any > > cause. > > > It was very difficult for me because I don't sell any apps. My > > investment > > > was 1) because I believe in the potential of LC to empower > > non-programmers > > > to create, 2) to open the doors for OSS programmers to improve the > > product > > > for everyone, 3) to reap the reward of lifetime LC upgrades so I can > > > continue to enjoy creating without having to learn C or java, or > whatever > > > else. I have always loved the idea that our interface was created in > its > > > own language. I see the advantages for the "team" to remove some > burdens, > > > but at the same time it makes me feel like something special is being > > > abandoned. But I'm not selling apps, so disregard me. > > > > > > ~Roger > > > > > Just to clarify, I am thrilled that there are people in the community > that > > have both the time and the skills to contribute. Others like myself have > > also contributed in varying degrees monetarily, but may or may not do > more > > beyond that. That might be considered "reeeeeealy sloooooow at picking up > > the ball", but both types of contributions make OSS work at the end of > the > > day. > > > > I love Bernd's dictionary stack, by the way. Everything he touches is > > outstanding! > > > > ~Roger > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Sat Feb 25 19:40:05 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 25 Feb 2017 16:40:05 -0800 Subject: OT: javascript graphics fun Message-ID: https://www.dwitter.net/top -- Mark Wieder ahsoftware at gmail.com From MikeKerner at roadrunner.com Sat Feb 25 20:05:07 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Feb 2017 20:05:07 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: I don't think SOS is the main future. I think it gives us another option. Long before someone learns that technique, they should have the traditional method down, cold, and understand why they would use one or the other. SOS definitely make working on the IDE easier, and they make complicated projects easier, but I wouldn't even think of teaching someone who isn't already a LC expert about doing it this way. The one thing to remember about the SOS technique is that Git isn't the only option. Git is hard core, and it is hard. I still don't like it, but I am trying to tolerate it. If you're using any cloud syncing tool that can keep track of versions (Office365, Gsuite, and Dropbox come to mind), you have simple version control/rollbacks/archiving/etc. From smk at anvic.net Sun Feb 26 08:24:29 2017 From: smk at anvic.net (Simon Knight) Date: Sun, 26 Feb 2017 13:24:29 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: <5DC73A9A-F329-496D-A296-E01F0D47D03B@anvic.net> Hi, as someone who came to Livecode attracted by the hook that it could be used by Subject Matter Experts (SMEs) I try and follow these threads but please take care with the use of abbreviations / acronyms. Some I?ve worked out others I?ve no idea : OSS open source S?????, SOS ??? or generally morse code dot dot dot dash dash dash dot dot dot ?Save Our Souls? however it doesn?t read well below ;-) My concern with external editors is based on my use of the tRev editor in the past, which while having some nice features often lost the edits I made. I have no idea how it communicated with the IDE. I agree with your comments re GIT. As a one man band it seems like over kill in my situation. So I am creating an AutoSave plugin that makes a backup every few minutes if the scripts have been modified (it has no knowledge of changes to the UI). It also produces a simple log file that describes the delta between backups. I am happy to share if it is of any interest. best wishes Skids Simon Knight smk at anvic.net Telephone : 01427 325911 Mobile : 07963 077071 Skype : jtidsskids > On 26 Feb 2017, at 01:05, Mike Kerner via use-livecode wrote: > > I don't think SOS is the main future. I think it gives us another option. > Long before someone learns that technique, they should have the traditional > method down, cold, and understand why they would use one or the other. SOS > definitely make working on the IDE easier, and they make complicated > projects easier, but I wouldn't even think of teaching someone who isn't > already a LC expert about doing it this way. > > The one thing to remember about the SOS technique is that Git isn't the > only option. Git is hard core, and it is hard. I still don't like it, but > I am trying to tolerate it. If you're using any cloud syncing tool that > can keep track of versions (Office365, Gsuite, and Dropbox come to mind), > you have simple version control/rollbacks/archiving/etc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Feb 26 08:40:02 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 26 Feb 2017 08:40:02 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <5DC73A9A-F329-496D-A296-E01F0D47D03B@anvic.net> References: <5DC73A9A-F329-496D-A296-E01F0D47D03B@anvic.net> Message-ID: Abbreviations that come up in this thread: LC - livecode SE - script editor IDE - Integrated Development Environment OSS - open source software SOS - script-only stack On Sun, Feb 26, 2017 at 8:24 AM, Simon Knight via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, as someone who came to Livecode attracted by the hook that it could be > used by Subject Matter Experts (SMEs) I try and follow these threads but > please take care with the use of abbreviations / acronyms. Some I?ve > worked out others I?ve no idea : OSS open source S?????, SOS ??? or > generally morse code dot dot dot dash dash dash dot dot dot ?Save Our > Souls? however it doesn?t read well below ;-) > > My concern with external editors is based on my use of the tRev editor in > the past, which while having some nice features often lost the edits I > made. I have no idea how it communicated with the IDE. > > I agree with your comments re GIT. As a one man band it seems like over > kill in my situation. So I am creating an AutoSave plugin that makes a > backup every few minutes if the scripts have been modified (it has no > knowledge of changes to the UI). It also produces a simple log file that > describes the delta between backups. I am happy to share if it is of any > interest. > > best wishes > > Skids > > Simon Knight > smk at anvic.net > Telephone : 01427 325911 > Mobile : 07963 077071 > Skype : jtidsskids > > > > > On 26 Feb 2017, at 01:05, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I don't think SOS is the main future. I think it gives us another > option. > > Long before someone learns that technique, they should have the > traditional > > method down, cold, and understand why they would use one or the other. > SOS > > definitely make working on the IDE easier, and they make complicated > > projects easier, but I wouldn't even think of teaching someone who isn't > > already a LC expert about doing it this way. > > > > The one thing to remember about the SOS technique is that Git isn't the > > only option. Git is hard core, and it is hard. I still don't like it, > but > > I am trying to tolerate it. If you're using any cloud syncing tool that > > can keep track of versions (Office365, Gsuite, and Dropbox come to mind), > > you have simple version control/rollbacks/archiving/etc. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dochawk at gmail.com Sun Feb 26 15:41:08 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 Feb 2017 12:41:08 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: On Sat, Feb 25, 2017 at 5:05 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I don't think SOS is the main future. I think it gives us another option. I don't think it will *ever* be a full-fledged option until stacks themselves can be saved as text files for use with standard revision control and patching. The most it can due is take a chink out of the corner. And on the value of those . . . As I was nearing the end of my dissertation, and had a visiting spot for the following year lined up, with a $10k difference between waiting for paperwork (assistant prof) and ABD (instructor), my wife had to go to California to help her sister's family during her first cancer. I had to drive out to pick them up, and lost my transmission in Omaha (really, It *does* happen outside of country songs). I had a laptop with an older version of my dissertation with me, and hard-copy of the current version with advisor comments (between two majors in my Ph.D. and working outside the departments, I had three advisors). Because (and only because) LyX and LaTeX are text format, I was able to simply edit the obsolete copy and use diff to make a comparison, and apply patch to the most recent copy, and actually get two days work out of the two days I spent stranded. More commonly, until and unless livecode can save such that such standard tools or comparable can be applied, multi-person development will remain a fantasy and/or novelty. I've come to accept that the next major rewrite of my software is going to have to be in something else (Swift?) so that I can add developers, as well as the inability to actually put a pdf or eps on a card (just a bitmap of it won't do); livecode just doesn't seem to me doing towards such a direction. Yes, I understand the desire to stay true to the hypercard model, but as-is, I don't see livecode as a viable solution to a project larger than the indy limits. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sun Feb 26 16:06:13 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 26 Feb 2017 13:06:13 -0800 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: Message-ID: <247f2682-e044-f83b-3980-c41d44be8f1f@fourthworld.com> Dr. Hawkins wrote: > More commonly, until and unless livecode can save such that such > standard tools or comparable can be applied, multi-person development > will remain a fantasy and/or novelty. And yet here we are, using an IDE written in LiveCode by a team comprised of dozens of company and community developers working together on a single code base. > I've come to accept that the next major rewrite of my software is > going to have to be in something else (Swift?) so that I can add > developers, as well as the inability to actually put a pdf or eps > on a card (just a bitmap of it won't do); livecode just doesn't > seem to me doing towards such a direction. The Business Edition has already gone that direction: https://livecode.com/products/livecode-platform/pdf-viewer/ Probably at least an order of magnitude cheaper to upgrade to Business than to rewrite the whole thing in Swift from scratch. And with LC you get a cross-platform solution, while even if you did find a GUI framework for Swift for Windows you'd likely be writing a lot of forked code for each platform. -- 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 Sun Feb 26 21:21:32 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 26 Feb 2017 18:21:32 -0800 Subject: Apple, Developer Certificates, Provisioning Profiles Message-ID: <2a3d66a2-6bb6-5f62-cf0e-6e114aff9c14@sonic.net> Required reading. There's a lot to read here, and for once, the comments (also written by AgileBits devs) are at least as informative as the original message. https://blog.agilebits.com/2017/02/21/certificates-provisioning-profiles-and-expiration-dates-the-perfect-storm/ -- Mark Wieder ahsoftware at gmail.com From smk at anvic.net Mon Feb 27 04:40:34 2017 From: smk at anvic.net (Simon Knight) Date: Mon, 27 Feb 2017 09:40:34 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <5DC73A9A-F329-496D-A296-E01F0D47D03B@anvic.net> Message-ID: <388E293E-1F5C-4610-AEC6-CC47B2C58585@anvic.net> Thanks for the decode - I did wonder why the forerunner of the CIA was being talked about ;-) OSS - Office of Strategic Services Simon Simon Knight smk at anvic.net Telephone : 01427 325911 Mobile : 07963 077071 Skype : jtidsskids > On 26 Feb 2017, at 13:40, Mike Kerner via use-livecode wrote: > > Abbreviations that come up in this thread: > LC - livecode > SE - script editor > IDE - Integrated Development Environment > OSS - open source software > SOS - script-only stack > > > On Sun, Feb 26, 2017 at 8:24 AM, Simon Knight via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi, as someone who came to Livecode attracted by the hook that it could be >> used by Subject Matter Experts (SMEs) I try and follow these threads but >> please take care with the use of abbreviations / acronyms. Some I?ve >> worked out others I?ve no idea : OSS open source S?????, SOS ??? or >> generally morse code dot dot dot dash dash dash dot dot dot ?Save Our >> Souls? however it doesn?t read well below ;-) >> >> My concern with external editors is based on my use of the tRev editor in >> the past, which while having some nice features often lost the edits I >> made. I have no idea how it communicated with the IDE. >> >> I agree with your comments re GIT. As a one man band it seems like over >> kill in my situation. So I am creating an AutoSave plugin that makes a >> backup every few minutes if the scripts have been modified (it has no >> knowledge of changes to the UI). It also produces a simple log file that >> describes the delta between backups. I am happy to share if it is of any >> interest. >> >> best wishes >> >> Skids >> >> Simon Knight >> smk at anvic.net >> Telephone : 01427 325911 >> Mobile : 07963 077071 >> Skype : jtidsskids >> >> >> >>> On 26 Feb 2017, at 01:05, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I don't think SOS is the main future. I think it gives us another >> option. >>> Long before someone learns that technique, they should have the >> traditional >>> method down, cold, and understand why they would use one or the other. >> SOS >>> definitely make working on the IDE easier, and they make complicated >>> projects easier, but I wouldn't even think of teaching someone who isn't >>> already a LC expert about doing it this way. >>> >>> The one thing to remember about the SOS technique is that Git isn't the >>> only option. Git is hard core, and it is hard. I still don't like it, >> but >>> I am trying to tolerate it. If you're using any cloud syncing tool that >>> can keep track of versions (Office365, Gsuite, and Dropbox come to mind), >>> you have simple version control/rollbacks/archiving/etc. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smk at anvic.net Mon Feb 27 04:47:56 2017 From: smk at anvic.net (Simon Knight) Date: Mon, 27 Feb 2017 09:47:56 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <247f2682-e044-f83b-3980-c41d44be8f1f@fourthworld.com> References: <247f2682-e044-f83b-3980-c41d44be8f1f@fourthworld.com> Message-ID: <71CA700B-81A4-4B38-93E5-529A6B231169@anvic.net> I?m curious how do the likes of Swift, C# store details of their GUI ? As to display of PDF what is it you want to do that can?t be achieved using the browser ? best wishes Simon Simon Knight smk at anvic.net Telephone : 01427 325911 Mobile : 07963 077071 Skype : jtidsskids > On 26 Feb 2017, at 21:06, Richard Gaskin via use-livecode wrote: > > Dr. Hawkins wrote: > > > More commonly, until and unless livecode can save such that such > > standard tools or comparable can be applied, multi-person development > > will remain a fantasy and/or novelty. > > And yet here we are, using an IDE written in LiveCode by a team comprised of dozens of company and community developers working together on a single code base. > > > > I've come to accept that the next major rewrite of my software is > > going to have to be in something else (Swift?) so that I can add > > developers, as well as the inability to actually put a pdf or eps > > on a card (just a bitmap of it won't do); livecode just doesn't > > seem to me doing towards such a direction. > > The Business Edition has already gone that direction: > https://livecode.com/products/livecode-platform/pdf-viewer/ > > Probably at least an order of magnitude cheaper to upgrade to Business than to rewrite the whole thing in Swift from scratch. And with LC you get a cross-platform solution, while even if you did find a GUI framework for Swift for Windows you'd likely be writing a lot of forked code for each platform. > > -- > 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 peter.brett at livecode.com Mon Feb 27 05:49:15 2017 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 27 Feb 2017 10:49:15 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <1487962055145-4712617.post@n4.nabble.com> References: <3f512297-f57f-bd21-3e71-cfa69a379043@livecode.com> <1487962055145-4712617.post@n4.nabble.com> Message-ID: <066b99cf-f367-381e-2b69-70149a00e7e0@livecode.com> On 24/02/2017 18:47, axwald via use-livecode wrote: > few days ago I read about PHP incorporating a modern crypto lib now: >> https://dev.to/paragonie/php-72-the-first-programming-language-to-add-modern-cryptography-to-its-standard-library > > Not a specialist regarding this, but wouldn't it be possible to interface > such? >> https://github.com/jedisct1/libsodium > > @Lagi: The first customer already called to ask if I'd use "this security > risk" - thanks "LibHash-Hmac" (Richard posted the URL) I could deny > plausibly :) > Even if I agree with you about the real risk, it would be very bad idea not > to update any commercial software now. It might even have juristic > consequences, knowingly using broken crypto? If you're using SHA-1 to implement an HMAC, you should already be using the recommended formulation: hmac := hash(key | hash(key | message)) Or, in LiveCode: function HmacSha1(pKey, pData) return sha1digest(pKey & sha1digest(pKey & pData)) end HmacSha1 If you are doing this, then the current attack on SHA-1 does not affect the security of your system at all [1]. Peter [1] I am not a cryptographer but this is my understanding of the situation. -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From peter.brett at livecode.com Mon Feb 27 06:52:30 2017 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 27 Feb 2017 11:52:30 +0000 Subject: [ANN] This Week in LiveCode 72 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 #72 here: https://goo.gl/HBdY5z 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. Peter -- Dr Peter Brett lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From richmondmathewson at gmail.com Mon Feb 27 07:36:00 2017 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 Feb 2017 14:36:00 +0200 Subject: Dragging widgets Message-ID: <6e53d780-8a19-6412-1b35-9e8cd1eb7149@gmail.com> I have a stack containing an image and an SVG widget: both contain the script: on mouseDown grab me end mouseDown this means that end-users in standalones are able to drag around the image, and when they release their mouse button the image stays where they placed it. This does NOT work with the widget. Why? Richmond. From livfoss at mac.com Mon Feb 27 07:43:54 2017 From: livfoss at mac.com (Graham Samuel) Date: Mon, 27 Feb 2017 13:43:54 +0100 Subject: Dragging widgets In-Reply-To: <6e53d780-8a19-6412-1b35-9e8cd1eb7149@gmail.com> References: <6e53d780-8a19-6412-1b35-9e8cd1eb7149@gmail.com> Message-ID: Let?s hope it?s a bug. I have not tried this yet, but I am about to embark on a development that allows a lot of dragging of SVG widgets. I hope someone who knows replies soon. If it?s not a bug, my whole resizing strategy will have to revert to a library of images with different resolutions with the appropriate sizes picked out at launch time. Yuk. Graham > On 27 Feb 2017, at 13:36, Richmond via use-livecode wrote: > > I have a stack containing an image and an SVG widget: > > both contain the script: > > on mouseDown > grab me > end mouseDown > > this means that end-users in standalones are able to drag around the image, and when they > release their mouse button the image stays where they placed it. > > This does NOT work with the widget. > > Why? > > 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 MikeKerner at roadrunner.com Mon Feb 27 11:10:52 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 27 Feb 2017 11:10:52 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <71CA700B-81A4-4B38-93E5-529A6B231169@anvic.net> References: <247f2682-e044-f83b-3980-c41d44be8f1f@fourthworld.com> <71CA700B-81A4-4B38-93E5-529A6B231169@anvic.net> Message-ID: I don't understand the last question, on PDF's On Mon, Feb 27, 2017 at 4:47 AM, Simon Knight via use-livecode < use-livecode at lists.runrev.com> wrote: > I?m curious how do the likes of Swift, C# store details of their GUI ? > > As to display of PDF what is it you want to do that can?t be achieved > using the browser ? > > best wishes > Simon > > Simon Knight > smk at anvic.net > Telephone : 01427 325911 > Mobile : 07963 077071 > Skype : jtidsskids > > > > > > > On 26 Feb 2017, at 21:06, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Dr. Hawkins wrote: > > > > > More commonly, until and unless livecode can save such that such > > > standard tools or comparable can be applied, multi-person development > > > will remain a fantasy and/or novelty. > > > > And yet here we are, using an IDE written in LiveCode by a team > comprised of dozens of company and community developers working together on > a single code base. > > > > > > > I've come to accept that the next major rewrite of my software is > > > going to have to be in something else (Swift?) so that I can add > > > developers, as well as the inability to actually put a pdf or eps > > > on a card (just a bitmap of it won't do); livecode just doesn't > > > seem to me doing towards such a direction. > > > > The Business Edition has already gone that direction: > > https://livecode.com/products/livecode-platform/pdf-viewer/ > > > > Probably at least an order of magnitude cheaper to upgrade to Business > than to rewrite the whole thing in Swift from scratch. And with LC you get > a cross-platform solution, while even if you did find a GUI framework for > Swift for Windows you'd likely be writing a lot of forked code for each > platform. > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 benr_mc at cogapp.com Mon Feb 27 11:11:15 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 27 Feb 2017 16:11:15 +0000 Subject: Where did the cErrorsList go? Message-ID: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> For years I've been accustomed to interpreting the error reported in a 'catch' statement using put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. The dictionary still recommends this technique. Was there a flaw in the building process, or has there been a change (not yet reflected in the documentation)? TIA, Ben From smk at anvic.net Mon Feb 27 11:38:51 2017 From: smk at anvic.net (Simon Knight) Date: Mon, 27 Feb 2017 16:38:51 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <247f2682-e044-f83b-3980-c41d44be8f1f@fourthworld.com> <71CA700B-81A4-4B38-93E5-529A6B231169@anvic.net> Message-ID: Hi, it was the comment by Dr. Hawkins : "as well as the inability to actually put a pdf or eps on a card (just a bitmap of it won't do); livecode just doesn't seem to me doing towards such a direction. Sorry for causing confusion. > On 27 Feb 2017, at 16:10, Mike Kerner via use-livecode wrote: > > I don't understand the last question, on PDF's > > On Mon, Feb 27, 2017 at 4:47 AM, Simon Knight via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I?m curious how do the likes of Swift, C# store details of their GUI ? >> >> As to display of PDF what is it you want to do that can?t be achieved >> using the browser ? >> >> best wishes >> Simon >> >> Simon Knight >> smk at anvic.net >> Telephone : 01427 325911 >> Mobile : 07963 077071 >> Skype : jtidsskids >> >> >> >> >> >>> On 26 Feb 2017, at 21:06, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Dr. Hawkins wrote: >>> >>>> More commonly, until and unless livecode can save such that such >>>> standard tools or comparable can be applied, multi-person development >>>> will remain a fantasy and/or novelty. >>> >>> And yet here we are, using an IDE written in LiveCode by a team >> comprised of dozens of company and community developers working together on >> a single code base. >>> >>> >>>> I've come to accept that the next major rewrite of my software is >>>> going to have to be in something else (Swift?) so that I can add >>>> developers, as well as the inability to actually put a pdf or eps >>>> on a card (just a bitmap of it won't do); livecode just doesn't >>>> seem to me doing towards such a direction. >>> >>> The Business Edition has already gone that direction: >>> https://livecode.com/products/livecode-platform/pdf-viewer/ >>> >>> Probably at least an order of magnitude cheaper to upgrade to Business >> than to rewrite the whole thing in Swift from scratch. And with LC you get >> a cross-platform solution, while even if you did find a GUI framework for >> Swift for Windows you'd likely be writing a lot of forked code for each >> platform. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Feb 27 12:36:31 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 27 Feb 2017 10:36:31 -0700 Subject: Where did the cErrorsList go? In-Reply-To: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> References: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> Message-ID: I'm not sure if its the same thing, but you might try "put line xx of the scriptexecutionerrors" On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > For years I've been accustomed to interpreting the error reported in a > 'catch' statement using > > put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" > > > In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. > > The dictionary still recommends this technique. > > Was there a flaw in the building process, or has there been a change (not > yet reflected in the documentation)? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Mon Feb 27 12:12:29 2017 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 27 Feb 2017 18:12:29 +0100 Subject: Where did the cErrorsList go? In-Reply-To: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> References: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> Message-ID: Hi Ben, try this: the scriptExecutionErrors HTH, Thierry 2017-02-27 17:11 GMT+01:00 Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com>: > For years I've been accustomed to interpreting the error reported in a > 'catch' statement using > > put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" > > > In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. > > The dictionary still recommends this technique. > > Was there a flaw in the building process, or has there been a change (not > yet reflected in the documentation)? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- ------------------------------------------------ Thierry Douez - http://sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From richmondmathewson at gmail.com Mon Feb 27 12:47:51 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 27 Feb 2017 19:47:51 +0200 Subject: Dragging widgets In-Reply-To: References: <6e53d780-8a19-6412-1b35-9e8cd1eb7149@gmail.com> Message-ID: <77e4bb7c-f8f3-b330-4876-a09e98aaed96@gmail.com> I found that messing around at work in my lunch hour on Linux 32-bit; just tried the same thing on Mac OS with the same results. Richmond. On 2/27/17 2:43 pm, Graham Samuel via use-livecode wrote: > Let?s hope it?s a bug. I have not tried this yet, but I am about to embark on a development that allows a lot of dragging of SVG widgets. I hope someone who knows replies soon. If it?s not a bug, my whole resizing strategy will have to revert to a library of images with different resolutions with the appropriate sizes picked out at launch time. Yuk. > > Graham > >> On 27 Feb 2017, at 13:36, Richmond via use-livecode wrote: >> >> I have a stack containing an image and an SVG widget: >> >> both contain the script: >> >> on mouseDown >> grab me >> end mouseDown >> >> this means that end-users in standalones are able to drag around the image, and when they >> release their mouse button the image stays where they placed it. >> >> This does NOT work with the widget. >> >> Why? >> >> 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 livfoss at mac.com Mon Feb 27 13:55:11 2017 From: livfoss at mac.com (Graham Samuel) Date: Mon, 27 Feb 2017 19:55:11 +0100 Subject: [ANN] Release 8.1.3 In-Reply-To: References: Message-ID: I couldn?t see the update via ?check for updates? in 8.1.2 on a Mac. Anyone else notice this? Works OK from the downloads site. Graham > On 21 Feb 2017, at 10:57, panagiotis merakos via use-livecode wrote: > > Dear List Members, > > We are pleased to announce the release of LiveCode 8.1.3 Stable. By > "Stable", we mean that no reported regressions have been introduced in > 8.1.3, compared to the previous Stable release. > > LiveCode 8.1.3 contains 90 extra bug fixes and new features, compared to > LiveCode 8.1.2. > > *Getting the Release* > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > *Feedback* > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > > Warmest regards, > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Feb 27 13:56:53 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 27 Feb 2017 14:56:53 -0400 Subject: OT: javascript graphics fun Message-ID: This animation: https://www.dwitter.net/d/739 remembers me this Jim Hurley's stack: http://livecodeshare.runrev.com/stack/577/Kaleidoscope-Deluxe On Sat, 25 Feb 2017 Mark Wieder wrote: > > https://www.dwitter.net/top > > From dochawk at gmail.com Mon Feb 27 14:50:55 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 27 Feb 2017 11:50:55 -0800 Subject: [ANN] Release 8.1.3 In-Reply-To: References: Message-ID: On Mon, Feb 27, 2017 at 10:55 AM, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > I couldn?t see the update via ?check for updates? in 8.1.2 on a Mac. > Anyone else notice this? Works OK from the downloads site. > I've given up on taking check for updates seriously. Things eventually show up, but sometimes a release or two later. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Feb 27 15:46:21 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 27 Feb 2017 12:46:21 -0800 Subject: compiling cruft? Message-ID: I'm starting to notice a pattern here. It seems like the first time I merge and compile a version of my code, the resultant stack compiles quickly, but on subsequent compiles, it slows down and takes many minutes longer to compile. To prepare a compile, I have to reload in version 7 (supposedly as of 8.1.4-rc1 I won't), and run a routine that saves the file with a new name including "to_compile", and loads all of the other stacks as substacks, and then exits. I then compile with a current version. I just don't see where the cruft could accumulate, though--there is a "save as" with the new name before the others are loaded, and thus well before the compile. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From lists at mangomultimedia.com Mon Feb 27 15:59:41 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 27 Feb 2017 14:59:41 -0600 Subject: Sublime Text - Trevors LivecodeLint - some questions In-Reply-To: References: Message-ID: Matthias, Did you ever get this figured out? If not then email me off-list and we can troubleshoot. Right now the extension isn?t available on Package Control. I?m waiting for the Sublime Linter folks to approve the package and make it a part of their distribution. They seem to be backed up with new submissions though. -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com On Sat, Feb 25, 2017 at 5:13 PM, Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I was wondering about how this code checking would work, so i installed > SublimeText, installed the LiveCode Package, SublimeLinter and LC server > community as described at https://github.com/trevordevore/sublimelinter- > contrib-livecodelint contrib-livecodelint> > > I then tried to install the plugin SublimeLinter-contrib-livecodelint via > Package Control, but i do not see the plugin in the list. So i downloaded > the plugin from github, rename the folder from SublimeLinter-contrib-livecodelint-master > to SublimeLinter-contrib-livecodelint and moved it into the folder > ~/Library/Application Support/Sublime Text 3/Packages/User > > I added the described settings to the linters section and set the Lint > Mode to Background. But i do not get an error when for example using a non > declared variable. What am i missing. > > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 27 17:46:17 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Feb 2017 22:46:17 +0000 Subject: Apple, Developer Certificates, Provisioning Profiles In-Reply-To: <2a3d66a2-6bb6-5f62-cf0e-6e114aff9c14@sonic.net> References: <2a3d66a2-6bb6-5f62-cf0e-6e114aff9c14@sonic.net> Message-ID: Huh. I always thought CN meant Canonical Name. Bob S > On Feb 26, 2017, at 18:21 , Mark Wieder via use-livecode wrote: > > Required reading. > > There's a lot to read here, and for once, the comments (also written by AgileBits devs) are at least as informative as the original message. > > https://blog.agilebits.com/2017/02/21/certificates-provisioning-profiles-and-expiration-dates-the-perfect-storm/ > > -- > Mark Wieder > ahsoftware at gmail.com From brahma at hindu.org Mon Feb 27 20:27:06 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 28 Feb 2017 01:27:06 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: Thanks for the thorough reply Trevor. I left Sublime Text when it was "2" years ago?thinking it was an EOL'd tool but here you say "Sublime Text 3" Oh? sweet, my Sublime Text 2 license works! OK I'll try it..since Atom and Visual Studio still don't quite gel for my work flow? On 2/23/17, 4:33 AM, "use-livecode on behalf of Trevor DeVore via use-livecode" wrote: Overall I feel like Sublime Text reduces friction while I?m working. I feel like I can work much faster. From hh at hyperhh.de Mon Feb 27 22:10:55 2017 From: hh at hyperhh.de (hh) Date: Tue, 28 Feb 2017 04:10:55 +0100 Subject: Dragging widgets Message-ID: This is not a bug because a widget is not an ordinary control: Nearly all user interaction has to be allowed and scripted. I implemented a kind of "grab" in some of my LC8-widget examples. You can for example also Not focus on a widget from LC Script (that's why the browser widget is 'robust' against commands like "click"). To the current handling of elementary mouse messages by widgets/LCB see for example here, in the LC Builder forum http://forums.livecode.com/viewtopic.php?f=93&t=24369&hilit=mousedown I don't know what's updated since then because the widget format changed again with LC 9, so I wait first for a stable release before going on. From matthias_livecode_150811 at m-r-d.de Tue Feb 28 03:23:51 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 28 Feb 2017 09:23:51 +0100 Subject: FTP file upload with non-ascii characters in filename Message-ID: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> Hi, i need to upload files with non-ascii characters in the filename and this has to work on Win and Mac OS X. My script works fine when uploading files with ascii filenames, but as soon as i select a file with non-ascii characters in its filename i get an error What do i have to do with the filenames/filepath (target and source) before doing the upload? My script looks like this: answer tFile "select file..." if it is empty then exit to top put it into tFilePath replace backslash with slash in tFilePath set the itemdelimiter to slash put item -1 of tFilePath into tFile replace " " with "_" in tFile put "ftp://username:password at ftpserver.com/ "& tFile into tURL liburlftpupload tFilePath,tURL I?ve tried to urlencode tDatei. I am pretty sure there is something more. Regards, Matthias From smk at anvic.net Tue Feb 28 04:59:01 2017 From: smk at anvic.net (Simon Knight) Date: Tue, 28 Feb 2017 09:59:01 +0000 Subject: FTP file upload with non-ascii characters in filename In-Reply-To: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> References: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> Message-ID: Hi First I am not sure why your code replaces spaces with underscores in tFile. Next I have an application that displays lists of filenames in a folder. The user clicks on a filename and it is displayed in a browser object on the card. In order to get this to work I had to convert the displayed and selected file name to one that the OS actually uses at a lower level by using these lines of code: put GetSourcefolder() & "/" & tFilename into tMyFilePath replace " " with "%20" in tMyFilePath replace "|" with "%7C" in tMyFilePath I make no claims that the problem is restricted to these two characters but this might be a starting point. Also different OS?s have different rules on the characters used in file names, so you need to account for the OS the server is running and google for character substitutions used in file names. Skids > On 28 Feb 2017, at 08:23, Matthias Rebbe via use-livecode wrote: > > Hi, > > i need to upload files with non-ascii characters in the filename and this has to work on Win and Mac OS X. > > My script works fine when uploading files with ascii filenames, but as soon as i select a file with non-ascii characters in its filename i get an error > > What do i have to do with the filenames/filepath (target and source) before doing the upload? > > My script looks like this: > > answer tFile "select file..." > if it is empty then exit to top > put it into tFilePath > replace backslash with slash in tFilePath > set the itemdelimiter to slash > put item -1 of tFilePath into tFile > replace " " with "_" in tFile > put "ftp://username:password at ftpserver.com/ "& tFile into tURL > liburlftpupload tFilePath,tURL > > I?ve tried to urlencode tDatei. > > > I am pretty sure there is something more. > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Tue Feb 28 05:18:55 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 28 Feb 2017 10:18:55 +0000 Subject: Where did the cErrorsList go? In-Reply-To: References: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> Message-ID: Thanks Thierry and Mike! That's it. And better than the old approach. How do you know about this? AFAICT it isn't listed in the dictionary anywhere (whereas the old approach is still recommended). I'll report a docs snag. thanks, Ben On 27/02/2017 17:36, Mike Bonner via use-livecode wrote: > I'm not sure if its the same thing, but you might try "put line xx of the > scriptexecutionerrors" > > On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> For years I've been accustomed to interpreting the error reported in a >> 'catch' statement using >> >> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" >> >> >> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. >> >> The dictionary still recommends this technique. >> >> Was there a flaw in the building process, or has there been a change (not >> yet reflected in the documentation)? >> >> TIA, >> >> Ben >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Tue Feb 28 06:02:44 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 28 Feb 2017 11:02:44 +0000 Subject: Where did the cErrorsList go? In-Reply-To: References: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> Message-ID: Hi all, There is a bug report about this issue: http://quality.livecode.com/show_bug.cgi?id=19171 Best, Panos -- On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Thierry and Mike! That's it. And better than the old approach. > > How do you know about this? AFAICT it isn't listed in the dictionary > anywhere (whereas the old approach is still recommended). > > I'll report a docs snag. > > thanks, > > Ben > > > On 27/02/2017 17:36, Mike Bonner via use-livecode wrote: > >> I'm not sure if its the same thing, but you might try "put line xx of the >> scriptexecutionerrors" >> >> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> For years I've been accustomed to interpreting the error reported in a >>> 'catch' statement using >>> >>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" >>> >>> >>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. >>> >>> The dictionary still recommends this technique. >>> >>> Was there a flaw in the building process, or has there been a change (not >>> yet reflected in the documentation)? >>> >>> TIA, >>> >>> Ben >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Tue Feb 28 06:08:53 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 28 Feb 2017 11:08:53 +0000 Subject: Where did the cErrorsList go? In-Reply-To: References: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> Message-ID: Thanks for pointing that out Panos, I've added the additional issues in the dictionary to that report. Ben On 28/02/2017 11:02, panagiotis merakos via use-livecode wrote: > Hi all, > > There is a bug report about this issue: > > http://quality.livecode.com/show_bug.cgi?id=19171 > > Best, > Panos > -- > > On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks Thierry and Mike! That's it. And better than the old approach. >> >> How do you know about this? AFAICT it isn't listed in the dictionary >> anywhere (whereas the old approach is still recommended). >> >> I'll report a docs snag. >> >> thanks, >> >> Ben >> >> >> On 27/02/2017 17:36, Mike Bonner via use-livecode wrote: >> >>> I'm not sure if its the same thing, but you might try "put line xx of the >>> scriptexecutionerrors" >>> >>> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> For years I've been accustomed to interpreting the error reported in a >>>> 'catch' statement using >>>> >>>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" >>>> >>>> >>>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. >>>> >>>> The dictionary still recommends this technique. >>>> >>>> Was there a flaw in the building process, or has there been a change (not >>>> yet reflected in the documentation)? >>>> >>>> TIA, >>>> >>>> Ben From merakosp at gmail.com Tue Feb 28 06:20:50 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 28 Feb 2017 11:20:50 +0000 Subject: Where did the cErrorsList go? In-Reply-To: References: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> Message-ID: Thanks for you comment Ben. BTW there is a dictionary entry for the "scriptExecutionErrors" in LC 9 DP-5. We probably have to backport it into LC 8.1.x. On Tue, Feb 28, 2017 at 11:08 AM, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for pointing that out Panos, I've added the additional issues in > the dictionary to that report. > > Ben > > > On 28/02/2017 11:02, panagiotis merakos via use-livecode wrote: > >> Hi all, >> >> There is a bug report about this issue: >> >> http://quality.livecode.com/show_bug.cgi?id=19171 >> >> Best, >> Panos >> -- >> >> On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Thanks Thierry and Mike! That's it. And better than the old approach. >>> >>> How do you know about this? AFAICT it isn't listed in the dictionary >>> anywhere (whereas the old approach is still recommended). >>> >>> I'll report a docs snag. >>> >>> thanks, >>> >>> Ben >>> >>> >>> On 27/02/2017 17:36, Mike Bonner via use-livecode wrote: >>> >>> I'm not sure if its the same thing, but you might try "put line xx of the >>>> scriptexecutionerrors" >>>> >>>> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> For years I've been accustomed to interpreting the error reported in a >>>> >>>>> 'catch' statement using >>>>> >>>>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" >>>>> >>>>> >>>>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. >>>>> >>>>> The dictionary still recommends this technique. >>>>> >>>>> Was there a flaw in the building process, or has there been a change >>>>> (not >>>>> yet reflected in the documentation)? >>>>> >>>>> TIA, >>>>> >>>>> Ben >>>>> >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Tue Feb 28 07:06:27 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 28 Feb 2017 05:06:27 -0700 Subject: Where did the cErrorsList go? In-Reply-To: References: <4be8d531-50a9-29bb-e244-12122488f263@cogapp.com> Message-ID: I found it by digging through the scripts of ide stacks. (I first looked for stacks with "error" in the name, but ended up finding it in the revidelibrary stack. There is a function "revIDELookupError()" that had the needed code.) On Tue, Feb 28, 2017 at 4:20 AM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for you comment Ben. BTW there is a dictionary entry for the > "scriptExecutionErrors" in LC 9 DP-5. We probably have to backport it into > LC 8.1.x. > > On Tue, Feb 28, 2017 at 11:08 AM, Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Thanks for pointing that out Panos, I've added the additional issues in > > the dictionary to that report. > > > > Ben > > > > > > On 28/02/2017 11:02, panagiotis merakos via use-livecode wrote: > > > >> Hi all, > >> > >> There is a bug report about this issue: > >> > >> http://quality.livecode.com/show_bug.cgi?id=19171 > >> > >> Best, > >> Panos > >> -- > >> > >> On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >> Thanks Thierry and Mike! That's it. And better than the old approach. > >>> > >>> How do you know about this? AFAICT it isn't listed in the dictionary > >>> anywhere (whereas the old approach is still recommended). > >>> > >>> I'll report a docs snag. > >>> > >>> thanks, > >>> > >>> Ben > >>> > >>> > >>> On 27/02/2017 17:36, Mike Bonner via use-livecode wrote: > >>> > >>> I'm not sure if its the same thing, but you might try "put line xx of > the > >>>> scriptexecutionerrors" > >>>> > >>>> On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> For years I've been accustomed to interpreting the error reported in a > >>>> > >>>>> 'catch' statement using > >>>>> > >>>>> put line xx of the cErrorsList of card 1 of stack "revErrorDisplay" > >>>>> > >>>>> > >>>>> In 8.1.3, AFAICT, the stack "revErrorDisplay" has no such property. > >>>>> > >>>>> The dictionary still recommends this technique. > >>>>> > >>>>> Was there a flaw in the building process, or has there been a change > >>>>> (not > >>>>> yet reflected in the documentation)? > >>>>> > >>>>> TIA, > >>>>> > >>>>> Ben > >>>>> > >>>> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 28 07:07:43 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 28 Feb 2017 13:07:43 +0100 Subject: FTP file upload with non-ascii characters in filename In-Reply-To: References: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> Message-ID: Thanks Simon, but this does not fix the problem. > Am 28.02.2017 um 10:59 schrieb Simon Knight via use-livecode >: > > Hi > > First I am not sure why your code replaces spaces with underscores in tFile. > Because i do not like spaces in URLs. I know, that i could replace it with %20, but i prefer ?_? instead. Regards, Matthias > Next I have an application that displays lists of filenames in a folder. The user clicks on a filename and it is displayed in a browser object on the card. In order to get this to work I had to convert the displayed and selected file name to one that the OS actually uses at a lower level by using these lines of code: > > put GetSourcefolder() & "/" & tFilename into tMyFilePath > > replace " " with "%20" in tMyFilePath > > replace "|" with "%7C" in tMyFilePath > > > I make no claims that the problem is restricted to these two characters but this might be a starting point. Also different OS?s have different rules on the characters used in file names, so you need to account for the OS the server is running and google for character substitutions used in file names. > > Skids > > >> On 28 Feb 2017, at 08:23, Matthias Rebbe via use-livecode > wrote: >> >> Hi, >> >> i need to upload files with non-ascii characters in the filename and this has to work on Win and Mac OS X. >> >> My script works fine when uploading files with ascii filenames, but as soon as i select a file with non-ascii characters in its filename i get an error >> >> What do i have to do with the filenames/filepath (target and source) before doing the upload? >> >> My script looks like this: >> >> answer tFile "select file..." >> if it is empty then exit to top >> put it into tFilePath >> replace backslash with slash in tFilePath >> set the itemdelimiter to slash >> put item -1 of tFilePath into tFile >> replace " " with "_" in tFile >> put "ftp://username:password at ftpserver.com/ >"& tFile into tURL >> liburlftpupload tFilePath,tURL >> >> I?ve tried to urlencode tDatei. >> >> >> I am pretty sure there is something more. >> >> Regards, >> >> Matthias >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 From livfoss at mac.com Tue Feb 28 07:41:53 2017 From: livfoss at mac.com (Graham Samuel) Date: Tue, 28 Feb 2017 13:41:53 +0100 Subject: Dragging widgets In-Reply-To: References: Message-ID: I think that some people (like me and very possible Richmond) want to use SVG graphics as effortlessly-resized images. In this context, we don?t really care to think of them as widgets at all (I hope Richmond agrees!). What we want is a class of images which are implemented as SVGs but which function in the same way as other images with respect to mouse messages etc. Does this make sense or have I entirely got the wrong end of the stick (wouldn?t surprise me)? Looking at that very interesting thread in the forum, I feel less comfortable than I ever have done about the development trajectory of LiveCode. I mean, extensions (like widgets) are fine, but what is not so fine IMHO is that ?legacy? ways of working should be deprecated when they have served developers so well for so long. OTOH I am getting old, so maybe that?s why I feel disturbed about it. You may see GOM (Grumpy Old Man) entering into the alphabet soup. Graham > On 28 Feb 2017, at 04:10, hh via use-livecode wrote: > > This is not a bug because a widget is not an ordinary control: > Nearly all user interaction has to be allowed and scripted. > I implemented a kind of "grab" in some of my LC8-widget examples. > > You can for example also Not focus on a widget from LC Script (that's > why the browser widget is 'robust' against commands like "click"). > > To the current handling of elementary mouse messages by widgets/LCB > see for example here, in the LC Builder forum > > http://forums.livecode.com/viewtopic.php?f=93&t=24369&hilit=mousedown > > I don't know what's updated since then because the widget format changed > again with LC 9, so I wait first for a stable release before going on. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Feb 28 07:58:08 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 28 Feb 2017 14:58:08 +0200 Subject: Dragging widgets In-Reply-To: References: Message-ID: <624b5fc6-39ab-d565-d115-86a241d82561@gmail.com> I have mentioned several times how I would like SVG import to be as simple as PNG import, and all handling subsequently as simple as other image formats. I suspect the price of being able to rotate SVG images (set the angle) in a way which means they don't go "all fuzzy" is that they cannot be handled like other images. So . . . can any one tell me how to effect a "grab" (which is the same whether with a PNG image, a button or a graphic object) with a widget? Very Possible Richmond. On 2/28/17 2:41 pm, Graham Samuel via use-livecode wrote: > I think that some people (like me and very possible Richmond) want to use SVG graphics as effortlessly-resized images. In this context, we don?t really care to think of them as widgets at all (I hope Richmond agrees!). What we want is a class of images which are implemented as SVGs but which function in the same way as other images with respect to mouse messages etc. > > Does this make sense or have I entirely got the wrong end of the stick (wouldn?t surprise me)? > > Looking at that very interesting thread in the forum, I feel less comfortable than I ever have done about the development trajectory of LiveCode. I mean, extensions (like widgets) are fine, but what is not so fine IMHO is that ?legacy? ways of working should be deprecated when they have served developers so well for so long. OTOH I am getting old, so maybe that?s why I feel disturbed about it. You may see GOM (Grumpy Old Man) entering into the alphabet soup. > > > Graham > >> On 28 Feb 2017, at 04:10, hh via use-livecode wrote: >> >> This is not a bug because a widget is not an ordinary control: >> Nearly all user interaction has to be allowed and scripted. >> I implemented a kind of "grab" in some of my LC8-widget examples. >> >> You can for example also Not focus on a widget from LC Script (that's >> why the browser widget is 'robust' against commands like "click"). >> >> To the current handling of elementary mouse messages by widgets/LCB >> see for example here, in the LC Builder forum >> >> http://forums.livecode.com/viewtopic.php?f=93&t=24369&hilit=mousedown >> >> I don't know what's updated since then because the widget format changed >> again with LC 9, so I wait first for a stable release before going on. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Feb 28 09:18:22 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 28 Feb 2017 09:18:22 -0500 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: ST3 is "annoy ware" - it will bug you to register and pay, but you don't have to. I've been working on the indent rules, and have discovered that Atom is almost like a prettier version of ST3. After I have this working in ST3, I'm going to go back to Atom and fix them over there. Even the python script that Trevor wrote to connect ST3-saves to LC seems to be portable. I haven't had a look at Notepad++ or BBE, yet, to see what can/has to be done to make all of this work in those environments. On Mon, Feb 27, 2017 at 8:27 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Thanks for the thorough reply Trevor. > > I left Sublime Text when it was "2" years ago?thinking it was an EOL'd > tool but here you say "Sublime Text 3" > > Oh? sweet, my Sublime Text 2 license works! > > OK I'll try it..since Atom and Visual Studio still don't quite gel for my > work flow? > > > On 2/23/17, 4:33 AM, "use-livecode on behalf of Trevor DeVore via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Overall I feel like Sublime Text reduces friction while I?m working. I > feel > like I can work much faster. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 brahma at hindu.org Tue Feb 28 10:07:57 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 28 Feb 2017 15:07:57 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: References: <53a7e3bf-b544-99f2-1cbf-ca26a7cc3000@fourthworld.com> Message-ID: Atom is nice, true, but I had a license for ST2 from 2014 and it worked! plus "multiple cursors" and related multi-line handling is awesome, I not seeing that in Atom (maybe there is a package for that?) but, keep us posted on a syntax package updates. On 2/28/17, 4:18 AM, "use-livecode on behalf of Mike Kerner via use-livecode" wrote: ST3 is "annoy ware" - it will bug you to register and pay, but you don't have to. I've been working on the indent rules, and have discovered that Atom is almost like a prettier version of ST3. After I have this working in ST3, I'm going to go back to Atom and fix them over there. Even the python script that Trevor wrote to connect ST3-saves to LC seems to be portable. I haven't had a look at Notepad++ or BBE, yet, to see what can/has to be done to make all of this work in those environments. From dochawk at gmail.com Tue Feb 28 10:14:04 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 28 Feb 2017 07:14:04 -0800 Subject: FTP file upload with non-ascii characters in filename In-Reply-To: References: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> Message-ID: On Tue, Feb 28, 2017 at 4:07 AM, Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Because i do not like spaces in URLs. I know, that i could replace it with > %20, but i prefer ?_? instead. > I live by the adage that *any* punctuation in a filename other than space or underscore is borrowing trouble. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Tue Feb 28 10:14:31 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 28 Feb 2017 15:14:31 +0000 Subject: Dragging widgets In-Reply-To: References: Message-ID: <5763E1C3-4F58-47E3-BBA8-D786357B5700@hindu.org> You are not wrong. SVG *is* an image and ideally, should behave like any graphic object. Also, for the sake of LC future: These are the kind of things that make newbies "run away" from the product.. because they expect things to work, but they don't, the frustration level can be severe an image is an image is an image, whether it is png, bitmap, jpg or svg, the fact that is is a "widget" is secondary to the use case. Enter an enhancement request. On 2/28/17, 2:41 AM, "use-livecode on behalf of Graham Samuel via use-livecode" wrote: I think that some people (like me and very possible Richmond) want to use SVG graphics as effortlessly-resized images. In this context, we don?t really care to think of them as widgets at all (I hope Richmond agrees!). What we want is a class of images which are implemented as SVGs but which function in the same way as other images with respect to mouse messages etc. Does this make sense or have I entirely got the wrong end of the stick (wouldn?t surprise me)? From bobsneidar at iotecdigital.com Tue Feb 28 10:32:30 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 15:32:30 +0000 Subject: Dragging widgets In-Reply-To: <5763E1C3-4F58-47E3-BBA8-D786357B5700@hindu.org> References: <5763E1C3-4F58-47E3-BBA8-D786357B5700@hindu.org> Message-ID: <49B32BE6-F6C1-476C-9C5A-78D5CAE4B46B@iotecdigital.com> oh contraire. Not all images are the same. Support for each kind of image has to be implemented. If the industry developed a new kind of image, LC would be faced with incorporating that format. Bob S > On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode wrote: > > an image is an image is an image, whether it is png, bitmap, jpg or svg, the fact that is is a "widget" is secondary to the use case. > > Enter an enhancement request. From bobsneidar at iotecdigital.com Tue Feb 28 10:36:20 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 15:36:20 +0000 Subject: FTP file upload with non-ascii characters in filename In-Reply-To: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> References: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> Message-ID: <7DD7340C-B71A-4008-99EF-195655BBAF4B@iotecdigital.com> Is the need because the files already exist, or is it because you cannot control the source of the files? If possible, the files should probably be renamed on the other end to make them "compatible" with all file systems. If not, then maybe urlEncode/urlDecode or the ISO functions may work for you. Bob S > On Feb 28, 2017, at 24:23 , Matthias Rebbe via use-livecode wrote: > > Hi, > > i need to upload files with non-ascii characters in the filename and this has to work on Win and Mac OS X. > > > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 28 10:37:38 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 15:37:38 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <5DC73A9A-F329-496D-A296-E01F0D47D03B@anvic.net> References: <5DC73A9A-F329-496D-A296-E01F0D47D03B@anvic.net> Message-ID: Well in this context, Sardines is definitely out. Bob S > On Feb 26, 2017, at 05:24 , Simon Knight via use-livecode wrote: > > I try and follow these threads but please take care with the use of abbreviations / acronyms. Some I?ve worked out others I?ve no idea : OSS open source S????? From bobsneidar at iotecdigital.com Tue Feb 28 10:40:19 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 15:40:19 +0000 Subject: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks) In-Reply-To: <388E293E-1F5C-4610-AEC6-CC47B2C58585@anvic.net> References: <5DC73A9A-F329-496D-A296-E01F0D47D03B@anvic.net> <388E293E-1F5C-4610-AEC6-CC47B2C58585@anvic.net> Message-ID: <88E8E684-F06D-4C30-A668-D11F1E5F859A@iotecdigital.com> Only in hushed whispers. Bob S > On Feb 27, 2017, at 01:40 , Simon Knight via use-livecode wrote: > > Thanks for the decode - I did wonder why the forerunner of the CIA was being talked about ;-) > > OSS - Office of Strategic Services > > Simon > > Simon Knight From bobsneidar at iotecdigital.com Tue Feb 28 10:46:14 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 15:46:14 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <066b99cf-f367-381e-2b69-70149a00e7e0@livecode.com> References: <3f512297-f57f-bd21-3e71-cfa69a379043@livecode.com> <1487962055145-4712617.post@n4.nabble.com> <066b99cf-f367-381e-2b69-70149a00e7e0@livecode.com> Message-ID: <8DC59F88-B5B7-4A60-8AB0-FB5C0BF84B9A@iotecdigital.com> Thanks for that Peter! I've been thinking about a way to encrypt data for storage in database systems for things like passwords and server credentials. Now to figure out how to decrypt it... Bob S > On Feb 27, 2017, at 02:49 , Peter TB Brett via use-livecode wrote: > > function HmacSha1(pKey, pData) > return sha1digest(pKey & sha1digest(pKey & pData)) > end HmacSha1 From bobsneidar at iotecdigital.com Tue Feb 28 10:48:42 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 15:48:42 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <066b99cf-f367-381e-2b69-70149a00e7e0@livecode.com> References: <3f512297-f57f-bd21-3e71-cfa69a379043@livecode.com> <1487962055145-4712617.post@n4.nabble.com> <066b99cf-f367-381e-2b69-70149a00e7e0@livecode.com> Message-ID: err... This does not work. I cannot find a function called sha1digest in the LC library. Bob S > On Feb 27, 2017, at 02:49 , Peter TB Brett via use-livecode wrote: > > Or, in LiveCode: > > function HmacSha1(pKey, pData) > return sha1digest(pKey & sha1digest(pKey & pData)) > end HmacSha1 > > If you are doing this, then the current attack on SHA-1 does not affect the security of your system at all [1]. > From bobsneidar at iotecdigital.com Tue Feb 28 10:58:09 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 15:58:09 +0000 Subject: The selectedText for controls without focus In-Reply-To: <17dd4425-1693-a731-a620-c8d75b21a0e9@fourthworld.com> References: <17dd4425-1693-a731-a620-c8d75b21a0e9@fourthworld.com> Message-ID: <758F058C-D785-46B6-A01B-36C9AC05C666@iotecdigital.com> For that matter I could just check the status of the "state" property (view | new | edit) to allow/disallow editing. Not saying there are not workarounds. I just think that LC should work like virtually every other forms based app I've ever used, where being editable is not a prerequisite for copying text. Bob S > On Feb 24, 2017, at 22:09 , Richard Gaskin via use-livecode wrote: > > on rawkeydown k > if k = 99 then > if the commandKey is "down" then copy > end if > end rawkeydown > > -- > Richard Gaskin From matthias_livecode_150811 at m-r-d.de Tue Feb 28 10:59:51 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 28 Feb 2017 16:59:51 +0100 Subject: FTP file upload with non-ascii characters in filename In-Reply-To: <7DD7340C-B71A-4008-99EF-195655BBAF4B@iotecdigital.com> References: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> <7DD7340C-B71A-4008-99EF-195655BBAF4B@iotecdigital.com> Message-ID: <84F9E864-F232-4649-8D6C-0E5AED3191BE@m-r-d.de> > Am 28.02.2017 um 16:36 schrieb Bob Sneidar via use-livecode >: > > Is the need because the files already exist, or is it because you cannot control the source of the files? If possible, the files should probably be renamed on the other end to make them "compatible" with all file systems. If not, then maybe urlEncode/urlDecode or the ISO functions may work for you. > Thanks Bob. That?s what i am doing right now. As i cannot guarantee that my customer won?t use such filenames, i will implement a function that removes and replaces all characters that are non-ascii. Although, i am wondering how ftp clients like transmit are able to handle such non-ascii characters. Anyway. Regards, Matthias > Bob S > > >> On Feb 28, 2017, at 24:23 , Matthias Rebbe via use-livecode > wrote: >> >> Hi, >> >> i need to upload files with non-ascii characters in the filename and this has to work on Win and Mac OS X. >> >> >> >> Regards, >> >> Matthias >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 From ambassador at fourthworld.com Tue Feb 28 11:05:36 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Feb 2017 08:05:36 -0800 Subject: The selectedText for controls without focus In-Reply-To: <758F058C-D785-46B6-A01B-36C9AC05C666@iotecdigital.com> References: <758F058C-D785-46B6-A01B-36C9AC05C666@iotecdigital.com> Message-ID: Bob Sneidar wrote: > On Feb 24, 2017, at 22:09 , Richard Gaskin wrote: >> >> on rawkeydown k >> if k = 99 then >> if the commandKey is "down" then copy >> end if >> end rawkeydown > > For that matter I could just check the status of the "state" property > (view | new | edit) to allow/disallow editing. Not saying there are > not workarounds. I just think that LC should work like virtually > every other forms based app I've ever used, where being editable is > not a prerequisite for copying text. The purpose of that script is not to allow copying, but to disallow cutting and pasting. LC is a programming toolkit, and a very flexible one, with a wider range of GUI messages than most other scripting languages. The price of flexibility is the need to write code now and then. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at livecode.org Tue Feb 28 11:16:32 2017 From: paul at livecode.org (Paul Hibbert) Date: Tue, 28 Feb 2017 08:16:32 -0800 Subject: Dragging widgets In-Reply-To: <624b5fc6-39ab-d565-d115-86a241d82561@gmail.com> References: <624b5fc6-39ab-d565-d115-86a241d82561@gmail.com> Message-ID: <3352F7FE-265B-421E-B6A1-194FDB7529CE@livecode.org> I would really love to see LC?s image handling improved, not just for SVG, although that would be a huge bonus, but for raster images too. I would happily put money into crowdfunding for this, provided the promises were kept of course. Anyway, this is probably not the answer you are looking for, but one workaround until this problem is addressed, is to group your widget and then add your grab code to the group script. It?s my understanding that widgets are not high on the priority list for bug fixes, so a workaround may be your only option if you need this anytime soon. Paul > On Feb 28, 2017, at 4:58 AM, Richmond Mathewson via use-livecode wrote: > > So . . . can any one tell me how to effect a "grab" (which is the same whether with a PNG image, a button > or a graphic object) with a widget? From bonnmike at gmail.com Tue Feb 28 11:50:16 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 28 Feb 2017 09:50:16 -0700 Subject: Dragging widgets In-Reply-To: <6e53d780-8a19-6412-1b35-9e8cd1eb7149@gmail.com> References: <6e53d780-8a19-6412-1b35-9e8cd1eb7149@gmail.com> Message-ID: Sounds like the widget needs to be tweaked to allow for dragging. Its over my head, if someone with a clue could do the modification and explain it, I'd really appreciate the lesson. On Mon, Feb 27, 2017 at 5:36 AM, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > I have a stack containing an image and an SVG widget: > > both contain the script: > > on mouseDown > grab me > end mouseDown > > this means that end-users in standalones are able to drag around the > image, and when they > release their mouse button the image stays where they placed it. > > This does NOT work with the widget. > > Why? > > 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 jacque at hyperactivesw.com Tue Feb 28 11:14:08 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 Feb 2017 10:14:08 -0600 Subject: FTP file upload with non-ascii characters in filename In-Reply-To: <84F9E864-F232-4649-8D6C-0E5AED3191BE@m-r-d.de> References: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> <7DD7340C-B71A-4008-99EF-195655BBAF4B@iotecdigital.com> <84F9E864-F232-4649-8D6C-0E5AED3191BE@m-r-d.de> Message-ID: <15a85801480.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Maybe textDecode(filename) would work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 28, 2017 10:01:47 AM Matthias Rebbe via use-livecode wrote: > >> Am 28.02.2017 um 16:36 schrieb Bob Sneidar via use-livecode >> >: >> >> Is the need because the files already exist, or is it because you cannot >> control the source of the files? If possible, the files should probably be >> renamed on the other end to make them "compatible" with all file systems. >> If not, then maybe urlEncode/urlDecode or the ISO functions may work for you. >> > > Thanks Bob. That?s what i am doing right now. > > As i cannot guarantee that my customer won?t use such filenames, i will > implement a function that removes and replaces all characters that are > non-ascii. > > Although, i am wondering how ftp clients like transmit are able to handle > such non-ascii characters. Anyway. > > Regards, > > Matthias > >> Bob S >> >> >>> On Feb 28, 2017, at 24:23 , Matthias Rebbe via use-livecode >>> > wrote: >>> >>> Hi, >>> >>> i need to upload files with non-ascii characters in the filename and this >>> has to work on Win and Mac OS X. >>> >>> >>> >>> Regards, >>> >>> Matthias >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > Bramkampsieke 13 > 32312 L?bbecke > Tel +49 5741 310000 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matthias at m-r-d.de > > BR5 Konverter - BR5 -> MP3 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 28 12:10:18 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 28 Feb 2017 18:10:18 +0100 Subject: FTP file upload with non-ascii characters in filename In-Reply-To: <15a85801480.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <40097D21-717F-4EF4-A744-0418ADC3ECCE@m-r-d.de> <7DD7340C-B71A-4008-99EF-195655BBAF4B@iotecdigital.com> <84F9E864-F232-4649-8D6C-0E5AED3191BE@m-r-d.de> <15a85801480.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <61850B41-AD91-47D3-83F3-6192D1D21A5E@m-r-d.de> It seems it?s not a problem with non-ascii in general. If i first put the content of the file, which i want to upload and which contains non-ascii chars in its filename, into a variable and urlencode the filename of the target file, then i am able to upload the file using "liburlftpupload tData, tTargetURL" without problems. But if i use "liburlftpfileupload tSourceFilePath, tTargetURL? to upload the same file using source file path and target URL, then i get an error. It works with files wihtout non-ascii chars in their filenames. Is it possible that there is a problem with libURL and non-ascii filenames? Regards, Matthias > Am 28.02.2017 um 17:14 schrieb J. Landman Gay via use-livecode >: > > Maybe textDecode(filename) would work. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On February 28, 2017 10:01:47 AM Matthias Rebbe via use-livecode > wrote: > >> >>> Am 28.02.2017 um 16:36 schrieb Bob Sneidar via use-livecode >>: >>> >>> Is the need because the files already exist, or is it because you cannot control the source of the files? If possible, the files should probably be renamed on the other end to make them "compatible" with all file systems. If not, then maybe urlEncode/urlDecode or the ISO functions may work for you. >>> >> >> Thanks Bob. That?s what i am doing right now. >> >> As i cannot guarantee that my customer won?t use such filenames, i will implement a function that removes and replaces all characters that are non-ascii. >> >> Although, i am wondering how ftp clients like transmit are able to handle such non-ascii characters. Anyway. >> >> Regards, >> >> Matthias >> >>> Bob S >>> >>> >>>> On Feb 28, 2017, at 24:23 , Matthias Rebbe via use-livecode >> wrote: >>>> >>>> Hi, >>>> >>>> i need to upload files with non-ascii characters in the filename and this has to work on Win and Mac OS X. >>>> >>>> >>>> >>>> Regards, >>>> >>>> Matthias >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> Bramkampsieke 13 >> 32312 L?bbecke >> Tel +49 5741 310000 >> +49 160 5504462 >> Fax: +49 5741 310002 >> eMail: matthias at m-r-d.de > >> >> BR5 Konverter - BR5 -> MP3 > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 28 12:20:59 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 28 Feb 2017 11:20:59 -0600 Subject: the screenpixelscale on Microsoft SurfaceBook? Message-ID: Does anyone have access to a Microsoft SurfaceBook with an Intel HD 520 card at 3000x2000 running the latest version of Windows 10? If so can you tell me what LiveCode 8 reports for the screenPixelScale property if the display scaling is set to 200% or 150%? I had a bug report today that makes me think that the property is returning the wrong value. If you aren?t familiar with where the display scaling is set see this web page: https://www.thurrott.com/windows/windows-10/4597/windows-10-feature-focus-display-scaling Thanks, -- Trevor DeVore Outcome & ScreenSteps www.outcomeapp.io - www.screensteps.com From ambassador at fourthworld.com Tue Feb 28 12:33:37 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Feb 2017 09:33:37 -0800 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: Message-ID: <7c45279f-095e-359a-58b5-efe044a83ea9@fourthworld.com> Bob Sneidar wrote: > I cannot find a function called sha1digest in the LC library. It's sha-ONE-digest, and it's been around for a while so it should be there. -- 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 Tue Feb 28 13:52:49 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 Feb 2017 12:52:49 -0600 Subject: The selectedText for controls without focus In-Reply-To: <758F058C-D785-46B6-A01B-36C9AC05C666@iotecdigital.com> References: <17dd4425-1693-a731-a620-c8d75b21a0e9@fourthworld.com> <758F058C-D785-46B6-A01B-36C9AC05C666@iotecdigital.com> Message-ID: <5937999f-42e6-f4ed-2ca5-f06e80c50d01@hyperactivesw.com> On 2/28/17 9:58 AM, Bob Sneidar via use-livecode wrote: > I just think that LC should work like virtually every other forms > based app I've ever used, where being editable is not a prerequisite > for copying text. Did you try the field settings I suggested? It does work, it's already built-in: autoHilite = true traversalOn = true locktext = true This allows selecting and copying but not editing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Feb 28 13:56:36 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 28 Feb 2017 20:56:36 +0200 Subject: Dragging widgets In-Reply-To: References: <6e53d780-8a19-6412-1b35-9e8cd1eb7149@gmail.com> Message-ID: I tried grouping my SVG widget, and that allows me to drag the group: on mouseDown grab me end mouseDown HOWEVER, when I wish to move the SVG widget itself it vanishs as it moves outwith the boundaries of the group. NOW: whether I can group my "Turtle" SVG widget and then have my Turtle Graphics code move the group and rotate the widget within the group remains to be seen . . . Yup, that works! Richmond. From bobsneidar at iotecdigital.com Tue Feb 28 14:05:17 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 19:05:17 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <7c45279f-095e-359a-58b5-efe044a83ea9@fourthworld.com> References: <7c45279f-095e-359a-58b5-efe044a83ea9@fourthworld.com> Message-ID: <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> I search for SHA in the dictionary, nada. I type sha1digest in to a script, right click it, nada. I type shaONEdigest in a script, right click it, nada. Bob S > On Feb 28, 2017, at 09:33 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: > > > I cannot find a function called sha1digest in the LC library. > > It's sha-ONE-digest, and it's been around for a while so it should be there. > > -- > Richard Gaskin From bobsneidar at iotecdigital.com Tue Feb 28 14:09:11 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 19:09:11 +0000 Subject: The selectedText for controls without focus In-Reply-To: <5937999f-42e6-f4ed-2ca5-f06e80c50d01@hyperactivesw.com> References: <17dd4425-1693-a731-a620-c8d75b21a0e9@fourthworld.com> <758F058C-D785-46B6-A01B-36C9AC05C666@iotecdigital.com> <5937999f-42e6-f4ed-2ca5-f06e80c50d01@hyperactivesw.com> Message-ID: <6AC49E5E-41CA-4F57-81FB-90F8C1B6AD07@iotecdigital.com> Oh right you are! The thing that was throwing me is double-clicking does not work, but I can triple click and it selects the whole chalupa and I can copy it. I can also drag select. This will work. Bob S > On Feb 28, 2017, at 10:52 , J. Landman Gay via use-livecode wrote: > > On 2/28/17 9:58 AM, Bob Sneidar via use-livecode wrote: >> I just think that LC should work like virtually every other forms >> based app I've ever used, where being editable is not a prerequisite >> for copying text. > > Did you try the field settings I suggested? It does work, it's already built-in: > > autoHilite = true > traversalOn = true > locktext = true > > This allows selecting and copying but not editing. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Tue Feb 28 14:09:06 2017 From: klaus at major-k.de (Klaus major-k) Date: Tue, 28 Feb 2017 20:09:06 +0100 Subject: Calendar widget does not work in LC 9 dp5 Message-ID: Hi friends, yesterday I opened the "Widget store" in LC and installed the "Calendar widget" without any errors in LC 9 dp5. But when I drag a calendar onto my card, there i only an empty rectangle where the calendar is supposed to be. Any hints why this does not work? Or SHOULD it work? If yes what have I done wrong? Again a change in format of widgets? Should I do a bug report? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From iowahengst at mac.com Tue Feb 28 14:41:04 2017 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 28 Feb 2017 13:41:04 -0600 Subject: Dragging widgets In-Reply-To: References: <6e53d780-8a19-6412-1b35-9e8cd1eb7149@gmail.com> Message-ID: I?ve not messed with widgets at all? but, with graphics in this situation I would either put on mouseDown grab me end mouseDown in the group script? OR put on mouseDown grab the owner of me end mouseDown in the script of each object within the group. be well, randy > On Feb 28, 2017, at 12:56 PM, Richmond Mathewson via use-livecode wrote: > > I tried grouping my SVG widget, and that allows me to drag the group: > > on mouseDown > grab me > end mouseDown > > HOWEVER, when I wish to move the SVG widget itself it vanishs as it moves outwith > the boundaries of the group. > > NOW: whether I can group my "Turtle" SVG widget and then have my Turtle Graphics code move > the group and rotate the widget within the group remains to be seen . . . > > Yup, that works! > > 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 bobsneidar at iotecdigital.com Tue Feb 28 14:14:44 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 19:14:44 +0000 Subject: Calendar widget does not work in LC 9 dp5 In-Reply-To: References: Message-ID: I remember a post about widgets compiled in one version not being compatible with another version. There is a procedure for correcting this, but I do not recall off the top of my head. I think it involves removing the widget, finding the widget file, opening and resaving it in the newer version of LC, and then re-adding it. Bob S > On Feb 28, 2017, at 11:09 , Klaus major-k via use-livecode wrote: > > Hi friends, > > yesterday I opened the "Widget store" in LC and installed the "Calendar widget" > without any errors in LC 9 dp5. > > But when I drag a calendar onto my card, there i only an empty rectangle where the > calendar is supposed to be. > > Any hints why this does not work? > Or SHOULD it work? If yes what have I done wrong? > Again a change in format of widgets? > > Should I do a bug report? > > > Best > > Klaus From klaus at major-k.de Tue Feb 28 14:51:22 2017 From: klaus at major-k.de (Klaus major-k) Date: Tue, 28 Feb 2017 20:51:22 +0100 Subject: Calendar widget does not work in LC 9 dp5 In-Reply-To: References: Message-ID: Hi Bob, > Am 28.02.2017 um 20:14 schrieb Bob Sneidar via use-livecode : > > I remember a post about widgets compiled in one version not being compatible with another version. There is a procedure for correcting this, but I do not recall off the top of my head. I think it involves removing the widget, finding the widget file, opening and resaving it in the newer version of LC, and then re-adding it. yes, I also remember this "procedere", but will leave these actions to the creator of the widget, which happens to be an employee of Livecode, Elanor Buchanan. So it is another change in format of widgets? And yes, the "Widget store" may really need a little clean-up! 8-) > Bob S > > >> On Feb 28, 2017, at 11:09 , Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> yesterday I opened the "Widget store" in LC and installed the "Calendar widget" >> without any errors in LC 9 dp5. >> >> But when I drag a calendar onto my card, there i only an empty rectangle where the >> calendar is supposed to be. >> >> Any hints why this does not work? >> Or SHOULD it work? If yes what have I done wrong? >> Again a change in format of widgets? >> >> Should I do a bug report? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From hh at hyperhh.de Tue Feb 28 14:55:34 2017 From: hh at hyperhh.de (hh) Date: Tue, 28 Feb 2017 20:55:34 +0100 Subject: Dragging widgets Message-ID: <2F5F1484-FC8A-4E34-BB34-16DF1C1146FB@hyperhh.de> > Richmond wrote: > So . . . can any one tell me how to effect a "grab" (which is the same > whether with a PNG image, a button or a graphic object) with a widget? There is one way that is acting similar to a "grab": Put the following into your card's script. Works for widgets and any 'usual' control that doesn't block mouseDown. on mouseDown if the short name of the target is "svgTURTLE" then # <-- use any filter put the mouseControl into mC; put false into mUp put the clickH - item 1 of the loc of mC into dx put the clickV - item 2 of the loc of mC into dy repeat until the mouse is up set loc of mC to (the mouseH-dx,the mouseV-dy) end repeat end if end mouseDown Using a "send in time" is not possible for that, because the click is then passed 'in between' to the control/widget. You sadly have to poll the mouse. From ahsoftware at sonic.net Tue Feb 28 15:00:45 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 28 Feb 2017 12:00:45 -0800 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> References: <7c45279f-095e-359a-58b5-efe044a83ea9@fourthworld.com> <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> Message-ID: On 02/28/2017 11:05 AM, Bob Sneidar via use-livecode wrote: > I search for SHA in the dictionary, nada. It's in the dictionary. Maybe you have a filter enabled that's masking it? -- Mark Wieder ahsoftware at gmail.com From revdev at pdslabs.net Tue Feb 28 15:03:40 2017 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 28 Feb 2017 12:03:40 -0800 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> References: <7c45279f-095e-359a-58b5-efe044a83ea9@fourthworld.com> <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> Message-ID: However, this works: put sha1Digest("dfgdfgdghgdhfgh") So we know it's there. FWIW - Phil Davis On 2/28/17 11:05 AM, Bob Sneidar via use-livecode wrote: > I search for SHA in the dictionary, nada. I type sha1digest in to a script, right click it, nada. I type shaONEdigest in a script, right click it, nada. > > Bob S > > >> On Feb 28, 2017, at 09:33 , Richard Gaskin via use-livecode wrote: >> >> Bob Sneidar wrote: >> >>> I cannot find a function called sha1digest in the LC library. >> It's sha-ONE-digest, and it's been around for a while so it should be there. >> >> -- >> 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 > -- Phil Davis From revdev at pdslabs.net Tue Feb 28 15:10:43 2017 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 28 Feb 2017 12:10:43 -0800 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: References: <7c45279f-095e-359a-58b5-efe044a83ea9@fourthworld.com> <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> Message-ID: <29b89cc4-303f-26b6-c1f4-7574bc684179@pdslabs.net> One thing I discovered just now: the items listed in the API tab of the Dictionary are not necessarily in alphabetic order by default. I discovered it by typing 'sh' into the Filter box and looking at the list, top to bottom. Things weren't where I expected them to be! After I clicked the 'Name' column header, however, the list was alphabetic by Name. AND I found sha1Digest in there. Phil On 2/28/17 12:00 PM, Mark Wieder via use-livecode wrote: > On 02/28/2017 11:05 AM, Bob Sneidar via use-livecode wrote: >> I search for SHA in the dictionary, nada. > > It's in the dictionary. > Maybe you have a filter enabled that's masking it? > -- Phil Davis From richmondmathewson at gmail.com Tue Feb 28 15:25:02 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 28 Feb 2017 22:25:02 +0200 Subject: Dragging widgets In-Reply-To: <2F5F1484-FC8A-4E34-BB34-16DF1C1146FB@hyperhh.de> References: <2F5F1484-FC8A-4E34-BB34-16DF1C1146FB@hyperhh.de> Message-ID: Thank you for all the suggestions. I wnent for grouping the widget and the dragging the group. I have used this in the most recent version of my Turtle Graphics stack that I uploaded about 30 minutes ago: http://forums.livecode.com/viewtopic.php?f=8&t=28898 However, the inconsistency between the way one has to handle SVG images and their import (crude and clunky, monochrome) and the way one imports and handles all other image formats that LiveCode imports is a problem that won't go away with a few work arounds. Richmond. From ambassador at fourthworld.com Tue Feb 28 15:27:36 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Feb 2017 12:27:36 -0800 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> References: <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> Message-ID: <69cb712d-9592-ac79-07ca-06d115a92478@fourthworld.com> Bob Sneidar wrote: >> On Feb 28, 2017, at 09:33 , Richard Gaskin wrote: >> Bob Sneidar wrote: >> >> > I cannot find a function called sha1digest in the LC library. >> >> It's sha-ONE-digest, and it's been around for a while so it should >> be there. >> > > I search for SHA in the dictionary, nada. I type sha1digest in to a > script, right click it, nada. I type shaONEdigest in a script, right > click it, nada. I had written "shaONEdigest" only to draw attention to the "1" ("ONE"), just in case you'd tried "l" ("L") instead. It's in there. Has been for years. Not sure why you're not seeing 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 cubist at aol.com Tue Feb 28 16:27:43 2017 From: cubist at aol.com (Quentin Long) Date: Tue, 28 Feb 2017 16:27:43 -0500 Subject: Dragging widgets In-Reply-To: References: Message-ID: <15a869f304c-5032-8bd4@webstg-m07.mail.aol.com> > > On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode wrote: > > an image is an image is an image, whether it is png, bitmap, jpg or svg, the fact that is is a "widget" is secondary to the use case. > > sez Bob Sneidar : > au contraire. Not all images are the same. Support for each kind of image has to be implemented. If the industry developed a new kind of image, LC would be faced with incorporating that format. It's true that *under the hood*, LC must handle each distinct 'flavor' of image differently. But why should *the user* be concerned about whether a given image is vector or raster or RLE or what? Consider: Numbers can be signed, unsigned, integer, or real, and the engine's internal workings must handle each of those 'flavors' of number differently. But in spite of those internal differences, *the expression "VarX + VarY" ALWAYS just works, REGARDLESS of which flavors of number VarX and VarY happen to be*. As far as *the user* is concerned, a number is a number is a number, and it *doesn't matter* whether a number happens to be real or integer or what. Why can't an image be an image be an image, *regardless* of whether an image happens to be JPG or bitmap or what? "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [?http://www.atarmslength.net?]! If you like "At Arm's Length", support it at [?http://www.patreon.com/DarkwingDude?]. From bobsneidar at iotecdigital.com Tue Feb 28 16:46:12 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 21:46:12 +0000 Subject: The selectedText for controls without focus In-Reply-To: References: <758F058C-D785-46B6-A01B-36C9AC05C666@iotecdigital.com> Message-ID: <0BFEA98B-2039-475D-B59D-B67495059FB4@iotecdigital.com> Richard that script snippet actually helped me solve a different problem. I remember now why I was using traversalOn instead of lockText. I have certain fields I do not want users to edit, so I set the lockText to true. I then have a handler called enableForm that enables every field and button with a name that matches a column in a table. But of course I don't want users editing the unique ID of a record, even though I want to display it. Your snippet solves that problem. I just put it into field scripts I don't want users to edit, and use lockText for enabling/disabling fields. Works a peach. Bob S > On Feb 28, 2017, at 08:05 , Richard Gaskin via use-livecode wrote: > > >> on rawkeydown k > >> if k = 99 then > >> if the commandKey is "down" then copy > >> end if > >> end rawkeydown From bobsneidar at iotecdigital.com Tue Feb 28 16:52:37 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 21:52:37 +0000 Subject: SHA1 cracked .... What are the chances this will be addressed in LC? In-Reply-To: <69cb712d-9592-ac79-07ca-06d115a92478@fourthworld.com> References: <4ED0733B-4752-4062-8AB6-2A8BE55AF96C@iotecdigital.com> <69cb712d-9592-ac79-07ca-06d115a92478@fourthworld.com> Message-ID: NVM I'm a moron. It's there but I overlooked it. Bob S > On Feb 28, 2017, at 12:27 , Richard Gaskin via use-livecode wrote: > > I had written "shaONEdigest" only to draw attention to the "1" ("ONE"), just in case you'd tried "l" ("L") instead. > > It's in there. Has been for years. Not sure why you're not seeing it. > > -- > Richard Gaskin From hh at hyperhh.de Tue Feb 28 16:53:00 2017 From: hh at hyperhh.de (hh) Date: Tue, 28 Feb 2017 22:53:00 +0100 Subject: Image Manipulation by javascript/HTML5 using a widget Message-ID: <0A1B4A46-B095-40C1-998B-4C351EE9ACBE@hyperhh.de> Hi all. There is a new sample stack by Jonathan Lynch called "Browser Widget Image Manipulator". This name could lead to underestimate a bit this stack. That's why I would like to point to it. This is a real clever solution, short and practicable. It uses the image manipulation possibilities of javascript/HTML5 via the browser widget. And it is, in LC 8, for shearing (and rotating) also faster than my 'direct' imagedata solutions for shear and rotate in LC 6. It could also be called Image Manipulation by javascript/HTML5 using a widget directly from LC, within the stack, nothing extern, no shell scripts. It shows a direction of how to access some of the big image and graphics libraries of js/HTML5. Thanks for that great example Jonathan. From roger.e.eller at sealedair.com Tue Feb 28 17:02:57 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 28 Feb 2017 17:02:57 -0500 Subject: Image Manipulation by javascript/HTML5 using a widget In-Reply-To: <0A1B4A46-B095-40C1-998B-4C351EE9ACBE@hyperhh.de> References: <0A1B4A46-B095-40C1-998B-4C351EE9ACBE@hyperhh.de> Message-ID: Sounds very cool! Where is the download link? On Tue, Feb 28, 2017 at 4:53 PM, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all. > > There is a new sample stack by Jonathan Lynch called > "Browser Widget Image Manipulator". > This name could lead to underestimate a bit this stack. That's why > I would like to point to it. > > This is a real clever solution, short and practicable. It uses the > image manipulation possibilities of javascript/HTML5 via the browser > widget. And it is, in LC 8, for shearing (and rotating) also faster > than my 'direct' imagedata solutions for shear and rotate in LC 6. > > It could also be called > > Image Manipulation by javascript/HTML5 using a widget > > directly from LC, within the stack, nothing extern, no shell scripts. > It shows a direction of how to access some of the big image and graphics > libraries of js/HTML5. > > Thanks for that great example Jonathan. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Feb 28 17:11:05 2017 From: hh at hyperhh.de (hh) Date: Tue, 28 Feb 2017 23:11:05 +0100 Subject: Image Manipulation by javascript/HTML5 using a widget Message-ID: Roger E. wrote: > Sounds very cool! Where is the download link? Use "Sample Stacks" in the LC toolbar (Sort descending by date) or (slower) http://livecodeshare.runrev.com/ (at top if sorted by 'Newest') From dochawk at gmail.com Tue Feb 28 17:26:22 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 28 Feb 2017 14:26:22 -0800 Subject: Is it just the IDE that crashes, or are standalone at risk? Message-ID: As I'm about to send this out to people, I've had a horrible thought: Is it just the IDE that crashes on a regular basis, or do standalones crash just as often? *shudder* -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Tue Feb 28 17:28:54 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 1 Mar 2017 00:28:54 +0200 Subject: Dragging widgets In-Reply-To: <15a869f304c-5032-8bd4@webstg-m07.mail.aol.com> References: <15a869f304c-5032-8bd4@webstg-m07.mail.aol.com> Message-ID: Indeed: On 2/28/17 11:27 pm, Quentin Long via use-livecode wrote: >>> On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode wrote: >>> an image is an image is an image, whether it is png, bitmap, jpg or svg, the fact that is is a "widget" is secondary to the use case. >> sez Bob Sneidar : >> au contraire. Not all images are the same. Support for each kind of image has to be implemented. If the industry developed a new kind of image, LC would be faced with incorporating that format. > It's true that *under the hood*, LC must handle each distinct 'flavor' of image differently. But why should *the user* be concerned about whether a given image is vector or raster or RLE or what? > > Consider: Numbers can be signed, unsigned, integer, or real, and the engine's internal workings must handle each of those 'flavors' of number differently. But in spite of those internal differences, *the expression "VarX + VarY" ALWAYS just works, REGARDLESS of which flavors of number VarX and VarY happen to be*. Surely one of the points of LiveCode is to "protect" people who want to use a RAD tool from the "fiddly bits". Ater all if we wanted to concern ourselves with the filldy bits we'd all be "out there" learning C++, C#, Turbo-Whatsit and all the other programming languages that I, at least, have, thanks to LiveCode so successfully managed to avoid for the last 15 years. Now I am aware that LiveCode is in the process of trying to get itself taken seriously by the hairy-chested programming brigade (real men don't do object-based stuff), but if that is at the price of losing touch with their installed base of "unprogrammers" (and only "unprogrammers" in the sense of being people who aren't high as kites on command-line only programming) as well as the very valuable niche they fill between the blockly community and the C++ community I belive they are making a big mistake. I couldn't tell you about the difference between big-Endian and little-Endian programming any more than I could tell you about Michael Flatly's shoe size (what made me think of that example? I wonder). But I have used LiveCode to produce quite a lot of useful stuff; and with the advent of SVG import and a lot of the other exciting stuff that is on its way in LC 9 I hope to produce a lot more. Nobody bothered to point out that if one opens an SVG image with a text-editor one can transfer its code into the prefs palette of the SVG widget; and I suspect they didn't because they knew full well that that seriously sucks as a way to import an image! > > As far as *the user* is concerned, a number is a number is a number, and it *doesn't matter* whether a number happens to be real or integer or what. Why can't an image be an image be an image, *regardless* of whether an image happens to be JPG or bitmap or what? > > The main stregth of Livecode is that one can go on believing in the illusion of the GUI. Messing around with text-editors and images spoils that completely. Richmond. From bobsneidar at iotecdigital.com Tue Feb 28 17:33:11 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Feb 2017 22:33:11 +0000 Subject: Is it just the IDE that crashes, or are standalone at risk? In-Reply-To: References: Message-ID: <8B5CDDB0-054D-4A7D-BFC9-47310ECFCA3C@iotecdigital.com> My IDE was "crashing" but I traced it to an obscure infinite loop I inadvertently created, by creating a handler, which triggered something in a datagrid behavior which automatically called the original handler. It was a beatch to find. I believe that LC may detect these infinite loops (by the number of recursions?) and bails out when it happens. (It may also have something to do with memory allocation). Also, are you using a "stable" version, or are you using developer previews on a regular basis? Bob S > On Feb 28, 2017, at 14:26 , Dr. Hawkins via use-livecode wrote: > > As I'm about to send this out to people, I've had a horrible thought: > > Is it just the IDE that crashes on a regular basis, or do standalones crash > just as often? > > *shudder* > > > -- > Dr. Richard E. Hawkins, Esq. From richmondmathewson at gmail.com Tue Feb 28 17:35:26 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 1 Mar 2017 00:35:26 +0200 Subject: Is it just the IDE that crashes, or are standalone at risk? In-Reply-To: References: Message-ID: <4fe15597-2a6a-7e44-e2bb-5f9a0a472341@gmail.com> I don't know which platform you are deploying either the IDE or standalones on; but I currently use: 6.1.something and standalones on Mac OS 10.5.8 PPC 7.1.4, 8.1.3, 9.0.0 DP-4 andstandalones on Mac OS 10.7.5, 8.1.3 standalones on ReactOS 5 pre-release (!), 7.1.4, 8.1.3, 9.0.0 DP-5 andstandalones on Xubuntu 14.04 (32-bit), Xubuntu 16.04 (64-bit) and WINE pupils of mine take home standalones of mine to use on Mac, Windows of all flavours, and Linux. No crashes of either IDE or standalones. I have a feeling that their may be something odd about the machine(s) you are deploying to (possibly something else you have installed is messing around with LiveCode). Richmond. On 3/1/17 12:26 am, Dr. Hawkins via use-livecode wrote: > As I'm about to send this out to people, I've had a horrible thought: > > Is it just the IDE that crashes on a regular basis, or do standalones crash > just as often? > > *shudder* > > From jonathandlynch at gmail.com Tue Feb 28 18:29:28 2017 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 28 Feb 2017 18:29:28 -0500 Subject: Image Manipulation by javascript/HTML5 using a widget In-Reply-To: References: Message-ID: Hi hh, Thank you. There's a whole ton of javascript libraries out there that allow some great effects. I have not yet learned webgl, but I know we could do some very cool warps with it. I don't have much knowledge in that area, but I look forward to all the stuff that you and others with a high-level of image manipulation skills could create. I also think it would also be possible to generate an animation in an html5 canvas object, but do it in a hidden browser widget. It could be set up to export the image data from that canvas object and put it into an image in LC, complete with transparent parts. The way I envision it, each frame would be triggered by the completion of the transfer of the previous frame, until a given motion is complete, using something like "send triggerNextFrame to me in 0 seconds". This would prevent errors when LC or JS gets ahead of the other, and would allow other messages to proceed while the 3d animation is happening. The frame rate would vary based on the computer's speed, but could set to a max rate, I think. That would allow us to have 3D animations that appear directly on a card, presented through an image object, with the position controllable by LiveCode script. On Tue, Feb 28, 2017 at 5:11 PM, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Roger E. wrote: > > Sounds very cool! Where is the download link? > > Use "Sample Stacks" in the LC toolbar (Sort descending by date) or > (slower) http://livecodeshare.runrev.com/ (at top if sorted by 'Newest') > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From bobsneidar at iotecdigital.com Tue Feb 28 19:08:55 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 Mar 2017 00:08:55 +0000 Subject: Dragging widgets In-Reply-To: References: <15a869f304c-5032-8bd4@webstg-m07.mail.aol.com> Message-ID: As to that, everything you do on a computer, INCLUDING typing code, is an illusion. A DOS prompt is an illusion in it's own right. So is a light bulb on a panel that was turned on by some signal from a computing device. All a computer can really do is move numbers from one register to another in a predefined way. By calling the LC GUI an illusion, you are simply removing yourself one more layer from the last illusion. Now in relation to built-in support of different formats, one could say the same thing about a web browser, that it should "just work with any kind of image". Or font type then. Or video format. Or encryption algorithm. Or anything really. The only reason modern web browsers evolved in the first place was because new formats of all kinds of things became really popular or beneficial to the end product in some way. If anyone can demonstrate that thousands of potential developers turned away from LC because the support for SVG graphics, or the browser object, or anything in LC, was not up to par, they would have a good point. Better yet if they can produce some real numbers about all the developers who really want to begin programming in Livecode, and are just waiting for more robust support of some particular object, I'm sure they would garner serious interest. If not, then bringing up all the programmers who have "turned away" is frankly, a fallacy. Myself, I get a little nervous when some on the list begin to criticize RunRev for not supporting some thing or not in some way expected. It feels a lot like eating dinner with my mother who used to take us to high end French restaurants just so that she could complain to the chef that something wasn't done just so. I could be mischaracterizing the posts though. I apologise if I am overstating my case. I think discussions about possible bugs, or new features or better ways of doing things are constructive. Criticism of the amazing devs at RunRev when something does not work exactly as we like, is not. Bob S > On Feb 28, 2017, at 14:28 , Richmond Mathewson via use-livecode wrote: > > The main stregth of Livecode is that one can go on believing in the illusion of the GUI. > > Messing around with text-editors and images spoils that completely. > > Richmond. From dochawk at gmail.com Tue Feb 28 19:46:22 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 28 Feb 2017 16:46:22 -0800 Subject: Is it just the IDE that crashes, or are standalone at risk? In-Reply-To: <8B5CDDB0-054D-4A7D-BFC9-47310ECFCA3C@iotecdigital.com> References: <8B5CDDB0-054D-4A7D-BFC9-47310ECFCA3C@iotecdigital.com> Message-ID: On Tue, Feb 28, 2017 at 2:33 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > My IDE was "crashing" but I traced it to an obscure infinite loop I > inadvertently created, by creating a handler, which triggered something in > a datagrid behavior which automatically called the original handler. It was > a beatch to find. I believe that LC may detect these infinite loops (by the > number of recursions?) and bails out when it happens. (It may also have > something to do with memory allocation). > No loops. There are a pair of behaviors that relaunch themselves with "send in" every 30 seconds or so. > > Also, are you using a "stable" version, or are you using developer > previews on a regular basis? > All stable releases and release candidates. I've never even launched 9, and had to skip 6 entirely (the pirate code dots were so much worse than 5, and 7 fixed it before 6). As for richmond's suggestions, this is a bog-standard Sierra installation, and there aren't any non-apple utilities installed, and 16gb ram on a mid-2011 27" iMac, quad-core i5. In fact, there isn't much *at all* installed, and rarely anything open but lived ode, open office, iWork, filezilla, acrobat reader and professional, scansnap, safari, firefox, and a brother printer driver I use the latest 8 stable or rc, and until some 8.1.4 fixes, have to use 7.1.4 for some combining of stacks. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Tue Feb 28 20:41:05 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 1 Mar 2017 01:41:05 +0000 Subject: Dragging widgets In-Reply-To: <49B32BE6-F6C1-476C-9C5A-78D5CAE4B46B@iotecdigital.com> References: <5763E1C3-4F58-47E3-BBA8-D786357B5700@hindu.org> <49B32BE6-F6C1-476C-9C5A-78D5CAE4B46B@iotecdigital.com> Message-ID: @ Bob: Right: not meant to criticize, but hopefully constructive observation about a specific issue? that's how we evolve, right? "just sayin" that to the eyes of the user (as Quentin said) a widget is a visual object/control on screen, like any other, the expectation that they can enter on mousedown; grab me; end mousedown will be very high. So this is a "gotcha" for newbies -- and I don't mean "kids" but experienced graphic designers who work all day in a visual environment: (a target market that IMHO opinion could be huge were LC ramp up on the visual side) and now, in the new IDE(s), like HYPE from Tumult (just installed yesterday.. amazing?) ? Solutions could be simple as adding to the dictionary a disclaimer "SVG objects are drawn arithmetically; as such they do not behave like a block of rasterized pixels. In order to drag an SVG widget you need to group it first and then add the grab me to the group." Or like Mike said "fix it" Some things are fundamental in the UI/UX and dragging objects *any* object is one of them, and has been from the day we mouse down on an icon on the desktop and dragged it into the trash. Just my two rain drops from Kauai where a storm is moving in, could be as much as 10 inches in 10 hours tonite. Yikes! On 2/28/17, 5:32 AM, "use-livecode on behalf of Bob Sneidar via use-livecode" wrote: oh contraire. Not all images are the same. Support for each kind of image has to be implemented. If the industry developed a new kind of image, LC would be faced with incorporating that format. Bob S From capellan2000 at gmail.com Tue Feb 28 21:39:43 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 28 Feb 2017 22:39:43 -0400 Subject: RSYNC still uses MD5 and... Message-ID: RSYNC would be a nice and useful addition to LiveCode engine. https://en.wikipedia.org/wiki/Rsync Could RSYNC be implemented fast enough using only LiveCode scripts? Al