Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-26 Thread Charles Warwick via use-livecode
Hi Ralf, > In a nutshell following the results of my tests: > > - There is bug 18961. An issue regarding tsNetSendCmd() is presumably > related. Other Indy features work as expected. The issue is that any asynchronous tsNet function will fail on LC server. I have not yet had time to go back a

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Dick Kriesel via use-livecode
> On Jun 26, 2018, at 1:13 PM, Bob Sneidar via use-livecode > wrote: > ... > do "put " & quote & aStackConstants [tConstant] & quote & " into " & > tConstant Hi, Bob. If you wanted simpler code, that could be just do "put aStackConstants[ tConstant ] into " & tConstant — Dick _

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Bob Sneidar via use-livecode
Yes that was my problem. Hovering or viewing the variable in the debugger while getStackConstants was running would show the script local variable values being updated, but as soon as the handler exited, they were all empty again, meaning the handler was not updating the script local variables,

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Tom Glod via use-livecode
i remember debugging a local script in a datagrid behavior and having to figure out which index it was working on.new window would work the same but you'd still need to give yourself that piece of data that will tell you which one it is. another thing i keep on forgetting in v9 is when you ho

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-26 Thread Matthias Rebbe via use-livecode
> Am 26.06.2018 um 20:12 schrieb Ralf Bitter via use-livecode > : > > - On On-Rev using LC server 9 tsNet does not work at all because glibc needs > to be upgraded as I was told by support. > Custom directives in ~/.bashrc didn’t help, these seem to be ignored by > Apache. > Hm, On-Rev supp

Re: Examples of encryption for database access

2018-06-26 Thread Mark Wieder via use-livecode
On 06/25/2018 08:57 PM, Brian Milby via use-livecode wrote: One thing this misses is that the IV is not another private key/password. It should be random/different for every use of the key. True, but for the purpose of Bill's demo it works fine. For that matter, a 16-bit iv won't get you very

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Bob Sneidar via use-livecode
Hmmm... something you said set me to thinking. Suppose I already had the instance of a behavior opened in the script editor with a breakpoint set. I then execute a handler in another object with the same behavior. Which instance is the script editor going to show me?? Ideally, it should open a n

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Bob Sneidar via use-livecode
Yes, well for whatever reason it's working now. I didn't change anything, I just quit and relaunched. It may be some kind of topstack issue where the topstack is changing and I don't know it's happening. Bob S > On Jun 26, 2018, at 13:44 , Tom Glod via use-livecode > wrote: > > h.. ...

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Tom Glod via use-livecode
h.. look inside the preferences to the script editor. try to see if "variable preservation" helps you..i think its an engine property. On Tue, Jun 26, 2018 at 4:41 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > > > > On Jun 26, 2018, at 13:30 , J. Landman

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Tom Glod via use-livecode
yup a feature that makes lc driven datagrid possible. :) and many other things. On Tue, Jun 26, 2018 at 4:30 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Every instance of a behavior maintains its own separate variable values. > This is a feature. Globals are

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Bob Sneidar via use-livecode
> On Jun 26, 2018, at 13:30 , J. Landman Gay via use-livecode > wrote: > > Every instance of a behavior maintains its own separate variable values. This > is a feature. Globals are the solution if you want them to share the values. > I don't want to share the variables. I want them to be l

Re: Behaviors not honoring script local variables??

2018-06-26 Thread J. Landman Gay via use-livecode
Every instance of a behavior maintains its own separate variable values. This is a feature. Globals are the solution if you want them to share the values. On 6/26/18 3:19 PM, Bob Sneidar via use-livecode wrote: Works with globals, but not script locals. Bob S On Jun 26, 2018, at 13:13 , Bo

Re: Behaviors not honoring script local variables??

2018-06-26 Thread Bob Sneidar via use-livecode
Works with globals, but not script locals. Bob S > On Jun 26, 2018, at 13:13 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > I have a behavior script with a handler: > > local cTableName, cDGName, cPriKey, cAltTable1 > > on getStackConstants pParentStack > -- retrieve stack con

Behaviors not honoring script local variables??

2018-06-26 Thread Bob Sneidar via use-livecode
Hi all. I have a behavior script with a handler: local cTableName, cDGName, cPriKey, cAltTable1 on getStackConstants pParentStack -- retrieve stack constants from stack property put the stackConstants of pParentStack into aStackConstants put the keys of aStackConstants into tConstantLi

