Re: Docset Reader released and updates to Make Docset and Livecode.Docset

2018-11-01 Thread James At The Hale via use-livecode
Pardon my mental hiccup in making a stack for non MacOS which looks for a file package that only exists under MacOS. I have uploaded a new version of the reader that depending on the platform looks for and moves either a file (MacOS) or folder (non MacOS). I have also altered the startup so

Re: SSL with HTTPD Library?

2018-11-01 Thread Stephen MacLean via use-livecode
Hi Monte, Not sure on this, or if it was implemented… I was the submitter on 16871. I agree with your enhancement to the command, pretty similar to other implementations I’ve seen. Best, Steve MacLean > On Nov 1, 2018, at 8:02 PM, Monte Goulding via use-livecode > wrote: > > As it’s not

Re: SSL with HTTPD Library?

2018-11-01 Thread Stephen MacLean via use-livecode
> On Nov 1, 2018, at 5:38 PM, Richard Gaskin via use-livecode > wrote: > > Stephen MacLean wrote: > > > I’m looking to use the HTTPD library with an SSL Cert if possible. > > > > Is it possible? > > AFAIK all of the HTTPd libs for LC/MC do not handle HTTPS. It should be > possible to fork

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-01 Thread Geoff Canyon via use-livecode
Nice! I *just* finished creating a github repository for it, and adding support for multi-char search strings, much as you did. I was coming to the list to post the update when I saw your post. Here's the GitHub link: https://github.com/gcanyon/offsetlist Here's my updated version: function

Re: SSL with HTTPD Library?

2018-11-01 Thread Monte Goulding via use-livecode
As it’s not documented I’m not 100% sure it works or anyone has tried it but it seems at some point `accept secure connections` was implemented. The syntax declaration for `accept` should be: accept [{ secure | datagram }] connections on port with message [{ with | without } verification] I

Re: tree view hide key

2018-11-01 Thread Brian Milby via use-livecode
Well, testing any of the fixes would require you to download the widget and build it as none of the 9.1 builds are out yet. I did have an idea about manual sorting of data in a tree view. I'll need to bounce it around in my head a bit to see if it would be workable. The basic idea would be to

Re: Mysteries of Me

2018-11-01 Thread Bob Sneidar via use-livecode
That should have been the full path to the stack. Bob S > On Nov 1, 2018, at 13:02 , Bob Sneidar via use-livecode > wrote: > > put getParentStack(tParentCard) into tParentStack -- returns the long id of > the parent stack ___ use-livecode

Re: SSL with HTTPD Library?

2018-11-01 Thread Richard Gaskin via use-livecode
Stephen MacLean wrote: > I’m looking to use the HTTPD library with an SSL Cert if possible. > > Is it possible? AFAIK all of the HTTPd libs for LC/MC do not handle HTTPS. It should be possible to fork one of them to add that, but the effort would be non-trivial. What is the usage scenario

Re: Mysteries of Me

2018-11-01 Thread Bob Sneidar via use-livecode
Well the big thing it deals with is ambiguity. I have a number of substacks which are similar, like data entry forms for different tables in the database, and these have many controls, properties and scripts in common, but also some that are unique to that particular form. If only one of these

Re: Browser widget and mailto link.

2018-11-01 Thread Sannyasin Brahmanathaswami via use-livecode
There is a known bug in iOS 12 that breaks the javascript handlers. I had to immediately ship a version of SivaSiva app, without the "Lexicon" -- which is an HTML5 package in the app, playing the browser widget -- I believe they have fixed it, and it will get in 9.0.2 rc 1. (any day now? but

Re: Mysteries of Me

2018-11-01 Thread Sannyasin Brahmanathaswami via use-livecode
Bob, that make sense. But why do need those handlers? What not just use "of this stack"? Obviously, I am oblivious to the number contexts where you require: "...created handlers that return the parent card or stack of an object." I am curious what they are? BR Bob Sneidar via use-livecode

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-01 Thread Niggemann, Bernd via use-livecode
Hi Geoff, thank you for this beautiful script. I modified it a bit to accept multi-character search string and also for case sensitivity. It definitely is a lot faster for unicode text than anything I have seen. - function offsetList D,S, pCase -- returns a

Re: Tab between fields on mobile device

2018-11-01 Thread Mike Kerner via use-livecode
Instead of using tab we use enterkey, that way both hardware and on-screen keyboards work. On Thu, Nov 1, 2018 at 9:42 AM Andrew Bell via use-livecode < use-livecode@lists.runrev.com> wrote: > I'm trying to tab from field to field in a mobile app when pressing > the TAB key on a bluetooth

Docset Reader released and updates to Make Docset and Livecode.Docset

2018-11-01 Thread James Hale via use-livecode
One of my other stacks "Make Docset" produces a Livecode package containing the complete dictionary API as well as all the guides that ship with each version of Livecode. This package can be read by DASH compatible readers that accept user contributed sources. However not all platforms

Tab between fields on mobile device

2018-11-01 Thread Andrew Bell via use-livecode
I'm trying to tab from field to field in a mobile app when pressing the TAB key on a bluetooth keyboard, but having no luck in an iOS app. My "on tabKey" code works fine in the IDE but not on the iPad. After closer inspection of the dictionary, I discovered that the tabKey handler is NOT

Re: Script works but still cast an error?

2018-11-01 Thread dunbarxx via use-livecode
Hmmm. I made a group with a subgroup and some fields. I placed a "start editing..." line in one of the fields and the subgroup. No issues with either upon mouseEnter. Have you looked at "the result" in each handler? Craig Newman -- Sent from:

Re: How best to check if string contains any of a list of substrings?

2018-11-01 Thread Keith Clarke via use-livecode
Thanks Alex - I thought the single-pass ‘is among’ with wildcards was a long-shot, so I’ll concentrate on debugging the list iteration using the ‘contains’ check. :-) The strings & sub-strings are simple - I have a large list of URLs that need to be processed differently (or ignored), based on

Re: How best to check if string contains any of a list of substrings?

2018-11-01 Thread Alex Tweedly via use-livecode
Hi Keith, I think the simplest method would be (almost) your second attempt below. However, you were using "*est*" - i.e. with the '*'s before and after the phrase, which is what you would need for 'filter' but not for 'contains'. So it should work with just put “my test phrase” into

How best to check if string contains any of a list of substrings?

2018-11-01 Thread Keith Clarke via use-livecode
Folks, What is the most efficient way to test whether a variable containing a string such as “my test phrase” contains one of several variable substrings, such as “est” OR “phr” OR... ? So far I’ve tried (without luck) approaches that simplify into... put “my test phrase” into myTestPhrase put

Script works but still cast an error?

2018-11-01 Thread Michael Kristensen via use-livecode
Hi there I have a scrolling group called “PinBoard” that holds subgroups and fields. If I place this simple script in the subgroups: on mouseEnter lock screen start editing grp PinBoard set the layer of me to top stop editing end mouseEnter …it works very well. If I

Re: How to find the offset of the last instance of a repeating character in a string?

2018-11-01 Thread Geoff Canyon via use-livecode
I was curious if using the itemDelimiter might work for this, so I wrote the below code out of curiosity; but in my quick testing with single-byte characters it was only about 30% faster than the above methods, so I didn't bother to post it. But Ben Rubinstein just posted about a terrible