Help: Does anyone use legacy message box behavior?

2017-02-06 Thread Monte Goulding via use-livecode
Hi Folks I’m in the midst of making the message box redirect work in all engines (https://github.com/livecode/livecode/pull/5156 ) and it would seem that there’s a legacy message box behavior that could be removed from the engine. It’s not used

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Monte Goulding via use-livecode
> On 8 Feb 2017, at 11:02 am, Richard Gaskin via use-livecode > wrote: > > Monte Goulding wrote: > > >> On 8 Feb 2017, at 3:04 am, Richard Gaskin wrote: > >> > >> My Message Box replacement sets the revMessageBox redirect to empty > >> when it closes, and after

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Monte Goulding via use-livecode
> On 8 Feb 2017, at 3:04 am, Richard Gaskin via use-livecode > wrote: > > I sent this a while ago, and oddly enough another message I'd sent lae came > in but this one did not. > > After thinking about this some more, I wonder: are you sure the LC IDE >

Re: Script locals in library stack script

2017-02-08 Thread Monte Goulding via use-livecode
> On 9 Feb 2017, at 9:32 am, J. Landman Gay via use-livecode > wrote: > > I have a splash stack that opens a data stack from a server. The data stack > has a substack which is used as a library with "start using". > > The handlers in the library work okay. Some

Re: Built-in JSON functions not working in standalone

2017-01-30 Thread Monte Goulding via use-livecode
Hmm… yes the new support library for mergJSON should be now be included in standalones if you include mergJSON. Please open a bug report if that’s not the case so we can sort the issue out. Note that it will *not* be included via search for inclusions. Cheers Monte > On 31 Jan 2017, at 9:04

Re: Storing and object reference in a var

2017-01-24 Thread Monte Goulding via use-livecode
> On 25 Jan 2017, at 9:53 am, Sannyasin Brahmanathaswami via use-livecode > wrote: > > put the long id of fld "daily-lesson-text" into tTargetField > put "Hello" into tTargetField > > what am I doing wrong? You are writing ambiguous code and the engine can’t

Re: Storing and object reference in a var

2017-01-24 Thread Monte Goulding via use-livecode
> On 25 Jan 2017, at 10:58 am, Richard Gaskin via use-livecode > wrote: > > Good news: In v10 the LiveCode language will be reduced to a single command, > "build", which will automatically build whatever you're imagining. > > Bad news: Requirements for the

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Monte Goulding via use-livecode
> On 24 Feb 2017, at 9:42 am, Mike Kerner via use-livecode > wrote: > > Another question: Does the mobile have to be tethered to the desktop? If > I build a standalone, how are we going to communicate? They communicate via sockets so no it doesn’t need to be

Re: deploy?

2017-02-23 Thread Monte Goulding via use-livecode
> On 24 Feb 2017, at 1:19 pm, Richard Gaskin via use-livecode > wrote: > > Sounds useful for automating build systems. At least part of it is > documented in the latest Release Notes - where can I find the rest of the > docs on that? It isn’t part of the

Re: deploy?

2017-02-23 Thread Monte Goulding via use-livecode
It’s an IDE only internal command for creating standalone engines. > On 24 Feb 2017, at 12:51 pm, Richard Gaskin via use-livecode > wrote: > > The v9dp5 Release Notes include: > > Script-only deploy (9.0.0-dp-5) > It is now possible to use script-only stacks

Re: Remote debugger

2017-02-24 Thread Monte Goulding via use-livecode
You need to ensure the internet permission is on for android. We probably should make that automagicial with the test button.. Sent from my iPhone > On 24 Feb 2017, at 4:44 pm, J. Landman Gay via use-livecode > wrote: > > I jumped all over this right away. I

Re: Remote debugger

2017-02-24 Thread Monte Goulding via use-livecode
Thanks for the positive feedback. It was an interesting project but *hard* to debug when something went wrong. > On 25 Feb 2017, at 6:48 am, J. Landman Gay via use-livecode > wrote: > > I'd suggest that documentation make it clear what permissions and inclusions

Re: Windows and OSX 64-bit builds?

2017-02-09 Thread Monte Goulding via use-livecode
> On 10 Feb 2017, at 12:40 pm, Tom Glod via use-livecode > wrote: > > Does anyone know if there are plans for 64 bit windows and mac builds > anytime soon? I'm bumping up against limits that seems all too ancient > to be deallng with in 2017. > > Just wanna

Re: Windows and OSX 64-bit builds?

2017-02-09 Thread Monte Goulding via use-livecode
> On 10 Feb 2017, at 1:04 pm, Tom Glod via use-livecode > wrote: > > thanks monte. thats what i wanted to hearsorry i didn't notice the > osx 64 builds. only ever saw llinux 64.. but i work on > windowsso its music to my ears. what are we

Re: Windows and OSX 64-bit builds?

2017-02-09 Thread Monte Goulding via use-livecode
> On 10 Feb 2017, at 1:03 pm, Tom Glod via use-livecode > wrote: > > trying to export snapshots of lage groups with many image controls. > can't get past 10k 10k controls or 10k pixels. Control rect origins are 16 bit ints and sizes are 16 bit unsigned

Re: Windows and OSX 64-bit builds?

2017-02-09 Thread Monte Goulding via use-livecode
> On 10 Feb 2017, at 1:33 pm, Tom Glod via use-livecode > wrote: > > but snapshot export just hard crashes Livecode as > soon as it is triggered If you have a recipe for a hard crash please post bug report Cheers Monte

Re: Exit without quitting

2017-01-18 Thread Monte Goulding via use-livecode
> On 19 Jan 2017, at 11:20 am, Bob Sneidar via use-livecode > wrote: > > That is to say, it QUITS the app. BTW this "feature" is not documented. If > it's not supposed to quit the app, I can report it as a bug, but I recall > past conversations about this I

Re: Documentation on Dispatch

2017-01-10 Thread Monte Goulding via use-livecode
Try this: on mouseUp dispatch function "foo" to me with 1,2 put the result end mouseUp function foo p1, p2 return p1 + p2 end foo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Array Properties in a Standalone

2017-01-10 Thread Monte Goulding via use-livecode
> On 11 Jan 2017, at 2:24 pm, Bob Sneidar via use-livecode > wrote: > > Ooookaaay. In the IDE I can set a property of the mainstack (not the Splash > Stack mind you that I use to "shell" the application) to an array. When I > retrieve that property and access a

Re: Array Properties in a Standalone

2017-01-10 Thread Monte Goulding via use-livecode
> On 11 Jan 2017, at 2:52 pm, Bob Sneidar via use-livecode > wrote: > > In the IDE this works famously. In a compiled application however, the column > updateby in every table I insert or update is empty. The only explanation I > can come up with for this is

Re: I'm a stupid GIT

2017-01-08 Thread Monte Goulding via use-livecode
> On 8 Jan 2017, at 8:00 am, Richard Gaskin via use-livecode > wrote: > > Malte Brill wrote: > > > I also am a stupid GIT. Way over my head. It isn’t you know. Everything you need is linked from the README here https://github.com/livecode/livecode

Re: {Merry | Happy} [{Christmas | Hanukkah | Solstice | Holidays | Festivus | Saturnalia}]

2017-01-08 Thread Monte Goulding via use-livecode
> On 30 Dec 2016, at 7:59 am, Kay C Lan wrote: > > Stumbled upon a Tim Minchin show in New York a couple of years back > when one of my team mates happened to be an acquaintance of Tim - his > mother was best friends with Tim's mother. After the show met up and > went

Re: Translating escape sequence

2017-03-14 Thread Monte Goulding via use-livecode
> On 15 Mar 2017, at 3:28 pm, J. Landman Gay via use-livecode > wrote: > > So I'm stuck, I don't see any way to deal with these. I'll put in a bug > report about jsonImport() but it will probably be a while before it gets > fixed. > > I hope someone else has

Re: Translating escape sequence

2017-03-15 Thread Monte Goulding via use-livecode
> On 15 Mar 2017, at 5:08 pm, J. Landman Gay via use-livecode > wrote: > > Cool. :) I'd patch it if I knew how to do that but I don't know enough about > git to even start. But since you've put in a pull request, I can wait until > the next dp. I meant you

