Re: A poor man's app updater

2018-08-03 Thread Peter Bogdanoff via use-livecode
Hi, To raise the issue again of updating Mac and Windows apps, I’m referencing this thread between Graham and Jacqueline... Can existing files in the user’s application directory be saved/modified/replaced by my application? > On Mar 18, 2018, at 12:57 PM, J. Landman Gay via use-livecode >

Re: A poor man's app updater

2018-08-03 Thread Paul Dupuis via use-livecode
On 8/3/2018 2:32 AM, Peter Bogdanoff via use-livecode wrote: > Hi, > > To raise the issue again of updating Mac and Windows apps, I’m referencing > this thread between Graham and Jacqueline... > > Can existing files in the user’s application directory be > saved/modified/replaced by my

Browser persistence from card to card

2018-08-03 Thread Tom Glod via use-livecode
Hi folks, I don't know the reasoning behind this, but... when using the browser widget, and changing cards, the browser cef process is killed and restated each time you close and open the card with the browser on it. and it doesn't remember where you were scrolling wise. I could have

Re: Getting Started with DataGrid

2018-08-03 Thread Bob Sneidar via use-livecode
In that case, call me Obi Wan. Not after the Star Wars Jedi of fame, but after the name of the restaurant Indiana Jones flees from in Temple of Doom. Bob S > On Aug 2, 2018, at 22:07 , Stephen Barncard via use-livecode > wrote: > > Names are merely abstractions.

Re: Browser persistence from card to card

2018-08-03 Thread Brian Milby via use-livecode
I have not tried this, but have you considered a background group for the browser widget? You could hide and unhide it possibly? Thanks, Brian On Aug 3, 2018, 8:45 AM -0500, Tom Glod via use-livecode , wrote: > Hi folks, I don't know the reasoning behind this, but... > > when using the

put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
Hi All, I’m experiencing at put URL oddity: Entering: put URL "https://www.google.com” into the message box returns the HtML for the google home page, which is what I expect. Entering: put URL "https://www.milfordmirror.com/“ returns absolutely nothing, no errors, no content whatsoever. Just

Re: put URL oddity

2018-08-03 Thread Brian Milby via use-livecode
For me I have to include the protocol. So the “http://“ needs to be there to get any output. Thanks, Brian On Aug 3, 2018, 12:08 PM -0500, Stephen MacLean via use-livecode , wrote: > Hi All, > > I’m experiencing at put URL oddity: > > Entering: put URL "https://www.google.com” into the message

CEF browser question

2018-08-03 Thread prothero--- via use-livecode
Folks, As I was working on and testing the browser widget, which seemed to fail when tested on my iPhone, I thought the problem was with the browser widget, but it turned out to be that I was trying to link to a web site that wouldn’t let me load it because I was using a vpn on my iPhone. The

valueDiff for arrays?

2018-08-03 Thread Richard Gaskin via use-livecode
We have a command for obtaining the difference between arrays, where "difference" is defined as having different keys. What I could use at the moment is a means of obtaining an array which is the difference is both keys present in one but not in the other, and values that are different for

RE: CEF browser question

2018-08-03 Thread Ralph DiMola via use-livecode
Bill, Are getting bit by iOS App Transport Security (ATS) for non https sites? Try disabling ATS on the iOS standalone settings pane. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net Folks, As I was working on and testing the browser widget, which seemed to

Re: valueDiff for arrays?

2018-08-03 Thread Bob Sneidar via use-livecode
Not to beat a dead horse, but this would be a perfect application for moving the arrays to memory databases, and running queries against them, then converting back to arrays again. I can have a go at it if I have a couple JSON arrays to work with. Are they typical 2 dimensional arrays like

Re: put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
Hi Brian, Thanks for the reply, but I’m confused… the protocol is there: https:// Thanks, Steve > On Aug 3, 2018, at 1:18 PM, Brian Milby via use-livecode > wrote: > > For me I have to include the protocol. So the “http://“ needs to be there to > get any output. > > Thanks, > Brian > On

