using tsNet external

2017-05-23 Thread Terry Judd via use-livecode
Couple of questions about the tsNet external... # if I’m just using get or post url (i.e. no special tsNet commands) do I still need to call tsNetInit? # what is the default timeout for a synchronous get or post url call, and how do I change it? TIA, Terry...

Re: Sql problem

2017-05-23 Thread Roger Eller via use-livecode
I have always replaced the linefeeds with a unique placeholder for transport, and switched it back to linefeeds in the server script. I didn't even consider replacing with empty. On May 23, 2017 8:55 PM, "Jonathan Lynch via use-livecode" < use-livecode@lists.runrev.com> wrote: > One quick note

Re: Sql problem

2017-05-23 Thread Jonathan Lynch via use-livecode
One quick note about base64encode: LC adds linefeeds. After you base64encode, you may need to replace linefeed with empty in the variable. Sent from my iPhone > On May 23, 2017, at 8:10 PM, William Prothero via use-livecode > wrote: > > Andre, > This is good

Re: Sql problem

2017-05-23 Thread Andre Garzia via use-livecode
On Tue, May 23, 2017 at 9:10 PM, William Prothero via use-livecode < use-livecode@lists.runrev.com> wrote: > But it looks like I could dispense with the php and directly access the > mySQL db from my mobile app, without a cgi? William, You could but it is not a good security practice to expose

Re: breakpoint on parameter

2017-05-23 Thread Dr. Hawkins via use-livecode
On Tue, May 23, 2017 at 3:39 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > (There are ways to break when certain variables change but that's > different.) Has that bug ever been fixed? I never found the IDE crashing a useful way to debug :) -- Dr. Richard E.

Re: Sql problem

2017-05-23 Thread William Prothero via use-livecode
Andre, This is good advice. I did it this way as a shortcut for an app I’ve built for myself only. You are right that it makes debugging harder because I can’t use other management applications to examine the contents. For many years now I’ve used php cgi’s to connect to the remote mysql db

Writing Extensions

2017-05-23 Thread Alejandro Tejada via use-livecode
Mark Waddinghan wrote: > At the end of the day I could go on at length here > (what do you know, language design and implementation > is probably my biggest computing interest ;) ); however, > I'll leave it as an 'interesting exercise for the reader' > to consider what becomes possible if we can >

Re: breakpoint on parameter

2017-05-23 Thread J. Landman Gay via use-livecode
On 5/23/17 10:36 AM, Matt Maier via use-livecode wrote: I want to find out which parts of my code are making changes to a control's parameter. Specifically, I've got an arrow that I want to be black, and it is black when it's created, but then it turns gray. I can't find the script that's

Re: Sql problem

2017-05-23 Thread Andre Garzia via use-livecode
William, If I may add a bit of personal opinion here... so, I have been using and storing LC stuff in databases for a long time. Not only I have been storing arrays in database but I had them flying over TCP sockets and being decoded/encoded as needed. For a long time I used the same approach as

Upcoming LiveCode Advanced Application Architecture course

2017-05-23 Thread Andre Garzia via use-livecode
Register your interest in the upcoming LiveCode Advanced Application Architecture course. In this course you will learn the best practices of LiveCode programming. Together, we'll explore the common patterns used by seasoned LiveCode developers while also studying approaches from the larger

Re: Email Working?

2017-05-23 Thread Mike Bonner via use-livecode
The list did indeed go boom, but yes its back now. On Tue, May 23, 2017 at 3:32 PM, Rick Harrison via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi there, > > Yesterday, I couldn’t get any messages > from this list at all, and anything I sent > kept bouncing. Is everything working >

Email Working?

2017-05-23 Thread Rick Harrison via use-livecode
Hi there, Yesterday, I couldn’t get any messages from this list at all, and anything I sent kept bouncing. Is everything working Ok for this list today? Thanks, Rick ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Writing Extensions

2017-05-23 Thread Mark Wieder via use-livecode
On 05/23/2017 11:41 AM, Ali Lloyd via use-livecode wrote: Another way to search individual guides is to search the markdown files on GitHub: https://github.com/livecode/livecode/tree/develop/docs/guides and https://github.com/livecode/livecode-ide/tree/develop/Documentation/guides. Again, not

Re: Writing Extensions

2017-05-23 Thread Ali Lloyd via use-livecode
Another way to search individual guides is to search the markdown files on GitHub: https://github.com/livecode/livecode/tree/develop/docs/guides and https://github.com/livecode/livecode-ide/tree/develop/Documentation/guides. Again, not ideal. There's an outstanding enhancement request for

Re: Writing Extensions

2017-05-23 Thread Mark Waddingham via use-livecode
On 2017-05-23 17:53, Mark Wieder via use-livecode wrote: I'm not doing this because it's fun. I'm stuck with parsing xml data, and it's much uglier trying to treat it as a text stream, especially with a subset of the xtalk chunking functions, than by using the revXML functions in LCS. Yes - so