Re: remote debugger on windows

2017-04-04 Thread Monte Goulding via use-livecode
Hmm… the remote debugger uses sockets. You might want to check the IDE is being allowed to accept connections. Also perhaps check if there are any rogue processes of the standalone or IDE in the task manager. > On 5 Apr 2017, at 9:32 am, Matt Maier via use-livecode >

Re: remote debugger on windows

2017-04-04 Thread Monte Goulding via use-livecode
> On 5 Apr 2017, at 11:11 am, Mark Wieder via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On 04/04/2017 04:49 PM, Monte Goulding via use-livecode wrote: >> Hmm… the remote debugger uses sockets. > > What socket(s) does the remote debugger use? I

Re: OS X Firewall triggering on launch

2017-04-11 Thread Monte Goulding via use-livecode
> On 12 Apr 2017, at 4:48 am, J. Landman Gay via use-livecode > wrote: > > And it is still putting up the alert on launch. Seems I'm stuck with it. Hmm… that’s odd. I’ll ask the team if anyone has any ideas why this is occurring. Just to make sure you aren’t

Re: LC crashing when trying to save a standalone

2017-04-09 Thread Monte Goulding via use-livecode
> On 10 Apr 2017, at 9:18 am, Jonathan Lynch via use-livecode > wrote: > > I had been able to save a standalone of my app on 8.1.3 on a mac, but all of > a sudden it crashes every time. > > I cannot see where I changed anything in the app that would cause this.