Drag Drop State of Affairs

2018-08-03 Thread Bob Sneidar via use-livecode
Hi all. I've mentioned before that on a Mac current OS latest LC (and prior) I have some drag/drop operations, where I will process text dropped onto a field. The actual process works, but afterwards, the controls in the window will be unresponsive, until I click the window title bar, after

Re: Drag Drop State of Affairs

2018-08-03 Thread Knapp Martin via use-livecode
I’ve had the same issue. FWIW I’ve found that after a drag and drop, if I move my mouse into the LC toolbar and back (with no clicking) it returns to normal. Marty > On Aug 3, 2018, at 10:58 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > I've mentioned before that on a Mac

Re: put URL oddity

2018-08-03 Thread Mark Wieder via use-livecode
On 08/03/2018 10:07 AM, Stephen MacLean via use-livecode wrote: Hi All, I’m experiencing at put URL oddity: Entering: put URL "https://www.google.com” into the message box returns the HtML for the google home page, which is what I expect. Entering: put URL "https://www.milfordmirror.com/“

Re: put URL oddity

2018-08-03 Thread Brian Milby via use-livecode
Pretty strange as I do get a response from both http and https On Aug 3, 2018, 2:13 PM -0500, Stephen MacLean via use-livecode , wrote: > Thanks Tom, it defaults to true, but even setting it, still nothing returned > :( > > > On Aug 3, 2018, at 2:49 PM, Tom Glod via use-livecode > > wrote: > >

Re: Move command on iOS

2018-08-03 Thread MWCM via use-livecode
Are you testing in iOS 12? This is the exact problem I’m having (that Monte just patched today). Sounds like it should be fixed in 9.0.1.rc2 --Andrew Bell --Sent from my iPhone >>> > From: "J. Landman Gay" > To: LiveCode Mailing List > Subject: Move command on iOS > Message-ID: >

Re: Move command on iOS

2018-08-03 Thread Monte Goulding via use-livecode
@Jacque I’ve had a look around the engine… would be interested to know if you are moving without waiting or not (if that makes a difference). It looks like the most likely cause of what you are seeing is multiple calls to `move` the object to a location. The second of which will look like the

Re: put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
Ok, so dug a bit deeper into this using TSNet. the result I’m getting back is: tsneterr: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect So it looks like the connection itself is being rejected. Some googling came across some of the same issues

Re: put URL oddity

2018-08-03 Thread Bob Sneidar via use-livecode
When working with web servers, encryption is in fact ALWAYS required, because if someone can get at your web server they can plant drive by malware. Anything exposed to the internet requires modern encryption, and it can be argued that anything exposed to ANY network requires it. The

Re: Drag Drop State of Affairs

2018-08-03 Thread Bob Sneidar via use-livecode
I'll check that. I'll put the defaultStack before the operation and then after and see if it changes. Bob S > On Aug 3, 2018, at 11:42 , J. Landman Gay via use-livecode > wrote: > > Could the defaultstack have changed? It sounds a bit like that.

Re: valueDiff for arrays?

2018-08-03 Thread Mark Wieder via use-livecode
On 08/03/2018 04:26 PM, Brian Milby via use-livecode wrote: "symmetric difference" will get you the first part (unique keys) Nice. One-stop shopping. You could shorten the compare loop by using "intersect" (to get common keys) function getKeys pLeft, pRight local tIntersect, tResult

Re: Move command on iOS

2018-08-03 Thread Monte Goulding via use-livecode
@Jacque there was this one also but that is visual effects only https://quality.livecode.com/show_bug.cgi?id=21434 > On 4 Aug 2018, at 10:18 am, Monte Goulding via use-livecode > wrote: > > Hmm… I patched the crash at startup when not in

Re: A poor man's app updater

2018-08-03 Thread Paul Dupuis via use-livecode
With the increasing use of sandboxing on Operating Systems (i.e. very limited access on iOS and Android that will eventually be included in desktop OSes), I might suggest using specialFolderPath("documents") and creating a directory structure in there, say of the form // and whatever else you

Re: put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
> On Aug 3, 2018, at 3:54 PM, Mark Wieder via use-livecode > wrote: > > On 08/03/2018 10:07 AM, Stephen MacLean via use-livecode wrote: >> Hi All, >> I’m experiencing at put URL oddity: >> Entering: put URL "https://www.google.com” into the message box returns the >> HtML for the google home

Re: Drag Drop State of Affairs

2018-08-03 Thread J. Landman Gay via use-livecode
Try checking the topstack, that's another one that sometimes resets. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 3, 2018 5:22:36 PM Bob Sneidar via use-livecode wrote: No tamalies Jacque. With the stack unresponsive, I

Re: Move command on iOS

2018-08-03 Thread Monte Goulding via use-livecode
Hmm… I patched the crash at startup when not in acceleratedRendering mode for iOS 12. I don’t think it will have much to do with the move command in acceleratedRendering mode. I did recently fix something in acceleratedRendering mode in a stack that had a group coming in from the side that was

Re: put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
On Aug 3, 2018, at 4:12 PM, Stephen MacLean via use-livecode wrote: > > >> On Aug 3, 2018, at 3:54 PM, Mark Wieder via use-livecode >> wrote: >> >> On 08/03/2018 10:07 AM, Stephen MacLean via use-livecode wrote: >>> Hi All, >>> I’m experiencing at put URL oddity: >>> Entering: put URL

Re: put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
Yes, what a nightmare! This is going to be a nightmare for years to come… I understand the desire for secure communications, but it’s not always required or even beneficial. Just as those astronauts had better have a fall back plan, so should we:) Steve > On Aug 3, 2018, at 4:40 PM, Bob

