Re: Multipart form decode

2024-01-23 Thread David Bovill via use-livecode
Hmm writing my own generic multipart form data parser seems quite a task (and a security risk). Any suggestions? On Mon, 22 Jan 2024 at 19:48, David Bovill wrote: > I see in the dictionary several functions related to multipart form > encoding - but not decoding. Does anyone have a function that

Re: LockLoc and grab

2024-01-23 Thread Craig Newman via use-livecode
David. I could not understand your issue, so I made the controls you mentioned. The thing that matters is not the lockLoc property, but rather the “opaque” property. A group of controls is just a, er, group of controls. The “group” itself can, however, take on a life of its own if, as in this

Re: LockLoc and grab

2024-01-23 Thread Craig Newman via use-livecode
Aha. I did not see that you meant a single button in its own group. But it would not matter if I did the same with a control within a larger group of controls. And it does not matter if the lockLoc of the group is set or not. So is your question “Why does the control disappear when it is dragge

Re: LockLoc and grab

2024-01-23 Thread Bob Sneidar via use-livecode
I’m suspecting now that he may be under the impression that the way to remove a control from a group is to drag it outside the group’s boundary. If so then this is not the case. The way I do it is I cut the control, click somewhere on the card, then paste the control again. Alternatively you c

Re: LockLoc and grab

2024-01-23 Thread David Epstein via use-livecode
Let me try to clarify the problem I stated. I am not trying to remove the button, I am trying to use the “grab” command to let a user move the button around the window by dragging it. If I use a script to “set the loc” of a button to somewhere outside that group’s rectangle - the group

Re: LockLoc and grab

2024-01-23 Thread Bob Sneidar via use-livecode
OIC. Not sure what the expected behavior is when the browse tool is selected or in a standalone but I can confirm that it works as you say. In the IDE, dragging the button outside the bounds of its parent group will update the groups rect if the pointer tool is selected, but not if the browse to

Re: LockLoc and grab

2024-01-23 Thread J. Landman Gay via use-livecode
I can reproduce this in both LC 10 and 9.6.9 but I can't explain it. It's unclear if this is a feature or a bug. On 1/23/24 11:32 AM, David Epstein via use-livecode wrote: Let me try to clarify the problem I stated. I am not trying to remove the button, I am trying to use the “grab” command to

Re: OT: htmx and hyperscript

2024-01-23 Thread Heriberto Torrado via use-livecode
Hi Bernard, I was checking old emails from the list and I saw this email from you. I've been digging into HTMx and HyperScript and I've really been very impressed. HyperScript is basically a JavaScript replacement written in Hypertalk. It is very similar to Livecode and in fact, you can modify

Nasty filter bug

2024-01-23 Thread Neville Smythe via use-livecode
Try this in the msg box: put "aaa[bbb" into tStr; put line 1 of tStr into tLine; filter tStr without tLine; put tStr I get (using MacOS, LC 9.6.11) aaa[bbb That is to say, the line is not filtered out. And: put "aaa[bbb" into tStr; filter tStr with tStr; put tStr produces an empty string ins

Re: Nasty filter bug

2024-01-23 Thread Brian Milby via use-livecode
Not sure this is really a bug. The default is to match a wildcardPattern. If you want to match [ then you must use [[] in the pattern. Brian Milby br...@milby7.com > On Jan 23, 2024, at 9:02 PM, Neville Smythe via use-livecode > wrote: > > Try this in the msg box: > > put "aaa[bbb" into t

Re: Multipart form decode

2024-01-23 Thread Neville Smythe via use-livecode
David: do you need a special decoder? I thought the multipart form handlers just broke up the sent data into user-defined small chunks, and the server was responsible for waiting for all the parts to be received and then re-assembling the data. From that point it is just a normal POST. Maybe