Re: LC crashing when trying to save a standalone

2017-04-09 Thread Monte Goulding via use-livecode
> On 10 Apr 2017, at 10:39 am, Jonathan Lynch via use-livecode > wrote: > > Not sure if I should bother with a bug report, since it is just my stack, but > no idea how to fix my stack either. Please do. The engine shouldn’t crash. Cheers Monte

Re: LC crashing when trying to save a standalone

2017-04-09 Thread Monte Goulding via use-livecode
> On 10 Apr 2017, at 10:58 am, Jonathan Lynch via use-livecode > wrote: > > One more update - an earlier version of the app will save to a standalone. > So, definitely something wrong with the stack. Going to try cloning the stack > or something like that. It

Re: OS X Firewall triggering on launch

2017-04-11 Thread Monte Goulding via use-livecode
> On 11 Apr 2017, at 4:21 pm, J. Landman Gay via use-livecode > wrote: > > LC 9.0dp6 triggers the OS X firewall every time I launch it. I know I can set > the firewall to accept LC so it won't warn me, but I'm wondering what LC is > doing that makes that

Re: mergEXT

2017-04-12 Thread Monte Goulding via use-livecode
Hi Folks You probably want to get some docs for the robot and find out the service UUID that it offers then scan for peripherals with that service UUID. That’s the normal way of doing things but if there’s no docs available (from the looks of their downloads page you will need to request dev

Re: "ouch: the beginning of the end"

2017-03-08 Thread Monte Goulding via use-livecode
> On 8 Mar 2017, at 10:59 pm, Mark Waddingham via use-livecode > wrote: > > - Option 1 - bi-level background images > > Here I'm assuming that your original PDFs do not change that often and (given > the > requirements you have found out from the government

Re: Remote debugger

2017-03-06 Thread Monte Goulding via use-livecode
> On 7 Mar 2017, at 4:01 am, Mike Kerner via use-livecode > wrote: > > 1) There may be a crash bug related to mergDeploy (19365). I don't KNOW > that's mergDeploy related, but if MD is enabled, LC crashes, and if it is > not, it doesn't. > 2) Seeing !n instead

Re: Remote debugger

2017-03-05 Thread Monte Goulding via use-livecode
Hi Folks gREVDevelopment is not necessary for the remote debugger to function. I have create an enhancement report for the remote debugger to automatically turn on android internet permissions: http://quality.livecode.com/show_bug.cgi?id=19370

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Monte Goulding via use-livecode
> Recent versions of Xcode have a setting in an internal plist to (by default) > ignore the 10.9 SDK - this can be solved by: > > "edit (with Xcode) the MinimumSDKVersion key value in > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist" We have a script that does

Re: gitter