Re: Using the $_POST global in LiveCode server

2018-08-03 Thread Mike Bonner via use-livecode
Still haven't got a test set up. So trying the quicker easier way.. Hey everyone, in which versions of server are sessions not broken? On Thu, Aug 2, 2018 at 6:17 PM Mike Bonner wrote: > Version 7.1.0 doesn't seem to work. (the version used by on-rev.) Pretty > sure its been in this

Re: CEF browser question

2018-08-03 Thread Monte Goulding via use-livecode
> On 4 Aug 2018, at 2:35 am, prothero--- via use-livecode > wrote: > > As I was working on and testing the browser widget, which seemed to fail when > tested on my iPhone, I thought the problem was with the browser widget, but > it turned out to be that I was trying to link to a web site

Re: valueDiff for arrays?

2018-08-03 Thread Brian Milby via use-livecode
"symmetric difference" will get you the first part (unique keys) You could shorten the compare loop by using "intersect" (to get common keys) function getKeys pLeft, pRight local tIntersect, tResult intersect pLeft with pRight into tIntersect repeat for each key tKey in tIntersect

Re: A poor man's app updater

2018-08-03 Thread Peter Bogdanoff via use-livecode
So, to store and access LC stacks and other files used by myApp that must be periodically updated, does it make sense to put them into macOS—Library/Application Support/myApp Win—user/AppData/myApp rather than in Applications or Program Files? Are there any restrictions or downside to this?

Re: put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
While *verified* encryption may be “required” by the major browsers and others for preventing "Man In the Middle” attacks, it’s still a hair ball that a lot of sites still haven’t figured out properly… and THAT is the big problem. Cost, expertise, hosting, maintenance of certs, etc. all

Re: Drag Drop State of Affairs

2018-08-03 Thread Bob Sneidar via use-livecode
No tamalies Jacque. With the stack unresponsive, I type "put the short name of the defaultStack" into the message box and it's correct. Bob S > On Aug 3, 2018, at 14:56 , Bob Sneidar via use-livecode > wrote: > > I'll check that. I'll put the defaultStack before the operation and then >