Re: Remote URL Not Available

2018-06-26 Thread J. Landman Gay via use-livecode
On 6/26/18 10:02 AM, Sannyasin Brahmanathaswami via use-livecode wrote: How do you determine that a URL is not available*before* you set a [player object, stream the text, show a slide, pick a YouTube etc]? One could obvious ping it and test for "404 page not found" , but the server may respo

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-26 Thread Ralf Bitter via use-livecode
Panos, did tsNet tests only on localhost like you, using 64-bit Ubuntu 16.04 and 64-bit Ubuntu 16.04 Server. In a nutshell following the results of my tests: - There is bug 18961. An issue regarding tsNetSendCmd() is presumably related. Other Indy features work as expected. - Although the busin

Re: Remote URL Not Available

2018-06-26 Thread Sannyasin Brahmanathaswami via use-livecode
Thanks Bob.. For years if been keeping a ping.txt file on the server. It contains "true" which tell me the server is available. Interesting enough, apple does the almost the thing. That suffices for the server. I agree that there in no way " to check if a page is *going* to be available" b

Re: iOS 12 compatibility

2018-06-26 Thread Andrew Bell via use-livecode
We're far enough out from the iOS 12 launch that I wasn't overly concerned, but it's open for public beta now so I'm sure to get some support emails from bleeding-edge technologists. LC 9.0 macOS 10.11.5 Xcode 8.2 --Andrew Bell Quoting panagiotis merakos : Hi Andrew, oh what fun! I wil

Re: iOS 12 compatibility

2018-06-26 Thread panagiotis merakos via use-livecode
Hi Andrew, oh what fun! I will install iOS 12 beta in one of our office devices and investigate tomorrow. After a quick google search it seems that other non-LC apps crash on startup on iOS 12 beta, so probably Apple has changed something. BTW what version of LC / MacOS/ Xcode did you use to bui

Re: WordPress REST API's

2018-06-26 Thread Stephen MacLean via use-livecode
Hi Todd, Thanks for the input… I was able to get it working, as you said, you need an oAuth plugin which I got and am able to connect fine. Didn’t know about postman and will check that out. I’ve had good success with the library, just some minor tweaks… working good. Will have to check out

iOS 12 compatibility

2018-06-26 Thread Andrew Bell via use-livecode
I know the devs are working on including the new version of Xcode, but has anyone tried to run their apps in the iOS 12 beta? I installed it on my iPad and haven't had ANY luck. Every app that I've made (app store official & ad hoc install) either crashes or goes to black screen on iOS 12.

tsnet dialog

2018-06-26 Thread Mike Kerner via use-livecode
I am catching lc errors, but if tsnet runs into something, it throws up a dialog, anyway. For example I have multiple wifi zones in my house. Some of those are a good distance away from where I might be. When my lappie auto-connects to one of them, the connection will naturally be slow. In that

Re: Remote URL Not Available

2018-06-26 Thread Bob Sneidar via use-livecode
To see if the server is listening on a given port, use telnet You should get some kind of response within a reasonable period of time. If you know the IP of the server use that instead of the name and you can avoid DNS latency. Ping will only tell you if the server is on and accessible. As

WordPress REST API's

2018-06-26 Thread Todd Fabacher via use-livecode
> Hmmm...maybe Todd can chime in on this I asked him a a few months back > if it was good and safe to use in production...he said absolutely...so i > kinda passed that on. Yes, sorry I was a speaking at a conference. Hi Steve, I am happy to help. There are several ways to connect to the WP RE

Remote URL Not Available

2018-06-26 Thread Sannyasin Brahmanathaswami via use-livecode
Our app has contains content "in the package" and content streamed from "the cloud" It’s a bit new to me dealing with TsNet, latency issues, timeout, and to give the user feedback on status… it's a challenge…So 1 question at a time: How do you determine that a URL is not available *before* you

Re: Datagrid Behaviors Moved??

2018-06-26 Thread zryip theSlug via use-livecode
Such as custom header templates? 8) On Mon, Jun 25, 2018 at 5:50 PM, Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > thats a good tip for me as well..thanks Bob. you are right. looking at > the handlers in there is pretty helpful, there may be a bunch of > undocumented nug