2017-07-29 Thread Monte Goulding via use-livecode
> On 30 Jul 2017, at 1:01 am, Mark Wieder via use-livecode > wrote: > > On 07/29/2017 01:44 AM, Mark Waddingham via use-livecode wrote: >> P.S. None of us tend to sit on gitter.io - we can only >> process so many simultaneous inputs - however

Re: gitter

2017-07-29 Thread Monte Goulding via use-livecode
> On 30 Jul 2017, at 8:59 am, Mark Waddingham via use-livecode > wrote: > > I'd rather suffer internal grumblings from our team due to having to have an > IDE submodule, than much larger shouts from our users when we make an error > like we did in 8.1.6-rc-2. I

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Monte Goulding via use-livecode
> On 30 Jul 2017, at 7:04 am, Mark Waddingham via use-livecode > wrote: > > Completely unrelated to the SDK thing, but it is worth mentioning (as Brian > obviously also noticed issues with develop-8.1)... > > If you are building from source keep an entirely

Re: revHTTP

2017-07-31 Thread Monte Goulding via use-livecode
Hi Alex You could use the new httpd library that is already included in LiveCode 9 for this. Indeed this is what it was created for. We build a standalone with all our tests and serve it with the library. What would be ideal is to create a deploy library similar to the the iOS and Android

Re: "Cascading" Object-Behaviors

2017-07-31 Thread Monte Goulding via use-livecode
re I log in I cannot see anywhere where there is a > file to download or code to copy. > > Bob S > > >> On Jul 30, 2017, at 13:27 , Monte Goulding via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> I have implemented a scriptifier util

Re: revHTTP

2017-07-31 Thread Monte Goulding via use-livecode
> On 1 Aug 2017, at 6:34 am, Matthias Rebbe via use-livecode > wrote: > > > it´s include in LC 9 DP7 and up. > > Please note that you have to manually load it with > start using stack "httpd" > > This is a known issue and was mentioned in the “Known issues” in

Re: "Cascading" Object-Behaviors

2017-08-01 Thread Monte Goulding via use-livecode
> On 1 Aug 2017, at 7:00 am, Bob Sneidar via use-livecode > wrote: > > OK got it. I take it this is supposed to be a script only stack? That is how > I saved it. Yes it will generate a very simple UI when you open it Cheers Monte

Re: "Cascading" Object-Behaviors

2017-08-01 Thread Monte Goulding via use-livecode
t; All I can see is to copy it.. which works I guess you have to then remove all > the leading "+" signs and save to your plugins folder? > > BR > > > > > On 7/30/17, 10:28 AM, "use-livecode on behalf of Monte Goulding via > use-livecode" <use-liv

Re: App Rejected: IPv6 network?

2017-08-01 Thread Monte Goulding via use-livecode
Are you using sockets? We do not support IPv6 sockets and they will rejection from Apple when they test on an IPv6 _only_ network which is their policy to do. Cheers Monte > On 2 Aug 2017, at 3:14 pm, Dan Friedman via use-livecode > wrote: > > Hello. My app

Re: "Cascading" Object-Behaviors

2017-08-02 Thread Monte Goulding via use-livecode
> On 3 Aug 2017, at 6:44 am, Brian Milby via use-livecode > wrote: > > So is the BOM causing the issue with detection of the URL being a script > only stack or is it in the function that actually reads in the file? > Trying to wrap my head around how the go stack

Re: revHTTP

2017-08-01 Thread Monte Goulding via use-livecode
> On 2 Aug 2017, at 8:57 am, Andre Garzia via use-livecode > wrote: > > I just looked at the source code for the new httpd library, it is quite > similar in "what it is doing" to mchttpd and my own revhttpd. Basically > both of them use LC to accept and process

Re: httpd library and missed opportunity.

2017-08-01 Thread Monte Goulding via use-livecode
> On 2 Aug 2017, at 10:36 am, Alex Tweedly via use-livecode > wrote: > > The 'test' button is handy - but it's not the only way. > In fact, I rarely use it - I build my standalones, then try it out on 2 or 3 > platforms (OK, this may be very untypical, because I

Re: revHTTP