Re: valueDiff for arrays?

2018-08-03 Thread Mark Wieder via use-livecode
On 08/03/2018 10:40 AM, Richard Gaskin via use-livecode wrote: We have a command for obtaining the difference between arrays, where "difference" is defined as having different keys. What I could use at the moment is a means of obtaining an array which is the difference is both keys present in

Re: valueDiff for arrays?

2018-08-03 Thread Brian Milby via use-livecode
(As Mark said, if the values are different, which value would you want in the array?) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: valueDiff for arrays?

2018-08-03 Thread Mark Wieder via use-livecode
On 08/03/2018 05:16 PM, Brian Milby via use-livecode wrote: Of course, then we have to figure out what to name the beast too... LOL. But again, considering how easy it is to code this in LCS and how many different use cases there might be to take care of, I doubt it's worth fiddling with

Re: put URL oddity

2018-08-03 Thread Tom Glod via use-livecode
maybe the url is a redirect and your request is not following it. On Fri, Aug 3, 2018 at 1:49 PM, Stephen MacLean via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Brian, > > Thanks for the reply, but I’m confused… the protocol is there: https:// > > Thanks, > > Steve > > > On Aug 3,

Re: Drag Drop State of Affairs

2018-08-03 Thread Bob Sneidar via use-livecode
Thanks for the confirmation Marty. My suspicion is that for whatever reason the IDE is not "focused" on the current card after the drop, but only sometimes. I have been unable after much trial and error to produce a reliable formula for reproducing the effect. Bob S > On Aug 3, 2018, at

Re: put URL oddity

2018-08-03 Thread Peter Bogdanoff via use-livecode
For what it’s worth: Using the URLs of the other affiliated newspaper sites at the bottom of the Milford Mirror page also don’t return anything in the message box. Peter > On Aug 3, 2018, at 11:24 AM, Tom Glod via use-livecode > wrote: > > maybe the url is a redirect and your request is not

Re: Drag Drop State of Affairs

2018-08-03 Thread J. Landman Gay via use-livecode
Could the defaultstack have changed? It sounds a bit like that. On 8/3/18 1:13 PM, Knapp Martin via use-livecode wrote: I’ve had the same issue. FWIW I’ve found that after a drag and drop, if I move my mouse into the LC toolbar and back (with no clicking) it returns to normal. Marty On Aug

Re: put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
Thanks, I think that it is as Tom mentioned a re-direct. That site is built using wordpress, and that’s most of what WP does. So that begs the question, how do I get the put URL command to follow a redirect? Thanks, Steve > On Aug 3, 2018, at 2:41 PM, Peter Bogdanoff via use-livecode >

Re: put URL oddity

2018-08-03 Thread Tom Glod via use-livecode
i should have mentioned in you original reply... check out libURLFollowHttpRedirects in dictionary ... never had to use it but i suppose thats what its for. On Fri, Aug 3, 2018 at 2:46 PM, Stephen MacLean via use-livecode < use-livecode@lists.runrev.com> wrote: > > Thanks, I think that it is as

Re: put URL oddity

