From ahsoftware at sonic.net Wed Nov 1 00:26:02 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 31 Oct 2017 21:26:02 -0700 Subject: OT: ...and everybody hates Perl... Message-ID: https://boingboing.net/2017/10/31/perl-is-the-most-hated-program.html https://stackoverflow.blog/2017/10/31/disliked-programming-languages/?cb=1 -- Mark Wieder ahsoftware at gmail.com From mpezzo at gmail.com Wed Nov 1 01:04:55 2017 From: mpezzo at gmail.com (AcidJazz) Date: Tue, 31 Oct 2017 22:04:55 -0700 (MST) Subject: Why is everything in the IDE so tiny? Message-ID: <1509512695403-0.post@n4.nabble.com> I used Livecode a lot about 6 years ago, and have recently started playing around again. I know a lot of features have been added under the hood, but the IDE is really disappointing. I'm using a *much* larger screen (34" diameter), and find that virtually everything in the IDE, but especially the icons in the object/card/stack inspectors to be freakishly small. Yes, my screen has a high resolution, but every other application is perfectly readable on my screen. Why not LiveCode? I do understand that some people use laptops with little screen real estate, but why can't this be adjusted for folks with big screens and high resolution? And while I'm kvetching, why is everything in the object inspector still buried in tabs? There don't appear to be any obvious key commands to quickly switch between them. We all have scroll wheels and track pads. It would be so much easier to quickly check and make changes if the inspectors were a long column with few if any tabs. You'd just scroll through it, but with sections that you could expand or contract. I bought a monster screen so I could see everything at once, but Livecode is damned if it's going to let me do that. I'm not normally negative, but it's 2017, and the IDE looks like it was created in the 1980s and is actually less usable than when I used it 6 years ago. Am I missing a magic button somewhere that makes this thing less clunky? Surely, I'm not the only one wondering these things. Am I? - Mark -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From kaveh at rivervalleytechnologies.com Wed Nov 1 01:40:05 2017 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Wed, 01 Nov 2017 05:40:05 +0000 Subject: OT: ...and everybody hates Perl... In-Reply-To: References: Message-ID: And nobody's heard of livecode. :-( On Wed, 1 Nov 2017 at 04:26, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > https://boingboing.net/2017/10/31/perl-is-the-most-hated-program.html > https://stackoverflow.blog/2017/10/31/disliked-programming-languages/?cb=1 > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Sent from MetroMail From jacque at hyperactivesw.com Wed Nov 1 01:58:35 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 1 Nov 2017 00:58:35 -0500 Subject: Why is everything in the IDE so tiny? In-Reply-To: <1509512695403-0.post@n4.nabble.com> References: <1509512695403-0.post@n4.nabble.com> Message-ID: On 11/1/17 12:04 AM, AcidJazz via use-livecode wrote: > I'm using a*much* larger screen (34" > diameter), and find that virtually everything in the IDE, but especially the > icons in the object/card/stack inspectors to be freakishly small. At the top right of the inspector, tool palette, and project browser, there is an icon that looks like a sunburst (or maybe a gear with a lot of points.) That opens a menu. Choose "Header/Footer Size" and choose "Largest". The icons still aren't very big on a high-resolution display but it's much better than the default. > why is everything in the object inspector still buried in tabs? While you were away, the tabs became a popdown menu. It was that way for years. People complained it took too many clicks to change categories so it was recently changed back to tabs. You missed your opening I guess. > It would be so much easier to > quickly check and make changes if the inspectors were a long column with few > if any tabs. You'd just scroll through it, but with sections that you could > expand or contract. An accordian control would be a nice compromise. I like that idea. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Wed Nov 1 10:28:16 2017 From: dunbarx at aol.com (dunbarx) Date: Wed, 1 Nov 2017 07:28:16 -0700 (MST) Subject: Why is everything in the IDE so tiny? In-Reply-To: <1509512695403-0.post@n4.nabble.com> References: <1509512695403-0.post@n4.nabble.com> Message-ID: <1509546496314-0.post@n4.nabble.com> There are other things you can do. In the preferences, Under the "Object Sizes" pane, you can set the default sizes of all controls. This is similar to setting the template(control) to your own style, that virtual object being able to set defaults on any property available to the control. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Wed Nov 1 11:29:53 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 Nov 2017 15:29:53 +0000 Subject: OT: ...and everybody hates Perl... In-Reply-To: References: Message-ID: To be specific, no one hates working with Livecode. Bob S > On Oct 31, 2017, at 22:40 , Kaveh Bazargan via use-livecode wrote: > > And nobody's heard of livecode. :-( From hlowe at me.com Wed Nov 1 15:03:47 2017 From: hlowe at me.com (hlowe) Date: Wed, 1 Nov 2017 12:03:47 -0700 (MST) Subject: Xcode 9.1 support Message-ID: <1509563027591-0.post@n4.nabble.com> There has been a serious performance issue (related to OpenGL) with the iOS simulators under Xcode 9.0, to the point that they are so slow as to be unusable for testing. This has been widely commented on elsewhere and is not an LC-related problem. This issue is now fixed in Xcode 9.1, released today. However LC 8.1.7 (stable) does not support Xcode 9.1. When I try to point LC 8.1.7 towards Xcode 9.1 is declines to link, claiming "The chosen folder is not a valid iOS SDK". Do we need an update to obtain compatibility with Xcode 9.1? If so, would it be possible to get this out soon as I have had to suspend testing of iOS apps under development because of the simulator issues when using Xcode 9.0 and 9.0.1. Thanks, Henry Ascriva Healthcare Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From hlowe at me.com Wed Nov 1 15:27:58 2017 From: hlowe at me.com (hlowe) Date: Wed, 1 Nov 2017 12:27:58 -0700 (MST) Subject: Announcing our first Livecode app in the iOS App Store Message-ID: <1509564478989-0.post@n4.nabble.com> I am excited to announce the release of Ascriva Health Informatics' first app for iPhone and iPad in the App Store. The app was developed using Livecode. Many thanks for the knowledge and support that I have received here as we worked towards this first product release. ICD-10-CM is the classification system used to code diagnoses and reasons for healthcare encounters in the United States. The ICD-10-CM-2018 app allows healthcare providers to quickly find diagnosis codes, create a library of frequently-used codes and automatically search the Web for related information. To celebrate the launch of the app, it is available for FREE in the App Store until November 8. https://itunes.apple.com/us/app/icd-10-cm-2018/id1296363233 Best wishes, Henry https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From brian at milby7.com Wed Nov 1 20:42:00 2017 From: brian at milby7.com (Brian Milby) Date: Wed, 1 Nov 2017 19:42:00 -0500 Subject: Relative Paths in Property Inspector In-Reply-To: <98F86026-A143-4612-A4A0-43BB2E9B46B6@hindu.org> References: <98F86026-A143-4612-A4A0-43BB2E9B46B6@hindu.org> Message-ID: PR submitted: https://github.com/livecode/livecode-ide/pull/1817 For bug: http://quality.livecode.com/show_bug.cgi?id=17287 Not sure how it will be received, but it uses the pref to always use absolute path names for images to decide whether to convert a path to relative. On Sun, Oct 29, 2017 at 2:02 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Backstory: > > Sometime back in a round with HQ we got the engine to "remember" relative > path settings for the filenames of images/players etc.. such that it would > not default to full path from root on the drive which makes the path unique > to that user and no longer portable? so "relativity" go supported/sticky in > different dev scenarios? > > so far so good? if you set the filename in an image in a stack that lives > here: > > User/MyDrive/myProject/coolAnimals.livecode > > with images here to: > > User/MyDrive/myProject/img/thumbs/little-rooster.jpg > > # it, obviously works But, now you can > > a) manually chop of the lead down to this in the property inspector > > img/thumbs/little-rooster.jpg > > # and it works? this is also portable if you include "img/*" in the > stackfiles when create your standalone and the filename is saved relative > to the stack, and, assuming you keep the folder structure intact you don't > have to even mess with defaultfolder or even specialFolderPath("engine") > because the "relativity" of the path is respected in any and all contexts > (I think?) > > so you can also programatically do this > > set the filename of img "myPet" to "img/thumbs/little-rooster.jpg" > > and that also works though you do need to use "specialFolderPath" > functions on mobile. > > Again, so far so good? > > End backstory (please correct anything you see that is wrong) > > So, why can't we just a relative path in the Property Inspector itself? > The browser tool will always return full path from User down to the > "asset.jpg"? if I send that stack to someone else, or use a GIT work flow > where these stacks are "pure views" (i.e. no actual imported images > anywhere) along with the images. the paths are broken. So, long way of > asking: > > Do we need an enhancement request for a check box in the PI to set the > path as relative to the stack? Seems like that would be super usefu > > Mikey has this request in since May '16? which feels related > > http://quality.livecode.com/show_bug.cgi?id=17705 > > but the suggestion for having this in the PI seems a bit different, and > might not actually solve his issue for using a cloud instance of his > project. > > Brahmanathaswami > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Nov 1 21:29:37 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Nov 2017 20:29:37 -0500 Subject: Android Oreo Infinite Boot Loop Message-ID: Interfaces are beautiful and dangerous: https://www.bleepingcomputer.com/news/mobile/android-oreo-adaptive-icons-bug-sends-thousands-of-phones-into-infinite-boot-loops/ "A bug in the new "Adaptive Icons" feature introduced in Android Oreo has sent thousands of phones into infinite boot loops, forcing some users to reset their devices to factory settings, causing users to lose data along the way." "The bug first manifested itself when the developer of the Swipe for Facebook Android app accidentally renamed the foreground image of his adaptive icon with the same name as this XML file (ic_launcher_main.png and ic_launcher_main.xml)." Al From ahsoftware at sonic.net Wed Nov 1 21:48:31 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 1 Nov 2017 18:48:31 -0700 Subject: Fwd: why app version info is useful In-Reply-To: <795d9d9d-d221-7475-9279-33bf129e9ce4@ahsoftware.net> References: <795d9d9d-d221-7475-9279-33bf129e9ce4@ahsoftware.net> Message-ID: <96ffcc91-1761-1cc6-83f8-8be9c34aec9f@sonic.net> more on the topic of dangerous interfaces: "Which version of SharePoint am I using?" https://support.office.com/client/Which-version-of-SharePoint-am-I-using-3575ff57-037f-48cf-9398-99080c34b25f -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Nov 2 02:02:52 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Nov 2017 01:02:52 -0500 Subject: JSON import error Message-ID: <4bd0fb0d-3136-65eb-5067-f3fffec4118e@hyperactivesw.com> I am trying to convert some JSON to a LC array. Both JSONImport and JSONToArray are failing. JSONToArray gives only a generic "error in function". JSONImport gives this: 863,9,9,runtime 864,9,9,syntax error: 1:1 Unexpected character '?' 865,9,9,json.lcb 866,9,9,65 897,9,9,1 865,9,9,json.lcb 866,9,9,262 897,9,9,1 219,9,9,JSONimport 465,9,9 The JSON is full of foreign characters, saved on disk as UTF-16 (with BOM), and read into LC as binary text. I've run the text through several online JSON validators and none report any problems. I don't know if the above error will come through the list correctly but it isn't a normal comma. LC's charToNum() reports 254. I pasted it into BBEdit's "find" dialog and when I do a search on the actual file, BBEdit says it doesn't exist in there. Any ideas what might be wrong? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Nov 2 02:36:09 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Nov 2017 01:36:09 -0500 Subject: JSON import error In-Reply-To: <4bd0fb0d-3136-65eb-5067-f3fffec4118e@hyperactivesw.com> References: <4bd0fb0d-3136-65eb-5067-f3fffec4118e@hyperactivesw.com> Message-ID: I sent my message too soon. If I import as "file:" instead of "binfile:" it mostly works. You always figure it out as soon as you post. It's a rule. On 11/2/17 1:02 AM, J. Landman Gay via use-livecode wrote: > I am trying to convert some JSON to a LC array. Both JSONImport and > JSONToArray are failing. JSONToArray gives only a generic "error in > function". JSONImport gives this: > > 863,9,9,runtime > 864,9,9,syntax error: 1:1 Unexpected character '?' > 865,9,9,json.lcb > 866,9,9,65 > 897,9,9,1 > 865,9,9,json.lcb > 866,9,9,262 > 897,9,9,1 > 219,9,9,JSONimport > 465,9,9 > > The JSON is full of foreign characters, saved on disk as UTF-16 (with > BOM), and read into LC as binary text. I've run the text through several > online JSON validators and none report any problems. > > I don't know if the above error will come through the list correctly but > it isn't a normal comma. LC's charToNum() reports 254. I pasted it into > BBEdit's "find" dialog and when I do a search on the actual file, BBEdit > says it doesn't exist in there. > > Any ideas what might be wrong? > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Thu Nov 2 04:04:41 2017 From: monte at appisle.net (Monte Goulding) Date: Thu, 2 Nov 2017 19:04:41 +1100 Subject: JSON import error In-Reply-To: References: <4bd0fb0d-3136-65eb-5067-f3fffec4118e@hyperactivesw.com> Message-ID: file: will recognise the BOM and decode the text correctly. > On 2 Nov 2017, at 5:36 pm, J. Landman Gay via use-livecode wrote: > > I sent my message too soon. If I import as "file:" instead of "binfile:" it mostly works. > > You always figure it out as soon as you post. It's a rule. From dave at applicationinsight.com Thu Nov 2 07:39:28 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 2 Nov 2017 11:39:28 +0000 Subject: Announcing our first Livecode app in the iOS App Store Message-ID: Congratulations on the health informatics app! Occasionally I need to do mappings to ICD-10 so I?ll definitely check out your app... Kind regards Dave From dave at applicationinsight.com Thu Nov 2 07:52:31 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 2 Nov 2017 11:52:31 +0000 Subject: JSON import error Message-ID: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> https://en.wikipedia.org/wiki/Rubber_duck_debugging From rdimola at evergreeninfo.net Thu Nov 2 09:35:11 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Nov 2017 09:35:11 -0400 Subject: Announcing our first Livecode app in the iOS App Store In-Reply-To: <1509564478989-0.post@n4.nabble.com> References: <1509564478989-0.post@n4.nabble.com> Message-ID: <001301d353df$6b4f06f0$41ed14d0$@net> Congrats! I remember the exhilaration I had after I made it through the Apple gauntlet. 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 hlowe via use-livecode Sent: Wednesday, November 01, 2017 3:28 PM To: use-revolution at lists.runrev.com Cc: hlowe Subject: Announcing our first Livecode app in the iOS App Store I am excited to announce the release of Ascriva Health Informatics' first app for iPhone and iPad in the App Store. The app was developed using Livecode. Many thanks for the knowledge and support that I have received here as we worked towards this first product release. ICD-10-CM is the classification system used to code diagnoses and reasons for healthcare encounters in the United States. The ICD-10-CM-2018 app allows healthcare providers to quickly find diagnosis codes, create a library of frequently-used codes and automatically search the Web for related information. To celebrate the launch of the app, it is available for FREE in the App Store until November 8. https://itunes.apple.com/us/app/icd-10-cm-2018/id1296363233 Best wishes, Henry https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Nov 2 09:35:11 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Nov 2017 09:35:11 -0400 Subject: Announcing our first Livecode app in the iOS App Store In-Reply-To: <1509564478989-0.post@n4.nabble.com> References: <1509564478989-0.post@n4.nabble.com> Message-ID: <001301d353df$6b4f06f0$41ed14d0$@net> Congrats! I remember the exhilaration I had after I made it through the Apple gauntlet. 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 hlowe via use-livecode Sent: Wednesday, November 01, 2017 3:28 PM To: use-revolution at lists.runrev.com Cc: hlowe Subject: Announcing our first Livecode app in the iOS App Store I am excited to announce the release of Ascriva Health Informatics' first app for iPhone and iPad in the App Store. The app was developed using Livecode. Many thanks for the knowledge and support that I have received here as we worked towards this first product release. ICD-10-CM is the classification system used to code diagnoses and reasons for healthcare encounters in the United States. The ICD-10-CM-2018 app allows healthcare providers to quickly find diagnosis codes, create a library of frequently-used codes and automatically search the Web for related information. To celebrate the launch of the app, it is available for FREE in the App Store until November 8. https://itunes.apple.com/us/app/icd-10-cm-2018/id1296363233 Best wishes, Henry https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Nov 2 12:56:24 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Nov 2017 12:56:24 -0400 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> Message-ID: <005601d353fb$86f2eb80$94d8c280$@net> 1. iPhone X has rounded corners and an annoying "tab" at the top and the fact that there is no home button. Users will swipe up from the bottom to get back to the home page. This may cause an issue for apps with buttons towards the bottom of the screen. 2. Apps that have an edge-to-edge design will have issues with the rounded corners. And the "annoying tab" at the top. 3. Developers sites recommend a "Safe Zone". ("Safe Zone" Really??? I feel I'm back to the 1960s when framing shots for NTSC CRT TVs") LC should have a Stand Alone Settings option to use only the safe zone for the X. There should also be a separate "show status bar" options for the X. This will allow existing apps to render without clipping on the X. We also need a way to specify ions and splash pages for the X. These items along with Xcode 9.1 support is needed ASAP. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From bobsneidar at iotecdigital.com Thu Nov 2 13:06:54 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Nov 2017 17:06:54 +0000 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: <005601d353fb$86f2eb80$94d8c280$@net> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <005601d353fb$86f2eb80$94d8c280$@net> Message-ID: <9EB02D1A-5227-4E36-8C41-B2BA8F098433@iotecdigital.com> I bet they are working on it right now! Bob S > On Nov 2, 2017, at 09:56 , Ralph DiMola via use-livecode wrote: > > 1. iPhone X has rounded corners and an annoying "tab" at the top and the > fact that there is no home button. Users will swipe up from the bottom to > get back to the home page. This may cause an issue for apps with buttons > towards the bottom of the screen. > 2. Apps that have an edge-to-edge design will have issues with the rounded > corners. And the "annoying tab" at the top. > 3. Developers sites recommend a "Safe Zone". ("Safe Zone" Really??? I > feel I'm back to the 1960s when framing shots for NTSC CRT TVs") > > LC should have a Stand Alone Settings option to use only the safe zone for > the X. There should also be a separate "show status bar" options for the X. > This will allow existing apps to render without clipping on the X. We also > need a way to specify ions and splash pages for the X. These items along > with Xcode 9.1 support is needed ASAP. > > 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 brian at milby7.com Thu Nov 2 13:35:43 2017 From: brian at milby7.com (Brian Milby) Date: Thu, 02 Nov 2017 17:35:43 +0000 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: <9EB02D1A-5227-4E36-8C41-B2BA8F098433@iotecdigital.com> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <005601d353fb$86f2eb80$94d8c280$@net> <9EB02D1A-5227-4E36-8C41-B2BA8F098433@iotecdigital.com> Message-ID: With the X Apple is suggesting that the status bar not be turned off in most cases. That would eliminate the issue of the top side cut out. You should be able to use the screenrect to determine device (I guess) and not hide. On Thu, Nov 2, 2017 at 12:07 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I bet they are working on it right now! > > Bob S > > > > On Nov 2, 2017, at 09:56 , Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > 1. iPhone X has rounded corners and an annoying "tab" at the top and the > > fact that there is no home button. Users will swipe up from the bottom to > > get back to the home page. This may cause an issue for apps with buttons > > towards the bottom of the screen. > > 2. Apps that have an edge-to-edge design will have issues with the > rounded > > corners. And the "annoying tab" at the top. > > 3. Developers sites recommend a "Safe Zone". ("Safe Zone" > Really??? I > > feel I'm back to the 1960s when framing shots for NTSC CRT TVs") > > > > LC should have a Stand Alone Settings option to use only the safe zone > for > > the X. There should also be a separate "show status bar" options for the > X. > > This will allow existing apps to render without clipping on the X. We > also > > need a way to specify ions and splash pages for the X. These items along > > with Xcode 9.1 support is needed ASAP. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Nov 2 14:57:42 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Nov 2017 13:57:42 -0500 Subject: JSON import error In-Reply-To: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> Message-ID: On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: > https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story of my life. I've since hit another error in the JSON import but now I'm afraid to post about it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Thu Nov 2 15:45:32 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 2 Nov 2017 12:45:32 -0700 Subject: JSON import error In-Reply-To: References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> Message-ID: <4a1a5801-68c0-74f4-13bc-973dd02c21fd@sonic.net> On 11/02/2017 11:57 AM, J. Landman Gay via use-livecode wrote: > On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: >> https://en.wikipedia.org/wiki/Rubber_duck_debugging >> > > Yeah. Story of my life. I've since hit another error in the JSON import > but now I'm afraid to post about it. :) > Anything having to do with lists/collections? http://quality.livecode.com/show_bug.cgi?id=19698 -- Mark Wieder ahsoftware at gmail.com From MikeKerner at roadrunner.com Thu Nov 2 16:18:26 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 2 Nov 2017 16:18:26 -0400 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <005601d353fb$86f2eb80$94d8c280$@net> <9EB02D1A-5227-4E36-8C41-B2BA8F098433@iotecdigital.com> Message-ID: If it's like the 5c and doesn't sell, this won't be a problem. On Thu, Nov 2, 2017 at 1:35 PM, Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > With the X Apple is suggesting that the status bar not be turned off in > most cases. That would eliminate the issue of the top side cut out. You > should be able to use the screenrect to determine device (I guess) and not > hide. > On Thu, Nov 2, 2017 at 12:07 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I bet they are working on it right now! > > > > Bob S > > > > > > > On Nov 2, 2017, at 09:56 , Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > 1. iPhone X has rounded corners and an annoying "tab" at the top and > the > > > fact that there is no home button. Users will swipe up from the bottom > to > > > get back to the home page. This may cause an issue for apps with > buttons > > > towards the bottom of the screen. > > > 2. Apps that have an edge-to-edge design will have issues with the > > rounded > > > corners. And the "annoying tab" at the top. > > > 3. Developers sites recommend a "Safe Zone". ("Safe Zone" > > Really??? I > > > feel I'm back to the 1960s when framing shots for NTSC CRT TVs") > > > > > > LC should have a Stand Alone Settings option to use only the safe zone > > for > > > the X. There should also be a separate "show status bar" options for > the > > X. > > > This will allow existing apps to render without clipping on the X. We > > also > > > need a way to specify ions and splash pages for the X. These items > along > > > with Xcode 9.1 support is needed ASAP. > > > > > > Ralph DiMola > > > IT Director > > > Evergreen Information Services > > > rdimola at evergreeninfo.net > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Thu Nov 2 16:58:44 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Nov 2017 15:58:44 -0500 Subject: JSON import error In-Reply-To: <4a1a5801-68c0-74f4-13bc-973dd02c21fd@sonic.net> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <4a1a5801-68c0-74f4-13bc-973dd02c21fd@sonic.net> Message-ID: <9c4578c1-a3e9-3279-32a2-be775a837698@hyperactivesw.com> On 11/2/17 2:45 PM, Mark Wieder via use-livecode wrote: > On 11/02/2017 11:57 AM, J. Landman Gay via use-livecode wrote: >> On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: >>> https://en.wikipedia.org/wiki/Rubber_duck_debugging >>> >> >> Yeah. Story of my life. I've since hit another error in the JSON >> import but now I'm afraid to post about it. :) >> > > Anything having to do with lists/collections? > > http://quality.livecode.com/show_bug.cgi?id=19698 > I don't think so. The import works with most of the 300 entries in the file, but fails on a few with identical syntax that contain some unusual characters. I've reported it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at midwestcoastmedia.com Thu Nov 2 16:57:42 2017 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Thu, 02 Nov 2017 20:57:42 +0000 Subject: Link to iOS device settings Message-ID: <20171102205742.Horde.ad2d_tgvnG9g9PKUqC3sSp5@ua850258.serversignin.com> Is it possible from a LiveCode app to link to the iOS device Settings? I would like to help users enable Push Notifications if they didn't the first time the app was launched, and rather than just describe where it is I'd like to jump to the Settings app. Seems to be doable in native programming languages: https://stackoverflow.com/questions/5655674/opening-the-settings-app-from-another-app --Andrew Bell From monte at appisle.net Thu Nov 2 17:47:32 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 3 Nov 2017 08:47:32 +1100 Subject: Link to iOS device settings In-Reply-To: <20171102205742.Horde.ad2d_tgvnG9g9PKUqC3sSp5@ua850258.serversignin.com> References: <20171102205742.Horde.ad2d_tgvnG9g9PKUqC3sSp5@ua850258.serversignin.com> Message-ID: Based on that SO discussion you should be able to use launch url. It looks like the url scheme changed from `prefs:` to `App-Prefs:` in iOS 10. So you might want to try one then the other. So: launch url ?App-Prefs:root=NOTIFICATIONS_ID&path=? if the result is ?no association" then launch url ?prefs:root=NOTIFICATIONS_ID&path=? end if > On 3 Nov 2017, at 7:57 am, Andrew Bell via use-livecode wrote: > > Is it possible from a LiveCode app to link to the iOS device Settings? I would like to help users enable Push Notifications if they didn't the first time the app was launched, and rather than just describe where it is I'd like to jump to the Settings app. > > Seems to be doable in native programming languages: > https://stackoverflow.com/questions/5655674/opening-the-settings-app-from-another-app > > --Andrew Bell > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Thu Nov 2 18:24:27 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Nov 2017 15:24:27 -0700 Subject: results of SPLIT when keys not unique Message-ID: If I use split such that keys are not unique, will that have the effect of filtering out duplicates? For example, if I have dog 3 dog 5 cat 8 and SPLIT it, will I end up with 5 in entry dog? More specifically, is this a defined behavior, or "just how it currently works" I'm trying to find a quick & clean way around SQLite's lack of "DISTINCT ON"--I need to keep those numbered keys attached to work with, and DISTINCT alone won't due that. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Thu Nov 2 18:39:47 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 3 Nov 2017 09:39:47 +1100 Subject: results of SPLIT when keys not unique In-Reply-To: References: Message-ID: A quick test and it looks like split will clobber any new elements with the same key as those previously parsed. The docs state that only one element will be created but are unclear about which element value will be retained. It would probably be nice to have some explicit syntax to govern this behavior so that you could explicitly declare you want clobbering behavior or first come best dressed. From the docs: > > Important: Using the split command can discard data if any of the keys in the original variable are duplicated. If more than one part of the variable delimited by the primaryDelimiter has the same first portion delimited by the secondaryDelimiter, only the element corresponding to the first part is created. (For example, if you are splitting a variable by return and space, and two lines happen to have the same first word, only one of the lines is retained in the array.) Only one element is created for each unique key. > On 3 Nov 2017, at 9:24 am, Dr. Hawkins via use-livecode wrote: > > If I use split such that keys are not unique, will that have the > effect of filtering out duplicates? > > For example, if I have > dog 3 > dog 5 > cat 8 > > and SPLIT it, will I end up with 5 in entry dog? > > More specifically, is this a defined behavior, or "just how it currently works" > > I'm trying to find a quick & clean way around SQLite's lack of > "DISTINCT ON"--I need to keep those numbered keys attached to work > with, and DISTINCT alone won't due that. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Nov 2 18:40:05 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Nov 2017 18:40:05 -0400 Subject: results of SPLIT when keys not unique In-Reply-To: References: Message-ID: <00b101d3542b$8a2e66a0$9e8b33e0$@net> Would something like this work? Select mytable.animalname,mytable.animalnumber from (select distinct mytable.animal from mytable as mytable2) left join mytable on mytable.animalname = mytable2animalname 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 Dr. Hawkins via use-livecode Sent: Thursday, November 02, 2017 6:24 PM To: How to use LiveCode Cc: Dr. Hawkins Subject: results of SPLIT when keys not unique If I use split such that keys are not unique, will that have the effect of filtering out duplicates? For example, if I have dog 3 dog 5 cat 8 and SPLIT it, will I end up with 5 in entry dog? More specifically, is this a defined behavior, or "just how it currently works" I'm trying to find a quick & clean way around SQLite's lack of "DISTINCT ON"--I need to keep those numbered keys attached to work with, and DISTINCT alone won't due that. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Nov 2 18:45:41 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Nov 2017 18:45:41 -0400 Subject: results of SPLIT when keys not unique In-Reply-To: References: Message-ID: <00b201d3542c$529ecf30$f7dc6d90$@net> Whoops, not tested and I saw an error. Select mytable.animalname,mytable.animalnumber from (select distinct mytable.animalname from mytable as mytable2) left join mytable on mytable.animalname = mytable2animalname 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 Dr. Hawkins via use-livecode Sent: Thursday, November 02, 2017 6:24 PM To: How to use LiveCode Cc: Dr. Hawkins Subject: results of SPLIT when keys not unique If I use split such that keys are not unique, will that have the effect of filtering out duplicates? For example, if I have dog 3 dog 5 cat 8 and SPLIT it, will I end up with 5 in entry dog? More specifically, is this a defined behavior, or "just how it currently works" I'm trying to find a quick & clean way around SQLite's lack of "DISTINCT ON"--I need to keep those numbered keys attached to work with, and DISTINCT alone won't due that. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Thu Nov 2 18:46:39 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 3 Nov 2017 09:46:39 +1100 Subject: results of SPLIT when keys not unique In-Reply-To: References: Message-ID: > On 3 Nov 2017, at 9:39 am, Monte Goulding wrote: > > It would probably be nice to have some explicit syntax to govern this behavior so that you could explicitly declare you want clobbering behavior or first come best dressed. Oh? one might also feasibly want output like this I guess: var[?dog?][1] -> 3 var[?dog?][2] -> 5 var[?cat?]-> 8 Perhaps something like: split by and [{replacing | splitting | ignoring} duplicates] Cheers Monte From dochawk at gmail.com Thu Nov 2 18:48:58 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Nov 2017 15:48:58 -0700 Subject: results of SPLIT when keys not unique In-Reply-To: <00b201d3542c$529ecf30$f7dc6d90$@net> References: <00b201d3542c$529ecf30$f7dc6d90$@net> Message-ID: On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola wrote: > Whoops, not tested and I saw an error. > > Select mytable.animalname,mytable.animalnumber from (select distinct > mytable.animalname from mytable as mytable2) left join mytable on > mytable.animalname = mytable2animalname > You just shot *way* over my SQL :) does that last line search for any mytable.animalname that occurs in mytable2.animalname? (and if it's that easy, why in the world isn't DISTINCT ON part of SQLite??? thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Nov 2 18:51:07 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Nov 2017 15:51:07 -0700 Subject: results of SPLIT when keys not unique In-Reply-To: References: Message-ID: On Thu, Nov 2, 2017 at 3:39 PM, Monte Goulding via use-livecode wrote: > It would probably be nice to have some explicit syntax to govern this behavior so that you could explicitly declare > you want clobbering behavior or first come best dressed. explicit is (almost) always nice (says the guy mulling over a PARALLEL REPEAT syntax . . .) >If more than one part of the variable delimited by the primaryDelimiter has the same first portion delimited by the >secondaryDelimiter, only the element corresponding to the first part is created. ARGH. I need stronger glasses. I even went to the Dictionary and looked, and couldn't see that phrase . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Thu Nov 2 18:59:23 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Nov 2017 22:59:23 +0000 Subject: results of SPLIT when keys not unique In-Reply-To: References: Message-ID: The last one of course. Bob S > On Nov 2, 2017, at 15:39 , Monte Goulding via use-livecode wrote: > > A quick test and it looks like split will clobber any new elements with the same key as those previously parsed. The docs state that only one element will be created but are unclear about which element value will be retained. From dochawk at gmail.com Thu Nov 2 20:00:16 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Nov 2017 17:00:16 -0700 Subject: results of SPLIT when keys not unique In-Reply-To: <00b201d3542c$529ecf30$f7dc6d90$@net> References: <00b201d3542c$529ecf30$f7dc6d90$@net> Message-ID: On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola wrote: > Whoops, not tested and I saw an error. > > Select mytable.animalname,mytable.animalnumber from (select distinct > mytable.animalname from mytable as mytable2) left join mytable on > mytable.animalname = mytable2animalname You're a bit over my head, but . . . wouldn't that left join bring *all* the entries for table2 and their numbers in, so that I would still get repeated animals? Should there be a . in the middle of the last word? In test, Select debtor_table uniqDna, debtor_table cname from (select distinct cname FROM debtor_table as mytable2) left join debtor_table ON debtor_table.cname = mytable2.cname ; and I get, revdberr,Database Error: no such column: mytable2.cname (in fact, I need cname||cadr, not just name, as some creditors end up with multiple addresses) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From colinholgate at gmail.com Thu Nov 2 20:17:31 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 2 Nov 2017 20:17:31 -0400 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: <005601d353fb$86f2eb80$94d8c280$@net> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <005601d353fb$86f2eb80$94d8c280$@net> Message-ID: Apple do document what they mean by a safe area, and the amount it eats into the screen isn?t very much: https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/ From rdimola at evergreeninfo.net Thu Nov 2 20:31:59 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Nov 2017 20:31:59 -0400 Subject: results of SPLIT when keys not unique In-Reply-To: References: <00b201d3542c$529ecf30$f7dc6d90$@net> Message-ID: <00b301d3543b$2c1c9270$8455b750$@net> I waaaayyy over thought this. This is tested: SELECT animals.animalnumber, animals.animalname FROM animals GROUP BY animals.animalname; Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: Dr. Hawkins [mailto:dochawk at gmail.com] Sent: Thursday, November 02, 2017 6:49 PM To: rdimola at evergreeninfo.net Cc: How to use LiveCode Subject: Re: results of SPLIT when keys not unique On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola wrote: > Whoops, not tested and I saw an error. > > Select mytable.animalname,mytable.animalnumber from (select distinct > mytable.animalname from mytable as mytable2) left join mytable on > mytable.animalname = mytable2animalname > You just shot *way* over my SQL :) does that last line search for any mytable.animalname that occurs in mytable2.animalname? (and if it's that easy, why in the world isn't DISTINCT ON part of SQLite??? thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From christer at mindcrea.com Fri Nov 3 01:55:12 2017 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Fri, 3 Nov 2017 07:55:12 +0200 Subject: Device implementation problems Message-ID: <9F4A8AD1-87C3-42F3-BDD9-6D93D24244D3@mindcrea.com> A few days ago I raised the question on how the device behaviour differs from how it is in the IDE environment. The question posed was if there is a command go card "xyz" and the script continues to run immediately, would there be interference in terms of "getting the go done". Interpreting a couple of answers, thank you, I understood that it would not cause problems. However, there can be interference, and I could prove it and repeat it. As follows. - The target is Android device (I am using an old Samsung Galaxy S4 thanks to its screen pixel size (and despite of having dropped it both on concrete and in a lake quite a few times still does great job) - In the app there is a virtual screen (card is larger then the # of pixels on the physical screen), and there are about 100 objects on it. The card is resized based on the screenRect parameters in several sets of different objects, the amount of code running through is maybe > 1000 lines of LC. - When I issue the "go" and let the script run, many of the objects won't get done completely, for example card background, button or field colouring gets only partially done. However, if I either add "lock screen" before the "go" statement, or issue "wait 100 milliSeconds" after the "go", everything is OK. And all of this can be repeated. The Android device is kept off other duties, so that it is not getting vast amount of interruts. Now, the above method helps me to solve the problem, but would there be any other methods to avoid such an implementation issues? Anyone else had similar experience? rgds Christer Pyyhti? christer at mindcrea.com From jacque at hyperactivesw.com Fri Nov 3 02:19:34 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 3 Nov 2017 01:19:34 -0500 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <005601d353fb$86f2eb80$94d8c280$@net> Message-ID: <1c0bfb9b-6f14-1136-c018-a5a99445947b@hyperactivesw.com> On 11/2/17 7:17 PM, Colin Holgate via use-livecode wrote: > Apple do document what they mean by a safe area, and the amount it eats into the screen isn?t very much: > > https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/ Android developers have been dealing with a gazillion screen ratios since day one. Safe zones are the rule there, and this isn't any different. LC can handle it with some planning. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dvglasgow at gmail.com Fri Nov 3 07:21:49 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 3 Nov 2017 11:21:49 +0000 Subject: JSON import error In-Reply-To: References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> Message-ID: <83F41A9A-B66A-4D7D-BB0E-9B4FA31FEB50@gmail.com> From the thrid party perspective, it doesn?t matter whether the OP has an epiphany, or another list contributor solves the problem. All is good interesting and helpful. It?s also nice to see that even the wise ones have the same 'moments of discovery' that the rest of us do. David G > On 2 Nov 2017, at 6:57 pm, J. Landman Gay via use-livecode wrote: > > On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: >> https://en.wikipedia.org/wiki/Rubber_duck_debugging > > Yeah. Story of my life. I've since hit another error in the JSON import but now I'm afraid to post about it. :) > > -- > 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 colinholgate at gmail.com Fri Nov 3 07:53:58 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 3 Nov 2017 07:53:58 -0400 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: <1c0bfb9b-6f14-1136-c018-a5a99445947b@hyperactivesw.com> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <005601d353fb$86f2eb80$94d8c280$@net> <1c0bfb9b-6f14-1136-c018-a5a99445947b@hyperactivesw.com> Message-ID: One interesting thing has come up with Android?s new immersive mode, for it to work you have to do the counterintuitive NOT hide the status bar. Apple also recommend not hiding the status bar on iPhone X. > On Nov 3, 2017, at 2:19 AM, J. Landman Gay via use-livecode wrote: > > On 11/2/17 7:17 PM, Colin Holgate via use-livecode wrote: >> Apple do document what they mean by a safe area, and the amount it eats into the screen isn?t very much: >> https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/ > > Android developers have been dealing with a gazillion screen ratios since day one. Safe zones are the rule there, and this isn't any different. LC can handle it with some planning. > From mark at livecode.com Fri Nov 3 07:55:54 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 03 Nov 2017 12:55:54 +0100 Subject: JSON import error In-Reply-To: References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> Message-ID: On 2017-11-02 19:57, J. Landman Gay via use-livecode wrote: > On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: >> https://en.wikipedia.org/wiki/Rubber_duck_debugging >> > > Yeah. Story of my life. I've since hit another error in the JSON > import but now I'm afraid to post about it. :) I do this all the time - quite often just trying to pose the question to explain the problem leads to the solution :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From phil at liverpool.ac.uk Fri Nov 3 08:03:01 2017 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Fri, 3 Nov 2017 12:03:01 +0000 Subject: JSON import error In-Reply-To: References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> Message-ID: <6060E746-7829-40C2-871D-263CD79DFEA0@liverpool.ac.uk> Or when you?re preparing an example stack for the bug report and realise that it?s not a bug, you?ve been doing it wrong... > On 3 Nov 2017, at 11:55, Mark Waddingham via use-livecode wrote: > > On 2017-11-02 19:57, J. Landman Gay via use-livecode wrote: >> On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: >>> https://en.wikipedia.org/wiki/Rubber_duck_debugging >> Yeah. Story of my life. I've since hit another error in the JSON >> import but now I'm afraid to post about it. :) > > I do this all the time - quite often just trying to pose the question to explain the problem leads to the solution :) > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://intranet.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From mark at livecode.com Fri Nov 3 09:19:05 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 03 Nov 2017 14:19:05 +0100 Subject: The coming of SVG Message-ID: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> Hi all, My most recent talk at LCG (in October) was 'Building an SVG Widget' and in order to talk about such a thing, I needed to actually build one - so I did :) So, we are now firmly on the road to full SVG support in LiveCode! At the moment the implementation only supports geometric shape tags, paths, and solid color fills. However, it supports the standard fill/stroke attributes and should work with any SVG file - anything which isn't supported just doesn't get rendered (so you have a modicum of graceful degradation in terms of features). In particular, you don't need to preprocess your SVG file to pull out incompatible tags / attributes, or just extract the path (as you do for the SVGIcon widget). The current implementation successfully renders quite a wide range of simple SVGs (simple in the features they use, rather than how they look!). Indeed, it happily renders the (quite widely known) Tiger and Lion SVGs, and has been tested on quite a few random SVGs I managed to find on Wikipedia. It is certainly more than capable if you want to use simply coloured multi-path SVGs. LCG attendees got a prototype of a widget to play with - called vectoricon - and integrating this initial version this into the product has now got to the top of my work-list :) The principal thing which I'd like some feedback on right now is the name of the widget/control - I think we have a good one, but wanted to see what you all thought before committing us to it forever and a day. Before getting to that though, I should perhaps explain what a potential path for the evolution of this new feature in LiveCode could look like. SVG as a concept allows arbitrary collections of vector shapes, images and text to be represented in a single high-level way as XML - in particular, you can express geometric shapes, raster images and text all in one unified form. Previously we had proposed producing a 'shape' object which would be a 'graphic object on steroids' - allowing affine transformation, higher fidelity specification of geometric objects and groups of them; providing an 'svgText' interface similar to htmlText on the field. Essentially, the proposed 'shape' object would have used a subset of SVG to allow easy interchange of what it represents. That notion of 'shape' object (and thus the current 'graphic' object) can be subsumed into the SVG implementation in an obvious way - if you ask your SVG object to be a rectangle, it creates (notionally) the SVG for a rectangle internally and uses that - which you would see via the svgText. Similarly, as SVG can represent raster images too, we can fold the current behavior of the 'image' object into it to - in a similar way. The end result here would be a single object which is a generalization of two existing objects - image and graphic - but without the backwards-compatibility baggage we currently have. In terms of using this new object in a consistent way to our current model, we propose (subsequently) to generalize the types of objects which can be referenced by imageSource and icon properties - allowing them to use any object which 'knows how to be used as an icon'. Currently, only the image object has this knowledge - but we can extend to other objects by getting them to implement the appropriate internal interface. This would mean that you could just replace the images you use currently for icons and such, with the new control which supports SVG and use SVG instead. Given the potential future path of this particular feature, we also propose to eventually give it an actual control type - rather than widget (although it will still be a widget). i.e. We think it is has such future potential that being able to do ' "foo"' in script will be very useful (this is almost a requirement if it is to eventually 'replace' the image and graphic objects). [ Note: we have also been considering this for the browser widget too! ]. Thus with all that in mind - we are proposing 'picture' as the name of the new SVG capable control, with the following ideal roadmap: a) we would integrate the 'prototype' implemented for SVG as 'com.livecode.widget.picture' b) we would add a 'picture' noun to the language as the control type for that widget c) we would add icon reference support, allowing it to be used in place of an image d) we would add graphic-like shape properties, allowing you to use it in place of a graphic e) we would add support to the image tag in svg, and image-like image properties, allowing it to be used in place of an image f) we would gradually expand support for the range of SVG it can directly render (gradients and layers are high on the hit list here) In terms of timescale, we are currently looking at delivering 'just' (a) for 9.0 (although I do have my eye on at least (c) too - we'll have to see how other things we still need to finish for 9 go). The rest all break down into bite-sized chunks which I'd hope we could iterate on it periodically after that. It goes without saying that we are interested in any and all feedback you might have on this idea; however, right now, our top priority is naming. As I said above 'picture' is our current top (and perhaps only!) contender - it says what SVG does (it represents pictures of things), can subsume the idea of image and graphic naturally, and is human-friendly. It is also a single word which is a current requirement if it is to be used as a chunk noun (like 'image', and 'graphic' etc.). I look forward to reading any feedback you might have! Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Fri Nov 3 09:19:49 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 03 Nov 2017 14:19:49 +0100 Subject: JSON import error In-Reply-To: <6060E746-7829-40C2-871D-263CD79DFEA0@liverpool.ac.uk> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <6060E746-7829-40C2-871D-263CD79DFEA0@liverpool.ac.uk> Message-ID: On 2017-11-03 13:03, Phil Jimmieson via use-livecode wrote: > Or when you?re preparing an example stack for the bug report and > realise that it?s not a bug, you?ve been doing it wrong... Recipe stacks for bugs are useful for all kinds of reasons ;) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From andrew at midwestcoastmedia.com Fri Nov 3 11:01:04 2017 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Fri, 03 Nov 2017 15:01:04 +0000 Subject: Link to iOS device settings In-Reply-To: Message-ID: <20171103150104.Horde.v-OVtsO6Z0oDF3n96wON0-V@ua850258.serversignin.com> > Based on that SO discussion you should be able to use launch url. It > looks like the url scheme changed from `prefs:` to `App-Prefs:` in > iOS 10. So you might want to try one then the other. > > So: > > launch url ?App-Prefs:root=NOTIFICATIONS_ID&path=? > if the result is ?no association" then > launch url ?prefs:root=NOTIFICATIONS_ID&path=? > end if > Thank you Monte! This didn't work exactly how I expected, but will suffice for now. That code took me to iOS Settings, but not to any place in particular... just to the last Settings area visited. So if I had last visited Settings > Personal Hotspot then that's where the link from my LiveCode app took me (and not to the Settings for my app bundle, or even the root of Settings for that matter). Using the codes I found @ https://github.com/phynet/iOS-URL-Schemes I tried some of the other URLs and the small handful that I tried all had the same result of going from LiveCode app to the last area of Settings that was active on the device. --Andrew Bell >> On 3 Nov 2017, at 7:57 am, Andrew Bell via use-livecode >> wrote: >> >> Is it possible from a LiveCode app to link to the iOS device >> Settings? I would like to help users enable Push Notifications if >> they didn't the first time the app was launched, and rather than >> just describe where it is I'd like to jump to the Settings app. >> >> Seems to be doable in native programming languages: >> https://stackoverflow.com/questions/5655674/opening-the-settings-app-from-another-app >> >> --Andrew Bell >> From MikeKerner at roadrunner.com Fri Nov 3 11:18:49 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Nov 2017 11:18:49 -0400 Subject: The coming of SVG In-Reply-To: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> Message-ID: OOOH. Cooooool. So pretty soon maybe I can render interfaces in Sketch after applying themes from my favorite interface design houses... On Fri, Nov 3, 2017 at 9:19 AM, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > My most recent talk at LCG (in October) was 'Building an SVG Widget' and > in order to talk about such a thing, I needed to actually build one - so I > did :) > > So, we are now firmly on the road to full SVG support in LiveCode! > > At the moment the implementation only supports geometric shape tags, > paths, and solid color fills. However, it supports the standard fill/stroke > attributes and should work with any SVG file - anything which isn't > supported just doesn't get rendered (so you have a modicum of graceful > degradation in terms of features). In particular, you don't need to > preprocess your SVG file to pull out incompatible tags / attributes, or > just extract the path (as you do for the SVGIcon widget). > > The current implementation successfully renders quite a wide range of > simple SVGs (simple in the features they use, rather than how they look!). > Indeed, it happily renders the (quite widely known) Tiger and Lion SVGs, > and has been tested on quite a few random SVGs I managed to find on > Wikipedia. It is certainly more than capable if you want to use simply > coloured multi-path SVGs. > > LCG attendees got a prototype of a widget to play with - called vectoricon > - and integrating this initial version this into the product has now got to > the top of my work-list :) > > The principal thing which I'd like some feedback on right now is the name > of the widget/control - I think we have a good one, but wanted to see what > you all thought before committing us to it forever and a day. > > Before getting to that though, I should perhaps explain what a potential > path for the evolution of this new feature in LiveCode could look like. > > SVG as a concept allows arbitrary collections of vector shapes, images and > text to be represented in a single high-level way as XML - in particular, > you can express geometric shapes, raster images and text all in one unified > form. > > Previously we had proposed producing a 'shape' object which would be a > 'graphic object on steroids' - allowing affine transformation, higher > fidelity specification of geometric objects and groups of them; providing > an 'svgText' interface similar to htmlText on the field. Essentially, the > proposed 'shape' object would have used a subset of SVG to allow easy > interchange of what it represents. > > That notion of 'shape' object (and thus the current 'graphic' object) can > be subsumed into the SVG implementation in an obvious way - if you ask your > SVG object to be a rectangle, it creates (notionally) the SVG for a > rectangle internally and uses that - which you would see via the svgText. > > Similarly, as SVG can represent raster images too, we can fold the current > behavior of the 'image' object into it to - in a similar way. > > The end result here would be a single object which is a generalization of > two existing objects - image and graphic - but without the > backwards-compatibility baggage we currently have. > > In terms of using this new object in a consistent way to our current > model, we propose (subsequently) to generalize the types of objects which > can be referenced by imageSource and icon properties - allowing them to use > any object which 'knows how to be used as an icon'. Currently, only the > image object has this knowledge - but we can extend to other objects by > getting them to implement the appropriate internal interface. This would > mean that you could just replace the images you use currently for icons and > such, with the new control which supports SVG and use SVG instead. > > Given the potential future path of this particular feature, we also > propose to eventually give it an actual control type - rather than widget > (although it will still be a widget). i.e. We think it is has such future > potential that being able to do ' "foo"' in script will be very > useful (this is almost a requirement if it is to eventually 'replace' the > image and graphic objects). [ Note: we have also been considering this for > the browser widget too! ]. > > Thus with all that in mind - we are proposing 'picture' as the name of the > new SVG capable control, with the following ideal roadmap: > > a) we would integrate the 'prototype' implemented for SVG as > 'com.livecode.widget.picture' > > b) we would add a 'picture' noun to the language as the control type for > that widget > > c) we would add icon reference support, allowing it to be used in place > of an image > > d) we would add graphic-like shape properties, allowing you to use it in > place of a graphic > > e) we would add support to the image tag in svg, and image-like image > properties, allowing it to be used in place of an image > > f) we would gradually expand support for the range of SVG it can > directly render (gradients and layers are high on the hit list here) > > In terms of timescale, we are currently looking at delivering 'just' (a) > for 9.0 (although I do have my eye on at least (c) too - we'll have to see > how other things we still need to finish for 9 go). The rest all break down > into bite-sized chunks which I'd hope we could iterate on it periodically > after that. > > It goes without saying that we are interested in any and all feedback you > might have on this idea; however, right now, our top priority is naming. > > As I said above 'picture' is our current top (and perhaps only!) contender > - it says what SVG does (it represents pictures of things), can subsume the > idea of image and graphic naturally, and is human-friendly. It is also a > single word which is a current requirement if it is to be used as a chunk > noun (like 'image', and 'graphic' etc.). > > I look forward to reading any feedback you might have! > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 prothero at earthlearningsolutions.org Fri Nov 3 11:46:07 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Fri, 3 Nov 2017 08:46:07 -0700 Subject: The coming of SVG In-Reply-To: References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> Message-ID: This is great news! Bill William Prothero http://es.earthednet.org > On Nov 3, 2017, at 8:18 AM, Mike Kerner via use-livecode wrote: > > OOOH. Cooooool. So pretty soon maybe I can render interfaces in Sketch > after applying themes from my favorite interface design houses... > > On Fri, Nov 3, 2017 at 9:19 AM, Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> My most recent talk at LCG (in October) was 'Building an SVG Widget' and >> in order to talk about such a thing, I needed to actually build one - so I >> did :) >> >> So, we are now firmly on the road to full SVG support in LiveCode! >> >> At the moment the implementation only supports geometric shape tags, >> paths, and solid color fills. However, it supports the standard fill/stroke >> attributes and should work with any SVG file - anything which isn't >> supported just doesn't get rendered (so you have a modicum of graceful >> degradation in terms of features). In particular, you don't need to >> preprocess your SVG file to pull out incompatible tags / attributes, or >> just extract the path (as you do for the SVGIcon widget). >> >> The current implementation successfully renders quite a wide range of >> simple SVGs (simple in the features they use, rather than how they look!). >> Indeed, it happily renders the (quite widely known) Tiger and Lion SVGs, >> and has been tested on quite a few random SVGs I managed to find on >> Wikipedia. It is certainly more than capable if you want to use simply >> coloured multi-path SVGs. >> >> LCG attendees got a prototype of a widget to play with - called vectoricon >> - and integrating this initial version this into the product has now got to >> the top of my work-list :) >> >> The principal thing which I'd like some feedback on right now is the name >> of the widget/control - I think we have a good one, but wanted to see what >> you all thought before committing us to it forever and a day. >> >> Before getting to that though, I should perhaps explain what a potential >> path for the evolution of this new feature in LiveCode could look like. >> >> SVG as a concept allows arbitrary collections of vector shapes, images and >> text to be represented in a single high-level way as XML - in particular, >> you can express geometric shapes, raster images and text all in one unified >> form. >> >> Previously we had proposed producing a 'shape' object which would be a >> 'graphic object on steroids' - allowing affine transformation, higher >> fidelity specification of geometric objects and groups of them; providing >> an 'svgText' interface similar to htmlText on the field. Essentially, the >> proposed 'shape' object would have used a subset of SVG to allow easy >> interchange of what it represents. >> >> That notion of 'shape' object (and thus the current 'graphic' object) can >> be subsumed into the SVG implementation in an obvious way - if you ask your >> SVG object to be a rectangle, it creates (notionally) the SVG for a >> rectangle internally and uses that - which you would see via the svgText. >> >> Similarly, as SVG can represent raster images too, we can fold the current >> behavior of the 'image' object into it to - in a similar way. >> >> The end result here would be a single object which is a generalization of >> two existing objects - image and graphic - but without the >> backwards-compatibility baggage we currently have. >> >> In terms of using this new object in a consistent way to our current >> model, we propose (subsequently) to generalize the types of objects which >> can be referenced by imageSource and icon properties - allowing them to use >> any object which 'knows how to be used as an icon'. Currently, only the >> image object has this knowledge - but we can extend to other objects by >> getting them to implement the appropriate internal interface. This would >> mean that you could just replace the images you use currently for icons and >> such, with the new control which supports SVG and use SVG instead. >> >> Given the potential future path of this particular feature, we also >> propose to eventually give it an actual control type - rather than widget >> (although it will still be a widget). i.e. We think it is has such future >> potential that being able to do ' "foo"' in script will be very >> useful (this is almost a requirement if it is to eventually 'replace' the >> image and graphic objects). [ Note: we have also been considering this for >> the browser widget too! ]. >> >> Thus with all that in mind - we are proposing 'picture' as the name of the >> new SVG capable control, with the following ideal roadmap: >> >> a) we would integrate the 'prototype' implemented for SVG as >> 'com.livecode.widget.picture' >> >> b) we would add a 'picture' noun to the language as the control type for >> that widget >> >> c) we would add icon reference support, allowing it to be used in place >> of an image >> >> d) we would add graphic-like shape properties, allowing you to use it in >> place of a graphic >> >> e) we would add support to the image tag in svg, and image-like image >> properties, allowing it to be used in place of an image >> >> f) we would gradually expand support for the range of SVG it can >> directly render (gradients and layers are high on the hit list here) >> >> In terms of timescale, we are currently looking at delivering 'just' (a) >> for 9.0 (although I do have my eye on at least (c) too - we'll have to see >> how other things we still need to finish for 9 go). The rest all break down >> into bite-sized chunks which I'd hope we could iterate on it periodically >> after that. >> >> It goes without saying that we are interested in any and all feedback you >> might have on this idea; however, right now, our top priority is naming. >> >> As I said above 'picture' is our current top (and perhaps only!) contender >> - it says what SVG does (it represents pictures of things), can subsume the >> idea of image and graphic naturally, and is human-friendly. It is also a >> single word which is a current requirement if it is to be used as a chunk >> noun (like 'image', and 'graphic' etc.). >> >> I look forward to reading any feedback you might have! >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Everyone can create apps >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Fri Nov 3 12:05:51 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 03 Nov 2017 17:05:51 +0100 Subject: The coming of SVG In-Reply-To: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> Message-ID: <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> On 2017-11-03 14:19, Mark Waddingham via use-livecode wrote: > Hi all, > > My most recent talk at LCG (in October) was 'Building an SVG Widget' > and in order to talk about such a thing, I needed to actually build > one - so I did :) > > So, we are now firmly on the road to full SVG support in LiveCode! For anyone interested in the gory details, I've just submitted the initial PR containing the implementation I did for LCG: https://github.com/livecode/livecode/pull/6099 It consists of around 2000 lines of LCS, and 400 lines of LCB, along with a specification text file. This should be considered a Work-In-Progress - the name is currently vectoricon and the persistent state of the widget is not yet stable. The former will get updated when we finally decide on a suitable name; the latter will get updated when I've finished planning the fine details of the initial set of properties it needs. The widget itself is really easy to use - you drag one out and set the 'svgText' property of the widget to the content of an SVG file (i.e. the actual XML text, not a filename). If the SVG has a 'viewBox' top-level attribute, then that area of the (SVG) 'canvas' will be scaled to fit into the widget's rect; otherwise the canvas will be rendered as defined. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Fri Nov 3 12:09:49 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Nov 2017 16:09:49 +0000 Subject: Device implementation problems In-Reply-To: <9F4A8AD1-87C3-42F3-BDD9-6D93D24244D3@mindcrea.com> References: <9F4A8AD1-87C3-42F3-BDD9-6D93D24244D3@mindcrea.com> Message-ID: <35D3EFF9-7A63-4345-A202-DB7B8D4652D3@iotecdigital.com> I've seen this happen when something goes wrong in the code and in a standalone that can fail silently. If it does, the engine exits to top and that is why things get left undone. Bob S > On Nov 2, 2017, at 22:55 , Pyyhti? Christer via use-livecode wrote: > > A few days ago I raised the question on how the device behaviour differs from how it is in the IDE environment. The question posed was if there is a command > > go card "xyz" > > and the script continues to run immediately, would there be interference in terms of "getting the go done". > > Interpreting a couple of answers, thank you, I understood that it would not cause problems. > > However, there can be interference, and I could prove it and repeat it. As follows. > > - The target is Android device (I am using an old Samsung Galaxy S4 thanks to its screen pixel size (and despite of having dropped it both on concrete and in a lake quite a few times still does great job) > > - In the app there is a virtual screen (card is larger then the # of pixels on the physical screen), and there are about 100 objects on it. The card is resized based on the screenRect parameters in several sets of different objects, the amount of code running through is maybe > 1000 lines of LC. > > - When I issue the "go" and let the script run, many of the objects won't get done completely, for example card background, button or field colouring gets only partially done. However, if I either add "lock screen" before the "go" statement, or issue "wait 100 milliSeconds" after the "go", everything is OK. And all of this can be repeated. The Android device is kept off other duties, so that it is not getting vast amount of interruts. > > Now, the above method helps me to solve the problem, but would there be any other methods to avoid such an implementation issues? > > Anyone else had similar experience? > > rgds > > Christer Pyyhti? > christer at mindcrea.com From MikeKerner at roadrunner.com Fri Nov 3 12:39:22 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Nov 2017 12:39:22 -0400 Subject: Call for Speakers 2018 In-Reply-To: References: <2142AD88-DD69-4C64-BB95-D18B6BF8AD50@livecode.com> <2b073d91-faa1-bcf0-2666-7ac2fea169dd@sonic.net> <09141EC2-A2E2-4D9F-B888-560F84426CA8@livecode.com> <2bfcb7c5-58a3-fa21-acd6-d43b6d7033bc@sonic.net> Message-ID: I've got another project we could work on as part of an LCB "class" - un-hardcoding the icons that are in the various widgets, so the developer can drag/drop SVG's. Perhaps that could be from an icon library widget. Segmented controls, buttons, etc. could all benefit from this. On Fri, Oct 27, 2017 at 2:26 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Sounds like my coding experience every single day. ;-) > > Bob S > > > > On Oct 27, 2017, at 11:23 , Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > That isn't to say it's a complete mess, but when I jump in to start > looking > > at something, it feels like I'm in an escape room, because I'm trying to > > learn what the heck is what, why it works that way, and work on it at the > > same time. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 jiml at netrin.com Fri Nov 3 12:57:05 2017 From: jiml at netrin.com (Jim Lambert) Date: Fri, 3 Nov 2017 09:57:05 -0700 Subject: results of SPLIT when keys not unique In-Reply-To: References: Message-ID: > Monte wrote: > > Perhaps something like: > > split by and [{replacing | splitting | ignoring} duplicates] Yes. +1 Jim Lambert From ahsoftware at sonic.net Fri Nov 3 12:59:15 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 3 Nov 2017 09:59:15 -0700 Subject: JSON import error In-Reply-To: <6060E746-7829-40C2-871D-263CD79DFEA0@liverpool.ac.uk> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <6060E746-7829-40C2-871D-263CD79DFEA0@liverpool.ac.uk> Message-ID: <84c5033f-63f0-78ce-69ed-82fd456081ed@sonic.net> On 11/03/2017 05:03 AM, Phil Jimmieson via use-livecode wrote: > Or when you?re preparing an example stack for the bug report and realise that it?s not a bug, you?ve been doing it wrong... Normally I find that right *after* filing the bug report. -- Mark Wieder ahsoftware at gmail.com From dave at applicationinsight.com Fri Nov 3 13:32:19 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 3 Nov 2017 17:32:19 +0000 Subject: JSON import error Message-ID: <925CF59B-F493-4F8C-8420-DC08B45CAEBE@applicationinsight.com> quite agree, and as Jacque says ?its the law? - and only the brave own up to their DOH! moments (of which I have several every hour) kind regards dave > From the thrid party perspective, it doesn?t matter whether the OP has an epiphany, or another list contributor solves the problem. All is good interesting and helpful. It?s also nice to see that even the wise ones have the same 'moments of discovery' that the rest of us do. > > David G > > > > On 2 Nov 2017, at 6:57 pm, J. Landman Gay via use-livecode <[hidden email] > wrote: > > > > On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: > >> https://en.wikipedia.org/wiki/Rubber_duck_debugging > > > > > Yeah. Story of my life. I've since hit another error in the JSON import but now I'm afraid to post about it. :) > > > > -- > > Jacqueline Landman Gay | [hidden email] > > HyperActive Software | http://www.hyperactivesw.com > > From klaus at major-k.de Fri Nov 3 13:51:47 2017 From: klaus at major-k.de (Klaus major-k) Date: Fri, 3 Nov 2017 18:51:47 +0100 Subject: The coming of SVG In-Reply-To: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> Message-ID: <0FEDC6AF-41D5-499C-85FE-44D85D3054C3@major-k.de> Hi Mark > Am 03.11.2017 um 14:19 schrieb Mark Waddingham via use-livecode : > > Hi all, > > My most recent talk at LCG (in October) was 'Building an SVG Widget' and in order to talk about such a thing, I needed to actually build one - so I did :) > > So, we are now firmly on the road to full SVG support in LiveCode! > > At the moment the implementation only supports geometric shape tags, paths, and solid color fills. However, it supports the standard fill/stroke attributes and should work ... > > a) we would integrate the 'prototype' implemented for SVG as 'com.livecode.widget.picture' > b) we would add a 'picture' noun to the language as the control type for that widget > c) we would add icon reference support, allowing it to be used in place of an image > d) we would add graphic-like shape properties, allowing you to use it in place of a graphic > e) we would add support to the image tag in svg, and image-like image properties, allowing it to be used in place of an image > f) we would gradually expand support for the range of SVG it can directly render (gradients and layers are high on the hit list here) > > In terms of timescale, we are currently looking at delivering 'just' (a) for 9.0 (although I do have my eye on at least (c) too - we'll have to see how other things we still need to ... > I look forward to reading any feedback you might have! > > Warmest Regards, > > Mark. this is really wonderful news! Some questions regarding C: When using an image as a button icon, the size of the image in button = size of the image with that ID. Will this behaviour be the same with SVG "icons"? Or will we be able to display the same SVG in different buttons at different sizes? Know what I mean? If that is possible, then we would need another property for buttons (or the SVGs?) to be able to scale the icon inside of the button. Something to consider, I think. :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bleiler at buffalo.edu Fri Nov 3 14:02:27 2017 From: bleiler at buffalo.edu (Bleiler, Timothy) Date: Fri, 3 Nov 2017 18:02:27 +0000 Subject: The coming of SVG In-Reply-To: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> Message-ID: <143B7B2E-EDCF-4DF9-8060-F1E51093C167@buffalo.edu> This is good news!! Is there any reason not to call the control ?SVG?? Why create another abstraction in the name from what the control actually is? e.g. Set the fileName of SVG ?My Picture? to ?. Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo > On Nov 3, 2017, at 9:19 AM, Mark Waddingham via use-livecode wrote: > > Hi all, > > My most recent talk at LCG (in October) was 'Building an SVG Widget' and in order to talk about such a thing, I needed to actually build one - so I did :) > > So, we are now firmly on the road to full SVG support in LiveCode! > > At the moment the implementation only supports geometric shape tags, paths, and solid color fills. However, it supports the standard fill/stroke attributes and should work with any SVG file - anything which isn't supported just doesn't get rendered (so you have a modicum of graceful degradation in terms of features). In particular, you don't need to preprocess your SVG file to pull out incompatible tags / attributes, or just extract the path (as you do for the SVGIcon widget). > > The current implementation successfully renders quite a wide range of simple SVGs (simple in the features they use, rather than how they look!). Indeed, it happily renders the (quite widely known) Tiger and Lion SVGs, and has been tested on quite a few random SVGs I managed to find on Wikipedia. It is certainly more than capable if you want to use simply coloured multi-path SVGs. > > LCG attendees got a prototype of a widget to play with - called vectoricon - and integrating this initial version this into the product has now got to the top of my work-list :) > > The principal thing which I'd like some feedback on right now is the name of the widget/control - I think we have a good one, but wanted to see what you all thought before committing us to it forever and a day. > > Before getting to that though, I should perhaps explain what a potential path for the evolution of this new feature in LiveCode could look like. > > SVG as a concept allows arbitrary collections of vector shapes, images and text to be represented in a single high-level way as XML - in particular, you can express geometric shapes, raster images and text all in one unified form. > > Previously we had proposed producing a 'shape' object which would be a 'graphic object on steroids' - allowing affine transformation, higher fidelity specification of geometric objects and groups of them; providing an 'svgText' interface similar to htmlText on the field. Essentially, the proposed 'shape' object would have used a subset of SVG to allow easy interchange of what it represents. > > That notion of 'shape' object (and thus the current 'graphic' object) can be subsumed into the SVG implementation in an obvious way - if you ask your SVG object to be a rectangle, it creates (notionally) the SVG for a rectangle internally and uses that - which you would see via the svgText. > > Similarly, as SVG can represent raster images too, we can fold the current behavior of the 'image' object into it to - in a similar way. > > The end result here would be a single object which is a generalization of two existing objects - image and graphic - but without the backwards-compatibility baggage we currently have. > > In terms of using this new object in a consistent way to our current model, we propose (subsequently) to generalize the types of objects which can be referenced by imageSource and icon properties - allowing them to use any object which 'knows how to be used as an icon'. Currently, only the image object has this knowledge - but we can extend to other objects by getting them to implement the appropriate internal interface. This would mean that you could just replace the images you use currently for icons and such, with the new control which supports SVG and use SVG instead. > > Given the potential future path of this particular feature, we also propose to eventually give it an actual control type - rather than widget (although it will still be a widget). i.e. We think it is has such future potential that being able to do ' "foo"' in script will be very useful (this is almost a requirement if it is to eventually 'replace' the image and graphic objects). [ Note: we have also been considering this for the browser widget too! ]. > > Thus with all that in mind - we are proposing 'picture' as the name of the new SVG capable control, with the following ideal roadmap: > > a) we would integrate the 'prototype' implemented for SVG as 'com.livecode.widget.picture' > > b) we would add a 'picture' noun to the language as the control type for that widget > > c) we would add icon reference support, allowing it to be used in place of an image > > d) we would add graphic-like shape properties, allowing you to use it in place of a graphic > > e) we would add support to the image tag in svg, and image-like image properties, allowing it to be used in place of an image > > f) we would gradually expand support for the range of SVG it can directly render (gradients and layers are high on the hit list here) > > In terms of timescale, we are currently looking at delivering 'just' (a) for 9.0 (although I do have my eye on at least (c) too - we'll have to see how other things we still need to finish for 9 go). The rest all break down into bite-sized chunks which I'd hope we could iterate on it periodically after that. > > It goes without saying that we are interested in any and all feedback you might have on this idea; however, right now, our top priority is naming. > > As I said above 'picture' is our current top (and perhaps only!) contender - it says what SVG does (it represents pictures of things), can subsume the idea of image and graphic naturally, and is human-friendly. It is also a single word which is a current requirement if it is to be used as a chunk noun (like 'image', and 'graphic' etc.). > > I look forward to reading any feedback you might have! > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Nov 3 14:12:25 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 3 Nov 2017 13:12:25 -0500 Subject: The coming of SVG In-Reply-To: <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> Message-ID: On 11/3/17 11:05 AM, Mark Waddingham via use-livecode wrote: > the name is currently vectoricon To be honest, I like this better than "picture". It's more descriptive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Fri Nov 3 14:17:59 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Nov 2017 14:17:59 -0400 Subject: The coming of SVG In-Reply-To: <143B7B2E-EDCF-4DF9-8060-F1E51093C167@buffalo.edu> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <143B7B2E-EDCF-4DF9-8060-F1E51093C167@buffalo.edu> Message-ID: SVG's are not just standalone objects. They are also part of various widgets. On Fri, Nov 3, 2017 at 2:02 PM, Bleiler, Timothy via use-livecode < use-livecode at lists.runrev.com> wrote: > This is good news!! > > Is there any reason not to call the control ?SVG?? > Why create another abstraction in the name from what the control actually > is? > > e.g. > Set the fileName of SVG ?My Picture? to ?. > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > > > > On Nov 3, 2017, at 9:19 AM, Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi all, > > > > My most recent talk at LCG (in October) was 'Building an SVG Widget' and > in order to talk about such a thing, I needed to actually build one - so I > did :) > > > > So, we are now firmly on the road to full SVG support in LiveCode! > > > > At the moment the implementation only supports geometric shape tags, > paths, and solid color fills. However, it supports the standard fill/stroke > attributes and should work with any SVG file - anything which isn't > supported just doesn't get rendered (so you have a modicum of graceful > degradation in terms of features). In particular, you don't need to > preprocess your SVG file to pull out incompatible tags / attributes, or > just extract the path (as you do for the SVGIcon widget). > > > > The current implementation successfully renders quite a wide range of > simple SVGs (simple in the features they use, rather than how they look!). > Indeed, it happily renders the (quite widely known) Tiger and Lion SVGs, > and has been tested on quite a few random SVGs I managed to find on > Wikipedia. It is certainly more than capable if you want to use simply > coloured multi-path SVGs. > > > > LCG attendees got a prototype of a widget to play with - called > vectoricon - and integrating this initial version this into the product has > now got to the top of my work-list :) > > > > The principal thing which I'd like some feedback on right now is the > name of the widget/control - I think we have a good one, but wanted to see > what you all thought before committing us to it forever and a day. > > > > Before getting to that though, I should perhaps explain what a potential > path for the evolution of this new feature in LiveCode could look like. > > > > SVG as a concept allows arbitrary collections of vector shapes, images > and text to be represented in a single high-level way as XML - in > particular, you can express geometric shapes, raster images and text all in > one unified form. > > > > Previously we had proposed producing a 'shape' object which would be a > 'graphic object on steroids' - allowing affine transformation, higher > fidelity specification of geometric objects and groups of them; providing > an 'svgText' interface similar to htmlText on the field. Essentially, the > proposed 'shape' object would have used a subset of SVG to allow easy > interchange of what it represents. > > > > That notion of 'shape' object (and thus the current 'graphic' object) > can be subsumed into the SVG implementation in an obvious way - if you ask > your SVG object to be a rectangle, it creates (notionally) the SVG for a > rectangle internally and uses that - which you would see via the svgText. > > > > Similarly, as SVG can represent raster images too, we can fold the > current behavior of the 'image' object into it to - in a similar way. > > > > The end result here would be a single object which is a generalization > of two existing objects - image and graphic - but without the > backwards-compatibility baggage we currently have. > > > > In terms of using this new object in a consistent way to our current > model, we propose (subsequently) to generalize the types of objects which > can be referenced by imageSource and icon properties - allowing them to use > any object which 'knows how to be used as an icon'. Currently, only the > image object has this knowledge - but we can extend to other objects by > getting them to implement the appropriate internal interface. This would > mean that you could just replace the images you use currently for icons and > such, with the new control which supports SVG and use SVG instead. > > > > Given the potential future path of this particular feature, we also > propose to eventually give it an actual control type - rather than widget > (although it will still be a widget). i.e. We think it is has such future > potential that being able to do ' "foo"' in script will be very > useful (this is almost a requirement if it is to eventually 'replace' the > image and graphic objects). [ Note: we have also been considering this for > the browser widget too! ]. > > > > Thus with all that in mind - we are proposing 'picture' as the name of > the new SVG capable control, with the following ideal roadmap: > > > > a) we would integrate the 'prototype' implemented for SVG as > 'com.livecode.widget.picture' > > > > b) we would add a 'picture' noun to the language as the control type > for that widget > > > > c) we would add icon reference support, allowing it to be used in place > of an image > > > > d) we would add graphic-like shape properties, allowing you to use it > in place of a graphic > > > > e) we would add support to the image tag in svg, and image-like image > properties, allowing it to be used in place of an image > > > > f) we would gradually expand support for the range of SVG it can > directly render (gradients and layers are high on the hit list here) > > > > In terms of timescale, we are currently looking at delivering 'just' (a) > for 9.0 (although I do have my eye on at least (c) too - we'll have to see > how other things we still need to finish for 9 go). The rest all break down > into bite-sized chunks which I'd hope we could iterate on it periodically > after that. > > > > It goes without saying that we are interested in any and all feedback > you might have on this idea; however, right now, our top priority is naming. > > > > As I said above 'picture' is our current top (and perhaps only!) > contender - it says what SVG does (it represents pictures of things), can > subsume the idea of image and graphic naturally, and is human-friendly. It > is also a single word which is a current requirement if it is to be used as > a chunk noun (like 'image', and 'graphic' etc.). > > > > I look forward to reading any feedback you might have! > > > > Warmest Regards, > > > > Mark. > > > > -- > > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > > LiveCode: Everyone can create apps > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Fri Nov 3 14:23:44 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 3 Nov 2017 13:23:44 -0500 Subject: The coming of SVG In-Reply-To: References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> Message-ID: <04d8df77-6462-3ec2-bafd-86daf9f83abb@hyperactivesw.com> On 11/3/17 1:12 PM, J. Landman Gay via use-livecode wrote: > On 11/3/17 11:05 AM, Mark Waddingham via use-livecode wrote: >> the name is currently vectoricon > > To be honest, I like this better than "picture". It's more descriptive. > Or maybe "vectorImage". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Fri Nov 3 14:31:54 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 3 Nov 2017 13:31:54 -0500 Subject: The coming of SVG Message-ID: Mark Waddingham wrote: > we are now firmly on the road to full SVG support in LiveCode! These are great good news! Congratulations. :-D > the name is currently vectoricon Actually, I like the name "Picture" because it remembers me about the PICT file format that could include bitmaps, vectors and text. Because you asked for names ideas, here they are: Pathline Pathshape Linepath Shapepath Shapeline But I still prefer "Picture". :-) Al From harrison at all-auctions.com Fri Nov 3 14:33:19 2017 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 3 Nov 2017 14:33:19 -0400 Subject: The coming of SVG In-Reply-To: <04d8df77-6462-3ec2-bafd-86daf9f83abb@hyperactivesw.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> <04d8df77-6462-3ec2-bafd-86daf9f83abb@hyperactivesw.com> Message-ID: <391F37FB-BA3D-4CF3-8554-A855F2BA8A3C@all-auctions.com> I like ?vectorImage? too! ?Picture" has been used for images for a long time, and we don?t want to add more confusion for users. Just my 2 cents.. Rick > On Nov 3, 2017, at 2:23 PM, J. Landman Gay via use-livecode wrote: > > Or maybe "vectorImage". From mark at livecode.com Fri Nov 3 14:34:28 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 03 Nov 2017 19:34:28 +0100 Subject: The coming of SVG In-Reply-To: <143B7B2E-EDCF-4DF9-8060-F1E51093C167@buffalo.edu> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <143B7B2E-EDCF-4DF9-8060-F1E51093C167@buffalo.edu> Message-ID: <0ead1ca32701cf4134b6ea9eb8240c34@livecode.com> On 2017-11-03 19:02, Bleiler, Timothy via use-livecode wrote: > This is good news!! > > Is there any reason not to call the control ?SVG?? Three main reasons: - SVG is a somewhat human-unfriendly term - SVG is technically a vector graphics interchange format (and so an adjective, not a noun - you have SVG Files, or SVG Documents) - SVG doesn't represent what the control does / will do, as SVG is only the means it uses to describe its internal structure when you set or get it The future goal here would be to make the new control the *replacement* for the existing image/graphic objects - it is for displaying pictorial things, whether they be raster images, svg files, simple geometric shapes etc. Another way to look at this is to forget I had ever mentioned anything related to SVG and then ask yourself this: 'What would be a good name for a control which can display complex vector images, raster images or combinations of geometric shapes be, assuming 'graphic' or 'image' were not available?' > Why create another abstraction in the name from what the control > actually is? I don't really see it as creating another abstraction, more about accurately representing the abstractions which are there. i.e. the proposed control uses SVG as one of its means of interchange, but its purpose is to display an image/picture. It also means that the term 'svg' can be left for being 'an object which is *just* a manipulatable representation of an SVG docuent' (indeed, the experimental SVGViewer widget I wrote a couple of years back based on nanosvg added an 'svg' object to the canvas module in LCB - allowing you to render them like you can paths). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From lists at mangomultimedia.com Fri Nov 3 14:36:53 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 3 Nov 2017 13:36:53 -0500 Subject: Should engine be applying link or metadata to an LINEFEED (LF) character? In-Reply-To: References: Message-ID: On Wed, Oct 25, 2017 at 2:42 PM, Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > As you noted, one gets: > 10 > > 90660 > > > Now select before char 1 of line 2 and hit the delete key, so that all the > text is on line 1. > Next hit the return key, so that the text is again on two lines and looks > just as it did before. > Next run: > > put 15 into tChar > > put charToNum(char tChar of field 1) & cr & the metadata of char tChar of > > field 1 > > Now you only get ?10?, no metadata! > > Check the htmltext and it?s identical to the original. > > Odd! > Thanks for the extra tests Jim. I?ve logged two bug reports about odd behavior surrounding metadata/links when working with LF and vertical tabs. http://quality.livecode.com/show_bug.cgi?id=20634 http://quality.livecode.com/show_bug.cgi?id=20633 -- Trevor DeVore ScreenSteps www.screensteps.com From mark at livecode.com Fri Nov 3 14:41:31 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 03 Nov 2017 19:41:31 +0100 Subject: The coming of SVG In-Reply-To: <391F37FB-BA3D-4CF3-8554-A855F2BA8A3C@all-auctions.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> <04d8df77-6462-3ec2-bafd-86daf9f83abb@hyperactivesw.com> <391F37FB-BA3D-4CF3-8554-A855F2BA8A3C@all-auctions.com> Message-ID: <2ccaa397000d47d144c71916118d995e@livecode.com> On 2017-11-03 19:33, Rick Harrison via use-livecode wrote: > I like ?vectorImage? too! > > ?Picture" has been used for images for a long time, > and we don?t want to add more confusion for users. Where do you think the confusion would come from? As I said one of the goals of this control would eventually be to replace the image object - so at some point (all being well) you will be able to do: set the filename of "foo" to "foo.png" set the filename of "foo" to "foo.gif" set the filename of "foo" to "foo.jpg" set the filename of "foo" to "foo.png" ... Or set the content of "foo" to tPngData ... At this point, describing the control as a 'vectorImage' might also seem confusing. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Fri Nov 3 14:53:10 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 3 Nov 2017 13:53:10 -0500 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <005601d353fb$86f2eb80$94d8c280$@net> <1c0bfb9b-6f14-1136-c018-a5a99445947b@hyperactivesw.com> Message-ID: <2529d60f-3579-4f47-e121-32f55bc1f9bc@hyperactivesw.com> On 11/3/17 6:53 AM, Colin Holgate via use-livecode wrote: > One interesting thing has come up with Android?s new immersive mode, for it to work you have to do the counterintuitive NOT hide the status bar. Apple also recommend not hiding the status bar on iPhone X. I'm not sure if it's new or just that Google officially supports it now. Samsung has implemented system-wide immersive mode on all their devices for years. It's confusing for newcomers. I had to explain what happened to more than one novice Android user when they got lost on a screen with no navigation controls. You're right the requirement isn't intuitive. That's pretty odd. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From colinholgate at gmail.com Fri Nov 3 14:58:34 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 3 Nov 2017 14:58:34 -0400 Subject: iPhone X or "Apple is just the most annoying company of all time" In-Reply-To: <2529d60f-3579-4f47-e121-32f55bc1f9bc@hyperactivesw.com> References: <8ABFE7B5-E794-4350-8D71-EAFA2716A022@applicationinsight.com> <005601d353fb$86f2eb80$94d8c280$@net> <1c0bfb9b-6f14-1136-c018-a5a99445947b@hyperactivesw.com> <2529d60f-3579-4f47-e121-32f55bc1f9bc@hyperactivesw.com> Message-ID: <136BBC92-6F95-4700-91A1-34513FDEADDF@gmail.com> So did Kindle, and that certainly has layout issues. The immersive mode I meant is the one that was added to the most recent Android system. > On Nov 3, 2017, at 2:53 PM, J. Landman Gay via use-livecode wrote: > > On 11/3/17 6:53 AM, Colin Holgate via use-livecode wrote: >> One interesting thing has come up with Android?s new immersive mode, for it to work you have to do the counterintuitive NOT hide the status bar. Apple also recommend not hiding the status bar on iPhone X. > > I'm not sure if it's new or just that Google officially supports it now. Samsung has implemented system-wide immersive mode on all their devices for years. It's confusing for newcomers. I had to explain what happened to more than one novice Android user when they got lost on a screen with no navigation controls. > > You're right the requirement isn't intuitive. That's pretty odd. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From hh at hyperhh.de Fri Nov 3 15:40:04 2017 From: hh at hyperhh.de (hh) Date: Fri, 3 Nov 2017 20:40:04 +0100 Subject: The coming of SVG Message-ID: <2E5950C6-053D-4DA2-A942-290A96C58AC5@hyperhh.de> Look forward to the first release of . For the name, what about "painting"? From MikeKerner at roadrunner.com Fri Nov 3 15:49:57 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Nov 2017 15:49:57 -0400 Subject: The coming of SVG In-Reply-To: <2E5950C6-053D-4DA2-A942-290A96C58AC5@hyperhh.de> References: <2E5950C6-053D-4DA2-A942-290A96C58AC5@hyperhh.de> Message-ID: At least historically, paintings were bitmapped, not vector (think MacPaint vs. MacDraw) On Fri, Nov 3, 2017 at 3:40 PM, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Look forward to the first release of . > > For the name, what about "painting"? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 stephen at barncard.com Fri Nov 3 16:06:27 2017 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 3 Nov 2017 13:06:27 -0700 Subject: The coming of SVG In-Reply-To: References: <2E5950C6-053D-4DA2-A942-290A96C58AC5@hyperhh.de> Message-ID: Universal Image Object uni-Image imagePak UIO imageBlob imagepack imageContainer quicktime... (oh, wait..) how about imageData ... has been used yes but base the 'thing' on that ...add the options -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Nov 3, 2017 at 12:49 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > At least historically, paintings were bitmapped, not vector (think MacPaint > vs. MacDraw) > > On Fri, Nov 3, 2017 at 3:40 PM, hh via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Look forward to the first release of . > > > > For the name, what about "painting"? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Nov 3 16:14:01 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 3 Nov 2017 15:14:01 -0500 Subject: The coming of SVG In-Reply-To: <2ccaa397000d47d144c71916118d995e@livecode.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> <04d8df77-6462-3ec2-bafd-86daf9f83abb@hyperactivesw.com> <391F37FB-BA3D-4CF3-8554-A855F2BA8A3C@all-auctions.com> <2ccaa397000d47d144c71916118d995e@livecode.com> Message-ID: <1874e5a7-0148-c7a8-6424-0848eb402c6a@hyperactivesw.com> On 11/3/17 1:41 PM, Mark Waddingham via use-livecode wrote: > As I said one of the goals of this control would eventually be to > replace the image object - so at some point (all being well) you will be > able to do: > > ? set the filename of "foo" to "foo.png" > ? set the filename of "foo" to "foo.gif" > ? set the filename of "foo" to "foo.jpg" > ? set the filename of "foo" to "foo.png" > ? ... > > Or > > ? set the content of "foo" to tPngData > ? ... > > At this point, describing the control as a 'vectorImage' might also seem > confusing. It's short for "thing that can handle vectors or images". VectorsOrImages -> Vector/Image -> VectorImage -> vi. We *will* get an abbreviation, right? ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Fri Nov 3 16:16:42 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 3 Nov 2017 16:16:42 -0400 Subject: The coming of SVG In-Reply-To: <1874e5a7-0148-c7a8-6424-0848eb402c6a@hyperactivesw.com> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> <04d8df77-6462-3ec2-bafd-86daf9f83abb@hyperactivesw.com> <391F37FB-BA3D-4CF3-8554-A855F2BA8A3C@all-auctions.com> <2ccaa397000d47d144c71916118d995e@livecode.com> <1874e5a7-0148-c7a8-6424-0848eb402c6a@hyperactivesw.com> Message-ID: Please, not "vi" On Fri, Nov 3, 2017 at 4:14 PM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/3/17 1:41 PM, Mark Waddingham via use-livecode wrote: > >> As I said one of the goals of this control would eventually be to replace >> the image object - so at some point (all being well) you will be able to do: >> >> set the filename of "foo" to "foo.png" >> set the filename of "foo" to "foo.gif" >> set the filename of "foo" to "foo.jpg" >> set the filename of "foo" to "foo.png" >> ... >> >> Or >> >> set the content of "foo" to tPngData >> ... >> >> At this point, describing the control as a 'vectorImage' might also seem >> confusing. >> > > > It's short for "thing that can handle vectors or images". VectorsOrImages > -> Vector/Image -> VectorImage -> vi. > > We *will* get an abbreviation, right? > > ;) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From hh at hyperhh.de Fri Nov 3 16:19:34 2017 From: hh at hyperhh.de (hh) Date: Fri, 3 Nov 2017 21:19:34 +0100 Subject: The coming of SVG Message-ID: > At least historically, paintings were bitmapped, > not vector (think MacPaint vs. MacDraw) Yes. And LCB "draws" an image and uses "OnPaint" for it's canvas. Probably we could call it "artwork"? (If all the promises realise it is indeed a software artwork!) From jacque at hyperactivesw.com Fri Nov 3 17:00:41 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 3 Nov 2017 16:00:41 -0500 Subject: The coming of SVG In-Reply-To: References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <5f8c6ec438043e0f2a29ccb57c47d131@livecode.com> <04d8df77-6462-3ec2-bafd-86daf9f83abb@hyperactivesw.com> <391F37FB-BA3D-4CF3-8554-A855F2BA8A3C@all-auctions.com> <2ccaa397000d47d144c71916118d995e@livecode.com> <1874e5a7-0148-c7a8-6424-0848eb402c6a@hyperactivesw.com> Message-ID: <06d0278e-ae72-e58a-739a-dc99417e9257@hyperactivesw.com> Oh you 'nix people. Okay, "vct" then. ;) Mark doesn't like abbreviations. We're at his mercy. On 11/3/17 3:16 PM, Mike Kerner via use-livecode wrote: > Please, not "vi" > > On Fri, Nov 3, 2017 at 4:14 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 11/3/17 1:41 PM, Mark Waddingham via use-livecode wrote: >> >>> As I said one of the goals of this control would eventually be to replace >>> the image object - so at some point (all being well) you will be able to do: >>> >>> set the filename of "foo" to "foo.png" >>> set the filename of "foo" to "foo.gif" >>> set the filename of "foo" to "foo.jpg" >>> set the filename of "foo" to "foo.png" >>> ... >>> >>> Or >>> >>> set the content of "foo" to tPngData >>> ... >>> >>> At this point, describing the control as a 'vectorImage' might also seem >>> confusing. >>> >> >> >> It's short for "thing that can handle vectors or images". VectorsOrImages >> -> Vector/Image -> VectorImage -> vi. >> >> We *will* get an abbreviation, right? >> >> ;) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Fri Nov 3 17:03:52 2017 From: jiml at netrin.com (Jim Lambert) Date: Fri, 3 Nov 2017 14:03:52 -0700 Subject: The coming of SVG In-Reply-To: References: Message-ID: <0D26D3C4-0DA7-402D-8034-7140605D759E@netrin.com> I like Mark's ?picture' because it is general. A picture can contain both vectors and bitmaps. Any word with ?icon? in it seems overly specific as does ?SVG?-anything; while ?vectorimage? implies an image made up of vectors. set the filename of pct 1 to ?blah blah.blah? Jim Lambert From ambassador at fourthworld.com Fri Nov 3 17:27:27 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 3 Nov 2017 14:27:27 -0700 Subject: The coming of SVG In-Reply-To: <0D26D3C4-0DA7-402D-8034-7140605D759E@netrin.com> References: <0D26D3C4-0DA7-402D-8034-7140605D759E@netrin.com> Message-ID: <04b8c2a3-832a-6abe-8b3a-e5816966dc16@fourthworld.com> Jim Lambert wrote: > I like Mark's ?picture' because it is general. A picture can contain > both vectors and bitmaps. Seconded. When I first read Mark's post I was wary of "picture", but on further reflection I remembered Apple's PICT file/data type, distinct from PNTG as the latter was exclusively bitmap data but PICT could contain a mix of vectors and bitmaps. If it's good enough for Apple, it's good enough for me. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Fri Nov 3 18:01:50 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Nov 2017 22:01:50 +0000 Subject: The coming of SVG In-Reply-To: <0FEDC6AF-41D5-499C-85FE-44D85D3054C3@major-k.de> References: <9b4b2d74e230e7a8c83716d9447f7419@livecode.com> <0FEDC6AF-41D5-499C-85FE-44D85D3054C3@major-k.de> Message-ID: <4B78A702-2F6E-482E-B093-27834FBB4F95@iotecdigital.com> Actually, any button using an image/icon should have a scale and alternately a position, like when you set a picture for a web avatar. But that may be asking too much. A scale percentage would be great! I usually import the image, set it's scale, lock it's location, and then the buttons that use it will reflect those settings. It would be easier if the button had an icon scale option. Bob S > On Nov 3, 2017, at 10:51 , Klaus major-k via use-livecode wrote: > > When using an image as a button icon, the size of the image in button = size of the image with that ID. > Will this behaviour be the same with SVG "icons"? Or will we be able to display the same SVG in different > buttons at different sizes? Know what I mean? > > If that is possible, then we would need another property for buttons (or the SVGs?) to be able to scale the > icon inside of the button. Something to consider, I think. :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de From lan.kc.macmail at gmail.com Fri Nov 3 19:19:08 2017 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 4 Nov 2017 10:19:08 +1100 Subject: The coming of SVG In-Reply-To: References: Message-ID: On Sat, Nov 4, 2017 at 7:19 AM, hh via use-livecode wrote: > > Probably we could call it "artwork"? > (If all the promises realise it is indeed a software artwork!) Beat me to it. But considering LC takes the hard work out of cross platform programing. And considering Jacques comments about Mark not being fond of abbreviations. Lets just take the work out of artwork and call it 'art';-) From alex at tweedly.net Fri Nov 3 19:49:24 2017 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 3 Nov 2017 23:49:24 +0000 Subject: Markdown ultra-lite Message-ID: <68e38871-9fac-3169-4219-fe2491190081@tweedly.net> I wanted to find a LC implementation of markdown, so I could easily use markdown files on a website, and have them be converted to html for output. I really wanted it completely in LC, so I could just include it without worrying about installing, or checking for, any other languages, scripts, etc. But I could find one, so I thought I might try implementing it myself. Didn't take long to find a current version in Python (easier for me to convert than C or Perl :-) - but heavens there's a lot of code there !! And indeed when you read a description (try http://spec.commonmark.org/0.28/ for example) you can easily see why it's complicated to do? full implementation. And, sadly, many of those complications could have been avoided, but weren't due to historical misfortune :-)???? So I have done an ultra-light version? .... Restrictions and limitations: ----------------------- Links are only 'inline', not 'reference'. ? - the whole inline link must be on a single input line. ? - no autolink, HTML Tags or codespans to confuse them :-) ? - no checks on brackets within the link text - simple cases should just work, others won't Images are inline only, not referenced. ?- whole image spec must be on a single input line ?- doesn't do anything to deal with links within image description ???????? (mostly because I couldn't figure out what this part of the spec was trying to allow :-) NB - because images are done before links, it is possible to handle the common case where the inline image is withing the linktext - i.e. you can click on the image to go to the other URL, e.g. ?? Here is a [picture ![some alt text](x.png) used within link](/images/bigx.png) Only one style of header is handled - using multiple '#'s rather than pseudo-underline. Emphasis, and everything else, isn't done - and may or may not be depending on whether I decide I car about it. ------------------------- Additions and oddities : 1. If the last char in the URL is a '*' then it becomes a "new tab" link (i.e. TARGET='_blank'). 2. I added special handling for facebook links - see the code In case anyone else finds it useful, here's the code .... I'll figure out Github etc. and put it up there some day - but for now it's short enough I'm just going to include it here. It uses a couple of utility functions which are included. -- Alex. local sSubstitutions function markdownToHTML pMD ?? put empty into sSubstitutions ?? repeat for each line L in pMD ????? -- first extract any image specs ????? put L into LL ????? put 1 into N ????? repeat forever ???????? if decompose2(LL, "![", "](", p1, p2, p3) then ??????????? if decompose1(p3, ")", p3a, p4) then ?????????????? put "" & p2 & "" into sSubstitutions[N] ?????????????? put p1 & numtochar(N) & p4 into LL ?????????????? add 1 to N ?????????????? next repeat ??????????? end if ???????? end if ???????? exit repeat ????? end repeat ????? -- and then do any links ????? repeat forever ???????? if decompose2(LL, "[", "](", p1, p2, p3) then ??????????? if decompose1(p3, ")", p3a, p4) then ?????????????? if char -1 of p3a = "*" then ????????????????? put "' TARGET='_blank" into char -1 of p3a ?????????????? end if ?????????????? if p2 = "fb" then ????????????????? put p1 & "" & "" & p4 into LL ?????????????? else ????????????????? put p1 & "" & p2 & "" & p4 into LL ?????????????? end if ?????????????? next repeat ??????????? end if ???????? end if ???????? exit repeat ????? end repeat ????? repeat with i = 1 to N ???????? replace numtochar(i) with sSubstitutions[i] in LL ????? end repeat ????? if LL is empty then put L into LL ????? if LL is empty then ???????? put CR after tResult ????? else ???????? put word 1 of LL into W ???????? replace "#" with empty in W ???????? if W is empty then ??????????? put the number of chars in word 1 of LL into N ??????????? put "" & word 2 to -1 of LL & "" into LL ???????? end if ???????? put LL &CR after tResult ????? end if ????? --????? if NOT (tResult ends with CR) then exit repeat ????? --????? delete char -1 of tResult ?? end repeat ?? replace (numtochar(13) & numtochar(10)) with CR in tResult ?? replace (CR & CR &CR) with (CR & "