2017-08-01 Thread Monte Goulding via use-livecode
Thanks for your thoughts Andre > On 2 Aug 2017, at 8:48 am, Andre Garzia wrote: > > Yes, I can give more details, I am not talking about library documentation as > it is generated by lcdoc but the overall state of the documentation. The main > issue for me is a UX one.

Re: Can't use double finger scroll on mac for grouped controls

2017-08-01 Thread Monte Goulding via use-livecode
This is something you need to script for groups. Something like this: on rawKeyDown pKeyCode if pKeyCode is 65308 then get the scroll of me add 10 to it set the scroll of me to it else if pKeyCode is 65309 then get the scroll of me subtract 10 from it set

Re: Sluggish on Mobile Device

2017-08-01 Thread Monte Goulding via use-livecode
> On 2 Aug 2017, at 1:10 pm, Sannyasin Brahmanathaswami via use-livecode > wrote: > > Ahhh, I wonder if we only had two groups like this > > card "portal" > group "SivaSiva Portal Scrolling" # this is the group that scrolls very > badly no matter what we

Re: httpd library and missed opportunity.

2017-08-01 Thread Monte Goulding via use-livecode
> On 2 Aug 2017, at 7:16 am, Alex Tweedly via use-livecode > wrote: > >> python -m SimpleHTTPServer 8080 >> This will let you access your standalone by opening your web browser and >> visiting http://localhost:8080 . >> > What ? IMO,

Re: how to get the value of a custom property if the name of the cProperty is in a variable?

2017-08-02 Thread Monte Goulding via use-livecode
> On 3 Aug 2017, at 7:36 am, Mark Waddingham via use-livecode > wrote: > > Of course, if you'd like to file a bug report / enhancement about being able > to do 'the "mycustompropname" of ... - then that is probably the 'future' > much better solution :) Er…

Re: revHTTP

2017-08-01 Thread Monte Goulding via use-livecode
> On 2 Aug 2017, at 4:02 am, Andre Garzia via use-livecode > wrote: > > I wish there was a more comprehensive documentation effort going on. Hi Andre Can you give a little more detail on your complaint here. All our new libraries are documented with lcdoc

Re: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Monte Goulding via use-livecode
> On 4 Aug 2017, at 6:16 am, Monte Goulding via use-livecode > <use-livecode@lists.runrev.com> wrote: > > They probably should be deprecated. I have started some internal discussion about this. There’s mouseStillDown as well. I think they shouldn’t be in the handle

Re: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Monte Goulding via use-livecode
> On 3 Aug 2017, at 10:54 pm, dunbarx via use-livecode > wrote: > > Note: If there is no mouseWithin handler in the target object's script, no > mouseWithin message is sent, even if there is a mouseWithin handler in an > object that's further along the message

Re: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Monte Goulding via use-livecode
> On 4 Aug 2017, at 6:38 am, hh via use-livecode > wrote: > >> Monte wrote: >> ... G drinking holiday ;-) > > Practising Geometry & Trigonometry and drinking?? Yeah I know… crazy mathematicians! What can you do. Cheers Monte

Re: common code patterns

2017-08-14 Thread Monte Goulding via use-livecode
> On 15 Aug 2017, at 2:10 am, Richard Gaskin via use-livecode > wrote: > > But maybe not enough markdown to change how the human eye works. :) Sure, my preferable end goal does not include backticks but I’ll take anything if it’s the only way I can have a

Re: String delimiters [WAS Re: common code patterns]