Re: Writing Extensions

2017-05-23 Thread Ali Lloyd via use-livecode
No results in the page ranges of the LCB language reference section. On Tue, May 23, 2017 at 5:49 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 05/23/2017 09:41 AM, Ali Lloyd via use-livecode wrote: > > Well, you have a very different definition of can't to me

Re: Writing Extensions

2017-05-23 Thread Mark Waddingham via use-livecode
On 2017-05-23 18:02, Mark Wieder via use-livecode wrote: I'm rather disappointed that there's no way to search the guides. For instance, to find out why the switch statement wasn't working in LCB, I opened the LCB guide and found that the only way to discover this was to read through the entire

Re: Writing Extensions

2017-05-23 Thread Mark Wieder via use-livecode
On 05/23/2017 09:41 AM, Ali Lloyd via use-livecode wrote: Well, you have a very different definition of can't to me then. LOL Can't in this sense for me involves getting useful results. What do you get when you search for "switch"? -- Mark Wieder ahsoftw...@gmail.com

Re: LC-Magick Collection

2017-05-23 Thread Mark Talluto via use-livecode
On May 23, 2017, at 9:16 AM, hh via use-livecode wrote: > > Added LC-Magick #9: > SelectiveGray ("Pleasantville-/SinCity-effect") [hh] > http://forums.livecode.com/viewtopic.php?p=154277#p154277 > >> LC-Magick #8 - MoonEffect (Ell. Distort./ 'Fisheye') [bn and

Re: Writing Extensions

2017-05-23 Thread Ali Lloyd via use-livecode
Well, you have a very different definition of can't to me then. On Tue, May 23, 2017 at 5:39 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 05/23/2017 09:08 AM, Ali Lloyd via use-livecode wrote: > > The guides are built into a PDF at build-time - this is what you

Re: Writing Extensions

2017-05-23 Thread Mark Wieder via use-livecode
On 05/23/2017 09:08 AM, Ali Lloyd via use-livecode wrote: The guides are built into a PDF at build-time - this is what you get under Help > User Guide. So you can search this just using your PDF viewer. No. You can't. A: bringing up the LCB guide from Help > All Guides > Guide tab > LiveCode

Re: Best Practice for updating the screen?

2017-05-23 Thread Tom Glod via use-livecode
really?. wait 0 with messages makes some sense but if we could retain responsiveness on long repeat loops without it ..then i am all game. i guess i will search the bug repository. thanks for this ... important timing for me as i am optimizing some of my long and crutial handlers..

LC Server - Upload Large Images?

2017-05-23 Thread Rick Harrison via use-livecode
Hi there, I spent a few days, and performed a bunch of system upgrades. I upgraded my server up to macOS Sierra 10.12.5, the server software up to macOS Server 5.3.1, and reinstalled LC server version 8.1.4 RC 2. Now when I use: put specialFolderPath(“temporary”) I get the same results as the

Re: LC-Magick Collection

2017-05-23 Thread hh via use-livecode
Added LC-Magick #9: SelectiveGray ("Pleasantville-/SinCity-effect") [hh] http://forums.livecode.com/viewtopic.php?p=154277#p154277 > LC-Magick #8 - MoonEffect (Ell. Distort./ 'Fisheye') [bn and hh] > http://forums.livecode.com/viewtopic.php?p=153159#p153159 > LC-Magick #7 - Cuboid (3D-Box

Re: Best Practice for updating the screen?

2017-05-23 Thread Richard Gaskin via use-livecode
A moment ago I had written: The need to use "wait 9 with messages" was recognized as a bug Of course that was a typo; s/b: The need to use "wait 0 with messages" was recognized as a bug -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile,

Re: Writing Extensions

2017-05-23 Thread Ali Lloyd via use-livecode
The guides are built into a PDF at build-time - this is what you get under Help > User Guide. So you can search this just using your PDF viewer. On Tue, May 23, 2017 at 5:02 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 05/18/2017 10:30 AM, Mark Waddingham via

Re: Writing Extensions

2017-05-23 Thread Mark Wieder via use-livecode
On 05/18/2017 10:30 AM, Mark Waddingham via use-livecode wrote: Ah. So the dictionary isn't a good place to look for things. I'll spend some time working my way through the language reference instead. Heh - as Ali said, the docs and such need a fair bit of work :) I'm rather disappointed

Re: breakpoint on parameter

2017-05-23 Thread Mark Wieder via use-livecode
On 05/23/2017 08:45 AM, Richard Gaskin via use-livecode wrote: There's a request to allow getProp and setProp for built-in object properties: http://quality.livecode.com/show_bug.cgi?id=3126 ...and it's from 2005, rev version 2.6... -- Mark Wieder ahsoftw...@gmail.com