2018-08-03 Thread Stephen MacLean via use-livecode
Thanks Tom, it defaults to true, but even setting it, still nothing returned :( > On Aug 3, 2018, at 2:49 PM, Tom Glod via use-livecode > wrote: > > i should have mentioned in you original reply... check out > libURLFollowHttpRedirects in dictionary ... never had to use it but i > suppose

Move command on iOS

2018-08-03 Thread J. Landman Gay via use-livecode
Anyone else having trouble with the move command on iOS? I'm sliding a group into view, which works the first time, and after that it starts to move and then immediately jumps to its destination without any animation. It works fine in the IDE. AccleratedRendering is true and the group

Re: put URL oddity

2018-08-03 Thread Bob Sneidar via use-livecode
And we want to send men to another solar system! Can you imagine 8 years out, you need to make a minor course adjustment, but the computer keeps saying the certificate is expired?? Bob S > On Aug 3, 2018, at 13:23 , Stephen MacLean via use-livecode > wrote: > > Ok, found it! In this case,

Re: valueDiff for arrays?

2018-08-03 Thread Brian Milby via use-livecode
I was kind of thinking along those lines too - if the values were wanted. Looking at "MCArraysDoUnion" in exec-array.cpp, it would be pretty simple to add code that would do a modified union. The only thing removed would be matching keys with matching values. That is only if you want to keep

Re: A poor man's app updater

2018-08-03 Thread Brian Milby via use-livecode
/Library is going to have the same permission issue, but /Users/username/Library... would be fine. The down side is that the user can accidentally or intentionally mess with stuff stored there more easily that something built into the app or stored in the Applications/Program Files directories

Re: A poor man's app updater

2018-08-03 Thread J. Landman Gay via use-livecode
On Android, "documents" is sandboxed with the app, so isn't accessible unless the device is rooted. On 8/3/18 8:59 PM, Brian Milby via use-livecode wrote: Yes, specialFolderPath would be good to use. On a desktop, I'm not sure that I'd want non-user facing data stored in the documents

Re: Move command on iOS

2018-08-03 Thread Monte Goulding via use-livecode
Hmm… feel free to send through to me as I’m intrigued. I will send the stack to Panos if I can’t figure out what is going on so he can put it wherever private test stacks go. > On 4 Aug 2018, at 1:05 pm, J. Landman Gay via use-livecode > wrote: > > Skip the test, it works fine in isolation.

Re: Move command on iOS

2018-08-03 Thread J. Landman Gay via use-livecode
Here's the relevant part of the script. There's only one "move" command: put the long id of grp "iOSPicker" into tGrp get the height of tGrp div 2 put the height of this cd - it into tDestV show tGrp -- before updating text wait 1 millisecond with messages move tGrp to

Re: A poor man's app updater

2018-08-03 Thread J. Landman Gay via use-livecode
Apple specifies that apps should store their app-related data in their own folder inside Application Support, where you will always have permissions. You can also store prefs in the Preferences folder but it's discouraged in favor of App Support. LC has specialFolderPath("support") for that

Re: valueDiff for arrays?

2018-08-03 Thread Brian Milby via use-livecode
Other than the fact that coding is fun :) On Fri, Aug 3, 2018 at 8:15 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 08/03/2018 05:16 PM, Brian Milby via use-livecode wrote: > > Of course, then we have to figure out what to name the beast too... >> > > LOL. > > But

Re: Move command on iOS

2018-08-03 Thread J. Landman Gay via use-livecode
I jumped the gun and sent a download link to both of you. But you're hours ahead of him so you have time to intercept. :) On 8/3/18 10:25 PM, Monte Goulding via use-livecode wrote: Hmm… feel free to send through to me as I’m intrigued. I will send the stack to Panos if I can’t figure out what

Re: A poor man's app updater

2018-08-03 Thread Brian Milby via use-livecode
Yes, specialFolderPath would be good to use. On a desktop, I'm not sure that I'd want non-user facing data stored in the documents location unless you configure it to be hidden. Windows and Mac both have "support" folders defined. "library" would be the place on iOS. Android doesn't have one

Re: Move command on iOS

2018-08-03 Thread J. Landman Gay via use-livecode
I'm not using visual effects so it probably isn't that bug. I'll put in a report when I can get a test stack together. The simulator I'm using is set up for 11.4 so the problem is in at least iOS 11 and 12 both. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: Move command on iOS

2018-08-03 Thread J. Landman Gay via use-livecode
Skip the test, it works fine in isolation. Bug report is here: https://quality.livecode.com/show_bug.cgi?id=21461 But there must be something else going on so I should send the real stack to either you or Panos I guess. On 8/3/18 9:27 PM, J. Landman Gay via use-livecode wrote: Here's the