From brahma at hindu.org Tue Dec 1 17:53:28 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 1 Dec 2020 22:53:28 +0000 Subject: OT: Android, MotoG6, ./adb devices I can't to attach itself Message-ID: Even If I Upgrade to Sur. Even from terminal cd /Users/brahmanathaswami/Library/Android/sdk/platform-tools brahmanathaswami at Sannyasins-MacBook-Pro-2 platform-tools % ./adb devices List of devices attached Why doesn?t it show as devices - USB debugging as connected ? It should say Z???. attached But it does show Location of Android development SDK root: /Users/brahmanathaswami/Library/Android/sdk JDK Path: /Library/JavaVirtualMachines/jdk1.8.0_221.jdk Does I have it installed correctly? Is there a ?trick? to get it showing BR From jacque at hyperactivesw.com Wed Dec 2 03:01:02 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Dec 2020 02:01:02 -0600 Subject: OT: Android, MotoG6, ./adb devices I can't to attach itself In-Reply-To: References: Message-ID: <17622780e30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> When that happens I do: ./adb kill-server ./adb start-server ./adb devices If that doesn't work try sudo: Sometimes you have to restart LC. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 1, 2020 4:55:38 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Even If I Upgrade to Sur. Even from terminal > > > cd /Users/brahmanathaswami/Library/Android/sdk/platform-tools > > > brahmanathaswami at Sannyasins-MacBook-Pro-2 platform-tools % ./adb devices > > List of devices attached > > Why doesn?t it show as devices - USB debugging as connected ? > > It should say > > Z???. attached > > But it does show > > Location of Android development SDK root: > > /Users/brahmanathaswami/Library/Android/sdk > > JDK Path: /Library/JavaVirtualMachines/jdk1.8.0_221.jdk > > Does I have it installed correctly? > > Is there a ?trick? to get it showing > > 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 rabit at revigniter.com Wed Dec 2 16:24:17 2020 From: rabit at revigniter.com (Ralf Bitter) Date: Wed, 2 Dec 2020 22:24:17 +0100 Subject: Trying to use the Segmented Control In-Reply-To: References: Message-ID: <7d6d7878-d519-9c43-b905-2ae30e0b17f5@revigniter.com> Hi Roland, I have a LCB widget I used as a replacement for the segmented control. My "segmented control" actually consists of a group of button widgets, but it seems it comes close to what you are looking for. See: https://github.com/revig/universal-button-widget Ralf On 30.11.20 12:05, R.H. via use-livecode wrote: > Basically, I think, it is a nice widget. > > --- But sometimes, I would like to show text with icons together, or each > icon in a different color. Possible? > > --- Then I would like to import whatever icon or image and individually set > its size, and margins individually. I like to have access to the details of > each segment and it's look and feel. Even each segment's rect and other > details should be modifiable. I would like to be able to define the size > and the color of each object's border and dividing lines. The only way > around is scripting lines or whatever to be used as an overlay -- which is > a kludge. But is it possible using LCB to address individual parts and > define a more detail-grained API? > > --- Messages: I do not understand why not standard mouse messages would > work here and are not supported. Other messages than just "hilitedChange" > should be detected. But it would be important, in my opinion, to allow each > and every graphical widget to detect mouseWithin, mouseMove, mouseDown, > mouseUp, mouseEnter, mouseLeave, etc. > > Is there anybody working on such widgets and updating them to newer > versions? Is there a version history for each widget? > > The documentary of the widget (widgets) in the Dictionary could be enhanced > with a first date of appearance and dates of new versions as well as > enhancement requests or planned enhancements? I assume the author is > LiveCode Ltd.? > > Roland > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Dec 3 03:13:27 2020 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 3 Dec 2020 10:13:27 +0200 Subject: Trying to use the Segmented Control In-Reply-To: References: Message-ID: Yes, it is a nice widget. But, because it is a widget it has several quite obvious and annoying limitations when compared with making your own thing using the 'old fashioned' objects in LiveCode. At this point things come to some hard choices: 1. Do you want a quick-and-easy, one-size-fits-all solution? If you do that's the segmented control widget. 2. Do you want something you can customise to exactly fits your needs? If you do, chuck the widget and start grouping some customised buttons. 3. Think about Python Libraries . . . [had quite a 'flame thrower' about them just last week with someone extolling the supposed virtues of Python]. Richmond. On 30.11.20 13:05, R.H. via use-livecode wrote: > Basically, I think, it is a nice widget. > > --- But sometimes, I would like to show text with icons together, or each > icon in a different color. Possible? > > --- Then I would like to import whatever icon or image and individually set > its size, and margins individually. I like to have access to the details of > each segment and it's look and feel. Even each segment's rect and other > details should be modifiable. I would like to be able to define the size > and the color of each object's border and dividing lines. The only way > around is scripting lines or whatever to be used as an overlay -- which is > a kludge. But is it possible using LCB to address individual parts and > define a more detail-grained API? > > --- Messages: I do not understand why not standard mouse messages would > work here and are not supported. Other messages than just "hilitedChange" > should be detected. But it would be important, in my opinion, to allow each > and every graphical widget to detect mouseWithin, mouseMove, mouseDown, > mouseUp, mouseEnter, mouseLeave, etc. > > Is there anybody working on such widgets and updating them to newer > versions? Is there a version history for each widget? > > The documentary of the widget (widgets) in the Dictionary could be enhanced > with a first date of appearance and dates of new versions as well as > enhancement requests or planned enhancements? I assume the author is > LiveCode Ltd.? > > Roland > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Thu Dec 3 12:35:37 2020 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 3 Dec 2020 18:35:37 +0100 Subject: Trying to use the Segmented Control Message-ID: @ Ralf Hi Ralf Your link and what I can see looks very promising. I will certainly try this out. Thanks a lot. At first glance, it looks very professional. I guess it is ... ))) Roland From roland.huettmann at gmail.com Thu Dec 3 13:08:55 2020 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 3 Dec 2020 19:08:55 +0100 Subject: Trying to use the Segmented Control Message-ID: @ Richmond Richmond, to be honest, I am quite ignorant about developing widgets. I never took the time to dig deep into them. It is certainly my fault. So, I cannot say whether or not it is hard work and how much work. But from a user (developer) perspective, I think we can freely formulate our wishes? If this is ignorant -- then, yes, I am in this case ) -- so even if this is the case, I am trying to create (my) a wishlist. (1) To me, most widgets make sense only when they can be used universally. This also means that they work on all platforms LiveCode is supporting. I guess that it is hard, but the fundaments were provided by LiveCode Ltd. (3) I understand that certain widgets are based on DLLs or functions of the OS that might be different on different platforms or not available at all. I do not like it, but I have to accept this fact. But any widget that breaks the universal rule stands out breaching the promise of platform-interoperability. (3) For widgets, I wish that it should be possible during development to simply enable or disable all messages that also other controls in LiveCode receive. At least a list of checkboxes that enables the developer to work all types of messages when enabled. For example, why this segmented control does not receive a mouseDown message, I cannot explain. I do not understand it. I have to script around it and that should not be. (4) I think that a standard widget must support all properties as in all other controls, but the list of properties might be limited to the specific use, of course. If a widget is not visual then it makes no sense to change it's rect. But if visual, then it usually has the properties and way for manipulation as at least other such controls. (5) A well documented API to access properties and functions that is based on a standard. I guess this is more or less already the case? (5) One of my biggest wishes for all LCS controls (fields, buttons, ...) is the same as for all widgets: Enable to manipulate details as they are found using CSS (at least a good-enough subset), and that includes settings for individual borders, etc. If that would be the case, even using CSS could be parsed in such a way that it would reflect in our graphical objects. When scripting in CSS and HTML, I really have quite some detailed control. (6) If (5) would work then it would also be possible to script an "engine" to transform LC into a webpage using CSS. The problem would still exist to transform LiveCode Script into JavaScript. Probably, that is not really possible. The platforms are very different. But again, we are allowed to express wishful thinking...) -- I am not now going into the "HTML" possibility. The user opinions are quite obvious. Slowly, I am working on a general usage product to eventually sell, I am thinking ahead to offer solutions for the major platforms (Android, Windows, iOS, OSX and Linux). But definitely, there also must be a web application. So far, I only worked either in-house (hobby, private usage), or for very specific solutions in a vertical market. So, big thanks for your comment. I just tried to elaborate a bit. If you or others can correct me -- that is fine. I am always eager to learn. Wishing all here the best Roland From rabit at revigniter.com Thu Dec 3 14:11:14 2020 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 3 Dec 2020 20:11:14 +0100 Subject: Trying to use the Segmented Control In-Reply-To: References: Message-ID: Hi Roland, I added a custom property "multipleHighlights" to the widgets group (segmented control) of the demo stack and modified the behavior script, so that the functionality is on par with the segmented control widget. See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1 Ralf On 03.12.20 18:35, R.H. via use-livecode wrote: > @ Ralf > > Hi Ralf > > Your link and what I can see looks very promising. I will certainly try > this out. > > Thanks a lot. At first glance, it looks very professional. I guess it is > ... ))) > > Roland From irog at mac.com Thu Dec 3 14:48:58 2020 From: irog at mac.com (Roger Guay) Date: Thu, 3 Dec 2020 11:48:58 -0800 Subject: Translate Code? Message-ID: <861082A4-01F5-423E-AFD7-368D9BDF7961@mac.com> Can someone please translate the code below into LC ? I believe it to be Python? alpha=2 n=1000 x=rep(0,n) y=rep(0,n) for (i in 2:n){ theta=runif(1)*2*pi f=runif(1)^(-1/alpha) x[i]=x[i-1]+f*cos(theta) y[i]=y[i-1]+f*sin(theta) } Thanks very much, Roger From alex at tweedly.net Thu Dec 3 18:45:08 2020 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 3 Dec 2020 23:45:08 +0000 Subject: Translate Code? In-Reply-To: <861082A4-01F5-423E-AFD7-368D9BDF7961@mac.com> References: <861082A4-01F5-423E-AFD7-368D9BDF7961@mac.com> Message-ID: <46a76996-44eb-2fde-0aa1-f27d6482097b@tweedly.net> I'll have a try - though it's in R, not Python - and I've never used R -) constant alpha = 2 constant n = 1000 -- x, y are arrays - initialised to 0 already for LC, so no need for "rep" repeat with i = 2 to n ? -- runif(1) returns a random between 0 and 1, so do something similar ? put (random(10000) / 10000) * 2 * pi into theta ? put (random(10000) / 10000) ^ (-1/alpha) into f ? put x[i-1] + f*cos(theta) into x[i] ? put y[i-1] + f * sin(theta) into y[i] end repeat Any mistakes are mine - any correct bits are courtesy of Google -) -- Alex. On 03/12/2020 19:48, Roger Guay via use-livecode wrote: > Can someone please translate the code below into LC ? I believe it to be Python? > alpha=2 > n=1000 > x=rep(0,n) > y=rep(0,n) > > for (i in 2:n){ > theta=runif(1)*2*pi > f=runif(1)^(-1/alpha) > x[i]=x[i-1]+f*cos(theta) > y[i]=y[i-1]+f*sin(theta) > } > > Thanks very much, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Thu Dec 3 21:15:54 2020 From: irog at mac.com (Roger Guay) Date: Thu, 3 Dec 2020 18:15:54 -0800 Subject: Translate Code? In-Reply-To: <46a76996-44eb-2fde-0aa1-f27d6482097b@tweedly.net> References: <861082A4-01F5-423E-AFD7-368D9BDF7961@mac.com> <46a76996-44eb-2fde-0aa1-f27d6482097b@tweedly.net> Message-ID: <80448BEC-EC47-47E4-A2F0-380AC777027B@mac.com> Thank you, Alex. This gives me something to play with. Roger > On Dec 3, 2020, at 3:45 PM, Alex Tweedly via use-livecode wrote: > > I'll have a try - though it's in R, not Python - and I've never used R -) > > constant alpha = 2 > constant n = 1000 > -- x, y are arrays - initialised to 0 already for LC, so no need for "rep" > > repeat with i = 2 to n > -- runif(1) returns a random between 0 and 1, so do something similar > put (random(10000) / 10000) * 2 * pi into theta > put (random(10000) / 10000) ^ (-1/alpha) into f > put x[i-1] + f*cos(theta) into x[i] > put y[i-1] + f * sin(theta) into y[i] > end repeat > > Any mistakes are mine - any correct bits are courtesy of Google -) > > -- Alex. > > On 03/12/2020 19:48, Roger Guay via use-livecode wrote: >> Can someone please translate the code below into LC ? I believe it to be Python? >> alpha=2 >> n=1000 >> x=rep(0,n) >> y=rep(0,n) >> >> for (i in 2:n){ >> theta=runif(1)*2*pi >> f=runif(1)^(-1/alpha) >> x[i]=x[i-1]+f*cos(theta) >> y[i]=y[i-1]+f*sin(theta) >> } >> >> Thanks very much, >> >> 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 sean at pidigital.co.uk Fri Dec 4 01:06:43 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 4 Dec 2020 06:06:43 +0000 Subject: Printing To Pdf Linux Rendering Message-ID: Hi all, I've got a CentOS7 server that I am printing reports from as PDFs. No matter which font or style I use I get occasional anomalies where characters from words get placed over each other like a kerning issue gone mental. Bad rendering: https://www.dropbox.com/s/v09vacw8x3873qh/Screenshot%202020-12-04%20at%2005.53.47.png?dl=0 Good rendering: https://www.dropbox.com/s/ehbdofm3nusgzyh/Screenshot%202020-12-04%20at%2005.54.08.png?dl=0 It's very random. Sometimes it's ok. the next report will come out bad. There's no real pattern I can identify. I've been going at it for a few days trying different font types and styles but they are all very hit and miss. I can't work out if it is Cairo, Cups or something else. From the print card dialogue I get the same issue. I'm so tired and frustrated from trying to sort it out. Anyone have a fix/workaround/suggestion? Sean Cole *Pi Digital* From ambassador at fourthworld.com Fri Dec 4 01:15:34 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 3 Dec 2020 22:15:34 -0800 Subject: Printing To Pdf Linux Rendering In-Reply-To: References: Message-ID: <02147c70-693b-96bb-8f17-e06ee7eeb2d0@fourthworld.com> Sean Cole wrote: > I've got a CentOS7 server that I am printing reports from as PDFs. No > matter which font or style I use I get occasional anomalies where > characters from words get placed over each other like a kerning issue gone > mental. > > Bad rendering: > https://www.dropbox.com/s/v09vacw8x3873qh/Screenshot%202020-12-04%20at%2005.53.47.png?dl=0 > > Good rendering: > https://www.dropbox.com/s/ehbdofm3nusgzyh/Screenshot%202020-12-04%20at%2005.54.08.png?dl=0 > > It's very random. Sometimes it's ok. the next report will come out bad. > There's no real pattern I can identify. I've been going at it for a few > days trying different font types and styles but they are all very hit and > miss. I can't work out if it is Cairo, Cups or something else. From the > print card dialogue I get the same issue. I'm so tired and frustrated from > trying to sort it out. Anyone have a fix/workaround/suggestion? It's been a while since I've seen that, but when I did it was with an older stack brought forward through many versions to v9. IIRC I replaced the fields that showed the issue one by one until the problem went away. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Fri Dec 4 01:42:35 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 4 Dec 2020 06:42:35 +0000 Subject: Printing To Pdf Linux Rendering In-Reply-To: <02147c70-693b-96bb-8f17-e06ee7eeb2d0@fourthworld.com> References: <02147c70-693b-96bb-8f17-e06ee7eeb2d0@fourthworld.com> Message-ID: <35DEBDEE-74C1-467B-B732-620E30332FBB@pidigital.co.uk> That?s a possibility. Interesting. I?ll give it a go when I?m more awake. Thanks Richard Sean Cole Pi Digital > On 4 Dec 2020, at 06:16, Richard Gaskin via use-livecode wrote: > > ?Sean Cole wrote: >> I've got a CentOS7 server that I am printing reports from as PDFs. No >> matter which font or style I use I get occasional anomalies where >> characters from words get placed over each other like a kerning issue gone >> mental. >> Bad rendering: >> https://www.dropbox.com/s/v09vacw8x3873qh/Screenshot%202020-12-04%20at%2005.53.47.png?dl=0 >> Good rendering: >> https://www.dropbox.com/s/ehbdofm3nusgzyh/Screenshot%202020-12-04%20at%2005.54.08.png?dl=0 >> It's very random. Sometimes it's ok. the next report will come out bad. >> There's no real pattern I can identify. I've been going at it for a few >> days trying different font types and styles but they are all very hit and >> miss. I can't work out if it is Cairo, Cups or something else. From the >> print card dialogue I get the same issue. I'm so tired and frustrated from >> trying to sort it out. Anyone have a fix/workaround/suggestion? > > It's been a while since I've seen that, but when I did it was with an older stack brought forward through many versions to v9. > > IIRC I replaced the fields that showed the issue one by one until the problem went away. > > -- > 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 Bernd.Niggemann at uni-wh.de Fri Dec 4 04:32:00 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 4 Dec 2020 09:32:00 +0000 Subject: Trying to use the Segmented Control Message-ID: >Ralf Bitter wrote >See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1 Thank you Ralf for this brilliant widget. Kind regards Bernd From rabit at revigniter.com Fri Dec 4 05:13:20 2020 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 4 Dec 2020 11:13:20 +0100 Subject: Trying to use the Segmented Control In-Reply-To: References: Message-ID: <71f1f8d0-0277-4630-d171-bb6ece0bf8ce@revigniter.com> Bernd thanks, at some point I just wanted to do away with the shortcomings of the segmented control. Though modifying the segmented control might have been a better approach. Ralf On 04.12.20 10:32, Niggemann, Bernd via use-livecode wrote: >> Ralf Bitter wrote >> See:https://github.com/revig/universal-button-widget/releases/tag/1.0.1 > > Thank you Ralf for this brilliant widget. > > Kind regards > Bernd From heather at livecode.com Fri Dec 4 07:07:39 2020 From: heather at livecode.com (Heather Laine) Date: Fri, 4 Dec 2020 12:07:39 +0000 Subject: Some sad news Message-ID: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Dear List Folks, I have today received some sad news. I am told that Hermann Hoch passed away in April this year, from a stroke. I know many of you knew him either remotely or having met him in person at a conference. He will be missed. I met him myself and found him to be a wonderfully warm and kind person. He could be volatile, but I always felt it was because he cared passionately about things. I will take what steps I can to preserve his legacy of HTML5 examples. As these are hosted on an on-rev account we should be able to maintain it in perpetuity for the benefit of the LiveCode Community. LiveCode HTML5 didn't always meet his expectations or progress as fast as he wanted it to and I do wish he could have seen our next planned release, where HTML5 support will be a focus. He was of great benefit to this community and shared his expertise freely. I'm not sure what else I can say. Rest in peace hh, you will be missed :( Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From roland.huettmann at gmail.com Fri Dec 4 07:18:19 2020 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 4 Dec 2020 13:18:19 +0100 Subject: Keeping soft line break and using clipboard data Message-ID: I am using Windows 10, LiveCode Indy 9.6.1 Here is a question I tried to solve using clipBoardData, fullClipBoardData and rawClipboardData. I am aware that there is nothing in Livecode that represents soft line breaks, for example as a Unicode character (unless I could not find anywhere). But I need to preserve such existing soft line breaks since I need to copy text from a word processor into other programs that support such soft returns. For example, in most email apps the key-combination Shift-Return breaks the line, but it is not a hard LFCR (depending on platform) and the paragraph is not touched. It HTML it would be a "
instead of

. But pasting such text into LCS will only convert those soft returns to hard returns. So, I thought to use the clipboard, getting the binary data of the text file (UTF8-encoded including soft returns) with an URL(binfile:), encoding them in one way or the other, and the user will then be able to paste the copied text including those hidden soft returns into the target application. In this way, I hoped to circumvent the LCS text representation. Unfortunately, I did not get it to work one way or the other. Is it possible at all? Did anybody ever had such a need and solved it? Roland From klaus at major-k.de Fri Dec 4 07:49:09 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Dec 2020 13:49:09 +0100 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: > Am 04.12.2020 um 13:07 schrieb Heather Laine via use-livecode : > > Dear List Folks, > > I have today received some sad news. I am told that Hermann Hoch passed away in April this year, from a stroke. I know many of you knew him either remotely or having met him in person at a conference. He will be missed. I met him myself and found him to be a wonderfully warm and kind person. He could be volatile, but I always felt it was because he cared passionately about things. > > I will take what steps I can to preserve his legacy of HTML5 examples. As these are hosted on an on-rev account we should be able to maintain it in perpetuity for the benefit of the LiveCode Community. > > LiveCode HTML5 didn't always meet his expectations or progress as fast as he wanted it to and I do wish he could have seen our next planned release, where HTML5 support will be a focus. He was of great benefit to this community and shared his expertise freely. > > I'm not sure what else I can say. Rest in peace hh, you will be missed :( > > Heather oh, this is really sad news! :-/ Farewell, Hermann, mach's gut! -- Klaus Major https://www.major-k.de klaus at major-k.de From brahma at hindu.org Fri Dec 4 09:14:07 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 4 Dec 2020 14:14:07 +0000 Subject: Double Clicking on a Field Message-ID: I want a user to scroll the fields. If a user sends mouseup, simply scrolls the field. It does not react. It is locked. But if the user double clicks on field, it reacts. Basically it goes to another cards, taking with it a single Title in the list, on a double click of the field If I try If double-click then # code End if It does not work? BR From mkoob at rogers.com Fri Dec 4 09:16:19 2020 From: mkoob at rogers.com (Martin Koob) Date: Fri, 4 Dec 2020 09:16:19 -0500 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: <6FA37CF8-4249-4790-AA93-4300BF56E155@rogers.com> This is sad news. Hermann was a LiveCode Pioneer and such a great resource to LiveCode users and LiveCode itself pushing at the boundaries of what you can do with LiveCode and HTML 5 and as Heather mentioned pushed livecode staff to realize more of its potential. He made so much code freely available to other users showing us possibilities we may not have realized and was always ready to assist other users with questions on the list. I am glad to see that legacy is being preserved. This reminds me of another LiveCode pioneer Mark Smith who passed away too young. His work has been preserved as well. http://marksmith.on-rev.com/revstuff/ http://www.pdslabs.net/the-mark-smith-collection/ I think it would be good to have a way to commemorate people like Hermann and Mark with something like an annual online lecture or award presented annually to other pioneers or contributors to the LiveCode in their honour. Martin Koob > On Dec 4, 2020, at 7:07 AM, Heather Laine via use-livecode wrote: > > Dear List Folks, > > I have today received some sad news. I am told that Hermann Hoch passed away in April this year, from a stroke. I know many of you knew him either remotely or having met him in person at a conference. He will be missed. I met him myself and found him to be a wonderfully warm and kind person. He could be volatile, but I always felt it was because he cared passionately about things. > > I will take what steps I can to preserve his legacy of HTML5 examples. As these are hosted on an on-rev account we should be able to maintain it in perpetuity for the benefit of the LiveCode Community. > > LiveCode HTML5 didn't always meet his expectations or progress as fast as he wanted it to and I do wish he could have seen our next planned release, where HTML5 support will be a focus. He was of great benefit to this community and shared his expertise freely. > > I'm not sure what else I can say. Rest in peace hh, you will be missed :( > > Heather > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode http://www.pdslabs.net/the-mark-smith-collection/ From brian at milby7.com Fri Dec 4 09:31:43 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 4 Dec 2020 09:31:43 -0500 Subject: Double Clicking on a Field In-Reply-To: References: Message-ID: <0F673998-4085-4AB1-9D7C-0B39B8D4C304@milby7.com> Why do you need to use double tap? The code should distinguish between a scroll and a tap and react appropriately. The mobile scroller code in common use should facilitate this. If a double tap is really needed, then it would probably need to be included in that same behavior script. The big thing that you will need to do is create another handler to take the action. Using mouseUp will probably be harder than needed (would need to use a flag of some sort to know when to ignore it). Jacque?s method is a doScrollerTap handler that the scroller code calls. DelayTouches will need to be false since you will be handling this yourself (and only works on iOS anyway). Sent from my iPhone > On Dec 4, 2020, at 9:15 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > ?I want a user to scroll the fields. If a user sends mouseup, simply scrolls the field. It does not react. It is locked. > > But if the user double clicks on field, it reacts. > > Basically it goes to another cards, taking with it a single Title in the list, on a double click of the field > > If I try > > If double-click then > # code > End if > > It does not work? > > 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 tore.nilsen at me.com Fri Dec 4 09:31:58 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 4 Dec 2020 15:31:58 +0100 Subject: Double Clicking on a Field In-Reply-To: References: Message-ID: Try this in the script of the field: on mouseUp ?do your scrolling thing End mouseUp on mouseDoubleUp ? do your navigation between cards End mouseDoubleUp Best regards Tore Nilsen > 4. des. 2020 kl. 15:14 skrev Sannyasin Brahmanathaswami via use-livecode : > > I want a user to scroll the fields. If a user sends mouseup, simply scrolls the field. It does not react. It is locked. > > But if the user double clicks on field, it reacts. > > Basically it goes to another cards, taking with it a single Title in the list, on a double click of the field > > If I try > > If double-click then > # code > End if > > It does not work? > > 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 bdrunrev at gmail.com Fri Dec 4 09:45:15 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 4 Dec 2020 14:45:15 +0000 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: That's very sad news. I'd noticed he had been quiet on the forum. HH made some truly extraordinary contributions. Just a few days ago I was just looking at his Jigsaw HTML5 app, and was astonished at what he had achieved. He might not have been happy with the limitations in the HTML5 standalone, but he pushed what could be done to the max, inspiring many of us to look at what was possible rather than on what was not possible. I've never been part of an online community for so long that I've seen half a dozen great contributors pass away. HH always went the extra mile with any problem in our community where he got involved. He will be missed :( On Fri, Dec 4, 2020 at 12:07 PM Heather Laine via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear List Folks, > > I have today received some sad news. I am told that Hermann Hoch passed > away in April this year, from a stroke. I know many of you knew him either > remotely or having met him in person at a conference. He will be missed. I > met him myself and found him to be a wonderfully warm and kind person. He > could be volatile, but I always felt it was because he cared passionately > about things. > > I will take what steps I can to preserve his legacy of HTML5 examples. As > these are hosted on an on-rev account we should be able to maintain it in > perpetuity for the benefit of the LiveCode Community. > > LiveCode HTML5 didn't always meet his expectations or progress as fast as > he wanted it to and I do wish he could have seen our next planned release, > where HTML5 support will be a focus. He was of great benefit to this > community and shared his expertise freely. > > I'm not sure what else I can say. Rest in peace hh, you will be missed :( > > Heather > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harrison at all-auctions.com Fri Dec 4 09:57:10 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 4 Dec 2020 09:57:10 -0500 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: Just yesterday I was reading some of Hermann?s posts in the LC archive that were very helpful to me. We?ll miss you Hermann! Rick From irog at mac.com Fri Dec 4 10:22:26 2020 From: irog at mac.com (Roger Guay) Date: Fri, 4 Dec 2020 07:22:26 -0800 Subject: Some sad news In-Reply-To: References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: I?ve received a lot of valuable help over the years from hh. Farewell, Herman. Roger From devin_asay at byu.edu Fri Dec 4 10:43:03 2020 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 4 Dec 2020 15:43:03 +0000 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: <5C544B4E-665C-4B82-856F-25C907B7966C@byu.edu> I think we all have been dazzled by what Hermann was able to do with LC HTML5. Our community has been enriched by Hermann and many others for whom LiveCode and the idea of ?coding for everyone" is a passion. He will be missed. Condolences to his family. As others have noted, we also remember other LiveCode late-greats: Mark Smith and Eric Chatonet. I?m sure I am forgetting someone, but their legacy lives on in their generous contributions to the LiveCode developer community, Thanks to all who continue to keep their work available. Devin > On Dec 4, 2020, at 5:07 AM, Heather Laine via use-livecode wrote: > > Dear List Folks, > > I have today received some sad news. I am told that Hermann Hoch passed away in April this year, from a stroke. I know many of you knew him either remotely or having met him in person at a conference. He will be missed. I met him myself and found him to be a wonderfully warm and kind person. He could be volatile, but I always felt it was because he cared passionately about things. > > I will take what steps I can to preserve his legacy of HTML5 examples. As these are hosted on an on-rev account we should be able to maintain it in perpetuity for the benefit of the LiveCode Community. > > LiveCode HTML5 didn't always meet his expectations or progress as fast as he wanted it to and I do wish he could have seen our next planned release, where HTML5 support will be a focus. He was of great benefit to this community and shared his expertise freely. > > I'm not sure what else I can say. Rest in peace hh, you will be missed :( > > Heather > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From roland.huettmann at gmail.com Fri Dec 4 10:57:06 2020 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 4 Dec 2020 16:57:06 +0100 Subject: Some sad news Message-ID: Oh, I am shocked. I deeply felt condolences to his family and friends. I had a chat with him at the beginning of the year, and I was thinking of calling him since he seemed to be grumpy that we did not follow up fast enough to meet his demands. Now this... ( Yes, he was brilliant. May he have fun looking at us from above... Roland From kaveh at rivervalleytechnologies.com Fri Dec 4 11:34:56 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Fri, 4 Dec 2020 16:34:56 +0000 Subject: Some sad news In-Reply-To: <5C544B4E-665C-4B82-856F-25C907B7966C@byu.edu> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> <5C544B4E-665C-4B82-856F-25C907B7966C@byu.edu> Message-ID: Sad indeed. He made some great contributions in his own special way and I learned a lot from him... On Fri, 4 Dec 2020 at 15:44, Devin Asay via use-livecode < use-livecode at lists.runrev.com> wrote: > I think we all have been dazzled by what Hermann was able to do with LC > HTML5. Our community has been enriched by Hermann and many others for whom > LiveCode and the idea of ?coding for everyone" is a passion. He will be > missed. Condolences to his family. > > As others have noted, we also remember other LiveCode late-greats: Mark > Smith and Eric Chatonet. I?m sure I am forgetting someone, but their legacy > lives on in their generous contributions to the LiveCode developer > community, Thanks to all who continue to keep their work available. > > Devin > > > > On Dec 4, 2020, at 5:07 AM, Heather Laine via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Dear List Folks, > > > > I have today received some sad news. I am told that Hermann Hoch passed > away in April this year, from a stroke. I know many of you knew him either > remotely or having met him in person at a conference. He will be missed. I > met him myself and found him to be a wonderfully warm and kind person. He > could be volatile, but I always felt it was because he cared passionately > about things. > > > > I will take what steps I can to preserve his legacy of HTML5 examples. > As these are hosted on an on-rev account we should be able to maintain it > in perpetuity for the benefit of the LiveCode Community. > > > > LiveCode HTML5 didn't always meet his expectations or progress as fast > as he wanted it to and I do wish he could have seen our next planned > release, where HTML5 support will be a focus. He was of great benefit to > this community and shared his expertise freely. > > > > I'm not sure what else I can say. Rest in peace hh, you will be missed :( > > > > Heather > > > > > > Heather Laine > > Customer Services Manager > > LiveCode Ltd > > www.livecode.com > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn ? ORCID *Accelerating the Communication of Research* From sean at pidigital.co.uk Fri Dec 4 11:40:46 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 4 Dec 2020 16:40:46 +0000 Subject: Printing To Pdf Linux Rendering In-Reply-To: <35DEBDEE-74C1-467B-B732-620E30332FBB@pidigital.co.uk> References: <02147c70-693b-96bb-8f17-e06ee7eeb2d0@fourthworld.com> <35DEBDEE-74C1-467B-B732-620E30332FBB@pidigital.co.uk> Message-ID: Alas, I am still getting the same results with both duplicated and brand new fields. Even in a whole new stack. I'm not getting very far with this. What is making the text get so screwed up? Does anyone have any insight? Thanks again, Richard. Sean Cole *Pi Digital * On Fri, 4 Dec 2020 at 06:42, Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > That?s a possibility. Interesting. I?ll give it a go when I?m more awake. > Thanks Richard > > Sean Cole > Pi Digital > > > > On 4 Dec 2020, at 06:16, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Sean Cole wrote: > >> I've got a CentOS7 server that I am printing reports from as PDFs. No > >> matter which font or style I use I get occasional anomalies where > >> characters from words get placed over each other like a kerning issue > gone > >> mental. > >> Bad rendering: > >> > https://www.dropbox.com/s/v09vacw8x3873qh/Screenshot%202020-12-04%20at%2005.53.47.png?dl=0 > >> Good rendering: > >> > https://www.dropbox.com/s/ehbdofm3nusgzyh/Screenshot%202020-12-04%20at%2005.54.08.png?dl=0 > >> It's very random. Sometimes it's ok. the next report will come out bad. > >> There's no real pattern I can identify. I've been going at it for a few > >> days trying different font types and styles but they are all very hit > and > >> miss. I can't work out if it is Cairo, Cups or something else. From the > >> print card dialogue I get the same issue. I'm so tired and frustrated > from > >> trying to sort it out. Anyone have a fix/workaround/suggestion? > > > > It's been a while since I've seen that, but when I did it was with an > older stack brought forward through many versions to v9. > > > > IIRC I replaced the fields that showed the issue one by one until the > problem went away. > > > > -- > > 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 sean at pidigital.co.uk Fri Dec 4 11:45:43 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 4 Dec 2020 16:45:43 +0000 Subject: Some sad news In-Reply-To: References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> <5C544B4E-665C-4B82-856F-25C907B7966C@byu.edu> Message-ID: Aww. He will be missed. He had been a tremendous help in getting our HTML5 deployment portal working. I hope I can keep his legacy going once LC9.7 fixes all (??) of HTML5's gripes. Sean Cole *Pi Digital Productions Ltd* On Fri, 4 Dec 2020 at 16:34, Kaveh Bazargan via use-livecode < use-livecode at lists.runrev.com> wrote: > Sad indeed. He made some great contributions in his own special way and I > learned a lot from him... > > On Fri, 4 Dec 2020 at 15:44, Devin Asay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I think we all have been dazzled by what Hermann was able to do with LC > > HTML5. Our community has been enriched by Hermann and many others for > whom > > LiveCode and the idea of ?coding for everyone" is a passion. He will be > > missed. Condolences to his family. > > > > As others have noted, we also remember other LiveCode late-greats: Mark > > Smith and Eric Chatonet. I?m sure I am forgetting someone, but their > legacy > > lives on in their generous contributions to the LiveCode developer > > community, Thanks to all who continue to keep their work available. > > > > Devin > > > > > > > On Dec 4, 2020, at 5:07 AM, Heather Laine via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Dear List Folks, > > > > > > I have today received some sad news. I am told that Hermann Hoch passed > > away in April this year, from a stroke. I know many of you knew him > either > > remotely or having met him in person at a conference. He will be missed. > I > > met him myself and found him to be a wonderfully warm and kind person. He > > could be volatile, but I always felt it was because he cared passionately > > about things. > > > > > > I will take what steps I can to preserve his legacy of HTML5 examples. > > As these are hosted on an on-rev account we should be able to maintain it > > in perpetuity for the benefit of the LiveCode Community. > > > > > > LiveCode HTML5 didn't always meet his expectations or progress as fast > > as he wanted it to and I do wish he could have seen our next planned > > release, where HTML5 support will be a focus. He was of great benefit to > > this community and shared his expertise freely. > > > > > > I'm not sure what else I can say. Rest in peace hh, you will be missed > :( > > > > > > Heather > > > > > > > > > Heather Laine > > > Customer Services Manager > > > LiveCode Ltd > > > www.livecode.com > > > > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > 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 > > > > > -- > Kaveh Bazargan PhD > Director > River Valley Technologies ? Twitter > ? LinkedIn > ? ORCID > > *Accelerating the Communication of Research* > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 4 12:04:32 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Dec 2020 11:04:32 -0600 Subject: Printing To Pdf Linux Rendering In-Reply-To: References: <02147c70-693b-96bb-8f17-e06ee7eeb2d0@fourthworld.com> <35DEBDEE-74C1-467B-B732-620E30332FBB@pidigital.co.uk> Message-ID: <1762eb65d00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Back in the MetaCard days, I was told that problems like this were often caused by the printer driver. If there's an update, I'd install it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 4, 2020 10:42:50 AM "Sean Cole \(Pi\) via use-livecode" wrote: > Alas, I am still getting the same results with both duplicated and brand > new fields. Even in a whole new stack. I'm not getting very far with this. > What is making the text get so screwed up? Does anyone have any insight? > > Thanks again, Richard. > > Sean Cole > *Pi Digital * > > On Fri, 4 Dec 2020 at 06:42, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> That?s a possibility. Interesting. I?ll give it a go when I?m more awake. >> Thanks Richard >> >> Sean Cole >> Pi Digital >> >> >> > On 4 Dec 2020, at 06:16, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > ?Sean Cole wrote: >> >> I've got a CentOS7 server that I am printing reports from as PDFs. No >> >> matter which font or style I use I get occasional anomalies where >> >> characters from words get placed over each other like a kerning issue >> gone >> >> mental. >> >> Bad rendering: >> >> >> https://www.dropbox.com/s/v09vacw8x3873qh/Screenshot%202020-12-04%20at%2005.53.47.png?dl=0 >> >> Good rendering: >> >> >> https://www.dropbox.com/s/ehbdofm3nusgzyh/Screenshot%202020-12-04%20at%2005.54.08.png?dl=0 >> >> It's very random. Sometimes it's ok. the next report will come out bad. >> >> There's no real pattern I can identify. I've been going at it for a few >> >> days trying different font types and styles but they are all very hit >> and >> >> miss. I can't work out if it is Cairo, Cups or something else. From the >> >> print card dialogue I get the same issue. I'm so tired and frustrated >> from >> >> trying to sort it out. Anyone have a fix/workaround/suggestion? >> > >> > It's been a while since I've seen that, but when I did it was with an >> older stack brought forward through many versions to v9. >> > >> > IIRC I replaced the fields that showed the issue one by one until the >> problem went away. >> > >> > -- >> > Richard Gaskin >> > Fourth World Systems >> > Software Design and Development for the Desktop, Mobile, and the Web >> > ____________________________________________________________________ >> > Ambassador at FourthWorld.com http://www.FourthWorld.com >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Fri Dec 4 12:21:06 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 4 Dec 2020 18:21:06 +0100 Subject: Some sad news In-Reply-To: References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: I thought he stopped the community because he was not happy about the progress on HTML5... This is very sad, a helpfull and smart man and a lung physician too.(he said once) Rest in Peace. All the best to his family. Und schone grussen nach oben! Jerry Janson Op 4-12-2020 om 13:49 schreef Klaus major-k via use-livecode: > >> Am 04.12.2020 um 13:07 schrieb Heather Laine via use-livecode : >> >> Dear List Folks, >> >> I have today received some sad news. I am told that Hermann Hoch passed away in April this year, from a stroke. I know many of you knew him either remotely or having met him in person at a conference. He will be missed. I met him myself and found him to be a wonderfully warm and kind person. He could be volatile, but I always felt it was because he cared passionately about things. >> >> I will take what steps I can to preserve his legacy of HTML5 examples. As these are hosted on an on-rev account we should be able to maintain it in perpetuity for the benefit of the LiveCode Community. >> >> LiveCode HTML5 didn't always meet his expectations or progress as fast as he wanted it to and I do wish he could have seen our next planned release, where HTML5 support will be a focus. He was of great benefit to this community and shared his expertise freely. >> >> I'm not sure what else I can say. Rest in peace hh, you will be missed :( >> >> Heather > oh, this is really sad news! :-/ > Farewell, Hermann, mach's gut! > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Fri Dec 4 12:44:37 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 4 Dec 2020 17:44:37 +0000 Subject: Printing To Pdf Linux Rendering In-Reply-To: <1762eb65d00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <02147c70-693b-96bb-8f17-e06ee7eeb2d0@fourthworld.com> <35DEBDEE-74C1-467B-B732-620E30332FBB@pidigital.co.uk> <1762eb65d00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: The printer driver for PDF on Linux (CentOS) is handled by the LC inclusion of the Cairo library into the engine (as I understand it). There are no printer drivers other than Cups. I have updated Cups to the latest versions available and there is no difference. Sean Cole *Pi Digital * On Fri, 4 Dec 2020 at 17:04, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Back in the MetaCard days, I was told that problems like this were often > caused by the printer driver. If there's an update, I'd install it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 4, 2020 10:42:50 AM "Sean Cole \(Pi\) via use-livecode" > wrote: > > > Alas, I am still getting the same results with both duplicated and brand > > new fields. Even in a whole new stack. I'm not getting very far with > this. > > What is making the text get so screwed up? Does anyone have any insight? > > > > Thanks again, Richard. > > > > Sean Cole > > *Pi Digital * > > > > On Fri, 4 Dec 2020 at 06:42, Pi Digital via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> That?s a possibility. Interesting. I?ll give it a go when I?m more > awake. > >> Thanks Richard > >> > >> Sean Cole > >> Pi Digital > >> > >> > >> > On 4 Dec 2020, at 06:16, Richard Gaskin via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > > >> > ?Sean Cole wrote: > >> >> I've got a CentOS7 server that I am printing reports from as PDFs. No > >> >> matter which font or style I use I get occasional anomalies where > >> >> characters from words get placed over each other like a kerning issue > >> gone > >> >> mental. > >> >> Bad rendering: > >> >> > >> > https://www.dropbox.com/s/v09vacw8x3873qh/Screenshot%202020-12-04%20at%2005.53.47.png?dl=0 > >> >> Good rendering: > >> >> > >> > https://www.dropbox.com/s/ehbdofm3nusgzyh/Screenshot%202020-12-04%20at%2005.54.08.png?dl=0 > >> >> It's very random. Sometimes it's ok. the next report will come out > bad. > >> >> There's no real pattern I can identify. I've been going at it for a > few > >> >> days trying different font types and styles but they are all very hit > >> and > >> >> miss. I can't work out if it is Cairo, Cups or something else. From > the > >> >> print card dialogue I get the same issue. I'm so tired and frustrated > >> from > >> >> trying to sort it out. Anyone have a fix/workaround/suggestion? > >> > > >> > It's been a while since I've seen that, but when I did it was with an > >> older stack brought forward through many versions to v9. > >> > > >> > IIRC I replaced the fields that showed the issue one by one until the > >> problem went away. > >> > > >> > -- > >> > Richard Gaskin > >> > Fourth World Systems > >> > Software Design and Development for the Desktop, Mobile, and the Web > >> > ____________________________________________________________________ > >> > Ambassador at FourthWorld.com http://www.FourthWorld.com > >> > > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode at lists.runrev.com > >> > Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> > http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 4 14:32:28 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 4 Dec 2020 13:32:28 -0600 Subject: Keeping soft line break and using clipboard data In-Reply-To: References: Message-ID: <22b9b649-90c4-71d5-2424-f7489c7222bf@hyperactivesw.com> LC uses ascii 11 as a soft break. If you can replace the character in the clipboard with ascii 11 it would probably work. On 12/4/20 6:18 AM, R.H. via use-livecode wrote: > I am using Windows 10, LiveCode Indy 9.6.1 > > Here is a question I tried to solve using clipBoardData, fullClipBoardData > and rawClipboardData. I am aware that there is nothing in Livecode that > represents soft line breaks, for example as a Unicode character (unless I > could not find anywhere). But I need to preserve such existing soft line > breaks since I need to copy text from a word processor into other programs > that support such soft returns. > > For example, in most email apps the key-combination Shift-Return breaks the > line, but it is not a hard LFCR (depending on platform) and the paragraph > is not touched. It HTML it would be a "
instead of

. But pasting > such text into LCS will only convert those soft returns to hard returns. > > So, I thought to use the clipboard, getting the binary data of the text > file (UTF8-encoded including soft returns) with an URL(binfile:), > encoding them in one way or the other, and the user will then be able to > paste the copied text including those hidden soft returns into the target > application. In this way, I hoped to circumvent the LCS text representation. > > Unfortunately, I did not get it to work one way or the other. Is it > possible at all? Did anybody ever had such a need and solved it? > > Roland > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at elementarysoftware.com Fri Dec 4 15:19:43 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 4 Dec 2020 12:19:43 -0800 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: Heather, thank you for making us aware of Hermann?s passing. I find his work amazing and so very inspiring. Your announcement helps make this a richer community. ? Scott Morrow Elementary Software > On Dec 4, 2020, at 4:07 AM, Heather Laine via use-livecode wrote: > > Dear List Folks, > > I have today received some sad news. I am told that Hermann Hoch passed away in April this year, from a stroke. I know many of you knew him either remotely or having met him in person at a conference. He will be missed. I met him myself and found him to be a wonderfully warm and kind person. He could be volatile, but I always felt it was because he cared passionately about things. > > I will take what steps I can to preserve his legacy of HTML5 examples. As these are hosted on an on-rev account we should be able to maintain it in perpetuity for the benefit of the LiveCode Community. > > LiveCode HTML5 didn't always meet his expectations or progress as fast as he wanted it to and I do wish he could have seen our next planned release, where HTML5 support will be a focus. He was of great benefit to this community and shared his expertise freely. > > I'm not sure what else I can say. Rest in peace hh, you will be missed :( > > Heather > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Sat Dec 5 03:49:22 2020 From: curry at pair.com (Curry Kenworthy) Date: Sat, 5 Dec 2020 03:49:22 -0500 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: <09e6928c-a794-c9de-f807-cfd79b962fd9@pair.com> Indeed sad news - Hermann was a competent LC coder and contributor. I enjoyed his comments. Glad to hear HTML5 support is improving; it's time. Good potential. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Sat Dec 5 12:58:59 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 5 Dec 2020 09:58:59 -0800 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: On 12/4/20 4:07 AM, Heather Laine via use-livecode wrote: > Dear List Folks, > > I have today received some sad news. Thanks for passing on the news, Heather. Hermann and I met some years ago at one of the Edinburgh conferences and we spent several hours that week talking while walking around town, grabbing food, etc. We kept up our correspondence over time and he was a great and persistent beta tester for me, finding small details to fix and offering suggestions as to what might be improved. He corrected my mathematical thinking more than a few times. His contributions to both the Raspberry Pi and HTML5 topics on the web forum are consistently amazing and he kept pushing the envelope on both these fronts. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sun Dec 6 05:16:07 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 6 Dec 2020 12:16:07 +0200 Subject: Trying to use the Segmented Control In-Reply-To: References: Message-ID: When I was about 18 I was driving tractors on a farm: really old-fashioned things with about 3 gears. Later, in the United States, I learnt to drive a car; out car was a Ford Tempo with 5 gears and a reverse. However, when I went to take the test the officers there would not let me use our car because it had a pea-sized spot of the windscreen. So, I borrowed a friend's car: the only problem was that it was an automatic: so I took a driving test in an automatic car when I had never driven one before . . . what a load of rubbish. I, then, left the U.S. and did not drive a car for about 6 months, and managed to have my American licence stolen. I started driving again in the United Arab Emirates on the basis of a Saudi licence I had got for a bottle of fake Chanel number 5. That's when I really started to drive. The few times I have had to drive a car with an automatic gear system since then I have generally panicked as they make me feel out of control. WIDGETS seem to me like cars with automatic transmission: all very clever, drive themselves, but no chance for any creative driving. Personally I'll always opt for 'stick' given the choice. On 30.11.20 13:05, R.H. via use-livecode wrote: > Basically, I think, it is a nice widget. > > --- But sometimes, I would like to show text with icons together, or each > icon in a different color. Possible? > > --- Then I would like to import whatever icon or image and individually set > its size, and margins individually. I like to have access to the details of > each segment and it's look and feel. Even each segment's rect and other > details should be modifiable. I would like to be able to define the size > and the color of each object's border and dividing lines. The only way > around is scripting lines or whatever to be used as an overlay -- which is > a kludge. But is it possible using LCB to address individual parts and > define a more detail-grained API? > > --- Messages: I do not understand why not standard mouse messages would > work here and are not supported. Other messages than just "hilitedChange" > should be detected. But it would be important, in my opinion, to allow each > and every graphical widget to detect mouseWithin, mouseMove, mouseDown, > mouseUp, mouseEnter, mouseLeave, etc. > > Is there anybody working on such widgets and updating them to newer > versions? Is there a version history for each widget? > > The documentary of the widget (widgets) in the Dictionary could be enhanced > with a first date of appearance and dates of new versions as well as > enhancement requests or planned enhancements? I assume the author is > LiveCode Ltd.? > > Roland > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dvglasgow at gmail.com Sun Dec 6 06:07:08 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 6 Dec 2020 11:07:08 +0000 Subject: OT Re: Trying to use the Segmented Control In-Reply-To: References: Message-ID: <97517419-9E68-4487-AE6F-09FA1DF84E61@gmail.com> > On 6 Dec 2020, at 10:16 am, Richmond via use-livecode wrote: > > I started driving again in the United Arab Emirates on the basis of a Saudi licence I had got for a bottle > of fake Chanel number 5. I never drive in the UAE. Hit a camel = go to jail. David G From ambassador at fourthworld.com Sun Dec 6 20:53:52 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 6 Dec 2020 17:53:52 -0800 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: Heather Laine wrote: > I have today received some sad news. I am told that Hermann Hoch > passed away in April this year, from a stroke. That is indeed sad news. He was among the most prolific contributors to this community. In my private correspondence with him he was insightful, and was always looking out for others. I will miss him, as I'm sure a great many others will. -- 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 Sun Dec 6 21:50:06 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 7 Dec 2020 02:50:06 +0000 Subject: OT: Android, MotoG6, ./adb devices I can't to attach itself In-Reply-To: <17622780e30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: , <17622780e30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I will test this It takes 12 minutes to do an iPhone Big Sur! When that happens I do: ./adb kill-server ./adb start-server ./adb devices If that doesn't work try sudo: Sometimes you have to restart LC. From jbv at souslelogo.com Mon Dec 7 04:53:42 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 07 Dec 2020 04:53:42 -0500 Subject: binaryencode question Message-ID: Hi list, I have a script that opens a binary file (actually a .wav) file, converts binary data to hex, do some processing on parts of the data, and then saves the result as a new .wav file. I managed to convert the binary data to hex and do the processing, but now I'm stuck trying to convert hex back to binary using the binaryencode function, to get a playable .wav file. Here's the code that works so far : put "/sounds/my.wav" into path open file path for binary read read from file path at 45 for 200 close file path put it into mybin put "" into tHex put 1 into tCount repeat until tCount=155 put byte tCount of mybin into theByte put binarydecode("H*", theByte, tHex) into theNumConversions put tHex after theHex add 1 to tCount end repeat After processing the content of theHex, I need to save it as a .wav file. I am aware of all the requirements for a .wav header, my only problem is to convert the whole thing to binary before saving. Can someone help ? Thanks in advance. jbv From jbv at souslelogo.com Mon Dec 7 07:34:08 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 07 Dec 2020 07:34:08 -0500 Subject: binaryencode question In-Reply-To: References: Message-ID: <3fa9008a728d6b6ba13e05f64b613df1@souslelogo.com> Never mind folks, I found another (and easier solution) : I'm using bytetonum() to convert the binary data from the file, and then, after processing, numtobyte() to write the data as binary in the file. Le 2020-12-07 04:53, jbv via use-livecode a ?crit?: > Hi list, > > I have a script that opens a binary file (actually a .wav) file, > converts binary data to hex, do some processing on parts of the > data, and then saves the result as a new .wav file. > I managed to convert the binary data to hex and do the processing, > but now I'm stuck trying to convert hex back to binary using the > binaryencode function, to get a playable .wav file. > > Here's the code that works so far : > put "/sounds/my.wav" into path > open file path for binary read > read from file path at 45 for 200 > close file path > put it into mybin > > put "" into tHex > put 1 into tCount > > repeat until tCount=155 > put byte tCount of mybin into theByte > > put binarydecode("H*", theByte, tHex) into theNumConversions > put tHex after theHex > add 1 to tCount > end repeat > > After processing the content of theHex, I need to save it as a .wav > file. > I am aware of all the requirements for a .wav header, my only problem > is > to convert the whole thing to binary before saving. > > Can someone help ? > Thanks in advance. > > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Dec 7 14:22:38 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 7 Dec 2020 21:22:38 +0200 Subject: [ANN] This Week in LiveCode 247 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 #247 here: https://bit.ly/2VRzxYJ This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From martyknappster at gmail.com Mon Dec 7 18:05:06 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 7 Dec 2020 15:05:06 -0800 Subject: fontNames issue Message-ID: I've had 3 customers who use the Windows version of my app who've had the same issue. I've traced it down to the line: put the fontNames into tFontList It returns this error and then quits: 465,110,1 241,110,1,LoadFontMenu (the handler name that's trying to get the fontNames 353,0,0,stack (then the path to the stack where "LoadFontMenu" is called) 110 is the line "put the fontNames into tFontList" Anybody out there seen this before? Of course I can't duplicate the error here and customers are only willing to do so much. I'm wondering about a permissions issues somewhere in the path to the Fonts folder or a corrupted font cache. Would this show up in an error log somewhere on Windows? Marty From ambassador at fourthworld.com Mon Dec 7 21:07:31 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 7 Dec 2020 18:07:31 -0800 Subject: Can LC read QR-Code? In-Reply-To: <05E62174-6275-4BF2-9C04-C78F6522D503@major-k.de> References: <05E62174-6275-4BF2-9C04-C78F6522D503@major-k.de> Message-ID: Klaus wrote: > Question, the dictionary says the "Android Barcode Library" works with > LC INDY. But I remember there was one feature falsely reported as > supported by INDY, but was BUSINESS only in the end. Was it this > library? Where is LC's QR code plugin documented? I have Indy, but LiveCode has no functioning browser widget for Linux, and so it has no Dictionary; instead it opens the Dictionary from the public site, which apparently only documents things in the Community Edition. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Mon Dec 7 22:51:00 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 8 Dec 2020 03:51:00 +0000 Subject: Can LC read QR-Code? In-Reply-To: References: <05E62174-6275-4BF2-9C04-C78F6522D503@major-k.de> Message-ID: Hi Richard This isn't quite what you was asking for (I have to have LC open on my Mac to get the dictionary when coding in Linux), but here are the two library bits from the dictionary: ---- *qrCreate* Type command Syntax qrCreate pImg,pData,pECC,pSize,pMask,pMinVersion,pMaxVersion Associations QR Code GeneratorSummaryCreate a QR codeParameters Name Type Description pImg The name of an image object on the card, a filename or the special code "!" which will return the image data in the result. pData The data to be encoded. pECC The error correction level "L" : 7% error correction "M" : 15% error correction "Q" : 25% error correction "H" : 30% error correction pSize Module size you can make the code larger/smaller. You can also just rescale the image after the code has been created. pMask An integer value between 0 and 7. When encoding a QR code, there are eight mask patterns that you can use to change the outputted matrix. Each mask pattern changes the bits according to their coordinates in the QR matrix. The purpose of a mask pattern is to make the QR code easier for a QR scanner to read. pMinVersion An integer value between 1 and 40. It must be lower or equal to pMaxVersion. If pMinVersion is not specified then the default value of 1 is used. pMaxVersion An integer value between 1 and 40. It must be higher or equal to pMinVersion. If pMaxVersion is not specified then the default value of 40 is used. ? Examples qrCreate "MyImage", "QR data", "M", 3 --creating QR Code with ECC level M, Size 3, Mask 7 and version 14 qrCreate "MyImage", "QR data", "M", 3, 7, 14, 14 -- example how to use qrCreate with LiveCode server qrCreate "!", tData, tECC, tSize put the result into tData if tData begins with "Error" then put tData else # line 1 of the result contains some info # the remaining lines contain the png image data put line 1 of tData into tInfo delete line 1 of tData put "Qr code info
" & LF put "Version: " & item 1 of tInfo & "
" & LF put "ECC: " & item 2 of tInfo & "
" & LF put "Mode: " & item 3 of tInfo & "
" & LF put "Mask: " & item 4 of tInfo & "
" & LF # show the image put base64Encode(tData) into tData replace LF with empty in tData put "
" & LF end if Value Name Type Description the result If successful, the first line of the result will be the following values: QR version ECC Mode Mask Image size with quiet zone (based on module size 1) If there was an error the result will contain "Error:" and then an error description. If the special character '!' is used for pImg, then the result also contains the raw output of a png image. You can use this data, for example, with LiveCode server to generate QR codes on web pages. Description Set the text of an image to a QR code or get the PMG data of the QR code image. ---- *qrSetColors* Type command Syntax qrSetColors pForeground,pBackground Associations QR Code Generator Summary Set colors other than the default black and white Parameters Name Type Description pForeground A color name or RGB triplet pBackground A color name or RGB triplet Examples qrSetColors "Blue", "Yellow" Description Optionally use colors other than black and white there must be a high enough contrast between colors for scanning the foreground color should be darker than the background color. Sean Cole *Pi Digital * On Tue, 8 Dec 2020 at 02:07, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Klaus wrote: > > > Question, the dictionary says the "Android Barcode Library" works with > > LC INDY. But I remember there was one feature falsely reported as > > supported by INDY, but was BUSINESS only in the end. Was it this > > library? > > Where is LC's QR code plugin documented? > > I have Indy, but LiveCode has no functioning browser widget for Linux, > and so it has no Dictionary; instead it opens the Dictionary from the > public site, which apparently only documents things in the Community > Edition. > > -- > 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 ben at addall.nl Tue Dec 8 07:09:37 2020 From: ben at addall.nl (Ben Helder) Date: Tue, 8 Dec 2020 12:09:37 +0000 Subject: use-livecode Digest, Vol 206, Issue 28 In-Reply-To: References: Message-ID: Hey there Stay Safe! Met vriendelijke groeten / Best regards, Ben J. Helder Technisch Dir. AddAll IT Services rendementsweg 24-F, 3641SL, Mijdrecht, The Netherlands T. +31 85 273 69 06 T. +31 6 47912204 E. ben at addall.nl I.?? www.addall.nl DISCLAIMER The information in this e-mail message is privileged and confidential and is only intended for the addressee. If you received this e-mail in error, you are hereby notified that any disclosure, reproduction, distribution or use of this message and any attachments is strictly prohibited. Please notify the sender immediately and delete the e-mail without copying or disclosing its contents to any other person. No legal consequences can be derived from the contents of this e-mail. Neither the sender nor AddAll IT Services (or any of its related companies) accept liability for any damage resulting from the use and/or acceptance of the content of this e-mail message. Please consider the environment before printing this message. -----Oorspronkelijk bericht----- Van: use-livecode Namens use-livecode-request at lists.runrev.com Verzonden: dinsdag 24 november 2020 18:00 Aan: use-livecode at lists.runrev.com Onderwerp: use-livecode Digest, Vol 206, Issue 28 Send use-livecode mailing list submissions to use-livecode at lists.runrev.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.runrev.com/mailman/listinfo/use-livecode or, via email, send a message with subject or body 'help' to use-livecode-request at lists.runrev.com You can reach the person managing the list at use-livecode-owner at lists.runrev.com When replying, please edit your Subject line so it is more specific than "Re: Contents of use-livecode digest..." you can find the archives for this list at: http://lists.runrev.com/pipermail/use-livecode/ and search them using this link: http://www.google.com/advanced_search?q=site:lists.runrev.com Today's Topics: 1. Re: Getting a real number from scientific notation (Roger Guay) 2. Re: Google and OpenSource apps (Mark Wieder) 3. Re: Getting a real number from scientific notation (Bob Sneidar) 4. LC PayPal Server Integration (Rick Harrison) 5. Strange bug (Klaus major-k) 6. Re: Strange bug (Klaus major-k) 7. Re: Strange bug (Klaus major-k) 8. LC9.6.2rc build issues? (Paul Dupuis) 9. Re: LC9.6.2rc build issues? (Paul Dupuis) 10. Re: LC9.6.2rc build issues? (Paul Dupuis) 11. Mac standalone install in menu bar (Ben Rubinstein) 12. MP3 ID3 tag writer (Skip Kimpel) 13. Re: Strange bug (Richmond) 14. Re: MP3 ID3 tag writer (matthias_livecode_150811 at m-r-d.de) 15. Re: Mac standalone install in menu bar (matthias_livecode_150811 at m-r-d.de) 16. Re: MP3 ID3 tag writer (matthias_livecode_150811 at m-r-d.de) 17. Re: Strange bug (Bob Sneidar) ---------------------------------------------------------------------- Message: 1 Date: Mon, 23 Nov 2020 16:43:28 -0800 From: Roger Guay To: How to use LiveCode Subject: Re: Getting a real number from scientific notation Message-ID: Content-Type: text/plain; charset=utf-8 Unfortunately, there are not enough examples in the dictionary for an amateur like myself to understand it! Roger > On Nov 23, 2020, at 4:09 PM, Paul Dupuis via use-livecode wrote: > > All this is why I prefer format() over numberFormat. The function is more versatile and you get exactly what you specify with less guess work. > > On 11/23/2020 6:52 PM, Roger Guay via use-livecode wrote: >> Yaknow, this whole thing is confusing. Turns out you don?t even need to set the numberFormat. >> put 4.21911e+11 + 0 results in 421910000000. >> >> Roger >> >>> On Nov 23, 2020, at 2:44 PM, Craig newman via use-livecode wrote: >>> >>> Nope. >>> >>> The "numberFormat" property is perfectly happy with quotes around its formatExpression. It is also perfectly happy without it. But I always use quotes for things like this. >>> >>> Craig >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>> Behalf Of Roger Guay via use-livecode >>> Sent: Monday, November 23, 2020 5:25 PM >>> To: How to use LiveCode >>> Cc: Roger Guay >>> Subject: Re: Getting a real number from scientific notation >>> >>> That works. Thanks, Klaus! >>> >>> Roger >>> >>> >>> >>>> On Nov 23, 2020, at 1:55 PM, Klaus major-k via use-livecode wrote: >>>> >>>> Hi Roger, >>>> >>>> you forgot + 0 :-) >>>> >>>> on MouseUp >>>> set the numberformat to 0 # NO quotes around this 0 or LC gives an >>>> error put 4.21911e+11 + 0 End mouseUp >>>> >>>> -> 421911000000 >>>> >>>>> Am 23.11.2020 um 22:50 schrieb Roger Guay via use-livecode : >>>>> on MouseUp >>>>> set the numberformat to ?0" >>>>> put 4.21911e+11 >>>>> End mouseUp >>>>> puts 4.21911e+11 into msg box >>>>> What am I missing? >>>>> >>>>> Roger >>>> Best >>>> >>>> Klaus >>>> >>>> -- >>>> Klaus Major >>>> https://www.major-k.de >>>> klaus at major-k.de >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Message: 2 Date: Mon, 23 Nov 2020 16:44:45 -0800 From: Mark Wieder To: Richard Gaskin via use-livecode Subject: Re: Google and OpenSource apps Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed On 11/23/20 10:50 AM, Richard Gaskin via use-livecode wrote: > The "free" described in the GPL and other open source licenses isn't > about money ("gratis") but freedom ("libre"). This ambiguity with "free" > is among the many limitations of our language, but few speak Latin so > the license was written in English, with descriptions of how "free" > applies. :) Nadia Eghbal gave and interesting LongNow talk last week on opensource software maintenance, explaining along the way Jacob Thornton's distinction between free as in beer free as in speech free as in puppy https://www.youtube.com/watch?v=aX0pPg-gyX8 and if you've got a free hour, the whole talk is worth the listen https://www.youtube.com/watch?v=YnI1nz2CBnI -- Mark Wieder ahsoftware at gmail.com ------------------------------ Message: 3 Date: Tue, 24 Nov 2020 00:55:45 +0000 From: Bob Sneidar To: How to use LiveCode Subject: Re: Getting a real number from scientific notation Message-ID: <5EEB52FF-216B-4DC8-A3C5-F5B66620624A at iotecdigital.com> Content-Type: text/plain; charset="utf-8" It?s more than that. There is so much to RegEx, and the different iterations of it, that no dictionary could really cover it. If you want to familiarize yourself with Regex, you really need to visit a tutorial site. Heck, even when you google how to do something, you will likely get a discussion going as to why the first solution posted won?t work right for situation x or y, then someone will contradict that person and before you know it 5 or 6 of the people who actually KNOW Regex will jump into the fray. You may or may not get a really good answer. Bob S > On Nov 23, 2020, at 4:43 PM, Roger Guay via use-livecode wrote: > > Unfortunately, there are not enough examples in the dictionary for an amateur like myself to understand it! > > Roger > >> On Nov 23, 2020, at 4:09 PM, Paul Dupuis via use-livecode wrote: >> >> All this is why I prefer format() over numberFormat. The function is more versatile and you get exactly what you specify with less guess work. >> >> On 11/23/2020 6:52 PM, Roger Guay via use-livecode wrote: >>> Yaknow, this whole thing is confusing. Turns out you don?t even need to set the numberFormat. >>> put 4.21911e+11 + 0 results in 421910000000. >>> >>> Roger >>> >>>> On Nov 23, 2020, at 2:44 PM, Craig newman via use-livecode wrote: >>>> >>>> Nope. >>>> >>>> The "numberFormat" property is perfectly happy with quotes around its formatExpression. It is also perfectly happy without it. But I always use quotes for things like this. >>>> >>>> Craig >>>> >>>> -----Original Message----- >>>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Roger Guay via use-livecode >>>> Sent: Monday, November 23, 2020 5:25 PM >>>> To: How to use LiveCode >>>> Cc: Roger Guay >>>> Subject: Re: Getting a real number from scientific notation >>>> >>>> That works. Thanks, Klaus! >>>> >>>> Roger >>>> >>>> >>>> >>>>> On Nov 23, 2020, at 1:55 PM, Klaus major-k via use-livecode wrote: >>>>> >>>>> Hi Roger, >>>>> >>>>> you forgot + 0 :-) >>>>> >>>>> on MouseUp >>>>> set the numberformat to 0 # NO quotes around this 0 or LC gives an >>>>> error put 4.21911e+11 + 0 End mouseUp >>>>> >>>>> -> 421911000000 >>>>> >>>>>> Am 23.11.2020 um 22:50 schrieb Roger Guay via use-livecode : >>>>>> on MouseUp >>>>>> set the numberformat to ?0" >>>>>> put 4.21911e+11 >>>>>> End mouseUp >>>>>> puts 4.21911e+11 into msg box >>>>>> What am I missing? >>>>>> >>>>>> Roger >>>>> Best >>>>> >>>>> Klaus >>>>> >>>>> -- >>>>> Klaus Major >>>>> https://www.major-k.de >>>>> klaus at major-k.de >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Message: 4 Date: Mon, 23 Nov 2020 20:25:27 -0500 From: Rick Harrison To: How to use LiveCode Subject: LC PayPal Server Integration Message-ID: <619EE37A-9F99-4740-8262-338C1865F8D6 at all-auctions.com> Content-Type: text/plain; charset=us-ascii Hi, I have noticed that PayPal has changed things rather dramatically since the last time I used them for accepting payments for my website. It used to be long ago that you could send your amount, and sales tax information to PayPal with one button. Now the easiest way I can figure how to do this kind of thing involves my having to make several PayPal buttons in advance, and then use my sales tax table to determine which button to show to the user to get PayPal to charge the correct amounts. How are you integrating LiveCode Server with PayPal these days? Do you have any good examples? I find the PayPal website to be a bit of a morass with all of their different ways of doing things. Thanks in advance! Rick ------------------------------ Message: 5 Date: Tue, 24 Nov 2020 13:32:59 +0100 From: Klaus major-k To: LiveCode Developer List Cc: How to use LiveCode Subject: Strange bug Message-ID: Content-Type: text/plain; charset=us-ascii Hi friends, FYI: I found a very strange and serious bug, if you have a minute, please take a look: A real showstopper in my opinion! With an example stack (in my dropbox, my browser does not allow me to select a file as attachment!?). Shows the problem clearly on a Mac. May probably work correctly on Windows, maybe not. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de ------------------------------ Message: 6 Date: Tue, 24 Nov 2020 13:34:34 +0100 From: Klaus major-k To: How to use LiveCode Cc: LiveCode Developer List Subject: Re: Strange bug Message-ID: <165B2D81-1306-4B68-B64D-13FBC52585D5 at major-k.de> Content-Type: text/plain; charset=us-ascii > Am 24.11.2020 um 13:32 schrieb Klaus major-k via use-livecode : > > Hi friends, > > FYI: I found a very strange and serious bug, if you have a minute, please take a look: > > A real showstopper in my opinion! > > With an example stack (in my dropbox, my browser does not allow me to select > a file as attachment!?). Shows the problem clearly on a Mac. > May probably work correctly on Windows, maybe not. > > > Best > > Klaus just tested, this is also already happening in LC 5.02!? -- Klaus Major https://www.major-k.de klaus at major-k.de ------------------------------ Message: 7 Date: Tue, 24 Nov 2020 14:17:24 +0100 From: Klaus major-k To: LiveCode Developer List Cc: How to use LiveCode Subject: Re: Strange bug Message-ID: Content-Type: text/plain; charset=us-ascii Hi Matthias, > Am 24.11.2020 um 14:02 schrieb Klaus major-k : > > Hi Matthias, > >> Am 24.11.2020 um 13:46 schrieb improve-revolution-010908 at m-r-d.de: >> >> May this is because the drapDrop message is still processed or how this is called in english. > > yes, that is what I think, too. > >> As a workaround couldn't you use something like this >> send "importMe" && pURL&&",Rental M1" to me in 50 milliseconds >> in the DragDrop handler instead of calling importMe directly? > > thank you, will try this. > > I already tried this as first line in the importme handler: > -> wait 1 secs with messages > But that did not help. > >> Matthias Rebbe YES, that did the trick, thanks a lot! :-) Will add this as a comment to the bug report. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de ------------------------------ Message: 8 Date: Tue, 24 Nov 2020 08:44:53 -0500 From: Paul Dupuis To: How to use LiveCode Subject: LC9.6.2rc build issues? Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed So, I have a large applications. Under 9.6.1 STABLE I open the main stack and build the standalone (Windows and macOS) without issue. I just tried it under 9.6.2rc1 and I get an infinite loop of "duplicate stacks" errors and it keeps trying to reload the app over and over?!?!? I had to force quit (on Windows 10). Any one else have any problems? ------------------------------ Message: 9 Date: Tue, 24 Nov 2020 08:54:11 -0500 From: Paul Dupuis To: use-livecode at lists.runrev.com Subject: Re: LC9.6.2rc build issues? Message-ID: <8640f5d3-5603-fd93-224b-a19309c87be9 at researchware.com> Content-Type: text/plain; charset=utf-8; format=flowed okay, this did not happen the next time I tried. The first time I have made a number of changes to two substacks in the mainstack (and saved) and then tried building the standalone and got the errors and loop. The second time I made no changes. I just opened the mainstack (and let the app startup) and then build the standalones using 962rc1 and it worked. I have to try making changes again and see if I can get the issue to repeat itself. On 11/24/2020 8:44 AM, Paul Dupuis via use-livecode wrote: > So, I have a large applications. Under 9.6.1 STABLE I open the main > stack and build the standalone (Windows and macOS) without issue. > > I just tried it under 9.6.2rc1 and I get an infinite loop of > "duplicate stacks" errors and it keeps trying to reload the app over > and over?!?!? I had to force quit (on Windows 10). > > Any one else have any problems? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Message: 10 Date: Tue, 24 Nov 2020 09:06:04 -0500 From: Paul Dupuis To: use-livecode at lists.runrev.com Subject: Re: LC9.6.2rc build issues? Message-ID: <83921091-8427-4fba-1647-61abd889bc10 at researchware.com> Content-Type: text/plain; charset=utf-8; format=flowed On 11/24/2020 8:54 AM, Paul Dupuis via use-livecode wrote: > I have to try making changes again and see if I can get the issue to > repeat itself. Now trying to repeat the build issue in LC962rc1, I made an edit to a button script. Applied the change, closed the substack window (getting prompted to save my changes), and the LC just exited. Then trying a 3rd time, everything worked as expected. Maybe it was a bad preferences file that fixed itself or .... gremlins! ------------------------------ Message: 11 Date: Tue, 24 Nov 2020 14:24:53 -0000 From: Ben Rubinstein To: Use LiveCode Subject: Mac standalone install in menu bar Message-ID: <80eb9362-e21c-532b-81b4-a40039e0e36a at cogapp.com> Content-Type: text/plain; charset=utf-8; format=flowed Is it possible to create an using LC that once launched installs itself in the menu bar? TIA, Ben ------------------------------ Message: 12 Date: Tue, 24 Nov 2020 10:36:12 -0500 From: Skip Kimpel To: How to use LiveCode Subject: MP3 ID3 tag writer Message-ID: Content-Type: text/plain; charset="UTF-8" Has anybody written a library for this? Looking to write ID3 tags for mp3 files including the addition to mp3 artwork. Thoughts? SKIP ------------------------------ Message: 13 Date: Tue, 24 Nov 2020 17:57:36 +0200 From: Richmond To: Klaus major-k via use-livecode Subject: Re: Strange bug Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed Yes, as described (LC 9.6.1, macOS 11.1 Beta). On 24.11.20 14:32, Klaus major-k via use-livecode wrote: > Hi friends, > > FYI: I found a very strange and serious bug, if you have a minute, please take a look: > > A real showstopper in my opinion! > > With an example stack (in my dropbox, my browser does not allow me to select > a file as attachment!?). Shows the problem clearly on a Mac. > May probably work correctly on Windows, maybe not. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Message: 14 Date: Tue, 24 Nov 2020 16:59:08 +0100 From: matthias_livecode_150811 at m-r-d.de To: How to use LiveCode Subject: Re: MP3 ID3 tag writer Message-ID: <83695B80-8CD5-47DF-97F5-14625B0D24DB at m-r-d.de> Content-Type: text/plain; charset=us-ascii The late Mark Smith (the Bass Player) had written a library. http://marksmith.on-rev.com/revstuff/files/libID3.zip Here's an overview of his rev stacks: http://marksmith.on-rev.com/revstuff/ - Matthias Rebbe Life Is Too Short For Boring Code > Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode : > > Has anybody written a library for this? Looking to write ID3 tags for mp3 > files including the addition to mp3 artwork. > > Thoughts? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Message: 15 Date: Tue, 24 Nov 2020 17:01:16 +0100 From: matthias_livecode_150811 at m-r-d.de To: How to use LiveCode Subject: Re: Mac standalone install in menu bar Message-ID: <802B12E4-EBF5-4DA6-859D-B0F656628DEB at m-r-d.de> Content-Type: text/plain; charset=us-ascii On Mac there is the Mac Status Menu library available in LC9.6 and lower. Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 24.11.2020 um 15:24 schrieb Ben Rubinstein via use-livecode : > > Is it possible to create an using LC that once launched installs itself in the menu bar? > > 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 ------------------------------ Message: 16 Date: Tue, 24 Nov 2020 17:09:03 +0100 From: matthias_livecode_150811 at m-r-d.de To: How to use LiveCode Subject: Re: MP3 ID3 tag writer Message-ID: <14159C24-3124-4CDF-838E-25DE880245A8 at m-r-d.de> Content-Type: text/plain; charset=us-ascii I just noticed, that the files are not available anymore. I've uploaded a zip archive of those files here https://dl.qck.nu/?dl=MarkSmith.zip - Matthias Rebbe Life Is Too Short For Boring Code > Am 24.11.2020 um 16:59 schrieb matthias rebbe via use-livecode : > > The late Mark Smith (the Bass Player) had written a library. > > http://marksmith.on-rev.com/revstuff/files/libID3.zip > > Here's an overview of his rev stacks: > > http://marksmith.on-rev.com/revstuff/ > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode : >> >> Has anybody written a library for this? Looking to write ID3 tags for mp3 >> files including the addition to mp3 artwork. >> >> Thoughts? >> >> SKIP >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Message: 17 Date: Tue, 24 Nov 2020 16:54:11 +0000 From: Bob Sneidar To: How to use LiveCode Subject: Re: Strange bug Message-ID: Content-Type: text/plain; charset="utf-8" I will attest to the fact that strange things happen with drag drop and not just with Livecode. For instance if I drag a PDF to a mounted share, often, but not every time, Mail becomes unresponsive and I have to quit it and relaunch it. Also when drag dropping files from the Finder onto a Livecode object I get the ?snap back? visual, and then the next drag drop operation will not work until I click the title bar of the LC window I am dragging to, or else move the window in some way. Bob S > On Nov 24, 2020, at 4:32 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > FYI: I found a very strange and serious bug, if you have a minute, please take a look: > > A real showstopper in my opinion! > > With an example stack (in my dropbox, my browser does not allow me to select > a file as attachment!?). Shows the problem clearly on a Mac. > May probably work correctly on Windows, maybe not. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Subject: Digest Footer _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ End of use-livecode Digest, Vol 206, Issue 28 ********************************************* From heather at livecode.com Tue Dec 8 07:12:48 2020 From: heather at livecode.com (Heather Laine) Date: Tue, 8 Dec 2020 12:12:48 +0000 Subject: ben testing access In-Reply-To: References: Message-ID: <0BD02910-E8DF-40E7-B04B-4873CF8B0175@livecode.com> Just testing Ben's access to list, nothing to see here. Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 8 Dec 2020, at 12:09, Ben Helder via use-livecode wrote: > > Hey there > > > Stay Safe! > > > Met vriendelijke groeten / Best regards, > Ben J. Helder > Technisch Dir. > AddAll IT Services > rendementsweg 24-F, > 3641SL, Mijdrecht, The Netherlands > T. +31 85 273 69 06 > T. +31 6 47912204 > E. ben at addall.nl > I. www.addall.nl > DISCLAIMER > The information in this e-mail message is privileged and confidential and is only intended for the addressee. If you received this e-mail in error, you are hereby notified that any disclosure, reproduction, distribution or use of this message and any attachments is strictly prohibited. Please notify the sender immediately and delete the e-mail without copying or disclosing its contents to any other person. No legal consequences can be derived from the contents of this e-mail. Neither the sender nor AddAll IT Services (or any of its related companies) accept liability for any damage resulting from the use and/or acceptance of the content of this e-mail message. > Please consider the environment before printing this message. > From ahsoftware at sonic.net Tue Dec 8 11:17:23 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 8 Dec 2020 08:17:23 -0800 Subject: Can LC read QR-Code? In-Reply-To: References: <05E62174-6275-4BF2-9C04-C78F6522D503@major-k.de> Message-ID: <849ceeb3-410a-8c85-3f6a-d67fc335a721@sonic.net> On 12/7/20 6:07 PM, Richard Gaskin via use-livecode wrote: > Where is LC's QR code plugin documented? > > I have Indy, but LiveCode has no functioning browser widget for Linux, > and so it has no Dictionary; instead it opens the Dictionary from the > public site, which apparently only documents things in the Community > Edition. > If you use Bernd Niggeman's tinyDictionary plugin you'll have access to the documentation on linux, and in a much more usable and readable form. Hint: you can set 4Wdevolution's 'Dictionary' button to address it, and then you don't have to deal with the browser version any more. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Dec 8 14:08:14 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 8 Dec 2020 11:08:14 -0800 Subject: Can LC read QR-Code? In-Reply-To: <849ceeb3-410a-8c85-3f6a-d67fc335a721@sonic.net> References: <849ceeb3-410a-8c85-3f6a-d67fc335a721@sonic.net> Message-ID: <58705fea-d25c-ec96-1e61-31fe02673371@fourthworld.com> Mark Weider wrote: > On 12/7/20 6:07 PM, Richard Gaskin via use-livecode wrote: > >> Where is LC's QR code plugin documented? >> >> I have Indy, but LiveCode has no functioning browser widget for Linux, >> and so it has no Dictionary; instead it opens the Dictionary from the >> public site, which apparently only documents things in the Community >> Edition. >> > > If you use Bernd Niggeman's tinyDictionary plugin you'll have access to > the documentation on linux, and in a much more usable and readable form. Thanks. I'm familiar with tindyDictionary and admire Bernd's work, but had hoped there would be documentation available on the web. I can download tinyDictionary, or just look at my Mac, so if the only documentation for the QR code reader is in the not-online-Dictionary at least I know where to go. As for separate matter of the IDE-provided Dictionary, that it's broken in the Linux edition is the smaller problem, the bigger being that the reason there's no Dictionary is that there's no working browser widget. I understand that there are legitimate challenges with that. But I find it difficult to believe that it's technically impossible to embed a browser instance in another app on Linux. I don't mind admitting that I speak naively on that; I can't recall offhand seeing another native Linux app that embeds a browser. But given the increasing role of the browser widget as a solution in LC, if it's not going to be supported then at a minimum marking it and all things dependent on it (like the AOuth lib) as deprecated would at least provide clarity about what LC does and doesn't provide. I guess one upside is that the combination of the browser's ever-increasing importance and not having that available in LC (along with audio and video playback and others), has prompted me to reconsider the role of the desktop and devote more time to exclusively-web deployments, the market for which is far from slowing down. > Hint: you can set 4Wdevolution's 'Dictionary' button to address it, and > then you don't have to deal with the browser version any more. Thanks for the plug. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tom at makeshyft.com Tue Dec 8 16:54:51 2020 From: tom at makeshyft.com (Tom Glod) Date: Tue, 8 Dec 2020 16:54:51 -0500 Subject: Will Browser widget ever work on Linux? Message-ID: Hi folks, I need to know whether there are any plans of making the CEF browser work correctly on Linux? I vaguely remember a conversation about it and it seeming like there is very little hope of that. Can anyone confirm? Thanks, Tom From ahsoftware at sonic.net Tue Dec 8 18:12:30 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 8 Dec 2020 15:12:30 -0800 Subject: Will Browser widget ever work on Linux? In-Reply-To: References: Message-ID: <96c1d3c5-d130-9866-f2cd-4c1922314a73@sonic.net> On 12/8/20 1:54 PM, Tom Glod via use-livecode wrote: > Hi folks, > > I need to know whether there are any plans of making the CEF browser work > correctly on Linux? > I vaguely remember a conversation about it and it seeming like there is > very little hope of that. > Can anyone confirm? Um. It's complicated. LiveCode currently uses CEF build 74.1.19 (04 June 2019). The latest is build 87.1.12 (07 December 2020). LC also has dropped using the CEF on Windows because reasons. The current maintainer of the CEF is Spotify. I don't know who else might be using the framework to provide an embedded browser. https://cef-builds.spotifycdn.com/index.html#linux64 Although there looks like a good Go library available. https://github.com/richardwilkes/cef The problem isn't with CEF itself - I can compile and run the CEF sample apps with no problem, but rather with the way it's integrated into the LiveCode engine. And I don't know whether there's still a CEF in LC's browser future or whether it will go the way of the Windows browser. I haven't seen any github notifications of any work being done on the LiveCode browser on any platform lately. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Dec 8 18:20:08 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 8 Dec 2020 15:20:08 -0800 Subject: Can LC read QR-Code? In-Reply-To: <58705fea-d25c-ec96-1e61-31fe02673371@fourthworld.com> References: <849ceeb3-410a-8c85-3f6a-d67fc335a721@sonic.net> <58705fea-d25c-ec96-1e61-31fe02673371@fourthworld.com> Message-ID: On 12/8/20 11:08 AM, Richard Gaskin via use-livecode wrote: > Thanks. I'm familiar with tindyDictionary and admire Bernd's work, but > had hoped there would be documentation available on the web. I can > download tinyDictionary, or just look at my Mac, so if the only > documentation for the QR code reader is in the not-online-Dictionary at > least I know where to go. > > > As for separate matter of the IDE-provided Dictionary, that it's broken > in the Linux edition is the smaller problem, the bigger being that the > reason there's no Dictionary is that there's no working browser widget. I find Bernd's plugin much preferable to the browser-based dictionary. But YMMV, of course. But eh? If I click on the Dictionary link in the IDE toolbar in the Indy version I get my local dictionary: file:///home/mwieder/.runrev/documentationcache/9_6_1_commercial/api.html and from there searching for "qr" brings up the correct entries. Are you seeing something different? -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Dec 8 19:31:43 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 8 Dec 2020 16:31:43 -0800 Subject: Will Browser widget ever work on Linux? In-Reply-To: <96c1d3c5-d130-9866-f2cd-4c1922314a73@sonic.net> References: <96c1d3c5-d130-9866-f2cd-4c1922314a73@sonic.net> Message-ID: On 12/8/20 3:12 PM, Mark Wieder via use-livecode wrote: > LC also has dropped using the CEF on Windows because reasons. Oops. Have to correct myself here. It's actually OSX where CEF usage was dropped, not Windows. More gory details here -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Dec 8 22:15:46 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 8 Dec 2020 19:15:46 -0800 Subject: Can LC read QR-Code? In-Reply-To: References: Message-ID: <3ba6bd1c-9e92-5e18-b549-a78c7700d780@fourthworld.com> Mark Wieder wrote: > But eh? If I click on the Dictionary link in the IDE toolbar in the > Indy version I get my local dictionary: > > file:///home/mwieder/.runrev/documentationcache/9_6_1_commercial > /api.html > > and from there searching for "qr" brings up the correct entries. > Are you seeing something different? Only because of my environment customization. But what remains are: - Where is the documentation for QR *decoding* for both iOS and Android? - If this adds value to the product, why hide it from the public? - The Dictionary appears in my browser, not in a LiveCode window, so it appears the browser widget is still as dead as audio and video playback in LiveCode's Linux edition. I have no deep affection for CEF. How is this done without CEF on other platforms? Does neither Firefox nor Chrome offer an embedded option? Do you know offhand what Ubuntu was using when they were using an embedded browser a couple years ago for their dockable web apps? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Wed Dec 9 00:10:34 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 8 Dec 2020 21:10:34 -0800 Subject: Can LC read QR-Code? In-Reply-To: <3ba6bd1c-9e92-5e18-b549-a78c7700d780@fourthworld.com> References: <3ba6bd1c-9e92-5e18-b549-a78c7700d780@fourthworld.com> Message-ID: <78bfaf63-1682-3548-ab0a-0a7e7aabf71f@sonic.net> On 12/8/20 7:15 PM, Richard Gaskin via use-livecode wrote: > - Where is the documentation for QR *decoding* for both iOS and Android? Ah. The QR library is for *generating* QR codes, not for reading them. > - The Dictionary appears in my browser, not in a LiveCode window, > so it appears the browser widget is still as dead as audio and > video playback in LiveCode's Linux edition. FWIW I can control wither mplayer or SMPlayer from LC on linux *as long as they're in separate windows*. Or I can play videos in the entire stack frame. Just not within a player rect. > > > I have no deep affection for CEF. How is this done without CEF on other platforms? Does neither Firefox nor Chrome offer an embedded option? Can't speak for Firefox... maybe Andre will chime in on this. But CEF is spawned from the Chrome codebase, so that's the option. The "problem" as I understand it, is that you're supposed to embed your application within the framework, and we're embedding the framework inside the LC engine. Somehow it works on Windows. > > Do you know offhand what Ubuntu was using when they were using an embedded browser a couple years ago for their dockable web apps? > Hey - *you're* the ubuntu expert here. Don't know these things. AFAIK web apps are just browser launcher shortcuts. https://www.maketecheasier.com/turn-website-to-app-linux/ -- Mark Wieder ahsoftware at gmail.com From livfoss at mac.com Wed Dec 9 07:56:11 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 9 Dec 2020 12:56:11 +0000 Subject: Anyone using Lottie animations? Message-ID: I came across these recently, apparently JSON-based and cross-platform including mobiles. Could be useful, but I wonder how hard it would be to use them for an LC iOS app - the examples I?ve seen to things with Xcode and Swift which are out of my star. Does anyone know? https://lottiefiles.com/what-is-lottie Graham From brian at milby7.com Wed Dec 9 10:25:15 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 9 Dec 2020 10:25:15 -0500 Subject: Anyone using Lottie animations? In-Reply-To: References: Message-ID: <3CD36495-17B0-47CA-9BB4-4676C9FC5CF9@milby7.com> Looks like Skia has support for rendering the format. That could provide a path for implementation inside of LC, but someone that knows a bit more about it would need to take a look to confirm. Sent from my iPhone > On Dec 9, 2020, at 7:57 AM, Graham Samuel via use-livecode wrote: > > ?I came across these recently, apparently JSON-based and cross-platform including mobiles. Could be useful, but I wonder how hard it would be to use them for an LC iOS app - the examples I?ve seen to things with Xcode and Swift which are out of my star. > > Does anyone know? > > https://lottiefiles.com/what-is-lottie > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Wed Dec 9 11:40:31 2020 From: curry at pair.com (Curry Kenworthy) Date: Wed, 9 Dec 2020 11:40:31 -0500 Subject: Will Browser widget ever work on Linux? In-Reply-To: References: Message-ID: <13e6363a-1c11-dbc8-ccf8-552199b513ed@pair.com> Mark: > It's actually OSX where CEF usage was > dropped, not Windows. Yep, it actually feels great to be a Windows-first LiveCoder. Ironically, things "just work." In fact I'm doing a Windows app right now, using - guess what - the Browser widget. Works a treat. It's hard to overstate how important embedded Browser support is. Along with, of course, the field object, which can do much more than most people realize. (The cliques and promoters/repeaters in this LC community always breathlessly push certain resources, at the expense of awareness about others.) Like the field, embedded Browser is a way to deliver and display so many different kinds of content that it should be considered a foundational part of LC. Can't afford to let it slip. And the Browser needs to work fairly seamlessly cross-platform, to a reasonable extent. That's why we're all here, right? About Windows: Once upon a time I was a big Mac guy and Mac-first shareware author. I was all about Mac...until Apple made some dumb and hypocritical UI decisions, contradicting their own doctrine repeatedly and destructively. They took a crowbar to the beloved Mac OS and made it much less convenient and satisfying to use. I never jumped ship onto the Linux rowboat. Nice to have that platform - and by all means it should be supported. I'm still an enthusiastic Mac-second developer, and I welcome Linux work on occasion, but I adopted Windows as my primary OS since their UI had some advantages. To this day I'm very happy to be firmly cross-platform and proudly Windows-first. Now that I have an SSD, the LC script editor troubles are a thing of the past too. LC simply made the mistake of designing broadly-used software on high-end hardware, so it wasn't a great design, especially for the masses. (Strange because that's usually a beginner's mistake.) Remember how the newly open-source LC was going to open up the world of coding to the third-world masses? Nope, not gonna happen, not with that kind of disk usage! I always design on budget hardware, so that at least the middle class can use the end product too. But now SSD has become the standard for new budget hardware, so very soon that will be moot - once again LC runs just fine with modern antivirus and Windows 10. (Talking about a real Windows computer - hi Richmond - and not a partition or virtualized system. Real PC, real Mac is the way to go.) So for users stuck on "the dark side" of Mac or Linux - the grass really is greener over here at the moment. Fingers crossed. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Wed Dec 9 12:14:37 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 9 Dec 2020 09:14:37 -0800 Subject: Will Browser widget ever work on Linux? In-Reply-To: <13e6363a-1c11-dbc8-ccf8-552199b513ed@pair.com> References: <13e6363a-1c11-dbc8-ccf8-552199b513ed@pair.com> Message-ID: On 12/9/20 8:40 AM, Curry Kenworthy via use-livecode wrote: > Yep, it actually feels great to be a Windows-first LiveCoder. I'm not gonna get sucked into religious wars here... > Like the field, embedded Browser is a way to > deliver and display so many different kinds of content that it should be > considered a foundational part of LC. Can't afford to let it slip. Yep. So... browser support on linux? > Now that I have an SSD, the LC script editor troubles are a thing of the > past too. LC simply made the mistake of designing broadly-used software > on high-end hardware, so it wasn't a great design, especially for the > masses. (Strange because that's usually a beginner's mistake.) When I worked at Apple I was always the guy who wanted to use the older hardware while everyone else was jumping for the latest models because I was dead set on finding compatibility bugs. My favorite discovery was uncovering a bug in the MPW C compiler because it had only previously been tested on the latest shiny new hardware. -- Mark Wieder ahsoftware at gmail.com From harrison at all-auctions.com Wed Dec 9 12:32:56 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 9 Dec 2020 12:32:56 -0500 Subject: Anyone using Lottie animations? In-Reply-To: References: Message-ID: Hi Graham, There is a company that will allow you to easily make such animations - anyone can do it - no artists needed. https://www.videoscribe.co/en The idea here is that you can make a video animation with their software and then display/use the video inside of LC. They have a free 7 day trial too. I hope that helps. Rick > On Dec 9, 2020, at 7:56 AM, Graham Samuel via use-livecode wrote: > > I came across these recently, apparently JSON-based and cross-platform including mobiles. Could be useful, but I wonder how hard it would be to use them for an LC iOS app - the examples I?ve seen to things with Xcode and Swift which are out of my star. > > Does anyone know? > > https://lottiefiles.com/what-is-lottie > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Wed Dec 9 20:32:05 2020 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 9 Dec 2020 17:32:05 -0800 Subject: return "error" code from standalone compile Message-ID: <12b901d6ce94$45310350$cf9309f0$@telus.net> On the completion of a stack, can the compiled executable return an error code like the old DOS ErrorLevel value(s)? If so, how do you specify the error code? in the on closeStack call? Douglas Ruisaard Trilogy Software From ahsoftware at sonic.net Wed Dec 9 20:46:12 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 9 Dec 2020 17:46:12 -0800 Subject: return "error" code from standalone compile In-Reply-To: <12b901d6ce94$45310350$cf9309f0$@telus.net> References: <12b901d6ce94$45310350$cf9309f0$@telus.net> Message-ID: On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote: > On the completion of a stack, can the compiled executable return an error > code like the old DOS ErrorLevel value(s)? If so, how do you specify the > error code? in the on closeStack call? See the quit command in the dictionary. quit 42 -- Mark Wieder ahsoftware at gmail.com From dougr at telus.net Wed Dec 9 20:53:50 2020 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 9 Dec 2020 17:53:50 -0800 Subject: return "error" code from standalone compile In-Reply-To: References: <12b901d6ce94$45310350$cf9309f0$@telus.net> Message-ID: <12bd01d6ce97$4f5396b0$edfac410$@telus.net> Beauties! .. thanks! ... should have remembered that! Douglas Ruisaard -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Wednesday, December 9, 2020 5:46 PM To: Douglas A. Ruisaard via use-livecode Cc: Mark Wieder Subject: Re: return "error" code from standalone compile On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote: > On the completion of a stack, can the compiled executable return an error > code like the old DOS ErrorLevel value(s)? If so, how do you specify the > error code? in the on closeStack call? See the quit command in the dictionary. quit 42 -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Dec 9 21:04:25 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 9 Dec 2020 18:04:25 -0800 Subject: return "error" code from standalone compile In-Reply-To: <12bd01d6ce97$4f5396b0$edfac410$@telus.net> References: <12b901d6ce94$45310350$cf9309f0$@telus.net> <12bd01d6ce97$4f5396b0$edfac410$@telus.net> Message-ID: <1c2c9115-a390-f7a3-f0e0-982bb84ee6ed@sonic.net> On 12/9/20 5:53 PM, Douglas A. Ruisaard wrote: > Beauties! .. thanks! ... should have remembered that! Cool. And where you put it depends on your application. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Dec 9 23:51:00 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Dec 2020 22:51:00 -0600 Subject: return "error" code from standalone compile In-Reply-To: References: <12b901d6ce94$45310350$cf9309f0$@telus.net> Message-ID: <1764afcf320.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I don't know much about this but it looks interesting. Is there a list of exit codes somewhere? When the OS receives the exit code, what happens? I.e., how would I use it? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 9, 2020 7:48:10 PM Mark Wieder via use-livecode wrote: > On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote: >> On the completion of a stack, can the compiled executable return an error >> code like the old DOS ErrorLevel value(s)? If so, how do you specify the >> error code? in the on closeStack call? > > See the quit command in the dictionary. > > quit 42 > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Dec 10 03:25:46 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 10 Dec 2020 09:25:46 +0100 Subject: return "error" code from standalone compile In-Reply-To: <1764afcf320.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <12b901d6ce94$45310350$cf9309f0$@telus.net> <1764afcf320.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Every application can have its own exit codes, but 0 should always be used for success and 1 for error. Although there are exceptions. The Dos Find command for example returns 1 when the search was successfull but nothing was found. You could use exit codes for example in batch files. The batch file runs a program and according to the exit code of that program the batch file executes the next command or application or what ever. The OS is not interested in the exit codes. ;) But maybe the batch file or program that executed the other app. I am using this feature for example in some of my LC app where i execute a 3rd party command line tool using shell(). 'The result' then contains the exit code. Important: If the exit code is 0 then 'the result' is empty. Here are some links with some more information Windows http://www.chebucto.ns.ca/~ak621/DOS/ExitCode.html Linux https://shapeshed.com/unix-exit-codes/ macOS https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/sysexits.3.html Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 10.12.2020 um 05:51 schrieb J. Landman Gay via use-livecode : > > I don't know much about this but it looks interesting. Is there a list of exit codes somewhere? When the OS receives the exit code, what happens? I.e., how would I use it? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 9, 2020 7:48:10 PM Mark Wieder via use-livecode wrote: > >> On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote: >>> On the completion of a stack, can the compiled executable return an error >>> code like the old DOS ErrorLevel value(s)? If so, how do you specify the >>> error code? in the on closeStack call? >> >> See the quit command in the dictionary. >> >> quit 42 >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Thu Dec 10 04:14:25 2020 From: theaford at btinternet.com (Terence Heaford) Date: Thu, 10 Dec 2020 09:14:25 +0000 Subject: Printing a com.livecode.widget.browser Message-ID: Clearly you can?t print a card that contains a browser widget as livecode is unable to do this. I don?t understand why because Safari can and I believe they are both based on webkit. Anyway I have come up with a semi acceptable workflow that involves. 1. Exporting a screenshot of the screen with the widget into a variable. 2. Pasting via script into a LC image object. 3. Then print the portion of the card containing the image. The problem is this. I have both the image and widget on the same card and hide the widget when I want to print the image and vice versa when going back to the widget. There is a noticeable flash when hiding and showing the objects. I am looking for ideas as to how I can minimise this flash or camouflage it for the user. Thanks Terry From williamdesmet at gmail.com Thu Dec 10 04:31:37 2020 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 10 Dec 2020 10:31:37 +0100 Subject: Printing a com.livecode.widget.browser In-Reply-To: References: Message-ID: Hi Terry, Can you use lockscreen? Greetings William Op do 10 dec. 2020 om 10:15 schreef Terence Heaford via use-livecode < use-livecode at lists.runrev.com>: > Clearly you can?t print a card that contains a browser widget as livecode > is unable to do this. > > I don?t understand why because Safari can and I believe they are both > based on webkit. > > Anyway I have come up with a semi acceptable workflow that involves. > > 1. Exporting a screenshot of the screen with the widget into a variable. > > 2. Pasting via script into a LC image object. > > 3. Then print the portion of the card containing the image. > > The problem is this. > > I have both the image and widget on the same card and hide the widget when > I want to print the image and vice versa when going back to the widget. > > There is a noticeable flash when hiding and showing the objects. > > I am looking for ideas as to how I can minimise this flash or camouflage > it for the user. > > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown.pacifier at icloud.com Thu Dec 10 07:02:44 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Thu, 10 Dec 2020 04:02:44 -0800 Subject: return "error" code from standalone compile In-Reply-To: <1764afcf320.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1764afcf320.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <3CFCFCCC-7E2A-4664-AA3E-E66F77855EC0@icloud.com> Since Livecode is written in C++ here is some info about using return in C. Every C program has a function named main. At the end of the function the programmer usually writes a return 0; That tells the c program the code has completed and is exiting with a 0 value which confirms it has successfully executed the code and is quitting. At any point above that line the programmer can write a return call but they will usually use a 1 on another value. The program will exit the code at that point and it does not matter what value is entered after the return but 1 usually means the code failed and any other value but 0 means anything you want it to mean. JB > On Dec 9, 2020, at 8:52 PM, J. Landman Gay via use-livecode wrote: > > ?I don't know much about this but it looks interesting. Is there a list of exit codes somewhere? When the OS receives the exit code, what happens? I.e., how would I use it? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On December 9, 2020 7:48:10 PM Mark Wieder via use-livecode wrote: >> >>> On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote: >>> On the completion of a stack, can the compiled executable return an error >>> code like the old DOS ErrorLevel value(s)? If so, how do you specify the >>> error code? in the on closeStack call? >> >> See the quit command in the dictionary. >> >> quit 42 >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Dec 10 08:55:34 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 10 Dec 2020 14:55:34 +0100 Subject: export snapshot woverwrites variable? Message-ID: <8149A3EC-96DC-4BB9-9896-C33C608883F9@major-k.de> Hi friends, just found a very strange thing... I have this script: ... put dasObjekt() into tObject ## returns in this special case -> image "Bild_1" flip tObject horizontal # Overwrite image data export snapshot from rect(the rect of tObject) of tObject to tObject as PNG ## But now, LC gives an error indication that tObject now contains the DATA of the new PNG ## Hint: ?PNG... ## And yes, the palette in the debugger shows the complete PNG binary data instead of -> image "Bild_1" ## as the content of tObject ## Doing this again fixes the inconvenience and I can continue: put dasObjekt() into tObject ... Funky, funky!? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From brian at milby7.com Thu Dec 10 09:08:21 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 10 Dec 2020 09:08:21 -0500 Subject: export snapshot woverwrites variable? In-Reply-To: <8149A3EC-96DC-4BB9-9896-C33C608883F9@major-k.de> References: <8149A3EC-96DC-4BB9-9896-C33C608883F9@major-k.de> Message-ID: <51F93FF8-D831-4DAE-A459-09722A9913E8@milby7.com> What about using (tObject)? Since tObject is a container itself, the export put the data in the container directly instead of the referenced container? Sent from my iPhone > On Dec 10, 2020, at 8:56 AM, Klaus major-k via use-livecode wrote: > > ?Hi friends, > > just found a very strange thing... > I have this script: > ... > put dasObjekt() into tObject > ## returns in this special case -> image "Bild_1" > > flip tObject horizontal > # Overwrite image data > export snapshot from rect(the rect of tObject) of tObject to tObject as PNG > > ## But now, LC gives an error indication that tObject now contains the DATA of the new PNG > ## Hint: ?PNG... > ## And yes, the palette in the debugger shows the complete PNG binary data instead of -> image "Bild_1" > ## as the content of tObject > > ## Doing this again fixes the inconvenience and I can continue: > put dasObjekt() into tObject > ... > > Funky, funky!? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Dec 10 09:13:34 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 10 Dec 2020 15:13:34 +0100 Subject: export snapshot woverwrites variable? In-Reply-To: <51F93FF8-D831-4DAE-A459-09722A9913E8@milby7.com> References: <8149A3EC-96DC-4BB9-9896-C33C608883F9@major-k.de> <51F93FF8-D831-4DAE-A459-09722A9913E8@milby7.com> Message-ID: Hi Brian, > Am 10.12.2020 um 15:08 schrieb Brian Milby via use-livecode : > > What about using (tObject)? sorry, no capisce? > Since tObject is a container itself, the export put the data in the container directly instead of the referenced container? Hm, I thought you were working at Livecode and could answer this? :-D But yes, obvioulsy, question is: desired/correct behviour? Should I use DO somehow here? > Sent from my iPhone > >> On Dec 10, 2020, at 8:56 AM, Klaus major-k via use-livecode wrote: >> >> ?Hi friends, >> >> just found a very strange thing... >> I have this script: >> ... >> put dasObjekt() into tObject >> ## returns in this special case -> image "Bild_1" >> >> flip tObject horizontal >> # Overwrite image data >> export snapshot from rect(the rect of tObject) of tObject to tObject as PNG >> >> ## But now, LC gives an error indication that tObject now contains the DATA of the new PNG >> ## Hint: ?PNG... >> ## And yes, the palette in the debugger shows the complete PNG binary data instead of -> image "Bild_1" >> ## as the content of tObject >> >> ## Doing this again fixes the inconvenience and I can continue: >> put dasObjekt() into tObject >> ... >> >> Funky, funky!? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Thu Dec 10 09:18:40 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 10 Dec 2020 15:18:40 +0100 Subject: export snapshot woverwrites variable? In-Reply-To: <51F93FF8-D831-4DAE-A459-09722A9913E8@milby7.com> References: <8149A3EC-96DC-4BB9-9896-C33C608883F9@major-k.de> <51F93FF8-D831-4DAE-A459-09722A9913E8@milby7.com> Message-ID: <702FF4EF-00D5-4ADD-8F91-55F56E83435C@major-k.de> Hi all, > Am 10.12.2020 um 15:08 schrieb Brian Milby via use-livecode : > > What about using (tObject)? Since tObject is a container itself, the export put the data in the container directly instead of the referenced container? > Sent from my iPhone >> On Dec 10, 2020, at 8:56 AM, Klaus major-k via use-livecode wrote: >> ?Hi friends, >> just found a very strange thing... >> I have this script: >> ... >> put dasObjekt() into tObject >> ## returns in this special case -> image "Bild_1" >> flip tObject horizontal >> # Overwrite image data >> export snapshot from rect(the rect of tObject) of tObject to tObject as PNG >> ## But now, LC gives an error indication that tObject now contains the DATA of the new PNG >> ## Hint: ?PNG... >> ## And yes, the palette in the debugger shows the complete PNG binary data instead of -> image "Bild_1" >> ## as the content of tObject >> ## Doing this again fixes the inconvenience and I can continue: >> put dasObjekt() into tObject >> ... I finally solved it with resolving the actual NAME of the image: ... ## Yes, we have a function for everything! :-) put dasObjekt2() into tObject ## -> Bild_1 ... export snapshot from rect(the rect of img tName) of img tName to img tName as PNG ... Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From mark at livecode.com Thu Dec 10 09:25:58 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 10 Dec 2020 14:25:58 +0000 Subject: export snapshot woverwrites variable? In-Reply-To: <8149A3EC-96DC-4BB9-9896-C33C608883F9@major-k.de> References: <8149A3EC-96DC-4BB9-9896-C33C608883F9@major-k.de> Message-ID: <6b9cd3b11b6b3ba1bfa1aaa65a5ca1b8@livecode.com> On 2020-12-10 13:55, Klaus major-k via use-livecode wrote: > Hi friends, > > ## Doing this again fixes the inconvenience and I can continue: > put dasObjekt() into tObject > ... > > Funky, funky!? Nope - not funky. Container syntax can be either a variable (with array indices or without), or an object chunk which has a notion of 'text' (i.e. button, field, image). If it is a variable then the variable gets modified. If it is an object chunk then the text of the object gets changed. Variables are only treated as (potential) object chunks when being evaluated as a source, and only then if the thing operating on them expects an object. e.g. the blendLevel of tObject (property syntax only makes sense when targetting an object chunk, so the contents of tObject are parsed as a control chunk). Indeed, if this wasn't the case then you wouldn't ever be able to change tObject in the following script: local tObject put the long id of field 1 into tObject -- If variable containers (targets) resolved as objects first: put "foo" into tObject -- this would set the text of the field to "foo" Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From klaus at major-k.de Thu Dec 10 09:29:16 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 10 Dec 2020 15:29:16 +0100 Subject: export snapshot woverwrites variable? In-Reply-To: <6b9cd3b11b6b3ba1bfa1aaa65a5ca1b8@livecode.com> References: <8149A3EC-96DC-4BB9-9896-C33C608883F9@major-k.de> <6b9cd3b11b6b3ba1bfa1aaa65a5ca1b8@livecode.com> Message-ID: Hi Mark, > Am 10.12.2020 um 15:25 schrieb Mark Waddingham via use-livecode : > > On 2020-12-10 13:55, Klaus major-k via use-livecode wrote: >> Hi friends, >> ## Doing this again fixes the inconvenience and I can continue: >> put dasObjekt() into tObject >> ... >> Funky, funky!? > Nope - not funky. a littel bit? 8-) > Container syntax can be either a variable (with array indices or without), or an object chunk which has a notion of 'text' (i.e. button, field, image). > If it is a variable then the variable gets modified. > If it is an object chunk then the text of the object gets changed. > Variables are only treated as (potential) object chunks when being evaluated as a source, and only then if the thing operating on them expects an object. e.g. the blendLevel of tObject (property syntax only makes sense when targetting an object chunk, so the contents of tObject are parsed as a control chunk). > Indeed, if this wasn't the case then you wouldn't ever be able to change tObject in the following script: > local tObject > put the long id of field 1 into tObject > -- If variable containers (targets) resolved as objects first: > put "foo" into tObject -- this would set the text of the field to "foo" > > Warmest Regards, > > Mark. thank you for this explanation, wil take this into account the next time! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From dougr at telus.net Thu Dec 10 12:51:32 2020 From: dougr at telus.net (Douglas A. Ruisaard) Date: Thu, 10 Dec 2020 09:51:32 -0800 Subject: return "error" code from standalone compile In-Reply-To: <3CFCFCCC-7E2A-4664-AA3E-E66F77855EC0@icloud.com> References: <1764afcf320.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <3CFCFCCC-7E2A-4664-AA3E-E66F77855EC0@icloud.com> Message-ID: <141301d6cf1d$19303800$4b90a800$@telus.net> I use AUTOHOTKEY... as a fast, dirty way to "get stuff done" when I'm either too lazy or too rushed to do a "quality" job with Livecode. It has a command called "Run" & "Runwait" ... which returns the calling program's (Livecode executable, in this case) return code into a predefined variable called "ErrorLevel" (how original!). So a line in a AUTOHOTKEY script for this would look like: cmd = c:\livecode\SomeLiveCode.exe RunWait, %cmd%,,UseErrorLevel exitcode := ErrorLevel if (exitcode > 1) Autohotkey takes some getting used to but I think it's a handy addition to development projects.. since AHK scripts can be compiled into executables, themselves. My 4.5 cents Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of John Balgenorth via use-livecode Sent: Thursday, December 10, 2020 4:03 AM To: How to use LiveCode Cc: John Balgenorth Subject: Re: return "error" code from standalone compile Since Livecode is written in C++ here is some info about using return in C. Every C program has a function named main. At the end of the function the programmer usually writes a return 0; That tells the c program the code has completed and is exiting with a 0 value which confirms it has successfully executed the code and is quitting. At any point above that line the programmer can write a return call but they will usually use a 1 on another value. The program will exit the code at that point and it does not matter what value is entered after the return but 1 usually means the code failed and any other value but 0 means anything you want it to mean. JB > On Dec 9, 2020, at 8:52 PM, J. Landman Gay via use-livecode wrote: > > ?I don't know much about this but it looks interesting. Is there a list of exit codes somewhere? When the OS receives the exit code, what happens? I.e., how would I use it? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On December 9, 2020 7:48:10 PM Mark Wieder via use-livecode wrote: >> >>> On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote: >>> On the completion of a stack, can the compiled executable return an error >>> code like the old DOS ErrorLevel value(s)? If so, how do you specify the >>> error code? in the on closeStack call? >> >> See the quit command in the dictionary. >> >> quit 42 >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Dec 10 16:50:03 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 10 Dec 2020 16:50:03 -0500 Subject: Will Browser widget ever work on Linux? In-Reply-To: References: <13e6363a-1c11-dbc8-ccf8-552199b513ed@pair.com> Message-ID: Thanks for all the inputs gentlemen.... I agree on the need for cross platform embedded browser support. Will LC use another embedded browser for the mac? So I guess there are more questions than answers here in terms of a 3 platform solution. I have my first ssd sitting in the box, and once i install it i will try not to take it for granted when judging the "performance" of my work. Cheers, Tom On Wed, Dec 9, 2020 at 12:15 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/9/20 8:40 AM, Curry Kenworthy via use-livecode wrote: > > > Yep, it actually feels great to be a Windows-first LiveCoder. > > I'm not gonna get sucked into religious wars here... > > > Like the field, embedded Browser is a way to > > deliver and display so many different kinds of content that it should be > > considered a foundational part of LC. Can't afford to let it slip. > > Yep. So... browser support on linux? > > > Now that I have an SSD, the LC script editor troubles are a thing of the > > past too. LC simply made the mistake of designing broadly-used software > > on high-end hardware, so it wasn't a great design, especially for the > > masses. (Strange because that's usually a beginner's mistake.) > > When I worked at Apple I was always the guy who wanted to use the older > hardware while everyone else was jumping for the latest models because I > was dead set on finding compatibility bugs. My favorite discovery was > uncovering a bug in the MPW C compiler because it had only previously > been tested on the latest shiny new hardware. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From roland.huettmann at gmail.com Thu Dec 10 17:30:09 2020 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 10 Dec 2020 23:30:09 +0100 Subject: Trying to use the Segmented Control Message-ID: @ Ralf Bitter Dear Ralf, I downloaded your segmented control from: https://github.com/revig/universal-button-widget/releases/tag/1.0.1 and I installed the widget using the Extension Manager in the IDE. It looks very nice. Exactly what allows control and even change the behavior. First time users should know that the custom properties (as described by you) are custom properties of the group "menuBtnGrp". For a first time, two visible switches would probably allow users to just test without having to look under the hood. Since I must build such button groups dynamically (users can add or remove modules which then appear put on the navigation bar that is constiung of such "buttons") I will just need to script this a bit in more detail. I also wrote my own bar using a table field where I mimic the hiliting and hover (mouseover) effect when moving the mouse over lines or using arrow keys (up and down. It looks like a button bar when using an image source for a first character. But it does not work for SVG as far as I know. And it only works for vertical "bars". On the other hand, it is very easy to dynamically create and remove lines. Actually, I track the mousemove and detect the line number and then place a transparent graphic over the selected line. This gives more control than using the built-in hilited property. If someone is interested, I can send... So, thanks a lot to you for providing this, and I am sure I will have fun using it... Roland From brahma at hindu.org Thu Dec 10 22:32:42 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 11 Dec 2020 03:32:42 +0000 Subject: mobileControlDo - player Message-ID: This is ?lean?. ~~"begin seeking forward" only on iOS But Android are we going to use - *time*: The milliseconds from the beginning. To build, by hand, something that will ?play forward/backward? because of the time? So we are going use a Livecode options to make time ? 00:12:20 ----------- 00:2:40. #timing remaining And make it run time active as we play the file? Can we download some site that has mastered that "thing" LC file/library. Some stack BR **Player Specific Actions** - "play": Start playing the content of the player. - "pause": Pause the content at the current position. - "stop": Stop playing the content of the player. - "prepareToPlay" (iOS Only): Make the content ready to play, but don't actually commence playback. - ~~"begin seeking forward" (iOS Only): Start seeking forward through the content of the player.~~ *Note*: removed in LiveCode 9.6 - ~~"begin seeking backward" (iOS Only): Start seeking backward through the content of the player.~~ *Note*: removed in LiveCode 9.6 - ~~"end seeking" (iOS Only): Stop seeking through the content of the player.~~ *Note*: removed in LiveCode 9.6 - "snapshot" | "snapshot exactly", *time*, [ *maxWidth*, *maxHeight* ] (iOS Only): Take a snapshot of the movie at time milliseconds from the beginning. If the 'exactly' form is specified the frame produced is as close as possible to time, otherwise the nearest keyframe is used. The snapshot is made available as a new image object cloned from the templateImage, with data in the format as specified by the lcs,global, lcs,paintCompression, property. Takes the following additional parameters: - *time*: The milliseconds from the beginning. - *maxWidth* (optional): If *maxWidth* and *maxHeight* are specified, the snapshot is scaled to fit within a rectangle of that size but preserving the frame's aspect ratio. - *maxHeight* (optional): If *maxWidth* and *maxHeight* are specified, the snapshot is scaled to fit within a rectangle of that size but preserving the frame's aspect ratio. From rabit at revigniter.com Fri Dec 11 04:57:38 2020 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 11 Dec 2020 10:57:38 +0100 Subject: Trying to use the Segmented Control In-Reply-To: References: Message-ID: <77987bf2-87dd-6303-adcb-1755de2182ba@revigniter.com> Roland thanks, did what you proposed, means I added two check boxes to toggle the properties of the button group. And please don't forget to send me your button bar. Ralf On 10.12.20 23:30, R.H. via use-livecode wrote: > @ Ralf Bitter > > Dear Ralf, I downloaded your segmented control from: > https://github.com/revig/universal-button-widget/releases/tag/1.0.1 > > and I installed the widget using the Extension Manager in the IDE. > > It looks very nice. Exactly what allows control and even change the > behavior. First time users should know that the custom properties (as > described by you) are custom properties of the group "menuBtnGrp". For a > first time, two visible switches would probably allow users to just test > without having to look under the hood. > > Since I must build such button groups dynamically (users can add or remove > modules which then appear put on the navigation bar that is constiung of > such "buttons") I will just need to script this a bit in more detail. > > I also wrote my own bar using a table field where I mimic the hiliting and > hover (mouseover) effect when moving the mouse over lines or using arrow > keys (up and down. It looks like a button bar when using an image source > for a first character. But it does not work for SVG as far as I know. And > it only works for vertical "bars". On the other hand, it is very easy to > dynamically create and remove lines. Actually, I track the mousemove and > detect the line number and then place a transparent graphic over the > selected line. This gives more control than using the built-in hilited > property. If someone is interested, I can send... > > So, thanks a lot to you for providing this, and I am sure I will have fun > using it... > > Roland From kray at sonsothunder.com Fri Dec 11 10:01:03 2020 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 11 Dec 2020 09:01:03 -0600 Subject: return "error" code from standalone compile In-Reply-To: <141301d6cf1d$19303800$4b90a800$@telus.net> References: <1764afcf320.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <3CFCFCCC-7E2A-4664-AA3E-E66F77855EC0@icloud.com> <141301d6cf1d$19303800$4b90a800$@telus.net> Message-ID: Wow... I've been using Livecode since its inception (and Revolution before that, and even MetaCard before *that*!), and I never knew this existed! Just goes to show that there's always something new to learn about our favorite development tool. (I wonder if anyone's put together a "list of things Livecode can do that you probably didn't know about" ?) :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Website: https://www.sonsothunder.com > On Dec 10, 2020, at 11:51 AM, Douglas A. Ruisaard via use-livecode wrote: > > I use AUTOHOTKEY... as a fast, dirty way to "get stuff done" when I'm either too lazy or too rushed to do a "quality" job with Livecode. It has a command called "Run" & "Runwait" ... which returns the calling program's (Livecode executable, in this case) return code into a predefined variable called "ErrorLevel" (how original!). So a line in a AUTOHOTKEY script for this would look like: > > cmd = c:\livecode\SomeLiveCode.exe > RunWait, %cmd%,,UseErrorLevel > exitcode := ErrorLevel > if (exitcode > 1) > > Autohotkey takes some getting used to but I think it's a handy addition to development projects.. since AHK scripts can be compiled into executables, themselves. > > My 4.5 cents > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of John Balgenorth via use-livecode > Sent: Thursday, December 10, 2020 4:03 AM > To: How to use LiveCode > Cc: John Balgenorth > Subject: Re: return "error" code from standalone compile > > Since Livecode is written in C++ here is some > info about using return in C. > > Every C program has a function named main. At the > end of the function the programmer usually writes a > return 0; > > That tells the c program the code has completed > and is exiting with a 0 value which confirms it has > successfully executed the code and is quitting. > > At any point above that line the programmer can write > a return call but they will usually use a 1 on another > value. The program will exit the code at that point and > it does not matter what value is entered after the return > but 1 usually means the code failed and any other value > but 0 means anything you want it to mean. > > JB > > >> On Dec 9, 2020, at 8:52 PM, J. Landman Gay via use-livecode wrote: >> >> ?I don't know much about this but it looks interesting. Is there a list of exit codes somewhere? When the OS receives the exit code, what happens? I.e., how would I use it? >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >>> On December 9, 2020 7:48:10 PM Mark Wieder via use-livecode wrote: >>> >>>> On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote: >>>> On the completion of a stack, can the compiled executable return an error >>>> code like the old DOS ErrorLevel value(s)? If so, how do you specify the >>>> error code? in the on closeStack call? >>> >>> See the quit command in the dictionary. >>> >>> quit 42 >>> >>> -- >>> Mark Wieder >>> ahsoftware at gmail.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Dec 11 13:47:21 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Dec 2020 18:47:21 +0000 Subject: return "error" code from standalone compile In-Reply-To: References: <1764afcf320.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <3CFCFCCC-7E2A-4664-AA3E-E66F77855EC0@icloud.com> <141301d6cf1d$19303800$4b90a800$@telus.net> Message-ID: <79AEC535-8666-4070-8E38-624D6E9EE020@iotecdigital.com> Autohotkey is a windows only macro program. Bob S > On Dec 11, 2020, at 07:01 , Ken Ray via use-livecode wrote: > > Wow... I've been using Livecode since its inception (and Revolution before that, and even MetaCard before *that*!), and I never knew this existed! > > Just goes to show that there's always something new to learn about our favorite development tool. > > (I wonder if anyone's put together a "list of things Livecode can do that you probably didn't know about" ?) > > :D > > > Ken Ray > Sons of Thunder Software, Inc. From ambassador at fourthworld.com Fri Dec 11 13:57:33 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Dec 2020 10:57:33 -0800 Subject: return "error" code from standalone compile In-Reply-To: References: Message-ID: <112a7e08-8975-2f6c-9908-8cfbeab236e1@fourthworld.com> Ken Ray wrote: > Mark Wieder wrote: >> See the quit command in the dictionary. >> >> quit 42 > > > Wow... I've been using Livecode since its inception (and Revolution > before that, and even MetaCard before *that*!), and I never knew this > existed! Me neither. If this optional exit code param was documented earlier, it's not there now. > (I wonder if anyone's put together a "list of things Livecode can do > that you probably didn't know about" ?) I considered it, but then it occurred to me that anything in the list would become public knowledge and thereby no longer qualify for inclusion in such a list. ;) More seriously, I used to maintain a list in a document titled "mode 16", but I can't find it right now so I can't recall how you stumbled across "mode 16" or the other notes there. I'll find it sometime... I just filed a bug report on this missing element: https://quality.livecode.com/show_bug.cgi?id=23028 @ Mark Weider: where did you learn about the quit command supporting an exit code? -- 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 Fri Dec 11 15:56:33 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 11 Dec 2020 12:56:33 -0800 Subject: return "error" code from standalone compile In-Reply-To: <112a7e08-8975-2f6c-9908-8cfbeab236e1@fourthworld.com> References: <112a7e08-8975-2f6c-9908-8cfbeab236e1@fourthworld.com> Message-ID: On 12/11/20 10:57 AM, Richard Gaskin via use-livecode wrote: > @ Mark Weider: where did you learn about the quit command supporting an > exit code? The dictionary entry for "quit" Am I missing something here? -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Dec 11 18:10:26 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 11 Dec 2020 15:10:26 -0800 Subject: return "error" code from standalone compile In-Reply-To: References: <112a7e08-8975-2f6c-9908-8cfbeab236e1@fourthworld.com> Message-ID: <62bd9a57-9cba-328f-ae44-44c9d99a48e1@sonic.net> On 12/11/20 12:56 PM, Mark Wieder via use-livecode wrote: > On 12/11/20 10:57 AM, Richard Gaskin via use-livecode wrote: > >> @ Mark Weider: where did you learn about the quit command supporting >> an exit code? I just always assumed this was part of the canon. > The dictionary entry for "quit" I added a note to your bug report. Why are you looking at the web version of the documentation instead of the local one? ...and again... tinyDictionary does an even better job of putting this dictionary entry into perspective. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Fri Dec 11 18:36:53 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Dec 2020 15:36:53 -0800 Subject: return "error" code from standalone compile In-Reply-To: <62bd9a57-9cba-328f-ae44-44c9d99a48e1@sonic.net> References: <62bd9a57-9cba-328f-ae44-44c9d99a48e1@sonic.net> Message-ID: <8fd3686e-5d64-a8b0-cbb5-ab3605c8c1ac@fourthworld.com> Mark Wieder wrote: > On 12/11/20 10:57 AM, Richard Gaskin via use-livecode wrote: > >>> @ Mark Weider: where did you learn about the quit command supporting >>> an exit code? > > I just always assumed this was part of the canon. Seems reasonable. Dr Raney was a Unix fan. > I added a note to your bug report. Thanks. > Why are you looking at the web version of the documentation instead of > the local one? Habit. I use multiple devices of different types. Not all of them have LC installed. > ...and again... tinyDictionary does an even better job of putting this > dictionary entry into perspective. Thanks, but I'm pretty familiar with the docs options in our community. I even know our community manager pretty well. ;) The bigger problem with these sorts of issues is how the public web site becomes so different from the ones we have installed. I can hunt down good docs. The general public won't know to do that. Moreover, limiting the public-facing Dict to Community-only obviates the upsell opportunity. But beyond the missed opportunity, from time to time it's also just the wrong content. -- 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 Fri Dec 11 20:28:45 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Dec 2020 19:28:45 -0600 Subject: return "error" code from standalone compile In-Reply-To: <8fd3686e-5d64-a8b0-cbb5-ab3605c8c1ac@fourthworld.com> References: <62bd9a57-9cba-328f-ae44-44c9d99a48e1@sonic.net> <8fd3686e-5d64-a8b0-cbb5-ab3605c8c1ac@fourthworld.com> Message-ID: <176549080c8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I use the online dictionaries (LC's and Brian Milby's) when I'm reading the list or the forums, or any other time I'm curious about something, and I'm on my tablet, phone, or Chromebook. None of the online resources are perfect, though Brian's is the most up to date. Often I want to check syntax or copy an example when composing an answer. I wish LC would always show complete info from the latest release. Sometimes I just want to know something. Like, say, error codes on quit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com > Mark Wieder wrote: > >> Why are you looking at the web version of the documentation instead of >> the local one? From richmondmathewson at gmail.com Sat Dec 12 11:25:07 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 12 Dec 2020 18:25:07 +0200 Subject: Properties Inspector Message-ID: <36ed8fdd-0f3c-4561-15da-185cbd0ba91d@gmail.com> I would like to try modifying the Properties Inspector but am unable to locate a template stack . . . Richmond. From ahsoftware at sonic.net Sat Dec 12 12:37:17 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 12 Dec 2020 09:37:17 -0800 Subject: return "error" code from standalone compile In-Reply-To: <8fd3686e-5d64-a8b0-cbb5-ab3605c8c1ac@fourthworld.com> References: <62bd9a57-9cba-328f-ae44-44c9d99a48e1@sonic.net> <8fd3686e-5d64-a8b0-cbb5-ab3605c8c1ac@fourthworld.com> Message-ID: On 12/11/20 3:36 PM, Richard Gaskin via use-livecode wrote: > The bigger problem with these sorts of issues is how the public web site > becomes so different from the ones we have installed. Agreed. I think I wasn't even much aware that an online dictionary existed. I was about to post that I don't see why updating the web version when there's a new release was a problem, but then I looked at the page source of the web dictionary. While the local dictionary that opens in a browser is clean easy-to-read-and-understand html, the web site is a mess. It's 90% css and the other half is ad-tracking analytics. Easy to see why it's not maintained. Don't believe everything you read on the web. -- Mark Wieder ahsoftware at gmail.com From irog at mac.com Sat Dec 12 15:26:28 2020 From: irog at mac.com (Roger Guay) Date: Sat, 12 Dec 2020 12:26:28 -0800 Subject: New MacBook Pro Results Message-ID: Thought some of you might like to know, LC 6.0 works fine in MacOS Big Sur on the new MacBook Pro. The only problem I?ve encountered so far is a minor glitch with Scott Rossi?s tmEffects and tmAlign, my favorite plugins. They both now display a slightly larger white backdrop. Annoying, but they work just fine. I sure do miss Scott! Roger From MikeKerner at roadrunner.com Sat Dec 12 19:48:17 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 12 Dec 2020 19:48:17 -0500 Subject: apns Message-ID: has anyone worked out the new way to do apns? since apple is dumping the old way... -- 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 neville.smythe at optusnet.com.au Sun Dec 13 04:46:16 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 13 Dec 2020 20:46:16 +1100 Subject: Decrypt problem on Windows Message-ID: <3D7A1411-2EED-4FFC-BF14-DC1CB4CC47B1@optusnet.com.au> I am getting a difference in the results from decryption of a variable (stored in a stack custom property) between Mac and Windows 10. The script is decrypt using "aes-256-cbc" with password On the Mac this decrypts < myEncryptedStr > to its original value On Windows it gives an empty value, with the result returning ?SSL error: Bad encrypt? Could this be a difference in versions between the OpenSSL library built in to OSX 10.15.7 and the LiveCode SSL inclusion for Windows? Or would a different cipher work on both platforms, or perhaps provision of the bit value make it work? Or - surely not - do I have to use different encrypted custom properties for each platform? [I had just recovered strength from fighting the gratuitously different syntax that Windows uses in its implementation of cURL to hit this problem] Neville Smythe From ahsoftware at sonic.net Sun Dec 13 11:07:59 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 13 Dec 2020 08:07:59 -0800 Subject: Decrypt problem on Windows In-Reply-To: <3D7A1411-2EED-4FFC-BF14-DC1CB4CC47B1@optusnet.com.au> References: <3D7A1411-2EED-4FFC-BF14-DC1CB4CC47B1@optusnet.com.au> Message-ID: <76c25e99-53a7-c222-d03a-8a27dd615f72@sonic.net> On 12/13/20 1:46 AM, Neville Smythe via use-livecode wrote: > [I had just recovered strength from fighting the gratuitously different syntax that Windows uses in its implementation of cURL to hit this problem] I don't have an answer to the decryption problem (sorry), but... I use (and have for some years now) httpie rather than curl. Free, open source, much cleaner syntax, just better all around. When you get tired of fighting with curl or wget, check it out. https://httpie.io/ -- Mark Wieder ahsoftware at gmail.com From paulmcclernan at gmail.com Sun Dec 13 12:19:53 2020 From: paulmcclernan at gmail.com (Paul McClernan) Date: Sun, 13 Dec 2020 12:19:53 -0500 Subject: Some sad news In-Reply-To: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> References: <68757606-C4E1-4DF8-9FF9-5E6EBD67AEDA@livecode.com> Message-ID: Sad indeed. :-( HH's LCB snippets and examples were helpful and inspirational, and in some ways I actually enjoyed reading some of those cantankerous exchanges on bug reports. I wish he'd posted all of his LCB code as some of his more interesting to me LCB work he didn't release the source for. I thought that he had left the LC community out of frustration. I started to add to his LCB snippets thread in the forums and he never commented (he was numbering the examples), now I know why. He will be missed. R.I.P. HH / Hermann Hoch From sean at pidigital.co.uk Sun Dec 13 12:40:08 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 13 Dec 2020 17:40:08 +0000 Subject: CentOS Death in 2021 Message-ID: Hi all, I just heard the news that RedHat is going to be dropping support for CentOS. With my recent issues with PDF Printing in CentOS, I was already looking to perhaps try out CentOS8 or another Dist. but now we have this news I'm thinking of going to Ubuntu. The release notes for LC says it supports Ubuntu 16.04, which is cool. But I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. Is anyone out there running LC on one of these later builds of Ubuntu? I'd like to hear your thoughts. Or maybe I should be looking at Fedora. All the very best Sean Cole *Pi Digital * From richmondmathewson at gmail.com Sun Dec 13 13:49:32 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 13 Dec 2020 20:49:32 +0200 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: Well, I am running LC 9.6.1 on Xubuntu (Ubuntu with XFCE) 20.10 without a backward glance: Rocks! Richmond. On 13.12.20 19:40, Sean Cole (Pi) via use-livecode wrote: > Hi all, > > I just heard the news that RedHat is going to be dropping support for > CentOS. With my recent issues with PDF Printing in CentOS, I was already > looking to perhaps try out CentOS8 or another Dist. but now we have this > news I'm thinking of going to Ubuntu. > > The release notes for LC says it supports Ubuntu 16.04, which is cool. But > I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. Is > anyone out there running LC on one of these later builds of Ubuntu? I'd > like to hear your thoughts. Or maybe I should be looking at Fedora. > > All the very best > > Sean Cole > *Pi Digital * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dalton.calford at gmail.com Sun Dec 13 14:09:49 2020 From: dalton.calford at gmail.com (Dalton Calford) Date: Sun, 13 Dec 2020 14:09:49 -0500 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: I personally use Neon, it's based upon Ubuntu and is the development base platform for KDE. I find that it is better integrated between the tools as they are specializing upon one desktop and ensuring everything is properly supported. I have used livecode on it over the past year without issue. So, all the benefits of ubuntu but more stable and better supported, downside is that you are limited to only the one desktop environment or else all the stability issues are gone. best regards Dalton On Sun, 13 Dec 2020 at 13:50, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Well, I am running LC 9.6.1 on Xubuntu (Ubuntu with XFCE) 20.10 without > a backward glance: Rocks! > > Richmond. > > On 13.12.20 19:40, Sean Cole (Pi) via use-livecode wrote: > > Hi all, > > > > I just heard the news that RedHat is going to be dropping support for > > CentOS. With my recent issues with PDF Printing in CentOS, I was already > > looking to perhaps try out CentOS8 or another Dist. but now we have this > > news I'm thinking of going to Ubuntu. > > > > The release notes for LC says it supports Ubuntu 16.04, which is cool. > But > > I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. Is > > anyone out there running LC on one of these later builds of Ubuntu? I'd > > like to hear your thoughts. Or maybe I should be looking at Fedora. > > > > All the very best > > > > Sean Cole > > *Pi Digital * > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From htorrado at networkdreams.net Sun Dec 13 14:27:49 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Sun, 13 Dec 2020 14:27:49 -0500 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: Hi Sean, I've been using LiveCode on Ubuntu 16.04 and 18.04 for years (Servers and Desktops) and it worked fine.? A years ago we migrated everything to CentOS / RedHat and Fedora (development machines and servers).? However, we are going to migrate everything? to Debian. Debian is very stable and offers the same user experience on Laptops, Workstations and Servers. Ubuntu is a good system, but after the drift from CentOS with IBM I don't want to put the heart of our systems in the hands of any big company. What would happen if tomorrow Ubuntu is acquired by Microsoft and they decide to charge money for it? That's not the case with Debian: Debian is completely independent and rock solid. I live between Madrid and New York and in both cities there are good professional companies who offer commercial technical support for Debian, so you don't need any big and greedy corps getting their hands on your IT systems. Best, Hery On 12/13/20 12:40 PM, Sean Cole (Pi) via use-livecode wrote: > Hi all, > > I just heard the news that RedHat is going to be dropping support for > CentOS. With my recent issues with PDF Printing in CentOS, I was already > looking to perhaps try out CentOS8 or another Dist. but now we have this > news I'm thinking of going to Ubuntu. > > The release notes for LC says it supports Ubuntu 16.04, which is cool. But > I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. Is > anyone out there running LC on one of these later builds of Ubuntu? I'd > like to hear your thoughts. Or maybe I should be looking at Fedora. > > All the very best > > Sean Cole > *Pi Digital * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revlist at ecion.ca Sun Dec 13 15:15:03 2020 From: revlist at ecion.ca (Ron Noice) Date: Sun, 13 Dec 2020 15:15:03 -0500 Subject: Encrypting Stack Breaks Field References Message-ID: My program (built with LC 9.6.1 Indy Windows) contains a large number of references to fields by variables. For example, instead of refering to [fld "abc"] I refer to [fld tName] where tName is a variable containing "abc" (no quotes). This has worked perfectly until I *encrypted* the stack (through the standalone settings). The standalone itself works with no problem; only when I encrypt it does it fight back. Here's a simplified example of what I'm doing: create group "grpTree" ... copy fld "baseBox" to grp "grpTree" set the name of it to tName set the visible of fld tName to true ... This gives me a "no such object" error on the "set the visible" line. Through testing, I've determined that - tName holds the correct value? - a field named with the value of tName has been correctly created - but it still seems to be the reference to [fld tName] that is the problem This is about building family trees on-the-fly. The largest I've worked with so far has over 450 boxes (fields) in the tree all with connecting lines and all based on the ability to use variables to refer to the fields.?At the moment I'm just leaving the stack unencrypted. But inquiring minds would like to know what the problem is. I know others have used this syntax for naming and am sure some of them must have encrypted their stacks. Clearly I'm missing something.? Thanks for any brilliant suggestions you may have. ... Ron From ambassador at fourthworld.com Sun Dec 13 19:02:46 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 13 Dec 2020 16:02:46 -0800 Subject: Encrypting Stack Breaks Field References In-Reply-To: References: Message-ID: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> Ron Noice wrote: ? My program (built with LC 9.6.1 Indy Windows) contains a large number > of references to fields by variables. ... > only when I encrypt it does it fight back. Here's a simplified example > of what I'm doing: > > create group "grpTree" > ... > copy fld "baseBox" to grp "grpTree" ^ that's your issue. Copying objects is disallowed in an encrypted stack, since of course once an object is copied it could be pasted into an unencrypted stack, and thus expose the source. You might consider moving the code from the encrypted stack to an encrypted behavior object, leaving the stack where copying must be done unencrypted. But if these objects are being copied only by script for the purpose of automatically building out a UI, without a need to alter the user's clipboard, you might consider using the clone command instead. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Sun Dec 13 19:20:58 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 14 Dec 2020 00:20:58 +0000 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> Thanks all. These insights are useful. Hery?s explanation of their choice to move to Debian provides a good argument. I had just tried Ubuntu 20.04 in a parallels virtual machine and my server app worked ok. I will try a Debian build too. I wonder why LC don?t state support for later Ubuntu, Fedora or Debian builds? Sean Cole Pi Digital > On 13 Dec 2020, at 19:27, Heriberto Torrado via use-livecode wrote: > > ?Hi Sean, > > I've been using LiveCode on Ubuntu 16.04 and 18.04 for years (Servers and Desktops) and it worked fine. A years ago we migrated everything to CentOS / RedHat and Fedora (development machines and servers). However, we are going to migrate everything to Debian. > Debian is very stable and offers the same user experience on Laptops, Workstations and Servers. > > Ubuntu is a good system, but after the drift from CentOS with IBM I don't want to put the heart of our systems in the hands of any big company. > What would happen if tomorrow Ubuntu is acquired by Microsoft and they decide to charge money for it? That's not the case with Debian: Debian is completely independent and rock solid. > > I live between Madrid and New York and in both cities there are good professional companies who offer commercial technical support for Debian, so you don't need any big and greedy corps getting their hands on your IT systems. > > Best, > Hery > > > > >> On 12/13/20 12:40 PM, Sean Cole (Pi) via use-livecode wrote: >> Hi all, >> >> I just heard the news that RedHat is going to be dropping support for >> CentOS. With my recent issues with PDF Printing in CentOS, I was already >> looking to perhaps try out CentOS8 or another Dist. but now we have this >> news I'm thinking of going to Ubuntu. >> >> The release notes for LC says it supports Ubuntu 16.04, which is cool. But >> I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. Is >> anyone out there running LC on one of these later builds of Ubuntu? I'd >> like to hear your thoughts. Or maybe I should be looking at Fedora. >> >> All the very best >> >> Sean Cole >> *Pi Digital * >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Dec 13 20:15:14 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 13 Dec 2020 17:15:14 -0800 Subject: CentOS Death in 2021 In-Reply-To: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> References: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> Message-ID: On 12/13/20 4:20 PM, Pi Digital via use-livecode wrote: > Thanks all. These insights are useful. Hery?s explanation of their choice to move to Debian provides a good argument. I had just tried Ubuntu 20.04 in a parallels virtual machine and my server app worked ok. I will try a Debian build too. I wonder why LC don?t state support for later Ubuntu, Fedora or Debian builds? Because the team builds the engine on an Ubuntu 16 machine and so doesn't want to say they support anything later. The build process is broken on later versions. I submitted a PR to fix this (it works here) but apparently it doesn't fix things the "right" way, so... And note that we are coming up on the end of Ubuntu 16.04 LTS support on 30 April 2021. -- Mark Wieder ahsoftware at gmail.com From bogdanoff at me.com Sun Dec 13 21:56:46 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 13 Dec 2020 18:56:46 -0800 Subject: Encrypting Stack Breaks Field References In-Reply-To: References: Message-ID: <2D55D82D-F1C0-4202-9EC1-0222823C5DB8@me.com> Hi Ron, About ?it? ? is that supposed to be the name of the new field or something else? You can always use ?last? to refer to a new control, ?the last field? is ?any object whose number property is equal to the number of objects of that type." ?It? might have been changed to something else in the meantime? Peter > On Dec 13, 2020, at 12:15 PM, Ron Noice via use-livecode wrote: > > My program (built with LC 9.6.1 Indy Windows) contains a large number of references to fields by variables. For example, instead of refering to [fld "abc"] I refer to [fld tName] where tName is a variable containing "abc" (no quotes). > > This has worked perfectly until I *encrypted* the stack (through the standalone settings). The standalone itself works with no problem; only when I encrypt it does it fight back. Here's a simplified example of what I'm doing: > > create group "grpTree" > ... > copy fld "baseBox" to grp "grpTree" > set the name of it to tName > set the visible of fld tName to true > ... > > This gives me a "no such object" error on the "set the visible" line. Through testing, I've determined that > - tName holds the correct value > - a field named with the value of tName has been correctly created > - but it still seems to be the reference to [fld tName] that is the problem > > This is about building family trees on-the-fly. The largest I've worked with so far has over 450 boxes (fields) in the tree all with connecting lines and all based on the ability to use variables to refer to the fields. At the moment I'm just leaving the stack unencrypted. But inquiring minds would like to know what the problem is. I know others have used this syntax for naming and am sure some of them must have encrypted their stacks. Clearly I'm missing something. > > Thanks for any brilliant suggestions you may have. > > ... Ron > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From 1anmldr1 at gmail.com Sun Dec 13 23:45:03 2020 From: 1anmldr1 at gmail.com (Linda Miller) Date: Sun, 13 Dec 2020 22:45:03 -0600 Subject: New MacBook Pro Results Message-ID: <0A04B752-35EB-4767-8AE8-1B0505F03ED0@gmail.com> ?I sure do miss Scott!? I have been watching videos from different conferences and enjoyed his lectures. So, what happened to Scott? Linda From jacque at hyperactivesw.com Mon Dec 14 01:03:39 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Dec 2020 00:03:39 -0600 Subject: Encrypting Stack Breaks Field References In-Reply-To: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> Message-ID: On 12/13/20 6:02 PM, Richard Gaskin via use-livecode wrote: > Copying objects is disallowed in an encrypted stack, since of course once an object is copied > it could be pasted into an unencrypted stack, and thus expose the source. Except, copying via script using "copy x to y" doesn't involve the clipboard. I think this could be categorized as a bug, the original script should work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at livecode.com Mon Dec 14 02:23:40 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Dec 2020 07:23:40 +0000 Subject: Encrypting Stack Breaks Field References In-Reply-To: References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> Message-ID: <1154b8062ee7fa7ce3ae98f5c03352e8@livecode.com> On 2020-12-14 06:03, J. Landman Gay via use-livecode wrote: > On 12/13/20 6:02 PM, Richard Gaskin via use-livecode wrote: > >> Copying objects is disallowed in an encrypted stack, since of course >> once an object is copied it could be pasted into an unencrypted stack, >> and thus expose the source. > > Except, copying via script using "copy x to y" doesn't involve the > clipboard. I think this could be categorized as a bug, the original > script should work. Its not the copy that will be failing - but the create. In general you can't do anything to an encrypted stack which might cause a script to move from where its encrypted to somewhere else or vice-versa. (The reason create is disallowed is that you could create a new script via setting props of the template object). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Mon Dec 14 03:14:43 2020 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 14 Dec 2020 10:14:43 +0200 Subject: CentOS Death in 2021 In-Reply-To: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> References: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> Message-ID: <212c433e-fbd1-12ec-f06c-f95da4f793f4@gmail.com> "I wonder why LC don?t state support for later Ubuntu, Fedora or Debian builds?" I suspect that LiveCode believes that the uptake of the Linux version is insufficient to justify the effort of testing LC on those platforms. Richmond. On 14.12.20 2:20, Pi Digital via use-livecode wrote: > Thanks all. These insights are useful. Hery?s explanation of their choice to move to Debian provides a good argument. I had just tried Ubuntu 20.04 in a parallels virtual machine and my server app worked ok. I will try a Debian build too. I wonder why LC don?t state support for later Ubuntu, Fedora or Debian builds? > > Sean Cole > Pi Digital > >> On 13 Dec 2020, at 19:27, Heriberto Torrado via use-livecode wrote: >> >> ?Hi Sean, >> >> I've been using LiveCode on Ubuntu 16.04 and 18.04 for years (Servers and Desktops) and it worked fine. A years ago we migrated everything to CentOS / RedHat and Fedora (development machines and servers). However, we are going to migrate everything to Debian. >> Debian is very stable and offers the same user experience on Laptops, Workstations and Servers. >> >> Ubuntu is a good system, but after the drift from CentOS with IBM I don't want to put the heart of our systems in the hands of any big company. >> What would happen if tomorrow Ubuntu is acquired by Microsoft and they decide to charge money for it? That's not the case with Debian: Debian is completely independent and rock solid. >> >> I live between Madrid and New York and in both cities there are good professional companies who offer commercial technical support for Debian, so you don't need any big and greedy corps getting their hands on your IT systems. >> >> Best, >> Hery >> >> >> >> >>> On 12/13/20 12:40 PM, Sean Cole (Pi) via use-livecode wrote: >>> Hi all, >>> >>> I just heard the news that RedHat is going to be dropping support for >>> CentOS. With my recent issues with PDF Printing in CentOS, I was already >>> looking to perhaps try out CentOS8 or another Dist. but now we have this >>> news I'm thinking of going to Ubuntu. >>> >>> The release notes for LC says it supports Ubuntu 16.04, which is cool. But >>> I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. Is >>> anyone out there running LC on one of these later builds of Ubuntu? I'd >>> like to hear your thoughts. Or maybe I should be looking at Fedora. >>> >>> All the very best >>> >>> Sean Cole >>> *Pi Digital * >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Mon Dec 14 05:42:43 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 14 Dec 2020 21:42:43 +1100 Subject: Rer: Decrypt problem on Windows Message-ID: <008DE82F-04DA-4E68-B185-422215EE3108@optusnet.com.au> The problem is platform-symmetric. That is, a string encrypted in LC on Windows will not decrypt on the Mac. Linux will not decrypt a string encrypted on the Mac, and presumably vice-versa. I did toy with the idea that the encryption keys might be device dependent, maybe the public and private keys created by the OpenSSL library were being stored in the OS somewhere. But no, a string encrypted on one Mac decrypts correctly on a different Mac. So my guess is that the keys are being stored by the different platform libraries within LC but not in a place known to the library for another platform. I believe this is a bug, that is to say, it is not what is intended; surely one should be able to store an encrypted string in an LC stack, and then any user with the password should be able to decrypt it. A workaround is to store a different encrypted string in the standalone compiled for each platform ? but to do that you need to run LC on each platform, not exactly in the spirit of LC! Or not to use SSL encryption; I would assume all of the other ciphers available in OpenSSL would behave the same way. BTW thanks Mark for the suggestion about htppie, it does look cleaner and easier than curl. The disadvantage in my case is it would need to be installed in each user?s system. Neville Smythe From merakosp at gmail.com Mon Dec 14 06:17:29 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 14 Dec 2020 13:17:29 +0200 Subject: Rer: Decrypt problem on Windows In-Reply-To: <008DE82F-04DA-4E68-B185-422215EE3108@optusnet.com.au> References: <008DE82F-04DA-4E68-B185-422215EE3108@optusnet.com.au> Message-ID: Hello Neville, Could you try to textEncode the encrypted data before saving it in the custom property, and then, in the other platform, textDecode it before decrypting it? i.e. to do something like: encrypt myData using myCipher with password myPass put it into tEncryptedData put textEncode(tEncryptedData, "native") into the cCustomProp of stack "foo" ... ... and then, to decrypt it in the other platform: put textDecode(the cCustomProp of stack "foo", "native") into tEncryptedData decrypt tEncryptedData using myCipher with password myPass put it into myOriginalData Kind regards, Panos -- On Mon, 14 Dec 2020 at 12:43, Neville Smythe via use-livecode < use-livecode at lists.runrev.com> wrote: > The problem is platform-symmetric. That is, a string encrypted in LC on > Windows will not decrypt on the Mac. Linux will not decrypt a string > encrypted on the Mac, and presumably vice-versa. > > I did toy with the idea that the encryption keys might be device > dependent, maybe the public and private keys created by the OpenSSL library > were being stored in the OS somewhere. But no, a string encrypted on one > Mac decrypts correctly on a different Mac. So my guess is that the keys are > being stored by the different platform libraries within LC but not in a > place known to the library for another platform. > > I believe this is a bug, that is to say, it is not what is intended; > surely one should be able to store an encrypted string in an LC stack, and > then any user with the password should be able to decrypt it. > > A workaround is to store a different encrypted string in the standalone > compiled for each platform ? but to do that you need to run LC on each > platform, not exactly in the spirit of LC! Or not to use SSL encryption; I > would assume all of the other ciphers available in OpenSSL would behave the > same way. > > BTW thanks Mark for the suggestion about htppie, it does look cleaner and > easier than curl. The disadvantage in my case is it would need to be > installed in each user?s system. > > Neville Smythe > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Mon Dec 14 09:34:24 2020 From: irog at mac.com (Roger Guay) Date: Mon, 14 Dec 2020 06:34:24 -0800 Subject: New MacBook Pro Results In-Reply-To: <0A04B752-35EB-4767-8AE8-1B0505F03ED0@gmail.com> References: <0A04B752-35EB-4767-8AE8-1B0505F03ED0@gmail.com> Message-ID: I don?t know, but I?m sure others on this list do. Roger > On Dec 13, 2020, at 8:45 PM, Linda Miller via use-livecode wrote: > > ?I sure do miss Scott!? > > I have been watching videos from different conferences and enjoyed his lectures. So, what happened to Scott? > > Linda > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 14 10:33:57 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 14 Dec 2020 10:33:57 -0500 Subject: New MacBook Pro Results In-Reply-To: References: Message-ID: the good news is that both are just normal stacks (as is tmControls/2), so you should be able to fix them. On Sat, Dec 12, 2020 at 3:27 PM Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > Thought some of you might like to know, LC 6.0 works fine in MacOS Big Sur > on the new MacBook Pro. The only problem I?ve encountered so far is a minor > glitch with Scott Rossi?s tmEffects and tmAlign, my favorite plugins. They > both now display a slightly larger white backdrop. Annoying, but they work > just fine. I sure do miss Scott! > > 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 marksmithhfx at gmail.com Mon Dec 14 10:34:58 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 14 Dec 2020 15:34:58 +0000 Subject: New MacBook Pro Results In-Reply-To: References: Message-ID: <885A5DFC-CCF0-4A01-B257-9BCE3A7A409E@gmail.com> Are you referring to Scott Rossi? LC did a profile on Scott for the Locked Learning Series in May. Google ?Scott Rossi Livecode? to find our what he?s been up to recently. Sent from my iPhone > On Dec 14, 2020, at 2:35 PM, Roger Guay via use-livecode wrote: > > ?I don?t know, but I?m sure others on this list do. > > Roger > > >> On Dec 13, 2020, at 8:45 PM, Linda Miller via use-livecode wrote: >> >> ?I sure do miss Scott!? >> >> I have been watching videos from different conferences and enjoyed his lectures. So, what happened to Scott? >> >> Linda >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Dec 14 13:26:48 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 14 Dec 2020 20:26:48 +0200 Subject: [ANN] This Week in LiveCode 248 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 #248 here: https://bit.ly/3njG6zy This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From jacque at hyperactivesw.com Mon Dec 14 14:04:41 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Dec 2020 13:04:41 -0600 Subject: Slow performance on Big Sur Message-ID: My client is running Big Sur and says that changing cards in a stack causes a very slow, stuttering display. The background image appears in chunks and text in the fields comes in as sequential pieces. The order of the display varies, sometimes the text appears first, sometimes the background image. The first few cards are fairly normal, but as she pages through the stack it gets slower. I had her watch Activity Monitor and CPU usage goes up as she navigates through cards. At first the display is fairly normal but each successive card change increases CPU useage a little bit. She stopped when usage got to about 50% when she said it was unusable. This was in the IDE. She says the standalone is even slower. Has anyone seen this? On Mojave and Catalina everything is fine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Mon Dec 14 14:14:56 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 14 Dec 2020 11:14:56 -0800 Subject: Slow performance on Big Sur In-Reply-To: References: Message-ID: <8B7C36E6-50D0-4D94-A888-2824002107D8@gmail.com> I have a customer with a brand new Mac Pro with tons of memory (and two 49 inch curved screens!) running Big Sur and he sent a video showing slow performance when populating a half dozen text fields from a custom property - took about 3 seconds (in a standalone). Marty > On Dec 14, 2020, at 11:04 AM, J. Landman Gay via use-livecode wrote: > > My client is running Big Sur and says that changing cards in a stack causes a very slow, stuttering display. The background image appears in chunks and text in the fields comes in as sequential pieces. The order of the display varies, sometimes the text appears first, sometimes the background image. The first few cards are fairly normal, but as she pages through the stack it gets slower. > > I had her watch Activity Monitor and CPU usage goes up as she navigates through cards. At first the display is fairly normal but each successive card change increases CPU useage a little bit. She stopped when usage got to about 50% when she said it was unusable. This was in the IDE. She says the standalone is even slower. > > Has anyone seen this? On Mojave and Catalina everything is fine. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | https://www.google.com/url?q=http://www.hyperactivesw.com&source=gmail-imap&ust=1608577545000000&usg=AOvVaw3zEkEOx8Qa_NdgiKshX9KD From paul at researchware.com Mon Dec 14 15:46:58 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 14 Dec 2020 15:46:58 -0500 Subject: Slow performance on Big Sur In-Reply-To: References: Message-ID: <075f3145-ea9f-37b6-b514-cadd4e7c6702@researchware.com> On 12/14/2020 2:04 PM, J. Landman Gay via use-livecode wrote: > My client is running Big Sur and says that changing cards in a stack > causes a very slow, stuttering display. The background image appears > in chunks and text in the fields comes in as sequential pieces. The > order of the display varies, sometimes the text appears first, > sometimes the background image. The first few cards are fairly normal, > but as she pages through the stack it gets slower. > > I had her watch Activity Monitor and CPU usage goes up as she > navigates through cards. At first the display is fairly normal but > each successive card change increases CPU useage a little bit. She > stopped when usage got to about 50% when she said it was unusable. > This was in the IDE. She says the standalone is even slower. > > Has anyone seen this? On Mojave and Catalina everything is fine. > I had a weird display issue where a transition between two cards left with one card semi-transparent behind the new card. It was also slow. I have a visual effect dissolve between these two cards I removed the visual effect and changing between the cards was fast and clean. Examine any visual effect transitions you may have between cards. From jacque at hyperactivesw.com Mon Dec 14 17:12:59 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Dec 2020 16:12:59 -0600 Subject: Slow performance on Big Sur In-Reply-To: <075f3145-ea9f-37b6-b514-cadd4e7c6702@researchware.com> References: <075f3145-ea9f-37b6-b514-cadd4e7c6702@researchware.com> Message-ID: <5d9c5267-3ab3-8f61-4eda-620d3cae573a@hyperactivesw.com> On 12/14/20 2:46 PM, Paul Dupuis via use-livecode wrote: > On 12/14/2020 2:04 PM, J. Landman Gay via use-livecode wrote: >> My client is running Big Sur and says that changing cards in a stack causes a very slow, >> stuttering display. The background image appears in chunks and text in the fields comes in as >> sequential pieces. The order of the display varies, sometimes the text appears first, >> sometimes the background image. The first few cards are fairly normal, but as she pages >> through the stack it gets slower. >> >> I had her watch Activity Monitor and CPU usage goes up as she navigates through cards. At >> first the display is fairly normal but each successive card change increases CPU useage a >> little bit. She stopped when usage got to about 50% when she said it was unusable. This was >> in the IDE. She says the standalone is even slower. >> >> Has anyone seen this? On Mojave and Catalina everything is fine. >> > > I had a weird display issue where a transition between two cards left with one card > semi-transparent behind the new card. It was also slow. I have a visual effect dissolve between > these two cards I removed the visual effect and changing between the cards was fast and clean. > > Examine any visual effect transitions you may have between cards. Thanks. There are no transition effects, just "go card". Each card has an image, and I tried toggling off alwaysBuffer but that didn't help. CloseCard sends some data off to a server but by the time the card is rendering, that's done I think. Also, it's odd that the delay accumulates. If it was due to something in navigation it should happen all the time at the same rate, but instead it gets slower as you go. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 14 17:23:27 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Dec 2020 16:23:27 -0600 Subject: Slow performance on Big Sur In-Reply-To: <8B7C36E6-50D0-4D94-A888-2824002107D8@gmail.com> References: <8B7C36E6-50D0-4D94-A888-2824002107D8@gmail.com> Message-ID: <9568d94c-2667-3944-0843-e98459cb1004@hyperactivesw.com> I also populate a field and adjust its rect from custom properties, as well as adjust some controls based on stored custom property settings. I also load an image from an unplaced background. So, lots of setup on preOpenCard. On 12/14/20 1:14 PM, Marty Knapp via use-livecode wrote: > I have a customer with a brand new Mac Pro with tons of memory (and two 49 inch curved screens!) running Big Sur and he sent a video showing slow performance when populating a half dozen text fields from a custom property - took about 3 seconds (in a standalone). > > Marty > >> On Dec 14, 2020, at 11:04 AM, J. Landman Gay via use-livecode wrote: >> >> My client is running Big Sur and says that changing cards in a stack causes a very slow, stuttering display. The background image appears in chunks and text in the fields comes in as sequential pieces. The order of the display varies, sometimes the text appears first, sometimes the background image. The first few cards are fairly normal, but as she pages through the stack it gets slower. >> >> I had her watch Activity Monitor and CPU usage goes up as she navigates through cards. At first the display is fairly normal but each successive card change increases CPU useage a little bit. She stopped when usage got to about 50% when she said it was unusable. This was in the IDE. She says the standalone is even slower. >> >> Has anyone seen this? On Mojave and Catalina everything is fine. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | https://www.google.com/url?q=http://www.hyperactivesw.com&source=gmail-imap&ust=1608577545000000&usg=AOvVaw3zEkEOx8Qa_NdgiKshX9KD > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Dec 14 17:45:23 2020 From: merakosp at gmail.com (merakosp) Date: Tue, 15 Dec 2020 00:45:23 +0200 Subject: Slow performance on Big Sur In-Reply-To: <9568d94c-2667-3944-0843-e98459cb1004@hyperactivesw.com> References: <8B7C36E6-50D0-4D94-A888-2824002107D8@gmail.com> <9568d94c-2667-3944-0843-e98459cb1004@hyperactivesw.com> Message-ID: Hello all, Does adding a after the command make any difference? Cheers, Panos -- On Tue, 15 Dec 2020 at 00:24, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I also populate a field and adjust its rect from custom properties, as > well as adjust some > controls based on stored custom property settings. I also load an image > from an unplaced > background. So, lots of setup on preOpenCard. > > On 12/14/20 1:14 PM, Marty Knapp via use-livecode wrote: > > I have a customer with a brand new Mac Pro with tons of memory (and two > 49 inch curved screens!) running Big Sur and he sent a video showing slow > performance when populating a half dozen text fields from a custom property > - took about 3 seconds (in a standalone). > > > > Marty > > > >> On Dec 14, 2020, at 11:04 AM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> My client is running Big Sur and says that changing cards in a stack > causes a very slow, stuttering display. The background image appears in > chunks and text in the fields comes in as sequential pieces. The order of > the display varies, sometimes the text appears first, sometimes the > background image. The first few cards are fairly normal, but as she pages > through the stack it gets slower. > >> > >> I had her watch Activity Monitor and CPU usage goes up as she navigates > through cards. At first the display is fairly normal but each successive > card change increases CPU useage a little bit. She stopped when usage got > to about 50% when she said it was unusable. This was in the IDE. She says > the standalone is even slower. > >> > >> Has anyone seen this? On Mojave and Catalina everything is fine. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | > https://www.google.com/url?q=http://www.hyperactivesw.com&source=gmail-imap&ust=1608577545000000&usg=AOvVaw3zEkEOx8Qa_NdgiKshX9KD > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 neville.smythe at optusnet.com.au Mon Dec 14 17:56:35 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 15 Dec 2020 09:56:35 +1100 Subject: Rer: Decrypt problem on Windows solved Message-ID: > Could you try to textEncode the encrypted data before saving it in the > custom property, and then, in the other platform, textDecode it before > decrypting it? Many thanks Panos, yes, that fixed the problem. It never occurred to me that reading binary data from the custom properties of a stack should be treated with same caveat as downloading from an external source. Todays ?learnings? (horrible newly fashionable word). Neville Smythe From ambassador at fourthworld.com Mon Dec 14 18:02:30 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 14 Dec 2020 15:02:30 -0800 Subject: Encrypting Stack Breaks Field References In-Reply-To: <1154b8062ee7fa7ce3ae98f5c03352e8@livecode.com> References: <1154b8062ee7fa7ce3ae98f5c03352e8@livecode.com> Message-ID: <83dbf3d0-6e4b-5d61-9199-212b1c8fec08@fourthworld.com> Mark Waddingham wrote: On 12/13/20 6:02 PM, Richard Gaskin via use-livecode wrote: >> >> Copying objects is disallowed in an encrypted stack, since of course >> once an object is copied it could be pasted into an unencrypted >> stack, and thus expose the source. > > Its not the copy that will be failing - but the create. In general you > can't do anything to an encrypted stack which might cause a script to > move from where its encrypted to somewhere else or vice-versa. (The > reason create is disallowed is that you could create a new script via > setting props of the template object). Would the copy action not fall under the rubric of "anything to an encrypted stack which might cause a script to move from where its encrypted to somewhere else or vice-versa"? If I receive a protected stack and copy an object out into an unprotected stack, I would then have access to the object's script. -- 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 1anmldr1 at gmail.com Mon Dec 14 18:09:40 2020 From: 1anmldr1 at gmail.com (Linda Miller) Date: Mon, 14 Dec 2020 17:09:40 -0600 Subject: Searching this mailing list Message-ID: Is there a way to search through the archives of this mailing list? ... Other than search engines like Google. Linda From sean at pidigital.co.uk Mon Dec 14 18:17:50 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 14 Dec 2020 23:17:50 +0000 Subject: CentOS Death in 2021 In-Reply-To: References: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> Message-ID: Hi Mark, Are you able to say what particular bits were broken so I know what to be on the lookout for and assess if these might affect our project? Thanks Sean Cole *Pi Digital * On Mon, 14 Dec 2020 at 01:15, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/13/20 4:20 PM, Pi Digital via use-livecode wrote: > > Thanks all. These insights are useful. Hery?s explanation of their > choice to move to Debian provides a good argument. I had just tried Ubuntu > 20.04 in a parallels virtual machine and my server app worked ok. I will > try a Debian build too. I wonder why LC don?t state support for later > Ubuntu, Fedora or Debian builds? > > Because the team builds the engine on an Ubuntu 16 machine and so > doesn't want to say they support anything later. > > The build process is broken on later versions. I submitted a PR to fix > this (it works here) but apparently it doesn't fix things the "right" > way, so... > > And note that we are coming up on the end of Ubuntu 16.04 LTS support on > 30 April 2021. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Mon Dec 14 18:45:09 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 14 Dec 2020 15:45:09 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> Message-ID: <901ccd3c-4f9d-0d55-0543-c05cc811135c@sonic.net> On 12/14/20 3:17 PM, Sean Cole (Pi) via use-livecode wrote: > Hi Mark, > > Are you able to say what particular bits were broken so I know what to be > on the lookout for and assess if these might affect our project? Sure. Here's the PR https://github.com/livecode/livecode/pull/7127 But note that you only need to do this if you're compiling the engine from source. No problems *running* LC on recent distros. ...beyond the usual LC-on-linux problems anyway. -- Mark Wieder ahsoftware at gmail.com From paul at livecode.org Mon Dec 14 19:18:22 2020 From: paul at livecode.org (Paul Hibbert) Date: Mon, 14 Dec 2020 16:18:22 -0800 Subject: Searching this mailing list In-Reply-To: References: Message-ID: <484BFF4C-26E3-46E4-9FD8-58A513CB1B66@livecode.org> This may help: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html Paul > On 14Dec, 2020, at 3:09 PM, Linda Miller via use-livecode wrote: > > Is there a way to search through the archives of this mailing list? ... Other than search engines like Google. > > Linda > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Dec 14 20:19:11 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 15 Dec 2020 01:19:11 +0000 Subject: CentOS Death in 2021 In-Reply-To: <212c433e-fbd1-12ec-f06c-f95da4f793f4@gmail.com> References: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> <212c433e-fbd1-12ec-f06c-f95da4f793f4@gmail.com> Message-ID: Hi Richmond, You're probably right. However, with security issues constantly needing keeping up to date with, it's probably worth working out if it is worth supporting Linux at all, then. If they, LC, feel it 'is' worth supporting Linux, it is surely, then, essential to keep up with these latest versions to help their customers avoid security issues. That, I guess, is an issue in of itself. It is remarkable LC is as well supporting of newish OS's as it is, particularly MacOS and Win10, keeping security by encryption and TLS, etc, up to date. Linux is a wayward child, however. Difficult to keep on top off. Even though their update cycles are not as frequent as Win/Mac. Thanks Sean Cole *Pi Digital * On Mon, 14 Dec 2020 at 08:14, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > "I wonder why LC don?t state support for later Ubuntu, Fedora or Debian > builds?" > > I suspect that LiveCode believes that the uptake of the Linux version is > insufficient to justify the effort of testing LC on those platforms. > > Richmond. > > On 14.12.20 2:20, Pi Digital via use-livecode wrote: > > Thanks all. These insights are useful. Hery?s explanation of their > choice to move to Debian provides a good argument. I had just tried Ubuntu > 20.04 in a parallels virtual machine and my server app worked ok. I will > try a Debian build too. I wonder why LC don?t state support for later > Ubuntu, Fedora or Debian builds? > > > > Sean Cole > > Pi Digital > > > >> On 13 Dec 2020, at 19:27, Heriberto Torrado via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> ?Hi Sean, > >> > >> I've been using LiveCode on Ubuntu 16.04 and 18.04 for years (Servers > and Desktops) and it worked fine. A years ago we migrated everything to > CentOS / RedHat and Fedora (development machines and servers). However, we > are going to migrate everything to Debian. > >> Debian is very stable and offers the same user experience on Laptops, > Workstations and Servers. > >> > >> Ubuntu is a good system, but after the drift from CentOS with IBM I > don't want to put the heart of our systems in the hands of any big company. > >> What would happen if tomorrow Ubuntu is acquired by Microsoft and they > decide to charge money for it? That's not the case with Debian: Debian is > completely independent and rock solid. > >> > >> I live between Madrid and New York and in both cities there are good > professional companies who offer commercial technical support for Debian, > so you don't need any big and greedy corps getting their hands on your IT > systems. > >> > >> Best, > >> Hery > >> > >> > >> > >> > >>> On 12/13/20 12:40 PM, Sean Cole (Pi) via use-livecode wrote: > >>> Hi all, > >>> > >>> I just heard the news that RedHat is going to be dropping support for > >>> CentOS. With my recent issues with PDF Printing in CentOS, I was > already > >>> looking to perhaps try out CentOS8 or another Dist. but now we have > this > >>> news I'm thinking of going to Ubuntu. > >>> > >>> The release notes for LC says it supports Ubuntu 16.04, which is cool. > But > >>> I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. > Is > >>> anyone out there running LC on one of these later builds of Ubuntu? I'd > >>> like to hear your thoughts. Or maybe I should be looking at Fedora. > >>> > >>> All the very best > >>> > >>> Sean Cole > >>> *Pi Digital * > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revlist at ecion.ca Mon Dec 14 21:00:07 2020 From: revlist at ecion.ca (Ron Noice) Date: Mon, 14 Dec 2020 21:00:07 -0500 Subject: Encrypting Stack Breaks Field References Message-ID: Thanks everyone for your suggestions and help. I _guess_ I see the problem as creating fields inside an encrypted stack and referencing them to set properties, etc. So the new plan is to have an unencrypted stack in which I build the tree and connectors using code from the encrypted stack. This has turned into a mini-nightmare of its own -- but it keeps me off the street. Thanks. ... Ron From ambassador at fourthworld.com Mon Dec 14 21:51:31 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 14 Dec 2020 18:51:31 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: <205ebe14-ec04-066a-52d8-b86d673cb600@fourthworld.com> Sean Cole wrote: > You're probably right. However, with security issues constantly > needing keeping up to date with, it's probably worth working out > if it is worth supporting Linux at all, then. If they, LC, feel > it 'is' worth supporting Linux, it is surely, then, essential > to keep up with these latest versions to help their customers > avoid security issues. What security issues are you concerned about? As Mark Weider noted, the "official" support is merely a reflection of their build system, and it relies on a version of Ubuntu still actively getting security updates. LC's Release Notes remind us that it runs on a wide range of Linux distros and versions. The compatibility requirements are fairly modest - from the Release Notes: The requirements for GUI functionality are also required by Firefox and Chrome, so if your Linux distribution runs one of those, it will run LiveCode. FWIW I use LC daily with Ubuntu 18.04 and 20.04, which will continue to receive updates until April 2023 and April 2025, respectively. On servers I have one client running LC on SUSE Enterprise, and the rest of my installs are with Ubuntu Server 18.04 and 20.04. Now if only we could get the Linux/ARM update I'd be super happy, but even the last LC we got for Raspberry Pi still runs okay (with some limitations) on the latest Raspian, and it flies under Ubuntu Core. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Tue Dec 15 03:40:42 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 15 Dec 2020 08:40:42 +0000 Subject: CentOS Death in 2021 In-Reply-To: <205ebe14-ec04-066a-52d8-b86d673cb600@fourthworld.com> References: <205ebe14-ec04-066a-52d8-b86d673cb600@fourthworld.com> Message-ID: > On 15 Dec 2020, at 02:52, Richard Gaskin via use-livecode wrote: > > As Mark Weider noted, the "official" support is merely a reflection of their build system, and it relies on a version of Ubuntu still actively getting security updates. That doesn?t seem to be stated or inferred in the release notes. It?s under the heading ?Platform Support? which infers, like ?System Requirements? might, ?This is what it will run on?. Indeed, under the heading it states: >> The engine supports a variety of operating systems and versions. This section describes the platforms that we ensure the engine runs on without issue (although in some cases with reduced functionality). Then under Linux it states: >> LiveCode supports the following Linux distributions, on 32-bit or 64-bit Intel/AMD or compatible processors: >> Ubuntu 14.04 and 16.04 >> Fedora 23 & 24 >> Debian 7 (Wheezy) and 8 (Jessie) [server] CentOS 7 [server] Then lists the Core and ?optional? GUI feature requirements. None of this states or infers that >=Ubuntu 18, >=Fedora 25, >=Debian 9 or >=CentOS 8. So we are left assuming that these unlisted platforms/versions, much like macOS 10.16, is ?Unsupported?! Hence my initial question/request for community knowledge/experience. I?m not seeking to stir up trouble (for a change). I?m seeking understanding and wisdom. If LC is Not Supported on later builds, what aspects do not function in your (plural, ie, everyones) experiences. Because LC write ?This section describes the platforms that we ensure the engine runs on without issue?, it would just be useful to know what issues later builds experienced. Thanks for the input though. Sean From merakosp at gmail.com Tue Dec 15 04:24:15 2020 From: merakosp at gmail.com (merakosp) Date: Tue, 15 Dec 2020 11:24:15 +0200 Subject: CentOS Death in 2021 In-Reply-To: References: <205ebe14-ec04-066a-52d8-b86d673cb600@fourthworld.com> Message-ID: Hello Sean, Off the top of my head, the main Linux issues that are currently unresolved are: 1. The player object is broken on all Linux distros. You might be able to workaround this by using shell commands with mplayer. 2. The browser widget is broken in most Linux distros. It might work for just displaying a webpage, but not for typing into input fields of the webpage. I am not sure if there is a workaround for this. 3. Also, you might experience window layering problems with some Linux window manager (e.g. Cinnamon). Hope this helps, Panos -- On Tue, 15 Dec 2020 at 10:42, Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > > > On 15 Dec 2020, at 02:52, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > As Mark Weider noted, the "official" support is merely a reflection of > their build system, and it relies on a version of Ubuntu still actively > getting security updates. > > That doesn?t seem to be stated or inferred in the release notes. It?s > under the heading ?Platform Support? which infers, like ?System > Requirements? might, ?This is what it will run on?. Indeed, under the > heading it states: > > >> The engine supports a variety of operating systems and versions. This > section describes the platforms that we ensure the engine runs on without > issue (although in some cases with reduced functionality). > > > Then under Linux it states: > > >> LiveCode supports the following Linux distributions, on 32-bit or > 64-bit Intel/AMD or compatible processors: > >> Ubuntu 14.04 and 16.04 > >> Fedora 23 & 24 > >> Debian 7 (Wheezy) and 8 (Jessie) [server] CentOS 7 [server] > > > Then lists the Core and ?optional? GUI feature requirements. None of this > states or infers that >=Ubuntu 18, >=Fedora 25, >=Debian 9 or >=CentOS 8. > > So we are left assuming that these unlisted platforms/versions, much like > macOS 10.16, is ?Unsupported?! Hence my initial question/request for > community knowledge/experience. I?m not seeking to stir up trouble (for a > change). I?m seeking understanding and wisdom. If LC is Not Supported on > later builds, what aspects do not function in your (plural, ie, everyones) > experiences. > > Because LC write ?This section describes the platforms that we ensure the > engine runs on without issue?, it would just be useful to know what issues > later builds experienced. > > Thanks for the input though. > > Sean > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Dec 15 06:48:43 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 15 Dec 2020 13:48:43 +0200 Subject: CentOS Death in 2021 In-Reply-To: References: <205ebe14-ec04-066a-52d8-b86d673cb600@fourthworld.com> Message-ID: <193a02a5-63c1-de38-59ca-2e6f7f4e4b8e@gmail.com> 1. I have never, ever experienced any problems at all with any versions of LiveCode on any versions of Xubuntu that are more 'modern' than 16.04. 2. Stir up trouble. Personally I think that LiveCode central are being a bit @#$%^&* claiming that LiveCode is cross-platform and not saying they support more recent versions than Ubuntu 16.04 and so on. And stirring up trouble means that I think they deserve a collective kick in the source-code for that. 3. As far as I can see (probably not very far), there is no difference in functionality between Xubuntu 16.04 and 20.10; admittedly though I stopped using 16.04 about April 2017, so I may have forgotten something. Richmond. On 15.12.20 10:40, Pi Digital via use-livecode wrote: > Hence my initial question/request for community knowledge/experience. I?m not seeking to stir up trouble (for a change). I?m seeking understanding and wisdom. If LC is Not Supported on later builds, what aspects do not function in your (plural, ie, everyones) experiences. From richmondmathewson at gmail.com Tue Dec 15 06:51:09 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 15 Dec 2020 13:51:09 +0200 Subject: CentOS Death in 2021 In-Reply-To: References: <205ebe14-ec04-066a-52d8-b86d673cb600@fourthworld.com> Message-ID: <2e087ffd-82cc-bebd-00d6-4a3cbd0e8eee@gmail.com> I would pick a small fight here. On 15.12.20 11:24, merakosp via use-livecode wrote: > Hello Sean, > > Off the top of my head, the main Linux issues that are currently unresolved > are: > > 1. The player object is broken on all Linux distros. You might be able to > workaround this by using shell commands with mplayer. I have a feeling that the player object is not broken as it NEVER worked properly on Linux in the first place. > > 2. The browser widget is broken in most Linux distros. It might work for > just displaying a webpage, but not for typing into input fields of the > webpage. I am not sure if there is a workaround for this. > > 3. Also, you might experience window layering problems with some Linux > window manager (e.g. Cinnamon). > > Hope this helps, > Panos > -- > > On Tue, 15 Dec 2020 at 10:42, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> On 15 Dec 2020, at 02:52, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> As Mark Weider noted, the "official" support is merely a reflection of >> their build system, and it relies on a version of Ubuntu still actively >> getting security updates. >> >> That doesn?t seem to be stated or inferred in the release notes. It?s >> under the heading ?Platform Support? which infers, like ?System >> Requirements? might, ?This is what it will run on?. Indeed, under the >> heading it states: >> >>>> The engine supports a variety of operating systems and versions. This >> section describes the platforms that we ensure the engine runs on without >> issue (although in some cases with reduced functionality). >> >> >> Then under Linux it states: >> >>>> LiveCode supports the following Linux distributions, on 32-bit or >> 64-bit Intel/AMD or compatible processors: >>>> Ubuntu 14.04 and 16.04 >>>> Fedora 23 & 24 >>>> Debian 7 (Wheezy) and 8 (Jessie) [server] CentOS 7 [server] >> >> Then lists the Core and ?optional? GUI feature requirements. None of this >> states or infers that >=Ubuntu 18, >=Fedora 25, >=Debian 9 or >=CentOS 8. >> >> So we are left assuming that these unlisted platforms/versions, much like >> macOS 10.16, is ?Unsupported?! Hence my initial question/request for >> community knowledge/experience. I?m not seeking to stir up trouble (for a >> change). I?m seeking understanding and wisdom. If LC is Not Supported on >> later builds, what aspects do not function in your (plural, ie, everyones) >> experiences. >> >> Because LC write ?This section describes the platforms that we ensure the >> engine runs on without issue?, it would just be useful to know what issues >> later builds experienced. >> >> Thanks for the input though. >> >> Sean >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Dec 15 12:05:10 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Dec 2020 09:05:10 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: <1afc3e9f-ae38-dd35-e0db-a486e88c9477@fourthworld.com> Sean Cole wrote: > On 15 Dec 2020, at 02:52, Richard Gaskin wrote: > >> As Mark Weider noted, the "official" support is merely a reflection >> of their build system, and it relies on a version of Ubuntu still >> actively getting security updates. > > That doesn?t seem to be stated or inferred in the release notes. Correct, which is why I cited Mark Weider. He and I have each had conversations with the core team on this, and what he wrote is correct. It seems this confusion arises from the ambiguity introduced by having "LiveCode" mean multiple different things: it's the product, it's the language the product runs on, and it's the company. I just submitted a docs request on this, suggesting that in the Release Notes they change: "LiveCode supports the following Linux distributions..." ...to: "LiveCode Ltd supports the following Linux distributions..." ...so it becomes clearer that the limitation is only with regard to the company's commitment to provide technical support, and not a contradiction of the clarification they provide later in the Notes about the full scope of expected compatibility: https://quality.livecode.com/show_bug.cgi?id=23035 -- 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 htorrado at networkdreams.net Tue Dec 15 12:26:17 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Tue, 15 Dec 2020 12:26:17 -0500 Subject: CentOS Death in 2021 In-Reply-To: References: <3645CAA2-CB99-4BB2-A12E-761D5060558A@pidigital.co.uk> <212c433e-fbd1-12ec-f06c-f95da4f793f4@gmail.com> Message-ID: <8a48e857-279f-42db-70c1-5eee77a819b8@networkdreams.net> Hi Sean & Richmond, I think it is best to only?support LTS versions and just one desktop (Gnome).? This will standardize the platform a bit (Hey, I don't want to start a flame, I'm just saying that Gnome and Ubuntu / Debian are the most used). The problem with LINUX is the sheer number of different desktops and configurations out there. A small company like Livecode cannot be pretended to support all of these variations. I believe that if Debian LTS is supported, Ubuntu will automatically be supported. Ubuntu is a derivative of Debian, so theoretically they should be compatible.? With the death of CENTOS there will be a massive migration of people to other distros (like us) and I think Debian and Ubuntu will be the winners. However, it is true that many certified hardware and many government platforms only support RedHat / CENTOS.? Especially those in which you have to comply with certifications and bureaucratic regulations. So escaping from IBM is not an option for a big-medium size business. I only code in Livecode with Linux.? Honestly, one of the reasons that led me to choose Livecode over other solutions was its Linux support. Best, Hery On 12/14/20 8:19 PM, Sean Cole (Pi) via use-livecode wrote: > Hi Richmond, > > You're probably right. However, with security issues constantly needing > keeping up to date with, it's probably worth working out if it is worth > supporting Linux at all, then. If they, LC, feel it 'is' worth supporting > Linux, it is surely, then, essential to keep up with these latest versions > to help their customers avoid security issues. > > That, I guess, is an issue in of itself. It is remarkable LC is as well > supporting of newish OS's as it is, particularly MacOS and Win10, keeping > security by encryption and TLS, etc, up to date. Linux is a wayward child, > however. Difficult to keep on top off. Even though their update cycles are > not as frequent as Win/Mac. > > Thanks > > Sean Cole > *Pi Digital * > > On Mon, 14 Dec 2020 at 08:14, Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> "I wonder why LC don?t state support for later Ubuntu, Fedora or Debian >> builds?" >> >> I suspect that LiveCode believes that the uptake of the Linux version is >> insufficient to justify the effort of testing LC on those platforms. >> >> Richmond. >> >> On 14.12.20 2:20, Pi Digital via use-livecode wrote: >>> Thanks all. These insights are useful. Hery?s explanation of their >> choice to move to Debian provides a good argument. I had just tried Ubuntu >> 20.04 in a parallels virtual machine and my server app worked ok. I will >> try a Debian build too. I wonder why LC don?t state support for later >> Ubuntu, Fedora or Debian builds? >>> Sean Cole >>> Pi Digital >>> >>>> On 13 Dec 2020, at 19:27, Heriberto Torrado via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> ?Hi Sean, >>>> >>>> I've been using LiveCode on Ubuntu 16.04 and 18.04 for years (Servers >> and Desktops) and it worked fine. A years ago we migrated everything to >> CentOS / RedHat and Fedora (development machines and servers). However, we >> are going to migrate everything to Debian. >>>> Debian is very stable and offers the same user experience on Laptops, >> Workstations and Servers. >>>> Ubuntu is a good system, but after the drift from CentOS with IBM I >> don't want to put the heart of our systems in the hands of any big company. >>>> What would happen if tomorrow Ubuntu is acquired by Microsoft and they >> decide to charge money for it? That's not the case with Debian: Debian is >> completely independent and rock solid. >>>> I live between Madrid and New York and in both cities there are good >> professional companies who offer commercial technical support for Debian, >> so you don't need any big and greedy corps getting their hands on your IT >> systems. >>>> Best, >>>> Hery >>>> >>>> >>>> >>>> >>>>> On 12/13/20 12:40 PM, Sean Cole (Pi) via use-livecode wrote: >>>>> Hi all, >>>>> >>>>> I just heard the news that RedHat is going to be dropping support for >>>>> CentOS. With my recent issues with PDF Printing in CentOS, I was >> already >>>>> looking to perhaps try out CentOS8 or another Dist. but now we have >> this >>>>> news I'm thinking of going to Ubuntu. >>>>> >>>>> The release notes for LC says it supports Ubuntu 16.04, which is cool. >> But >>>>> I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. >> Is >>>>> anyone out there running LC on one of these later builds of Ubuntu? I'd >>>>> like to hear your thoughts. Or maybe I should be looking at Fedora. >>>>> >>>>> All the very best >>>>> >>>>> Sean Cole >>>>> *Pi Digital * >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Dec 15 12:38:50 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 15 Dec 2020 09:38:50 -0800 Subject: CentOS Death in 2021 In-Reply-To: <193a02a5-63c1-de38-59ca-2e6f7f4e4b8e@gmail.com> References: <205ebe14-ec04-066a-52d8-b86d673cb600@fourthworld.com> <193a02a5-63c1-de38-59ca-2e6f7f4e4b8e@gmail.com> Message-ID: <2ab3af4f-a7af-30aa-b1b5-42966c4955ca@sonic.net> On 12/15/20 3:48 AM, Richmond via use-livecode wrote: > 2. Stir up trouble. > > Personally I think that LiveCode central are being a bit @#$%^&* > claiming that LiveCode > is cross-platform and not saying they support more recent versions than > Ubuntu 16.04 and so on. > > And stirring up trouble means that I think they deserve a collective > kick in the source-code for that. I may be in the minority on my opinion on this, and judging from the feedback I expect from this post that may be an understatement, but... I think the team is correct in this. Support means more than "we think this works". Since they currently build and test each released version on an older linux distro, they can't really claim to "support" later versions, even though we can empirically verify that there is essentially no difference when running LC on other/later linuxes. Claiming support would mean dedicating resources to changing the build process, verifying that the resulting build performed to spec on whatever linux version, and also on an ongoing basis dedicating support team resources to whatever issues may arise on the newly officially supported platforms. And at present there's very little ROI for making these changes. Even the modifications that a few of us do contribute require redirecting company resources to verify (or not) before merging into the corpus of releasable code, and with the current worldwide situation I doubt there's a lot of free time to squeeze into redirection from actual revenue-producing streams. Since Ubuntu's EOL date is coming up in the next few months, I expect that the build platform may change soon. But since I can compile from source here on linux mint 20 (Ubuntu based) (as long as I modify the gyp file as in my PR) I don't expect major hiccups nor any major expense in team resources from this migration. > > 3. As far as I can see (probably not very far), there is no difference > in functionality between Xubuntu 16.04 and 20.10; See above, but yes, I agree. -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Tue Dec 15 13:30:40 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 15 Dec 2020 18:30:40 +0000 Subject: CentOS Death in 2021 In-Reply-To: <2ab3af4f-a7af-30aa-b1b5-42966c4955ca@sonic.net> References: <2ab3af4f-a7af-30aa-b1b5-42966c4955ca@sonic.net> Message-ID: But that does not seem to correlate to the way it is for MacOS or Win. Are you saying they compile from all of those versions of MacOS and Win they reference to supporting. This is a very odd use of semantics. When reading about LiveCode support, to me it doesn?t matter if it is LC Ltd or the LC app. The two are pretty much interchangeable. Both the software and the company Support xyz platform version. It?s not like LC make many/any other products. Especially as the release notes are written SPECIFICALLY for LC the product, not in reference to the company. I cannot see where this inference is coming from. Basically put, if they can?t build it in, for example, Ubuntu 20, then it is not supported fully because of some minor/major issue. So, going back to my question of: what issues have led to support not being passed for them that has led to release notes purposefully omitting mention of these later versions of Linux disro?s? Sean Cole Pi Digital From sean at pidigital.co.uk Tue Dec 15 13:33:45 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 15 Dec 2020 18:33:45 +0000 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: <8056E73B-70E6-4F70-A97D-304D797F5253@pidigital.co.uk> Thanks Panos. My main concern of late has been the PDF output font rendering in CentOS and I am hoping that it will be better in Ubuntu or another distro. But I?m guessing I?m going to have to do a whole heap of testing to find out. Sean Cole Pi Digital > On 15 Dec 2020, at 09:24, merakosp via use-livecode wrote: > > ?Hello Sean, > > Off the top of my head, the main Linux issues that are currently unresolved > are: > > 1. The player object is broken on all Linux distros. You might be able to > workaround this by using shell commands with mplayer. > > 2. The browser widget is broken in most Linux distros. It might work for > just displaying a webpage, but not for typing into input fields of the > webpage. I am not sure if there is a workaround for this. > > 3. Also, you might experience window layering problems with some Linux > window manager (e.g. Cinnamon). > > Hope this helps, > Panos > -- > >> On Tue, 15 Dec 2020 at 10:42, Pi Digital via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> >>> On 15 Dec 2020, at 02:52, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> As Mark Weider noted, the "official" support is merely a reflection of >> their build system, and it relies on a version of Ubuntu still actively >> getting security updates. >> >> That doesn?t seem to be stated or inferred in the release notes. It?s >> under the heading ?Platform Support? which infers, like ?System >> Requirements? might, ?This is what it will run on?. Indeed, under the >> heading it states: >> >>>> The engine supports a variety of operating systems and versions. This >> section describes the platforms that we ensure the engine runs on without >> issue (although in some cases with reduced functionality). >> >> >> Then under Linux it states: >> >>>> LiveCode supports the following Linux distributions, on 32-bit or >> 64-bit Intel/AMD or compatible processors: >>>> Ubuntu 14.04 and 16.04 >>>> Fedora 23 & 24 >>>> Debian 7 (Wheezy) and 8 (Jessie) [server] CentOS 7 [server] >> >> >> Then lists the Core and ?optional? GUI feature requirements. None of this >> states or infers that >=Ubuntu 18, >=Fedora 25, >=Debian 9 or >=CentOS 8. >> >> So we are left assuming that these unlisted platforms/versions, much like >> macOS 10.16, is ?Unsupported?! Hence my initial question/request for >> community knowledge/experience. I?m not seeking to stir up trouble (for a >> change). I?m seeking understanding and wisdom. If LC is Not Supported on >> later builds, what aspects do not function in your (plural, ie, everyones) >> experiences. >> >> Because LC write ?This section describes the platforms that we ensure the >> engine runs on without issue?, it would just be useful to know what issues >> later builds experienced. >> >> Thanks for the input though. >> >> Sean >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Dec 15 13:59:34 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 15 Dec 2020 20:59:34 +0200 Subject: CentOS Death in 2021 In-Reply-To: <2ab3af4f-a7af-30aa-b1b5-42966c4955ca@sonic.net> References: <205ebe14-ec04-066a-52d8-b86d673cb600@fourthworld.com> <193a02a5-63c1-de38-59ca-2e6f7f4e4b8e@gmail.com> <2ab3af4f-a7af-30aa-b1b5-42966c4955ca@sonic.net> Message-ID: <30e458cb-de59-d9c6-f2a9-889644bf478a@gmail.com> Well . . . they could install a later version of Ubuntu (takes about 30-120 minutes) and build and test on that version. Surely not that arduous. Best, Richmond. On 15.12.20 19:38, Mark Wieder via use-livecode wrote: > On 12/15/20 3:48 AM, Richmond via use-livecode wrote: > >> 2. Stir up trouble. >> >> Personally I think that LiveCode central are being a bit @#$%^&* >> claiming that LiveCode >> is cross-platform and not saying they support more recent versions >> than Ubuntu 16.04 and so on. >> >> And stirring up trouble means that I think they deserve a collective >> kick in the source-code for that. > > I may be in the minority on my opinion on this, and judging from the > feedback I expect from this post that may be an understatement, but... > > I think the team is correct in this. > Support means more than "we think this works". > > Since they currently build and test each released version on an older > linux distro, they can't really claim to "support" later versions, > even though we can empirically verify that there is essentially no > difference when running LC on other/later linuxes. Claiming support > would mean dedicating resources to changing the build process, > verifying that the resulting build performed to spec on whatever linux > version, and also on an ongoing basis dedicating support team > resources to whatever issues may arise on the newly officially > supported platforms. > > And at present there's very little ROI for making these changes. Even > the modifications that a few of us do contribute require redirecting > company resources to verify (or not) before merging into the corpus of > releasable code, and with the current worldwide situation I doubt > there's a lot of free time to squeeze into redirection from actual > revenue-producing streams. > > Since Ubuntu's EOL date is coming up in the next few months, I expect > that the build platform may change soon. But since I can compile from > source here on linux mint 20 (Ubuntu based) (as long as I modify the > gyp file as in my PR) I don't expect major hiccups nor any major > expense in team resources from this migration. > >> >> 3. As far as I can see (probably not very far), there is no >> difference in functionality between Xubuntu 16.04 and 20.10; > > See above, but yes, I agree. > From ambassador at fourthworld.com Tue Dec 15 19:14:54 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Dec 2020 16:14:54 -0800 Subject: CentOS Death in 2021 In-Reply-To: <30e458cb-de59-d9c6-f2a9-889644bf478a@gmail.com> References: <30e458cb-de59-d9c6-f2a9-889644bf478a@gmail.com> Message-ID: <7cfed7be-6cb1-e0d1-235b-479729609431@fourthworld.com> Richmond wrote: > Well . . . they could install a later version of Ubuntu (takes about > 30-120 minutes) and build and test on that version. > > Surely not that arduous. Exactly how sure are you? What they need to do is more than what customers need to do. How familiar are you with the LC build system in Edinburgh? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From neville.smythe at optusnet.com.au Tue Dec 15 19:32:33 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 16 Dec 2020 11:32:33 +1100 Subject: Secure connection to server Message-ID: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> A little while ago in this forum we were alerted to the fact that LC direct connection to a remote database not using SSL was a security hole. This also applies to managing Mailman lists on a remote server. After a steep (re-)learning curve with the various technologies, I now have a working method in place for both mysql and Mailman connections, using php as middleware and posting via curl in a shell script. But it is sooo slooow. Direct connection downloaded an sql query in a fraction of a second. It now takes over a second. This is acceptable (barely) for an isolated call, but I sometimes need to make a sequence of posts. As I understand it, the slowness is due to the time required to establish the secure connection, not an LC problem. For example establishing an ssh connection in Terminal is even slower; but once established an ssh session is super fast. Similarly curl will reuse authentication credentials within a shell session, so I aggregate as many calls as I can with a single shell script before using shell(myscript), and this definitely helps. What I would like to do however is use LC server as the middleware: I could then process the required data on the server side; I could not contemplate using php to do this. I suspect the LC post command uses curl under the hood, but I also suspect each post call would create its own session. I don?t think it is possible to establish a single session to talk sequentially to lcserver; if so this would be too slow. Am I correct? Actually I guess I could just use my present method using curl and shell() instead of post, but addressed to an .lc script instead of .php? Or is there a whole better way to do what I want? Neville Smythe From ambassador at fourthworld.com Tue Dec 15 20:00:31 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Dec 2020 17:00:31 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: <148d9852-3227-c447-6af1-5be17fec5289@fourthworld.com> Pi Digital wrote: > But that does not seem to correlate to the way it is for MacOS or Win. > Are you saying they compile from all of those versions of MacOS and > Win they reference to supporting. Mac and Windows are each made by a single organization, with specs defining compatibility. "Linux" isn't an OS per se, it's a family of OSes, where the one thing they all have in common is some form of the Linux kernel. Lots of combinations are possible, from distros made for tiny IoT devices to clusters of supercomputers, and just about everything in between. Thinking about the wide open world of Linux in the same terms one things about monolithic OSes made by single companies for narrowly-defined hardware can lead to a wide range of issues. Here, the core issue is expectations management. Personally, I find this guidance very useful, and is more succinct than I've seen from other Linux software vendors: The requirements for GUI functionality are also required by Firefox and Chrome, so if your Linux distribution runs one of those, it will run LiveCode. > When reading about LiveCode support, to me it doesn?t matter if it > is LC Ltd or the LC app. The two are pretty much interchangeable. One is a business, the other is a technology stack. The difference may not matter to you, but it matters to them, and understandably so: LiveCode-the-software runs on such a wide range of Linux systems it would be impractical for the folks at LiveCode-the-company to commit support resources for them all. So while a good many of us enjoy running LiveCode-the-software on anything we get our hands on, we respect that LiveCode-the-company isn't in a position to provide guidance if our choices don't line up with the systems they've chosen to support. > ...the release notes are written SPECIFICALLY for LC the product, not > in reference to the company. Clearly I agree that the wording in the Release Notes can too easily give that impression, which is why I submitted the enhancement request to clarify it: https://quality.livecode.com/show_bug.cgi?id=23035 > I cannot see where this inference is coming from. It is not an inference. I'm familiar with qualifiers like "might be", and use them liberally. I did not use a qualifier here, because in this case I'm drawing from direct conversation with a key member of the core team. The explanation I conveyed to you was given to me a while back by Dr Peter Brett in one of my ongoing Community Liaison meetings I have with the company. This is why I wrote: "...cited Mark Weider. He and I have each had conversations with the core team on this, and what he wrote is correct." I have no reason to make this up. When I take time to write to you it's because I'm doing my best to provide you with the best information I have. > Basically put, if they can?t build it in, for example, Ubuntu 20, then > it is not supported fully because of some minor/major issue. Have you considered the possibility that not everything in the build system is made in LiveCode? It's quite a beast they have there, compiling on each platform, shuffling the packages around to build installers, zips, and DMGs, each containing engines for multiple platforms. A great many components in the long tool chain used to build a LiveCode installer are not written in LiveCode. Each has their own dependencies, and changing one part sometimes means changing others in an intricate ripple effect. Funny thing is, those of us who use LiveCode on Linux daily are the least bothered by these support commitment things. Let our experience be of help where it can: LiveCode runs well on Ubuntu 18.04 and Ubuntu 20.04, with the exceptions Panos noted earlier. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Tue Dec 15 23:14:22 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 16 Dec 2020 04:14:22 +0000 Subject: CentOS Death in 2021 In-Reply-To: <148d9852-3227-c447-6af1-5be17fec5289@fourthworld.com> References: <148d9852-3227-c447-6af1-5be17fec5289@fourthworld.com> Message-ID: It?s this kind of rhetoric that drive me to madness and then getting a used of being abusive as I defend what I?ve said. Richard, there is no need as you have clearly misinterpreted practically everything I said in an effort to get some kind of oneupmanship. >> On 16 Dec 2020, at 01:00, Richard Gaskin via use-livecode wrote: >> >> ?Pi Digital wrote: >> >> But that does not seem to correlate to the way it is for MacOS or Win. >> Are you saying they compile from all of those versions of MacOS and >> Win they reference to supporting. > > Mac and Windows are each made by a single organization, with specs defining compatibility. > > "Linux" isn't an OS per se, it's a family of OSes, where the one thing they all have in common is some form of the Linux kernel. Show Quoted Content >> On 16 Dec 2020, at 01:00, Richard Gaskin via use-livecode wrote: >> >> ?Pi Digital wrote: >> >> But that does not seem to correlate to the way it is for MacOS or Win. >> Are you saying they compile from all of those versions of MacOS and >> Win they reference to supporting. > > Mac and Windows are each made by a single organization, with specs defining compatibility. > > "Linux" isn't an OS per se, it's a family of OSes, where the one thing they all have in common is some form of the Linux kernel. Debian is Debian. Ubuntu is Ubuntu. Red hat is red hat. Blah blah. This is not my issue. Get the net. >> When reading about LiveCode support, to me it doesn?t matter if it >> is LC Ltd or the LC app. The two are pretty much interchangeable. > > One is a business, the other is a technology stack. The difference may not matter to you, but it matters to them, and understandably so... > Point entirely missed! We are wholly talking about its mention in the release notes and that the ambiguation is not made evident and can ONLY be understood in the context of a release note under the heading of OS support that it refers to the support by the software of a given OS. Sheesh, I?m surprised I have to spell this out to you. Why do you pick on me as if, in this instance, I am trying to criticise LC (Ltd) in any way. > >> ...the release notes are written SPECIFICALLY for LC the product, not >> in reference to the company. > > Clearly I agree that the wording in the Release Notes can too easily give that impression, which is why I submitted the enhancement request to clarify it: > https://quality.livecode.com/show_bug.cgi?id=23035 > > >> I cannot see where this inference is coming from. > > It is not an inference. I'm familiar with qualifiers like "might be", and use them liberally. I did not use a qualifier here, because in this case I'm drawing from direct conversation with a key member of the core team. > > The explanation I conveyed to you was given to me a while back by Dr Peter Brett in one of my ongoing Community Liaison meetings I have with the company. Show Quoted Content > >> ...the release notes are written SPECIFICALLY for LC the product, not >> in reference to the company. > > Clearly I agree that the wording in the Release Notes can too easily give that impression, which is why I submitted the enhancement request to clarify it: > https://quality.livecode.com/show_bug.cgi?id=23035 > > >> I cannot see where this inference is coming from. > > It is not an inference. I'm familiar with qualifiers like "might be", and use them liberally. I did not use a qualifier here, because in this case I'm drawing from direct conversation with a key member of the core team. > > The explanation I conveyed to you was given to me a while back by Dr Peter Brett in one of my ongoing Community Liaison meetings I have with the company. PB hasn?t worked there in a while so I?m guessing that conversation has disappeared into obscurity. > > This is why I wrote: "...cited Mark Weider. He and I have each had > conversations with the core team on this, and what he wrote is correct." > > I have no reason to make this up. When I take time to write to you it's because I'm doing my best to provide you with the best information I have Misunderstood as it is. > >> Basically put, if they can?t build it in, for example, Ubuntu 20, then >> it is not supported fully because of some minor/major issue. > > Have you considered the possibility that not everything in the build system is made in LiveCode? I know all this so yes it?s not only considered but fully appreciated. This is not a complaint. It?s a situation I find myself facing with legitimate questions around what I should do best case for the future. > > Funny thing is, those of us who use LiveCode on Linux daily are the least bothered by these support commitment things. > > Let our experience be of help where it can: LiveCode runs well on Ubuntu 18.04 and Ubuntu 20.04, with the exceptions Panos noted earlier. And PDF rendering as I noted earlier, which is my main concern along with security of up to date code and capability of being supported by my remote server host in some years time. What of Fedora and Debian? These are my other concerns. Please stop picking on me and using semantics against me. It?s not helpful. And does not do my mental health (as an autistic, BPD, manic depressive, suicide watched, paranoid schizophrenic) any good by treating me with such barrages so you can later go on the defensive and point the finger back at me for asking reasonable questions. [Head meet wall] From richmondmathewson at gmail.com Wed Dec 16 00:19:52 2020 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Dec 2020 07:19:52 +0200 Subject: CentOS Death in 2021 In-Reply-To: <7cfed7be-6cb1-e0d1-235b-479729609431@fourthworld.com> References: <30e458cb-de59-d9c6-f2a9-889644bf478a@gmail.com> <7cfed7be-6cb1-e0d1-235b-479729609431@fourthworld.com> Message-ID: I am not familiar at all. But, having built an LC version for Linux it can then be tested on a recent Linux distro. On 16.12.20 2:14, Richard Gaskin via use-livecode wrote: > Richmond wrote: > > Well . . . they could install a later version of Ubuntu (takes about > > 30-120 minutes) and build and test on that version. > > > > Surely not that arduous. > > Exactly how sure are you? > > What they need to do is more than what customers need to do. > > How familiar are you with the LC build system in Edinburgh? > > -- > ?Richard Gaskin > ?Fourth World Systems > ?Software Design and Development for the Desktop, Mobile, and the Web > ?____________________________________________________________________ > ?Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 16 00:55:44 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Dec 2020 23:55:44 -0600 Subject: Slow performance on Big Sur In-Reply-To: References: <8B7C36E6-50D0-4D94-A888-2824002107D8@gmail.com> <9568d94c-2667-3944-0843-e98459cb1004@hyperactivesw.com> Message-ID: <09a56c08-fce4-7a67-a7c2-9957557d96ad@hyperactivesw.com> I had my client try it. Adding "wait 0 milliseconds" after a "go card" didn't make any difference really. The first four card changes were pretty fast, and after that it got slower and slower with each subsequent card change. I was watching her screen remotely but I couldn't see it due to how remote viewing works, but she said the redraw was quite noticeable. On 12/14/20 4:45 PM, merakosp via use-livecode wrote: > Hello all, > > Does adding a after the command make > any difference? > > Cheers, > Panos -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Dec 16 01:23:39 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Dec 2020 22:23:39 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: Sean - This thread began with a concern over how Linux compatibility is described in the Release Notes. I proposed a solution, but it didn't resonate. Perhaps a different approach may work: The audience for the Release Notes is developers, and what developers need to know is where LiveCode the application can be deployed. Any consideration about specific distros the company provides technical support for is arguably inappropriate in Release Notes altogether. First, technical support obligations are better described in the license offer. And second,they don't apply at all with Community Edition where the company has no technical support obligations. So... Since what we want to know is on which Linux distros LiveCode is known to run well on, would replacing "support" with "runs on" suffice? Of course we may touch up a few other sentence so it flows nicely, but do I understand correctly that the concern is to know where LC runs? If this suggestion doesn't cover what you're looking for, what would you prefer to see there? -- Richard Gaskin Fourth World Systems From ambassador at fourthworld.com Wed Dec 16 01:27:50 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Dec 2020 22:27:50 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: Richmond wrote: >On 16.12.20 2:14, Richard Gaskin via use-livecode wrote: >> Richmond wrote: >> > Well . . . they could install a later version of Ubuntu (takes >> > about 30-120 minutes) and build and test on that version. >> > >> > Surely not that arduous. >>... >> How familiar are you with the LC build system in Edinburgh? > > I am not familiar at all. > > But, having built an LC version for Linux it can then be tested on > a recent Linux distro. It once seemed that simple to me too. Mark Weider handled that very well this afternoon: http://lists.runrev.com/pipermail/use-livecode/2020-December/262712.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Wed Dec 16 04:39:34 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 16 Dec 2020 09:39:34 +0000 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: Ah, i see your POV now. You distinguish a difference between ?runs on? and ?deploys on?. Where as I infer that there is no difference and that ?supports? is as ?system requirements? or ?supported systems?. The document is aimed at users of Livecode who, of course are developers but, are also making use of the IDE. So, imho I would see a need to have perhaps a separate part for each then. A runs on and deploys to section. More than just runs on in fact. That infers that it can chug along on with fits and starts. But a ?system recommendation for development?. And THEN a section for ?systems supported for deployment? or ?standalone system requirements? to keep the same vernacular as the IDE itself. With known issues covering both the IDE and Deployment as two separate sections also. But ideally I would assume that these would be the same for both environments - with the exception of course of Android, iOS, iPadOS (there is a distinction now), iWatchOS (knowing full well this is not supported at all), HTML5, etc. And then the requirement for Linux to have these separate libraries installed on BOTH the IDE machine AND the ?end users? Linux machine running the standalone should be made all the more clearer. Perhaps the ?installation? section should be separated entirely into the three main platforms with Linux being given a little more care in referring to each Linux distro in turn where needed. To me, because CentOS is only referred to in the release notes and only under the support section is where the inference occurred and why it seemed reasonable to assume that this referred both to IDE and deployment supports. And this difference in observation was neither made clear in my posts nor your responses which is where the misunderstandings occurred. So.... Back to my OP. - What system build of Linux should I best install in Parallels virtual and Server Remote Host for deployment should I run with? Given the choices of potentially having LC IDE running as the ?live? software stack on the server itself (which is not the best way to run it, but potentially a method that is usable for our purposes perhaps). - Which systems of Linux can we safely develop and test in? - And then, which systems of Linux can we safely deploy and run in? And what are the known issues for both develop/test, and deploy/run? Sean > On 16 Dec 2020, at 06:23, Richard Gaskin via use-livecode wrote: > > So... > > Since what we want to know is on which Linux distros LiveCode is known to run well on, would replacing "support" with "runs on" suffice? From sean at pidigital.co.uk Wed Dec 16 04:46:56 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 16 Dec 2020 09:46:56 +0000 Subject: Slow performance on Big Sur In-Reply-To: <09a56c08-fce4-7a67-a7c2-9957557d96ad@hyperactivesw.com> References: <09a56c08-fce4-7a67-a7c2-9957557d96ad@hyperactivesw.com> Message-ID: What about using ?lock screen?? Then go card. For preopen it ?shouldn?t? make a difference but I have found this to be a cause for stammering in the past. Don?t bother putting an ?unlock screen? at the end of the preopencard or opencard as it will unlock itself at the end of the open sequence anyway (as I?m sure you?re already aware). Sean > On 16 Dec 2020, at 05:55, J. Landman Gay via use-livecode wrote: > > ?I had my client try it. Adding "wait 0 milliseconds" after a "go card" didn't make any difference really. The first four card changes were pretty fast, and after that it got slower and slower with each subsequent card change. I was watching her screen remotely but I couldn't see it due to how remote viewing works, but she said the redraw was quite noticeable. > >> On 12/14/20 4:45 PM, merakosp via use-livecode wrote: >> Hello all, >> Does adding a after the command make >> any difference? >> Cheers, >> Panos > > > -- > 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 merakosp at gmail.com Wed Dec 16 06:11:47 2020 From: merakosp at gmail.com (merakosp) Date: Wed, 16 Dec 2020 13:11:47 +0200 Subject: Slow performance on Big Sur In-Reply-To: References: <09a56c08-fce4-7a67-a7c2-9957557d96ad@hyperactivesw.com> Message-ID: Hello all, We have tried to reproduce this issue on Big Sur, but with no success. We have filed a report for this issue - could you please attach a stack (and a recipe) that demonstrates the problem here: https://quality.livecode.com/show_bug.cgi?id=23037 If the stack is confidential, feel free to email it directly to us ( panos.merakos at livecode.com) Kind regards, Panos -- On Wed, 16 Dec 2020 at 11:47, Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > What about using ?lock screen?? Then go card. For preopen it ?shouldn?t? > make a difference but I have found this to be a cause for stammering in the > past. Don?t bother putting an ?unlock screen? at the end of the > preopencard or opencard as it will unlock itself at the end of the open > sequence anyway (as I?m sure you?re already aware). > > Sean > > > > On 16 Dec 2020, at 05:55, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?I had my client try it. Adding "wait 0 milliseconds" after a "go card" > didn't make any difference really. The first four card changes were pretty > fast, and after that it got slower and slower with each subsequent card > change. I was watching her screen remotely but I couldn't see it due to how > remote viewing works, but she said the redraw was quite noticeable. > > > >> On 12/14/20 4:45 PM, merakosp via use-livecode wrote: > >> Hello all, > >> Does adding a after the command > make > >> any difference? > >> Cheers, > >> Panos > > > > > > -- > > 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 ambassador at fourthworld.com Wed Dec 16 12:34:50 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Dec 2020 09:34:50 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: <2af6de5e-47ba-05c0-e8bf-07f48bfcf55f@fourthworld.com> Pi Digital wrote: > Ah, i see your POV now. You distinguish a difference between ?runs on? > and ?deploys on?. Where as I infer that there is no difference and > that ?supports? is as ?system requirements? or ?supported systems?. To me "runs on" and "deploys on" can only be the same thing when discussing a system like LiveCode, where the IDE is made from the same engine as a standalone. According to at least one core team member, the distinction with "supported" is that they viewed it as "things the company is publicly committing to provide technical support resources for", which of course is a subset of "runs on". Indeed, "supported" in that sense isn't even a technical consideration as much as a business one, arguably cause for replacing the word "supported" with something else that has no implications for business expense obligations. > The document is aimed at users of Livecode who, of course are > developers but, are also making use of the IDE. So, imho I would see > a need to have perhaps a separate part for each then. A runs on and > deploys to section. I'm not opposed to the idea at all, but what circumstances would create a difference between the two for any GUI desktop platform, given that the LC IDE stacks are driven by the same engine that runs our stacks? > More than just runs on in fact. That infers that it can chug along on > with fits and starts. But a ?system recommendation for development?. > And THEN a section for ?systems supported for deployment? or > ?standalone system requirements? to keep the same vernacular as the > IDE itself. With known issues covering both the IDE and Deployment as > two separate sections also. Ah - that distinction makes solid sense to me, and we often see two sets of listings for sys reqs, "Minimum" and "Recommended". For the IDE, this can be known, and would be helpful if provided. For our applications it cannot be known by any author of a Release Notes, because they can't know what we're going to be doing with the engine. I can make super-lean apps that fly and super-bloated apps that crawl, but I can't expect their company to provide guidance for me on either; the range of resource usage combinations is simply too vast, and being my work and not theirs they can't know what I'm doing. But for the IDE, yes with two thumbs up to having separate "Minimum" and "Recommended" resource requirements listings. Do I understand your request on that one? > And then the requirement for Linux to have these separate libraries > installed on BOTH the IDE machine AND the ?end users? Linux machine > running the standalone should be made all the more clearer. Perhaps > the ?installation? section should be separated entirely into the three > main platforms with Linux being given a little more care in referring > to each Linux distro in turn where needed. Whether the dependencies are better handled if moved from "Requirements" to "Installation" I'll leave to them. FWIW I've never encountered a desktop Linux system that could run a browser but not run LiveCode, so for me their guidance on that has proven consistently true. Where more specific details are needed, their listing of required packages appears to be complete. > Back to my OP. > - What system build of Linux should I best install in Parallels > virtual and Server Remote Host for deployment should I run with? > Given the choices of potentially having LC IDE running as the ?live? > software stack on the server itself (which is not the best way to run > it, but potentially a method that is usable for our purposes perhaps). What is the benefit of running the LC IDE on a server, as opposed to a standalone? Do you need a GUI there at all? Either way, I believe Heriberto made a solid case yesterday for Ubuntu. As the most popular distro, it has more docs, tutorials, and community support, and more de facto testing. It's also the leading choice for computer manufacturers shipping with Linux preinstalled, like Dell's XP line and similar from HP, Acer, and others. Whether Ubuntu's fixed release schedule is a feature or a bug is a matter of taste, but personally I like knowing exactly how long I have with an OS version before I commit to rolling it out, and most admins I know do too. - Which systems of Linux can we safely develop and test in? For GUI installations, my experience supports the guidance LC Ltd provides in the Release Notes: if it can run a browser, it can run LC. I've personally run LC on Ubuntu, Xubuntu, Lubuntu, Pop!_OS, Mint, Fedora, Debian, and a few others. > - And then, which systems of Linux can we safely deploy and run in? > And what are the known issues for both develop/test, and deploy/run? In my experience all of the above plus Raspian, if you avoid a couple of known trouble spots with that older LC on Linux/ARM (menus crash, but other command UI elements like buttons work great so sometimes not an issue depending on the app). I've run LC Server and faceless standalones on all the ones listed plus Ubuntu Core (both Intel and ARM), CentOS, and Enterprise SUSE. I haven't read the LC Server Release Notes in a long time, but IIRC the guidance there reflects my personal experience. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Wed Dec 16 12:37:32 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 16 Dec 2020 09:37:32 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: <531fe475-9fdc-4c86-d0d1-3a8a23591fc6@sonic.net> On 12/16/20 1:39 AM, Pi Digital via use-livecode wrote: > Back to my OP. > - What system build of Linux should I best install in Parallels virtual and Server Remote Host for deployment should I run with? Given the choices of potentially having LC IDE running as the ?live? software stack on the server itself (which is not the best way to run it, but potentially a method that is usable for our purposes perhaps). > - Which systems of Linux can we safely develop and test in? > - And then, which systems of Linux can we safely deploy and run in? And what are the known issues for both develop/test, and deploy/run? Sean- You're dangerously close to getting into religious wars here But for my money (ask any three linux devs and you'll get ten answers) I'd install the latest debian build, verify that everything's working, and leave it at that. I don't expect you'd get any surprises that way, but if you do then I'd back down to the latest ubuntu build. That said, I'm running the latest linux mint cinnamon on a ubuntu base, and I tend to push the engine to its limits. I can always find ways to get into trouble, but I have to work at it. Otherwise rock solid. ...and the usual caveats apply, of course. No browser or media support. Hope this helps. -- Mark Wieder ahsoftware at gmail.com From irog at mac.com Wed Dec 16 15:35:28 2020 From: irog at mac.com (Roger Guay) Date: Wed, 16 Dec 2020 12:35:28 -0800 Subject: Spoke Too Soon Message-ID: <9119C4F6-7546-4660-937C-B822752F8EC0@mac.com> Well, after thinking everything was fine with LC 9.6 running in Mac OS Big Sur on the new MBP with the M1 chip, I now find major problems: 1. Tools menu. Menubar and other plugins open in very strange areas 2. MouseEvents are not recognized 3 Overall, Dead in the water!! Any suggestions would be geratly appreciated. Roger From devin_asay at byu.edu Wed Dec 16 16:21:20 2020 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 16 Dec 2020 21:21:20 +0000 Subject: Loading fonts not working Message-ID: <6EDDFE2E-EF21-4EC1-9D32-B3F2715648E1@byu.edu> Hi all, I recently upgraded my Mac to Catalina, and I notice now that I can?t dynamically load ttf or otf fonts with ?start using font file?.? I always get the error message ?can?t load font file?. It worked fine before I upgraded. Has anyone else seen this? Devin Devin Asay Director Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Wed Dec 16 16:36:32 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Dec 2020 15:36:32 -0600 Subject: Slow performance on Big Sur In-Reply-To: References: <09a56c08-fce4-7a67-a7c2-9957557d96ad@hyperactivesw.com> Message-ID: <540c3de8-2e5a-f0cc-c7a9-903a062bc0d1@hyperactivesw.com> The screen is already locked on closeCard and unlocked on openCard. In between a bunch of stuff happens. Maybe that sequence of lock/unlock isn't working in Big Sur? On 12/16/20 3:46 AM, Pi Digital via use-livecode wrote: > What about using ?lock screen?? Then go card. For preopen it ?shouldn?t? make a difference but I have found this to be a cause for stammering in the past. Don?t bother putting an ?unlock screen? at the end of the preopencard or opencard as it will unlock itself at the end of the open sequence anyway (as I?m sure you?re already aware). > > Sean > > >> On 16 Dec 2020, at 05:55, J. Landman Gay via use-livecode wrote: >> >> ?I had my client try it. Adding "wait 0 milliseconds" after a "go card" didn't make any difference really. The first four card changes were pretty fast, and after that it got slower and slower with each subsequent card change. I was watching her screen remotely but I couldn't see it due to how remote viewing works, but she said the redraw was quite noticeable. >> >>> On 12/14/20 4:45 PM, merakosp via use-livecode wrote: >>> Hello all, >>> Does adding a after the command make >>> any difference? >>> Cheers, >>> Panos >> >> >> -- >> 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 irog at mac.com Wed Dec 16 17:15:37 2020 From: irog at mac.com (Roger Guay) Date: Wed, 16 Dec 2020 14:15:37 -0800 Subject: Spoke Too Soon - Solved In-Reply-To: <9119C4F6-7546-4660-937C-B822752F8EC0@mac.com> References: <9119C4F6-7546-4660-937C-B822752F8EC0@mac.com> Message-ID: <9CA7B588-EFA6-4890-8601-AE0A21967840@mac.com> Trashing the prefs seems to have solved my problem(s) Roger > On Dec 16, 2020, at 12:35 PM, Roger Guay via use-livecode wrote: > > Well, after thinking everything was fine with LC 9.6 running in Mac OS Big Sur on the new MBP with the M1 chip, I now find major problems: > > 1. Tools menu. Menubar and other plugins open in very strange areas > 2. MouseEvents are not recognized > 3 Overall, Dead in the water!! > > > Any suggestions would be geratly appreciated. > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Wed Dec 16 17:53:52 2020 From: irog at mac.com (Roger Guay) Date: Wed, 16 Dec 2020 14:53:52 -0800 Subject: Backdrop Preference for None Message-ID: I can?t figure out how to set backdrop to none as a preference. I had it before I trashed my preferences but now none is not an oprtion. Thanks for your help. Roger From matthias_livecode_150811 at m-r-d.de Wed Dec 16 18:05:41 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Dec 2020 00:05:41 +0100 Subject: Backdrop Preference for None In-Reply-To: References: Message-ID: <2B3B8604-F1B8-4556-A00E-A01539182F2B@m-r-d.de> Can't you switch it off using the menu View->Backdrop? Regards Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 16.12.2020 um 23:53 schrieb Roger Guay via use-livecode : > > I can?t figure out how to set backdrop to none as a preference. I had it before I trashed my preferences but now none is not an oprtion. > > Thanks for your help. > > 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 david.bovill at gmail.com Wed Dec 16 18:35:35 2020 From: david.bovill at gmail.com (David Bovill) Date: Wed, 16 Dec 2020 23:35:35 +0000 Subject: Checking a received header for LC Server or revIgniter> In-Reply-To: References: <829946c5-bfcb-38c5-7e98-ca2a7a75ff27@fourthworld.com> Message-ID: <8e70ee4e-0e79-494a-be53-b49900c1db19@Spark> I?m looking to check for received custom headers on a Livecode + revIgniter based server. I know how to set headers, and on the desktop Id use libURLLastRHHeaders - but what is the best way to do this on the server? From irog at mac.com Wed Dec 16 18:44:09 2020 From: irog at mac.com (Roger Guay) Date: Wed, 16 Dec 2020 15:44:09 -0800 Subject: Backdrop Preference for None In-Reply-To: <2B3B8604-F1B8-4556-A00E-A01539182F2B@m-r-d.de> References: <2B3B8604-F1B8-4556-A00E-A01539182F2B@m-r-d.de> Message-ID: You?re right Mathias! I was using the message box to set it to none which didn?t stick. Every time I launched LC, the backdrop reappeared. Using the menu, it sticks. Thank you, Roger > On Dec 16, 2020, at 3:05 PM, matthias rebbe via use-livecode wrote: > > Can't you switch it off using the menu View->Backdrop? > > Regards > Matthias > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 16.12.2020 um 23:53 schrieb Roger Guay via use-livecode : >> >> I can?t figure out how to set backdrop to none as a preference. I had it before I trashed my preferences but now none is not an oprtion. >> >> Thanks for your help. >> >> 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 sean at pidigital.co.uk Wed Dec 16 20:49:05 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 17 Dec 2020 01:49:05 +0000 Subject: CentOS Death in 2021 In-Reply-To: <531fe475-9fdc-4c86-d0d1-3a8a23591fc6@sonic.net> References: <531fe475-9fdc-4c86-d0d1-3a8a23591fc6@sonic.net> Message-ID: Hi all, Continuing my study, I've just tried installing LC9.6.2RC onto the latest Debian 10 build (clean install in Parallels from its add VM page). However, it comes up with an error when installing LC right after double-clicking the installer: "Failed to load library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x installed. Is this the problem. Do I need to go back a build to Debian 9? Or can I still install on 10 somehow with a tweak? Sean Cole *Pi Digital * From sean at pidigital.co.uk Wed Dec 16 21:55:24 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 17 Dec 2020 02:55:24 +0000 Subject: CentOS Death in 2021 In-Reply-To: <2af6de5e-47ba-05c0-e8bf-07f48bfcf55f@fourthworld.com> References: <2af6de5e-47ba-05c0-e8bf-07f48bfcf55f@fourthworld.com> Message-ID: Hi Richard, My case scenario is maybe a little unique, I don't know. The server app needs to build from MySQL data and other resources (csv's and images) downloaded from emails received from a vendor a PDF report that it 'prints' out and uploads to a web hosted site for downloading by the clients desktop app (on windows). We receive about 100-200 emails at the moment that get processed by the server every morning as soon as they are received (all at about 5am). Regardless of if it was running in the IDE or as a standalone in the server (which is private and never accessed directly or indirectly by any client) it runs at the same speed with the same functionality (except I don't have to wait for a huge stack to build each time I make a little change). This is why a GUI is required, so the PDF can be built. > Back to my OP. > > - What system build of Linux should I best install in Parallels > > virtual and Server Remote Host for deployment should I run with? > > Given the choices of potentially having LC IDE running as the ?live? > > software stack on the server itself (which is not the best way to run > > it, but potentially a method that is usable for our purposes perhaps). > > What is the benefit of running the LC IDE on a server, as opposed to a > standalone? Do you need a GUI there at all? > > Either way, I believe Heriberto made a solid case yesterday for Ubuntu. > As the most popular distro, it has more docs, tutorials, and community > support, and more de facto testing. It's also the leading choice for > computer manufacturers shipping with Linux preinstalled, like Dell's XP > line and similar from HP, Acer, and others. > From ambassador at fourthworld.com Thu Dec 17 00:40:08 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Dec 2020 21:40:08 -0800 Subject: CentOS Death in 2021 In-Reply-To: References: Message-ID: <24f0ce43-fcf3-af74-31ad-719ee0e5619d@fourthworld.com> LC Server had graphics capabilities added a few versions back. You can lay out objects on cards and export images with it now. I'm not sure if those extend to the PDF external, but if you happen to try it please let me know. If nothing else, being able to run faceless should save quite a bit of RAM and CPU time as well. -- Richard Gaskin Fourth World Systems Sean Cole wrote: > Hi Richard, > > My case scenario is maybe a little unique, I don't know. The server app > needs to build from MySQL data and other resources (csv's and images) > downloaded from emails received from a vendor a PDF report that it 'prints' > out and uploads to a web hosted site for downloading by the clients desktop > app (on windows). We receive about 100-200 emails at the moment that get > processed by the server every morning as soon as they are received (all at > about 5am). Regardless of if it was running in the IDE or as a standalone > in the server (which is private and never accessed directly or indirectly > by any client) it runs at the same speed with the same functionality > (except I don't have to wait for a huge stack to build each time I make a > little change). This is why a GUI is required, so the PDF can be built. > > > Back to my OP. >> > - What system build of Linux should I best install in Parallels >> > virtual and Server Remote Host for deployment should I run with? >> > Given the choices of potentially having LC IDE running as the ?live? >> > software stack on the server itself (which is not the best way to run >> > it, but potentially a method that is usable for our purposes perhaps). >> >> What is the benefit of running the LC IDE on a server, as opposed to a >> standalone? Do you need a GUI there at all? >> >> Either way, I believe Heriberto made a solid case yesterday for Ubuntu. >> As the most popular distro, it has more docs, tutorials, and community >> support, and more de facto testing. It's also the leading choice for >> computer manufacturers shipping with Linux preinstalled, like Dell's XP >> line and similar from HP, Acer, and others. From rabit at revigniter.com Thu Dec 17 05:12:56 2020 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 17 Dec 2020 11:12:56 +0100 Subject: Checking a received header for LC Server or revIgniter> In-Reply-To: <8e70ee4e-0e79-494a-be53-b49900c1db19@Spark> References: <829946c5-bfcb-38c5-7e98-ca2a7a75ff27@fourthworld.com> <8e70ee4e-0e79-494a-be53-b49900c1db19@Spark> Message-ID: <818c9ffb-e73d-eb11-5575-c51cceaff49b@revigniter.com> Hi David, if you go the revIgniter route use rigGetHTTPheader("myCustomHeader"), otherwise you can use $_SERVER["HTTP_myCustomHeader"]. Ralf On 17.12.20 00:35, David Bovill via use-livecode wrote: > I?m looking to check for received custom headers on a Livecode + revIgniter based server. I know how to set headers, and on the desktop Id use libURLLastRHHeaders - but what is the best way to do this on the server? From david.bovill at gmail.com Thu Dec 17 06:42:11 2020 From: david.bovill at gmail.com (David Bovill) Date: Thu, 17 Dec 2020 11:42:11 +0000 Subject: Checking a received header for LC Server or revIgniter> In-Reply-To: <818c9ffb-e73d-eb11-5575-c51cceaff49b@revigniter.com> References: <829946c5-bfcb-38c5-7e98-ca2a7a75ff27@fourthworld.com> <8e70ee4e-0e79-494a-be53-b49900c1db19@Spark> <818c9ffb-e73d-eb11-5575-c51cceaff49b@revigniter.com> Message-ID: Fantastic - thanks! NB I don?t get a result when searching for rigGetHTTPheader in the revIgniter docs. I guess it?s not documented? On 17 Dec 2020, 10:13 +0000, How to use LiveCode , wrote: > > rigGetHTTPheader From sean at pidigital.co.uk Thu Dec 17 11:27:24 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 17 Dec 2020 16:27:24 +0000 Subject: CentOS Death in 2021 In-Reply-To: <24f0ce43-fcf3-af74-31ad-719ee0e5619d@fourthworld.com> References: <24f0ce43-fcf3-af74-31ad-719ee0e5619d@fourthworld.com> Message-ID: Good shout. Although, having the gui available helps when things go wrong like the PDF font rendering issues and being able to see the templates build as it goes for each page/card. But thanks for the heads up. Sean On Thu, 17 Dec 2020 at 05:40, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > LC Server had graphics capabilities added a few versions back. You can > lay out objects on cards and export images with it now. > > I'm not sure if those extend to the PDF external, but if you happen to > try it please let me know. > > If nothing else, being able to run faceless should save quite a bit of > RAM and CPU time as well. > > -- > Richard Gaskin > Fourth World Systems > > > > Sean Cole wrote: > > Hi Richard, > > > > My case scenario is maybe a little unique, I don't know. The server app > > needs to build from MySQL data and other resources (csv's and images) > > downloaded from emails received from a vendor a PDF report that it > 'prints' > > out and uploads to a web hosted site for downloading by the clients > desktop > > app (on windows). We receive about 100-200 emails at the moment that get > > processed by the server every morning as soon as they are received (all > at > > about 5am). Regardless of if it was running in the IDE or as a standalone > > in the server (which is private and never accessed directly or indirectly > > by any client) it runs at the same speed with the same functionality > > (except I don't have to wait for a huge stack to build each time I make a > > little change). This is why a GUI is required, so the PDF can be built. > > > > > Back to my OP. > >> > - What system build of Linux should I best install in Parallels > >> > virtual and Server Remote Host for deployment should I run with? > >> > Given the choices of potentially having LC IDE running as the ?live? > >> > software stack on the server itself (which is not the best way to run > >> > it, but potentially a method that is usable for our purposes > perhaps). > >> > >> What is the benefit of running the LC IDE on a server, as opposed to a > >> standalone? Do you need a GUI there at all? > >> > >> Either way, I believe Heriberto made a solid case yesterday for Ubuntu. > >> As the most popular distro, it has more docs, tutorials, and community > >> support, and more de facto testing. It's also the leading choice for > >> computer manufacturers shipping with Linux preinstalled, like Dell's XP > >> line and similar from HP, Acer, and others. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Thu Dec 17 11:29:24 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 17 Dec 2020 16:29:24 +0000 Subject: Debian 10 install failure Message-ID: Hi all, Continuing my study on Linux alternatives, I've just tried installing LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in Parallels from its add VM page). However, it comes up with an error when installing LC right after double-clicking the installer: "Failed to load library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x installed. Is this the problem? Do I need to go back a build to Debian 9? Or can I still install on 10 somehow with a tweak? Sean Cole *Pi Digital * From ahsoftware at sonic.net Thu Dec 17 12:11:31 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 17 Dec 2020 09:11:31 -0800 Subject: Debian 10 install failure In-Reply-To: References: Message-ID: <5625680b-f12e-14ba-a1d5-8cb5fc9b1faf@sonic.net> On 12/17/20 8:29 AM, Sean Cole (Pi) via use-livecode wrote: > Hi all, > > Continuing my study on Linux alternatives, I've just tried installing > LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in > Parallels from its add VM page). However, it comes up with an error when > installing LC right after double-clicking the installer: "Failed to load > library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x > installed. Is this the problem? Do I need to go back a build to Debian 9? > Or can I still install on 10 somehow with a tweak? Sean- Don't know about Parallels. I just loaded the latest debian build onto a 15GB virtualbox VM, downloaded the latest stable LC, and installed. Had to restart the system in order for LiveCode to show up in the menu, but other than that no problems. I could launch from a commandline or after the restart from the menu. I installed debian using the semi-automated installer, which by default is using cinnamon as its desktop manager. I did have to fiddle with the display resolution to get the whole menubar on screen, but that's a virtualbox/debian thing and not LC. Note that debian 10 is the only debian version that hasn't reached an end of life (and therefore no updates), so I wouldn't waste time trying earlier versions if you're putting something into production. ...and to correct my earlier statement, I revisited the docs and I see "The x86-64 and x86 Linux build environments used for compiling LiveCode are based on Debian Wheezy." -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Thu Dec 17 12:43:17 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 17 Dec 2020 17:43:17 +0000 Subject: Debian 10 install failure In-Reply-To: <5625680b-f12e-14ba-a1d5-8cb5fc9b1faf@sonic.net> References: <5625680b-f12e-14ba-a1d5-8cb5fc9b1faf@sonic.net> Message-ID: Hmm, so why would it say "Failed to load library 'gdk' (tried libgdk-x11-2.0.so.0)"? Sean On Thu, 17 Dec 2020 at 17:11, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 12/17/20 8:29 AM, Sean Cole (Pi) via use-livecode wrote: > > Hi all, > > > > Continuing my study on Linux alternatives, I've just tried installing > > LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in > > Parallels from its add VM page). However, it comes up with an error when > > installing LC right after double-clicking the installer: "Failed to load > > library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x > > installed. Is this the problem? Do I need to go back a build to Debian 9? > > Or can I still install on 10 somehow with a tweak? > > Sean- > > Don't know about Parallels. I just loaded the latest debian build onto a > 15GB virtualbox VM, downloaded the latest stable LC, and installed. Had > to restart the system in order for LiveCode to show up in the menu, but > other than that no problems. I could launch from a commandline or after > the restart from the menu. I installed debian using the semi-automated > installer, which by default is using cinnamon as its desktop manager. I > did have to fiddle with the display resolution to get the whole menubar > on screen, but that's a virtualbox/debian thing and not LC. > > Note that debian 10 is the only debian version that hasn't reached an > end of life (and therefore no updates), so I wouldn't waste time trying > earlier versions if you're putting something into production. > > ...and to correct my earlier statement, I revisited the docs and I see > > "The x86-64 and x86 Linux build environments used for compiling LiveCode > are based on Debian Wheezy." > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Thu Dec 17 12:57:25 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 17 Dec 2020 17:57:25 +0000 Subject: Debian 10 install failure In-Reply-To: References: <5625680b-f12e-14ba-a1d5-8cb5fc9b1faf@sonic.net> Message-ID: Solved. Debian 10 buster has GTK 3.0 installed but LC needs GTK 2.0. I just ran the following: sudo apt-get install --reinstall libgtk2.0-0 This got me back down to gtk v2 and the installer for LC ran properly. Sean Cole *Pi Digital * On Thu, 17 Dec 2020 at 17:43, Sean Cole (Pi) wrote: > Hmm, so why would it say "Failed to load library 'gdk' (tried > libgdk-x11-2.0.so.0)"? > > Sean > > On Thu, 17 Dec 2020 at 17:11, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 12/17/20 8:29 AM, Sean Cole (Pi) via use-livecode wrote: >> > Hi all, >> > >> > Continuing my study on Linux alternatives, I've just tried installing >> > LC9.6.2RC onto the latest Debian 10 (buster) build (clean install in >> > Parallels from its add VM page). However, it comes up with an error when >> > installing LC right after double-clicking the installer: "Failed to load >> > library 'gdk' (tried libgdk-x11-2.0.so.0)". Debian 10 has Gtk 3.x >> > installed. Is this the problem? Do I need to go back a build to Debian >> 9? >> > Or can I still install on 10 somehow with a tweak? >> >> Sean- >> >> Don't know about Parallels. I just loaded the latest debian build onto a >> 15GB virtualbox VM, downloaded the latest stable LC, and installed. Had >> to restart the system in order for LiveCode to show up in the menu, but >> other than that no problems. I could launch from a commandline or after >> the restart from the menu. I installed debian using the semi-automated >> installer, which by default is using cinnamon as its desktop manager. I >> did have to fiddle with the display resolution to get the whole menubar >> on screen, but that's a virtualbox/debian thing and not LC. >> >> Note that debian 10 is the only debian version that hasn't reached an >> end of life (and therefore no updates), so I wouldn't waste time trying >> earlier versions if you're putting something into production. >> >> ...and to correct my earlier statement, I revisited the docs and I see >> >> "The x86-64 and x86 Linux build environments used for compiling LiveCode >> are based on Debian Wheezy." >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From ahsoftware at sonic.net Thu Dec 17 15:02:03 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 17 Dec 2020 12:02:03 -0800 Subject: Debian 10 install failure In-Reply-To: References: <5625680b-f12e-14ba-a1d5-8cb5fc9b1faf@sonic.net> Message-ID: On 12/17/20 9:57 AM, Sean Cole (Pi) via use-livecode wrote: > Solved. Debian 10 buster has GTK 3.0 installed but LC needs GTK 2.0. I just > ran the following: > > sudo apt-get install --reinstall libgtk2.0-0 > > This got me back down to gtk v2 and the installer for LC ran properly. Cool. Maybe has to do with the way debian was installed? I didn't run into this problem. And I see $ apt list libgtk2.0-0 Listing... done libgtk2.0-0/stable.now 2.24.32-3 amd64 [installed.automatic] -- Mark Wieder ahsoftware at gmail.com From rabit at revigniter.com Fri Dec 18 04:50:13 2020 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 18 Dec 2020 10:50:13 +0100 Subject: Checking a received header for LC Server or revIgniter> In-Reply-To: <8e70ee4e-0e79-494a-be53-b49900c1db19@Spark> References: <829946c5-bfcb-38c5-7e98-ca2a7a75ff27@fourthworld.com> <8e70ee4e-0e79-494a-be53-b49900c1db19@Spark> Message-ID: Accidentally I sent the following message to David directly, maybe it is helpful for others too: If you go the revIgniter route use rigGetHTTPheader("myCustomHeader"), otherwise you can use $_SERVER["HTTP_myCustomHeader"]. Ralf On 17.12.20 00:35, David Bovill via use-livecode wrote: > I?m looking to check for received custom headers on a Livecode + revIgniter based server. I know how to set headers, and on the desktop Id use libURLLastRHHeaders - but what is the best way to do this on the server? From david.bovill at gmail.com Fri Dec 18 12:12:43 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 18 Dec 2020 17:12:43 +0000 Subject: Livecode server configuration: tracking down and Apache redirect In-Reply-To: References: <5625680b-f12e-14ba-a1d5-8cb5fc9b1faf@sonic.net> Message-ID: I have a Livecode server running Revigniter under Apache on Ubuntu. I installed it 8 years ago or so, and it is causing redirect problems with files ending in .json. I am assuming that a long time ago a set the configuration somewhere to handle .json files in a particular way, but I can?t track this down. Any thoughts where to look? I?ve tried the following places so far: .htaccess and /etc/apache2/sites-enabled/000-default.conf??which do their job - but no mention of .json files. I?m wondering if there is some sort of log that would allow me to know how Apache is handling a faulty redirect? I?m a bit stuck tracking it down. From ambassador at fourthworld.com Fri Dec 18 16:03:55 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 18 Dec 2020 13:03:55 -0800 Subject: Livecode server configuration: tracking down and Apache redirect In-Reply-To: References: Message-ID: <66f16e50-604b-5d76-7c29-26b19b08aba4@fourthworld.com> David Bovill wrote: > I have a Livecode server running Revigniter under Apache on Ubuntu. I > installed it 8 years ago or so, and it is causing redirect problems > with files ending in .json. I am assuming that a long time ago a set > the configuration somewhere to handle .json files in a particular way, > but I can?t track this down. Any thoughts where to look? Is the redirect a 301, 302, or something else? Is the returntype appropriate for JSON? Do you see the problem when access from an LC client, a browser, or both? > I?m wondering if there is some sort of log that would allow me to know > how Apache is handling a faulty redirect? I?m a bit stuck tracking it > down. The Apache logs are at: /var/log/apache2/access.log /var/log/apache2/error.log -- 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 jbv at souslelogo.com Sat Dec 19 11:15:00 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 19 Dec 2020 11:15:00 -0500 Subject: play command and wav file Message-ID: <8f2026826f4642048c533dd70e2af184@souslelogo.com> Hi list, Is there a way to play a wav file that is already loaded in memory as binary data ? The doc only says that "play" takes a file name as parameter... Thank you in advance. jbv From richmondmathewson at gmail.com Sat Dec 19 12:21:45 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 19 Dec 2020 19:21:45 +0200 Subject: play command and wav file In-Reply-To: <8f2026826f4642048c533dd70e2af184@souslelogo.com> References: <8f2026826f4642048c533dd70e2af184@souslelogo.com> Message-ID: <8b14a560-04cd-9f73-ebbd-1b85893b686f@gmail.com> I'm not sure what you mean by 'binary data', but I set up a stack and imported a .wav file into it which I named 'xxx.wav'. The stack contains a single button with the code: on mouseUp ??? play audioClip "xxx.wav" end mouseUp and it does exactly what I would expect it to do: plays the .wav file. macOS 11.2 beta, Livecode 9.6.1 best, Richmond. On 19.12.20 18:15, jbv via use-livecode wrote: > Hi list, > Is there a way to play a wav file that is already loaded > in memory as binary data ? > The doc only says that "play" takes a file name as parameter... > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Sat Dec 19 12:25:38 2020 From: mkoob at rogers.com (Martin Koob) Date: Sat, 19 Dec 2020 12:25:38 -0500 Subject: play command and wav file In-Reply-To: <8f2026826f4642048c533dd70e2af184@souslelogo.com> References: <8f2026826f4642048c533dd70e2af184@souslelogo.com> Message-ID: <4276DFCC-480E-4724-BE30-7271714BDA7E@rogers.com> Hi You can use an audio clip. First import the wave file as an audio clip into the stack. Under File menu select ?Import as Control?? then in the dropdown menu select ??audio file? i.e. I imported a file called ?friday.wav? This will create an audio clip in the binary stack. It will have the same name as the wav file you imported. Then when you need to play the clip use the following line of code: Play audioclip "friday.wav" Martin > On Dec 19, 2020, at 11:15 AM, jbv via use-livecode wrote: > > Hi list, > Is there a way to play a wav file that is already loaded > in memory as binary data ? > The doc only says that "play" takes a file name as parameter... > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Dec 19 13:24:45 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 19 Dec 2020 13:24:45 -0500 Subject: play command and wav file In-Reply-To: <4276DFCC-480E-4724-BE30-7271714BDA7E@rogers.com> References: <8f2026826f4642048c533dd70e2af184@souslelogo.com> <4276DFCC-480E-4724-BE30-7271714BDA7E@rogers.com> Message-ID: Martin, Richmond, thank you both for your answers. My problem is that the data of the wav file is already in memory, because I open the wav file, read it, store it in a variable, and apply various processes to the content. And finally what I want to do is play the wav data after processing, without having to store it as a file and then use "play". Ideally it would be nice to be able to use a variable as an audioclip... From klaus at major-k.de Sat Dec 19 14:47:05 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 19 Dec 2020 20:47:05 +0100 Subject: play command and wav file In-Reply-To: <8f2026826f4642048c533dd70e2af184@souslelogo.com> References: <8f2026826f4642048c533dd70e2af184@souslelogo.com> Message-ID: <9D3FBCA5-F42A-4149-90E9-D639697CD726@major-k.de> Hi listee, > Am 19.12.2020 um 17:15 schrieb jbv via use-livecode : > > Hi list, > Is there a way to play a wav file that is already loaded > in memory as binary data ? do you mean imported as audioclip? If yes, just -> play ac "nameofclip.wav" If not, please specify. :-) > The doc only says that "play" takes a file name as parameter... > > Thank you in advance. > jbv Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From david.bovill at gmail.com Sun Dec 20 05:36:53 2020 From: david.bovill at gmail.com (David Bovill) Date: Sun, 20 Dec 2020 10:36:53 +0000 Subject: Livecode server configuration: tracking down and Apache redirect In-Reply-To: <66f16e50-604b-5d76-7c29-26b19b08aba4@fourthworld.com> References: <66f16e50-604b-5d76-7c29-26b19b08aba4@fourthworld.com> Message-ID: <864c344d-9985-448d-afdc-8d9d327b9240@Spark> Thanks for the tips Richard: On 18 Dec 2020, 21:05 +0000, Richard Gaskin via use-livecode , wrote: > David Bovill wrote: > > > I have a Livecode server running Revigniter under Apache on Ubuntu. I > > installed it 8 years ago or so, and it is causing redirect problems > > with files ending in .json. I am assuming that a long time ago a set > > the configuration somewhere to handle .json files in a particular way, > > but I can?t track this down. Any thoughts where to look? > > Is the redirect a 301, 302, or something else? The server return 400 Not Found when routing for a *.json file, while 200 OK when routing for a *.txt file - all other conditions seem the same. If I replace ?json? with ?json? or ?xyz? or any arbitrary txt in the (Revigniter) routing everything works as expected. The .htaccess in the $DOCUMENT_ROOT folder does not mention json file endings. I suspect there is another file somewhere doing the Apache based redirect? > Is the returntype appropriate for JSON? Yes > Do you see the problem when access from an LC client, a browser, or both? Both > > I?m wondering if there is some sort of log that would allow me to know > > how Apache is handling a faulty redirect? I?m a bit stuck tracking it > > down. > > The Apache logs are at: > /var/log/apache2/access.log > /var/log/apache2/error.log I can?t see information there that will help debug. From ambassador at fourthworld.com Sun Dec 20 13:13:37 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 20 Dec 2020 10:13:37 -0800 Subject: Livecode server configuration: tracking down and Apache redirect In-Reply-To: <864c344d-9985-448d-afdc-8d9d327b9240@Spark> References: <864c344d-9985-448d-afdc-8d9d327b9240@Spark> Message-ID: <6319c526-93a7-9979-e26a-c5b94e844100@fourthworld.com> David Bovill wrote: > The server return 400 Not Found when routing for a *.json file, while > 200 OK when routing for a *.txt file - all other conditions seem the > same. ... > The .htaccess in the $DOCUMENT_ROOT folder does not mention json file > endings. Ah, we may have been looking at this backwards. Rather than ask why Apache ISN'T serving JSON, we might ask why it SHOULD. IIRC, following the general principle of least access Apache's defaults serve only a small number of types, and additional types must be added explicitly. Just as we use directives to tell Apache to recognize the file type ".lc", you should be able to tell it to recognize .json by adding this to Apache's config: AddType application/json .json Details here also show how to force UTF-8 for json, along with other tips: https://htaccessbook.com/useful-htaccess-rules/ -- 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 Sun Dec 20 13:54:41 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 20 Dec 2020 18:54:41 +0000 Subject: How to One Stack to Interact With Another Message-ID: 1) One stack, interacting with another. (Type setting is a goal) i.e. set as a pallet, with a mouseup on it on mouseUp set the defaultstack to "SlideShowSetUp" the selectedtext of fld "mainText" end mouseup 2) whereas the selectedText into Stack Two ( we want to change the font size, color of the selectedText), simply goes away. Now, we know that is how it works, numberless examples in the IDE. But can you explained it? The "focused with keyboard" in the pallet is unchecked. That was the idea to brought me back to the idea that where the selectedText was still selected. But no, it gets "wiped" ...there are zero characters, that are selected. It must be simple. BR From scott at elementarysoftware.com Sun Dec 20 20:04:32 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 20 Dec 2020 17:04:32 -0800 Subject: Android Keystore signing problem Message-ID: When trying to create an update for an app on Google Play I am getting this message when attempting to create the standalone .apk. "There was an error while saving the standalone application signing failed - Certificate chain not found for: . must reference a valid KeyStore key entry containing a private key and corresponding public key certifcate chain." (Where is actually my keystore alias.) This is the same keystore file that I have used in the past. My understanding (and failed attempts) indicate that creating a new keystore file won?t work if I?m using it to update an existing app on the Play Store. I?m quite inexperienced with android builds. Any suggestions would be most welcome as I?ve about run out of ideas (and Google search queries.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From jacque at hyperactivesw.com Sun Dec 20 23:17:30 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 20 Dec 2020 22:17:30 -0600 Subject: Android Keystore signing problem In-Reply-To: References: Message-ID: <17683843b90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If it was working before then it should still work now. Check the Android settings and make sure that the path to the file is correct. The error sounds like LC can't find it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- via use-livecode wrote: > When trying to create an update for an app on Google Play I am getting this > message when attempting to create the standalone .apk. > > "There was an error while saving the standalone application > signing failed - Certificate chain not found for: . > must reference a valid KeyStore key entry containing a > private key and corresponding public key certifcate chain." > > (Where is actually my keystore alias.) > > This is the same keystore file that I have used in the past. My > understanding (and failed attempts) indicate that creating a new keystore > file won?t work if I?m using it to update an existing app on the Play Store. > I?m quite inexperienced with android builds. Any suggestions would be most > welcome as I?ve about run out of ideas (and Google search queries.) > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Dec 21 10:24:20 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 21 Dec 2020 10:24:20 -0500 Subject: Android Keystore signing problem In-Reply-To: <17683843b90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <17683843b90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <004901d6d7ad$5db9cca0$192d65e0$@net> Scott. I looked at the source of stack "revSaveAsAndroidStandalone" and it looks like it failed at line 1067 or 1069 (9.6.1). As JLM said this appears that the keystore your referencing does not hold the alias your entering. Everything after "There was an error while saving the standalone application signing failed-" is coming from the jar signer(but only word 4 to -1). You can put in a breakpoint at 1065 and examine the full result of the shell to jar signer. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Sunday, December 20, 2020 11:18 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Android Keystore signing problem If it was working before then it should still work now. Check the Android settings and make sure that the path to the file is correct. The error sounds like LC can't find it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- via use-livecode wrote: > When trying to create an update for an app on Google Play I am getting > this message when attempting to create the standalone .apk. > > "There was an error while saving the standalone application > signing failed - Certificate chain not found for: . > must reference a valid KeyStore key entry > containing a private key and corresponding public key certifcate chain." > > (Where is actually my keystore alias.) > > This is the same keystore file that I have used in the past. My > understanding (and failed attempts) indicate that creating a new > keystore file won?t work if I?m using it to update an existing app on the Play Store. > I?m quite inexperienced with android builds. Any suggestions would be > most welcome as I?ve about run out of ideas (and Google search > queries.) > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Dec 21 15:18:46 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 21 Dec 2020 22:18:46 +0200 Subject: [ANN] This Week in LiveCode 249 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 #249 here: http://bit.ly/3pgIHuq This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From scott at elementarysoftware.com Mon Dec 21 17:09:40 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 21 Dec 2020 14:09:40 -0800 Subject: Android Keystore signing problem In-Reply-To: <004901d6d7ad$5db9cca0$192d65e0$@net> References: <17683843b90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004901d6d7ad$5db9cca0$192d65e0$@net> Message-ID: Thanks Ralph! > On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode wrote: > > Scott. > > I looked at the source of stack "revSaveAsAndroidStandalone" and it looks like it failed at line 1067 or 1069 (9.6.1). As JLM said this appears that the keystore your referencing does not hold the alias your entering. Everything after "There was an error while saving the standalone application signing failed-" is coming from the jar signer(but only word 4 to -1). You can put in a breakpoint at 1065 and examine the full result of the shell to jar signer. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode > Sent: Sunday, December 20, 2020 11:18 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Android Keystore signing problem > > If it was working before then it should still work now. Check the Android settings and make sure that the path to the file is correct. The error sounds like LC can't find it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- via use-livecode wrote: > >> When trying to create an update for an app on Google Play I am getting >> this message when attempting to create the standalone .apk. >> >> "There was an error while saving the standalone application >> signing failed - Certificate chain not found for: . >> must reference a valid KeyStore key entry >> containing a private key and corresponding public key certifcate chain." >> >> (Where is actually my keystore alias.) >> >> This is the same keystore file that I have used in the past. My >> understanding (and failed attempts) indicate that creating a new >> keystore file won?t work if I?m using it to update an existing app on the Play Store. >> I?m quite inexperienced with android builds. Any suggestions would be >> most welcome as I?ve about run out of ideas (and Google search >> queries.) >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Mon Dec 21 19:18:37 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 21 Dec 2020 16:18:37 -0800 Subject: Android Keystore signing problem In-Reply-To: <004901d6d7ad$5db9cca0$192d65e0$@net> References: <17683843b90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004901d6d7ad$5db9cca0$192d65e0$@net> Message-ID: <0BB6F1DF-DBDA-48D5-B545-0C0C2F3BDD37@elementarysoftware.com> Hello All, I used edit the script of stack ?revSaveAsAndroidStandalone? in the message box and tried putting a breakpoint in at that spot (and several others) but it isn?t triggering. This inside the handler: private command revSaveAsMobileStandaloneMain I?m not sure that I?ve ever done more than examine LC scripts. Is there something else I need to know in order to get the debugger to open on a breakpoint with them? (Script Debug Mode is checked :- ) I?ve restarted the computer and tried a couple different versions of Livecode? feeling even more clueless than usual. ? Scott > On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode wrote: > > Scott. > > I looked at the source of stack "revSaveAsAndroidStandalone" and it looks like it failed at line 1067 or 1069 (9.6.1). As JLM said this appears that the keystore your referencing does not hold the alias your entering. Everything after "There was an error while saving the standalone application signing failed-" is coming from the jar signer(but only word 4 to -1). You can put in a breakpoint at 1065 and examine the full result of the shell to jar signer. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode > Sent: Sunday, December 20, 2020 11:18 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Android Keystore signing problem > > If it was working before then it should still work now. Check the Android settings and make sure that the path to the file is correct. The error sounds like LC can't find it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- via use-livecode wrote: > >> When trying to create an update for an app on Google Play I am getting >> this message when attempting to create the standalone .apk. >> >> "There was an error while saving the standalone application >> signing failed - Certificate chain not found for: . >> must reference a valid KeyStore key entry >> containing a private key and corresponding public key certifcate chain." >> >> (Where is actually my keystore alias.) >> >> This is the same keystore file that I have used in the past. My >> understanding (and failed attempts) indicate that creating a new >> keystore file won?t work if I?m using it to update an existing app on the Play Store. >> I?m quite inexperienced with android builds. Any suggestions would be >> most welcome as I?ve about run out of ideas (and Google search >> queries.) >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 22 02:38:10 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 22 Dec 2020 09:38:10 +0200 Subject: Android Keystore signing problem In-Reply-To: <0BB6F1DF-DBDA-48D5-B545-0C0C2F3BDD37@elementarysoftware.com> References: <17683843b90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004901d6d7ad$5db9cca0$192d65e0$@net> <0BB6F1DF-DBDA-48D5-B545-0C0C2F3BDD37@elementarysoftware.com> Message-ID: Hello Scott, When adding breakpoints in IDE scripts, you also need to do (in the msg box): put true into gRevDevelopment otherwise breakpoints won't be respected. Kind regards, Panos -- On Tue, 22 Dec 2020 at 02:20, scott--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello All, > > I used edit the script of stack ?revSaveAsAndroidStandalone? in the > message box and tried putting a breakpoint in at that spot (and several > others) but it isn?t triggering. This inside the handler: > > private command revSaveAsMobileStandaloneMain > > I?m not sure that I?ve ever done more than examine LC scripts. Is there > something else I need to know in order to get the debugger to open on a > breakpoint with them? (Script Debug Mode is checked :- ) > > I?ve restarted the computer and tried a couple different versions of > Livecode? feeling even more clueless than usual. > > ? > Scott > > > On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Scott. > > > > I looked at the source of stack "revSaveAsAndroidStandalone" and it > looks like it failed at line 1067 or 1069 (9.6.1). As JLM said this appears > that the keystore your referencing does not hold the alias your entering. > Everything after "There was an error while saving the standalone > application signing failed-" is coming from the jar signer(but only word 4 > to -1). You can put in a breakpoint at 1065 and examine the full result of > the shell to jar signer. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > -----Original Message----- > > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of J. Landman Gay via use-livecode > > Sent: Sunday, December 20, 2020 11:18 PM > > To: How to use LiveCode > > Cc: J. Landman Gay > > Subject: Re: Android Keystore signing problem > > > > If it was working before then it should still work now. Check the > Android settings and make sure that the path to the file is correct. The > error sounds like LC can't find it. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- > via use-livecode wrote: > > > >> When trying to create an update for an app on Google Play I am getting > >> this message when attempting to create the standalone .apk. > >> > >> "There was an error while saving the standalone application > >> signing failed - Certificate chain not found for: . > > >> must reference a valid KeyStore key entry > >> containing a private key and corresponding public key certifcate chain." > >> > >> (Where is actually my keystore alias.) > >> > >> This is the same keystore file that I have used in the past. My > >> understanding (and failed attempts) indicate that creating a new > >> keystore file won?t work if I?m using it to update an existing app on > the Play Store. > >> I?m quite inexperienced with android builds. Any suggestions would be > >> most welcome as I?ve about run out of ideas (and Google search > >> queries.) > >> > >> -- > >> Scott Morrow > >> > >> Elementary Software > >> (Now with 20% less chalk dust!) > >> web https://elementarysoftware.com/ > >> email scott at elementarysoftware.com > >> booth 1-360-734-4701 > >> ------------------------------------------------------ > >> > >> > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at elementarysoftware.com Tue Dec 22 04:40:50 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 22 Dec 2020 01:40:50 -0800 Subject: Android Keystore signing problem In-Reply-To: References: <17683843b90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004901d6d7ad$5db9cca0$192d65e0$@net> <0BB6F1DF-DBDA-48D5-B545-0C0C2F3BDD37@elementarysoftware.com> Message-ID: Thank you, Panos. ? Scott > On Dec 21, 2020, at 11:38 PM, panagiotis merakos via use-livecode wrote: > > Hello Scott, > > When adding breakpoints in IDE scripts, you also need to do (in the msg > box): > > put true into gRevDevelopment > > otherwise breakpoints won't be respected. > > Kind regards, > Panos > -- > > On Tue, 22 Dec 2020 at 02:20, scott--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello All, >> >> I used edit the script of stack ?revSaveAsAndroidStandalone? in the >> message box and tried putting a breakpoint in at that spot (and several >> others) but it isn?t triggering. This inside the handler: >> >> private command revSaveAsMobileStandaloneMain >> >> I?m not sure that I?ve ever done more than examine LC scripts. Is there >> something else I need to know in order to get the debugger to open on a >> breakpoint with them? (Script Debug Mode is checked :- ) >> >> I?ve restarted the computer and tried a couple different versions of >> Livecode? feeling even more clueless than usual. >> >> ? >> Scott >> >>> On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Scott. >>> >>> I looked at the source of stack "revSaveAsAndroidStandalone" and it >> looks like it failed at line 1067 or 1069 (9.6.1). As JLM said this appears >> that the keystore your referencing does not hold the alias your entering. >> Everything after "There was an error while saving the standalone >> application signing failed-" is coming from the jar signer(but only word 4 >> to -1). You can put in a breakpoint at 1065 and examine the full result of >> the shell to jar signer. >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of J. Landman Gay via use-livecode >>> Sent: Sunday, December 20, 2020 11:18 PM >>> To: How to use LiveCode >>> Cc: J. Landman Gay >>> Subject: Re: Android Keystore signing problem >>> >>> If it was working before then it should still work now. Check the >> Android settings and make sure that the path to the file is correct. The >> error sounds like LC can't find it. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software >> | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- >> via use-livecode wrote: >>> >>>> When trying to create an update for an app on Google Play I am getting >>>> this message when attempting to create the standalone .apk. >>>> >>>> "There was an error while saving the standalone application >>>> signing failed - Certificate chain not found for: . >> >>>> must reference a valid KeyStore key entry >>>> containing a private key and corresponding public key certifcate chain." >>>> >>>> (Where is actually my keystore alias.) >>>> >>>> This is the same keystore file that I have used in the past. My >>>> understanding (and failed attempts) indicate that creating a new >>>> keystore file won?t work if I?m using it to update an existing app on >> the Play Store. >>>> I?m quite inexperienced with android builds. Any suggestions would be >>>> most welcome as I?ve about run out of ideas (and Google search >>>> queries.) >>>> >>>> -- >>>> Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust!) >>>> web https://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> booth 1-360-734-4701 >>>> ------------------------------------------------------ >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Dec 22 11:21:25 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 22 Dec 2020 11:21:25 -0500 Subject: Android Keystore signing problem In-Reply-To: References: <17683843b90.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <004901d6d7ad$5db9cca0$192d65e0$@net> <0BB6F1DF-DBDA-48D5-B545-0C0C2F3BDD37@elementarysoftware.com> Message-ID: <004701d6d87e$81ba56c0$852f0440$@net> Scott, Well thanks to Panos also. Two other options are to edit the script and add a "put" or an "answer". This edit will disappear after an LC restart. 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 scott--- via use-livecode Sent: Tuesday, December 22, 2020 4:41 AM To: How to use LiveCode Cc: scott at elementarysoftware.com Subject: Re: Android Keystore signing problem Thank you, Panos. ? Scott > On Dec 21, 2020, at 11:38 PM, panagiotis merakos via use-livecode wrote: > > Hello Scott, > > When adding breakpoints in IDE scripts, you also need to do (in the > msg > box): > > put true into gRevDevelopment > > otherwise breakpoints won't be respected. > > Kind regards, > Panos > -- > > On Tue, 22 Dec 2020 at 02:20, scott--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello All, >> >> I used edit the script of stack ?revSaveAsAndroidStandalone? in the >> message box and tried putting a breakpoint in at that spot (and several >> others) but it isn?t triggering. This inside the handler: >> >> private command revSaveAsMobileStandaloneMain >> >> I?m not sure that I?ve ever done more than examine LC scripts. Is >> there something else I need to know in order to get the debugger to >> open on a breakpoint with them? (Script Debug Mode is checked :- ) >> >> I?ve restarted the computer and tried a couple different versions of >> Livecode? feeling even more clueless than usual. >> >> ? >> Scott >> >>> On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Scott. >>> >>> I looked at the source of stack "revSaveAsAndroidStandalone" and it >> looks like it failed at line 1067 or 1069 (9.6.1). As JLM said this >> appears that the keystore your referencing does not hold the alias your entering. >> Everything after "There was an error while saving the standalone >> application signing failed-" is coming from the jar signer(but only >> word 4 to -1). You can put in a breakpoint at 1065 and examine the >> full result of the shell to jar signer. >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of J. Landman Gay via use-livecode >>> Sent: Sunday, December 20, 2020 11:18 PM >>> To: How to use LiveCode >>> Cc: J. Landman Gay >>> Subject: Re: Android Keystore signing problem >>> >>> If it was working before then it should still work now. Check the >> Android settings and make sure that the path to the file is correct. >> The error sounds like LC can't find it. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >>> Software >> | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM >> | scott--- >> via use-livecode wrote: >>> >>>> When trying to create an update for an app on Google Play I am >>>> getting this message when attempting to create the standalone .apk. >>>> >>>> "There was an error while saving the standalone application signing >>>> failed - Certificate chain not found for: . >> >>>> must reference a valid KeyStore key entry >>>> containing a private key and corresponding public key certifcate chain." >>>> >>>> (Where is actually my keystore alias.) >>>> >>>> This is the same keystore file that I have used in the past. My >>>> understanding (and failed attempts) indicate that creating a new >>>> keystore file won?t work if I?m using it to update an existing app >>>> on >> the Play Store. >>>> I?m quite inexperienced with android builds. Any suggestions would >>>> be most welcome as I?ve about run out of ideas (and Google search >>>> queries.) >>>> >>>> -- >>>> Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust!) >>>> web https://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> booth 1-360-734-4701 >>>> ------------------------------------------------------ >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Dec 22 16:17:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 22 Dec 2020 21:17:03 +0000 Subject: Rer: Decrypt problem on Windows solved In-Reply-To: References: Message-ID: <51CBBDE9-511F-4F47-A7FD-A13B76C13E46@iotecdigital.com> I get a user entered password and encrypt it before storing it. It works cross platform. I suppose it would depend on what is in the original string. For instance option-v produces a checkmark on a Mac, but NOT on a PC and I assume Linux. Normal ASCII-256 characters should work fine. Bob S On Dec 14, 2020, at 2:56 PM, Neville Smythe via use-livecode > wrote: Could you try to textEncode the encrypted data before saving it in the custom property, and then, in the other platform, textDecode it before decrypting it? Many thanks Panos, yes, that fixed the problem. It never occurred to me that reading binary data from the custom properties of a stack should be treated with same caveat as downloading from an external source. Todays ?learnings? (horrible newly fashionable word). Neville Smythe From bobsneidar at iotecdigital.com Tue Dec 22 16:21:56 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 22 Dec 2020 21:21:56 +0000 Subject: Encrypting Stack Breaks Field References In-Reply-To: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> Message-ID: <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> What he said. The promise of creating standalones and encrypted stacks containing code sounds promising, but there are caveats. It begs the question, how do we encrypt script only stacks or libraries? I don?t use encrypted stacks because my code is for internal use only, but if I ever went commercial, this would be something I would need. Bob S > On Dec 13, 2020, at 4:02 PM, Richard Gaskin via use-livecode wrote: > > Ron Noice wrote: > > ? My program (built with LC 9.6.1 Indy Windows) contains a large number > > of references to fields by variables. > ... > > only when I encrypt it does it fight back. Here's a simplified example > > of what I'm doing: > > > > create group "grpTree" > > ... > > copy fld "baseBox" to grp "grpTree" > > ^ that's your issue. > > Copying objects is disallowed in an encrypted stack, since of course once an object is copied it could be pasted into an unencrypted stack, and thus expose the source. > > You might consider moving the code from the encrypted stack to an encrypted behavior object, leaving the stack where copying must be done unencrypted. > > But if these objects are being copied only by script for the purpose of automatically building out a UI, without a need to alter the user's clipboard, you might consider using the clone command instead. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From bobsneidar at iotecdigital.com Tue Dec 22 16:34:01 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 22 Dec 2020 21:34:01 +0000 Subject: Secure connection to server In-Reply-To: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> References: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> Message-ID: <2B53C68B-868C-4D8C-A4DF-965A39F515D6@iotecdigital.com> I created a simple client and server stack combo that uses sockets to pass an encrypted stream of data back and forth. I have been meaning to implement it for the very reasons you suggest, but since the nature of the data doesn?t demand it, and since I develop basically gratis for the company I work for, it hasn?t been a priority. The concept is simple though. Start with a server stack that listens on a certain port, then create a client stack that opens a port to that server. (You can?t do it on a single workstation, the server has to be a different device.) Once you have that, code the server to accept the data, then send it back to the client. Once that is working, encrypt / decrypt the data both ways and check that what you sent is what you receive. Finally code the server to receive the data, do some process then return the resulting data. Simple, right? :-) Bob S On Dec 15, 2020, at 4:32 PM, Neville Smythe via use-livecode > wrote: A little while ago in this forum we were alerted to the fact that LC direct connection to a remote database not using SSL was a security hole. This also applies to managing Mailman lists on a remote server. After a steep (re-)learning curve with the various technologies, I now have a working method in place for both mysql and Mailman connections, using php as middleware and posting via curl in a shell script. But it is sooo slooow. Direct connection downloaded an sql query in a fraction of a second. It now takes over a second. This is acceptable (barely) for an isolated call, but I sometimes need to make a sequence of posts. As I understand it, the slowness is due to the time required to establish the secure connection, not an LC problem. For example establishing an ssh connection in Terminal is even slower; but once established an ssh session is super fast. Similarly curl will reuse authentication credentials within a shell session, so I aggregate as many calls as I can with a single shell script before using shell(myscript), and this definitely helps. What I would like to do however is use LC server as the middleware: I could then process the required data on the server side; I could not contemplate using php to do this. I suspect the LC post command uses curl under the hood, but I also suspect each post call would create its own session. I don?t think it is possible to establish a single session to talk sequentially to lcserver; if so this would be too slow. Am I correct? Actually I guess I could just use my present method using curl and shell() instead of post, but addressed to an .lc script instead of .php? Or is there a whole better way to do what I want? Neville Smythe From rdimola at evergreeninfo.net Tue Dec 22 16:48:35 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 22 Dec 2020 16:48:35 -0500 Subject: Secure connection to server In-Reply-To: <2B53C68B-868C-4D8C-A4DF-965A39F515D6@iotecdigital.com> References: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> <2B53C68B-868C-4D8C-A4DF-965A39F515D6@iotecdigital.com> Message-ID: <008a01d6d8ac$36048a10$a20d9e30$@net> I'm able to have the socket client and server on the same device. (Win 10) Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Tuesday, December 22, 2020 4:34 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Secure connection to server I created a simple client and server stack combo that uses sockets to pass an encrypted stream of data back and forth. I have been meaning to implement it for the very reasons you suggest, but since the nature of the data doesn?t demand it, and since I develop basically gratis for the company I work for, it hasn?t been a priority. The concept is simple though. Start with a server stack that listens on a certain port, then create a client stack that opens a port to that server. (You can?t do it on a single workstation, the server has to be a different device.) Once you have that, code the server to accept the data, then send it back to the client. Once that is working, encrypt / decrypt the data both ways and check that what you sent is what you receive. Finally code the server to receive the data, do some process then return the resulting data. Simple, right? :-) Bob S On Dec 15, 2020, at 4:32 PM, Neville Smythe via use-livecode > wrote: A little while ago in this forum we were alerted to the fact that LC direct connection to a remote database not using SSL was a security hole. This also applies to managing Mailman lists on a remote server. After a steep (re-)learning curve with the various technologies, I now have a working method in place for both mysql and Mailman connections, using php as middleware and posting via curl in a shell script. But it is sooo slooow. Direct connection downloaded an sql query in a fraction of a second. It now takes over a second. This is acceptable (barely) for an isolated call, but I sometimes need to make a sequence of posts. As I understand it, the slowness is due to the time required to establish the secure connection, not an LC problem. For example establishing an ssh connection in Terminal is even slower; but once established an ssh session is super fast. Similarly curl will reuse authentication credentials within a shell session, so I aggregate as many calls as I can with a single shell script before using shell(myscript), and this definitely helps. What I would like to do however is use LC server as the middleware: I could then process the required data on the server side; I could not contemplate using php to do this. I suspect the LC post command uses curl under the hood, but I also suspect each post call would create its own session. I don?t think it is possible to establish a single session to talk sequentially to lcserver; if so this would be too slow. Am I correct? Actually I guess I could just use my present method using curl and shell() instead of post, but addressed to an .lc script instead of .php? Or is there a whole better way to do what I want? Neville Smythe _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Dec 22 16:47:51 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 22 Dec 2020 21:47:51 +0000 Subject: Secure connection to server In-Reply-To: <008a01d6d8ac$36048a10$a20d9e30$@net> References: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> <2B53C68B-868C-4D8C-A4DF-965A39F515D6@iotecdigital.com> <008a01d6d8ac$36048a10$a20d9e30$@net> Message-ID: <47BC303B-7AC4-40B7-89AE-4F54DECDB5E6@iotecdigital.com> Hmmm? didn?t work on my Mac. Not sure why, it may be something I did. Bob S On Dec 22, 2020, at 1:48 PM, Ralph DiMola via use-livecode > wrote: I'm able to have the socket client and server on the same device. (Win 10) Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Tue Dec 22 17:21:47 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 22 Dec 2020 17:21:47 -0500 Subject: Secure connection to server In-Reply-To: <47BC303B-7AC4-40B7-89AE-4F54DECDB5E6@iotecdigital.com> References: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> <2B53C68B-868C-4D8C-A4DF-965A39F515D6@iotecdigital.com> <008a01d6d8ac$36048a10$a20d9e30$@net> <47BC303B-7AC4-40B7-89AE-4F54DECDB5E6@iotecdigital.com> Message-ID: <009d01d6d8b0$d9387d50$8ba977f0$@net> Tried it on Mac (Mojave) and it worked. Though I did have to use the IP address rather than the Mac's name in the client. I wonder what I'm doing wrong? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Tuesday, December 22, 2020 4:48 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Secure connection to server Hmmm? didn?t work on my Mac. Not sure why, it may be something I did. Bob S On Dec 22, 2020, at 1:48 PM, Ralph DiMola via use-livecode > wrote: I'm able to have the socket client and server on the same device. (Win 10) Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Tue Dec 22 17:20:47 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 22 Dec 2020 16:20:47 -0600 Subject: Encrypting Stack Breaks Field References In-Reply-To: <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> Message-ID: On Tue, Dec 22, 2020 at 3:23 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > What he said. The promise of creating standalones and encrypted stacks > containing code sounds promising, but there are caveats. It begs the > question, how do we encrypt script only stacks or libraries? I don?t use > encrypted stacks because my code is for internal use only, but if I ever > went commercial, this would be something I would need. It is possible to convert script only stacks to binary, encrypted stacks and save them using the same file name. The Levure app packaging scripts will do this when you package up an app. So you get the benefit of script only stacks during development and the protection of encrypted when you distribute. -- Trevor DeVore ScreenSteps > From curry at pair.com Tue Dec 22 17:21:29 2020 From: curry at pair.com (Curry Kenworthy) Date: Tue, 22 Dec 2020 17:21:29 -0500 Subject: Encrypting Stack Breaks Field References In-Reply-To: <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> References: <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> Message-ID: <365402f4-7705-9a26-0f24-57d368ce6ab5@pair.com> Bob: > The promise of creating standalones and encrypted stacks > containing code sounds promising, but there are caveats. Just like anything else - you have to learn the ropes. First time at any task can present some challenges. For those in the habit of encrypting stacks, it comes more naturally. Script-only would require the most discipline, so start with UI+script projects and work your way up from there. (Bug-reporting as you go, if necessary. The history of LC protection, like LC everything else, has not been without hiccups along the way.) Also.... No idea if it happened in this particular case, but I see plenty of similar problems people have due to the copy/paste LC coding culture. By which I mean: How do I do X in LC? Ah, here's some code - presto! The problem SEEMS solved. Learning SEEMS to have happened. The perfect Acme solution. Then a different context comes along, maybe a different OS, or an encrypted stack and - wham - coyote hits a wall. Road runner zooms away. People don't realize (and someone may pipe up and argue against) the fact that just because code works once, in one context, doesn't mean it's good code that should be liberally pasted. Or promoted as sample code. There is so much sample code out there, but the quality really varies. Bad sample code can hurt people. So to all coders in general and Livecoders in particular - be careful what you paste. Have realistic expectations and a cautious approach. Take the time to understand the code you're working with and the LC keywords involved. Good code has some extra qualities, such as: robust, efficient, modular, easy to maintain, and widely applicable. Bonus for heavily tested. Likewise, copy/paste coding does not result in the same level of coding proficiency as fluency to think and write in the LC language. You have to exercise your LC-cep just like any other muscle. (Here I would anticipate a smart aleck asking why don't I post all the perfect samples; there is always some pushback against both common sense and less-frequent posters on this list. But as usual, I've already answered that question before it was asked. Sorry coyote. Beep beep.) Hope everyone is doing well! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Tue Dec 22 18:36:36 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 22 Dec 2020 23:36:36 +0000 Subject: Secure connection to server In-Reply-To: <009d01d6d8b0$d9387d50$8ba977f0$@net> References: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> <2B53C68B-868C-4D8C-A4DF-965A39F515D6@iotecdigital.com> <008a01d6d8ac$36048a10$a20d9e30$@net> <47BC303B-7AC4-40B7-89AE-4F54DECDB5E6@iotecdigital.com> <009d01d6d8b0$d9387d50$8ba977f0$@net> Message-ID: I think I remember why I couldn?t do it. I was using the loopback connector for some reason. Bob S On Dec 22, 2020, at 2:21 PM, Ralph DiMola via use-livecode > wrote: Tried it on Mac (Mojave) and it worked. Though I did have to use the IP address rather than the Mac's name in the client. I wonder what I'm doing wrong? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jacque at hyperactivesw.com Tue Dec 22 19:09:04 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Dec 2020 18:09:04 -0600 Subject: Encrypting Stack Breaks Field References In-Reply-To: <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> Message-ID: <1768ced8100.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Unless you specifically need text files for git or some other reason, you don't really need script-only stacks. Put the script in a button and then put it in use or use it as a backscript. It will be encrypted when the stack is. Another advantage to keeping scripts in the stack is that they work with remote debugging, unlike text based scripts. Brian Milby's script tracker is also a way to get the best of both worlds. It saves scripts out to text files for uploading to github while keeping the advantages of stack-based scripts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 22, 2020 3:24:11 PM Bob Sneidar via use-livecode wrote: > What he said. The promise of creating standalones and encrypted stacks > containing code sounds promising, but there are caveats. It begs the > question, how do we encrypt script only stacks or libraries? I don?t use > encrypted stacks because my code is for internal use only, but if I ever > went commercial, this would be something I would need. > > Bob S > > >> On Dec 13, 2020, at 4:02 PM, Richard Gaskin via use-livecode >> wrote: >> >> Ron Noice wrote: >> >> ? My program (built with LC 9.6.1 Indy Windows) contains a large number >> > of references to fields by variables. >> ... >> > only when I encrypt it does it fight back. Here's a simplified example >> > of what I'm doing: >> > >> > create group "grpTree" >> > ... >> > copy fld "baseBox" to grp "grpTree" >> >> ^ that's your issue. >> >> Copying objects is disallowed in an encrypted stack, since of course once >> an object is copied it could be pasted into an unencrypted stack, and thus >> expose the source. >> >> You might consider moving the code from the encrypted stack to an encrypted >> behavior object, leaving the stack where copying must be done unencrypted. >> >> But if these objects are being copied only by script for the purpose of >> automatically building out a UI, without a need to alter the user's >> clipboard, you might consider using the clone command instead. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Dec 22 19:22:09 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 23 Dec 2020 00:22:09 +0000 Subject: Encrypting Stack Breaks Field References In-Reply-To: <1768ced8100.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> <1768ced8100.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <316C62A7-6939-4B99-B94E-F6EE12117AB9@iotecdigital.com> Hmmm? Isn?t Levure almost completely based on script only stacks? Bob S > On Dec 22, 2020, at 4:09 PM, J. Landman Gay via use-livecode wrote: > > Unless you specifically need text files for git or some other reason, you don't really need script-only stacks. Put the script in a button and then put it in use or use it as a backscript. It will be encrypted when the stack is. Another advantage to keeping scripts in the stack is that they work with remote debugging, unlike text based scripts. > > Brian Milby's script tracker is also a way to get the best of both worlds. It saves scripts out to text files for uploading to github while keeping the advantages of stack-based scripts. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 22, 2020 3:24:11 PM Bob Sneidar via use-livecode wrote: > >> What he said. The promise of creating standalones and encrypted stacks containing code sounds promising, but there are caveats. It begs the question, how do we encrypt script only stacks or libraries? I don?t use encrypted stacks because my code is for internal use only, but if I ever went commercial, this would be something I would need. >> >> Bob S >> >> >>> On Dec 13, 2020, at 4:02 PM, Richard Gaskin via use-livecode wrote: >>> >>> Ron Noice wrote: >>> >>> ? My program (built with LC 9.6.1 Indy Windows) contains a large number >>> > of references to fields by variables. >>> ... >>> > only when I encrypt it does it fight back. Here's a simplified example >>> > of what I'm doing: >>> > >>> > create group "grpTree" >>> > ... >>> > copy fld "baseBox" to grp "grpTree" >>> >>> ^ that's your issue. >>> >>> Copying objects is disallowed in an encrypted stack, since of course once an object is copied it could be pasted into an unencrypted stack, and thus expose the source. >>> >>> You might consider moving the code from the encrypted stack to an encrypted behavior object, leaving the stack where copying must be done unencrypted. >>> >>> But if these objects are being copied only by script for the purpose of automatically building out a UI, without a need to alter the user's clipboard, you might consider using the clone command instead. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Dec 22 21:49:20 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Dec 2020 20:49:20 -0600 Subject: Encrypting Stack Breaks Field References In-Reply-To: <316C62A7-6939-4B99-B94E-F6EE12117AB9@iotecdigital.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> <1768ced8100.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <316C62A7-6939-4B99-B94E-F6EE12117AB9@iotecdigital.com> Message-ID: <1768d803b80.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Trevor uses git, which is why script-only stacks were invented. The LC team uses git too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 22, 2020 6:24:22 PM Bob Sneidar via use-livecode wrote: > Hmmm? Isn?t Levure almost completely based on script only stacks? > > Bob S > > >> On Dec 22, 2020, at 4:09 PM, J. Landman Gay via use-livecode >> wrote: >> >> Unless you specifically need text files for git or some other reason, you >> don't really need script-only stacks. Put the script in a button and then >> put it in use or use it as a backscript. It will be encrypted when the >> stack is. Another advantage to keeping scripts in the stack is that they >> work with remote debugging, unlike text based scripts. >> >> Brian Milby's script tracker is also a way to get the best of both worlds. >> It saves scripts out to text files for uploading to github while keeping >> the advantages of stack-based scripts. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On December 22, 2020 3:24:11 PM Bob Sneidar via use-livecode >> wrote: >> >>> What he said. The promise of creating standalones and encrypted stacks >>> containing code sounds promising, but there are caveats. It begs the >>> question, how do we encrypt script only stacks or libraries? I don?t use >>> encrypted stacks because my code is for internal use only, but if I ever >>> went commercial, this would be something I would need. >>> >>> Bob S >>> >>> >>>> On Dec 13, 2020, at 4:02 PM, Richard Gaskin via use-livecode >>>> wrote: >>>> >>>> Ron Noice wrote: >>>> >>>> ? My program (built with LC 9.6.1 Indy Windows) contains a large number >>>> > of references to fields by variables. >>>> ... >>>> > only when I encrypt it does it fight back. Here's a simplified example >>>> > of what I'm doing: >>>> > >>>> > create group "grpTree" >>>> > ... >>>> > copy fld "baseBox" to grp "grpTree" >>>> >>>> ^ that's your issue. >>>> >>>> Copying objects is disallowed in an encrypted stack, since of course once >>>> an object is copied it could be pasted into an unencrypted stack, and thus >>>> expose the source. >>>> >>>> You might consider moving the code from the encrypted stack to an encrypted >>>> behavior object, leaving the stack where copying must be done unencrypted. >>>> >>>> But if these objects are being copied only by script for the purpose of >>>> automatically building out a UI, without a need to alter the user's >>>> clipboard, you might consider using the clone command instead. >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Systems >>>> Software Design and Development for the Desktop, Mobile, and the Web >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Dec 23 00:38:47 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Dec 2020 23:38:47 -0600 Subject: Encrypting Stack Breaks Field References In-Reply-To: <1768d803b80.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> <1768ced8100.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <316C62A7-6939-4B99-B94E-F6EE12117AB9@iotecdigital.com> <1768d803b80.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1768e1b5e58.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Rather, I didn't mean the team invented script-only stacks for Trevor in particular, but rather than they moved to git and needed text files. English is such a positional language. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 22, 2020 8:51:36 PM "J. Landman Gay via use-livecode" wrote: > Trevor uses git, which is why script-only stacks were invented. The LC team > uses git too. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On December 22, 2020 6:24:22 PM Bob Sneidar via use-livecode > wrote: > >> Hmmm? Isn?t Levure almost completely based on script only stacks? >> >> Bob S >> >> >>> On Dec 22, 2020, at 4:09 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> Unless you specifically need text files for git or some other reason, you >>> don't really need script-only stacks. Put the script in a button and then >>> put it in use or use it as a backscript. It will be encrypted when the >>> stack is. Another advantage to keeping scripts in the stack is that they >>> work with remote debugging, unlike text based scripts. >>> >>> Brian Milby's script tracker is also a way to get the best of both worlds. >>> It saves scripts out to text files for uploading to github while keeping >>> the advantages of stack-based scripts. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On December 22, 2020 3:24:11 PM Bob Sneidar via use-livecode >>> wrote: >>> >>>> What he said. The promise of creating standalones and encrypted stacks >>>> containing code sounds promising, but there are caveats. It begs the >>>> question, how do we encrypt script only stacks or libraries? I don?t use >>>> encrypted stacks because my code is for internal use only, but if I ever >>>> went commercial, this would be something I would need. >>>> >>>> Bob S >>>> >>>> >>>>> On Dec 13, 2020, at 4:02 PM, Richard Gaskin via use-livecode >>>>> wrote: >>>>> >>>>> Ron Noice wrote: >>>>> >>>>> ? My program (built with LC 9.6.1 Indy Windows) contains a large number >>>>> > of references to fields by variables. >>>>> ... >>>>> > only when I encrypt it does it fight back. Here's a simplified example >>>>> > of what I'm doing: >>>>> > >>>>> > create group "grpTree" >>>>> > ... >>>>> > copy fld "baseBox" to grp "grpTree" >>>>> >>>>> ^ that's your issue. >>>>> >>>>> Copying objects is disallowed in an encrypted stack, since of course once >>>>> an object is copied it could be pasted into an unencrypted stack, and thus >>>>> expose the source. >>>>> >>>>> You might consider moving the code from the encrypted stack to an encrypted >>>>> behavior object, leaving the stack where copying must be done unencrypted. >>>>> >>>>> But if these objects are being copied only by script for the purpose of >>>>> automatically building out a UI, without a need to alter the user's >>>>> clipboard, you might consider using the clone command instead. >>>>> >>>>> -- >>>>> Richard Gaskin >>>>> Fourth World Systems >>>>> Software Design and Development for the Desktop, Mobile, and the Web >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Wed Dec 23 06:05:07 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 23 Dec 2020 06:05:07 -0500 Subject: Basic mobile app question Message-ID: <886f78b1e60088d4f7da85138ab317fe@souslelogo.com> Hi list, A friend of mine has a website with a responsive version, and would like to have a mobile app as well. Of course, he has next to zero budget, so I was wondering if it could be possible to use Livecode to make a basic app that would create a browser object at startup, and the url of the website would load into it... Of course this is technically feasible, but is it an acceptable solution ? And last but not least, would it be accepted on the Appstore ? Thanks in advance. jbv From rdimola at evergreeninfo.net Wed Dec 23 08:35:04 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 23 Dec 2020 08:35:04 -0500 Subject: Basic mobile app question In-Reply-To: <886f78b1e60088d4f7da85138ab317fe@souslelogo.com> References: <886f78b1e60088d4f7da85138ab317fe@souslelogo.com> Message-ID: <001201d6d930$6f112320$4d336960$@net> This would not be approved by the Apple reviewers. The PlayStore now has similar rules prohibiting apps that are nothing more than website portals. 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 jbv via use-livecode Sent: Wednesday, December 23, 2020 6:05 AM To: How to use LiveCode Cc: jbv at souslelogo.com Subject: Basic mobile app question Hi list, A friend of mine has a website with a responsive version, and would like to have a mobile app as well. Of course, he has next to zero budget, so I was wondering if it could be possible to use Livecode to make a basic app that would create a browser object at startup, and the url of the website would load into it... Of course this is technically feasible, but is it an acceptable solution ? And last but not least, would it be accepted on the Appstore ? Thanks in advance. jbv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Dec 23 10:44:38 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 23 Dec 2020 15:44:38 +0000 Subject: Encrypting Stack Breaks Field References In-Reply-To: <1768e1b5e58.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> <1768ced8100.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <316C62A7-6939-4B99-B94E-F6EE12117AB9@iotecdigital.com> <1768d803b80.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1768e1b5e58.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I chose the more likely of the two possibilities. :-) Bob S On Dec 22, 2020, at 9:38 PM, J. Landman Gay via use-livecode > wrote: Rather, I didn't mean the team invented script-only stacks for Trevor in particular, but rather than they moved to git and needed text files. English is such a positional language. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dougr at telus.net Wed Dec 23 14:57:17 2020 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 23 Dec 2020 11:57:17 -0800 Subject: move cursor to the end of a line in a field Message-ID: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> I need to position the cursor at the end of the contents of a single line field. This can be "manually" done by pressing the "END" key while the cursor is in that field. I want to do that positioning programmatically... but ... I've searched all of the "...KeyDown" message options (e.g. commandKeyDown, controlKeyDown, optionKeyDown) and the other "key" message options (e.g. functionKey) and cannot find one which will tell me what the "END" key is... a Windows resource tells me it is "35".... "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey value to the active field? Or, ideally, can someone tell me how to "emulate" the "END" key and position the cursor at the end of the contents of a single line field? Likely simple but I just can't work it out. Thanks in advance! Douglas Ruisaard Trilogy Software (250) 573-3935 From matthias_livecode_150811 at m-r-d.de Wed Dec 23 15:21:41 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 23 Dec 2020 21:21:41 +0100 Subject: move cursor to the end of a line in a field In-Reply-To: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> References: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> Message-ID: Douglas, you can use select after line x of fld y for this. For example to place the cursor after line 3 of fld "text" you would write select after line 3 of fld "text" Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode : > > I need to position the cursor at the end of the contents of a single line > field. This can be "manually" done by pressing the "END" key while the > cursor is in that field. I want to do that positioning programmatically... > but ... > > I've searched all of the "...KeyDown" message options (e.g. commandKeyDown, > controlKeyDown, optionKeyDown) and the other "key" message options (e.g. > functionKey) and cannot find one which will tell me what the "END" key is... > a Windows resource tells me it is "35".... > > "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey > value to the active field? Or, ideally, can someone tell me how to > "emulate" the "END" key and position the cursor at the end of the contents > of a single line field? > > Likely simple but I just can't work it out. Thanks in advance! > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Wed Dec 23 15:22:35 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 23 Dec 2020 15:22:35 -0500 Subject: move cursor to the end of a line in a field In-Reply-To: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> References: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> Message-ID: select char (the number of chars in field 1)+1 to -1 of field 1 Sent from my iPhone > On Dec 23, 2020, at 2:58 PM, Douglas A. Ruisaard via use-livecode wrote: > > ?I need to position the cursor at the end of the contents of a single line > field. This can be "manually" done by pressing the "END" key while the > cursor is in that field. I want to do that positioning programmatically... > but ... > > I've searched all of the "...KeyDown" message options (e.g. commandKeyDown, > controlKeyDown, optionKeyDown) and the other "key" message options (e.g. > functionKey) and cannot find one which will tell me what the "END" key is... > a Windows resource tells me it is "35".... > > "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey > value to the active field? Or, ideally, can someone tell me how to > "emulate" the "END" key and position the cursor at the end of the contents > of a single line field? > > Likely simple but I just can't work it out. Thanks in advance! > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Wed Dec 23 15:26:10 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 23 Dec 2020 15:26:10 -0500 Subject: move cursor to the end of a line in a field In-Reply-To: References: Message-ID: <93DA2F3C-2A9F-4685-A030-C90246043C94@milby7.com> To improve on my initial suggestion... select after char -1 of field 1 Sent from my iPhone > On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode wrote: > > ?Douglas, > > you can use > > select after line x of fld y > > for this. > For example to place the cursor after line 3 of fld "text" you would write > > select after line 3 of fld "text" > > > Regards, > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode : >> >> I need to position the cursor at the end of the contents of a single line >> field. This can be "manually" done by pressing the "END" key while the >> cursor is in that field. I want to do that positioning programmatically... >> but ... >> >> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown, >> controlKeyDown, optionKeyDown) and the other "key" message options (e.g. >> functionKey) and cannot find one which will tell me what the "END" key is... >> a Windows resource tells me it is "35".... >> >> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey >> value to the active field? Or, ideally, can someone tell me how to >> "emulate" the "END" key and position the cursor at the end of the contents >> of a single line field? >> >> Likely simple but I just can't work it out. Thanks in advance! >> >> Douglas Ruisaard >> >> Trilogy Software >> (250) 573-3935 >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Wed Dec 23 15:30:47 2020 From: theaford at btinternet.com (Terence Heaford) Date: Wed, 23 Dec 2020 20:30:47 +0000 Subject: rotatedText widget and others Message-ID: <275219A8-B129-474A-93F8-4F400348CF6B@btinternet.com> Has anyone tried using this widget? The ?get the formatted height of widget? function does not appear to return the correct result. Whats the point of Livecode providing a widget that does not function correctly. It may rotate text but try aligning a number of these widgets without the dimensions being correct. A complete waste of my time. If anyone can provide details that I am missing to get this ?so called? widget to function correctly I?ll gladly get down on my knees and apologise for this rant. ---- I?ve looked at the line chart widget, not enough functionality for a true line chart, rather simplistic. Pie chart, as line chart. End of second rant. ?? Are any of these ?so called? widgets provided by LC designed to provide any true functionality or am I just wasting my time trying to use them. They appear to have been knocked up during someones tea break. Not a great way to advertise LC?s abilities. Terry From bobsneidar at iotecdigital.com Wed Dec 23 15:30:58 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 23 Dec 2020 20:30:58 +0000 Subject: move cursor to the end of a line in a field In-Reply-To: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> References: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> Message-ID: off the top of my head, select char -1 to -1 of the focusedObject (or me if in the script of the field itself). Trouble is I am trying this in the field script itself and it doesn?t work, but if I enter select char -1 to -1 of field 7 in the message box it DOES work. Bob S > On Dec 23, 2020, at 11:57 AM, Douglas A. Ruisaard via use-livecode wrote: > > I need to position the cursor at the end of the contents of a single line > field. This can be "manually" done by pressing the "END" key while the > cursor is in that field. I want to do that positioning programmatically... > but ... > > I've searched all of the "...KeyDown" message options (e.g. commandKeyDown, > controlKeyDown, optionKeyDown) and the other "key" message options (e.g. > functionKey) and cannot find one which will tell me what the "END" key is... > a Windows resource tells me it is "35".... > > "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey > value to the active field? Or, ideally, can someone tell me how to > "emulate" the "END" key and position the cursor at the end of the contents > of a single line field? > > Likely simple but I just can't work it out. Thanks in advance! > > Douglas Ruisaard > > Trilogy Software > (250) 573-3935 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Dec 23 15:31:47 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 23 Dec 2020 21:31:47 +0100 Subject: move cursor to the end of a line in a field In-Reply-To: <93DA2F3C-2A9F-4685-A030-C90246043C94@milby7.com> References: <93DA2F3C-2A9F-4685-A030-C90246043C94@milby7.com> Message-ID: <519C8204-7BC0-4E39-9427-F6B875C56EDF@m-r-d.de> - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.12.2020 um 21:26 schrieb Brian Milby via use-livecode : > > To improve on my initial suggestion... > > select after char -1 of field 1 > or to improve your 2nd suggestion.. select after fld 1 would do the same. ;) > Sent from my iPhone > >> On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode wrote: >> >> ?Douglas, >> >> you can use >> >> select after line x of fld y >> >> for this. >> For example to place the cursor after line 3 of fld "text" you would write >> >> select after line 3 of fld "text" >> >> >> Regards, >> >> Matthias >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode : >>> >>> I need to position the cursor at the end of the contents of a single line >>> field. This can be "manually" done by pressing the "END" key while the >>> cursor is in that field. I want to do that positioning programmatically... >>> but ... >>> >>> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown, >>> controlKeyDown, optionKeyDown) and the other "key" message options (e.g. >>> functionKey) and cannot find one which will tell me what the "END" key is... >>> a Windows resource tells me it is "35".... >>> >>> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey >>> value to the active field? Or, ideally, can someone tell me how to >>> "emulate" the "END" key and position the cursor at the end of the contents >>> of a single line field? >>> >>> Likely simple but I just can't work it out. Thanks in advance! >>> >>> Douglas Ruisaard >>> >>> Trilogy Software >>> (250) 573-3935 >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Dec 23 15:50:50 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 23 Dec 2020 12:50:50 -0800 Subject: move cursor to the end of a line in a field In-Reply-To: <93DA2F3C-2A9F-4685-A030-C90246043C94@milby7.com> References: <93DA2F3C-2A9F-4685-A030-C90246043C94@milby7.com> Message-ID: On 12/23/20 12:26 PM, Brian Milby via use-livecode wrote: > To improve on my initial suggestion... > > select after char -1 of field 1 That's the end of the *field* not the *line*. -- Mark Wieder ahsoftware at gmail.com From matthias_livecode_150811 at m-r-d.de Wed Dec 23 15:57:11 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 23 Dec 2020 21:57:11 +0100 Subject: move cursor to the end of a line in a field In-Reply-To: References: <93DA2F3C-2A9F-4685-A030-C90246043C94@milby7.com> Message-ID: <322F015B-316B-4F9C-91DB-751855951DFB@m-r-d.de> - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.12.2020 um 21:50 schrieb Mark Wieder via use-livecode : > > On 12/23/20 12:26 PM, Brian Milby via use-livecode wrote: >> To improve on my initial suggestion... >> select after char -1 of field 1 > > That's the end of the *field* not the *line*. But it would work, because Douglas wrote that it is a single line field. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Wed Dec 23 16:49:38 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 23 Dec 2020 22:49:38 +0100 Subject: move cursor to the end of a line in a field In-Reply-To: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> References: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> Message-ID: <999B049D-D452-4E74-A9BC-2FDB30B18211@me.com> > 23. des. 2020 kl. 20:57 skrev Douglas A. Ruisaard via use-livecode : > > "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey > value to the active field? Or, ideally, can someone tell me how to > "emulate" the "END" key and position the cursor at the end of the contents > of a single line field? You could try this in the field script: on rawKeyDown theKey if theKey = 65367 then select after me else pass rawKeyDown end if end rawKeyDown This will allow the normal behavior for all other keys when the field is active. Best regards Tore Nilsen From tore.nilsen at me.com Wed Dec 23 16:53:10 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 23 Dec 2020 22:53:10 +0100 Subject: move cursor to the end of a line in a field In-Reply-To: <999B049D-D452-4E74-A9BC-2FDB30B18211@me.com> References: <00ac01d6d965$d1bf7c80$753e7580$@telus.net> <999B049D-D452-4E74-A9BC-2FDB30B18211@me.com> Message-ID: And if you have a multiline field and would like to go to the end of the current line use this: on rawKeyDown theKey if theKey = 65367 then put word 2 of the selectedLine of me into tLine select after line tLine of me else pass rawKeyDown end if end rawKeyDown > 23. des. 2020 kl. 22:49 skrev Tore Nilsen via use-livecode : > > > >> 23. des. 2020 kl. 20:57 skrev Douglas A. Ruisaard via use-livecode : >> >> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey >> value to the active field? Or, ideally, can someone tell me how to >> "emulate" the "END" key and position the cursor at the end of the contents >> of a single line field? > > You could try this in the field script: > > on rawKeyDown theKey > if theKey = 65367 then > select after me > else > pass rawKeyDown > end if > end rawKeyDown > > This will allow the normal behavior for all other keys when the field is active. > > Best regards > Tore Nilsen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Wed Dec 23 17:28:34 2020 From: dougr at telus.net (Douglas A. Ruisaard) Date: Wed, 23 Dec 2020 14:28:34 -0800 Subject: move cursor to the end of a line in a field addendum Message-ID: <00b901d6d97a$f3f02f10$dbd08d30$@telus.net> Thanks to all that replied... what a great community! Actually "select after line 1 of the focusedObject" works best for me .. kinda of a combo of several of the suggestions Douglas Ruisaard Trilogy Software (250) 573-3935 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode Sent: Wednesday, December 23, 2020 12:26 PM To: How to use LiveCode Cc: Brian Milby Subject: Re: move cursor to the end of a line in a field To improve on my initial suggestion... select after char -1 of field 1 Sent from my iPhone > On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode wrote: > > ?Douglas, > > you can use > > select after line x of fld y > > for this. > For example to place the cursor after line 3 of fld "text" you would write > > select after line 3 of fld "text" > > > Regards, > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode : >> >> I need to position the cursor at the end of the contents of a single line >> field. This can be "manually" done by pressing the "END" key while the >> cursor is in that field. I want to do that positioning programmatically... >> but ... >> >> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown, >> controlKeyDown, optionKeyDown) and the other "key" message options (e.g. >> functionKey) and cannot find one which will tell me what the "END" key is... >> a Windows resource tells me it is "35".... >> >> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey >> value to the active field? Or, ideally, can someone tell me how to >> "emulate" the "END" key and position the cursor at the end of the contents >> of a single line field? >> >> Likely simple but I just can't work it out. Thanks in advance! >> >> Douglas Ruisaard >> >> Trilogy Software >> (250) 573-3935 >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Dec 23 18:20:12 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 23 Dec 2020 15:20:12 -0800 Subject: move cursor to the end of a line in a field In-Reply-To: <322F015B-316B-4F9C-91DB-751855951DFB@m-r-d.de> References: <93DA2F3C-2A9F-4685-A030-C90246043C94@milby7.com> <322F015B-316B-4F9C-91DB-751855951DFB@m-r-d.de> Message-ID: <1c9561a5-e155-ed9c-5cbf-9a024d401e51@sonic.net> On 12/23/20 12:57 PM, matthias rebbe via use-livecode wrote: >> That's the end of the *field* not the *line*. > > But it would work, because Douglas wrote that it is a single line field. Ah. I just assumed it was a bit of mistyping and should have been "single line of a field" ...and yes, I know what they say about assuming... -- Mark Wieder ahsoftware at gmail.com From lists at mangomultimedia.com Wed Dec 23 20:11:39 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 23 Dec 2020 19:11:39 -0600 Subject: Encrypting Stack Breaks Field References In-Reply-To: <316C62A7-6939-4B99-B94E-F6EE12117AB9@iotecdigital.com> References: <8865d742-8c6b-55b9-39d7-6691a300b986@fourthworld.com> <1AAF2902-5BFD-4A76-B7B5-5AEF3987ED7E@iotecdigital.com> <1768ced8100.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <316C62A7-6939-4B99-B94E-F6EE12117AB9@iotecdigital.com> Message-ID: On Tue, Dec 22, 2020 at 6:23 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Hmmm? Isn?t Levure almost completely based on script only stacks? You can use binary or script only stacks with Levure. It doesn?t care one way or the other. It?s just reading in stack files you add to your app folder. -- Trevor DeVore ScreenSteps > From curry at pair.com Thu Dec 24 12:48:13 2020 From: curry at pair.com (Curry Kenworthy) Date: Thu, 24 Dec 2020 12:48:13 -0500 Subject: Birthday Shoutout... In-Reply-To: References: Message-ID: <6fd43cf7-ca73-26d5-f295-946131f9d0bc@pair.com> ... to my friend and colleague Josh. Amazing coder (godlike skills), generous with his knowledge, and highly available. Thanks Josh. Enjoy your day, you earned it! ;) Also, LiveCoders: holiday greetings. May you give and receive the best gifts this year. (Not the virulent dirty gift that keeps on giving - i.e. bad sample code.) Always KISS, and practice safe syntax every single time. LC Ltd: nice bug fixes recently! Much appreciated. Cheers, and many returns por favor. Clients: thanks for another wonderful year of fantastic projects. (And for understanding my shortness of breath thus avoidance of phone/audio conversations after COVID.) Loved the emails, chats, and coding. Asthmatics: I've found that a low-pressure 0.4 psi air pump beats an albuterol inhaler in my own case for urgent breathing difficulty, so now I always keep one within reach plus a battery backup. Video chatters: "Fans" (admirers) of my many fans (air-blowing devices and HEPA units) will be pleased to know that I've added two more to the collection, a small but powerful in-my-face desktop fan and a roughly equivalent wheelchair fan. Yes, my hair really is blowing. Hopefully I can demo those soon in '21. Addon users: I hoped to announce a big year-end addon update and promo, but was sick a little too often; still catching up. Work continues. I'll try to aim for an Easter/Spring event. Critics: National Socialism went out of style a while back, but ah well. The good guys win in the end! Code and LC enthusiasts: I'm gradually building up new equipment and next-gen code to overcome my own health limitations (a necessity) and in the process, hopefully revolutionize several coding areas. I'll share this toolset when it's sufficiently mature. Including what I hinted about (but did not spell out completely, to avoid copycats) in a recent conference presentation. Cancel culturists: My sincere wishes for an uplifting and very traditional Christ-mas and other holy-days. :D Back to work/lurk.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From dochawk at gmail.com Sat Dec 26 12:31:43 2020 From: dochawk at gmail.com (doc hawk) Date: Sat, 26 Dec 2020 09:31:43 -0800 Subject: Secure connection to server In-Reply-To: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> References: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> Message-ID: <4B7710F6-9943-4415-AFA6-F2CCFF518E21@gmail.com> There was supposedly an effort to enable secure Postgres connection a few years ago, but it seems to have withered and died. I had to give up on mysql for postgesql one the need to send compound queries. AFAIK, you still can?t do a block mysql transaction in mysql with livecode, making rollback impossible. (Well, I suppose you *could* do a big runaround with timestamps and faux ?transaction? keys, but you?re still counting on the client end not failing). If I got forward with the project, I?m going to be encrypting the data at the client end. It limits the types of transactions possible, but that?s fine for what I do. (But an actual secure Postgres connection would be far better . . . ) From e.beugelaar at me.com Mon Dec 28 05:46:50 2020 From: e.beugelaar at me.com (Erik Beugelaar) Date: Mon, 28 Dec 2020 11:46:50 +0100 Subject: Advice setting up a new project Message-ID: <000e01d6dd06$c0f062d0$42d12870$@me.com> Hello All, First of all I hope you all had a nice Xmas despite of all the Covid limitations. I have written in Python some crawlers in Scrapy. They are now executed via the command terminal and are working fine however they are written with fixed parameters and I want to make it more flexible. So, I am planning to make a GUI written in LiveCode (if possible) that is able to act as a layer over a HTML page in Chrome so the user can click on an element in the webpage so I can read the underlying data. It's a bit how ColorZilla is picking up a color from an HTML page. I think I will use Trevor's platform for the creation of the application but my main question is: are there examples or design patterns to implement the point and click mechanism? I know that Hermann who sadly passed away from us did a lot of amazing work with LiveCode HTML5 but I want to develop it with my current Indy subscription. I am aware or the Url() command. Any clues will be appreciated. Thanks in advance, Erik From daniel at digitalfauna.io Mon Dec 28 08:01:24 2020 From: daniel at digitalfauna.io (Dan Brown) Date: Mon, 28 Dec 2020 13:01:24 +0000 Subject: Livecode Builder - passing lcs string to C functions Message-ID: Hi I'm stuck trying to find examples of passing lcs strings to a C function via pointer and it's driving me mad! I can retrieve char * pointers from C functions, convert to string and pass back to lcs but haven't come across any easy to grok examples of sending data to C. Any guidance would be appreciated Thanks Dan From sundown.pacifier at icloud.com Mon Dec 28 08:11:43 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Mon, 28 Dec 2020 05:11:43 -0800 Subject: Livecode Builder - passing lcs string to C functions In-Reply-To: References: Message-ID: <29F813F3-F1BE-48D7-B1AA-C3BC484C0BD5@icloud.com> Basically you just use a shell command to execute the c code and pass arguments to the c program right after you call the code in the shell command. I wrote and example and posted it a few years ago but I do not have access to my old email files at the moment but you might still be able to find it by searching the list. I would be interested in seeing how you are doing it if you ever want to post the code for others to use. JB > On Dec 28, 2020, at 5:02 AM, Dan Brown via use-livecode wrote: > > ?Hi I'm stuck trying to find examples of passing lcs strings to a C function > via pointer and it's driving me mad! I can retrieve char * pointers from C > functions, convert to string and pass back to lcs but haven't come across > any easy to grok examples of sending data to C. Any guidance would be > appreciated > > Thanks > > Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Mon Dec 28 08:12:55 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Mon, 28 Dec 2020 14:12:55 +0100 Subject: Advice setting up a new project In-Reply-To: <000e01d6dd06$c0f062d0$42d12870$@me.com> References: <000e01d6dd06$c0f062d0$42d12870$@me.com> Message-ID: <49bac5b0-0e93-b81a-76a4-341ae2e4ab3a@gmail.com> If you've already written it in Python, then maybe it's more convenient for you to use BeeWare so you could deploy your Python app with a GUI to web and any other platform. Check beeware.org I would not use HTML5 from LC, it's far from usefull for a website or webapplication. Else i would use html + php or html + lc-server if you are able to instal lc-server on your server. Op 28-12-2020 om 11:46 schreef Erik Beugelaar via use-livecode: > Hello All, > > > > First of all I hope you all had a nice Xmas despite of all the Covid > limitations. > > > > I have written in Python some crawlers in Scrapy. They are now executed via > the command terminal and are working fine however they are written with > fixed parameters and I want to make it more flexible. > > > > So, I am planning to make a GUI written in LiveCode (if possible) that is > able to act as a layer over a HTML page in Chrome so the user can click on > an element in the webpage so I can read the underlying data. > > It's a bit how ColorZilla is picking up a color from an HTML page. > > > > I think I will use Trevor's platform for the creation of the application but > my main question is: are there examples or design patterns to implement the > point and click mechanism? > > > > I know that Hermann who sadly passed away from us did a lot of amazing work > with LiveCode HTML5 but I want to develop it with my current Indy > subscription. I am aware or the Url() command. > > > > Any clues will be appreciated. > > > > Thanks in advance, > > Erik > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Dec 28 11:18:03 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 28 Dec 2020 16:18:03 +0000 Subject: Ali or Monte - MimeEncodeAsMIMEMultipartDocument Message-ID: Hi all, The dictionary, as usual, is a bit lacking in regards to the Mime Library. For MimeEncodeAsMIMEMultipartDocument we have parameters but no idea what the values (enum) for them could or should be. pContentA: How do we pre-encode parts including headers? pMultipartType: What MultiPart types are there? pParamA: What kind of parameters does ParamA take? There is a lesson that has a single use-case instance but it does not cover all attachment or part types so we are still left guessing. Perhaps this is where either Monte or Ali who coded this could help us out. ( https://github.com/livecode/livecode/blob/38790fc428ff5fc3dc769b3a9cde5733bcf209a2/extensions/script-libraries/mime/mime.livecodescript ) I'm trying to attach a pdf to an email and have bcc addresses too. Thanks Sean Cole *Pi Digital * From lists at mangomultimedia.com Mon Dec 28 17:07:49 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 28 Dec 2020 16:07:49 -0600 Subject: Livecode Builder - passing lcs string to C functions In-Reply-To: References: Message-ID: On Mon, Dec 28, 2020 at 7:02 AM Dan Brown via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi I'm stuck trying to find examples of passing lcs strings to a C function > via pointer and it's driving me mad! I can retrieve char * pointers from C > functions, convert to string and pass back to lcs but haven't come across > any easy to grok examples of sending data to C. Any guidance would be > appreciated I've used MCStringConvertToBytes to convert strings to a value you can pass in as const char*. I have a hunspell example you can reference. Here is a link to the Hunspell_spell definition: https://github.com/hunspell/hunspell/blob/8a2fdfe5a6bb1cbafc04b0c8486abcefd17ad903/src/hunspell/hunspell.h#L69 ``` LIBHUNSPELL_DLL_EXPORTED int Hunspell_spell(Hunhandle* pHunspell, const char*); ``` Here is a link to the LCB code that passes a UTF8 string to Hunspell_spell: https://github.com/trevordevore/lc-hunspell/blob/master/hunspell.lcb#L150 Here is a link to the MCStringConvertToBytes definition in the LCB file: https://github.com/trevordevore/lc-hunspell/blob/master/hunspell.lcb#L19 -- Trevor DeVore ScreenSteps www.screensteps.com From neville.smythe at optusnet.com.au Mon Dec 28 20:25:26 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 29 Dec 2020 12:25:26 +1100 Subject: Secure connection to server In-Reply-To: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> References: <8CB64456-4330-4D01-9940-89CAE33496FA@optusnet.com.au> Message-ID: I have now moved all my code from php to LiveCode server as the middle-ware. Firstly it appears that the LiveCode post operation does reuse authentication credentials to an https connection as long as calls are made within a single script. In my case the first call typically takes slightly more than 1 second, subsequent calls in the same script take under half a second. This is still not adequate to conduct a conversation with the remote database, as was possible when connecting directly, but at least in my case I can get away with just two calls from clients to server: first ?tell me the current status of all this stuff?, second ?please update the db using this stuff?. It means packing and unpacking ?stuff? into large files at each end, but LC is so easy and efficient at text processing that was not difficult. Indeed as usual with refactoring, I found a number of code improvements. The remaining really slow operation involves managing the mail distribution lists. DreamHost is still using Mailman 2.x, so that the only way to get the current list of subscribers is to scrape the admin web pages. There is a well known subscriberlist.py python script to do this but it is painfully slow. When used directly (insecurely) from the client, this took 10 seconds or so to gather 175 subscribers. Transferring this to the server side with lc authentication in-between, it now takes 14 to 15 seconds; I?m not sure why it is more that 2 seconds slower but it is what it is. I have rewritten this as an lc script, which shaves a couple of seconds off; to be fair the python script is doing rather more than my lc script as it is much more generic. And on the other hand I can understand what my script is doing, whereas the python script is rather opaque (to me). So overall I am very happy with LC server. And I have a new toy to play with for the New Year. Neville > On 16 Dec 2020, at 11:32 am, Neville Smythe wrote: > > A little while ago in this forum we were alerted to the fact that LC direct connection to a remote database not using SSL was a security hole. This also applies to managing Mailman lists on a remote server. > > After a steep (re-)learning curve with the various technologies, I now have a working method in place for both mysql and Mailman connections, using php as middleware and posting via curl in a shell script. But it is sooo slooow. > > Direct connection downloaded an sql query in a fraction of a second. It now takes over a second. This is acceptable (barely) for an isolated call, but I sometimes need to make a sequence of posts. As I understand it, the slowness is due to the time required to establish the secure connection, not an LC problem. For example establishing an ssh connection in Terminal is even slower; but once established an ssh session is super fast. Similarly curl will reuse authentication credentials within a shell session, so I aggregate as many calls as I can with a single shell script before using shell(myscript), and this definitely helps. > > What I would like to do however is use LC server as the middleware: I could then process the required data on the server side; I could not contemplate using php to do this. I suspect the LC post command uses curl under the hood, but I also suspect each post call would create its own session. I don?t think it is possible to establish a single session to talk sequentially to lcserver; if so this would be too slow. Am I correct? > > Actually I guess I could just use my present method using curl and shell() instead of post, but addressed to an .lc script instead of .php? > > Or is there a whole better way to do what I want? > > Neville Smythe > > From klaus at major-k.de Tue Dec 29 12:32:03 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 29 Dec 2020 18:32:03 +0100 Subject: new datagrid ONLY reorder Message-ID: Hi friends, I just took a look at the new DG features as shown in the lesson: After setting -> set the dgEditMode of group "xxx" to true we have an nice SVG on the left side to delete the row and a nice one on the right side to reorder the lines in the datagrid. Is ist possible to only have the REORDER SVG to be shown? I only want my users to reorder the lines but not delete them! The lessons says "No": ................................................................................... These properties can be set to the long of of an object or empty. Setting the "edit mode action select control" will change the control that appears on the left, setting the "edit mode reorder control" will change the control on the right. !!!! Setting either of these properties to empty will result in the control not being displayed! !!!! ................................................................................... Possible? If yes, how? I tried with some nifty solutions with a listfield and a nice script, but all is working fine on the Mac and NOT on Windows. One time "the mosueline" is not recognized resulting in empty variable etc... very annoying, so I want to try this with a datagrid. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Tue Dec 29 13:44:03 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 29 Dec 2020 19:44:03 +0100 Subject: new datagrid ONLY reorder In-Reply-To: References: Message-ID: <73A054A2-6DEF-4346-A91D-C77538D69676@major-k.de> Hi all, > Am 29.12.2020 um 18:32 schrieb Klaus major-k via use-livecode : > ... > !!!! > Setting either of these properties to empty will result in the control not being displayed! > !!!! looks like I completely misunderstood the last line. 8-) OK, so this is possible, but this: ----------------------------------------------- on mouseUp set the dgProp["edit mode action control"] of group "Alphabet" to EMPTY send "refreshlist" to grp "Alphabet" end mouseUp ----------------------------------------------- does not remove the icon from the left side!? What am I still missing? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Tue Dec 29 13:59:11 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 29 Dec 2020 19:59:11 +0100 Subject: new datagrid ONLY reorder In-Reply-To: <73A054A2-6DEF-4346-A91D-C77538D69676@major-k.de> References: <73A054A2-6DEF-4346-A91D-C77538D69676@major-k.de> Message-ID: <7FAFF4C3-4306-4CD2-AF98-F1F4E6D633EA@major-k.de> > Am 29.12.2020 um 19:44 schrieb Klaus major-k via use-livecode : > Hi all, > ... > OK, so this is possible, but this: > ----------------------------------------------- > on mouseUp > set the dgProp["edit mode action control"] of group "Alphabet" to EMPTY > send "refreshlist" to grp "Alphabet" > end mouseUp > ----------------------------------------------- > does not remove the icon from the left side!? > What am I still missing? this DOES in fact work, if I delete that CP entry manually in the inspector!? -- Klaus Major https://www.major-k.de klaus at major-k.de From benr_mc at cogapp.com Tue Dec 29 14:34:20 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 29 Dec 2020 19:34:20 +0000 Subject: How to set up a library? Message-ID: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> What is the best way to structure a library these days? Currently I've got buttons with a script, and a 'mouseup' handler to 'insert the script of me into back' in my object library. But I don't think that's very modern. What's the right way to do it? Especially if I want to share it? TIA, Ben From jacque at hyperactivesw.com Tue Dec 29 18:07:14 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Dec 2020 17:07:14 -0600 Subject: Encoding puzzle Message-ID: I need to send a string in French to a server. The server expects one kind of encoding and LC's URL encoding is producing something different. Not only that, but after sending the LC encoded text, the server receives something unrelated. I can't identify why. Details: Original text: R?v?ler l'arch?ologie LC urlEncoded string: R%8Ev%8Eler+l%27arch%8Eologie LC string arrives at server as: R%EF%BF%BDv%EF%BF%BDler+l%27arch%EF%BF%BDologie Server expects: R%C3%A9v%C3%A9ler%20l%27arch%C3%A9ologie So why does the LC encoding arrive at the server in a different form, and why does neither the LC variable or the text the server receives match each other? And what encoding is it exactly that the server expects? I played around with textDecode and a few other things but didn't get anywhere. I know the server wants UTF8. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Tue Dec 29 18:24:18 2020 From: paul at researchware.com (Paul Dupuis) Date: Tue, 29 Dec 2020 18:24:18 -0500 Subject: Encoding puzzle In-Reply-To: References: Message-ID: <77a7d922-eec3-cd4d-68fc-6ab0444dd4f6@researchware.com> On 12/29/2020 6:07 PM, J. Landman Gay via use-livecode wrote: > Original text: R?v?ler l'arch?ologie > LC urlEncoded string: R%8Ev%8Eler+l%27arch%8Eologie URLEncode(textEncode(,"UTF8")) -> gets you a properly URL encoded string where the server is expecting UTF8 From bobsneidar at iotecdigital.com Tue Dec 29 18:33:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Dec 2020 23:33:17 +0000 Subject: How to set up a library? In-Reply-To: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> References: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> Message-ID: <97E1F755-5AD6-48B3-9B12-154171311AE3@iotecdigital.com> This is actually the only way. Besides Start Using a stack, which inserts the script of the target stack into back, if the script of a button is to be used as a library (or back/front script would be a better way to say it), insert into back or front is the way to do it. Otherwise setting the behavior of something will be persistent, but accomplishes the same thing really. It inserts the script of the object containing the behavior into the message path. Behaviors are a little different however when referring to me or this me. These return empty when in a front of back script and return the target and behavior of the target respectively when used in a behavior script. Bob S On Dec 29, 2020, at 11:34 AM, Ben Rubinstein via use-livecode > wrote: What is the best way to structure a library these days? Currently I've got buttons with a script, and a 'mouseup' handler to 'insert the script of me into back' in my object library. But I don't think that's very modern. What's the right way to do it? Especially if I want to share it? TIA, Ben From jacque at hyperactivesw.com Tue Dec 29 18:38:41 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Dec 2020 17:38:41 -0600 Subject: Encoding puzzle In-Reply-To: <77a7d922-eec3-cd4d-68fc-6ab0444dd4f6@researchware.com> References: <77a7d922-eec3-cd4d-68fc-6ab0444dd4f6@researchware.com> Message-ID: On 12/29/20 5:24 PM, Paul Dupuis via use-livecode wrote: > On 12/29/2020 6:07 PM, J. Landman Gay via use-livecode wrote: >> Original text: R?v?ler l'arch?ologie >> LC urlEncoded string: R%8Ev%8Eler+l%27arch%8Eologie > > URLEncode(textEncode(,"UTF8")) -> gets you a properly URL encoded string where > the server is expecting UTF8 Thank you, that works (though I need to replace the + with %20.) I had my encoding backwards. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Tue Dec 29 18:40:49 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 29 Dec 2020 23:40:49 +0000 Subject: How to set up a library? In-Reply-To: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> References: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> Message-ID: <972269bc-6d56-a1ac-90be-f873206c21cd@tweedly.net> I'd make it a script-only stack, and then start using stack "..." (probably in an openstack handler - but could be anywhere you like for your own use). By far the easiest to share (and for others to accept when shared). Alex. P.S. And, should this library be useful in LCServer context, it means you can upload the stack to the server without getting annoying error messages about mixed line endings which Coda-2 and some others give on binary stacks). On 29/12/2020 19:34, Ben Rubinstein via use-livecode wrote: > > What is the best way to structure a library these days? > > Currently I've got buttons with a script, and a 'mouseup' handler to > 'insert the script of me into back' in my object library. But I don't > think that's very modern. > > What's the right way to do it? Especially if I want to share it? > > 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 andre at andregarzia.com Tue Dec 29 19:26:41 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 30 Dec 2020 00:26:41 +0000 Subject: LiveCode Advanced Application Architecture eBook price reduced Message-ID: Hey Friends, I've reduced the price of my LiveCode eBook to ?9.99. This book will teach you advanced techniques, and contains a ton tips and tricks from a seasoned LC developer. Get it from: https://andregarzia.com/books/livecode-advanced-application-architecture.html Kind regards Andre -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From keith.clarke at me.com Wed Dec 30 08:48:29 2020 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 30 Dec 2020 13:48:29 +0000 Subject: How to render a two-dimensional array correctly with empty/missing 'cell' elements? Message-ID: Hi folks, I?m using LiveCode to parse a set of xml files with varying subsets of tags (dmarc reports) into a CSV file. The utility iterates through the files in the folder and the lines of the files, to identify unique opening tags and their content, all of which get parsed into an array: - Tags go into aDetails[0][tTagName] - Values go into aDetails[tFileNumber][tTagName] This is then displayed as a table, using the function below, borrowed from an LC lesson https://lessons.livecode.com/m/4071/l/12250-how-do-i-store-an-array-variable-inside-of-another-array-variable ? function displayArray @pArray # create variables that point to the line and column of the array local tLineItem, tColumnItem # create a variable that stores the output for printing local tPrintLine put empty into tPrintLine # loop through each row of the array repeat for each element tLineItem in pArray # loop through each column of the array repeat for each element tColumnItem in tLineItem # write content of the array to tPrintLine put tColumnItem & "," after tPrintLine end repeat # insert a return after each row we have written to tPrintLine put return after tPrintLine end repeat return tPrintLine end displayArray However, the above function seems to assume that all array elements have content, so I?m getting problems where there are empty elements in the xml files coming from various sources. I?m sure the loop repeating for each element can be refined to check for ?empty cells? by the tTagName key in my array but my LC array knowledge is to sparse to begin the search. Dos anyone have any tips on where I should start looking? Thanks & regards, Keith From alex at tweedly.net Wed Dec 30 08:56:09 2020 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 30 Dec 2020 13:56:09 +0000 Subject: How to render a two-dimensional array correctly with empty/missing 'cell' elements? In-Reply-To: References: Message-ID: Hi Keith here's a quick answer typed into email (i.e. not tested at all, sorry) function displayArray @pArray # create variables that point to the line and column of the array local tLineItem, tColumnItem # create a variable that stores the output for printing local tPrintLine put empty into tPrintLine # loop through each row of the array ?put item 2 of line 1 of the extents of pArray into tNumItem repeat with I = 1 to tNumItems # loop through each column of the array repeat for each key K in pArray[0] -- loop through the tags put [pArray[0][K] into tTag ?# write content of the array to tPrintLine put pArray[I] & "," after tPrintLine end repeat # insert a return after each row we have written to tPrintLine put return after tPrintLine end repeat return tPrintLine end displayArray Alex On 30/12/2020 13:48, Keith Clarke via use-livecode wrote: > Hi folks, > I?m using LiveCode to parse a set of xml files with varying subsets of tags (dmarc reports) into a CSV file. > > The utility iterates through the files in the folder and the lines of the files, to identify unique opening tags and their content, all of which get parsed into an array: > - Tags go into aDetails[0][tTagName] > - Values go into aDetails[tFileNumber][tTagName] > > This is then displayed as a table, using the function below, borrowed from an LC lesson https://lessons.livecode.com/m/4071/l/12250-how-do-i-store-an-array-variable-inside-of-another-array-variable ? > > function displayArray @pArray > # create variables that point to the line and column of the array > local tLineItem, tColumnItem > # create a variable that stores the output for printing > local tPrintLine > put empty into tPrintLine > # loop through each row of the array > repeat for each element tLineItem in pArray > # loop through each column of the array > repeat for each element tColumnItem in tLineItem > # write content of the array to tPrintLine > put tColumnItem & "," after tPrintLine > end repeat > # insert a return after each row we have written to tPrintLine > put return after tPrintLine > end repeat > return tPrintLine > end displayArray > > However, the above function seems to assume that all array elements have content, so I?m getting problems where there are empty elements in the xml files coming from various sources. > > I?m sure the loop repeating for each element can be refined to check for ?empty cells? by the tTagName key in my array but my LC array knowledge is to sparse to begin the search. > > Dos anyone have any tips on where I should start looking? > > Thanks & regards, > Keith > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Dec 30 10:09:52 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 30 Dec 2020 16:09:52 +0100 Subject: Server error? Message-ID: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> Hi all, I am currently working on a stack in LC 5.x for a customer. This stack only loads another stack from a server and displays it. Works fine in the IDE, but I get this error when trying this in the standalone, alle externals etc. are in fact present. The error reads: ---------------------------------------------- Cannot connect error error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version ----------------------------------------------- Maybe this is a mismatch between the SSL version on the server and the SSL version in LC5.x? But then it should also not work in the IDE!? This is very strange. Any insights and workarounds, if any, are very welcome, thanks! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From keith.clarke at me.com Wed Dec 30 11:33:06 2020 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 30 Dec 2020 16:33:06 +0000 Subject: How to render a two-dimensional array correctly with empty/missing 'cell' elements? In-Reply-To: References: Message-ID: <833FC28B-A31F-4B53-9E34-4045F5280C91@me.com> Hi Alex, Thanks for the response and suggested code - the change from iterating through array column items in each row to the header row[0] keys was the enlightenment I needed... ?Eureka!" :) A couple of tweaks and it?s working very nicely! function displayArray @pArray local tLineItem, tTag -- variables for array line and column (headers) local tPrintLine -- variable for output printing put empty into tPrintLine # loop through each row of the array put item 2 of line 1 of the extents of pArray into tNumItems repeat with I = 0 to tNumItems -- row 0 contains column labels # loop through each column for each row repeat for each key K in pArray[0] put K into tTag put pArray[I][tTag] & "," after tPrintLine -- write content of the row ?cell' to tPrintLine end repeat put return after tPrintLine -- insert a return after each row we have written to tPrintLine end repeat return tPrintLine end displayArray Thanks & regards, Keith > On 30 Dec 2020, at 13:56, Alex Tweedly via use-livecode wrote: > > Hi Keith > > here's a quick answer typed into email (i.e. not tested at all, sorry) > > function displayArray @pArray > # create variables that point to the line and column of the array > local tLineItem, tColumnItem > # create a variable that stores the output for printing > local tPrintLine > put empty into tPrintLine > # loop through each row of the array > put item 2 of line 1 of the extents of pArray into tNumItem > repeat with I = 1 to tNumItems > # loop through each column of the array > repeat for each key K in pArray[0] -- loop through the tags > put [pArray[0][K] into tTag > # write content of the array to tPrintLine > put pArray[I] & "," after tPrintLine > end repeat > # insert a return after each row we have written to tPrintLine > put return after tPrintLine > end repeat > return tPrintLine > end displayArray > > Alex > > On 30/12/2020 13:48, Keith Clarke via use-livecode wrote: >> Hi folks, >> I?m using LiveCode to parse a set of xml files with varying subsets of tags (dmarc reports) into a CSV file. >> >> The utility iterates through the files in the folder and the lines of the files, to identify unique opening tags and their content, all of which get parsed into an array: >> - Tags go into aDetails[0][tTagName] >> - Values go into aDetails[tFileNumber][tTagName] >> >> This is then displayed as a table, using the function below, borrowed from an LC lesson https://lessons.livecode.com/m/4071/l/12250-how-do-i-store-an-array-variable-inside-of-another-array-variable ? >> >> function displayArray @pArray >> # create variables that point to the line and column of the array >> local tLineItem, tColumnItem >> # create a variable that stores the output for printing >> local tPrintLine >> put empty into tPrintLine >> # loop through each row of the array >> repeat for each element tLineItem in pArray >> # loop through each column of the array >> repeat for each element tColumnItem in tLineItem >> # write content of the array to tPrintLine >> put tColumnItem & "," after tPrintLine >> end repeat >> # insert a return after each row we have written to tPrintLine >> put return after tPrintLine >> end repeat >> return tPrintLine >> end displayArray >> >> However, the above function seems to assume that all array elements have content, so I?m getting problems where there are empty elements in the xml files coming from various sources. >> >> I?m sure the loop repeating for each element can be refined to check for ?empty cells? by the tTagName key in my array but my LC array knowledge is to sparse to begin the search. >> >> Dos anyone have any tips on where I should start looking? >> >> Thanks & regards, >> Keith >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From chipsm at themartinz.com Wed Dec 30 11:43:51 2020 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Wed, 30 Dec 2020 16:43:51 +0000 Subject: LiveCode Advanced Application Architecture eBook price reduced In-Reply-To: References: Message-ID: Andre, I just purchased the book. I am reading as I send this email back to you. Thanks for this resource. It is valuable resource and I hope to be a fervent believer in your advice. I will continue reading but I am anticipating a very favorable review. I will update you soon - I can't stop reading the book. -----Original Message----- From: use-livecode On Behalf Of Andre Garzia via use-livecode Sent: Tuesday, December 29, 2020 4:27 PM To: How to use LiveCode Cc: Andre Garzia Subject: LiveCode Advanced Application Architecture eBook price reduced Hey Friends, I've reduced the price of my LiveCode eBook to ?9.99. This book will teach you advanced techniques, and contains a ton tips and tricks from a seasoned LC developer. Get it from: https://andregarzia.com/books/livecode-advanced-application-architecture.html Kind regards Andre -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Wed Dec 30 12:12:12 2020 From: kee.nethery at elloco.com (Kee Nethery) Date: Wed, 30 Dec 2020 09:12:12 -0800 Subject: LiveCode Advanced Application Architecture eBook price reduced In-Reply-To: References: Message-ID: <4BEB0337-671B-4FC9-9995-7D551887F2B4@elloco.com> Will ponder as I absorb it. Be safe in England. Kee Nethery > On Dec 30, 2020, at 8:44 AM, chipsm themartinz.com via use-livecode wrote: > > ?Andre, I just purchased the book. I am reading as I send this email back to you. > Thanks for this resource. It is valuable resource and I hope to be a fervent believer in your advice. > I will continue reading but I am anticipating a very favorable review. > I will update you soon - I can't stop reading the book. > > -----Original Message----- > From: use-livecode On Behalf Of Andre Garzia via use-livecode > Sent: Tuesday, December 29, 2020 4:27 PM > To: How to use LiveCode > Cc: Andre Garzia > Subject: LiveCode Advanced Application Architecture eBook price reduced > > Hey Friends, > > I've reduced the price of my LiveCode eBook to ?9.99. This book will teach you advanced techniques, and contains a ton tips and tricks from a seasoned LC developer. > > Get it from: > https://andregarzia.com/books/livecode-advanced-application-architecture.html > > Kind regards > Andre > > -- > https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Wed Dec 30 13:29:14 2020 From: irog at mac.com (Roger Guay) Date: Wed, 30 Dec 2020 10:29:14 -0800 Subject: Cmi5 eLearning Standard in LiveCode Message-ID: <8B5CA48D-1CA8-4509-B75D-E1F9361E800E@mac.com> Just curious . . . is anyone using cmi5 in building LC eLearning modules? Roger From martyknappster at gmail.com Wed Dec 30 17:47:09 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 30 Dec 2020 14:47:09 -0800 Subject: LC & Mac M1 Chip Message-ID: <7B007737-29FC-496C-A693-AB530E07CA47@gmail.com> Has anyone tried an LC standalone on one of the new Macs with the M1 chip? I have customers asking and I don?t want to go buy one just to find out! Thanks, Marty From bobsneidar at iotecdigital.com Wed Dec 30 17:59:53 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 30 Dec 2020 22:59:53 +0000 Subject: Server error? In-Reply-To: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> Message-ID: <18BAD1AD-9779-4F51-A3E1-85E79CA6571A@iotecdigital.com> TLSv1 is dead. It uses the OpenSSL library that had the Heartbleed vulnerability. Not sure if v5 libraries can use the latest encryption libraries. I don?t know why not. Bob S > On Dec 30, 2020, at 7:09 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > I am currently working on a stack in LC 5.x for a customer. > This stack only loads another stack from a server and displays it. > > Works fine in the IDE, but I get this error when trying this in the > standalone, alle externals etc. are in fact present. > > The error reads: > ---------------------------------------------- > Cannot connect > error error:1407742E:SSL > routines:SSL23_GET_SERVER_HELLO:tlsv1 > alert protocol version > ----------------------------------------------- > > Maybe this is a mismatch between the SSL version on the server > and the SSL version in LC5.x? > > But then it should also not work in the IDE!? This is very strange. > > Any insights and workarounds, if any, are very welcome, thanks! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Dec 30 18:03:26 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 30 Dec 2020 23:03:26 +0000 Subject: LiveCode Advanced Application Architecture eBook price reduced In-Reply-To: References: Message-ID: <5AAB8C43-0D03-4510-9D1D-A508D596B688@iotecdigital.com> Done. Bob S > On Dec 29, 2020, at 4:26 PM, Andre Garzia via use-livecode wrote: > > Hey Friends, > > I've reduced the price of my LiveCode eBook to ?9.99. This book will teach > you advanced techniques, and contains a ton tips and tricks from a seasoned > LC developer. > > Get it from: > https://andregarzia.com/books/livecode-advanced-application-architecture.html > > Kind regards > Andre > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Dec 30 18:09:13 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 31 Dec 2020 00:09:13 +0100 Subject: Server error? In-Reply-To: <18BAD1AD-9779-4F51-A3E1-85E79CA6571A@iotecdigital.com> References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> <18BAD1AD-9779-4F51-A3E1-85E79CA6571A@iotecdigital.com> Message-ID: <9CE8F102-C1ED-4E8A-B5F1-FC409248BFEB@major-k.de> Hi Bob, > Am 30.12.2020 um 23:59 schrieb Bob Sneidar via use-livecode : > > TLSv1 is dead. It uses the OpenSSL library that had the Heartbleed vulnerability. Not sure if v5 libraries can use the latest encryption libraries. I don?t know why not. the big question is: Why does it work in the IDE, but not in a runtime made with the same IDE? Seems that the IDE and the runtime use different "revSecurity.dll"s?! > Bob S >> ... >> I am currently working on a stack in LC 5.x for a customer. >> This stack only loads another stack from a server and displays it. >> >> Works fine in the IDE, but I get this error when trying this in the >> standalone, alle externals etc. are in fact present. >> The error reads: >> ---------------------------------------------- >> Cannot connect >> error error:1407742E:SSL >> routines:SSL23_GET_SERVER_HELLO:tlsv1 >> alert protocol version >> ----------------------------------------------- >> Maybe this is a mismatch between the SSL version on the server >> and the SSL version in LC5.x? >> But then it should also not work in the IDE!? This is very strange. >> Any insights and workarounds, if any, are very welcome, thanks! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From iphonelagi at gmail.com Wed Dec 30 18:47:25 2020 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 30 Dec 2020 23:47:25 +0000 Subject: LiveCode Advanced Application Architecture eBook price reduced In-Reply-To: References: Message-ID: Hi Andre, I have the version from leanpub which was last updated in August I believe. Is this a later one and will you be uploading to leanpub or do we have to buy it again. Regards Lagi On Wed, 30 Dec 2020 at 00:28, Andre Garzia via use-livecode < use-livecode at lists.runrev.com> wrote: > Hey Friends, > > I've reduced the price of my LiveCode eBook to ?9.99. This book will teach > you advanced techniques, and contains a ton tips and tricks from a seasoned > LC developer. > > Get it from: > > https://andregarzia.com/books/livecode-advanced-application-architecture.html > > Kind regards > Andre > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- KIndest Regards Lagi From iphonelagi at gmail.com Wed Dec 30 18:53:08 2020 From: iphonelagi at gmail.com (Lagi Pittas) Date: Wed, 30 Dec 2020 23:53:08 +0000 Subject: LiveCode Advanced Application Architecture eBook price reduced In-Reply-To: References: Message-ID: Hi, Sorry maybe it's October 8th as I think you use American format dates. Lagi On Wed, 30 Dec 2020 at 00:28, Andre Garzia via use-livecode < use-livecode at lists.runrev.com> wrote: > Hey Friends, > > I've reduced the price of my LiveCode eBook to ?9.99. This book will teach > you advanced techniques, and contains a ton tips and tricks from a seasoned > LC developer. > > Get it from: > > https://andregarzia.com/books/livecode-advanced-application-architecture.html > > Kind regards > Andre > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- KIndest Regards Lagi From bobsneidar at iotecdigital.com Wed Dec 30 19:53:48 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Dec 2020 00:53:48 +0000 Subject: Server error? In-Reply-To: <9CE8F102-C1ED-4E8A-B5F1-FC409248BFEB@major-k.de> References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> <18BAD1AD-9779-4F51-A3E1-85E79CA6571A@iotecdigital.com> <9CE8F102-C1ED-4E8A-B5F1-FC409248BFEB@major-k.de> Message-ID: Just a shot in the dark, when you are working in the IDE, do you have a newer version of Livecode running? Bob S On Dec 30, 2020, at 3:09 PM, Klaus major-k via use-livecode > wrote: Hi Bob, Am 30.12.2020 um 23:59 schrieb Bob Sneidar via use-livecode >: TLSv1 is dead. It uses the OpenSSL library that had the Heartbleed vulnerability. Not sure if v5 libraries can use the latest encryption libraries. I don?t know why not. the big question is: Why does it work in the IDE, but not in a runtime made with the same IDE? Seems that the IDE and the runtime use different "revSecurity.dll"s?! From irog at mac.com Wed Dec 30 22:06:01 2020 From: irog at mac.com (Roger Guay) Date: Wed, 30 Dec 2020 19:06:01 -0800 Subject: LC & Mac M1 Chip In-Reply-To: <7B007737-29FC-496C-A693-AB530E07CA47@gmail.com> References: <7B007737-29FC-496C-A693-AB530E07CA47@gmail.com> Message-ID: Yes, I just tried it and it works fine! I?m happy to try yours out if you wish?? Roger > On Dec 30, 2020, at 2:47 PM, Marty Knapp via use-livecode wrote: > > Has anyone tried an LC standalone on one of the new Macs with the M1 chip? I have customers asking and I don?t want to go buy one just to find out! > > Thanks, > Marty > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown.pacifier at icloud.com Wed Dec 30 22:29:20 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Wed, 30 Dec 2020 19:29:20 -0800 Subject: LC & Mac M1 Chip In-Reply-To: References: Message-ID: <30384A3D-E522-4D9E-8185-429E5906DA88@icloud.com> Should any LC standalone work with the Mac M1 Chip if it was working on Mojave and above? JB > On Dec 30, 2020, at 7:07 PM, Roger Guay via use-livecode wrote: > > ?Yes, I just tried it and it works fine! I?m happy to try yours out if you wish?? > > Roger > > >> On Dec 30, 2020, at 2:47 PM, Marty Knapp via use-livecode wrote: >> >> Has anyone tried an LC standalone on one of the new Macs with the M1 chip? I have customers asking and I don?t want to go buy one just to find out! >> >> Thanks, >> Marty >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Wed Dec 30 23:02:14 2020 From: irog at mac.com (Roger Guay) Date: Wed, 30 Dec 2020 20:02:14 -0800 Subject: LC & Mac M1 Chip In-Reply-To: <30384A3D-E522-4D9E-8185-429E5906DA88@icloud.com> References: <30384A3D-E522-4D9E-8185-429E5906DA88@icloud.com> Message-ID: I think so, but others may be more informed. Roger > On Dec 30, 2020, at 7:29 PM, John Balgenorth via use-livecode wrote: > > Should any LC standalone work with the Mac M1 Chip > if it was working on Mojave and above? > > JB > > >> On Dec 30, 2020, at 7:07 PM, Roger Guay via use-livecode wrote: >> >> ?Yes, I just tried it and it works fine! I?m happy to try yours out if you wish?? >> >> Roger >> >> >>> On Dec 30, 2020, at 2:47 PM, Marty Knapp via use-livecode wrote: >>> >>> Has anyone tried an LC standalone on one of the new Macs with the M1 chip? I have customers asking and I don?t want to go buy one just to find out! >>> >>> Thanks, >>> Marty >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown.pacifier at icloud.com Wed Dec 30 23:10:30 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Wed, 30 Dec 2020 20:10:30 -0800 Subject: LC & Mac M1 Chip In-Reply-To: References: Message-ID: <4AA45159-03E6-482A-8EC2-8635D266A47A@icloud.com> Good to know! Thanks for the info. JB > On Dec 30, 2020, at 8:03 PM, Roger Guay via use-livecode wrote: > > ?I think so, but others may be more informed. > > Roger > >> On Dec 30, 2020, at 7:29 PM, John Balgenorth via use-livecode wrote: >> >> Should any LC standalone work with the Mac M1 Chip >> if it was working on Mojave and above? >> >> JB >> >> >>>> On Dec 30, 2020, at 7:07 PM, Roger Guay via use-livecode wrote: >>> >>> ?Yes, I just tried it and it works fine! I?m happy to try yours out if you wish?? >>> >>> Roger >>> >>> >>>> On Dec 30, 2020, at 2:47 PM, Marty Knapp via use-livecode wrote: >>>> >>>> Has anyone tried an LC standalone on one of the new Macs with the M1 chip? I have customers asking and I don?t want to go buy one just to find out! >>>> >>>> Thanks, >>>> Marty >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Dec 31 03:55:06 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 31 Dec 2020 09:55:06 +0100 Subject: Server error? In-Reply-To: References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> <18BAD1AD-9779-4F51-A3E1-85E79CA6571A@iotecdigital.com> <9CE8F102-C1ED-4E8A-B5F1-FC409248BFEB@major-k.de> Message-ID: <05A5AB75-2C49-407A-B74A-37EF62A35D57@major-k.de> Hi Bob, > Am 31.12.2020 um 01:53 schrieb Bob Sneidar via use-livecode : > > Just a shot in the dark, when you are working in the IDE, do you have a newer version of Livecode running? no. > Bob S > ... > Am 30.12.2020 um 23:59 schrieb Bob Sneidar via use-livecode >: > > TLSv1 is dead. It uses the OpenSSL library that had the Heartbleed vulnerability. Not sure if v5 libraries can use the latest encryption libraries. I don?t know why not. > > the big question is: Why does it work in the IDE, but not in a runtime made with the same IDE? > Seems that the IDE and the runtime use different "revSecurity.dll"s?! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From daniel at digitalfauna.io Thu Dec 31 06:02:43 2020 From: daniel at digitalfauna.io (Dan Brown) Date: Thu, 31 Dec 2020 11:02:43 +0000 Subject: Livecode Builder - passing lcs string to C functions In-Reply-To: References: Message-ID: Thanks so much for this Trevor, I can now retrieve requests from and respond to a virtual threaded http server which is nice. Now trying to work out how not to block the engine when the function that calls the server waits for a new request to come in i..e callback functions purely within lcb Dan On Mon, Dec 28, 2020 at 10:09 PM Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Mon, Dec 28, 2020 at 7:02 AM Dan Brown via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi I'm stuck trying to find examples of passing lcs strings to a C > function > > via pointer and it's driving me mad! I can retrieve char * pointers from > C > > functions, convert to string and pass back to lcs but haven't come across > > any easy to grok examples of sending data to C. Any guidance would be > > appreciated > > > I've used MCStringConvertToBytes to convert strings to a value you can pass > in as const char*. I have a hunspell example you can reference. > > Here is a link to the Hunspell_spell definition: > > > https://github.com/hunspell/hunspell/blob/8a2fdfe5a6bb1cbafc04b0c8486abcefd17ad903/src/hunspell/hunspell.h#L69 > > ``` > LIBHUNSPELL_DLL_EXPORTED int Hunspell_spell(Hunhandle* pHunspell, const > char*); > ``` > > Here is a link to the LCB code that passes a UTF8 string to Hunspell_spell: > > https://github.com/trevordevore/lc-hunspell/blob/master/hunspell.lcb#L150 > > Here is a link to the MCStringConvertToBytes definition in the LCB file: > > https://github.com/trevordevore/lc-hunspell/blob/master/hunspell.lcb#L19 > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Thu Dec 31 06:08:08 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 31 Dec 2020 12:08:08 +0100 Subject: Server error? SOLVED In-Reply-To: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> Message-ID: <6AB966DA-3D4C-451E-99AD-E5DD90063C5D@major-k.de> Hi all, we could finally solve the problem by copying the revsecurity.dll from LC 9 to the LC 5.x runtime folder! 8-) I really had no idea that they were compatible!? Nevertheless I will write to the mothership next week, just to get to know why everythings works fine in the IDE but not in a runtime. > Am 30.12.2020 um 16:09 schrieb Klaus major-k : > > Hi all, > > I am currently working on a stack in LC 5.x for a customer. > This stack only loads another stack from a server and displays it. > > Works fine in the IDE, but I get this error when trying this in the > standalone, alle externals etc. are in fact present. > The error reads: > ---------------------------------------------- > Cannot connect > error error:1407742E:SSL > routines:SSL23_GET_SERVER_HELLO:tlsv1 > alert protocol version > ----------------------------------------------- > Maybe this is a mismatch between the SSL version on the server > and the SSL version in LC5.x? > But then it should also not work in the IDE!? This is very strange. > Any insights and workarounds, if any, are very welcome, thanks! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From mark at livecode.com Thu Dec 31 06:30:37 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 31 Dec 2020 11:30:37 +0000 Subject: Server error? SOLVED In-Reply-To: <6AB966DA-3D4C-451E-99AD-E5DD90063C5D@major-k.de> References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> <6AB966DA-3D4C-451E-99AD-E5DD90063C5D@major-k.de> Message-ID: On 2020-12-31 11:08, Klaus major-k via use-livecode wrote: > Hi all, > > we could finally solve the problem by copying the revsecurity.dll from > LC 9 to the LC 5.x runtime folder! 8-) > > I really had no idea that they were compatible!? > > Nevertheless I will write to the mothership next week, just to get to > know why everythings works fine in the IDE but not in a runtime. The IDE loads different DLLs from those it includes in standalones. So there is a revsecurity.dll (near/next to) the IDE engine on Windows, and also one in the Runtime/Windows... folder. The latter is copied into standalones, the former is only used by the IDE. It suggests that you have previously copied a newer DLL over the one near the IDE engine - so it works in the IDE... Then when you copied the same DLL into the runtime folder, it then works in standalones too. The DLLs from newer versions aren't guaranteed to be compatible with older versions - in the specific case of revsecurity it depends on whether OpenSSL has changed its API in a way which causes an incompatibility but it hasn't done this very often (fortunately in this case, it would seem!). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From klaus at major-k.de Thu Dec 31 06:44:14 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 31 Dec 2020 12:44:14 +0100 Subject: Server error? SOLVED In-Reply-To: References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> <6AB966DA-3D4C-451E-99AD-E5DD90063C5D@major-k.de> Message-ID: Hi Mark, > Am 31.12.2020 um 12:30 schrieb Mark Waddingham via use-livecode : > > On 2020-12-31 11:08, Klaus major-k via use-livecode wrote: >> Hi all, >> we could finally solve the problem by copying the revsecurity.dll from >> LC 9 to the LC 5.x runtime folder! 8-) >> I really had no idea that they were compatible!? >> Nevertheless I will write to the mothership next week, just to get to >> know why everythings works fine in the IDE but not in a runtime. > > The IDE loads different DLLs from those it includes in standalones. So there is a revsecurity.dll (near/next to) the IDE engine on Windows, and also one in the Runtime/Windows... folder. The latter is copied into standalones, the former is only used by the IDE. OK, so there ARE in fact two different versions. > It suggests that you have previously copied a newer DLL over the one near the IDE engine - so it works in the IDE... > Then when you copied the same DLL into the runtime folder, it then works in standalones too. I cannot speak for my customer, but maybe that is the case with him. However I have a "stock" Mac installation of LC 5.02 on my Mac, which I did NOT alter in any way. But here the same thing happened, it worked in the IDE, but not in the runtime!? And on the Mac there is even not revsecurity.dll, I think this functionality is in the engine. > The DLLs from newer versions aren't guaranteed to be compatible with older versions - in the specific case of revsecurity it depends on whether OpenSSL has changed its API in a way which causes an incompatibility but it hasn't done this very often (fortunately in this case, it would seem!). Yo! :-) > Warmest Regards, > > Mark. Thanks for the explanation! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From benr at cogapp.com Thu Dec 31 06:55:06 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Thu, 31 Dec 2020 11:55:06 +0000 Subject: How to set up a library? In-Reply-To: <972269bc-6d56-a1ac-90be-f873206c21cd@tweedly.net> References: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> <972269bc-6d56-a1ac-90be-f873206c21cd@tweedly.net> Message-ID: <2fc672ba-aba7-ccdd-b711-d5de3bfb0373@cogapp.com> Thanks Alex and Bob for your responses. And if I make it a script-only stack, is there a clever place to store it - e.g. the standard distribution libraries are in .../Tools/Toolset/libraries/ Is there a convention or location which would allow me to reference the library without having to specify the full path, for example? thanks, Ben On 29/12/2020 23:40, Alex Tweedly via use-livecode wrote: > I'd make it a script-only stack, and then > > start using stack "..." > > (probably in an openstack handler - but could be anywhere you like for your > own use). > > By far the easiest to share (and for others to accept when shared). > > Alex. > > P.S. And, should this library be useful in LCServer context, it means you can > upload the stack to the server without getting annoying error messages about > mixed line endings which Coda-2 and some others give on binary stacks). > > > On 29/12/2020 19:34, Ben Rubinstein via use-livecode wrote: >> >> What is the best way to structure a library these days? >> >> Currently I've got buttons with a script, and a 'mouseup' handler to 'insert >> the script of me into back' in my object library. But I don't think that's >> very modern. >> >> What's the right way to do it? Especially if I want to share it? >> >> 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 jeejeestudio at gmail.com Thu Dec 31 07:20:57 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Thu, 31 Dec 2020 13:20:57 +0100 Subject: Threads in LC Message-ID: Hi, is it possible to assign threads in LC and why not? In python you can assign threads, not that i needed that with python, but it is possible. I'm playing with a stepper motor (for a while now) on a raspberry and with python it runs so smooth, with lc it's a different story. It runs, but when moving the mouse, the motor is responding to that. This should not happen, but probably because LC is a bit more heavy in use and use only one thread for graphics and other things. If more threads could be use then most probably it would run smooth too. Now working with simplGui to have a GUI, which is quite easy, and now trying to solve that gui actions also do what needs to be done. More work, less easy than lc, but slowly we are getting there. I'm not a fan of python. Long story short, are multiple threads possible in LC and/or when will that be implemented? Thanks and Happy 2021! Jerry From paul at researchware.com Thu Dec 31 08:14:40 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 31 Dec 2020 08:14:40 -0500 Subject: LC & Mac M1 Chip In-Reply-To: <30384A3D-E522-4D9E-8185-429E5906DA88@icloud.com> References: <30384A3D-E522-4D9E-8185-429E5906DA88@icloud.com> Message-ID: <02f6418a-4f62-2697-c1d2-db11cd49ddef@researchware.com> You need to be on macOS Big Sur for the new hardware (I think). There are bugs in LC vs Big Sur that are only fixed in LC 9.6.2rc1 so you probably want to rebuild any Standalones using that version of LC On 12/30/2020 10:29 PM, John Balgenorth via use-livecode wrote: > Should any LC standalone work with the Mac M1 Chip > if it was working on Mojave and above? > > JB > > >> On Dec 30, 2020, at 7:07 PM, Roger Guay via use-livecode wrote: >> >> ?Yes, I just tried it and it works fine! I?m happy to try yours out if you wish?? >> >> Roger >> >> >>> On Dec 30, 2020, at 2:47 PM, Marty Knapp via use-livecode wrote: >>> >>> Has anyone tried an LC standalone on one of the new Macs with the M1 chip? I have customers asking and I don?t want to go buy one just to find out! >>> >>> Thanks, >>> Marty >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown.pacifier at icloud.com Thu Dec 31 08:22:29 2020 From: sundown.pacifier at icloud.com (John Balgenorth) Date: Thu, 31 Dec 2020 05:22:29 -0800 Subject: LC & Mac M1 Chip In-Reply-To: <02f6418a-4f62-2697-c1d2-db11cd49ddef@researchware.com> References: <02f6418a-4f62-2697-c1d2-db11cd49ddef@researchware.com> Message-ID: <36418AA8-9041-4507-899D-755C3F72D8DE@icloud.com> I thought the Mac M1 Chip has Rosetta or something like that allowing most 64 bit programs to still run so I was thinking any 64 bit version of LC would still work. JB > On Dec 31, 2020, at 5:15 AM, Paul Dupuis via use-livecode wrote: > > ?You need to be on macOS Big Sur for the new hardware (I think). > > There are bugs in LC vs Big Sur that are only fixed in LC 9.6.2rc1 so you probably want to rebuild any Standalones using that version of LC > > >> On 12/30/2020 10:29 PM, John Balgenorth via use-livecode wrote: >> Should any LC standalone work with the Mac M1 Chip >> if it was working on Mojave and above? >> >> JB >> >> >>>> On Dec 30, 2020, at 7:07 PM, Roger Guay via use-livecode wrote: >>> >>> ?Yes, I just tried it and it works fine! I?m happy to try yours out if you wish?? >>> >>> Roger >>> >>> >>>> On Dec 30, 2020, at 2:47 PM, Marty Knapp via use-livecode wrote: >>>> >>>> Has anyone tried an LC standalone on one of the new Macs with the M1 chip? I have customers asking and I don?t want to go buy one just to find out! >>>> >>>> Thanks, >>>> Marty >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Dec 31 08:42:34 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 31 Dec 2020 08:42:34 -0500 Subject: LC & Mac M1 Chip In-Reply-To: <36418AA8-9041-4507-899D-755C3F72D8DE@icloud.com> References: <02f6418a-4f62-2697-c1d2-db11cd49ddef@researchware.com> <36418AA8-9041-4507-899D-755C3F72D8DE@icloud.com> Message-ID: <513fa89f-710f-7c74-f010-597ebcf70796@researchware.com> On 12/31/2020 8:22 AM, John Balgenorth via use-livecode wrote: > I thought the Mac M1 Chip has Rosetta or something > like that allowing most 64 bit programs to still run > so I was thinking any 64 bit version of LC would still > work. You can search the Livecode Quality center for Big Sur bugs. As I recall the 3 main ones were: 1) A bug with custom window shapes (not an issue if you do not use any custom window shapes) 2) A bug with the highlights on tabbed buttons (not an issue if you do not use tabbed buttons - also there was a script work-around available) 3) An issue with dialogs displayed "as sheet" These bugs are resent under Big Sur (regardless of whether you are on the M1 chip or Intel) in LC 9.6.1 and are fixed in 9.6.2rc1 Again, search the https://quality.livecode.com/ for "big sur" for details > > JB > > >> On Dec 31, 2020, at 5:15 AM, Paul Dupuis via use-livecode wrote: >> >> ?You need to be on macOS Big Sur for the new hardware (I think). >> >> There are bugs in LC vs Big Sur that are only fixed in LC 9.6.2rc1 so you probably want to rebuild any Standalones using that version of LC >> >> >>> On 12/30/2020 10:29 PM, John Balgenorth via use-livecode wrote: >>> Should any LC standalone work with the Mac M1 Chip >>> if it was working on Mojave and above? >>> >>> JB >>> >>> >>>>> On Dec 30, 2020, at 7:07 PM, Roger Guay via use-livecode wrote: >>>> ?Yes, I just tried it and it works fine! I?m happy to try yours out if you wish?? >>>> >>>> Roger >>>> >>>> >>>>> On Dec 30, 2020, at 2:47 PM, Marty Knapp via use-livecode wrote: >>>>> >>>>> Has anyone tried an LC standalone on one of the new Macs with the M1 chip? I have customers asking and I don?t want to go buy one just to find out! >>>>> >>>>> Thanks, >>>>> Marty >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Dec 31 11:53:43 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 31 Dec 2020 11:53:43 -0500 Subject: Threads in LC In-Reply-To: References: Message-ID: Hi Jerry, What version of Raspberry PI are you using? If you are using an older version of Raspberry PI just replacing it with a newer version might be your best work around. The older PI?s are pretty slow. Have you looked into Banana PI for instance? While LC isn?t multi-threaded there may be a work around which could make it behave as though it was. Have you tried Send in Time? How often are you telling your stepper motor to run? Once in every 10 milliseconds or once in every 20 milliseconds etc? Good luck! Rick > On Dec 31, 2020, at 7:20 AM, JeeJeeStudio via use-livecode wrote: > > Hi, > > > is it possible to assign threads in LC and why not? > > In python you can assign threads, not that i needed that with python, but it is possible. > > I'm playing with a stepper motor (for a while now) on a raspberry and with python it runs so smooth, with lc it's a different story. > > It runs, but when moving the mouse, the motor is responding to that. This should not happen, but probably because LC is a bit more heavy in use and use only one thread for graphics and other things. > > If more threads could be use then most probably it would run smooth too. > > > Now working with simplGui to have a GUI, which is quite easy, and now trying to solve that gui actions also do what needs to be done. More work, less easy than lc, but slowly we are getting there. > > I'm not a fan of python. > > Long story short, are multiple threads possible in LC and/or when will that be implemented? > > > Thanks and Happy 2021! > > 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 bobsneidar at iotecdigital.com Thu Dec 31 12:01:15 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Dec 2020 17:01:15 +0000 Subject: Server error? SOLVED In-Reply-To: <6AB966DA-3D4C-451E-99AD-E5DD90063C5D@major-k.de> References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> <6AB966DA-3D4C-451E-99AD-E5DD90063C5D@major-k.de> Message-ID: <348EAD7B-9BB7-4497-930A-96B8CE84FAB2@iotecdigital.com> Hey, what I said! :-) Bob S On Dec 31, 2020, at 3:08 AM, Klaus major-k via use-livecode > wrote: Hi all, we could finally solve the problem by copying the revsecurity.dll from LC 9 to the LC 5.x runtime folder! 8-) I really had no idea that they were compatible!? Nevertheless I will write to the mothership next week, just to get to know why everythings works fine in the IDE but not in a runtime. From bobsneidar at iotecdigital.com Thu Dec 31 12:12:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Dec 2020 17:12:03 +0000 Subject: How to set up a library? In-Reply-To: <2fc672ba-aba7-ccdd-b711-d5de3bfb0373@cogapp.com> References: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> <972269bc-6d56-a1ac-90be-f873206c21cd@tweedly.net> <2fc672ba-aba7-ccdd-b711-d5de3bfb0373@cogapp.com> Message-ID: <486131FE-B8E2-4090-9E9F-3B7DF1153405@iotecdigital.com> Trouble with putting a library in the Livecode libraries folder is every time you upgrade Livecode, those may get deleted. This is especially true for OS X, where those libraries are in the app bundle. I would not put a library in that location. Also, you do not have to specify the path. Add the library to the Stack Files of the stack, and then start using it by the stack short name. If you are using a script only stack, you should also add the SOS to the stack files, mainly because when you create a standalone these will get included in the standalone. Otherwise I suppose you *could* start using a stack by full path name or else it has to be in the current default folder. Setting the behavior of something is a one time thing. Start Using is something that has to be done every time a stack is opened, unless another stack in the IDE has done so. Doing it more than once has no effect, other than pushing the script to the back of the stacks in use. The difference between the two is that a behavior is in the message path of the object itself, and so it?s handlers are not accessible to any other object unless you send or dispatch to that object. Start Using makes the script globally accessible to ALL stacks running in the IDE (or in the Standalone). On Dec 31, 2020, at 3:55 AM, Ben Rubinstein via use-livecode > wrote: Thanks Alex and Bob for your responses. And if I make it a script-only stack, is there a clever place to store it - e.g. the standard distribution libraries are in .../Tools/Toolset/libraries/ Is there a convention or location which would allow me to reference the library without having to specify the full path, for example? thanks, Ben From klaus at major-k.de Thu Dec 31 12:15:39 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 31 Dec 2020 18:15:39 +0100 Subject: Server error? SOLVED In-Reply-To: <348EAD7B-9BB7-4497-930A-96B8CE84FAB2@iotecdigital.com> References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> <6AB966DA-3D4C-451E-99AD-E5DD90063C5D@major-k.de> <348EAD7B-9BB7-4497-930A-96B8CE84FAB2@iotecdigital.com> Message-ID: <2B963FD5-FD61-4D9C-8CC7-608ECAB2D90E@major-k.de> Hi Bob, > Am 31.12.2020 um 18:01 schrieb Bob Sneidar via use-livecode : > > Hey, what I said! :-) oh, really? Sorry must have missed that. :-( Anyway, a happy (and better) new year, everybody! > Bob S > > On Dec 31, 2020, at 3:08 AM, Klaus major-k via use-livecode > wrote: > Hi all, > we could finally solve the problem by copying the revsecurity.dll from > LC 9 to the LC 5.x runtime folder! 8-) > ... Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Thu Dec 31 12:16:47 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Dec 2020 17:16:47 +0000 Subject: How to set up a library? In-Reply-To: <2fc672ba-aba7-ccdd-b711-d5de3bfb0373@cogapp.com> References: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> <972269bc-6d56-a1ac-90be-f873206c21cd@tweedly.net> <2fc672ba-aba7-ccdd-b711-d5de3bfb0373@cogapp.com> Message-ID: <04F2CEEF-464E-4B8B-A166-350D2691F6BE@iotecdigital.com> BTW you may want to consider inserting anything with a mouseUp handler in the front, if you want every mouseUp to be trapped. If you only want the library?s mouseUp to be triggered ?on demand? then insert into back and then pass mouseUp to trigger your library handler (assuming mouseUp is not trapped anywhere else in the message path.) For example, I have a mouseDown handler in a front script, where I then get the target and determine what kind of object it is, handling the objects I want (usually for contextual menus) and then passing at the end. Bob S On Dec 31, 2020, at 3:55 AM, Ben Rubinstein via use-livecode > wrote: Currently I've got buttons with a script, and a 'mouseup' handler to 'insert the script of me into back' in my object library. But I don't think that's very modern. From bobsneidar at iotecdigital.com Thu Dec 31 12:22:00 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Dec 2020 17:22:00 +0000 Subject: Threads in LC In-Reply-To: References: Message-ID: <0AF4357B-B16D-4F4A-BC9A-674546112F0E@iotecdigital.com> You can also try using callbacks, although the callback will not get processed until the next idle message (script execution termination or wait with messages). Bob S On Dec 31, 2020, at 8:53 AM, Rick Harrison via use-livecode > wrote: Hi Jerry, What version of Raspberry PI are you using? If you are using an older version of Raspberry PI just replacing it with a newer version might be your best work around. The older PI?s are pretty slow. Have you looked into Banana PI for instance? While LC isn?t multi-threaded there may be a work around which could make it behave as though it was. Have you tried Send in Time? How often are you telling your stepper motor to run? Once in every 10 milliseconds or once in every 20 milliseconds etc? Good luck! Rick From bobsneidar at iotecdigital.com Thu Dec 31 12:24:57 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Dec 2020 17:24:57 +0000 Subject: Server error? SOLVED In-Reply-To: <2B963FD5-FD61-4D9C-8CC7-608ECAB2D90E@major-k.de> References: <6B214531-2F81-4976-99EA-81E611C05FF2@major-k.de> <6AB966DA-3D4C-451E-99AD-E5DD90063C5D@major-k.de> <348EAD7B-9BB7-4497-930A-96B8CE84FAB2@iotecdigital.com> <2B963FD5-FD61-4D9C-8CC7-608ECAB2D90E@major-k.de> Message-ID: <0F078CFF-102F-4E53-987B-EAAA0412BDC0@iotecdigital.com> Yup. I said try replacing the older library with the newer one. You would have had to do that in the standalone. I didn?t know there were two versions, but it seemed obvious there must have been. Bob S On Dec 31, 2020, at 9:15 AM, Klaus major-k via use-livecode > wrote: Hi Bob, Am 31.12.2020 um 18:01 schrieb Bob Sneidar via use-livecode >: Hey, what I said! :-) oh, really? Sorry must have missed that. :-( Anyway, a happy (and better) new year, everybody! Bob S From benr at cogapp.com Thu Dec 31 13:19:09 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Thu, 31 Dec 2020 18:19:09 +0000 Subject: How to set up a library? In-Reply-To: <486131FE-B8E2-4090-9E9F-3B7DF1153405@iotecdigital.com> References: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> <972269bc-6d56-a1ac-90be-f873206c21cd@tweedly.net> <2fc672ba-aba7-ccdd-b711-d5de3bfb0373@cogapp.com> <486131FE-B8E2-4090-9E9F-3B7DF1153405@iotecdigital.com> Message-ID: <9b274a7c-9fff-e5fd-4b94-7b44cf0429a9@cogapp.com> Thanks for responding Bob. Apologies for the confusion, I wasn't suggesting adding it in the actual application bundle; I was wondering whether there is a corresponding location in what used to be the "My LiveCode" folder in Documents. I.e. in that folder on my machine I see subfolders Extensions Externals Plugins Projects Resources Runtime and I wondered whether any of those had some blessed quality which would allow library stacks stored there to be loaded more easily than 'ordinary' stacks. Ben On 31/12/2020 17:12, Bob Sneidar via use-livecode wrote: > Trouble with putting a library in the Livecode libraries folder is every time you upgrade Livecode, those may get deleted. This is especially true for OS X, where those libraries are in the app bundle. I would not put a library in that location. > > Also, you do not have to specify the path. Add the library to the Stack Files of the stack, and then start using it by the stack short name. If you are using a script only stack, you should also add the SOS to the stack files, mainly because when you create a standalone these will get included in the standalone. Otherwise I suppose you *could* start using a stack by full path name or else it has to be in the current default folder. > > Setting the behavior of something is a one time thing. Start Using is something that has to be done every time a stack is opened, unless another stack in the IDE has done so. Doing it more than once has no effect, other than pushing the script to the back of the stacks in use. > > The difference between the two is that a behavior is in the message path of the object itself, and so it?s handlers are not accessible to any other object unless you send or dispatch to that object. > > Start Using makes the script globally accessible to ALL stacks running in the IDE (or in the Standalone). > > On Dec 31, 2020, at 3:55 AM, Ben Rubinstein via use-livecode > wrote: > > Thanks Alex and Bob for your responses. > > And if I make it a script-only stack, is there a clever place to store it - e.g. the standard distribution libraries are in > .../Tools/Toolset/libraries/ > > Is there a convention or location which would allow me to reference the library without having to specify the full path, for example? > > thanks, > > 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 chipsm at themartinz.com Thu Dec 31 13:33:37 2020 From: chipsm at themartinz.com (chipsm themartinz.com) Date: Thu, 31 Dec 2020 18:33:37 +0000 Subject: How to set up a library? In-Reply-To: <9b274a7c-9fff-e5fd-4b94-7b44cf0429a9@cogapp.com> References: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> <972269bc-6d56-a1ac-90be-f873206c21cd@tweedly.net> <2fc672ba-aba7-ccdd-b711-d5de3bfb0373@cogapp.com> <486131FE-B8E2-4090-9E9F-3B7DF1153405@iotecdigital.com> <9b274a7c-9fff-e5fd-4b94-7b44cf0429a9@cogapp.com> Message-ID: I actually have a folder that I created called "myLibraries". You just need to put that folder into the path so that your application can see it. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 626 6965561 -----Original Message----- From: use-livecode On Behalf Of Ben Rubinstein via use-livecode Sent: Thursday, December 31, 2020 10:19 AM To: use-livecode at lists.runrev.com Cc: Ben Rubinstein Subject: Re: How to set up a library? Thanks for responding Bob. Apologies for the confusion, I wasn't suggesting adding it in the actual application bundle; I was wondering whether there is a corresponding location in what used to be the "My LiveCode" folder in Documents. I.e. in that folder on my machine I see subfolders Extensions Externals Plugins Projects Resources Runtime and I wondered whether any of those had some blessed quality which would allow library stacks stored there to be loaded more easily than 'ordinary' stacks. Ben On 31/12/2020 17:12, Bob Sneidar via use-livecode wrote: > Trouble with putting a library in the Livecode libraries folder is every time you upgrade Livecode, those may get deleted. This is especially true for OS X, where those libraries are in the app bundle. I would not put a library in that location. > > Also, you do not have to specify the path. Add the library to the Stack Files of the stack, and then start using it by the stack short name. If you are using a script only stack, you should also add the SOS to the stack files, mainly because when you create a standalone these will get included in the standalone. Otherwise I suppose you *could* start using a stack by full path name or else it has to be in the current default folder. > > Setting the behavior of something is a one time thing. Start Using is something that has to be done every time a stack is opened, unless another stack in the IDE has done so. Doing it more than once has no effect, other than pushing the script to the back of the stacks in use. > > The difference between the two is that a behavior is in the message path of the object itself, and so it?s handlers are not accessible to any other object unless you send or dispatch to that object. > > Start Using makes the script globally accessible to ALL stacks running in the IDE (or in the Standalone). > > On Dec 31, 2020, at 3:55 AM, Ben Rubinstein via use-livecode > wrote: > > Thanks Alex and Bob for your responses. > > And if I make it a script-only stack, is there a clever place to store > it - e.g. the standard distribution libraries are in > .../Tools/Toolset/libraries/ > > Is there a convention or location which would allow me to reference the library without having to specify the full path, for example? > > thanks, > > 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 martyknappster at gmail.com Thu Dec 31 17:10:02 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 31 Dec 2020 14:10:02 -0800 Subject: LC & Mac M1 Chip In-Reply-To: References: <30384A3D-E522-4D9E-8185-429E5906DA88@icloud.com> Message-ID: I figured it was good, but thanks for letting us know. Marty >>> On Dec 30, 2020, at 7:07 PM, Roger Guay via use-livecode wrote: >>> >>> ?Yes, I just tried it and it works fine! I?m happy to try yours out if you wish?? >>> >>> Roger From alex at tweedly.net Thu Dec 31 21:19:21 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 1 Jan 2021 02:19:21 +0000 Subject: How to set up a library? In-Reply-To: <486131FE-B8E2-4090-9E9F-3B7DF1153405@iotecdigital.com> References: <690b9043-a80b-2791-1f57-0e525571f500@cogapp.com> <972269bc-6d56-a1ac-90be-f873206c21cd@tweedly.net> <2fc672ba-aba7-ccdd-b711-d5de3bfb0373@cogapp.com> <486131FE-B8E2-4090-9E9F-3B7DF1153405@iotecdigital.com> Message-ID: On 31/12/2020 17:12, Bob Sneidar via use-livecode wrote: > Setting the behavior of something is a one time thing. Start Using is something that has to be done every time a stack is opened, unless another stack in the IDE has done so. Doing it more than once has no effect, other than pushing the script to the back of the stacks in use. ummmmm - not 100% "no effect". If you have a 'librarystack' handler it will be run each time you 'start using' the stack, and therefore if it does something without checking for having been already run, you can get unexpected effects. (For example, if your librarystack handler was to explicitly set some variable to empty then that would overwrite (i.e. lose) any value set since the previous occurrence. Like others have said, I use a folder (I call it Libraries) with the 'My Livecode' folder to hold all my libraries (and I make sure they can be 'start using'ed multiple times. If I have a library which depends on other libraries, I give it a librarystack handler which (among other things) will 'start using' any libraries it requires. Alex.