" & CR) in tResult ?? replace (CR & CR) with (CR & "

") in tResult ?? return tResult end markdownToHTML function decompose1 pIn, pSep1, @p1, @p2 ?? -- if the input string (pIn) contains the delimiter string (pSep1) then ?? --??? return TRUE and set the result variables to the parts 'before' and 'after' the delimiter ?? -- else ?? --??? return FALSE, and leave p1, p2 unchanged ? put offset(pSep1, pIn) into t1 ? if t1 > 0 then ??? put char 1 to t1-1 of pIn into p1 ??? put char (t1+the number of chars in pSep1) to -1 of pIn into p2 ??? return TRUE ? end if ? return FALSE end decompose1 function decompose2 pIn, pSep1, pSep2, @p1, @p2, @p3 ?? -- if the input string (pIn) contains the (non-overlapping) delimiter strings (pSep1, pSep2) then ?? --??? return TRUE and set the result variables to the parts 'before', 'between' and 'after' the delimiters ?? -- else ?? --??? return FALSE, and leave p1, p2, p3 unchanged ?? put offset(pSep1, pIn) into t1 ?? if t1 > 0 then ????? put char t1+the number of chars in pSep1 to -1 of pIn into tIn ????? put offset(pSep2, tIn) into t2 ????? if t2 > 0 then ???????? put char 1 to t1-1 of pIn into p1 ???????? put char 1 to t2-1 of tIn into p2 ???????? put char t2+the number of chars in pSep2 to -1 of tIn into p3 ???????? return TRUE ????? end if ?? end if ?? return FALSE end decompose2 From capellan2000 at gmail.com Fri Nov 3 22:33:50 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 3 Nov 2017 21:33:50 -0500 Subject: The coming of SVG Message-ID: Jim Lambert wrote: > I like Mark's ?picture' because it is general. A picture can contain > both vectors and bitmaps. Richard Gaskin wrote: > Seconded. When I first read Mark's post I was wary of "picture", > but on further reflection I remembered Apple's PICT file/data type, > distinct from PNTG as the latter was exclusively bitmap data but > PICT could contain a mix of vectors and bitmaps. > If it's good enough for Apple, it's good enough for me. Count my vote, too. :-) By the way, this new control type, Could allow easier implementation of image libraries, where you store a single instance of a bitmap or graphic and then LiveCode engine just rebuild your picture from the original data applying all transformation or changes applied to the new instance of this same picture? That is the way in which Xara and other programs manages vector symbols and bitmap images: https://www.youtube.com/watch?v=BTuTe6LG6cA Al From jacque at hyperactivesw.com Fri Nov 3 23:44:21 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 3 Nov 2017 22:44:21 -0500 Subject: Device implementation problems In-Reply-To: <9F4A8AD1-87C3-42F3-BDD9-6D93D24244D3@mindcrea.com> References: <9F4A8AD1-87C3-42F3-BDD9-6D93D24244D3@mindcrea.com> Message-ID: On 11/3/17 12:55 AM, Pyyhti? Christer via use-livecode wrote: > When I issue the "go" and let the script run, many of the objects won't get done completely, for example card background, button or field colouring gets only partially done. However, if I either add "lock screen" before the "go" statement, or issue "wait 100 milliSeconds" after the "go", everything is OK. It almost sounds like LC has finished issuing all the commands to redraw the screen but the graphics card or the CPU on the device is slow to respond. So LC thinks it is finished and moves on to the next line of the script while the hardware is still catching up. I'm not even sure that's possible but that's what it sounds like. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Nov 4 02:34:32 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 3 Nov 2017 23:34:32 -0700 Subject: The coming of SVG In-Reply-To: References: Message-ID: <2200fe14-6398-62cd-b0e0-a74e839609fe@fourthworld.com> Alejandro Tejada wrote: > By the way, this new control type, Could allow easier implementation > of image libraries, where you store a single instance of a bitmap > or graphic and then LiveCode engine just rebuild your picture > from the original data applying all transformation or changes > applied to the new instance of this same picture? > > That is the way in which Xara and other programs manages > vector symbols and bitmap images: > > https://www.youtube.com/watch?v=BTuTe6LG6cA Wonderful. When I was a kid we called that SuperPaint (ah, the wonders of Silicon Beach Software). Nice to see the spirit alive and well.... -- 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 christer at mindcrea.com Sat Nov 4 04:31:55 2017 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Sat, 4 Nov 2017 10:31:55 +0200 Subject: Device implementation problems Message-ID: That is true. However, just adding the single command "lock screen" before the "go card xyz" removes the problem. I have tried to understand what could be "illegal" in the target device point of view in the script code following, but so far haven't figured it out. Actually the script runs until the end, and does not exit. The process this happens is rescaling all the cars of the stack, from figuring out the screenRect and then calculating how everything would fit on the virtual paper in the optimal way. If the script is allowed to run without locking the screen, filling the background and fields is completed only partially, but simultaneously setting the loc seems to work ok. What I observe is that the colouring of the background & the fill of those objects stops randomly as the next object size setting starts. I do hope I will find out a typo, which could be referring to another object - but why then lock screen or wait for x milliSeconds would remove the problem? When you say exit to the top, wouldn't it mean that the stack script execution stops? christer I've seen this happen when something goes wrong in the code and in a standalone that can fail silently. If it does, the engine exits to top and that is why things get left undone. Bob S > On Nov 2, 2017, at 22:55 , Pyyhti? Christer via use-livecode > wrote: > > A few days ago I raised the question on how the device behaviour differs from how it is in the IDE environment. The question posed was if there is a command > > go card "xyz" > > and the script continues to run immediately, would there be interference in terms of "getting the go done". > > Interpreting a couple of answers, thank you, I understood that it would not cause problems. > > However, there can be interference, and I could prove it and repeat it. As follows. > > - The target is Android device (I am using an old Samsung Galaxy S4 thanks to its screen pixel size (and despite of having dropped it both on concrete and in a lake quite a few times still does great job) > > - In the app there is a virtual screen (card is larger then the # of pixels on the physical screen), and there are about 100 objects on it. The card is resized based on the screenRect parameters in several sets of different objects, the amount of code running through is maybe > 1000 lines of LC. > > - When I issue the "go" and let the script run, many of the objects won't get done completely, for example card background, button or field colouring gets only partially done. However, if I either add "lock screen" before the "go" statement, or issue "wait 100 milliSeconds" after the "go", everything is OK. And all of this can be repeated. The Android device is kept off other duties, so that it is not getting vast amount of interruts. > > Now, the above method helps me to solve the problem, but would there be any other methods to avoid such an implementation issues? > > Anyone else had similar experience? From christer at mindcrea.com Sat Nov 4 04:48:51 2017 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Sat, 4 Nov 2017 10:48:51 +0200 Subject: Device implementation problems Message-ID: <412DD31C-0184-4F32-A07E-FF0BFA0DF856@mindcrea.com> Jacqueline, this something I suspect as well. As there are a zillion different Android devices with different performance capabilities one has to use the belt and suspenders. In January I will be trying with iOS as well, and see if there is a difference. In the longer term a solution could be an extension to LC, "go to card xyz with / without waiting"; or making a docuentative recommendation being aware this possible issue. And it is not yet excluded that I will find a typo or some illegal way of coding in my app. christer Message: 22 Date: Fri, 3 Nov 2017 22:44:21 -0500 From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Device implementation problems Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed On 11/3/17 12:55 AM, Pyyhti? Christer via use-livecode wrote: > When I issue the "go" and let the script run, many of the objects won't get done completely, for example card background, button or field colouring gets only partially done. However, if I either add "lock screen" before the "go" statement, or issue "wait 100 milliSeconds" after the "go", everything is OK. It almost sounds like LC has finished issuing all the commands to redraw the screen but the graphics card or the CPU on the device is slow to respond. So LC thinks it is finished and moves on to the next line of the script while the hardware is still catching up. I'm not even sure that's possible but that's what it sounds like. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sat Nov 4 08:33:30 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 4 Nov 2017 08:33:30 -0400 Subject: The coming of SVG In-Reply-To: <2200fe14-6398-62cd-b0e0-a74e839609fe@fourthworld.com> References: <2200fe14-6398-62cd-b0e0-a74e839609fe@fourthworld.com> Message-ID: The issue with art is that anything that I do will automatically be relabeled "areYouKiddingThatIsNotArt", and abbreviated "thatIsSoNotArt", with a synonym "hahahahahahahahahahahahahahahahahahaha" On Sat, Nov 4, 2017 at 2:34 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Alejandro Tejada wrote: > > > By the way, this new control type, Could allow easier implementation > > of image libraries, where you store a single instance of a bitmap > > or graphic and then LiveCode engine just rebuild your picture > > from the original data applying all transformation or changes > > applied to the new instance of this same picture? > > > > That is the way in which Xara and other programs manages > > vector symbols and bitmap images: > > > > https://www.youtube.com/watch?v=BTuTe6LG6cA > > Wonderful. > > When I was a kid we called that SuperPaint (ah, the wonders of Silicon > Beach Software). > > Nice to see the spirit alive and well.... > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Sat Nov 4 08:46:42 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 4 Nov 2017 14:46:42 +0200 Subject: The coming of SVG In-Reply-To: References: <2200fe14-6398-62cd-b0e0-a74e839609fe@fourthworld.com> Message-ID: Humph: when I was 32 and using a Mac Performa 475 SuperPaint was a "not so super" program for doing things that by today's standards look largely like a complete and utter waste of time. I don't know what the new "SVG" thang should called, and I am slobbering in excitement at the thought of it, but, Please nothing with "paint" in it, or a comparative or superlative adjective: "Bestest Ever Paint" because anything with a comparative or superlative in its name is going to be superseded sooner or later, and "paint" . . . ----------- Just back from a wonderful 3 day break hill-walking with my wife, [anyone thinking of an inexpensive hill-walking trip in some stunning scenery (Bulgarian mountains) contact me] and slightly "murh" as it is the end of a holiday, and I find the news about the new SVG thang in my in-box: Wow; fantastic news. Richmond. On 11/4/17 2:33 pm, Mike Kerner via use-livecode wrote: > The issue with art is that anything that I do will automatically be > relabeled "areYouKiddingThatIsNotArt", and abbreviated "thatIsSoNotArt", > with a synonym "hahahahahahahahahahahahahahahahahahaha" > > On Sat, Nov 4, 2017 at 2:34 AM, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Alejandro Tejada wrote: >> >>> By the way, this new control type, Could allow easier implementation >>> of image libraries, where you store a single instance of a bitmap >>> or graphic and then LiveCode engine just rebuild your picture >>> from the original data applying all transformation or changes >>> applied to the new instance of this same picture? >>> >>> That is the way in which Xara and other programs manages >>> vector symbols and bitmap images: >>> >>> https://www.youtube.com/watch?v=BTuTe6LG6cA >> Wonderful. >> >> When I was a kid we called that SuperPaint (ah, the wonders of Silicon >> Beach Software). >> >> Nice to see the spirit alive and well.... >> >> -- >> 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 james at thehales.id.au Sat Nov 4 09:17:24 2017 From: james at thehales.id.au (James At The Hale) Date: Sun, 5 Nov 2017 00:17:24 +1100 Subject: The coming of SVG Message-ID: <9A728174-35B2-4A7F-B1C0-053265301737@thehales.id.au> Of the alternatives presented ?picture? gets my vote. From james at thehales.id.au Sat Nov 4 09:21:41 2017 From: james at thehales.id.au (James At The Hale) Date: Sun, 5 Nov 2017 00:21:41 +1100 Subject: Markdown ultra-lite Message-ID: <813E29BB-9554-45E5-A712-452A3F102B4E@thehales.id.au> You are aware of mergMarkdownToXHTML function from the mergmarkdown library, no? When I was writing the code to format the description part of the docs (for the Dash docset stack) I was reminded by Monte (I think) of this. It works really well. James From alex at tweedly.net Sat Nov 4 10:39:30 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 4 Nov 2017 14:39:30 +0000 Subject: Markdown ultra-lite In-Reply-To: <813E29BB-9554-45E5-A712-452A3F102B4E@thehales.id.au> References: <813E29BB-9554-45E5-A712-452A3F102B4E@thehales.id.au> Message-ID: <87c2f075-90c0-ec4e-56a2-e148dc0096be@tweedly.net> On 04/11/2017 13:21, James At The Hale via use-livecode wrote: > You are aware of mergMarkdownToXHTML function from the mergmarkdown library, no? In a word: "No." :-( In a sentence:? No, of course not; if I had known Monte had already done this in a thorough way, I wouldn't have wasted (*) a couple of hours doing the small, easy part of it I did. In a paragraph: No, had no idea. I did search both via Google (found references to using shell, didn't see one to margMarkdown, though that may be might due to my short attention span). and in the dictionary (which should have found it, so I suspect I searched for "narkdown" or some similar stupidity. (*)? I read about Markdown; it was interesting; I learned something - no hours were truly "wasted" But? -? Thank you very much for pointing me in the right direction. Alex. > When I was writing the code to format the description part of the docs (for the Dash docset stack) I was reminded by Monte (I think) of this. > > It works really well. > > James > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From preid at reidit.co.uk Sat Nov 4 13:12:20 2017 From: preid at reidit.co.uk (Peter Reid) Date: Sat, 4 Nov 2017 17:12:20 +0000 Subject: mobilePlaySoundOnChannel bug? Message-ID: <8B546185-736D-457C-982E-87566E3D1EB2@reidit.co.uk> I'm using LC 9.0.0-dp10 on a Mac to develop an app for an Android/Amazon Fire 7 tablet (FireOS 5.1.x). As the app launches it prompts the user to select a set of files from the microSD card plugged into the tablet. The selected set of files are copied to the specialFolderPath("documents") area. Some of these files are short sound clips that are played using the mobilePlaySoundOnChannel command. As and when required the user can trigger the initial prompt to select a different set of files from the microSD card. If the user repeatedly chooses different sets of files, the app is OK as long as the mobilePlaySoundOnChannel is not run. However, any use of this command leads to a filing system error! If I try to create new folders in the app having run the mobilePlaySoundOnChannel command, I get an error where the creation date of the new folder is January 1970 and I can't create files within such a folder. I end up having to close and re-open the app for it to work again. With the mobilePlaySoundOnChannel command commented-out, the app runs fine (apart from the missing sound), with the user able to change sets of files as often as they want. With the mobilePlaySoundOnChannel command active, the app is OK until the user changes the set of files. From then onwards 1 of the key folders has the above problem. The files/folders are as follows: set-> backups-> filea.html fileb.html filec.html captures-> voice1.wav voice2.wav media-> filea.html fileb.html filec.html pics-> pic1.jpg pic2.jpg sounds-> clip1.wav clip2.wav The only folder affected by the error is "sounds", all the other folders and files are created OK (as copies from the SD card). I've tried renaming "sounds" to "audio" and "audioClips", but it's always this folder with WAV files in it. I've spent many hours chasing this problem, thinking it was an Android filing system issue. Only after thinking differently did I investigate and discover an absolute reproducible association with the mobilePlaySoundOnChannel command! I found a previous bug report that may be relevant, which implies the problem was in LC 8.x.x and has been fixed. So I thought I'd try my app with LC 8.1.7 STABLE. Unfortunately my app requires an add-on developed by Ali LLoyd - Android Audio Recording which I can't get to compile within LC 8.1.7!! The specific compilation errors are: 5:03 PM: Error: on line 25 (): 5:03 PM: Error: on line 27 (): 5:03 PM: Error: /Users/peter/Documents/Android Audio Recordings/Android Audio Recordings v3/androidaudiorecorder.lcb:25:1: error: Unable to find imported module 'com.livecode.java' /Users/peter/Documents/Android Audio Recordings/Android Audio Recordings v3/androidaudiorecorder.lcb:27:7: error: Parsing error: syntax error and I've no idea how to fix this!? So, please can anyone either advise me how to work around the apparent mobilePlaySoundOnChannel command bug in LC 9 or advise me how I can fix the compilation error to try my app with LC 8.1.7? Thanks for any help and thanks to others for related help given previously - I intend to summarise the collected solutions once I've got past this current show stopper. Peter -- Peter Reid Loughborough, UK From jacque at hyperactivesw.com Sat Nov 4 14:34:32 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Nov 2017 13:34:32 -0500 Subject: mobilePlaySoundOnChannel bug? In-Reply-To: <8B546185-736D-457C-982E-87566E3D1EB2@reidit.co.uk> References: <8B546185-736D-457C-982E-87566E3D1EB2@reidit.co.uk> Message-ID: <10f9f8f0-2bcd-258e-847b-4ce5ba6aba54@hyperactivesw.com> On 11/4/17 12:12 PM, Peter Reid via use-livecode wrote: > So, please can anyone either advise me how to work around the apparent mobilePlaySoundOnChannel command bug in LC 9 or advise me how I can fix the compilation error to try my app with LC 8.1.7? Just a guess, but you could try playing the new set of sounds on a different channel with a new name. The dictionary also says that passing an empty parameter to the command will clear out the current channel so you might try that too before playing the new set. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at hyperhh.de Sat Nov 4 19:25:43 2017 From: hh at hyperhh.de (hh) Date: Sun, 5 Nov 2017 00:25:43 +0100 Subject: The coming of SVG Message-ID: What about: wad (also honouring the main author of the new "container") on mouseUp if there is no wad "w_1" then create wad "w_1" put image "img_1" into wad "w_0" put graphic "grc_1" onto back of wad "w_1" put svgicon "svg_1" onto front of wad "w_1" end if end mouseUp From Bernd.Niggemann at uni-wh.de Sat Nov 4 19:59:39 2017 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sat, 4 Nov 2017 23:59:39 +0000 Subject: The coming of SVG Message-ID: <06B62926-9C6B-46D8-8ECA-A3CC13AE0D9B@uni-wh.de> for me "Picture" is a bit confusing. We have "Image" for bitmaps, "Graphic" for vector graphics of a certain type and now we might have "Picture" for all kinds of elements. However "Picture" is easily confused with "Image" or "Graphic" for a newcomer. The forum is full of synonyms that take a graphic for a bitmap and an image for a vector graphic. Why not call the new widget something like "Blackboard"? Or something like that. It conveys the notion that you can put all sort of things onto a blackboard, regardless of their internal representation. It alludes to the container for those things not the result of what is displayed. I like "Canvas" from LCB but unfortunately that is already taken. It would have been my favorite. Logically "Image", "Graphic" and "Picture" are all elements of a class of "visuals", but now "Image" and "Graphic" become elements of the class "Picture". It is a bit fuzzy what the difference in logical hierarchy is. A new term could prevent a possible confusion that "Picture" is a new logical class with said elements but at the same time a picture could be considered a member of class "Picture". Kind regards Bernd From richmondmathewson at gmail.com Sun Nov 5 03:52:41 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 5 Nov 2017 10:52:41 +0200 Subject: The coming of SVG In-Reply-To: <06B62926-9C6B-46D8-8ECA-A3CC13AE0D9B@uni-wh.de> References: <06B62926-9C6B-46D8-8ECA-A3CC13AE0D9B@uni-wh.de> Message-ID: Frame Richmond. On 11/5/17 1:59 am, Niggemann, Bernd via use-livecode wrote: > for me "Picture" is a bit confusing. > > We have "Image" for bitmaps, "Graphic" for vector graphics of a certain type and now we might have "Picture" for all kinds of elements. > > However "Picture" is easily confused with "Image" or "Graphic" for a newcomer. The forum is full of synonyms that take a graphic for a bitmap and an image for a vector graphic. > > Why not call the new widget something like "Blackboard"? Or something like that. It conveys the notion that you can put all sort of things onto a blackboard, regardless of their internal representation. It alludes to the container for those things not the result of what is displayed. > > I like "Canvas" from LCB but unfortunately that is already taken. It would have been my favorite. > > Logically "Image", "Graphic" and "Picture" are all elements of a class of "visuals", but now "Image" and "Graphic" become elements of the class "Picture". > > It is a bit fuzzy what the difference in logical hierarchy is. A new term could prevent a possible confusion that "Picture" is a new logical class with said elements but at the same time a picture could be considered a member of class "Picture". > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Sun Nov 5 04:17:23 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Sun, 05 Nov 2017 09:17:23 +0000 Subject: The coming of SVG In-Reply-To: References: <06B62926-9C6B-46D8-8ECA-A3CC13AE0D9B@uni-wh.de> Message-ID: I was going for PICTURE but now I think Richmond?s FRAME is better. It takes into account the newbies, encompasses the same thought process as Bernd?s BLACKBOARD and will stop Jacque killing Mark when there is no abbreviation, because BLACK is taken. Lagi On Sun, 5 Nov 2017 at 08:53, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Frame > > Richmond. > > On 11/5/17 1:59 am, Niggemann, Bernd via use-livecode wrote: > > for me "Picture" is a bit confusing. > > > > We have "Image" for bitmaps, "Graphic" for vector graphics of a certain > type and now we might have "Picture" for all kinds of elements. > > > > However "Picture" is easily confused with "Image" or "Graphic" for a > newcomer. The forum is full of synonyms that take a graphic for a bitmap > and an image for a vector graphic. > > > > Why not call the new widget something like "Blackboard"? Or something > like that. It conveys the notion that you can put all sort of things onto a > blackboard, regardless of their internal representation. It alludes to the > container for those things not the result of what is displayed. > > > > I like "Canvas" from LCB but unfortunately that is already taken. It > would have been my favorite. > > > > Logically "Image", "Graphic" and "Picture" are all elements of a class > of "visuals", but now "Image" and "Graphic" become elements of the class > "Picture". > > > > It is a bit fuzzy what the difference in logical hierarchy is. A new > term could prevent a possible confusion that "Picture" is a new logical > class with said elements but at the same time a picture could be considered > a member of class "Picture". > > > > Kind regards > > Bernd > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Sun Nov 5 07:19:01 2017 From: mark at livecode.com (Mark Waddingham) Date: Sun, 05 Nov 2017 13:19:01 +0100 Subject: The coming of SVG In-Reply-To: <06B62926-9C6B-46D8-8ECA-A3CC13AE0D9B@uni-wh.de> References: <06B62926-9C6B-46D8-8ECA-A3CC13AE0D9B@uni-wh.de> Message-ID: <76a793dea7c29c237232f4c92502a840@livecode.com> On 2017-11-05 00:59, Niggemann, Bernd via use-livecode wrote: > I like "Canvas" from LCB but unfortunately that is already taken. It > would have been my favorite. Hmmm - actually, why not 'canvas'? Certainly there is a Canvas type in LiveCode Builder, but the 'canvas' idea hasn't been used in LiveCode Script. I'd be wary if the two notions - i.e. the Canvas type in LCB and the 'SomethingLikePicture' object in LCS - were unrelated, but they aren't. After all it is the Canvas type in LCB which provides the actual ability to render the commands which come out of processing an SVG file - the mapping from resulting attributed element (e.g. rect with paint and stroke attributes) is almost a 1-1 mapping from notion to canvas command and the plan is to make this completely 1-1. So, we can view the LCB Canvas Type as being a 'rasterization-only' target for SVG commands, whereas the LCS canvas object essentially records the commands and plays them back on demand. In fact, 'canvas' perhaps describes what the proposed object will actually be - it will allow you (from LCS) to describe a sequence of 2d vector graphics operations, which are then rendered on demand - essentially a deferred version of the LCB Canvas Type (essentially the 'canvas' script object would be a high-level wrapper around the LCB canvas type). Certainly the idea of being able to specify an image, or vector graphics, or a single graphic type to be drawn on a 'canvas' perhaps makes more sense than on a 'picture' (or other image-like synonyms). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From james at thehales.id.au Sun Nov 5 09:01:09 2017 From: james at thehales.id.au (James At The Hale) Date: Mon, 6 Nov 2017 01:01:09 +1100 Subject: The coming of SVG Message-ID: <5F330B91-EBDA-41FC-96D0-5B5C17899113@thehales.id.au> Between Bernd?s post and Richard?s I too thought of frame but then discounted (reluctantly) as it has a specific meaning in html which could also be confusing. James From hh at hyperhh.de Sun Nov 5 09:15:01 2017 From: hh at hyperhh.de (hh) Date: Sun, 5 Nov 2017 15:15:01 +0100 Subject: The coming of SVG Message-ID: Until now I saw it like that: , and are HTML5 tags. And and are different concepts. Roughly is more an XML-based vector graphics format, is more an API for drawing on a bitmap surface. And is a container for an image at different sizes. [And, as James says,
" > ?> fails with file "/home/ua886128/public_html/tweedly.co.uk/tryme.lc" row 3, col 18: Chunk: can't get source string row 3, col 18: Chunk: error in chunk expression ..... when the POSTed data includes a JPG file. While google'ing around for that, I ran into the Livecode lesson on this topic http://lessons.livecode.com/m/4070/l/40708-how-to-upload-a-file-with-livecode-server which uses the (newer) $_FILES array which does the complex parsing of the file info from the form - a big improvement !! And indeed, the example there works does work. BUT - it seems that although it correctly parses out the file information, it loses any other POSTed values. So if your form consists *ONLY* of one or more files to upload - you're good. But if you pass any other values (e.g. folder you want it to go to, meta-info, passwords, etc.) that is all lost. Which basically means it's unusable for any real scenario. I hear you asking - which version ??? :-) Well, it's on my on-rev account - so it's version 7.1.0 !! - pretty old and out of date. Off to check the on-rev documents - which claim that the default version will be the latest released version. Nope! Another google - how do I use a different version on on-rev ? Well, there's a "lesson" for that too ( http://lessons.livecode.com/m/4070/l/41105-how-do-i-choose-which-livecode-server-engine-to-use-with-on-rev ) Summary of Answer : use .htaccess, and specify the exact version I wish to use; engines are stored in /cgi-bin/livecode-server- Hmmm - which ones are available ? Turns out that /cgi-bin is read-protected (probably sensibly :-) - which means there is no way to find out what ones there are. I tried a few guesses, but didn't stumble into one - so unable to use on-rev. Fortunately, I have another account somewhere else :-) So - moved everything over to my HostM account (running 8.1.7), and with this later version the $_FILES and $_POST arrays are both properly available. Hurrah !?? ($_POST_RAW still causes complete failure). So - only 3 days later, I have finally got past a problem that shouldn't even have existed - just occasionally I with I'd stuck with PHP :-) But - still need to solve the problem of my database interactions - which I want to do through revIgniter, rather than through my little utility script for doing the actual upload. No problem - just take the rest of the data, stick in a JSON-encoded cookie, and redirect back to the revIgniter script on success. That's when I ran into the problem that aArrayToJSON() isn't (automatically) available on LCServer. Fortunately Devin has given me an answer to that (Thanks!!) so I should be back on track in another hour or two ... End of rant. Thanks for listening :-) Alex. From matthias_livecode_150811 at m-r-d.de Sat Nov 18 06:28:33 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 18 Nov 2017 12:28:33 +0100 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> Message-ID: Alex, you are not alone. I noticed something similar with LcServer 7.10 on the On-Rev server Tio. $_post arrays where empty when data was formatted with libUrlMultipartFormData, while $_post_raw showed the content. So it was not possible to post larger binary data to LcServer. I send a support request already in April this year informing the On-Rev team that the installed LcServer version is not able to handle http posts when the data was formatted with libUrlMultipartFormData. I decided to install my own version of LcServer (in my case LC9-dp6 at that time) using the .htaccess method, which solved my problem immediately. The only caveat: If you have several add-on domains and each domain uses its own root folder under public_html, e.g. public_html/domain1 public_html/domain2 or whatever the folder names are, you have to install your custom LcServer for each domain separately into the cgi-bin folder of each of that root folders public_html/domain1/cgi-bin public_html/domain2/cgi-bin If all of your domains use public_html as the root folder then just install it into public_html/cgi-bin My .htaccess looks like this, in case you are interested. This version work also with HostM accounts, while the htaccess example in the LcServer lesson doesn?t. # RewriteEngine on # this suPHP? btw allows to set php settings using a php.ini file which is stored in public_html folder # it is not needed on HostM accounts, because PHP settings can set in cPanel there. suPHP_ConfigPath /home/YOURACCOUNTNAME/public_html/ order allow,deny deny from all Options +ExecCGI # path the the LcServer executable Action custom-livecode /cgi-bin/livecode-server-9dp6/livecode-server SetHandler custom-livecode # The permissions of the folders and the LcServer executable are set to 755. The driver and external files are set to 644. Maybe this will ?calm" you down a little bit. ;) Have a nice weekend. Just forgot: Would you please be so kind and share the information which library does contain the ArrayToJSON() function? Did you already try it out using it on LcServer? Regards, Matthias > Am 18.11.2017 um 00:53 schrieb Alex Tweedly via use-livecode >: > > This is a bit of a rant, so if you're not in the mood, switch off now :-) > > I will (when I've calmed down and organised myself :-) submit bug reports. > > So, normally, I don't have much time for my favourite hobby of scripting in LC, which lately has been mostly LCServer for a couple of simple websites I have built for friends. But this week I had lots of time set aside, because I've (finally) convinced one of those website owners to do her own maintenance / updating of the site. > > The site has many images - which I have typically put into my desktop copy of the site, tried them out - and then synch'ed those up to the real site. However, for the site owner to upload photos, I needed to revive my script for uploading files (specifically images), which hasn't been used in a while. And indeed, may have been played around with in the meantime - so I can't be sure that this is exactly a "once-working" script. > > It was written a long time ago - back before there was any built-in way to parse multi-part form content - so I did my own parsing of the POSTed data (actually, I think someone else did it first, and I copied that :-) > > However - that no longer works. Using $_POST_RAW fails when the uploaded file is a jpg image - it works ok for text file, simple PNGs etc. - but fails dramatically when the file is proper binary. Test script of > >> > set the errormode to inline >> put "raw has" && the number of bytes in $_POST_RAW && "bytes
" >> ?> > fails with > > file "/home/ua886128/public_html/tweedly.co.uk/tryme.lc " > row 3, col 18: Chunk: can't get source string > row 3, col 18: Chunk: error in chunk expression > ..... > > when the POSTed data includes a JPG file. > > > While google'ing around for that, I ran into the Livecode lesson on this topic > > http://lessons.livecode.com/m/4070/l/40708-how-to-upload-a-file-with-livecode-server > > which uses the (newer) $_FILES array which does the complex parsing of the file info from the form - a big improvement !! And indeed, the example there works does work. BUT - it seems that although it correctly parses out the file information, it loses any other POSTed values. So if your form consists *ONLY* of one or more files to upload - you're good. But if you pass any other values (e.g. folder you want it to go to, meta-info, passwords, etc.) that is all lost. Which basically means it's unusable for any real scenario. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Nov 18 07:36:28 2017 From: rabit at revigniter.com (Ralf Bitter) Date: Sat, 18 Nov 2017 13:36:28 +0100 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> Message-ID: Hi Alex, you should find the JSON extension in: Tools/Extensions/com.livecode.library.json/module.lcm If you use revIgniter create a folder ?extensions? in your application folder and place the ?com.livecode.library.json? folder including the ?module.lcm? file there. Then load the extension in your controller using: rigLoadExtension "com.livecode.library.json" and you are done, see: https://revigniter.com/userGuide/general/extensions.html Ralf > On 18. Nov 2017, at 00:53, Alex Tweedly via use-livecode wrote: > > But - still need to solve the problem of my database interactions - which I want to do through revIgniter, rather than through my little utility script for doing the actual upload. No problem - just take the rest of the data, stick in a JSON-encoded cookie, and redirect back to the revIgniter script on success. > > That's when I ran into the problem that aArrayToJSON() isn't (automatically) available on LCServer. Fortunately Devin has given me an answer to that (Thanks!!) so I should be back on track in another hour or two .. From MikeKerner at roadrunner.com Sat Nov 18 15:11:51 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 18 Nov 2017 15:11:51 -0500 Subject: sync LC applications In-Reply-To: References: <8A9C9B3A-F703-4BF1-B6E6-BE32F83C0880@netrin.com> <72C8595F-8B21-467E-8CC3-CCBFFD6E2547@all-auctions.com> Message-ID: I use dropbox for this purpose. I have a desktop/server process that is responsible for being the arbiter of truth (i.e. grabbing the updates the mobiles want to make and then deciding updating the data that the mobiles will use). The mobiles read and write files to and from dropbox. You can ping the server from the mobile once per second, for example, to see if there are any updates. Push works, but can be unreliable if the user of the phone turns off push. You can use push without having a notification to the user or setting a badge. The app will receive the notification and act on it, provided that the app is up and running on the phone. I've used this technique for five years, I think. You can do the same thing using an online database server, if you like. On Fri, Nov 17, 2017 at 10:28 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > For Wireshark to work on a mobile device, it would have to be on a > repeater (hub). Packet Capture doesn't work with wireless for anything but > the local device. All that would do is monitor network traffic, not > processes running on your device. > > Bob S > > > > On Nov 16, 2017, at 16:57 , Stephen Barncard via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> Hi Paolo and Jim, > >> > >> I always turn off all notifications on all of my devices. > >> I hate notifications because they consume my device > >> batteries with their constant polling. > >> > > > > I sure would like to know that. > > Is there some kind of wire shark like application for the phone? > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 hlowe at me.com Sat Nov 18 17:49:38 2017 From: hlowe at me.com (hlowe) Date: Sat, 18 Nov 2017 15:49:38 -0700 (MST) Subject: iPhone X Screen Dimensions and the screenRect function Message-ID: <1511045378752-0.post@n4.nabble.com> The iPhone X screen dimensions are 375pt ? 812pt. However, the LC screenRect function returns 375 x 667 in the iPhone X simulator (LC 8.1.8, iOS 11.1, Xcode 9.1). The difference between 812 and 667 is 145, which is the additional height of the iPhone X screen over iPhone 6,7,8. The screenRect function returns the correct screen dimensions for other iPhones in the simulator. Is this a bug or am I missing something? Thanks, Henry Ascriva Health Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From brian at milby7.com Sat Nov 18 18:30:40 2017 From: brian at milby7.com (Brian Milby) Date: Sat, 18 Nov 2017 23:30:40 +0000 Subject: iPhone X Screen Dimensions and the screenRect function In-Reply-To: <1511045378752-0.post@n4.nabble.com> References: <1511045378752-0.post@n4.nabble.com> Message-ID: My guess is that until we can provide a correctly sized Splash Screen that the engine on the phone is going to see the iPhone 6 size. You can see the same thing if you do not provide any splash screens and the size will be like the 4 inch (which is the default that is included). On Sat, Nov 18, 2017 at 4:50 PM hlowe via use-livecode < use-livecode at lists.runrev.com> wrote: > The iPhone X screen dimensions are 375pt ? 812pt. However, the LC > screenRect > function returns 375 x 667 in the iPhone X simulator (LC 8.1.8, iOS 11.1, > Xcode 9.1). The difference between 812 and 667 is 145, which is the > additional height of the iPhone X screen over iPhone 6,7,8. The screenRect > function returns the correct screen dimensions for other iPhones in the > simulator. Is this a bug or am I missing something? > > Thanks, > > Henry > > Ascriva Health Informatics > https://www.ascriva.com > > > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Sat Nov 18 18:30:40 2017 From: brian at milby7.com (Brian Milby) Date: Sat, 18 Nov 2017 23:30:40 +0000 Subject: iPhone X Screen Dimensions and the screenRect function In-Reply-To: <1511045378752-0.post@n4.nabble.com> References: <1511045378752-0.post@n4.nabble.com> Message-ID: My guess is that until we can provide a correctly sized Splash Screen that the engine on the phone is going to see the iPhone 6 size. You can see the same thing if you do not provide any splash screens and the size will be like the 4 inch (which is the default that is included). On Sat, Nov 18, 2017 at 4:50 PM hlowe via use-livecode < use-livecode at lists.runrev.com> wrote: > The iPhone X screen dimensions are 375pt ? 812pt. However, the LC > screenRect > function returns 375 x 667 in the iPhone X simulator (LC 8.1.8, iOS 11.1, > Xcode 9.1). The difference between 812 and 667 is 145, which is the > additional height of the iPhone X screen over iPhone 6,7,8. The screenRect > function returns the correct screen dimensions for other iPhones in the > simulator. Is this a bug or am I missing something? > > Thanks, > > Henry > > Ascriva Health Informatics > https://www.ascriva.com > > > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat Nov 18 20:03:54 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 19 Nov 2017 01:03:54 +0000 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> Message-ID: <3773433d-3b0a-f674-008f-b95ea1adc9dd@tweedly.net> Hi Ralf, Thanks - but that's actually a different? JSON extension :-) That is an LCB library that defines JsonExport and JsonImport. However, I looked around some more, and found Tools/Ext/mergJSON-1.0.38 That's an external which defines mergJSONEncode and mergJSONDecode But the docs for it? (api.lcdoc) describe how it might be expected to be used, and include ArryToJSON and JSONToArray functions (less than 20 line of LCS). So I copy/pasted those lines into my own LC Server script - and now everything works (at least for simple tests). So clearly mergJSON is already included in LC Server - and you only need to include the following lines for yourself ??? function ArrayToJSON pArray,pForceRootType,pPretty ??????? repeat for each key tKey in pArray ??????????? if pArray[tKey] is an array then ??????????????? put "}"&ArrayToJSON(pArray[tKey]) into pArray[tKey] ??????????? end if ??????? end repeat ??????? return(mergJSONEncode("pArray",pForceRootType,pPretty)) ??? end ArrayToJSON ??? function JSONToArray pJSON ??????? local tArray,tKeys ??????? repeat for each line tKey in mergJSONDecode(pJSON,"tArray") ??????????? put JSONToArray(tArray[tKey]) into tArray[tKey] ??????? end repeat ??????? return tArray ??? end JSONToArray -- Alex. On 18/11/2017 12:36, Ralf Bitter via use-livecode wrote: > Hi Alex, > > you should find the JSON extension in: > > Tools/Extensions/com.livecode.library.json/module.lcm > > If you use revIgniter create a folder ?extensions? in your > application folder and place the ?com.livecode.library.json? > folder including the ?module.lcm? file there. > > Then load the extension in your controller using: > > rigLoadExtension "com.livecode.library.json" > > and you are done, see: > > https://revigniter.com/userGuide/general/extensions.html > > > Ralf > > > >> On 18. Nov 2017, at 00:53, Alex Tweedly via use-livecode wrote: >> >> But - still need to solve the problem of my database interactions - which I want to do through revIgniter, rather than through my little utility script for doing the actual upload. No problem - just take the rest of the data, stick in a JSON-encoded cookie, and redirect back to the revIgniter script on success. >> >> That's when I ran into the problem that aArrayToJSON() isn't (automatically) available on LCServer. Fortunately Devin has given me an answer to that (Thanks!!) so I should be back on track in another hour or two .. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat Nov 18 20:17:57 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 19 Nov 2017 01:17:57 +0000 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> Message-ID: <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> Thanks Matthias. See my reply to Ralf re. where to find ArrayToJSON etc. I guess I could install my own version of LC server in each cgi-bin - but I play around with a lot of add-on and sub-domains - some within public-html, some not - and it just feels like unnecessay extra work to install (and remember to update) those. on-ev should simply install a more recent version as their default server engine. And why should I - and every other user of on-rev - need to do this additional crap ? 7.1.0 was released over 2 years ago. The last release of anything in the '7' series was 18 months ago. There are hundreds, if not thousands, of bug fixes since then. I'll submit a support request asking for the default to move up to a non-prehistoric version, and throw in a request for some kind of multi-version support. Even if it was only what HostM does it would be a help, and if they added a configuration to select which of the series-latest releases should be chosen it would be great. For anyone who doesn't use HostM - they use the latest released version for .lc scripts (currently 8.1.7), but by default support script file extensions .lc6, .lc7, .lc8 etc. to specify which series to use - and will then use the latest release within it). Extending this scheme by making it easy to say, e.g. .lc maps to .lc8, would make it much more tractable to always use the latest, without renaming files all over the place if you ever want to switch. -- Alex. On 18/11/2017 11:28, Matthias Rebbe via use-livecode wrote: > Alex, > > you are not alone. I noticed something similar with LcServer 7.10 on the On-Rev server Tio. > $_post arrays where empty when data was formatted with libUrlMultipartFormData, > while $_post_raw showed the content. So it was not possible to post larger binary data to LcServer. > > I send a support request already in April this year informing the On-Rev team that the installed LcServer version is not able to handle http posts when the data was formatted with libUrlMultipartFormData. > I decided to install my own version of LcServer (in my case LC9-dp6 at that time) using the .htaccess method, which solved my problem immediately. > > The only caveat: If you have several add-on domains and each domain uses its own root folder under public_html, e.g. > public_html/domain1 > public_html/domain2 > or whatever the folder names are, you have to install your custom LcServer for each domain separately into the cgi-bin folder of each of that root folders > public_html/domain1/cgi-bin > public_html/domain2/cgi-bin > > If all of your domains use public_html as the root folder then just install it into > > public_html/cgi-bin > > > My .htaccess looks like this, in case you are interested. This version work also with HostM accounts, while the htaccess example in the LcServer lesson doesn?t. > > # > RewriteEngine on > # this suPHP? btw allows to set php settings using a php.ini file which is stored in public_html folder > # it is not needed on HostM accounts, because PHP settings can set in cPanel there. > suPHP_ConfigPath /home/YOURACCOUNTNAME/public_html/ > > order allow,deny > deny from all > > > Options +ExecCGI > # path the the LcServer executable > Action custom-livecode /cgi-bin/livecode-server-9dp6/livecode-server > > SetHandler custom-livecode > > # > > The permissions of the folders and the LcServer executable are set to 755. The driver and external files are set to 644. > > > Maybe this will ?calm" you down a little bit. ;) > Have a nice weekend. > > Just forgot: Would you please be so kind and share the information which library does contain the ArrayToJSON() function? Did you already try it out using it on LcServer? > > Regards, > > Matthias > > >> Am 18.11.2017 um 00:53 schrieb Alex Tweedly via use-livecode >: >> >> This is a bit of a rant, so if you're not in the mood, switch off now :-) >> >> I will (when I've calmed down and organised myself :-) submit bug reports. >> >> So, normally, I don't have much time for my favourite hobby of scripting in LC, which lately has been mostly LCServer for a couple of simple websites I have built for friends. But this week I had lots of time set aside, because I've (finally) convinced one of those website owners to do her own maintenance / updating of the site. >> >> The site has many images - which I have typically put into my desktop copy of the site, tried them out - and then synch'ed those up to the real site. However, for the site owner to upload photos, I needed to revive my script for uploading files (specifically images), which hasn't been used in a while. And indeed, may have been played around with in the meantime - so I can't be sure that this is exactly a "once-working" script. >> >> It was written a long time ago - back before there was any built-in way to parse multi-part form content - so I did my own parsing of the POSTed data (actually, I think someone else did it first, and I copied that :-) >> >> However - that no longer works. Using $_POST_RAW fails when the uploaded file is a jpg image - it works ok for text file, simple PNGs etc. - but fails dramatically when the file is proper binary. Test script of >> >>> >> set the errormode to inline >>> put "raw has" && the number of bytes in $_POST_RAW && "bytes
" >>> ?> >> fails with >> >> file "/home/ua886128/public_html/tweedly.co.uk/tryme.lc " >> row 3, col 18: Chunk: can't get source string >> row 3, col 18: Chunk: error in chunk expression >> ..... >> >> when the POSTed data includes a JPG file. >> >> >> While google'ing around for that, I ran into the Livecode lesson on this topic >> >> http://lessons.livecode.com/m/4070/l/40708-how-to-upload-a-file-with-livecode-server >> >> which uses the (newer) $_FILES array which does the complex parsing of the file info from the form - a big improvement !! And indeed, the example there works does work. BUT - it seems that although it correctly parses out the file information, it loses any other POSTed values. So if your form consists *ONLY* of one or more files to upload - you're good. But if you pass any other values (e.g. folder you want it to go to, meta-info, passwords, etc.) that is all lost. Which basically means it's unusable for any real scenario. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Nov 19 06:24:59 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 19 Nov 2017 13:24:59 +0200 Subject: mouseWithin and mouseLeave problem In-Reply-To: References: <8365D4FD-4794-4679-A6B2-CA166502B5E9@iotecdigital.com> Message-ID: <09c4d093-b91e-d426-9c71-38ff5d13d721@gmail.com> http://forums.livecode.com/viewtopic.php?f=7&t=30180 Richmond. From yvescoppe at mac.com Sun Nov 19 06:29:11 2017 From: yvescoppe at mac.com (Yves COPPE) Date: Sun, 19 Nov 2017 12:29:11 +0100 Subject: submenu Message-ID: Hello, on macOS 10.13.1 and LiveCode 8.1.7 In the Menu Builder, I?ve made different menu items How can I create an submenu item of a menu item ? Thanks. Greetings. Yves COPPE yvescoppe at mac.com From jacque at hyperactivesw.com Sun Nov 19 11:08:19 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Nov 2017 10:08:19 -0600 Subject: iPhone X Screen Dimensions and the screenRect function In-Reply-To: <1511045378752-0.post@n4.nabble.com> References: <1511045378752-0.post@n4.nabble.com> Message-ID: <15fd509a138.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Would that be the height of the notch? Apple doesn't want apps to use that area. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 18, 2017 4:51:55 PM hlowe via use-livecode wrote: > The iPhone X screen dimensions are 375pt ? 812pt. However, the LC screenRect > function returns 375 x 667 in the iPhone X simulator (LC 8.1.8, iOS 11.1, > Xcode 9.1). The difference between 812 and 667 is 145, which is the > additional height of the iPhone X screen over iPhone 6,7,8. The screenRect > function returns the correct screen dimensions for other iPhones in the > simulator. Is this a bug or am I missing something? > > Thanks, > > Henry > > Ascriva Health Informatics > https://www.ascriva.com > > > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Sun Nov 19 12:51:50 2017 From: paul at livecode.org (Paul Hibbert) Date: Sun, 19 Nov 2017 09:51:50 -0800 Subject: submenu In-Reply-To: References: Message-ID: <79DD5ED0-4E04-4A9F-82B6-70966BE8532C@livecode.org> In the Menu Builder, underneath the [Delete Item] button, there are two icons. The left one is to ?Make the submenu item into a menu item? and the right one will ?Make the selected menu item into a submenu item". On a side note, while checking this out and refreshing my memory of the menu builder, I noticed that the submenu items disappear from the list if you close and re-open the Menu Builder, however, the items don?t disappear from the button?s text in the PI, so they are intact still there. This bug means you only get one shot at setting up the submenu items in the Menu Builder, after that you would need to do any further editing of this menu in the button?s PI by adding or subtracting tabs in the button?s text. For more info checkout the "Creating Cascading Menus? section on P182 of the user guide. It seems this odd behaviour started with LC8.0 (dp3), there is a bug report Bug?18316 Paul > On 19 Nov 2017, at 03:29, Yves COPPE via use-livecode wrote: > > Hello, > > on macOS 10.13.1 and LiveCode 8.1.7 > > In the Menu Builder, I?ve made different menu items > How can I create an submenu item of a menu item ? > > Thanks. > > > Greetings. > > Yves COPPE > yvescoppe at mac.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 Sun Nov 19 13:08:38 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 19 Nov 2017 19:08:38 +0100 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> Message-ID: <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> > Am 19.11.2017 um 02:17 schrieb Alex Tweedly via use-livecode >: > > For anyone who doesn't use HostM - they use the latest released version for .lc scripts (currently 8.1.7), but by default support script file extensions .lc6, .lc7, .lc8 etc. to specify which series to use - and will then use the latest release within it). Extending this scheme by making it easy to say, e.g. .lc maps to .lc8, would make it much more tractable to always use the latest, without renaming files all over the place if you ever want to switch. > > -- Alex. Just in case someone is interested. HostM has installed the community edition of LcServer. But for customers who can proof their purchase/subscription of the commercial version, HostM will install a commercial version for the whole account. Commercial version is neede if you want to use password protected stacks with LcServer. From yvescoppe at mac.com Sun Nov 19 13:17:44 2017 From: yvescoppe at mac.com (Yves COPPE) Date: Sun, 19 Nov 2017 19:17:44 +0100 Subject: submenu In-Reply-To: <79DD5ED0-4E04-4A9F-82B6-70966BE8532C@livecode.org> References: <79DD5ED0-4E04-4A9F-82B6-70966BE8532C@livecode.org> Message-ID: <75D43539-A81C-4CB9-BF87-5069D50B10D2@mac.com> Hello, When I move the menu (B) just after another menu (A) and want to make Menu (B) a submenu of menu (A), this icon you describe is disabled ! Greetings. > Le 19 nov. 2017 ? 18:51, Paul Hibbert via use-livecode a ?crit : > > In the Menu Builder, underneath the [Delete Item] button, there are two icons. The left one is to ?Make the submenu item into a menu item? and the right one will ?Make the selected menu item into a submenu item". > > On a side note, while checking this out and refreshing my memory of the menu builder, I noticed that the submenu items disappear from the list if you close and re-open the Menu Builder, however, the items don?t disappear from the button?s text in the PI, so they are intact still there. This bug means you only get one shot at setting up the submenu items in the Menu Builder, after that you would need to do any further editing of this menu in the button?s PI by adding or subtracting tabs in the button?s text. > > For more info checkout the "Creating Cascading Menus? section on P182 of the user guide. > > It seems this odd behaviour started with LC8.0 (dp3), there is a bug report Bug 18316 > > Paul > >> On 19 Nov 2017, at 03:29, Yves COPPE via use-livecode wrote: >> >> Hello, >> >> on macOS 10.13.1 and LiveCode 8.1.7 >> >> In the Menu Builder, I?ve made different menu items >> How can I create an submenu item of a menu item ? >> >> Thanks. >> >> >> Greetings. >> >> Yves COPPE >> yvescoppe at mac.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 hlowe at me.com Sun Nov 19 13:21:45 2017 From: hlowe at me.com (hlowe) Date: Sun, 19 Nov 2017 11:21:45 -0700 (MST) Subject: iPhone X Screen Dimensions and the screenRect function In-Reply-To: <15fd509a138.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1511045378752-0.post@n4.nabble.com> <15fd509a138.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1511115705716-0.post@n4.nabble.com> I have been researching this issue and it does appear (as suggested by the prior respondent) that, in the absence of an iPhone X sized splash image, iOS default to a compatibility mode to accommodate older apps. One consequence of this is that iOS returns the 'older' screen size to screenRect(). There are a number of helpful sources explaining how to approach developing for the iPhone X screen: https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/ https://infinum.co/the-capsized-eight/how-to-prepare-mobile-app-new-iPhone-x Adapting an app for the iPhone X using the "safe area" approach is problematic if one cannot get the correct screenRect. I support various screen sizes and orientations in my apps by directly redrawing the UI rather that using the FullScreenMode property. Cannot do this without the correct screen rect. Is adding an iPhone X splash image in the Standalone Application Setting dialog in the works? Thanks, Henry Ascriva Health Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From merakosp at gmail.com Sun Nov 19 13:29:37 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 19 Nov 2017 18:29:37 +0000 Subject: iPhone X Screen Dimensions and the screenRect function In-Reply-To: References: <1511045378752-0.post@n4.nabble.com> <15fd509a138.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1511115705716-0.post@n4.nabble.com> Message-ID: Yes, there is an enhancement request about it: http://quality.livecode.com/show_bug.cgi?id=20641 On Nov 19, 2017 18:22, "hlowe via use-livecode" < use-livecode at lists.runrev.com> wrote: I have been researching this issue and it does appear (as suggested by the prior respondent) that, in the absence of an iPhone X sized splash image, iOS default to a compatibility mode to accommodate older apps. One consequence of this is that iOS returns the 'older' screen size to screenRect(). There are a number of helpful sources explaining how to approach developing for the iPhone X screen: https://developer.apple.com/ios/human-interface- guidelines/overview/iphone-x/ https://infinum.co/the-capsized-eight/how-to-prepare-mobile-app-new-iPhone-x Adapting an app for the iPhone X using the "safe area" approach is problematic if one cannot get the correct screenRect. I support various screen sizes and orientations in my apps by directly redrawing the UI rather that using the FullScreenMode property. Cannot do this without the correct screen rect. Is adding an iPhone X splash image in the Standalone Application Setting dialog in the works? Thanks, Henry Ascriva Health Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/ Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Sun Nov 19 14:35:37 2017 From: paul at livecode.org (Paul Hibbert) Date: Sun, 19 Nov 2017 11:35:37 -0800 Subject: submenu In-Reply-To: <75D43539-A81C-4CB9-BF87-5069D50B10D2@mac.com> References: <79DD5ED0-4E04-4A9F-82B6-70966BE8532C@livecode.org> <75D43539-A81C-4CB9-BF87-5069D50B10D2@mac.com> Message-ID: I think this behaviour is to do with the bug 18316 (link in previous email). If you locate the button in the project menu and look at the property inspector > text, you will see the tab indents that create the submenu items. e.g. https://www.dropbox.com/s/59afsj55qgk65vm/Menu%20Screen%20Shot%203.jpg?dl=0 Paul > On 19 Nov 2017, at 10:17, Yves COPPE via use-livecode wrote: > > Hello, > > When I move the menu (B) just after another menu (A) and want to make Menu (B) a submenu of menu (A), this icon you describe is disabled ! > > > Greetings. > >> Le 19 nov. 2017 ? 18:51, Paul Hibbert via use-livecode a ?crit : >> >> In the Menu Builder, underneath the [Delete Item] button, there are two icons. The left one is to ?Make the submenu item into a menu item? and the right one will ?Make the selected menu item into a submenu item". >> >> On a side note, while checking this out and refreshing my memory of the menu builder, I noticed that the submenu items disappear from the list if you close and re-open the Menu Builder, however, the items don?t disappear from the button?s text in the PI, so they are intact still there. This bug means you only get one shot at setting up the submenu items in the Menu Builder, after that you would need to do any further editing of this menu in the button?s PI by adding or subtracting tabs in the button?s text. >> >> For more info checkout the "Creating Cascading Menus? section on P182 of the user guide. >> >> It seems this odd behaviour started with LC8.0 (dp3), there is a bug report Bug 18316 >> >> Paul >> >>> On 19 Nov 2017, at 03:29, Yves COPPE via use-livecode wrote: >>> >>> Hello, >>> >>> on macOS 10.13.1 and LiveCode 8.1.7 >>> >>> In the Menu Builder, I?ve made different menu items >>> How can I create an submenu item of a menu item ? >>> >>> Thanks. >>> >>> >>> Greetings. >>> >>> Yves COPPE >>> yvescoppe at mac.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 yvescoppe at mac.com Sun Nov 19 14:49:16 2017 From: yvescoppe at mac.com (Yves COPPE) Date: Sun, 19 Nov 2017 20:49:16 +0100 Subject: submenu In-Reply-To: References: <79DD5ED0-4E04-4A9F-82B6-70966BE8532C@livecode.org> <75D43539-A81C-4CB9-BF87-5069D50B10D2@mac.com> Message-ID: <26F7604F-5269-492F-9A39-80B291A539A4@mac.com> Hello, Successful !!!! I?ve used the property inspector. thanks ! Greetings. > Le 19 nov. 2017 ? 20:35, Paul Hibbert via use-livecode a ?crit : > > I think this behaviour is to do with the bug 18316 (link in previous email). > > If you locate the button in the project menu and look at the property inspector > text, you will see the tab indents that create the submenu items. > > e.g. https://www.dropbox.com/s/59afsj55qgk65vm/Menu%20Screen%20Shot%203.jpg?dl=0 > > Paul > >> On 19 Nov 2017, at 10:17, Yves COPPE via use-livecode wrote: >> >> Hello, >> >> When I move the menu (B) just after another menu (A) and want to make Menu (B) a submenu of menu (A), this icon you describe is disabled ! >> >> >> Greetings. >> >>> Le 19 nov. 2017 ? 18:51, Paul Hibbert via use-livecode a ?crit : >>> >>> In the Menu Builder, underneath the [Delete Item] button, there are two icons. The left one is to ?Make the submenu item into a menu item? and the right one will ?Make the selected menu item into a submenu item". >>> >>> On a side note, while checking this out and refreshing my memory of the menu builder, I noticed that the submenu items disappear from the list if you close and re-open the Menu Builder, however, the items don?t disappear from the button?s text in the PI, so they are intact still there. This bug means you only get one shot at setting up the submenu items in the Menu Builder, after that you would need to do any further editing of this menu in the button?s PI by adding or subtracting tabs in the button?s text. >>> >>> For more info checkout the "Creating Cascading Menus? section on P182 of the user guide. >>> >>> It seems this odd behaviour started with LC8.0 (dp3), there is a bug report Bug 18316 >>> >>> Paul >>> >>>> On 19 Nov 2017, at 03:29, Yves COPPE via use-livecode wrote: >>>> >>>> Hello, >>>> >>>> on macOS 10.13.1 and LiveCode 8.1.7 >>>> >>>> In the Menu Builder, I?ve made different menu items >>>> How can I create an submenu item of a menu item ? >>>> >>>> Thanks. >>>> >>>> >>>> Greetings. >>>> >>>> Yves COPPE >>>> yvescoppe at mac.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 hlowe at me.com Sun Nov 19 14:59:53 2017 From: hlowe at me.com (hlowe) Date: Sun, 19 Nov 2017 12:59:53 -0700 (MST) Subject: iPhone X Screen Dimensions and the screenRect function In-Reply-To: References: <1511045378752-0.post@n4.nabble.com> <15fd509a138.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1511115705716-0.post@n4.nabble.com> Message-ID: <1511121593823-0.post@n4.nabble.com> Thanks, I added a comment to the request. Hopefully we will see this soon. Henry -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From kaveh at rivervalleytechnologies.com Sun Nov 19 15:23:28 2017 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Sun, 19 Nov 2017 20:23:28 +0000 Subject: Simple tutorial on scrollbars? Message-ID: I am trying to change the look of a simple scrollbar on a Mac. But changing "foreground fill", "background fill" etc. has no effect. I have not been able to locate a tutorial for this. Any suggestions pls? -- Kaveh Bazargan Director River Valley Technologies ? Twitter ? LinkedIn Phone +44 7771 824 111 From irog at mac.com Sun Nov 19 16:18:24 2017 From: irog at mac.com (Roger Guay) Date: Sun, 19 Nov 2017 13:18:24 -0800 Subject: Simple tutorial on scrollbars? In-Reply-To: References: Message-ID: <91E85D0C-3140-4257-B040-84C2BE1F2A4D@mac.com> I recommend rolling your own. If you need help with that, I can share what I?ve done. Roger > On Nov 19, 2017, at 12:23 PM, Kaveh Bazargan via use-livecode wrote: > > I am trying to change the look of a simple scrollbar on a Mac. But changing > "foreground fill", "background fill" etc. has no effect. I have not been > able to locate a tutorial for this. Any suggestions pls? > > -- > Kaveh Bazargan > Director > River Valley Technologies ? Twitter > ? LinkedIn > > Phone +44 7771 824 111 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Nov 19 16:30:16 2017 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 19 Nov 2017 16:30:16 -0500 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> Message-ID: Hi Matthias, I thought there was only the Community Version of LiveCode Server available. Where would I be able to get the Commercial Version, because if there is one, I am indeed entitled to use it! Thanks, Rick > On Nov 19, 2017, at 1:08 PM, Matthias Rebbe via use-livecode wrote: > > Just in case someone is interested. > HostM has installed the community edition of LcServer. But for customers who can proof their purchase/subscription of the commercial version, HostM will install a commercial version for the whole account. Commercial version is neede if you want to use password protected stacks with LcServer. From hh at hyperhh.de Sun Nov 19 16:55:19 2017 From: hh at hyperhh.de (hh) Date: Sun, 19 Nov 2017 22:55:19 +0100 Subject: Simple tutorial on scrollbars? Message-ID: Yet another (very simple) option is to set the colorOverlay and/or the ink of the scrollbar. From matthias_livecode_150811 at m-r-d.de Sun Nov 19 17:05:00 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 19 Nov 2017 23:05:00 +0100 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> Message-ID: <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> Rick, if you have an Indy or Business license of Livecode , then you should find the commercial license of LcServer in your Livcode account. Regards, Matthias > Am 19.11.2017 um 22:30 schrieb Rick Harrison via use-livecode >: > > Hi Matthias, > > I thought there was only the Community Version > of LiveCode Server available. Where would I > be able to get the Commercial Version, because > if there is one, I am indeed entitled to use it! > > Thanks, > > Rick > > >> On Nov 19, 2017, at 1:08 PM, Matthias Rebbe via use-livecode > wrote: >> >> Just in case someone is interested. >> HostM has installed the community edition of LcServer. But for customers who can proof their purchase/subscription of the commercial version, HostM will install a commercial version for the whole account. Commercial version is neede if you want to use password protected stacks with LcServer. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalleytechnologies.com Sun Nov 19 17:30:47 2017 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Sun, 19 Nov 2017 22:30:47 +0000 Subject: Simple tutorial on scrollbars? In-Reply-To: <91E85D0C-3140-4257-B040-84C2BE1F2A4D@mac.com> References: <91E85D0C-3140-4257-B040-84C2BE1F2A4D@mac.com> Message-ID: Love to see some examples Roger. Best way to learn. On Sun, 19 Nov 2017 at 21:19, Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > I recommend rolling your own. If you need help with that, I can share what > I?ve done. > > Roger > > > On Nov 19, 2017, at 12:23 PM, Kaveh Bazargan via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I am trying to change the look of a simple scrollbar on a Mac. But > changing > > "foreground fill", "background fill" etc. has no effect. I have not been > > able to locate a tutorial for this. Any suggestions pls? > > > > -- > > Kaveh Bazargan > > Director > > River Valley Technologies ? > Twitter > > ? LinkedIn > > > > Phone +44 7771 824 111 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Sent from MetroMail From matthias_livecode_150811 at m-r-d.de Mon Nov 20 03:21:28 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 20 Nov 2017 09:21:28 +0100 Subject: Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu? Message-ID: <99E805A7-B137-4879-9DEB-4137252D6F48@m-r-d.de> Hi, first of all i am totally new to plugin creation. I am working on a plugin which shall be started with LC startup and then close again automatically after executing some task w/o user interaction. But i need also to run this plugin manually from the plugin menu without running the tasks, because in manual mode i want to start the tasks by pressing a button. So is there a way to check if a plugin was run at startup or if it was started from the menu? Regards, Matthias From monte at appisle.net Mon Nov 20 04:19:51 2017 From: monte at appisle.net (Monte Goulding) Date: Mon, 20 Nov 2017 20:19:51 +1100 Subject: Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu? In-Reply-To: <99E805A7-B137-4879-9DEB-4137252D6F48@m-r-d.de> References: <99E805A7-B137-4879-9DEB-4137252D6F48@m-r-d.de> Message-ID: <8DCBB899-789C-448C-A312-4FA2836268D6@appisle.net> > On 20 Nov 2017, at 7:21 pm, Matthias Rebbe via use-livecode wrote: > > So is there a way to check if a plugin was run at startup or if it was started from the menu? Yes, check if revMenubar is in the executionContexts Cheers Monte From panos.merakos at livecode.com Mon Nov 20 07:13:14 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 20 Nov 2017 12:13:14 +0000 Subject: [ANN] This Week in LiveCode 107 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 #107 here: https://goo.gl/TSuuMB This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From MikeKerner at roadrunner.com Mon Nov 20 09:30:14 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 20 Nov 2017 09:30:14 -0500 Subject: universal error catching/debugger dropping Message-ID: Is there a "universal" error message that is called when something bad happens in LC? I don't really want to write try/catch blocks for every command that is dropping me into the debugger in scripts that are supposed to be running unattended (and on mobile, I'd like to see if I can come up with a scheme that will stop the silent aborts when a script runs into trouble). I REALLY don't want every single script to be a gigantic try/catch block, either. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Mon Nov 20 09:34:02 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 20 Nov 2017 14:34:02 +0000 Subject: universal error catching/debugger dropping In-Reply-To: References: Message-ID: On Mon, Nov 20, 2017 at 8:31 AM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Is there a "universal" error message that is called when something bad > happens in LC? See the errorDialog message in the docs . Trevor DeVore ScreenSteps From MikeKerner at roadrunner.com Mon Nov 20 09:56:04 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 20 Nov 2017 09:56:04 -0500 Subject: universal error catching/debugger dropping In-Reply-To: References: Message-ID: That doesn't catch every time we have a debugger drop, unfortunately. On Mon, Nov 20, 2017 at 9:34 AM, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Mon, Nov 20, 2017 at 8:31 AM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Is there a "universal" error message that is called when something bad > > happens in LC? > > > See the errorDialog message in the docs . > > Trevor DeVore > ScreenSteps > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Nov 20 09:56:42 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 20 Nov 2017 09:56:42 -0500 Subject: universal error catching/debugger dropping In-Reply-To: References: Message-ID: or every time a mobile script just aborts. On Mon, Nov 20, 2017 at 9:56 AM, Mike Kerner wrote: > That doesn't catch every time we have a debugger drop, unfortunately. > > On Mon, Nov 20, 2017 at 9:34 AM, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Mon, Nov 20, 2017 at 8:31 AM Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> > Is there a "universal" error message that is called when something bad >> > happens in LC? >> >> >> See the errorDialog message in the docs . >> >> Trevor DeVore >> ScreenSteps >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Mon Nov 20 10:07:12 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 20 Nov 2017 16:07:12 +0100 Subject: Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu? In-Reply-To: <8DCBB899-789C-448C-A312-4FA2836268D6@appisle.net> References: <99E805A7-B137-4879-9DEB-4137252D6F48@m-r-d.de> <8DCBB899-789C-448C-A312-4FA2836268D6@appisle.net> Message-ID: <3791E5A8-02B3-4181-A94C-2644C26D20AC@m-r-d.de> Thanks Monte, that was exactly i was looking for. Matthias > Am 20.11.2017 um 10:19 schrieb Monte Goulding via use-livecode >: > > >> On 20 Nov 2017, at 7:21 pm, Matthias Rebbe via use-livecode > wrote: >> >> So is there a way to check if a plugin was run at startup or if it was started from the menu? > > Yes, check if revMenubar is in the executionContexts > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Nov 20 10:28:07 2017 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 20 Nov 2017 10:28:07 -0500 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> Message-ID: Hi Matthias, I have been downloading everything from the downloads page for so long that I hardly ever visit my Livecode account page. Apparently now there is a separate tab just for server which has a password attached. Why this appears to be the exception to the rule of getting everything from the downloads page is anyone?s guess. Is there any difference between the community version and the commercial version of server other than the license? Where would I find a list of those differences if it exists somewhere? Thank you for getting back to me! Rick > On Nov 19, 2017, at 5:05 PM, Matthias Rebbe via use-livecode wrote: > > Rick, > > if you have an Indy or Business license of Livecode , then you should find the commercial license of LcServer in your Livcode account. > > Regards, > > Matthias From rdimola at evergreeninfo.net Mon Nov 20 10:34:14 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 20 Nov 2017 10:34:14 -0500 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> Message-ID: <008301d36215$088bc7d0$19a35770$@net> There is no license registration for LC server because there is no GUI. You only have the rights to use the commercial server if you have paid version of LC. This way only account holders with the proper license can download the commercial server. 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 Rick Harrison via use-livecode Sent: Monday, November 20, 2017 10:28 AM To: How to use LiveCode Cc: Rick Harrison Subject: Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-) Hi Matthias, I have been downloading everything from the downloads page for so long that I hardly ever visit my Livecode account page. Apparently now there is a separate tab just for server which has a password attached. Why this appears to be the exception to the rule of getting everything from the downloads page is anyone?s guess. Is there any difference between the community version and the commercial version of server other than the license? Where would I find a list of those differences if it exists somewhere? Thank you for getting back to me! Rick > On Nov 19, 2017, at 5:05 PM, Matthias Rebbe via use-livecode wrote: > > Rick, > > if you have an Indy or Business license of Livecode , then you should find the commercial license of LcServer in your Livcode account. > > Regards, > > Matthias _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Nov 20 10:35:00 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 20 Nov 2017 10:35:00 -0500 Subject: Building a variable length code Huffman Tree in LiveCode Message-ID: Hi All, Which methods could I use in Livecode, to build a Huffman tree? http://www.ics.uci.edu/~dan/class/165/notes/zHuff.pdf The idea of building a tree with nodes, leafs suggest to use an xml file for this task, but all examples that I have read uses a different method with data structures that probably are not available in LiveCode. Another idea that I am considering is using fixed length codewords: http://home.cse.ust.hk/faculty/golin/COMP271Sp03/Notes/MyL17.pdf and assign the codewords using a sorted list of most frequent character. Which methods could you use in Livecode, to build a Huffman tree? Thanks in advance! Al From bobsneidar at iotecdigital.com Mon Nov 20 10:44:07 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 Nov 2017 15:44:07 +0000 Subject: submenu In-Reply-To: <79DD5ED0-4E04-4A9F-82B6-70966BE8532C@livecode.org> References: <79DD5ED0-4E04-4A9F-82B6-70966BE8532C@livecode.org> Message-ID: <2C5AE5A8-7DB3-48C2-B10D-57700AFA60B4@iotecdigital.com> Oh hey, I reported that bug! I totally forgot. Bob S > On Nov 19, 2017, at 09:51 , Paul Hibbert via use-livecode wrote: > > For more info checkout the "Creating Cascading Menus? section on P182 of the user guide. > > It seems this odd behaviour started with LC8.0 (dp3), there is a bug report Bug 18316 > > Paul From lists at mangomultimedia.com Mon Nov 20 10:55:44 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 20 Nov 2017 09:55:44 -0600 Subject: universal error catching/debugger dropping In-Reply-To: References: Message-ID: On Mon, Nov 20, 2017 at 8:56 AM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > or every time a mobile script just aborts. > Did you put it in the message path using a library script? If a script error occurs then errorDialog will be triggered. -- Trevor DeVore (703) 785-7632 From lists at mangomultimedia.com Mon Nov 20 10:56:41 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 20 Nov 2017 09:56:41 -0600 Subject: universal error catching/debugger dropping In-Reply-To: References: Message-ID: On Mon, Nov 20, 2017 at 8:56 AM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > That doesn't catch every time we have a debugger drop, unfortunately. The debugger is probably capturing the message. Did you try defining errorDialog in a frontscript? -- Trevor DeVore ScreenSteps www.screensteps.com From MikeKerner at roadrunner.com Mon Nov 20 11:25:03 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 20 Nov 2017 11:25:03 -0500 Subject: universal error catching/debugger dropping In-Reply-To: References: Message-ID: I didn't try a front script. Maybe I'll try that. On Mon, Nov 20, 2017 at 10:56 AM, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Mon, Nov 20, 2017 at 8:56 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > That doesn't catch every time we have a debugger drop, unfortunately. > > > The debugger is probably capturing the message. Did you try defining > errorDialog in a frontscript? > > -- > 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 > -- 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 harrison at all-auctions.com Mon Nov 20 11:36:01 2017 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 20 Nov 2017 11:36:01 -0500 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <008301d36215$088bc7d0$19a35770$@net> References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> <008301d36215$088bc7d0$19a35770$@net> Message-ID: <4F5743E0-F1E2-4887-A4CC-E8AA33DFB408@all-auctions.com> Hi Ralph, It looks to me that they did it this way because there isn?t any automatic way to check for a valid license the same way as the paid version of LiveCode works. As you say, the commercial version of LC server lacks the GUI which would make that auto-validation step possible. A list of the differences between the community version and the commercial version would be useful so users can see what if anything they are missing by not having the paid version of LC. (It might be an incentive for those who do not yet have a paid version.) I have to download my new commercial version and install it. Thanks, Rick > On Nov 20, 2017, at 10:34 AM, Ralph DiMola via use-livecode wrote: > > There is no license registration for LC server because there is no GUI. You only have the rights to use the commercial server if you have paid version of LC. This way only account holders with the proper license can download the commercial server. > > 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 Rick Harrison via use-livecode > Sent: Monday, November 20, 2017 10:28 AM > To: How to use LiveCode > Cc: Rick Harrison > Subject: Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-) > > Hi Matthias, > > I have been downloading everything from the downloads page for so long that I hardly ever visit my Livecode account page. Apparently now there is a separate tab just for server which has a password attached. Why this appears to be the exception to the rule of getting everything from the downloads page is anyone?s guess. > > Is there any difference between the > community version and the commercial > version of server other than the license? > Where would I find a list of those > differences if it exists somewhere? > > Thank you for getting back to me! > > Rick > >> On Nov 19, 2017, at 5:05 PM, Matthias Rebbe via use-livecode wrote: >> >> Rick, >> >> if you have an Indy or Business license of Livecode , then you should find the commercial license of LcServer in your Livcode account. >> >> Regards, >> >> Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Nov 20 11:49:59 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 20 Nov 2017 11:49:59 -0500 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <4F5743E0-F1E2-4887-A4CC-E8AA33DFB408@all-auctions.com> References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> <008301d36215$088bc7d0$19a35770$@net> <4F5743E0-F1E2-4887-A4CC-E8AA33DFB408@all-auctions.com> Message-ID: <008d01d3621f$9dadfd10$d909f730$@net> Hey Rick, The only difference I have seen is the ability to open password protected stacks. 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 Rick Harrison via use-livecode Sent: Monday, November 20, 2017 11:36 AM To: How to use LiveCode Cc: Rick Harrison Subject: Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-) Hi Ralph, It looks to me that they did it this way because there isn?t any automatic way to check for a valid license the same way as the paid version of LiveCode works. As you say, the commercial version of LC server lacks the GUI which would make that auto-validation step possible. A list of the differences between the community version and the commercial version would be useful so users can see what if anything they are missing by not having the paid version of LC. (It might be an incentive for those who do not yet have a paid version.) I have to download my new commercial version and install it. Thanks, Rick > On Nov 20, 2017, at 10:34 AM, Ralph DiMola via use-livecode wrote: > > There is no license registration for LC server because there is no GUI. You only have the rights to use the commercial server if you have paid version of LC. This way only account holders with the proper license can download the commercial server. > > 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 Rick Harrison via use-livecode > Sent: Monday, November 20, 2017 10:28 AM > To: How to use LiveCode > Cc: Rick Harrison > Subject: Re: Rant on my favourite topics : LC server with a side-dish > of on-rev :-) > > Hi Matthias, > > I have been downloading everything from the downloads page for so long that I hardly ever visit my Livecode account page. Apparently now there is a separate tab just for server which has a password attached. Why this appears to be the exception to the rule of getting everything from the downloads page is anyone?s guess. > > Is there any difference between the > community version and the commercial > version of server other than the license? > Where would I find a list of those > differences if it exists somewhere? > > Thank you for getting back to me! > > Rick > >> On Nov 19, 2017, at 5:05 PM, Matthias Rebbe via use-livecode wrote: >> >> Rick, >> >> if you have an Indy or Business license of Livecode , then you should find the commercial license of LcServer in your Livcode account. >> >> Regards, >> >> Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Nov 20 11:53:11 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 20 Nov 2017 17:53:11 +0100 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <4F5743E0-F1E2-4887-A4CC-E8AA33DFB408@all-auctions.com> References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> <008301d36215$088bc7d0$19a35770$@net> <4F5743E0-F1E2-4887-A4CC-E8AA33DFB408@all-auctions.com> Message-ID: Rick, the commercial version of LcServer supports encryption, the use of password protected stacks and you can use the tsNet external with it, but you have to install these externals manually, because the build process currently doesn?t include them into to builds. Another difference is you do not require your code be distributed under GPL. But with community version of LcServer you have to do so "in case your server code is an integral part of making your LC based software work". See LiveCode open source questions at https://livecode.com/resources/support/ask-a-question/ Maybe there are also other differences, but the above are the ones i know. Matthias > Am 20.11.2017 um 17:36 schrieb Rick Harrison via use-livecode >: > > Hi Ralph, > > It looks to me that they did it this way > because there isn?t any automatic > way to check for a valid license > the same way as the paid version > of LiveCode works. As you say, the > commercial version of LC server > lacks the GUI which would make > that auto-validation step possible. > > A list of the differences between > the community version and the > commercial version would be > useful so users can see what if > anything they are missing by not > having the paid version of LC. > (It might be an incentive for those > who do not yet have a paid version.) > > I have to download my new commercial > version and install it. > > Thanks, > > Rick > >> On Nov 20, 2017, at 10:34 AM, Ralph DiMola via use-livecode > wrote: >> >> There is no license registration for LC server because there is no GUI. You only have the rights to use the commercial server if you have paid version of LC. This way only account holders with the proper license can download the commercial server. >> >> 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 Rick Harrison via use-livecode >> Sent: Monday, November 20, 2017 10:28 AM >> To: How to use LiveCode >> Cc: Rick Harrison >> Subject: Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-) >> >> Hi Matthias, >> >> I have been downloading everything from the downloads page for so long that I hardly ever visit my Livecode account page. Apparently now there is a separate tab just for server which has a password attached. Why this appears to be the exception to the rule of getting everything from the downloads page is anyone?s guess. >> >> Is there any difference between the >> community version and the commercial >> version of server other than the license? >> Where would I find a list of those >> differences if it exists somewhere? >> >> Thank you for getting back to me! >> >> Rick >> >>> On Nov 19, 2017, at 5:05 PM, Matthias Rebbe via use-livecode wrote: >>> >>> Rick, >>> >>> if you have an Indy or Business license of Livecode , then you should find the commercial license of LcServer in your Livcode account. >>> >>> Regards, >>> >>> Matthias >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalleytechnologies.com Mon Nov 20 12:23:34 2017 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Mon, 20 Nov 2017 17:23:34 +0000 Subject: Simple tutorial on scrollbars? In-Reply-To: <91E85D0C-3140-4257-B040-84C2BE1F2A4D@mac.com> References: <91E85D0C-3140-4257-B040-84C2BE1F2A4D@mac.com> Message-ID: Hi all I have had some great tips for rolling my own scrollbars from Roger, but a simple question. What do the following do in the scrollbar inspector: - Foreground fill - Background fill - Border fill - etc None seem to affect the colors of the components of a scrollbar. On 19 November 2017 at 21:18, Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > I recommend rolling your own. If you need help with that, I can share what > I?ve done. > > Roger > > > On Nov 19, 2017, at 12:23 PM, Kaveh Bazargan via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I am trying to change the look of a simple scrollbar on a Mac. But > changing > > "foreground fill", "background fill" etc. has no effect. I have not been > > able to locate a tutorial for this. Any suggestions pls? > > > > -- > > Kaveh Bazargan > > Director > > River Valley Technologies ? > Twitter > > ? LinkedIn > > > > Phone +44 7771 824 111 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Director River Valley Technologies ? Twitter ? LinkedIn Phone +44 7771 824 111 From harrison at all-auctions.com Mon Nov 20 14:09:40 2017 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 20 Nov 2017 14:09:40 -0500 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> <008301d36215$088bc7d0$19a35770$@net> <4F5743E0-F1E2-4887-A4CC-E8AA33DFB408@all-auctions.com> Message-ID: <83CEB8BC-4E7B-4120-8243-8A06959145F1@all-auctions.com> Hi Ralph & Matthias, I am well aware of the GPL limitations of the community version with respect to the license. I never use password protected stacks. I do see how that could be useful though. The encryption functionality is important too. The tsNet external is also nice for sending emails although I haven?t needed that functionality yet. If there are other differences it would be nice to know where that list or document resides, and it should be in plain sight somewhere. Thank you for the clarifications! Rick > On Nov 20, 2017, at 11:53 AM, Matthias Rebbe via use-livecode wrote: > > Rick, > > the commercial version of LcServer supports encryption, the use of password protected stacks and you can use the tsNet external with it, but you have to install these externals manually, because the build process currently doesn?t include them into to builds. > Another difference is you do not require your code be distributed under GPL. > But with community version of LcServer you have to do so "in case your server code is an integral part of making your LC based software work". > See LiveCode open source questions at https://livecode.com/resources/support/ask-a-question/ > > > Maybe there are also other differences, but the above are the ones i know. > > Matthias From capellan2000 at gmail.com Mon Nov 20 15:00:31 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 20 Nov 2017 15:00:31 -0500 Subject: Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu? Message-ID: Hi All, Where could I found a guide for creating LC IDE plugins? Al > On 20 Nov 2017, at 7:21 pm, Matthias Rebbe wrote: > So is there a way to check if a plugin was run at > startup or if it was started from the menu? > Then, Monte Goulding answered: > Yes, check if revMenubar is in the executionContexts From alex at tweedly.net Mon Nov 20 18:34:56 2017 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 20 Nov 2017 23:34:56 +0000 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: References: <301c91a9-0987-3127-acc5-5d787e1550bc@tweedly.net> <464a78c6-c727-5949-df1e-0b22b1589924@tweedly.net> <2476AB3E-F0B5-431F-83C8-5BD962FD6F87@m-r-d.de> <3274C3AE-4A9B-4EC4-AB88-457D3F4C9B92@m-r-d.de> <008301d36215$088bc7d0$19a35770$@net> <4F5743E0-F1E2-4887-A4CC-E8AA33DFB408@all-auctions.com> Message-ID: Matthias said (quoting the LC FAQs): > Another difference is you do not require your code be distributed under GPL. > But with community version of LcServer you have to do so "in case your server code is an integral part of making your LC based software work". But that (as far as I can see) is said in the context of an app which is dependent on the server code - i.e. the server code is effectively part of the app. So it would not apply to the great majority of LC Server code, which simply implements a web site accessed via a browser. And why would it ?? GPL is a *distributive* license - it affects code/programs that are distributed (or copied, or conveyed). I can (and do) write code for my own use on my own machines using the Community version - and there is no requirement for me to make that code available to anyone else. Code written for a web site, but not distributed, is similarly free from any need to make it available to others (unless they also get involved in "being an essential part of an app", or similar extended involvement). I haven't seen any statement that *all* code using Community Server falls under GPL (and I think I've read all the LC question/answers) but if there is such a statement on the LC site, I'd be grateful for a pointer to it. (And since I have a commercial lic. anyway, I guess I'll get the commercial version installed on all my sites just in case). Alex. P.S. I'm not convinced by the original claim either. To me, "integral part" cannot be implied by use of a web api. If it can, I look forward to writing an app with the Community version that uses Google's maps api - and the subsequent claim that Google's code is all subject to GPL :-) On 20/11/2017 16:53, Matthias Rebbe via use-livecode wrote: > Rick, > > the commercial version of LcServer supports encryption, the use of password protected stacks and you can use the tsNet external with it, but you have to install these externals manually, because the build process currently doesn?t include them into to builds. > Another difference is you do not require your code be distributed under GPL. > But with community version of LcServer you have to do so "in case your server code is an integral part of making your LC based software work". > See LiveCode open source questions at https://livecode.com/resources/support/ask-a-question/ > > Maybe there are also other differences, but the above are the ones i know. > > Matthias > >> Am 20.11.2017 um 17:36 schrieb Rick Harrison via use-livecode >: >> >> Hi Ralph, >> >> It looks to me that they did it this way >> because there isn?t any automatic >> way to check for a valid license >> the same way as the paid version >> of LiveCode works. As you say, the >> commercial version of LC server >> lacks the GUI which would make >> that auto-validation step possible. >> >> A list of the differences between >> the community version and the >> commercial version would be >> useful so users can see what if >> anything they are missing by not >> having the paid version of LC. >> (It might be an incentive for those >> who do not yet have a paid version.) >> >> I have to download my new commercial >> version and install it. >> >> Thanks, >> >> Rick >> >>> On Nov 20, 2017, at 10:34 AM, Ralph DiMola via use-livecode > wrote: >>> >>> There is no license registration for LC server because there is no GUI. You only have the rights to use the commercial server if you have paid version of LC. This way only account holders with the proper license can download the commercial server. >>> >>> 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 Rick Harrison via use-livecode >>> Sent: Monday, November 20, 2017 10:28 AM >>> To: How to use LiveCode >>> Cc: Rick Harrison >>> Subject: Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-) >>> >>> Hi Matthias, >>> >>> I have been downloading everything from the downloads page for so long that I hardly ever visit my Livecode account page. Apparently now there is a separate tab just for server which has a password attached. Why this appears to be the exception to the rule of getting everything from the downloads page is anyone?s guess. >>> >>> Is there any difference between the >>> community version and the commercial >>> version of server other than the license? >>> Where would I find a list of those >>> differences if it exists somewhere? >>> >>> Thank you for getting back to me! >>> >>> Rick >>> >>>> On Nov 19, 2017, at 5:05 PM, Matthias Rebbe via use-livecode wrote: >>>> >>>> Rick, >>>> >>>> if you have an Indy or Business license of Livecode , then you should find the commercial license of LcServer in your Livcode account. >>>> >>>> Regards, >>>> >>>> Matthias >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Nov 20 19:59:20 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 20 Nov 2017 16:59:20 -0800 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: References: Message-ID: <151df254-30c7-7ecb-ce89-e24a3538684e@fourthworld.com> Alex Tweedly wrote: > P.S. I'm not convinced by the original claim either. To me, "integral > part" cannot be implied by use of a web api. If it can, I look forward > to writing an app with the Community version that uses Google's maps > api - and the subsequent claim that Google's code is all subject to > GPL :-) True, the GPL does not consider access across a network to be "distribution" per se. After all, the code never leaves the server. This is how MySQL is available at most hosting companies. The proprietary edition of LiveCode Server would only be needed in cases where you plan to distribute the server engine along with your scripts for use by a customer on their own server. If one wants a GPL-flavored license which does include network access as a protected class of use, the GNU Affero General Public License (AGPL) can be a good choice: -- 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 jemirandav at gmail.com Mon Nov 20 23:34:23 2017 From: jemirandav at gmail.com (Javier Miranda) Date: Tue, 21 Nov 2017 00:34:23 -0400 Subject: =?UTF-8?Q?SQLite_=2Eimport_can=C2=B4t_make_it_work?= Message-ID: Friends, please inspect this short script: *local* tDBPath, tCSVPath *on* mouseUp *put* specialFolderPath("documents") & "/aguacab.sqlite" into tDBPath *put* revOpenDatabase("sqlite", tDBPath, , , , ) into gConnID *-- Crea Tabla* *put* "CREATE TABLE asociados (codi char(5), nombre char(120))" into tSQL revExecuteSQL gConnID, tSQL *-- Llena tabla con datos.csv* *put* specialFolderPath("documents") & "/datos.csv" into tCSVPath *put* ".mode csv" into tSQL revExecuteSQL gConnID, tSQL *put* ".import " & tCSVPath & " asociados" into tSQL *put* tSQL revExecuteSQL gConnID, tSQL *end* mouseUp From jemirandav at gmail.com Mon Nov 20 23:44:42 2017 From: jemirandav at gmail.com (Javier Miranda) Date: Tue, 21 Nov 2017 00:44:42 -0400 Subject: =?UTF-8?Q?SQLite_=2Eimport_can=C2=B4t_make_it_work?= Message-ID: Please excuse me, a minute ago I inadvertedly sent a previous message that I did not finish to redact. The script I sent creates de database (aguacab.sqlite), also it creates the table asociados, but fails to fill the table with data from the CSV file datos.csv. I am certain datos.csv exist in the specified location also I am certain that it contains data. This is the portion of the script that is not working: *put* specialFolderPath("documents") & "/datos.csv" into tCSVPath *put* ".mode csv" into tSQL revExecuteSQL gConnID, tSQL *put* ".import " & tCSVPath & " asociados" into tSQL revExecuteSQL gConnID, tSQL Your help will be appreciated. Resolving this issue will enable me to populate a datagrid, perform modifications there and update the database to later try everything to compile a mobile app. Saludos, Javier From matthias_livecode_150811 at m-r-d.de Tue Nov 21 05:23:59 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 21 Nov 2017 11:23:59 +0100 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: <151df254-30c7-7ecb-ce89-e24a3538684e@fourthworld.com> References: <151df254-30c7-7ecb-ce89-e24a3538684e@fourthworld.com> Message-ID: > Am 21.11.2017 um 01:59 schrieb Richard Gaskin via use-livecode >: > > > True, the GPL does not consider access across a network to be "distribution" per se. After all, the code never leaves the server. This is how MySQL is available at most hosting companies. > > The proprietary edition of LiveCode Server would only be needed in cases where you plan to distribute the server engine along with your scripts for use by a customer on their own server. > > If one wants a GPL-flavored license which does include network access as a protected class of use, the GNU Affero General Public License (AGPL) can be a good choice: > > > Richard, just out of interest: Is that part of the Livecode FAQs wrong? The wording regarding apps needing additional code on a server to work is this: Q: My App uses code running on a server in order to work, do I need to publish that code as part of the app? A: If your code on the server is an integral part of making your LiveCode based software work then it is linked with the app, and forms a part of the code you must release if you are using LiveCode Community. This would apply in the same way if you were using LiveCode as a front-end to a command-line utility, linking it via shell(). In general, if any part of your app is released under the GPL license, all of it needs to be GPL, you cannot mix open and closed source in your app. Regards, Matthias Matthias Rebbe Tel +49 5741 310000 ?https://matthiasrebbe.eu ? From ambassador at fourthworld.com Tue Nov 21 10:30:53 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Nov 2017 07:30:53 -0800 Subject: Rant on my favourite topics : LC server with a side-dish of on-rev :-) In-Reply-To: References: Message-ID: <0c1986b5-82ed-5518-33c9-cfe48611295b@fourthworld.com> Thanks for bringing that to my attention, Matthias. I've sent a note to Kevin suggesting clarification on that FAQ item. Most hosting companies make MySQL available under its GPL license, and the Free Software Foundation created the AGPL specifically for the use case described. I suspect all that's needed for that FAQ item is to clarify that either: a) that description applies to apps that are truly distributed; b) LC Server Community Edition is licensed under AGPL (I don't believe it is, but I haven't checked its license in a while). -- Richard Gaskin Fourth World Systems Matthias Rebbe wrote: >> Am 21.11.2017 um 01:59 schrieb Richard Gaskin wrote: >> >> True, the GPL does not consider access across a network to be >> "distribution" per se. After all, the code never leaves the >> server. This is how MySQL is available at most hosting companies. >> >> The proprietary edition of LiveCode Server would only be needed in >> cases where you plan to distribute the server engine along with >> your scripts for use by a customer on their own server. >> >> If one wants a GPL-flavored license which does include network access >> as a protected class of use, the GNU Affero General Public License >> (AGPL) can be a good choice: >> > >> > > Richard, > > just out of interest: > > Is that part of the Livecode FAQs wrong? > > The wording regarding apps needing additional code on a server to work > is this: > Q: My App uses code running on a server in order to work, do I need to > publish that code as part of the app? > A: If your code on the server is an integral part of making your > LiveCode based software work then it is linked with the app, and forms > a part of the code you must release if you are using LiveCode > Community. This would apply in the same way if you were using LiveCode > as a front-end to a command-line utility, linking it via shell(). > In general, if any part of your app is released under the GPL license, > all of it needs to be GPL, you cannot mix open and closed source in > your app. > > Regards, > Matthias From ahsoftware at sonic.net Tue Nov 21 15:36:39 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 21 Nov 2017 12:36:39 -0800 Subject: Black Friday mac app bundle Message-ID: <0513b3be-eb45-eed5-7b3f-c0d9fbbad315@sonic.net> This looks like a very good deal. I'm springing for it even though I don't have a need for all the apps. I've been working with Bootstrap lately and had my eye on Flux 7 anyway. Oh... and 15% off even that with code GIFTSHOP15 https://store.boingboing.net/sales/the-legendary-black-friday-mac-bundle-ft-pdf-expert?rid=2815219 -- Mark Wieder ahsoftware at gmail.com From paul at livecode.org Tue Nov 21 17:09:27 2017 From: paul at livecode.org (Paul Hibbert) Date: Tue, 21 Nov 2017 14:09:27 -0800 Subject: Black Friday mac app bundle In-Reply-To: <0513b3be-eb45-eed5-7b3f-c0d9fbbad315@sonic.net> References: <0513b3be-eb45-eed5-7b3f-c0d9fbbad315@sonic.net> Message-ID: If you are just looking for Flux, this may be a better deal? https://bundlehunt.com Paul > On 21 Nov 2017, at 12:36, Mark Wieder via use-livecode wrote: > > This looks like a very good deal. I'm springing for it even though I don't have a need for all the apps. I've been working with Bootstrap lately and had my eye on Flux 7 anyway. > > Oh... and 15% off even that with code GIFTSHOP15 > > https://store.boingboing.net/sales/the-legendary-black-friday-mac-bundle-ft-pdf-expert?rid=2815219 > > -- > 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 Tue Nov 21 19:28:36 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 21 Nov 2017 16:28:36 -0800 Subject: Black Friday mac app bundle In-Reply-To: References: <0513b3be-eb45-eed5-7b3f-c0d9fbbad315@sonic.net> Message-ID: <049057cc-2ce0-1091-e117-6c3b21f62dc3@sonic.net> On 11/21/2017 02:09 PM, Paul Hibbert via use-livecode wrote: > If you are just looking for Flux, this may be a better deal? Thanks - that looks interesting too, but the combination of Flux and Stylizer and PDF Expert meets my current needs quite nicely. -- Mark Wieder ahsoftware at gmail.com From christer at mindcrea.com Wed Nov 22 03:32:18 2017 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Wed, 22 Nov 2017 10:32:18 +0200 Subject: Apps or via browser using HTML5 Message-ID: <26059A4F-8030-481E-9C62-4D82C392DA75@mindcrea.com> It might be this discussion has already been on this list. Recently I have seen and heard future views on the time of apps running in the users' devices getting past in a few years. This means the apps run in servers and use standard browsers running HTML5 and an efficient language snippets sent to the browser to manage the user interaction between the device and the application running in the server. Obviously this scenario is assuming there would be the de facto language, now JavaScript, to support it. I find a few problems here. One is the devices will always have non-standard functionality, because the development of the world doesn't stop, further forcing the development of the interim language as well. Second, your application will not be able to use the best features of the user's device, be it screen density, size, form or other jingles and bells, as you are limited to work to meet the needs in the most popular devices only. In essence you have to implement your app in the server in a few versions of these different devices anyway. Third, the bandwidth in comms is limiting the complexity of the displayed graphics; despite of 4G/LTE the operators have strangled the channels due to the fact they cannot expand the networks at the speed the demand is growing especially due to the growth of the use of streaming videos; this has taken place in the leading countries of mobile data usage. Fourth, regarding the development of applications using LiveCode, will the most of my efforts go into maintaining the interim language scripts or putting the most of the time into developing the app of my great idea. Finally, when would be the time LiveCode server would allow me to use all the API's, widgets etc what I have available at the device level today, and what would it cost to me to run everything in the server? Just wanted to see if there is interest on this topic in this user group. rgds christer From MikeKerner at roadrunner.com Wed Nov 22 11:23:27 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 22 Nov 2017 11:23:27 -0500 Subject: Apps or via browser using HTML5 In-Reply-To: <26059A4F-8030-481E-9C62-4D82C392DA75@mindcrea.com> References: <26059A4F-8030-481E-9C62-4D82C392DA75@mindcrea.com> Message-ID: We have had this discussion multiple times, on both this list and in the forums, if memory serves. On Wed, Nov 22, 2017 at 3:32 AM, Pyyhti? Christer via use-livecode < use-livecode at lists.runrev.com> wrote: > It might be this discussion has already been on this list. > > Recently I have seen and heard future views on the time of apps running in > the users' devices getting past in a few years. This means the apps run in > servers and use standard browsers running HTML5 and an efficient language > snippets sent to the browser to manage the user interaction between the > device and the application running in the server. Obviously this scenario > is assuming there would be the de facto language, now JavaScript, to > support it. > > I find a few problems here. One is the devices will always have > non-standard functionality, because the development of the world doesn't > stop, further forcing the development of the interim language as well. > Second, your application will not be able to use the best features of the > user's device, be it screen density, size, form or other jingles and bells, > as you are limited to work to meet the needs in the most popular devices > only. In essence you have to implement your app in the server in a few > versions of these different devices anyway. Third, the bandwidth in comms > is limiting the complexity of the displayed graphics; despite of 4G/LTE the > operators have strangled the channels due to the fact they cannot expand > the networks at the speed the demand is growing especially due to the > growth of the use of streaming videos; this has taken place in the leading > countries of mobile data usage. Fourth, regarding the development of > applications using LiveCode, will the most of my efforts go into > maintaining the interim language scripts or putting the most of the time > into developing the app of my great idea. Finally, when would be the time > LiveCode server would allow me to use all the API's, widgets etc what I > have available at the device level today, and what would it cost to me to > run everything in the server? > > Just wanted to see if there is interest on this topic in this user group. > > rgds > christer > _______________________________________________ > use-livecode mailing list > use-livecode 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 rdimola at evergreeninfo.net Wed Nov 22 15:27:38 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Nov 2017 15:27:38 -0500 Subject: libUrl tsNet and socketTimeoutInterval In-Reply-To: References: <26059A4F-8030-481E-9C62-4D82C392DA75@mindcrea.com> Message-ID: <000001d363d0$746b1ac0$5d415040$@net> libURL now using tsNet is a great addition to v8 but it seems to have broken my code without warning unless I missed this warning in the release notes. I seems that when tsNet was included in v8 the property socketTimeoutInterval does nothing when doing ==> put url("https://"&pURL&":"&pPort) into tWebData <==. This explains a few reported app hangs. In the IDE tried ==> dispatch "revUnloadLibrary" to stack "tsNetLibURL" <== but socketTimeoutInterval still does nothing. Ran the stack in 7.1.4 and socketTimeoutInterval works as expected. It's my understanding that when tsNet is unloaded libUrl falls back to using sockets and the socketTimeoutInterval property should be respected. I'm using 8.1.7 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From charles at techstrategies.com.au Wed Nov 22 23:16:39 2017 From: charles at techstrategies.com.au (Charles Warwick) Date: Thu, 23 Nov 2017 14:16:39 +1000 Subject: libUrl tsNet and socketTimeoutInterval In-Reply-To: <000001d363d0$746b1ac0$5d415040$@net> References: <26059A4F-8030-481E-9C62-4D82C392DA75@mindcrea.com> <000001d363d0$746b1ac0$5d415040$@net> Message-ID: <73BBFC0F-8DD3-4331-B7D0-0A010F9FDF7E@techstrategies.com.au> Hi Ralph, You are correct, as tsNet does not use the standard LiveCode sockets, it does not pay attention to the socketTimeoutInterval. However, rather than disabling tsNet, you can resolve any app hangs related to socket timeouts by using the tsNetSetTimeouts command which allows you to control how long the external will wait before considering a connection lost. Have a look at the following bug report which is about a similar issue: http://quality.livecode.com/show_bug.cgi?id=20627 Effectively the last two parameters to that command allow you to set a minimum amount of data that must be transferred across a connection within a specified period of time to consider a connection still active. Having said that, when tsNet is disabled, libUrl should continue to pay attention to the socketTimeoutInterval property. I have just done quick test on LC8.2.0dp2 and if I set the socketTimeoutInterval before making a ?put URL xxx? call to a script that deliberately doesn?t respond in time, the request times out after the time specified by the socketTimeoutInterval call and returns a result of ?socket timeout?. Regards, Charles > On 23 Nov 2017, at 6:27 am, Ralph DiMola via use-livecode wrote: > > libURL now using tsNet is a great addition to v8 but it seems to have broken my code without warning unless I missed this warning in the release notes. I seems that when tsNet was included in v8 the property socketTimeoutInterval does nothing when doing ==> put url("https://"&pURL&":"&pPort) into tWebData <==. This explains a few reported app hangs. In the IDE tried ==> dispatch "revUnloadLibrary" to stack "tsNetLibURL" <== but socketTimeoutInterval still does nothing. Ran the stack in 7.1.4 and socketTimeoutInterval works as expected. It's my understanding that when tsNet is unloaded libUrl falls back to using sockets and the socketTimeoutInterval property should be respected. > > I'm using 8.1.7 > > 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 mazzapaoloitaly at gmail.com Thu Nov 23 04:25:33 2017 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Thu, 23 Nov 2017 10:25:33 +0100 Subject: sync LC applications In-Reply-To: References: <8A9C9B3A-F703-4BF1-B6E6-BE32F83C0880@netrin.com> <72C8595F-8B21-467E-8CC3-CCBFFD6E2547@all-auctions.com> Message-ID: Mike wrote: > You can use push without having a notification > to the user or setting a badge. The app will receive the notification and > act on it, provided that the app is up and running on the phone. I've used > this technique for five years, I think. Hi Mike, i am interested in your solution. Can you share a sample or any kind of documentation of this technique ? Can I send a notification to several devices (running the app on the phone) at the same time? Thanks, Paolo From mazzapaoloitaly at gmail.com Thu Nov 23 09:16:40 2017 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Thu, 23 Nov 2017 15:16:40 +0100 Subject: sync LC applications In-Reply-To: References: <8A9C9B3A-F703-4BF1-B6E6-BE32F83C0880@netrin.com> <72C8595F-8B21-467E-8CC3-CCBFFD6E2547@all-auctions.com> Message-ID: <3C345D5D-03E6-4998-9D2A-15646BC2EB24@gmail.com> Hi all, I went through this tutorial about push notifications http://lessons.livecode.com/m/4069/l/59312-how-do-i-use-push-notifications-with-android According to some comments, this technique is is out of date now, because C2DM has been officially deprecated as of June 26, 2012. How can we proceed now? All the best Paolo > Il giorno 23 nov 2017, alle ore 10:25, paolo mazza ha scritto: > > Mike wrote: >> You can use push without having a notification >> to the user or setting a badge. The app will receive the notification and >> act on it, provided that the app is up and running on the phone. I've used >> this technique for five years, I think. > > > Hi Mike, > i am interested in your solution. > > Can you share a sample or any kind of documentation of this technique ? > > Can I send a notification to several devices (running the app on the phone) at the same time? > > Thanks, > > Paolo From panos.merakos at livecode.com Thu Nov 23 10:12:25 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 23 Nov 2017 15:12:25 +0000 Subject: [ANN] Release 8.1.8 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.1.8 RC-2. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8.1.8 RC-2 contains the following regression fixes: - Bug 20670 - Issue with multiple iOS simulators in Xcode9+ - Bug 20671 - Number isn't always seen as a number Since the last stable version (8.1.7), more than 35 bugs have been fixed. The full release notes are available from: http://downloads.livecode.com/livecode/8_1_8/LiveCodeNotes-8_1_8_rc_2.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ Have fun! The LiveCode Team -- From mark at livecode.com Thu Nov 23 11:35:43 2017 From: mark at livecode.com (Mark Waddingham) Date: Thu, 23 Nov 2017 17:35:43 +0100 Subject: Specialty Fonts on Mobile -- =?UTF-8?Q?OK=3F=20or=20Stay=20Aw?= =?UTF-8?Q?ay=3F?= In-Reply-To: <20171116145342.Horde.-5tHNMimo5wwM1ZOsxGokQU@ua850258.serversignin.com> References: <20171116145342.Horde.-5tHNMimo5wwM1ZOsxGokQU@ua850258.serversignin.com> Message-ID: <325bb236cc2e8a044a2f9243316d1024@livecode.com> On 2017-11-16 15:53, Andrew Bell via use-livecode wrote: > I've had some issues with my custom fonts not being displayed in iOS > when I build using LC9. I'm assuming the font files are getting stored > in a different location but haven't seen anything in the release > notes and haven't had a chance to look into the issue much since the > same exact stack builds find in LC8. This is bug http://quality.livecode.com/show_bug.cgi?id=19358 - which I have just fixed (to appear in 9DP11). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From capellan2000 at gmail.com Thu Nov 23 12:26:50 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 23 Nov 2017 12:26:50 -0500 Subject: [OT] Blind Deconvolution Algorithm Message-ID: Today I learned about this impressive image processing algorithm named Blind Deconvolution: Theory: http://yuzhikov.com/articles/BlurredImagesRestoration1.htm Practice: http://yuzhikov.com/articles/BlurredImagesRestoration2.htm Check the examples: (Text defocus blur is eye-opening. Look for the example named "Large Defocus blur") http://smartdeblur.net/gallery.html Now I have to find if Neural Networks could be trained for this task with better results. :-) Al From dangmacguy at gmail.com Thu Nov 23 15:27:34 2017 From: dangmacguy at gmail.com (Bruce Pokras) Date: Thu, 23 Nov 2017 15:27:34 -0500 Subject: Replacetext taking forever under 8.1.7 In-Reply-To: References: <8b3f7f9c-7c0d-8cc0-d2df-2b1353849f9f@fourthworld.com> Message-ID: <00116AB8-552D-4DD6-ABE3-4852DE36B34E@gmail.com> I am trying to port a stack that runs fine under Livecode 7.1.4 to Livecode 8.1.7 in order to take advantage of 8.1.7?s 64-bit standalone app capability for Mac OS X ?High Sierra". That is when I found that under either Yosemite or High Sierra a ?replacetext" action takes over 20 minutes under 8.1.7 while under 7.1.4 it takes less than one second! The replacetext is to remove extra spaces in a 60,000 line (1.9 million character) variable, and looks like this: put replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt Under 8.1.7 I get the dreaded spinning beachball, although the replacetext action eventually finishes (after 20 minutes), and the script then runs to completion. Any ideas about causes and cures for this issue? Regards, Bruce Pokras Blazing Dawn Software www.blazingdawn.com From andre at andregarzia.com Thu Nov 23 17:08:25 2017 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 23 Nov 2017 20:08:25 -0200 Subject: Anyone can confirm laggy IDE on Windows 10? Message-ID: Hey Friends, Recently I switched to a Surface 4 Pro running Windows 10. It is a quite decent machine with an i5 and 8gb of RAM but I barelly can use LiveCode in it because the IDE is extremelly laggy/slow. Just so that you know, it was a cold night here and I preferred to close my machine, walk all the way to my office couple blocks away to fetch my mac and go back home then keep using it on Windows. Thats how slow it is for me. No other application is performing badly and yes, I tried running only it without no other program competing for resources. The symptoms I have are: * Failure to register keystrokes in the script editor. * Failure for UI elements to react to clicks. * Failure for shortcuts to activate desired behavior such as opening messagebox and other similar things. Basically unless I take half a second between pressing keyboard keys to type the script, it will miss half the text. This is happening on all LC versions I have here which are 9.x and 8.x (PS: Checked the pending messages and apparently there is nothing there, I suspected a recurring message hogging up CPU time but thats not the case) (PS 2: The LC IDE is extremelly slow but all the rest of the machine and apps behave fine, the CPU is not going to high usage, things appear fine, they just don't work) Can someone help? Andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From ahsoftware at sonic.net Thu Nov 23 17:58:44 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 23 Nov 2017 14:58:44 -0800 Subject: Anyone can confirm laggy IDE on Windows 10? In-Reply-To: References: Message-ID: On 11/23/2017 02:08 PM, Andre Garzia via use-livecode wrote: > Hey Friends, > > Recently I switched to a Surface 4 Pro running Windows 10. My condolences. Did you install LC for all users or just for yourself? Do you have Process Lasso installed? -- Mark Wieder ahsoftware at gmail.com From toolbook at kestner.de Fri Nov 24 05:40:52 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 24 Nov 2017 11:40:52 +0100 Subject: AW: Anyone can confirm laggy IDE on Windows 10? In-Reply-To: References: Message-ID: <004001d36510$b42ff400$1c8fdc00$@kestner.de> Hi Andre, No, I am using LC 6/7/8 on Windows 10 without notable lack of response. It must be something very specific in your installation. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Andre Garzia via use-livecode Gesendet: Donnerstag, 23. November 2017 23:08 An: How to use LiveCode Cc: Andre Garzia Betreff: Anyone can confirm laggy IDE on Windows 10? Hey Friends, Recently I switched to a Surface 4 Pro running Windows 10. It is a quite decent machine with an i5 and 8gb of RAM but I barelly can use LiveCode in it because the IDE is extremelly laggy/slow. Just so that you know, it was a cold night here and I preferred to close my machine, walk all the way to my office couple blocks away to fetch my mac and go back home then keep using it on Windows. Thats how slow it is for me. No other application is performing badly and yes, I tried running only it without no other program competing for resources. The symptoms I have are: * Failure to register keystrokes in the script editor. * Failure for UI elements to react to clicks. * Failure for shortcuts to activate desired behavior such as opening messagebox and other similar things. Basically unless I take half a second between pressing keyboard keys to type the script, it will miss half the text. This is happening on all LC versions I have here which are 9.x and 8.x (PS: Checked the pending messages and apparently there is nothing there, I suspected a recurring message hogging up CPU time but thats not the case) (PS 2: The LC IDE is extremelly slow but all the rest of the machine and apps behave fine, the CPU is not going to high usage, things appear fine, they just don't work) Can someone help? Andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. _______________________________________________ use-livecode mailing list use-livecode at 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 Fri Nov 24 10:17:14 2017 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 24 Nov 2017 13:17:14 -0200 Subject: Anyone can confirm laggy IDE on Windows 10? In-Reply-To: References: Message-ID: auhahuauh loved the "my condolences" part... let me tell you something more shocking, I am actually enjoying the surface more than my macs... it is a strange feeling of happiness and shame. I installed LC for all users and I have no idea what Process Lasso is... On Thu, Nov 23, 2017 at 8:58 PM, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/23/2017 02:08 PM, Andre Garzia via use-livecode wrote: > >> Hey Friends, >> >> Recently I switched to a Surface 4 Pro running Windows 10. >> > > My condolences. > > Did you install LC for all users or just for yourself? > Do you have Process Lasso installed? > > -- > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From toolbook at kestner.de Fri Nov 24 10:52:17 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 24 Nov 2017 16:52:17 +0100 Subject: AW: Anyone can confirm laggy IDE on Windows 10? In-Reply-To: References: Message-ID: <00ae01d3653c$34e08990$9ea19cb0$@kestner.de> I also have installed it "for all users". That?s not the issue -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Andre Garzia via use-livecode Gesendet: Freitag, 24. November 2017 16:17 An: How to use LiveCode Cc: Andre Garzia Betreff: Re: Anyone can confirm laggy IDE on Windows 10? auhahuauh loved the "my condolences" part... let me tell you something more shocking, I am actually enjoying the surface more than my macs... it is a strange feeling of happiness and shame. I installed LC for all users and I have no idea what Process Lasso is... On Thu, Nov 23, 2017 at 8:58 PM, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/23/2017 02:08 PM, Andre Garzia via use-livecode wrote: > >> Hey Friends, >> >> Recently I switched to a Surface 4 Pro running Windows 10. >> > > My condolences. > > Did you install LC for all users or just for yourself? > Do you have Process Lasso installed? > > -- > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bodine at bodinetraininggames.com Fri Nov 24 15:26:49 2017 From: bodine at bodinetraininggames.com (tbodine) Date: Fri, 24 Nov 2017 13:26:49 -0700 (MST) Subject: Anyone can confirm laggy IDE on Windows 10? In-Reply-To: References: Message-ID: <1511555209234-0.post@n4.nabble.com> On Win 10, I use LC 7.1.4 routinely and LC 8.1.x occasionally. In my experience, LC v7 runs as smoothly as it did on Windows 7. But LC 8.x is very hard to use with its slow script editor. Even dragging controls from the palette to the card is spotty. Fortunately, my major project codebase is in LC 7.1.4. My two cents, Tom B. -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From matthias_livecode_150811 at m-r-d.de Fri Nov 24 16:51:45 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 24 Nov 2017 22:51:45 +0100 Subject: Anyone can confirm laggy IDE on Windows 10? In-Reply-To: References: Message-ID: <0FD39115-4065-49DB-B93F-C66DFA389506@m-r-d.de> > > I installed LC for all users and I have no idea what Process Lasso is? > A little excerpt from https://bitsum.com what the tool Process Lasso is "Windows, by design, allows programs to monopolize your CPU ? leading to hangs, micro-lags, freezing (even crashing) and delays in your keystroke and/or mouse actions.Process Lasso is NOT yet another task manager? Instead, it is an advanced process priority optimization and system automation utility. It offers process priority optimization, CPU core affinity optimization, power plan automation, automated rules, and so much more; you name it (within this area), and Process Lasso does it!" From nabble at mad.pink Sat Nov 25 10:13:52 2017 From: nabble at mad.pink (pink) Date: Sat, 25 Nov 2017 08:13:52 -0700 (MST) Subject: ArrayToJSON in LCServer ? In-Reply-To: <5ca4fd4b-279a-7542-4350-59ccaf765310@tweedly.net> References: <5ca4fd4b-279a-7542-4350-59ccaf765310@tweedly.net> Message-ID: <1511622832748-0.post@n4.nabble.com> ArrayToJSON is from the mergJSON external... so in order for you to use it, you would need to be able to access the external through your server installation. I don't know if that is possible... My recommendation would be to use a library such as fastJSON. I use fastJSON with LC Server all the time without issue. ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From nabble at mad.pink Sat Nov 25 10:24:49 2017 From: nabble at mad.pink (pink) Date: Sat, 25 Nov 2017 08:24:49 -0700 (MST) Subject: New Books/Dictionary Message-ID: <1511623489827-0.post@n4.nabble.com> Will it be possible to buy electronic versions of the new dictionary and lessons book? ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From richmondmathewson at gmail.com Sat Nov 25 11:19:12 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 25 Nov 2017 18:19:12 +0200 Subject: New Books/Dictionary In-Reply-To: <1511623489827-0.post@n4.nabble.com> References: <1511623489827-0.post@n4.nabble.com> Message-ID: Why would anyone want to buy an electronic version of the new dictionary when it comes rolled into every version of Livecode? Richmond. On 25/11/17 5:24 pm, pink via use-livecode wrote: > Will it be possible to buy electronic versions of the new dictionary and > lessons book? > > > > ----- > --- > Greg (pink) Miller > mad, pink and dangerous to code > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Sat Nov 25 12:34:07 2017 From: sean at pidigital.co.uk (Pi Digital) Date: Sat, 25 Nov 2017 17:34:07 +0000 Subject: New Books/Dictionary In-Reply-To: References: <1511623489827-0.post@n4.nabble.com> Message-ID: <95077E97-8AE9-4AA0-BCEE-8E9E3F2B8B22@pidigital.co.uk> Coz it sucks at searching for one thing! For another, it?s nice to have it on a device to the side of you rather than swapping on the pc desktop. Greg, I?m making a little app for it that will be made freely available as soon as possible. If it works really well I?m going to make it a stack for inclusion with LC as the current one is tiresome. #therehastobeabetterway Sean Cole Pi Digital > On 25 Nov 2017, at 16:19, Richmond Mathewson via use-livecode wrote: > > Why would anyone want to buy an electronic version of the new dictionary > when it comes rolled into every version of Livecode? > > Richmond. > >> On 25/11/17 5:24 pm, pink via use-livecode wrote: >> Will it be possible to buy electronic versions of the new dictionary and >> lessons book? >> >> >> >> ----- >> --- >> Greg (pink) Miller >> mad, pink and dangerous to code >> -- >> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sat Nov 25 12:54:31 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Nov 2017 12:54:31 -0500 Subject: New Books/Dictionary In-Reply-To: <95077E97-8AE9-4AA0-BCEE-8E9E3F2B8B22@pidigital.co.uk> References: <1511623489827-0.post@n4.nabble.com> <95077E97-8AE9-4AA0-BCEE-8E9E3F2B8B22@pidigital.co.uk> Message-ID: have you tried tinydict? On Sat, Nov 25, 2017 at 12:34 PM, Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > Coz it sucks at searching for one thing! For another, it?s nice to have it > on a device to the side of you rather than swapping on the pc desktop. > > Greg, I?m making a little app for it that will be made freely available as > soon as possible. If it works really well I?m going to make it a stack for > inclusion with LC as the current one is tiresome. > #therehastobeabetterway > > Sean Cole > Pi Digital > > > On 25 Nov 2017, at 16:19, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Why would anyone want to buy an electronic version of the new dictionary > > when it comes rolled into every version of Livecode? > > > > Richmond. > > > >> On 25/11/17 5:24 pm, pink via use-livecode wrote: > >> Will it be possible to buy electronic versions of the new dictionary and > >> lessons book? > >> > >> > >> > >> ----- > >> --- > >> Greg (pink) Miller > >> mad, pink and dangerous to code > >> -- > >> Sent from: http://runtime-revolution.278305.n4.nabble.com/ > Revolution-User-f278306.html > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode 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 brian at milby7.com Sat Nov 25 13:30:55 2017 From: brian at milby7.com (Brian Milby) Date: Sat, 25 Nov 2017 18:30:55 +0000 Subject: New Books/Dictionary In-Reply-To: <95077E97-8AE9-4AA0-BCEE-8E9E3F2B8B22@pidigital.co.uk> References: <1511623489827-0.post@n4.nabble.com> <95077E97-8AE9-4AA0-BCEE-8E9E3F2B8B22@pidigital.co.uk> Message-ID: Are you just talking about the lack of full text search? The dictionary seems to work ok on my iPad (served from my server). CSS and HTML need more tweaks to work well on a phone sized device. On Sat, Nov 25, 2017 at 11:34 AM Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > Coz it sucks at searching for one thing! For another, it?s nice to have it > on a device to the side of you rather than swapping on the pc desktop. > > Greg, I?m making a little app for it that will be made freely available as > soon as possible. If it works really well I?m going to make it a stack for > inclusion with LC as the current one is tiresome. > #therehastobeabetterway > > Sean Cole > Pi Digital > > > On 25 Nov 2017, at 16:19, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Why would anyone want to buy an electronic version of the new dictionary > > when it comes rolled into every version of Livecode? > > > > Richmond. > > > >> On 25/11/17 5:24 pm, pink via use-livecode wrote: > >> Will it be possible to buy electronic versions of the new dictionary and > >> lessons book? > >> > >> > >> > >> ----- > >> --- > >> Greg (pink) Miller > >> mad, pink and dangerous to code > >> -- > >> Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Nov 25 13:39:12 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 25 Nov 2017 20:39:12 +0200 Subject: New Books/Dictionary In-Reply-To: <95077E97-8AE9-4AA0-BCEE-8E9E3F2B8B22@pidigital.co.uk> References: <1511623489827-0.post@n4.nabble.com> <95077E97-8AE9-4AA0-BCEE-8E9E3F2B8B22@pidigital.co.uk> Message-ID: <2cf24f40-23d4-f7f8-b230-be411f9af098@gmail.com> Dunno about that: I use the LiveCode dictionary that I got through the Android store for nix on my cheap-N-nasty Android tablet :) Richmond. On 25/11/17 7:34 pm, Pi Digital via use-livecode wrote: > Coz it sucks at searching for one thing! For another, it?s nice to have it on a device to the side of you rather than swapping on the pc desktop. > > Greg, I?m making a little app for it that will be made freely available as soon as possible. If it works really well I?m going to make it a stack for inclusion with LC as the current one is tiresome. > #therehastobeabetterway > > Sean Cole > Pi Digital > >> On 25 Nov 2017, at 16:19, Richmond Mathewson via use-livecode wrote: >> >> Why would anyone want to buy an electronic version of the new dictionary >> when it comes rolled into every version of Livecode? >> >> Richmond. >> >>> On 25/11/17 5:24 pm, pink via use-livecode wrote: >>> Will it be possible to buy electronic versions of the new dictionary and >>> lessons book? >>> >>> >>> >>> ----- >>> --- >>> Greg (pink) Miller >>> mad, pink and dangerous to code >>> -- >>> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Sat Nov 25 15:00:12 2017 From: jiml at netrin.com (Jim Lambert) Date: Sat, 25 Nov 2017 12:00:12 -0800 Subject: sync LC applications In-Reply-To: References: Message-ID: <44076A6E-F501-4999-999E-280AB854925F@netrin.com> > Paolo wrote: > > I went through this tutorial about push notifications > ... > According to some comments, this technique is is out of date now, because C2DM has been officially deprecated as of June 26, 2012. Wouldn?t it be nice if the lessons and any other coding examples posted by the Mothership contained a prominent field stating the current viability of that lesson. Also the lesson?s compatibility/incompatibility with various LC versions. Perhaps several fields, something akin to the dictionary?s Edition, Introduced, OS & Platforms fields. And if a technique has been deprecated a link to the current alternative technique, if any. Ditto for extensions & widgets. Jim Lambert From dan at clearvisiontech.com Sat Nov 25 16:16:11 2017 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 25 Nov 2017 21:16:11 +0000 Subject: Printing A Browser Message-ID: <19EF7716-AF6C-43F2-B918-E661F660FFA6@clearvisiontech.com> Greetings! I have a some rather involved tables to create and print. The best way I can think to do this is in html as a browser will scale columns and rows for me. Now, I know you can?t print a browser widget (which is really too bad), but you can print a browser object. However, I can?t find any information about printing properties (like printMargins or orientation for example). Am I missing something? Or is printing from a LiveCode browser a ?you get what you get (and just be happy you got what you got)? kind of thing? Thank you in advance, -Dan From hlowe at me.com Sat Nov 25 17:33:37 2017 From: hlowe at me.com (hlowe) Date: Sat, 25 Nov 2017 15:33:37 -0700 (MST) Subject: Printing A Browser In-Reply-To: <19EF7716-AF6C-43F2-B918-E661F660FFA6@clearvisiontech.com> References: <19EF7716-AF6C-43F2-B918-E661F660FFA6@clearvisiontech.com> Message-ID: <1511649217006-0.post@n4.nabble.com> I also use HTML to create and display complex tables with LC (in iOS) and have been looking for a way to (a) save the tables as PDF files and then print the tables (as a PDF). There is a library for creating PDF files from HTML created by Brent Nycum called BNHtmlPdfKit: https://github.com/brentnycum/BNHtmlPdfKit BNHtmlPdfKit can easily create a PDF file from an HTML string or URL. It is also possible to specify different page sizes, and margin sizes. This might make a great extension for LC. Henry Ascriva Health Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From MikeKerner at roadrunner.com Sat Nov 25 19:54:06 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Nov 2017 19:54:06 -0500 Subject: sync LC applications In-Reply-To: <44076A6E-F501-4999-999E-280AB854925F@netrin.com> References: <44076A6E-F501-4999-999E-280AB854925F@netrin.com> Message-ID: That would be a good thing for the community to maintain, I think, too. On Sat, Nov 25, 2017 at 3:00 PM, Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > > Paolo wrote: > > > > I went through this tutorial about push notifications > > ... > > According to some comments, this technique is is out of date now, > because C2DM has been officially deprecated as of June 26, 2012. > > Wouldn?t it be nice if the lessons and any other coding examples posted by > the Mothership contained a prominent field stating the current viability of > that lesson. Also the lesson?s compatibility/incompatibility with various > LC versions. > > Perhaps several fields, something akin to the dictionary?s Edition, > Introduced, OS & Platforms fields. > > And if a technique has been deprecated a link to the current alternative > technique, if any. > > Ditto for extensions & widgets. > > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Sat Nov 25 19:55:29 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 25 Nov 2017 19:55:29 -0500 Subject: sync LC applications In-Reply-To: References: <44076A6E-F501-4999-999E-280AB854925F@netrin.com> Message-ID: @paolo, I don't do push on android, so I can't tell you much about it. I'm doing it on ios. John Craig wrote a stack a long time ago that I have tweaked for the purpose. Somewhere I also have a push server started, but it isn't ready for the rest of the universe (like most things that I work on). On Sat, Nov 25, 2017 at 7:54 PM, Mike Kerner wrote: > That would be a good thing for the community to maintain, I think, too. > > On Sat, Nov 25, 2017 at 3:00 PM, Jim Lambert via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > Paolo wrote: >> > >> > I went through this tutorial about push notifications >> > ... >> > According to some comments, this technique is is out of date now, >> because C2DM has been officially deprecated as of June 26, 2012. >> >> Wouldn?t it be nice if the lessons and any other coding examples posted >> by the Mothership contained a prominent field stating the current viability >> of that lesson. Also the lesson?s compatibility/incompatibility with >> various LC versions. >> >> Perhaps several fields, something akin to the dictionary?s Edition, >> Introduced, OS & Platforms fields. >> >> And if a technique has been deprecated a link to the current alternative >> technique, if any. >> >> Ditto for extensions & widgets. >> >> Jim Lambert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From capellan2000 at gmail.com Sat Nov 25 20:28:33 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 25 Nov 2017 20:28:33 -0500 Subject: New Books/Dictionary Message-ID: Greg Miller wrote: > Will it be possible to buy electronic versions of > the new dictionary and lessons book? Ideally, in a near future, lessons and dictionary would be available as interactive stacks or downloadable apps. Until then, here is a LiveCode 4.6 PDF dictionary, uploaded by et_phone_home: http://www.mediafire.com/file/eteillibdzzcbxc/Livecode++Dictionnaire.pdf I found this pdf dictionary in a forum thread: http://forums.livecode.com/viewtopic.php?t=8430 and Ken Ray's 2.1.2 online Rev documentation for Rev 2.1.2 in PDF, RTF and TXT format: http://www.sonsothunder.com/devres/livecode/downloads.htm By the way, RunRev 2.8.1 dictionary, printed in color coded paper, still have a place in my work desk, along Dan Shafer's first RunRev book. Al From james at thehales.id.au Sun Nov 26 06:15:22 2017 From: james at thehales.id.au (James At The Hale) Date: Sun, 26 Nov 2017 22:15:22 +1100 Subject: New Books/Dictionary Message-ID: <899E5814-A85A-47F2-A4F3-3ACD77C2113D@thehales.id.au> For those wanting an electronic version of the dictionary download Dash (for Mac) or one of its widows or android equivalents and the Dash docset version of the docs. They are at lc9dp10 version and will be updated to dp11 soon after it is released. Searching is very fast, even with the guides. James From richmondmathewson at gmail.com Sun Nov 26 10:29:15 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 26 Nov 2017 17:29:15 +0200 Subject: "export snapshot" still NOT in 8.1.7 Message-ID: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> On a Macintosh. Richmond. From nabble at mad.pink Sun Nov 26 10:35:29 2017 From: nabble at mad.pink (pink) Date: Sun, 26 Nov 2017 08:35:29 -0700 (MST) Subject: New Books/Dictionary In-Reply-To: References: <1511623489827-0.post@n4.nabble.com> Message-ID: <1511710529447-0.post@n4.nabble.com> While I use the internal dictionary (via TinyDict) for quick lookups, there is something nice about having a separate browsable copy on my iPad. Why would I like an electronic version? 1. I can easily make notes, bookmarks and highlights for future reference. 2. I can browse through it on a whim to learn random facts and explore other topics. (I'm a computer geek... this is fun for me) 3. I tend to do most of my programming on my MacBook Air which does not have a lot of real estate, so having one less window open helps. 4. I can just read and learn more about the language apart from the IDE, and in or at places I may not want to bring my laptop. There's more, but I think that covers most of it ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From andrew at midwestcoastmedia.com Sun Nov 26 10:37:40 2017 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Sun, 26 Nov 2017 15:37:40 +0000 Subject: RESTful PUT error Message-ID: <20171126153740.Horde.fT6ULEfqK80sKhrnvPUoaCh@ua850258.serversignin.com> I'm working on connecting to a 3rd-party API (Pipedrive) to a LiveCode app I've done and seem to have a problem; any assistance would be appreciated. Dummy (sandbox) account information has been included with my code sample. I've never used RESTful before, but the API seems pretty well documented and I've had success much faster than anticipated working with the data in LiveCode. It looks like commands are broke down into 3 types: GET (to retrieve data), POST (to create new data), and PUT (to update existing data). I can retrieve data using "put URL tRequestURL1 into tJSONfromPipedrive" I can create new data using "post tJSONtoUpload to url tRequestURL2" But when I try to update data using "put tJSONtoUpload into url tRequestURL2" I get a 400 error from the server. I tried to urlEncode(tJSONtoUpload) but got the same error. Their API includes a sandbox for testing, and my code seems to align with their examples and helped me get my tests in order. I'm just not sure what's wrong with my PUT command. https://developers.pipedrive.com/docs/api/v1/#!/Persons/put_persons_id VARIABLE VALUES: httpHeaders = {"Accept":"application/json"} tRequestURL1 = https://api.pipedrive.com/v1/persons?api_token=ef2c59a67144d185277fee92aa9ede877c6c10ff tRequestURL2 = https://api.pipedrive.com/v1/persons/2?api_token=ef2c59a67144d185277fee92aa9ede877c6c10ff tJSONtoUpload = {"phone":"555-555-5555"} Is there something glaring I'm missing? I can get this to execute on their developer website, but using the same code seems to error out for me in LiveCode 8.2.0dp2 Business. --Andrew Bell From richmondmathewson at gmail.com Sun Nov 26 10:45:11 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 26 Nov 2017 17:45:11 +0200 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> References: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> Message-ID: <9e1b5f63-8987-f35d-84c3-35dadae84673@gmail.com> Nor in 8.1.8 rc 2 Tut, tut! Richmond. On 26/11/17 5:29 pm, Richmond Mathewson wrote: > On a Macintosh. > > Richmond. From roger.e.eller at sealedair.com Sun Nov 26 11:07:45 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 26 Nov 2017 11:07:45 -0500 Subject: RESTful PUT error In-Reply-To: <20171126153740.Horde.fT6ULEfqK80sKhrnvPUoaCh@ua850258.serversignin.com> References: <20171126153740.Horde.fT6ULEfqK80sKhrnvPUoaCh@ua850258.serversignin.com> Message-ID: If I remember correctly, PUT was never implemented in LibUrl. I have only needed GET and POST in my rather limited uses. ~Roger On Nov 26, 2017 10:37 AM, "Andrew Bell via use-livecode" < use-livecode at lists.runrev.com> wrote: I'm working on connecting to a 3rd-party API (Pipedrive) to a LiveCode app I've done and seem to have a problem; any assistance would be appreciated. Dummy (sandbox) account information has been included with my code sample. I've never used RESTful before, but the API seems pretty well documented and I've had success much faster than anticipated working with the data in LiveCode. It looks like commands are broke down into 3 types: GET (to retrieve data), POST (to create new data), and PUT (to update existing data). I can retrieve data using "put URL tRequestURL1 into tJSONfromPipedrive" I can create new data using "post tJSONtoUpload to url tRequestURL2" But when I try to update data using "put tJSONtoUpload into url tRequestURL2" I get a 400 error from the server. I tried to urlEncode(tJSONtoUpload) but got the same error. Their API includes a sandbox for testing, and my code seems to align with their examples and helped me get my tests in order. I'm just not sure what's wrong with my PUT command. https://developers.pipedrive.c om/docs/api/v1/#!/Persons/put_persons_id VARIABLE VALUES: httpHeaders = {"Accept":"application/json"} tRequestURL1 = https://api.pipedrive.com/v1/persons?api_token=ef2c59a67144d 185277fee92aa9ede877c6c10ff tRequestURL2 = https://api.pipedrive.com/v1/persons/2?api_token=ef2c59a6714 4d185277fee92aa9ede877c6c10ff tJSONtoUpload = {"phone":"555-555-5555"} Is there something glaring I'm missing? I can get this to execute on their developer website, but using the same code seems to error out for me in LiveCode 8.2.0dp2 Business. --Andrew Bell _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Sun Nov 26 11:13:55 2017 From: irog at mac.com (Roger Guay) Date: Sun, 26 Nov 2017 08:13:55 -0800 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: <9e1b5f63-8987-f35d-84c3-35dadae84673@gmail.com> References: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> <9e1b5f63-8987-f35d-84c3-35dadae84673@gmail.com> Message-ID: Works for me. Mac OS 10.13.1 LC 8.1.7 Roger > On Nov 26, 2017, at 7:45 AM, Richmond Mathewson via use-livecode wrote: > > Nor in 8.1.8 rc 2 > > Tut, tut! > > Richmond. > > On 26/11/17 5:29 pm, Richmond Mathewson wrote: >> On a Macintosh. >> >> Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Nov 26 12:41:17 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 26 Nov 2017 19:41:17 +0200 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: References: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> <9e1b5f63-8987-f35d-84c3-35dadae84673@gmail.com> Message-ID: <5f1c9718-dd66-2029-cc57-9ba08de0d073@gmail.com> Well, that's lovely for you. No joy "over here" on Mac OS 10.7.5 (which LiveCode states that 8.1.7 supports). Richmond Mathewson. On 26/11/17 6:13 pm, Roger Guay via use-livecode wrote: > Works for me. > > Mac OS 10.13.1 > LC 8.1.7 > > Roger > >> On Nov 26, 2017, at 7:45 AM, Richmond Mathewson via use-livecode wrote: >> >> Nor in 8.1.8 rc 2 >> >> Tut, tut! >> >> Richmond. >> >> On 26/11/17 5:29 pm, Richmond Mathewson wrote: >>> On a Macintosh. >>> >>> Richmond. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Sun Nov 26 13:06:32 2017 From: sean at pidigital.co.uk (Pi Digital) Date: Sun, 26 Nov 2017 18:06:32 +0000 Subject: RESTful PUT error In-Reply-To: References: <20171126153740.Horde.fT6ULEfqK80sKhrnvPUoaCh@ua850258.serversignin.com> Message-ID: <2DE92886-BE16-46D8-A39C-2E6FE3CA950B@pidigital.co.uk> I?ve been working on a library connecting LiveCode with MS Dynamics365 CRM via some APIs custom made for us in c#. LiveCode makes its calls to the API by REST. At first I was using Put url to send some simple calls but started getting errors in some. I was advised to switch over to using Post instead of Put (which acts more like Get anyway). So I?d just use Post empty to url when no parameters were needed. Errors all gone. So my advice to you is use only Get and Post. tRequestURL1 = https://api.pipedrive.com/v1/persons?api_token=ef2c59a67144d185277fee92aa9ede877c6c10ff tRequestURL2 = https://api.pipedrive.com/v1/persons/2?api_token=ef2c59a67144d185277fee92aa9ede877c6c10ff tJSONtoUpload = {"phone":"555-555-5555"} Post empty to url(tRequestURL1) Put it into tResponse1 Post tJSONtoUpload to url(tRequestURL2) Put it into tResponse2 Sean Cole Pi Digital > On 26 Nov 2017, at 16:07, Roger Eller via use-livecode wrote: > > If I remember correctly, PUT was never implemented in LibUrl. I have only > needed GET and POST in my rather limited uses. > > ~Roger > > > On Nov 26, 2017 10:37 AM, "Andrew Bell via use-livecode" < > use-livecode at lists.runrev.com> wrote: > > I'm working on connecting to a 3rd-party API (Pipedrive) to a LiveCode app > I've done and seem to have a problem; any assistance would be appreciated. > Dummy (sandbox) account information has been included with my code sample. > > I've never used RESTful before, but the API seems pretty well documented > and I've had success much faster than anticipated working with the data in > LiveCode. It looks like commands are broke down into 3 types: GET (to > retrieve data), POST (to create new data), and PUT (to update existing > data). > > I can retrieve data using "put URL tRequestURL1 into tJSONfromPipedrive" > I can create new data using "post tJSONtoUpload to url tRequestURL2" > But when I try to update data using "put tJSONtoUpload into url > tRequestURL2" I get a 400 error from the server. I tried to > urlEncode(tJSONtoUpload) but got the same error. > > Their API includes a sandbox for testing, and my code seems to align with > their examples and helped me get my tests in order. I'm just not sure > what's wrong with my PUT command. https://developers.pipedrive.c > om/docs/api/v1/#!/Persons/put_persons_id > > VARIABLE VALUES: > httpHeaders = {"Accept":"application/json"} > tRequestURL1 = https://api.pipedrive.com/v1/persons?api_token=ef2c59a67144d > 185277fee92aa9ede877c6c10ff > tRequestURL2 = https://api.pipedrive.com/v1/persons/2?api_token=ef2c59a6714 > 4d185277fee92aa9ede877c6c10ff > tJSONtoUpload = {"phone":"555-555-5555"} > > Is there something glaring I'm missing? I can get this to execute on their > developer website, but using the same code seems to error out for me in > LiveCode 8.2.0dp2 Business. > > --Andrew Bell > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Nov 26 13:23:34 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 26 Nov 2017 20:23:34 +0200 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: <5f1c9718-dd66-2029-cc57-9ba08de0d073@gmail.com> References: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> <9e1b5f63-8987-f35d-84c3-35dadae84673@gmail.com> <5f1c9718-dd66-2029-cc57-9ba08de0d073@gmail.com> Message-ID: <245709fc-e4cd-931e-3dfa-44e29e72de87@gmail.com> Please can everyone help: http://forums.livecode.com/viewtopic.php?f=6&t=30220 Richmond. From ali.lloyd at livecode.com Sun Nov 26 15:24:27 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Sun, 26 Nov 2017 20:24:27 +0000 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: <245709fc-e4cd-931e-3dfa-44e29e72de87@gmail.com> References: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> <9e1b5f63-8987-f35d-84c3-35dadae84673@gmail.com> <5f1c9718-dd66-2029-cc57-9ba08de0d073@gmail.com> <245709fc-e4cd-931e-3dfa-44e29e72de87@gmail.com> Message-ID: Could you explain in what way it doesn't work? Does it throw an execution error? I notice you don't specify a full path or set the defaultFolder- perhaps it is getting exported somewhere odd. (Works with macOS 10.12.6, 8.2.0 DP 2 Community) On Sun, Nov 26, 2017 at 6:23 PM Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Please can everyone help: > > http://forums.livecode.com/viewtopic.php?f=6&t=30220 > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Sun Nov 26 17:58:40 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 Nov 2017 22:58:40 +0000 Subject: ArrayToJSON in LCServer ? In-Reply-To: <1511622832748-0.post@n4.nabble.com> References: <5ca4fd4b-279a-7542-4350-59ccaf765310@tweedly.net> <1511622832748-0.post@n4.nabble.com> Message-ID: The mergJSON external is already included in LCServer - mergJSONEncode and mergJSONDecode work fine; it's just the convenience functions (arrayToJSON and JSONToArray) which are missing. They are very short, and can be found in the dictionary entries for those main functions, and then simply copied/pasted into your own script or library. -- Alex. On 25/11/2017 15:13, pink via use-livecode wrote: > ArrayToJSON is from the mergJSON external... so in order for you to use it, > you would need to be able to access the external through your server > installation. I don't know if that is possible... > > My recommendation would be to use a library such as fastJSON. I use fastJSON > with LC Server all the time without issue. > > > > ----- > --- > Greg (pink) Miller > mad, pink and dangerous to code > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Nov 27 07:08:22 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 27 Nov 2017 12:08:22 +0000 Subject: [ANN] This Week in LiveCode 108 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 #108 here: https://goo.gl/NKEwjN This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From tfabacher at gmail.com Mon Nov 27 07:27:33 2017 From: tfabacher at gmail.com (Todd Fabacher) Date: Mon, 27 Nov 2017 07:27:33 -0500 Subject: RESTful PUT error Message-ID: What are you setting your headers to?? Are you sending JSON or posting a form?? This is to send a form and get back JSON. You may also want XML or TEXT FYI, most RestAPI use POST. *--Build the REST API Header* *set* the httpHeaders to empty *put* "Accept: application/json" & CR after tHeaders *put* "Content-Type: application/x-www-form-urlencoded" & CR after tHeaders *set* the httpHeaders to tHeaders People forget to set this in LiveCode, It makes a big difference. --Todd From james at thehales.id.au Mon Nov 27 08:15:11 2017 From: james at thehales.id.au (James Hale) Date: Tue, 28 Nov 2017 00:15:11 +1100 Subject: New Books/Dictionary Message-ID: For those wanting to read the docs in an i-device Dash for iOS is FREE. I have posted some screenshots on the forum if you want to see how the docs look. http://forums.livecode.com/viewtopic.php?f=16&t=29745&p=160713#p160712 James From sean at pidigital.co.uk Mon Nov 27 09:58:36 2017 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 27 Nov 2017 14:58:36 +0000 Subject: New Books/Dictionary In-Reply-To: References: Message-ID: Amazing, Thanks James Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 On 27 November 2017 at 13:15, James Hale via use-livecode < use-livecode at lists.runrev.com> wrote: > For those wanting to read the docs in an i-device Dash for iOS is FREE. > > I have posted some screenshots on the forum if you want to see how the > docs look. > > http://forums.livecode.com/viewtopic.php?f=16&t=29745&p=160713#p160712 < > http://forums.livecode.com/viewtopic.php?f=16&t=29745&p=160713#p160712> > > > James > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From t.heaford at icloud.com Mon Nov 27 11:22:13 2017 From: t.heaford at icloud.com (Terence Heaford) Date: Mon, 27 Nov 2017 16:22:13 +0000 Subject: Printing a Browser widget Message-ID: <16727DB7-EB96-4CCC-8B48-44E648E683FC@icloud.com> Has there been any progress with the Browser Widget being incorporated into print card? If not is there a timescale for this? Thanks Terry From merakosp at gmail.com Mon Nov 27 12:11:45 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 27 Nov 2017 17:11:45 +0000 Subject: Replacetext taking forever under 8.1.7 In-Reply-To: <00116AB8-552D-4DD6-ABE3-4852DE36B34E@gmail.com> References: <8b3f7f9c-7c0d-8cc0-d2df-2b1353849f9f@fourthworld.com> <00116AB8-552D-4DD6-ABE3-4852DE36B34E@gmail.com> Message-ID: Hi Bruce, If the same code snippet takes 20 mins in 8.1.7 and 1 second in 7.1.4, this is definitely a bug. Please do file a report in quality.livecode.com, and make sure you attach a simple sample stack that demonstrates the problem for you. Regression bugs have higher priority, so I would expect this issue to be addressed soon, once it is confirmed. Best, Panos -- On Thu, Nov 23, 2017 at 8:27 PM, Bruce Pokras via use-livecode < use-livecode at lists.runrev.com> wrote: > I am trying to port a stack that runs fine under Livecode 7.1.4 to > Livecode 8.1.7 in order to take advantage of 8.1.7?s 64-bit standalone app > capability for Mac OS X ?High Sierra". That is when I found that under > either Yosemite or High Sierra a ?replacetext" action takes over 20 minutes > under 8.1.7 while under 7.1.4 it takes less than one second! The > replacetext is to remove extra spaces in a 60,000 line (1.9 million > character) variable, and looks like this: > > put replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt > > Under 8.1.7 I get the dreaded spinning beachball, although the replacetext > action eventually finishes (after 20 minutes), and the script then runs to > completion. > > Any ideas about causes and cures for this issue? > > Regards, > > Bruce Pokras > Blazing Dawn Software > www.blazingdawn.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Nov 27 13:12:39 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 27 Nov 2017 20:12:39 +0200 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: References: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> <9e1b5f63-8987-f35d-84c3-35dadae84673@gmail.com> <5f1c9718-dd66-2029-cc57-9ba08de0d073@gmail.com> <245709fc-e4cd-931e-3dfa-44e29e72de87@gmail.com> Message-ID: <80055e2b-2671-7a43-4eec-26bb063859ac@gmail.com> With LC 7.1.4 on Mac OS 10.7.5 the default folder on my machine is automatically set to /Users/richmondmathewson/LiveCode and exported snapshots end up there unless I specify otherwise. If I export a snapshot using the Message Box I get an acknoewledgement "true". In 8.1.4 upwards the IDE does NOT export any snapshots anywhere (subsequent file searches . . .) and on attempting to export from the Message box there is no acknowledgement. No execution error, just a big, fat silence, I'm afraid. Richmond. On 26/11/17 10:24 pm, Ali Lloyd via use-livecode wrote: > Could you explain in what way it doesn't work? Does it throw an execution > error? I notice you don't specify a full path or set the defaultFolder- > perhaps it is getting exported somewhere odd. > > (Works with macOS 10.12.6, 8.2.0 DP 2 Community) > > On Sun, Nov 26, 2017 at 6:23 PM Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Please can everyone help: >> >> http://forums.livecode.com/viewtopic.php?f=6&t=30220 >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Nov 27 13:25:32 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 27 Nov 2017 13:25:32 -0500 Subject: New Books/Dictionary Message-ID: James Hale wrote: > For those wanting to read the docs in an i-device > Dash for iOS is FREE. > I have posted some screenshots on the forum > if you want to see how the docs look. > http://forums.livecode.com/viewtopic.php?f=16&t=29745&p=160713#p160712 Really nice! Thanks a lot for posting these images, James. 8) I noticed that docsets use a few mySQLite databases and a folder with images and thousands html formatted webpages. I tried (and failed) to use this docset in Android, using the App named "Lovely Docs" but this unsupported app does not recognize the folder as a docset. Then, I simply copied the folder for single webpage browsing using HTML viewer in Android. Does exists a script that create a single index webpage (html with links) from all 3,492 webpages? Thanks in advance! Al From brian at milby7.com Mon Nov 27 13:29:53 2017 From: brian at milby7.com (Brian Milby) Date: Mon, 27 Nov 2017 12:29:53 -0600 Subject: Replacetext taking forever under 8.1.7 In-Reply-To: References: <8b3f7f9c-7c0d-8cc0-d2df-2b1353849f9f@fourthworld.com> <00116AB8-552D-4DD6-ABE3-4852DE36B34E@gmail.com> Message-ID: Just tried this snip: *-- revidelibrary.8.livecodescript full path in the text field**put* url ( "file:" & the text of field "fileName") into holdIt1 *put* the milliseconds into tStart *put* replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt *put* the milliseconds into tEnd *put* cr & tEnd - tStart after msg 7.1.4 (Indy): 7 ms 8.1.7rc3 (Indy): ~2530 ms 9.0rc10 (Business): ~2480 ms Mac OS X 10.12.6 (Sierra) / 4GHz Core i7 iMac w/ 16GB RAM Not sure if this is exactly the same, but it does demonstrate that replacetext takes quite a bit longer in 8/9 compared to 7. The loaded file is a bit over 400k and 12k lines. Don't want to end up with 2 bug reports, so I'll hold off for Bruce but I can upload the stack that I created if needed. Thanks, Brian On Mon, Nov 27, 2017 at 11:11 AM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bruce, > > If the same code snippet takes 20 mins in 8.1.7 and 1 second in 7.1.4, this > is definitely a bug. Please do file a report in quality.livecode.com, and > make sure you attach a simple sample stack that demonstrates the problem > for you. > Regression bugs have higher priority, so I would expect this issue to be > addressed soon, once it is confirmed. > > Best, > Panos > -- > > On Thu, Nov 23, 2017 at 8:27 PM, Bruce Pokras via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I am trying to port a stack that runs fine under Livecode 7.1.4 to > > Livecode 8.1.7 in order to take advantage of 8.1.7?s 64-bit standalone > app > > capability for Mac OS X ?High Sierra". That is when I found that under > > either Yosemite or High Sierra a ?replacetext" action takes over 20 > minutes > > under 8.1.7 while under 7.1.4 it takes less than one second! The > > replacetext is to remove extra spaces in a 60,000 line (1.9 million > > character) variable, and looks like this: > > > > put replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt > > > > Under 8.1.7 I get the dreaded spinning beachball, although the > replacetext > > action eventually finishes (after 20 minutes), and the script then runs > to > > completion. > > > > Any ideas about causes and cures for this issue? > > > > Regards, > > > > Bruce Pokras > > Blazing Dawn Software > > www.blazingdawn.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Mon Nov 27 13:38:45 2017 From: brian at milby7.com (Brian Milby) Date: Mon, 27 Nov 2017 18:38:45 +0000 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: <80055e2b-2671-7a43-4eec-26bb063859ac@gmail.com> References: <06b62a73-feff-92ff-1b2d-50139148d1b1@gmail.com> <9e1b5f63-8987-f35d-84c3-35dadae84673@gmail.com> <5f1c9718-dd66-2029-cc57-9ba08de0d073@gmail.com> <245709fc-e4cd-931e-3dfa-44e29e72de87@gmail.com> <80055e2b-2671-7a43-4eec-26bb063859ac@gmail.com> Message-ID: Try this: put the defaultfolder My guess is that it is now a non-writable destination which is why you are not seeing a new file. On Mon, Nov 27, 2017 at 12:13 PM Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > With LC 7.1.4 on Mac OS 10.7.5 the default folder on my machine is > automatically set to > > /Users/richmondmathewson/LiveCode > > and exported snapshots end up there unless I specify otherwise. > > If I export a snapshot using the Message Box I get an acknoewledgement > "true". > > In 8.1.4 upwards the IDE does NOT export any snapshots anywhere > (subsequent file searches . . .) > > and on attempting to export from the Message box there is no > acknowledgement. > > No execution error, just a big, fat silence, I'm afraid. > > Richmond. > > On 26/11/17 10:24 pm, Ali Lloyd via use-livecode wrote: > > Could you explain in what way it doesn't work? Does it throw an execution > > error? I notice you don't specify a full path or set the defaultFolder- > > perhaps it is getting exported somewhere odd. > > > > (Works with macOS 10.12.6, 8.2.0 DP 2 Community) > > > > On Sun, Nov 26, 2017 at 6:23 PM Richmond Mathewson via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Please can everyone help: > >> > >> http://forums.livecode.com/viewtopic.php?f=6&t=30220 > >> > >> Richmond. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Nov 27 14:22:53 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Nov 2017 11:22:53 -0800 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: <80055e2b-2671-7a43-4eec-26bb063859ac@gmail.com> References: <80055e2b-2671-7a43-4eec-26bb063859ac@gmail.com> Message-ID: <58a15c29-087c-7ccc-1ad4-ddf6201d42a2@fourthworld.com> Richmond Mathewson wrote: > With LC 7.1.4 on Mac OS 10.7.5 the default folder on my machine is > automatically set to > > /Users/richmondmathewson/LiveCode > > and exported snapshots end up there unless I specify otherwise. > > If I export a snapshot using the Message Box I get an acknoewledgement > "true". > > In 8.1.4 upwards the IDE does NOT export any snapshots anywhere > (subsequent file searches . . .) > > and on attempting to export from the Message box there is no > acknowledgement. > > No execution error, just a big, fat silence, I'm afraid. What do you find if you check "the result" immediately after the export command? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Mon Nov 27 14:32:36 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 27 Nov 2017 21:32:36 +0200 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: <58a15c29-087c-7ccc-1ad4-ddf6201d42a2@fourthworld.com> References: <80055e2b-2671-7a43-4eec-26bb063859ac@gmail.com> <58a15c29-087c-7ccc-1ad4-ddf6201d42a2@fourthworld.com> Message-ID: <1078c653-2f9e-de04-f44c-3f809309ba3c@gmail.com> Thanks for the suggestion. I modified my code to read like this: *on**mouseUp* ** ***export**snapshot from **group**"horror" **to**file "TestExport.png" as PNG* ** ***put****the****result* ** *end**mouseUp * *and the Message Box oponed, displaying nothing. * *Richmond. * On 27/11/17 9:22 pm, Richard Gaskin via use-livecode wrote: > Richmond Mathewson wrote: > > > With LC 7.1.4 on Mac OS 10.7.5 the default folder on my machine is > > automatically set to > > > > /Users/richmondmathewson/LiveCode > > > > and exported snapshots end up there unless I specify otherwise. > > > > If I export a snapshot using the Message Box I get an acknoewledgement > > "true". > > > > In 8.1.4 upwards the IDE does NOT export any snapshots anywhere > > (subsequent file searches . . .) > > > > and on attempting to export from the Message box there is no > > acknowledgement. > > > > No execution error, just a big, fat silence, I'm afraid. > > What do you find if you check "the result" immediately after the > export command? > From ambassador at fourthworld.com Mon Nov 27 14:48:15 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Nov 2017 11:48:15 -0800 Subject: "export snapshot" still NOT in 8.1.7 In-Reply-To: <1078c653-2f9e-de04-f44c-3f809309ba3c@gmail.com> References: <1078c653-2f9e-de04-f44c-3f809309ba3c@gmail.com> Message-ID: Richmond Mathewson wrote: > Thanks for the suggestion. > > I modified my code to read like this: > > *on**mouseUp* > > ** > > ***export**snapshot from **group**"horror" **to**file "TestExport.png" > as PNG* > > ** > > ***put****the****result* > > ** > > *end**mouseUp > > * > > *and the Message Box oponed, displaying nothing. > * It's probably all the asterisks. ;) If there's no thrown error and nothing in "the result" perhaps a file was indeed written. The question is: where? You might change the error check line to: put the result &cr& the directory ...to see where it thinks it successfully wrote the file. If the file exists there is no problem. If the file doesn't exist there's an engine bug that should be reported. But FWIW I haven't seen export fail with a path as far back as I can remember, so if a bug was introduced it was probably a very short-lived regression unlikely to be found in any other build. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Mon Nov 27 18:20:25 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Nov 2017 23:20:25 +0000 Subject: RESTful PUT error In-Reply-To: References: Message-ID: Why do you set the httpHeaders to empty just before you set them to something? Bob S > On Nov 27, 2017, at 04:27 , Todd Fabacher via use-livecode wrote: > > *--Build the REST API Header* > > *set* the httpHeaders to empty > > *put* "Accept: application/json" & CR after tHeaders > > *put* "Content-Type: application/x-www-form-urlencoded" & CR after tHeaders > > *set* the httpHeaders to tHeaders > From bobsneidar at iotecdigital.com Mon Nov 27 18:25:12 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Nov 2017 23:25:12 +0000 Subject: [OT] Blind Deconvolution Algorithm In-Reply-To: References: Message-ID: <8127AF06-50CF-4E8D-8125-8C9843C1AA34@iotecdigital.com> The first thing I noticed in the article was that the source image was artificially blurred, that is mathematically. I wonder how it would do with an analog optically blurred image, or one which was taken through a dirty lense? Bob S > On Nov 23, 2017, at 09:26 , Alejandro Tejada via use-livecode wrote: > > Today I learned about this impressive image processing > algorithm named Blind Deconvolution: > > Theory: > http://yuzhikov.com/articles/BlurredImagesRestoration1.htm > > Practice: > http://yuzhikov.com/articles/BlurredImagesRestoration2.htm > > Check the examples: > (Text defocus blur is eye-opening. Look for the example > named "Large Defocus blur") > > http://smartdeblur.net/gallery.html > > Now I have to find if Neural Networks could be trained > for this task with better results. :-) > > Al > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Nov 27 18:54:07 2017 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 27 Nov 2017 23:54:07 +0000 Subject: RESTful PUT error In-Reply-To: References: Message-ID: "programming pattern" I (sometimes) do something like this - so that each and every line of additional output looks and feels the same, e.g. put "something" & CR after tVariable put "something else" & CR after tVariable etc. i.e. every line finishes with?? "? & CR after tVariable " so that can be pasted in (or, more likely, applied as a keyboard macro or Block-edit or .... whatever your favourite editor convenience is). And if you're doing that, then for robustness you should start with "put empty into tVariable" so that you are not vulnerable to any subsequent code changes that use the same variable name earlier. Don't know if that's the same as Todd's answer or not :-) -- Alex. On 27/11/2017 23:20, Bob Sneidar via use-livecode wrote: > Why do you set the httpHeaders to empty just before you set them to something? > > Bob S > > > >> On Nov 27, 2017, at 04:27 , Todd Fabacher via use-livecode wrote: >> >> *--Build the REST API Header* >> >> *set* the httpHeaders to empty >> >> *put* "Accept: application/json" & CR after tHeaders >> >> *put* "Content-Type: application/x-www-form-urlencoded" & CR after tHeaders >> >> *set* the httpHeaders to tHeaders >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Nov 27 21:11:41 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 27 Nov 2017 21:11:41 -0500 Subject: [OT] Blind Deconvolution Algorithm In-Reply-To: References: Message-ID: Hi Bob, Bob Sneidar wrote: > The first thing I noticed in the article was that the source image > was artificially blurred, that is mathematically. > I wonder how it would do with an analog optically blurred image, > or one which was taken through a dirty lens? The article uses artificially blurred examples, but the gallery uses real world examples: "We would be grateful if you share with us your examples - it will allow us to improve the quality of the algorithms. All images are real-world photos without any preliminary processing. " http://smartdeblur.net/gallery.html On Thu, Nov 23, 2017 at 12:26 PM, Alejandro Tejada wrote: > > Today I learned about this impressive image processing > algorithm named Blind Deconvolution: > > Theory: > http://yuzhikov.com/articles/BlurredImagesRestoration1.htm > > Practice: > http://yuzhikov.com/articles/BlurredImagesRestoration2.htm > > Check the examples: > (Text defocus blur is eye-opening. Look for the example > named "Large Defocus blur") > > http://smartdeblur.net/gallery.html > > Now I have to find if Neural Networks could be trained > for this task with better results. :-) > > Al > From MikeKerner at roadrunner.com Tue Nov 28 09:12:20 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 28 Nov 2017 09:12:20 -0500 Subject: New Books/Dictionary In-Reply-To: References: Message-ID: This sounds like a good LCG multi-part project - building a mobile app version of the dictionary that you can mark up similar to the way you can mark up pdf's and images. Maybe you have a paint/draw layer that overlays the dictionary for notes, illustrations, etc. On Mon, Nov 27, 2017 at 1:25 PM, Alejandro Tejada via use-livecode < use-livecode at lists.runrev.com> wrote: > James Hale wrote: > > For those wanting to read the docs in an i-device > > Dash for iOS is FREE. > > I have posted some screenshots on the forum > > if you want to see how the docs look. > > > http://forums.livecode.com/viewtopic.php?f=16&t=29745&p=160713#p160712 > > Really nice! Thanks a lot for posting these images, James. 8) > I noticed that docsets use a few mySQLite databases and a folder > with images and thousands html formatted webpages. > > I tried (and failed) to use this docset in Android, using the App > named "Lovely Docs" but this unsupported app does not recognize > the folder as a docset. > > Then, I simply copied the folder for single webpage browsing > using HTML viewer in Android. > > Does exists a script that create a single index webpage > (html with links) from all 3,492 webpages? > > Thanks in advance! > > Al > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 th.douez at gmail.com Tue Nov 28 12:48:40 2017 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 28 Nov 2017 18:48:40 +0100 Subject: Replacetext taking forever under 8.1.7 In-Reply-To: <00116AB8-552D-4DD6-ABE3-4852DE36B34E@gmail.com> References: <8b3f7f9c-7c0d-8cc0-d2df-2b1353849f9f@fourthworld.com> <00116AB8-552D-4DD6-ABE3-4852DE36B34E@gmail.com> Message-ID: 2017-11-23 21:27 GMT+01:00 Bruce Pokras via use-livecode < use-livecode at lists.runrev.com>: > > put replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt > > Under 8.1.7 I get the dreaded spinning beachball, although the replacetext > action eventually finishes (after 20 minutes), and the script then runs to > completion. > > Any ideas about causes and cures for this issue? > ?Yes, I have one...? ?from memory:? ?the latest LC version which should work fine is 8.1.2 (stable) this bug was introduced when upgrading the PCRE lib from 8.33 to 8.39 ? Of course, better to check if what I'm saying is right as yesterday I was travelling all night :) Kind regards, Thierry -- ------------------------------------------------ Thierry Douez - sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From brahma at hindu.org Tue Nov 28 15:19:18 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 28 Nov 2017 20:19:18 +0000 Subject: IDE breaks down over time Message-ID: I am building new UI? not a drop of code.. it's all about drawing controls, grouping, setting rects and RGB values etc.forground background colors, setting alpha etc. after about 30 minutes in 9.0.0-dp-9 the IDE seems to get very confused. (OS X) If I work in the project browser, or revApplicationOverview?either things start happening like: 1) if in property inspector: clicking on the layer up down? does nothing layer is fixed on the current number. 2) I can actually click on the object and "send backward" but in one case the object was deleted by this operation. 3) the PI become increasingly non-responsive: click on the cross to edit location width height etc? nothing happens, the switch to the panel for dimensions and location does happen. 4) then if we relayer some control in the PB, clicking on an object selects a different control on the card than the highlighted on the list. 5) close the PB switch to the old AB? and things are now also failing here as well. 4) suddenly no longer able to save or open the message box? 5) finally reach a point here closing the PI and then right clickin gto open it again the whole property inspector opens, but is completely non responsive. 4 It's as if some set of vars that contain pointers to objects lose track of what object they are connected to or the selectedObject or target is lost Hopefully I can save, close the stack, reboot. then things get better. Sometimes can't save, have to shut down, lose a lot work? well, not any more? I save every time I make a minute change now. Is this better in 9- dp 10? or the latest versions of 8.* I switch to 9 for the mobile debugging, but am not really using that at the moment. Brahmanathaswami From ahsoftware at sonic.net Tue Nov 28 18:15:11 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 28 Nov 2017 15:15:11 -0800 Subject: LC8 release structure Message-ID: <3f5612c3-0861-bca6-aa06-a9f61be652f3@sonic.net> I'm confused now by the number of unstable releases in flight. I'm seeing LC8.2.0-dp2 dated 11 October 2017 LC8.1.8-rc2 dated 23 November 2017 and of course LC9.0.0-dp10 dated 23 October 2017 I'm fine with the slow progress on LC9, although I keep waiting for the CEF business to be fixed, but I'm puzzled by the two-pronged approach to LC8. Is there any reason I should even bother with 8.1.8 now that 8.2 is in the works? 8.1.8-rc2 is a month newer than 8.2.0-dp2. In that case, is there any reason to bother with 8.2.0 given that there's a month's worth of bugfixes and improvements in the 8.1 stream that haven't been incorporated into 8.2? I take it that if I want to work with Xcode 9.1 I would need to use 8.1.8, not 8.2.0. But if I want to use the Community Plus features I would need 8.2.0, not 8.1.8. ...and btw I *like* the fact that we have gone back to dp releases, it's just the confluence of bifurcation and timing that has me confused. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Nov 28 18:31:25 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 28 Nov 2017 15:31:25 -0800 Subject: IDE breaks down over time In-Reply-To: References: Message-ID: On 11/28/2017 12:19 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > things start happening like: Yep - seen all those. Also, if I have to use the PB (and I'm starting to try to make my peace with it) I end up closing and reopening it a lot because 1. there's no refresh button 2. it doesn't auto-refresh 3. it empties its contents at odd moments > I save every time I make a minute change now. Same here. > > Is this better in 9- dp 10? No :-( -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Tue Nov 28 19:32:59 2017 From: monte at appisle.net (Monte Goulding) Date: Wed, 29 Nov 2017 11:32:59 +1100 Subject: LC8 release structure In-Reply-To: <3f5612c3-0861-bca6-aa06-a9f61be652f3@sonic.net> References: <3f5612c3-0861-bca6-aa06-a9f61be652f3@sonic.net> Message-ID: <4157D29C-96EE-47ED-92BC-6A5BC4D5AE0D@appisle.net> The 8.2 release cycle is mainly for IDE features like autocomplete that could potentially be disruptive and need a bit of iteration. > On 29 Nov 2017, at 10:15 am, Mark Wieder via use-livecode wrote: > > I'm confused now by the number of unstable releases in flight. > > I'm seeing > LC8.2.0-dp2 dated 11 October 2017 > LC8.1.8-rc2 dated 23 November 2017 > and of course > LC9.0.0-dp10 dated 23 October 2017 > > I'm fine with the slow progress on LC9, although I keep waiting for the CEF business to be fixed, but I'm puzzled by the two-pronged approach to LC8. Is there any reason I should even bother with 8.1.8 now that 8.2 is in the works? 8.1.8-rc2 is a month newer than 8.2.0-dp2. In that case, is there any reason to bother with 8.2.0 given that there's a month's worth of bugfixes and improvements in the 8.1 stream that haven't been incorporated into 8.2? > > I take it that if I want to work with Xcode 9.1 I would need to use 8.1.8, not 8.2.0. But if I want to use the Community Plus features I would need 8.2.0, not 8.1.8. > > ...and btw I *like* the fact that we have gone back to dp releases, it's just the confluence of bifurcation and timing that has me confused. > > -- > 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 capellan2000 at gmail.com Tue Nov 28 19:34:50 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 28 Nov 2017 19:34:50 -0500 Subject: [OT] The Internet is Living on Borrowed Time Message-ID: This is Bryan Lunduke's today advice about the Internet: "Use the Internet for what it's good for. Enjoy it. Plan for it not existing" http://lunduke.com/2017/11/28/the-internet-is-living-on-borrowed-time/ https://www.youtube.com/watch?v=1VD_pJOFnZ0 Recently, I asked a similar question in slashdot: https://ask.slashdot.org/story/17/11/13/2319243/ask-slashdot-which-softwaredevices-are-unusable-without-connecting-to-the-internet/ Surprisingly, most slashdot answers suggests that too many developers actually are resigned to live in this brave new world of software and devices that stubbornly and needlessly requires 24/7 internet access to keep working. :-( Al From monte at appisle.net Tue Nov 28 19:35:58 2017 From: monte at appisle.net (Monte Goulding) Date: Wed, 29 Nov 2017 11:35:58 +1100 Subject: IDE breaks down over time In-Reply-To: References: Message-ID: <3918C813-2F5A-4C56-BD8B-C30EE2231A46@appisle.net> It?s likely you are encountering some execution errors in the IDE scripts. Try setting gREVDevelopment to true and see if you get any details to report. We know there are a number of issues with the project browser keeping track of objects which is why I recently wrote an object repository library in LCB. We haven?t had a chance to update the PB to use it yet though. Cheers Monte > On 29 Nov 2017, at 7:19 am, Sannyasin Brahmanathaswami via use-livecode wrote: > > I am building new UI? not a drop of code.. it's all about drawing controls, grouping, setting rects and RGB values etc.forground background colors, setting alpha etc. > > after about 30 minutes in 9.0.0-dp-9 the IDE seems to get very confused. (OS X) > > If I work in the project browser, or revApplicationOverview?either things start happening like: > > 1) if in property inspector: clicking on the layer up down? does nothing layer is fixed on the current number. > 2) I can actually click on the object and "send backward" but in one case the object was deleted by this operation. > 3) the PI become increasingly non-responsive: click on the cross to edit location width height etc? nothing happens, the switch to the panel for dimensions and location does happen. > 4) then if we relayer some control in the PB, clicking on an object selects a different control on the card than the highlighted on the list. > 5) close the PB switch to the old AB? and things are now also failing here as well. > 4) suddenly no longer able to save or open the message box? > 5) finally reach a point here closing the PI and then right clickin gto open it again the whole property inspector opens, but is completely non responsive. 4 > > It's as if some set of vars that contain pointers to objects lose track of what object they are connected to or the selectedObject or target is lost > > Hopefully I can save, close the stack, reboot. then things get better. Sometimes can't save, have to shut down, lose a lot work? well, not any more? I save every time I make a minute change now. > > Is this better in 9- dp 10? or the latest versions of 8.* I switch to 9 for the mobile debugging, but am not really using that at the moment. > > Brahmanathaswami > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Nov 28 20:47:58 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 28 Nov 2017 20:47:58 -0500 Subject: IDE breaks down over time In-Reply-To: <3918C813-2F5A-4C56-BD8B-C30EE2231A46@appisle.net> References: <3918C813-2F5A-4C56-BD8B-C30EE2231A46@appisle.net> Message-ID: There are a slew of PB QR's. That was one that I was suggesting we work on for LCG as a 'hacking the ide' multi-part project. On Tue, Nov 28, 2017 at 7:35 PM, Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > It?s likely you are encountering some execution errors in the IDE scripts. > Try setting gREVDevelopment to true and see if you get any details to > report. We know there are a number of issues with the project browser > keeping track of objects which is why I recently wrote an object repository > library in LCB. We haven?t had a chance to update the PB to use it yet > though. > > Cheers > > Monte > > > On 29 Nov 2017, at 7:19 am, Sannyasin Brahmanathaswami via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I am building new UI? not a drop of code.. it's all about drawing > controls, grouping, setting rects and RGB values etc.forground background > colors, setting alpha etc. > > > > after about 30 minutes in 9.0.0-dp-9 the IDE seems to get very > confused. (OS X) > > > > If I work in the project browser, or revApplicationOverview?either > things start happening like: > > > > 1) if in property inspector: clicking on the layer up down? does nothing > layer is fixed on the current number. > > 2) I can actually click on the object and "send backward" but in one > case the object was deleted by this operation. > > 3) the PI become increasingly non-responsive: click on the cross to edit > location width height etc? nothing happens, the switch to the panel for > dimensions and location does happen. > > 4) then if we relayer some control in the PB, clicking on an object > selects a different control on the card than the highlighted on the list. > > 5) close the PB switch to the old AB? and things are now also failing > here as well. > > 4) suddenly no longer able to save or open the message box? > > 5) finally reach a point here closing the PI and then right clickin gto > open it again the whole property inspector opens, but is completely non > responsive. 4 > > > > It's as if some set of vars that contain pointers to objects lose track > of what object they are connected to or the selectedObject or target is lost > > > > Hopefully I can save, close the stack, reboot. then things get better. > Sometimes can't save, have to shut down, lose a lot work? well, not any > more? I save every time I make a minute change now. > > > > Is this better in 9- dp 10? or the latest versions of 8.* I switch to 9 > for the mobile debugging, but am not really using that at the moment. > > > > Brahmanathaswami > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ahsoftware at sonic.net Tue Nov 28 21:06:01 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 28 Nov 2017 18:06:01 -0800 Subject: LC8 release structure In-Reply-To: <4157D29C-96EE-47ED-92BC-6A5BC4D5AE0D@appisle.net> References: <3f5612c3-0861-bca6-aa06-a9f61be652f3@sonic.net> <4157D29C-96EE-47ED-92BC-6A5BC4D5AE0D@appisle.net> Message-ID: <5a79b3e5-4d03-803e-0d43-0490b492973e@sonic.net> On 11/28/2017 04:32 PM, Monte Goulding via use-livecode wrote: > The 8.2 release cycle is mainly for IDE features like autocomplete that could potentially be disruptive and need a bit of iteration. Well, yes, I got that from the release notes. But I see that one of my bug reports (#9505) is now resolved as being fixed in LC8.2-dp2. So is it that the 8.2 development channel is getting bug fixes a month ahead of (and instead of) the 8.1.8 channel? Would the 8.2 bugfixes get backported to 8.1.8? That seems weird. -- Mark Wieder ahsoftware at gmail.com From paul at livecode.org Tue Nov 28 22:12:01 2017 From: paul at livecode.org (Paul Hibbert) Date: Tue, 28 Nov 2017 19:12:01 -0800 Subject: IDE breaks down over time In-Reply-To: References: <3918C813-2F5A-4C56-BD8B-C30EE2231A46@appisle.net> Message-ID: <83F94D8E-D2C4-49C9-833B-F53AD8AB0E36@livecode.org> Re PB: > 1. there's no refresh button > 2. it doesn't auto-refresh > 3. it empties its contents at odd moments 4. it screws up it?s own view from time to time making it impossible to see which control is linked which group These are part of the reason I set about making a plugin to add some shortcuts to the IDE menus, now I can just use the shortcut Shift-Cmd-B twice and it will close then re-open the PB. Probably not ideal, but it works for me. It?s here if anybody wants it: http://livecodeshare.runrev.com/stack/813/LC-Menu-Shortcuts - It?s not perfect, but it works if you are careful with the shortcuts that you choose. BEWARE - I've only tested on Mac, so I don?t know how well it will work with Windows/Linux, it may need some tweaking. If any of this is useful for a 'hacking the ide' multi-part project then I would be happy to contribute this to the project. I?m sure it wouldn?t be too difficult to add a menu item and shortcut to the Tools menu just to force the Project Browser to refresh, but I haven?t delved into the PB scripts to see how feasible that would be, or what would be required. I know Mark Waddingham is against using a refresh command/button/menu item/whatever, and I can understand that long term, it would be way better to have the PB behaving correctly all (or at least most) of the time, but in the meantime we still need to work with it, preferably without too much frustration. I did find it frustrating, but now that I can force it to refresh relatively easily and quickly it has become much more useful, to me at least. Paul > On 28 Nov 2017, at 17:47, Mike Kerner via use-livecode wrote: > > There are a slew of PB QR's. That was one that I was suggesting we work on > for LCG as a 'hacking the ide' multi-part project. > > On Tue, Nov 28, 2017 at 7:35 PM, Monte Goulding via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> It?s likely you are encountering some execution errors in the IDE scripts. >> Try setting gREVDevelopment to true and see if you get any details to >> report. We know there are a number of issues with the project browser >> keeping track of objects which is why I recently wrote an object repository >> library in LCB. We haven?t had a chance to update the PB to use it yet >> though. >> >> Cheers >> >> Monte >> >>> On 29 Nov 2017, at 7:19 am, Sannyasin Brahmanathaswami via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I am building new UI? not a drop of code.. it's all about drawing >> controls, grouping, setting rects and RGB values etc.forground background >> colors, setting alpha etc. >>> >>> after about 30 minutes in 9.0.0-dp-9 the IDE seems to get very >> confused. (OS X) >>> >>> If I work in the project browser, or revApplicationOverview?either >> things start happening like: >>> >>> 1) if in property inspector: clicking on the layer up down? does nothing >> layer is fixed on the current number. >>> 2) I can actually click on the object and "send backward" but in one >> case the object was deleted by this operation. >>> 3) the PI become increasingly non-responsive: click on the cross to edit >> location width height etc? nothing happens, the switch to the panel for >> dimensions and location does happen. >>> 4) then if we relayer some control in the PB, clicking on an object >> selects a different control on the card than the highlighted on the list. >>> 5) close the PB switch to the old AB? and things are now also failing >> here as well. >>> 4) suddenly no longer able to save or open the message box? >>> 5) finally reach a point here closing the PI and then right clickin gto >> open it again the whole property inspector opens, but is completely non >> responsive. 4 >>> >>> It's as if some set of vars that contain pointers to objects lose track >> of what object they are connected to or the selectedObject or target is lost >>> >>> Hopefully I can save, close the stack, reboot. then things get better. >> Sometimes can't save, have to shut down, lose a lot work? well, not any >> more? I save every time I make a minute change now. >>> >>> Is this better in 9- dp 10? or the latest versions of 8.* I switch to 9 >> for the mobile debugging, but am not really using that at the moment. >>> >>> Brahmanathaswami >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Tue Nov 28 23:02:14 2017 From: monte at appisle.net (Monte Goulding) Date: Wed, 29 Nov 2017 15:02:14 +1100 Subject: LC8 release structure In-Reply-To: <5a79b3e5-4d03-803e-0d43-0490b492973e@sonic.net> References: <3f5612c3-0861-bca6-aa06-a9f61be652f3@sonic.net> <4157D29C-96EE-47ED-92BC-6A5BC4D5AE0D@appisle.net> <5a79b3e5-4d03-803e-0d43-0490b492973e@sonic.net> Message-ID: <5C03EDE1-DD13-4DB0-863E-11C2C51BA79A@appisle.net> > On 29 Nov 2017, at 1:06 pm, Mark Wieder via use-livecode wrote: > > Well, yes, I got that from the release notes. > > But I see that one of my bug reports (#9505) is now resolved as being fixed in LC8.2-dp2. So is it that the 8.2 development channel is getting bug fixes a month ahead of (and instead of) the 8.1.8 channel? Would the 8.2 bugfixes get backported to 8.1.8? That seems weird. Ah well from the looks of that particular report it was just Panos testing the bug again to see if it was still an issue. There?s no PR. Cheers Monte From capellan2000 at gmail.com Tue Nov 28 23:09:02 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 28 Nov 2017 23:09:02 -0500 Subject: LC8 release structure Message-ID: Does exists some way to install only the files changed between each version and keep all common files available for each LC version in use? In this way, instead of using 1 Gb for each new Livecode version installed, we could keep a folder with common files and each new LiveCode version would occupy only 200 or 100 mb each. Basically, each new Livecode version would include only the files updated or changed compared with the previous Livecode version installed. Could this works for LiveCode IDE? Al > Mark Wieder wrote: > I'm confused now by the number of unstable releases in flight. > I'm seeing > LC8.2.0-dp2 dated 11 October 2017 > LC8.1.8-rc2 dated 23 November 2017 > and of course > LC9.0.0-dp10 dated 23 October 2017 > Monte Goulding answers: > The 8.2 release cycle is mainly for IDE features > like autocomplete that could potentially be disruptive > and need a bit of iteration. From richmondmathewson at gmail.com Wed Nov 29 06:12:05 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 29 Nov 2017 13:12:05 +0200 Subject: macOS High Sierra Your Mac. Trashed (possibly) Message-ID: http://www.bbc.com/news/technology-42161823 Ouch. Richmond From MikeKerner at roadrunner.com Wed Nov 29 09:34:28 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 29 Nov 2017 09:34:28 -0500 Subject: macOS High Sierra Your Mac. Trashed (possibly) In-Reply-To: References: Message-ID: It's only if you have physical access to the machine and the preference isn't locked, and the password isn't set, and I think you also have to be an admin, because if you aren't, you won't be able to add a new user. On Wed, Nov 29, 2017 at 6:12 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > http://www.bbc.com/news/technology-42161823 > > Ouch. > > Richmond > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Wed Nov 29 09:40:54 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 29 Nov 2017 16:40:54 +0200 Subject: macOS High Sierra Your Mac. Trashed (possibly) In-Reply-To: References: Message-ID: <78d80540-884d-63b6-2f89-9ac3c08a950f@gmail.com> Probably, but, at the risk of sounding condescending, there are an awful lot of "silly prunes" who own Macs as well as those who know what they are doing, and as Apple seems to be in the dumbing-down industry they should be helping the prunes rather than . . . Richmond. On 29/11/17 4:34 pm, Mike Kerner via use-livecode wrote: > It's only if you have physical access to the machine and the preference > isn't locked, and the password isn't set, and I think you also have to be > an admin, because if you aren't, you won't be able to add a new user. > > On Wed, Nov 29, 2017 at 6:12 AM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> http://www.bbc.com/news/technology-42161823 >> >> Ouch. >> >> Richmond >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From MikeKerner at roadrunner.com Wed Nov 29 10:26:25 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 29 Nov 2017 10:26:25 -0500 Subject: macOS High Sierra Your Mac. Trashed (possibly) In-Reply-To: <78d80540-884d-63b6-2f89-9ac3c08a950f@gmail.com> References: <78d80540-884d-63b6-2f89-9ac3c08a950f@gmail.com> Message-ID: Yes, and this is an ugly bug that will hopefully be fixed asap. On Wed, Nov 29, 2017 at 9:40 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Probably, but, at the risk of sounding condescending, > there are an awful lot of "silly prunes" who own Macs as > well as those who know what they are doing, and as Apple > seems to be in the dumbing-down industry they should > be helping the prunes rather than . . . > > Richmond. > > > On 29/11/17 4:34 pm, Mike Kerner via use-livecode wrote: > >> It's only if you have physical access to the machine and the preference >> isn't locked, and the password isn't set, and I think you also have to be >> an admin, because if you aren't, you won't be able to add a new user. >> >> On Wed, Nov 29, 2017 at 6:12 AM, Richmond Mathewson via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> http://www.bbc.com/news/technology-42161823 >>> >>> Ouch. >>> >>> Richmond >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Wed Nov 29 11:04:03 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Nov 2017 16:04:03 +0000 Subject: [OT] The Internet is Living on Borrowed Time In-Reply-To: References: Message-ID: <0393C04A-510D-4F83-8CA5-B4B3D8309912@iotecdigital.com> Well it must be true. It was on the internet. Bob S > On Nov 28, 2017, at 16:34 , Alejandro Tejada via use-livecode wrote: > > This is Bryan Lunduke's today advice about the Internet: > > "Use the Internet for what it's good for. > Enjoy it. Plan for it not existing" > > http://lunduke.com/2017/11/28/the-internet-is-living-on-borrowed-time/ > https://www.youtube.com/watch?v=1VD_pJOFnZ0 > > Recently, I asked a similar question in slashdot: > https://ask.slashdot.org/story/17/11/13/2319243/ask-slashdot-which-softwaredevices-are-unusable-without-connecting-to-the-internet/ > > Surprisingly, most slashdot answers suggests that too many developers > actually are resigned to live in this brave new world of software and > devices > that stubbornly and needlessly requires 24/7 internet access to keep > working. :-( > > Al From brahma at hindu.org Wed Nov 29 13:56:25 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 29 Nov 2017 18:56:25 +0000 Subject: IDE breaks down over time In-Reply-To: <83F94D8E-D2C4-49C9-833B-F53AD8AB0E36@livecode.org> References: <3918C813-2F5A-4C56-BD8B-C30EE2231A46@appisle.net> <83F94D8E-D2C4-49C9-833B-F53AD8AB0E36@livecode.org> Message-ID: Thanks Paul very helpful! BR It?s here if anybody wants it: http://livecodeshare.runrev.com/stack/813/LC-Menu-Shortcuts - It?s not perfect, but it works if you are careful with the shortcuts that you choose. BEWARE - I've only tested on Mac, so I don?t know how well it will work with Windows/Linux, it may need some tweaking. From richmondmathewson at gmail.com Wed Nov 29 15:27:25 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 29 Nov 2017 22:27:25 +0200 Subject: goofy question about audioClip Message-ID: <571f784f-0d4d-7045-50e8-5fb05aabe24b@gmail.com> I had a look at a very well explained tutorial on how to play audio files in LiveCode: http://lessons.livecode.com/m/4071/l/25230-play-sounds for the simple reason that the last time I played sound in LivCode (or "Runtime Revolution" as then was) was in 2002 in a Commercial product I worked on for Macintosh and Windows in Scotland. At that time to play audio files the end-user had to have QuickTime installed on their computer. So I was "dead chuffed" to find that my "carrot.aiff" test file, on being imported into my test stack and triggered by play audioClip "carrot.aiff" gave me a nice, clean crunch "just like that." Now for the goofy Q: Is there a way to play audioClips in Linux? The tutorial makes no mention of this feature being restricted to some platforms. Richmond. From brian at milby7.com Wed Nov 29 15:30:02 2017 From: brian at milby7.com (Brian Milby) Date: Wed, 29 Nov 2017 20:30:02 +0000 Subject: Replacetext taking forever under 8.1.7 In-Reply-To: References: <8b3f7f9c-7c0d-8cc0-d2df-2b1353849f9f@fourthworld.com> <00116AB8-552D-4DD6-ABE3-4852DE36B34E@gmail.com> Message-ID: I downloaded 8.1.2 and performed the same test as above and the difference was substantial. I?m on a different machine, but the times appear consistent with the test I did on 7.x on the other one. On Tue, Nov 28, 2017 at 11:49 AM Thierry Douez via use-livecode < use-livecode at lists.runrev.com> wrote: > 2017-11-23 21:27 GMT+01:00 Bruce Pokras via use-livecode < > use-livecode at lists.runrev.com>: > > > > > put replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt > > > > Under 8.1.7 I get the dreaded spinning beachball, although the > replacetext > > action eventually finishes (after 20 minutes), and the script then runs > to > > completion. > > > > Any ideas about causes and cures for this issue? > > > > ?Yes, I have one...? > > ?from memory:? > > ?the latest LC version which should work fine is 8.1.2 (stable) > > this bug was introduced when upgrading the PCRE lib from 8.33 to 8.39 > > ? > Of course, better to check if what I'm saying is right > as yesterday I was travelling all night :) > > > Kind regards, > > Thierry > > > > -- > ------------------------------------------------ > Thierry Douez - sunny-tdz.com > sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Wed Nov 29 20:18:46 2017 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 29 Nov 2017 17:18:46 -0800 Subject: How do I catch href tel web link to dial a phone number? Message-ID: I would like to catch the href tel link from a phone number on a web page to enable click to dial from a web page with our Zultys unified communications applications MXIE and ZAC. https://developers.google.com/web/fundamentals/native-hardware/click-to-call/ has a great discussion and link on this which should work for Firefox and Chrome on Macintosh OS. For example Firefox prompts the user to choose which application to send it to. How can I capture the link details ?tel:+1-303-449-7111 ? as the input for my application? Thank you, Bill Vlahos From tore.nilsen at me.com Thu Nov 30 08:15:39 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 30 Nov 2017 14:15:39 +0100 Subject: Changing playLoudness has no effect on audioClips Message-ID: According to the dictionary, changing the playLoudness would effect both player controls and audioClips. The following script seems to indicate that the playLoudness is in fact set, but the there are no change in sound volume, even though playLoudness seems to be reduced as expected. Is this a bug, or am I missing something here: repeat 10 times add 10 to x set the playLoudness of audioClip id 1010 to (100 - x) put playLoudness of audioClip id 1010 -- just to see if playLoudness is actually reduced, and it is. wait 300 milliseconds with messages end repeat Regards Tore Nilsen From capellan2000 at gmail.com Thu Nov 30 14:10:12 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 30 Nov 2017 14:10:12 -0500 Subject: [OT] The Internet is Living on Borrowed Time In-Reply-To: References: Message-ID: Hi Bob, > Well it must be true. It was on the internet. Funny enough, we are on the Internet, too. :-D Staying outside the looping groundhog day! http://www.imdb.com/title/tt0107048/ Jokes aside, I have to pause for a while to catch up with pending projects and new ideas. Too much to do and too little time. Al On Tue, Nov 28, 2017 at 7:34 PM, Alejandro Tejada wrote: > > This is Bryan Lunduke's today advice about the Internet: > > "Use the Internet for what it's good for. > Enjoy it. Plan for it not existing" > > http://lunduke.com/2017/11/28/the-internet-is-living-on-borrowed-time/ > https://www.youtube.com/watch?v=1VD_pJOFnZ0 > > Recently, I asked a similar question in slashdot: > https://ask.slashdot.org/story/17/11/13/2319243/ask-slashdot-which-softwaredevices-are-unusable-without-connecting-to-the-internet/ > > Surprisingly, most slashdot answers suggests that too many developers > actually are resigned to live in this brave new world of software and devices > that stubbornly and needlessly requires 24/7 internet access to keep working. :-( > > Al From ambassador at fourthworld.com Thu Nov 30 14:31:01 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Nov 2017 11:31:01 -0800 Subject: IDE breaks down over time In-Reply-To: References: Message-ID: Sannyasin Brahmanathaswami wrote: > Thanks Paul very helpful! > Paul Hibbert wrote: > It?s here if anybody wants it: http://livecodeshare.runrev.com > /stack/813/LC-Menu-Shortcuts - It?s not perfect, but it works if you > are careful with the shortcuts that you choose. BEWARE - I've only > tested on Mac, so I don?t know how well it will work with > Windows/Linux, it may need some tweaking. Paul does good work, and this looks like a very helpful tool. In my case, I have a couple apps I'm working on which have extensive command key shortcuts of their own, so I have few to spare for triggering IDE actions. That was part of the reason I made devolution: when access to the tools you need during development *when you need them*. Spacious buttons toggle IDE tools, but ah, there's so much more... http://fourthworld.com/products/devolution/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Thu Nov 30 17:25:44 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 30 Nov 2017 22:25:44 +0000 Subject: Find WHAAAAAY faster! Message-ID: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> Hi all. Kudos to the dev team. Finding code in the code editor is about 15 times or more faster. Used to take over 30 seconds to find something in all my scripts. Now it takes about 3 seconds. Bob S From dunbarx at aol.com Thu Nov 30 18:37:41 2017 From: dunbarx at aol.com (dunbarx) Date: Thu, 30 Nov 2017 16:37:41 -0700 (MST) Subject: Find WHAAAAAY faster! In-Reply-To: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> References: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> Message-ID: <1512085061815-0.post@n4.nabble.com> I am in 8.1.6. Where did the speed increase come in? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Thu Nov 30 18:39:08 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 30 Nov 2017 23:39:08 +0000 Subject: Find WHAAAAAY faster! In-Reply-To: <1512085061815-0.post@n4.nabble.com> References: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> <1512085061815-0.post@n4.nabble.com> Message-ID: <30A7AD59-804C-43CF-A798-D4831304623C@iotecdigital.com> Oh sorry 8.1.8 rc2 > On Nov 30, 2017, at 15:37 , dunbarx via use-livecode wrote: > > I am in 8.1.6. Where did the speed increase come in? > > Craig Newman From monte at appisle.net Thu Nov 30 18:40:51 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 1 Dec 2017 10:40:51 +1100 Subject: Find WHAAAAAY faster! In-Reply-To: <1512085061815-0.post@n4.nabble.com> References: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> <1512085061815-0.post@n4.nabble.com> Message-ID: > On 1 Dec 2017, at 10:37 am, dunbarx via use-livecode wrote: > > I am in 8.1.6. Where did the speed increase come in? It?s in 8.2 +. I originally did this in LC 9 but back ported to 8.2 when we decided to do that because when I work on the IDE I tend to search all stacks in memory regularly. FWIW there was no real magic to the speed up just more efficient object iteration and using an array of objects rather than a big list. Cheers Monte From bobsneidar at iotecdigital.com Thu Nov 30 18:42:10 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 30 Nov 2017 23:42:10 +0000 Subject: Find WHAAAAAY faster! In-Reply-To: References: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> <1512085061815-0.post@n4.nabble.com> Message-ID: <90A46AE7-1A07-47C1-9A65-AC9A79017367@iotecdigital.com> You must have back ported it because it's in 8.1.8 rc2 Bob S > On Nov 30, 2017, at 15:40 , Monte Goulding via use-livecode wrote: > >> I am in 8.1.6. Where did the speed increase come in? > > It?s in 8.2 +. I originally did this in LC 9 but back ported to 8.2 when we decided to do that because when I work on the IDE I tend to search all stacks in memory regularly. FWIW there was no real magic to the speed up just more efficient object iteration and using an array of objects rather than a big list. > > Cheers > > Monte From monte at appisle.net Thu Nov 30 18:45:24 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 1 Dec 2017 10:45:24 +1100 Subject: Find WHAAAAAY faster! In-Reply-To: <90A46AE7-1A07-47C1-9A65-AC9A79017367@iotecdigital.com> References: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> <1512085061815-0.post@n4.nabble.com> <90A46AE7-1A07-47C1-9A65-AC9A79017367@iotecdigital.com> Message-ID: > On 1 Dec 2017, at 10:42 am, Bob Sneidar via use-livecode wrote: > > You must have back ported it because it's in 8.1.8 rc2 Hmm? nope? definitely 8.2 https://github.com/livecode/livecode-ide/pull/1706 From bobsneidar at iotecdigital.com Thu Nov 30 18:45:23 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 30 Nov 2017 23:45:23 +0000 Subject: Find WHAAAAAY faster! In-Reply-To: References: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> <1512085061815-0.post@n4.nabble.com> Message-ID: <3B5D4AC9-DF93-432E-99ED-26ECB50D6A96@iotecdigital.com> What big list?? What array??? That could be really handy if it is exposed to the IDE. Bob S > On Nov 30, 2017, at 15:40 , Monte Goulding via use-livecode wrote: > > It?s in 8.2 +. I originally did this in LC 9 but back ported to 8.2 when we decided to do that because when I work on the IDE I tend to search all stacks in memory regularly. FWIW there was no real magic to the speed up just more efficient object iteration and using an array of objects rather than a big list. > > Cheers > > Monte From monte at appisle.net Thu Nov 30 18:46:58 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 1 Dec 2017 10:46:58 +1100 Subject: Find WHAAAAAY faster! In-Reply-To: <3B5D4AC9-DF93-432E-99ED-26ECB50D6A96@iotecdigital.com> References: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> <1512085061815-0.post@n4.nabble.com> <3B5D4AC9-DF93-432E-99ED-26ECB50D6A96@iotecdigital.com> Message-ID: <6E6FBC3C-85AE-48C0-B289-045A7BC79C66@appisle.net> > On 1 Dec 2017, at 10:45 am, Bob Sneidar via use-livecode wrote: > > What big list?? What array??? That could be really handy if it is exposed to the IDE. The search first collects all the objects to search then iterates it. How would you want it exposed and what would you do with it? From bobsneidar at iotecdigital.com Thu Nov 30 19:01:55 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 1 Dec 2017 00:01:55 +0000 Subject: Find WHAAAAAY faster! In-Reply-To: <6E6FBC3C-85AE-48C0-B289-045A7BC79C66@appisle.net> References: <98FC9F31-6836-47D3-AF2C-2FF8A876EEC5@iotecdigital.com> <1512085061815-0.post@n4.nabble.com> <3B5D4AC9-DF93-432E-99ED-26ECB50D6A96@iotecdigital.com> <6E6FBC3C-85AE-48C0-B289-045A7BC79C66@appisle.net> Message-ID: <880E7559-A2B2-49AA-A6E7-9CF250EAF60F@iotecdigital.com> Write a means of saving an UI stack compactly? But then there is the linked graphic by ID to button issue that would not work sooo... Bob S > On Nov 30, 2017, at 15:46 , Monte Goulding via use-livecode wrote: > >> On 1 Dec 2017, at 10:45 am, Bob Sneidar via use-livecode wrote: >> >> What big list?? What array??? That could be really handy if it is exposed to the IDE. > > The search first collects all the objects to search then iterates it. How would you want it exposed and what would you do with it? From alex at tweedly.net Thu Nov 30 20:56:13 2017 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 1 Dec 2017 01:56:13 +0000 Subject: Livecode Content Management System Message-ID: <83a7bdb5-3880-4e7a-4a39-f709161fbe9b@tweedly.net> Hi folks, I'm looking for (initial) interest, previous experience, comments, etc. Every few [ = 4 to 8] months for the last few [= 2 to 3] years, I've been either building a new website for someone, or making significant changes/enhancements to an existing one. Almost every time, unless the changes are very small, I've decided that I really *should* convert it to use a 'proper' CMS - e.g. Wordpress. And I've tried - but every time I've foundered on not being able to get the site to be what I want, or realizing (believing?) that to do what I want requires real development skills within WP - and therefore too much of a learning curve and/or too much PHP.? Or, I've decided that to make it a bearable experience I need to use multiple add-ons (plugins, themes, etc.) and then found that the plugins I spent hours investigating and choosing were incompatible. Or were just not well enough documented. [ I won't tell you how often I've found a (video) tutorial, wasted an entire hour or more watching it - then realized that it was for an out-of-date version of the plugin, or an old version of Wordpress, and that all the helpful screenshots showed me how to modify settings / actions that didn't exist, or had no obvious equivalent, in the current versions. ] Twice, having run into brick walls with Wordpress, I've tried other CMSs (Concrete5 and ??Dolphin??) with similar results - poor / out-of-date docs have left me stranded - 80% of the way towards doing what I wanted and unable to get any further. So in every case until now, I've given up, made tweaks / extensions to my own "home-grown" web site tool(s), and - so far - completed my enhancements in less time than I had wasted trying the "real" CMS. I put that down to: ?- the power of Livecode ?- the power of revIgniter? (thank you ! again, Ralf) ?- my impatience in trying to learn new tools But now I have a new, bigger opportunity / challenge - I've been asked to build a web site (actually two unrelated web sites) which are bigger and more complex, and for which I absolutely do not want to become the de facto on-going (content) maintainer. So, I've decided to build LCMS - a Livecode Content Management System. It will be (very loosely) based on what I think are the useful ideas in Wordpress (but without any tendency towards blogs). It will be relatively simple. It won't be: ?- smooth, slick and all-powerful like WP ?- able to support (initially, and for some time) real independent development of themes, plugins, auto-loading and updating, etc. etc. (yada, yada, yada ...) - that might be done in a few [= 2 to 20 years] It will be : ?- based on Livecode (and extensible in LC) ?- (I hope) simple and easy (for a LC developer) to understand, use and extend ?- complete with at least one complete theme (based on Botstrap) ?- (at some point) open source, on github, etc. under MIT liceense ?- documented in some old-fashioned way (i.e. written, searchable, skimmable tutorials - few or no Youtube videos to waste your time) OK - enough of the advertising pitch :-) Here are the requests for input .... 1.? has anyone tried this before ? and did you succeed ?? or why did you stop ? any foreseeable problems to contend with ? 2. am I just tilting at windmills and I should just go back to studying WP and its plugins ? 3. the current prototype is based on (or rather 'is written over' revIgniter). I have very conflicting opinions of revIgniter ??? + it's wonderful, it has a huge quantity of things it "just does" (in a well documented, well tested, etc. way)? so that I don't need to think or learn about them, etc. - I love it. ??? - (a) it is intimately tied to LC server, with heavy dependency on 'include' so it's impossible to (as I would want to do) test 99% of my code in the IDE, with debugging etc. help. ??? - (b) I *really* dislike the "rigLoadView" scheme - it forces (or seems to force) far too much co-mingling of code and content within the view files, and has no clear way to use "themes" The current version of LCMS simply ignores the 'View' (and 'Model') part of revIgniter, and generates all its output based on? ''pages' and 'themes'? (and 'menus') - but it sill benefits from all the other parts of revIgniter). do you think it would be worth the (considerable) effort needed to remove the dependency on rvIgniter in the hope of benefiting from the reduced complexity, hopefully lower overhead, easier debugging a higher percentage within the Ide, etc. ? Thanks for any suggestions, input, etc. Alex. From capellan2000 at gmail.com Thu Nov 30 21:47:24 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 30 Nov 2017 21:47:24 -0500 Subject: Livecode Content Management System Message-ID: Hi Alex, Alex Tweedly wrote: > Thanks for any suggestions, input, etc. Could your LCMS import (and use) templates and themes from other CMS platforms like Joomla or WordPress? I would like to answer another questions, but have no experience using RevIgniter, so could not comment about your questions. Al