IMAP library, or support via tsNet?

2019-01-03 Thread Ben Rubinstein via use-livecode
Is there anything in the way of an IMAP library around? My needs are relatively simple: I want to connect to an iMAP server, recursively list folders and fetch the size of each (if necessary by fetching the size of each message) e.g. in JavaScript with this library

IMAP library, or support via tsNet?

2019-01-03 Thread Ben Rubinstein via use-livecode
Is there anything in the way of an IMAP library around? My needs are relatively simple: I want to connect to an iMAP server, recursively list folders and fetch the size of each (if necessary by fetching the size of each message) e.g. in JavaScript with this library

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Malte Pfaff-Brill via use-livecode
It might be that I stand corrected for the behaviour of lock / unlock screen. But then I also stand puzzled on the effect it has between engines. Same code which redrew the screen within 2.5 seconds on the 5.x series took 11 secs in 8/9. After debugging libraries. Being used to make sure that

Re: Musings on Architect, MVC, Nested Behaviors

2019-01-03 Thread Richard Gaskin via use-livecode
Andre Alves Garzia wrote: > Be aware that YAML is tricky to parse, there are better formats such > as TOML which are much easier and tend to be less error prone. It is > very easy to get some indentation wrong in YAML and move something up > or down a level. TOML is IMHO a better format for such

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Richard Gaskin via use-livecode
Geoff Canyon wrote: > I wasn't sure what people were talking about with lock screen > performance issues, so I did a simple test ... > ...and found that in 6.7.3 that change increased the duration to about > 1.25 seconds -- a performance hit of about 30x just because a locked- > screen button is

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Richard Gaskin via use-livecode
Read through this whole thread, optimistic that I'd find the list of things that differentiate v6 and v9 so we can hone in on actual solutions. I learned two things: - lock/unlock changed - It's apparently easier to write a thousands of words philosophizing about how a small team of C++

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Geoff Canyon via use-livecode
I wasn't sure what people were talking about with lock screen performance issues, so I did a simple test: I set up a button to either lock the screen once, or twice, and then timed setting the loc of the button while the screen was locked. I didn't time locking the screen; just the movement while

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-03 Thread Bob Sneidar via use-livecode
More like malcontents. :-) Bob S > On Jan 2, 2019, at 17:02 , Mark Wieder via use-livecode > wrote: > > On 1/2/19 2:30 PM, Geoff Canyon via use-livecode wrote: >> Ha, I knew that to a select subset of people this would be the most >> important feature of the update :-) > > Heh. Yeah, I've

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Bob Sneidar via use-livecode
I'm curious if issuing a new screen lock inadvertently and for an instant unlocks the screen and a redraw happens? Not the desired effect obviously but that would explain things somewhat. Bob S > On Jan 3, 2019, at 03:13 , Malte Pfaff-Brill via use-livecode > wrote: > > It might be that I

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Curry Kenworthy via use-livecode
Howdy LiveCoders, I'm very happy to see people succeeding, optimizing, and coming back and LiveCoding. That's heartwarming. But I'm making one of my rare appearances here, chiming in lest this thread end while consisting only of celebrating extra work that was put in to overcome

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-03 Thread Geoff Canyon via use-livecode
So you want drag and drop in the stack list to reorder the windows? What's the purpose? To bring a particular stack to the foreground? On Thu, Jan 3, 2019 at 4:38 AM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > Geoff C. wrote: > > Let me know if there's anything still missing.

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-03 Thread Bob Sneidar via use-livecode
Folding seems to have broken. I cannot fold or unfold but the default folding is in effect. Bob S > On Jan 2, 2019, at 14:17 , Geoff Canyon via use-livecode > wrote: > > As usual, you can get Navigator here > . Or grab it > from

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Mark Waddingham via use-livecode
On 2019-01-03 12:13, Malte Pfaff-Brill via use-livecode wrote: It might be that I stand corrected for the behaviour of lock / unlock screen. But then I also stand puzzled on the effect it has between engines. Same code which redrew the screen within 2.5 seconds on the 5.x series took 11 secs in

Re: IMAP library, or support via tsNet?

2019-01-03 Thread Matthias Rebbe via use-livecode
Ben, i just did a quick test with my local test mai server. This script for example would output the number of messages in the imap folder to the message box. put tUSERNAME into pSettings["username"] put put into pSettings["password"] put "STATUS INBOX (MESSAGES)" into pRequest put

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-03 Thread hh via use-livecode
> Geoff C. wrote: > Let me know if there's anything still missing. A reordering in the stacks list that sets the window layering? (What a simple go to stack from last line down to first line does). ___ use-livecode mailing list