2017-08-14 Thread Monte Goulding via use-livecode
> On 15 Aug 2017, at 5:22 am, Alex Tweedly via use-livecode > wrote: > > put {{ > That's better! > A really readable and short > version that I can deal with. > }} into temp It’s really unlikely we would use { } because one day we will want to implement array

Re: String delimiters [WAS Re: common code patterns]

2017-08-14 Thread Monte Goulding via use-livecode
> On 15 Aug 2017, at 7:33 am, Monte Goulding via use-livecode > <use-livecode@lists.runrev.com> wrote: > > put “foo\ > bar” > > would put: > > foo > bar I had a little play while munching my muesli this morning with adding this to my (probably won

Re: common code patterns

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 6:20 am, Mark Wieder via use-livecode > wrote: > > On 08/10/2017 10:38 AM, Ralph DiMola via use-livecode wrote: >> To make this even more flexible: >> repeat for each line tLine in tLines with [counter] tIndex [start] [{1}|x] >> [step]

Re: common code patterns

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 7:02 am, Richard Gaskin via use-livecode > wrote: > > Except that's wrong. :) > > I tend to use 0 as the initial value, and increment at the top of the loop: > > local tIndex > put 0 into tIndex > repeat for each line tLine in tLines >

Re: common code patterns

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 7:15 am, Mike Kerner via use-livecode > wrote: > > So back to my original question, and my original comment - you're talking > about macros? See my first reply. However they are used the patterns will be the same ;-) Cheers Monte

Re: common code patterns

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 1:37 am, Mark Waddingham via use-livecode > wrote: > > So, let me rephrase - what are the use-cases people can see for allowing > (some variant of): > > repeat ... with counter tCounter starting from tStart Hmm…. what about: repeat for

Re: Speed of control lookup (Was Re: Parent of Target)

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 8:11 am, Mark Wieder via use-livecode > wrote: > >> Hmm… Would it be a good idea to create a new ID form with the bare minimum >> to identify an object. > > > UUID > Let’s not start that again ;-)

Re: common code patterns

2017-08-11 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 9:40 am, Alex Tweedly via use-livecode > wrote: > > repeat with i=1 to paramcount()-1 >put param(i)&"," after theValue > end repeat > put param(paramcount()) after theValue > > Shorter, faster, and just plain tidier :-) Hmm…

Re: Speed of control lookup (Was Re: Parent of Target)

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 1:23 am, Mark Waddingham via use-livecode > wrote: > > It has also suggested (to me, at least) a slightly different approach - we > make the return value of the 'long id' property of objects what you might > call a StringyLongId value.

Re: [OT] HyperCard preservation society

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 11:27 am, Mark Wieder via use-livecode > wrote: > > LOL... "PRINT PEEL & STICK VHS LABELS" Not betamax? C’mon! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: common code patterns

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 8:06 am, Mark Wieder via use-livecode > wrote: > >> I guess we could have more explicit syntax here which might be more flexible >> too >> repeat for each element tElement and key tKey in tArray ordered numeric >> ascending > > I must be

Re: Android Virtual Device Application Binary Interface

2017-08-12 Thread Monte Goulding via use-livecode
> On 13 Aug 2017, at 10:16 am, scott--- via use-livecode > wrote: > > When testing Android builds on a virtual device, is it necessary to use > devices created with an ARM abi? Yes Cheers Monte ___ use-livecode

Re: common code patterns

2017-08-13 Thread Monte Goulding via use-livecode
> On 14 Aug 2017, at 6:50 am, Mark Wieder via use-livecode > wrote: > > I realize it's not reviewed/accepted yet (and may not be), but Monte's done > something impressive here: > > https://github.com/livecode/livecode/pull/5781#issuecomment-322065901 >

Re: common code patterns

2017-08-14 Thread Monte Goulding via use-livecode
> On 14 Aug 2017, at 5:45 pm, Mark Waddingham via use-livecode > wrote: > > P.S. There is another quote-like char which could be used for an implicitly > merged / escaped string literal - back-quote - `...`. So that should be > considered too - one option would

Re: common code patterns

2017-08-14 Thread Monte Goulding via use-livecode
> The point here is that if we *were* to use back-tick then it would be worth > considering making it escape capable *and* interpolate capable - i.e. there > would be more going on. It would certainly solve one part of the balancing > act in terms of what people may want to use ' and "

Re: Speed of control lookup (Was Re: Parent of Target)

2017-08-12 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 7:26 pm, Mark Waddingham via use-livecode > wrote: > > I'd be happier about introducing a new id if we could solve the multiple > mainstack with same name issue too (or at least get a step closer to it) Hmm… what about giving stacks a

common code patterns

2017-08-10 Thread Monte Goulding via use-livecode
Hi Folks I’m looking for a few common code patterns that you find yourselves writing often but aren’t well suited to reusable handlers. So snippets of code or common ways that events are handled together in a script for a certain task. Cheers Monte

Re: common code patterns

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 11:45 am, Mark Wieder via use-livecode > wrote: > > You know, if you'd post what you're trying to do it might be more possible to > stay on target here. For instance, I regularly have to fill an array with > constants in an initialization

Re: Bug 20255 - Simple Loop Labeling

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 11:54 am, Mark Wieder via use-livecode > wrote: > > What would you put as a comment after the 'end if' using your proposed > approach? The original comment for the 'if' statement or something else? > Would you force the user to create

Re: common code patterns

2017-08-10 Thread Monte Goulding via use-livecode
Over on the Parent of Target thread we are discussing local var access so I wonder if this is a useful common pattern: local s command set p put p into s end set function get return s end get Cheers Monte ___ use-livecode mailing list

Re: Bug 20255 - Simple Loop Labeling

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 11:38 am, Mark Wieder via use-livecode > wrote: > > I would actually argue against this. For me, the useful part would be > > end if # some complicated condition > > Otherwise, making the user come up with a comment that basically says

Re: common code patterns

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 10:53 am, Devin Asay via use-livecode > wrote: > > I’d like to see one like this for conditional structures: > > if then > -- do if true > else > -- do if false > end if > > I always try to use the “full” form of if-then-else. It solves

Re: Bug 20255 - Simple Loop Labeling

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 4:55 am, J. Landman Gay via use-livecode > wrote: > > Well, you don't actually have to use the tooltip. It wouldn't interfere with > your current method and would enhance the editor for those who don't want the > clutter. Having thought

Re: Bug 20255 - Simple Loop Labeling

2017-08-10 Thread Monte Goulding via use-livecode
> On 10 Aug 2017, at 6:02 pm, panagiotis merakos via use-livecode > wrote: > > I personally like this idea, and I find it pretty useful. And this does not > sound too difficult to implement. > > But I am not sure if everyone will like it, so if we do it, we

Re: common code patterns

2017-08-10 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 2:54 pm, Scott Morrow via use-livecode > wrote: > > What about the use of mobile-only commands… needing to always wrap them in > something to keep the IDE from touching. > > if "mobile" is in the environment then > mobileControlSet

Re: [ANN] Release 9.0.0 DP-8

2017-07-13 Thread Monte Goulding via use-livecode
> On 14 Jul 2017, at 7:53 am, Richard Gaskin via use-livecode > wrote: > > panagiotis wrote: > > > We are pleased to announce the release of LiveCode 9.0.0 DP-8. > ... > > - A new HTTPd script library has been added. The HTTP Server > > library can be used to

Re: LiveCode 8, LiveCode 9, their intersection and other questions.

2017-07-13 Thread Monte Goulding via use-livecode
Yep, what Richard said. The only caveat at present is we are implementing new IDE features in 8.1 point releases so that we can have iterative incremental improvement in stable versions for our user testing. Cheers Monte ___ use-livecode mailing list

Re: [ANN] Release 9.0.0 DP-8

2017-07-18 Thread Monte Goulding via use-livecode
> On 18 Jul 2017, at 5:59 pm, Mark Waddingham via use-livecode > wrote: > > I think it is worth having a preference for both highlighting and completion > - it serves people's individual tastes, and as long as the preference is > discoverable then it won't add

Re: Exposing ourselves

2017-07-18 Thread Monte Goulding via use-livecode
> On 18 Jul 2017, at 7:19 pm, Richmond Mathewson via use-livecode > wrote: > > "it’s currently not exposed in the IDE UI" > > 1. How can we work out what features are "latent" in LiveCode but are hidden? > > 2. How can we 'hack' the IDE to expose any of those

Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Monte Goulding via use-livecode
> On 17 Jul 2017, at 11:36 pm, Mark Waddingham via use-livecode > wrote: > > Okay, so having just read the form thread as well... > > There are two things here: > > 1) Bracket highlighting > > 2) Bracket completion > > They should both be preferences. > >