Re: Writing Extensions

2017-05-23 Thread Mark Wieder via use-livecode
(getting back to this thread after being without internet for several days - it's rather an interesting experience) On 05/19/2017 12:40 AM, Mark Waddingham via use-livecode wrote: If we are honest then parsing XML even with LCS's excellent text chunking isn't necessarily *that* much

Re: Best Practice for updating the screen?

2017-05-23 Thread Paul Dupuis via use-livecode
Thank you Richard and Mark, Okay, another reason (among so very many) why I have to get our main app from 6.7.11 up to 8.1.x or higher as soon as possible. That said, this particular case is as follows: We have a substack that is a PDF window using XPDF. XPDF can take some time to load large

AW: which Externals does a standalone load?

2017-05-23 Thread Tiemo Hollmann TB via use-livecode
FYI, Mark W. has shown, how you can check which externals actually are loaded by a standalone on Mac - thanks for that. On Windows there isn't such a tool in the system, but Microsoft offers on their web site "Windows sysinternals" a tool "Process Explorer" for download. With this tool you also

Re: breakpoint on parameter

2017-05-23 Thread Richard Gaskin via use-livecode
Matt Maier wrote: > I want to find out which parts of my code are making changes to a > control's parameter. Specifically, I've got an arrow that I want > to be black, and it is black when it's created, but then it turns > gray. I can't find the script that's turning it gray. > > I don't know

Re: Best Practice for updating the screen?

2017-05-23 Thread hlowe via use-livecode
A while back I encountered a problem with datagrids not correctly redrawing (its a long story). One of the LC team suggested this code (in the card script) to force a screen redraw: command RedrawCard # forces a card redraw by the Engine set the backcolor of me to the backcolor of me end

Re: test

2017-05-23 Thread Richard Gaskin via use-livecode
hh wrote: >> Richard G. wrote: >> (Apologies for the non-content post; testing a hypothesis reported by >> a list user) > > Sorry for answering to the content of an non-content post: > > RG derived a "hypothesis" from > http://forums.livecode.com/viewtopic.php?p=154278#p154278 > > So what did

Re: G4

2017-05-23 Thread Mike Bonner via use-livecode
Oh cool! Thanks for the tip! On Tue, May 23, 2017 at 9:31 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-05-23 17:27, Mike Bonner via use-livecode wrote: > >> trying this again since it seems the list is back up... >> >> I have an old g4 mac laptop

breakpoint on parameter

2017-05-23 Thread Matt Maier via use-livecode
I want to find out which parts of my code are making changes to a control's parameter. Specifically, I've got an arrow that I want to be black, and it is black when it's created, but then it turns gray. I can't find the script that's turning it gray. I don't know where to put a breakpoint in the

Re: test

2017-05-23 Thread hh via use-livecode
> Richard G. wrote: > (Apologies for the non-content post; testing a hypothesis reported by a > list user) Sorry for answering to the content of an non-content post: RG derived a "hypothesis" from http://forums.livecode.com/viewtopic.php?p=154278#p154278 So what did you test? The full device

Re: G4

2017-05-23 Thread Mark Waddingham via use-livecode
On 2017-05-23 17:27, Mike Bonner via use-livecode wrote: trying this again since it seems the list is back up... I have an old g4 mac laptop running tiger. I was wondering if anyone had a copy of rev media out there (the one you could install and use but not build standalones) that they

Re: Best Practice for updating the screen?

2017-05-23 Thread Mark Waddingham via use-livecode
On 2017-05-23 17:05, Paul Dupuis via use-livecode wrote: Has LiveCode ever considered a "redraw screen" command or something like that which lets the system have some free CPU cycles but without other UI events getting processed? Is there an enhancement request for such a feature in the

G4

2017-05-23 Thread Mike Bonner via use-livecode
trying this again since it seems the list is back up... I have an old g4 mac laptop running tiger. I was wondering if anyone had a copy of rev media out there (the one you could install and use but not build standalones) that they could share with me, so i can mess around on it? Assuming this

Re: Best Practice for updating the screen?

2017-05-23 Thread Richard Gaskin via use-livecode
Screen redraws should be controllable by the scripter with lockScreen. The need to use "wait 9 with messages" was recognized as a bug, and IIRC fixed in more recent versions of LC (v7 and later?). If you find remaining cases where your script does not have control over redraws with "lock

Best Practice for updating the screen?

2017-05-23 Thread Paul Dupuis via use-livecode
I find on many occasions that I am in the middle (or somewhere) in a long handler and I want to update the screen and then continue. Example: on something lock screen ... bunches of code unlock screen wait 0 with messages -- generate a screen redraw/update to display something (status

test

2017-05-23 Thread Richard Gaskin via use-livecode
(Apologies for the non-content post; testing a hypothesis reported by a list user) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.com