LiveCode Server Mojave

2019-01-03 Thread Rick Harrison via use-livecode
Happy New Year's Greetings to all LiveCoders! Has anyone upgraded their LiveCode Server to Mojave yet? I am in the process and finding it to be quite the problem as Apple decided to get rid of their front-end server. Everything that used to be in the Server folder now has to be moved to the

Re: Whoops: Getting the name of the script only stack an handler is in

2019-01-03 Thread Bob Sneidar via use-livecode
Apple Mail does indeed support threading, but somehow certain emails or rather replies to emails "unthread" and start a new thread. Part of the problem is that some simply subscribe to the list as individual emails, while others employ the digest, and still others use the forum (I think). The

Re: Whoops: Getting the name of the script only stack an handler is in

2019-01-03 Thread Martin Koob via use-livecode
Hi Another way to approach it is to use the 'get the executionContext'. You can get the filename of the script only stack from this I tried this in a button with a behaviour script on a new stack with three fields to see the different results. on mouseUp pButtonNumber set the itemdelimiter

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Curry Kenworthy via use-livecode
Bob: > This is largely due to unicode support in everything, > as I understand it. Nope, I think that was more of a prior assumption going in, and held onto despite test results to the contrary, than a conclusion derived from testing. :) Some tests were designed to rule out the effects of

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Bob Sneidar via use-livecode
This is largely due to unicode support in everything, as I understand it. This performance hit is, I think, completely understandable. But there definitely is/was something else going on when developing under Windows. As other threads have amply demonstrated, V9 introduced a massive performance

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Bob Sneidar via use-livecode
Not to put too fine a point on this, but ALL development environments suffer from this. Even if everything is done "right", future OS enhancements, new and improved plugins, LC feature enhancements and even developer enhancements can all lend themselves to the necessity for refactoring. It

Re: IMAP library, or support via tsNet?

2019-01-03 Thread Charles Warwick via use-livecode
Hi Ben, Support for IMAP was added into tsNet a while ago. There are a few lessons that I’ve added to LiveCode’s website on IMAP. Lessons: http://lessons.livecode.com/m/4071/l/858279-how-to-use-tsnet-to-display-an-e-mail-message-from-an-imap-account

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-03 Thread hh via use-livecode
> Geoff C. wrote: > So you want drag and drop in the stack list to reorder the windows? > What's the purpose? To bring a particular stack to the foreground? What others do with the "z-index". Or what we can do with setting the layer of card controls (no only setting the layer of a control to

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-03 Thread Geoff Canyon via use-livecode
Can you give me more specifics? Folding is working for me: https://www.youtube.com/watch?v=x-_nLJNJvpM=youtu.be On Thu, Jan 3, 2019 at 9:55 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Folding seems to have broken. I cannot fold or unfold but the default > folding is

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Curry Kenworthy via use-livecode
Sorry Bob (not to single you out, on the contrary thanks for your reply and sharing your experience) but just be aware I never not enter a thread lightly, nor were my words hasty. This has been a situation years in the making, with plenty of evidence behind it, and I've been many years in

Re: Whoops: Getting the name of the script only stack an handler is in

2019-01-03 Thread Martin Koob via use-livecode
To view the messages in threaded form I use: http://lists.runrev.com/pipermail/use-livecode/ I can't reply thru that so when I do want to reply I use: http://runtime-revolution.278305.n4.nabble.com/ I can't imagine trying to manage all the email from the lists in my mail. I have enough to sort

Re: IMAP library, or support via tsNet?

2019-01-03 Thread Ben Rubinstein via use-livecode
Aha! I didn't even realise that there was an imap URL protocol. Thanks Matthias, that's exactly what I needed. best regards, Ben On 03/01/2019 13:57, Matthias Rebbe via use-livecode wrote: Ben, i just did a quick test with my local test mai server. This script for example would output the

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-03 Thread Geoff Canyon via use-livecode
Okay, that should be easy enough -- I just didn't see the need personally, and it will require code that is different than the regular drag/drop/relayering code, so I hadn't bothered. gc On Thu, Jan 3, 2019 at 2:55 PM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > Geoff C.

Re: Navigator 7.0.1rc1 is available -- Multi-target windows!

2019-01-03 Thread Geoff Canyon via use-livecode
This is fixed in 7.0.2 rc1. I had a variable where I was tracking containers that had already been "default-folded" and I wasn't setting it properly, so every time the display refreshes, it got the default fold. As usual, you can get Navigator here