Re: Bug? ResizeControl Triggers From Outside of CustomControl with Assigned Behavior

2017-07-16 Thread Monte Goulding via use-livecode
> On 17 Jul 2017, at 9:42 am, Sannyasin Brahmanathaswami via use-livecode > wrote: > > I can't any use case where you would want any group to trap a mouse event > outside its rect. It sounds like you want sharedBehavior on and backgroundBehavior off If it’s a

Re: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-18 Thread Monte Goulding via use-livecode
> On 19 Jul 2017, at 2:10 pm, Mark Wieder via use-livecode > wrote: > > Nothing but a backdrop. Takes over the screen. Everything else is hidden > behind the gray featureless backdrop. I had to alt-tab to a terminal window > (what if I didn't have one already

Re: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-18 Thread Monte Goulding via use-livecode
> On 19 Jul 2017, at 1:42 pm, Mark Wieder via use-livecode > wrote: > > Yep. LiveCode (any version) is now completely unusable for me. Completely unusable might be overstating things a touch don’t you think? There is a menu to remove the backdrop (View >

Re: Ethereal Breakpoints

2017-07-21 Thread Monte Goulding via use-livecode
> On 22 Jul 2017, at 9:55 am, J. Landman Gay via use-livecode > wrote: > > I'm not having any trouble with the breakpoints per se but if you edit the > script with the dots in place they tend to migrate. When that happens you > don't always notice and it acts

Re: Ethereal Breakpoints

2017-07-24 Thread Monte Goulding via use-livecode
There are some cases where breakpoints are deliberately ignored. Any breakpoints when there is modal stack open and in resizeStack and moveStack handlers. You can debug these using the remote debugger only. Cheers Monte > On 25 Jul 2017, at 1:37 am, Bob Sneidar via use-livecode >

Re: SE Gutter better scroll tracking [Bugfix-20140]

2017-07-23 Thread Monte Goulding via use-livecode
> On 24 Jul 2017, at 5:00 am, J. Landman Gay via use-livecode > wrote: > > I couldn't find a bug report, but the issue that bothers me more than a > timing delay is how existing breakpoints migrate to a completely different > line after a script edit. Suppose I

Re: SE Gutter better scroll tracking [Bugfix-20140]

2017-07-23 Thread Monte Goulding via use-livecode
Hi Bob Have you tried this out with very very long scripts > 1 lines? The reason there’s an update delay on a number of things is to reduce the risk of the field editing performance being effected. Cheers Monte > On 23 Jul 2017, at 10:23 pm, Bob Hall via use-livecode >

Re: Ethereal Breakpoints

2017-07-24 Thread Monte Goulding via use-livecode
> On 25 Jul 2017, at 8:31 am, Alex Tweedly via use-livecode > wrote: > > You know, I really wish it could be (even) more helpful : in particular, > ignoring breakpoints within handlers called from a resizeStack handler. > > I keep getting caught by this -

Re: Ethereal Breakpoints

2017-07-24 Thread Monte Goulding via use-livecode
> On 25 Jul 2017, at 8:37 am, J. Landman Gay via use-livecode > wrote: > >> You can debug these using the remote debugger only. > > Does that still work? It never asks me any more. It should. If it doesn’t for you could you bug report it please. Cheers Monte

Re: Mobile Check Bandwidth Function

2017-07-03 Thread Monte Goulding via use-livecode
> On 4 Jul 2017, at 6:50 am, Richard Gaskin via use-livecode > wrote: > > >> And iOS only? What do we do for the other 80% of the world? > > > > Android: > > https://developer.android.com/reference/android/net/ConnectivityManager.html > > > >

Re: Master M in script editor of lc8.15

2017-07-02 Thread Monte Goulding via use-livecode
http://quality.livecode.com/show_bug.cgi?id=19985 > On 3 Jul 2017, at 2:20 pm, james--- via use-livecode > wrote: > > Has anyone noticed the "Master M" (where the M is actually a blue tiled M) in > the top

Re: Master M in script editor of lc8.15

2017-07-02 Thread Monte Goulding via use-livecode
Oh, dear I think that’s a slip on my part from one of my plugins > On 3 Jul 2017, at 2:20 pm, james--- via use-livecode > wrote: > > Has anyone noticed the "Master M" (where the M is actually a blue tiled M) in > the top area of the script editor in LC8.15? > I

  1   2   3   4   5   6   >