Re: Message watcher in LC 8

2016-01-18 Thread Richard Gaskin

Ben Rubinstein wrote:
> On 15/01/2016 14:42, Richard Gaskin wrote:
>> The IDE insists on changing the name of the stack file when I do
>> Save As (necessary to maintain compatibility with older versions
>> of LC), and at some point I just gave up manually changing it to
>> match the old URL.
>
> I wouldn't dream of teaching my grandmother anything in relation to
> eggs, but FWIW: the 'backup+save' button on my standard toolbar
> extension looks for a stack property "uPrefStackFormat" which I can
> set to indicate the preferred format (2.4/2.7/5.5) and sets "the
> stackfileversion" appropriately before saving the stack.  That
> technique lets me move around between many versions of LC without
> (too often) running into the problem you mention.

If I only used the IDE's File->Save command I'd get pretty good results, 
as once you do a Save As within the IDE it stores the preferred 
stackFileVersion in a custom property and uses that when saving (except 
apparently differently in v87dp13, as described below).


Sounds good in theory, and I've even modified my personal tools to use 
the IDE's Save routine to keep behavior consistent, but despite that 
I've found a few cases where after working in v7 later on I find I can't 
open a stack in v6.  Haven't taken the time to pin down which method of 
saving doesn't change the stackFileVersion to the saved custom prop (and 
in all fairness it may be some of my older tools and not something in 
the IDE), and in the case of 4wFlightRecorder it didn't matter much 
because the older .rev file extension is just confusing to new users anyway.



Peter TB Brett wrote:

> Note that in LC 8.0.0 DP 13 and later, the IDE save commands don't
> use "the stackFileVersion" and save as specific versions directly.
> You may want to update your toolbar extension to take advantage of
> this!  For example, simply use:
>
>  save stack "my stack name" with format 2.7
>
> (This is new syntax in 8.0.0 DP 13).

Nice new addition - thanks.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-18 Thread Ben Rubinstein

On 18/01/2016 10:07, Peter TB Brett wrote:

Note that in LC 8.0.0 DP 13 and later, the IDE save commands don't use "the
stackFileVersion" and save as specific versions directly.  You may want to
update your toolbar extension to take advantage of this!  For example, simply
use:

 save stack "my stack name" with format 2.7

(This is new syntax in 8.0.0 DP 13).


Thanks Peter, I wouldn't have spotted that.

Ben


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-18 Thread Peter TB Brett

On 18/01/2016 15:01, Richard Gaskin wrote:

If I only used the IDE's File->Save command I'd get pretty good results,
as once you do a Save As within the IDE it stores the preferred
stackFileVersion in a custom property and uses that when saving (except
apparently differently in v87dp13, as described below).


Doesn't that work any more?  It should!  If not, it's a regression and I 
will fix it...


 Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-18 Thread Richard Gaskin

Peter TB Brett wrote:

On 18/01/2016 15:01, Richard Gaskin wrote:

If I only used the IDE's File->Save command I'd get pretty good results,
as once you do a Save As within the IDE it stores the preferred
stackFileVersion in a custom property and uses that when saving (except
apparently differently in v87dp13, as described below).


Doesn't that work any more?  It should!  If not, it's a regression and I
will fix it...


Thanks, but I don't know if there's a problem there.  I was merely 
noting that the underlying mechanism is different; whether that played a 
role in my saving in the current format hasn't been determined. If I get 
some time I may go back and see if I can pin down where the errant save 
happened, but for me, even with all my older tools that use the straight 
"save" command without bothering to set the stackFileVersion, it's been 
a minor issue, and I'm not seeing complaints from others about it so I 
wouldn't consider it a priority.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-18 Thread Peter TB Brett



On 18/01/2016 09:32, Ben Rubinstein wrote:

On 15/01/2016 14:42, Richard Gaskin wrote:

The IDE insists on changing the name of the stack file when I do Save As
(necessary to maintain compatibility with older versions of LC), and
at some
point I just gave up manually changing it to match the old URL.


Hi Richard,

I wouldn't dream of teaching my grandmother anything in relation to
eggs, but FWIW: the 'backup+save' button on my standard toolbar
extension looks for a stack property "uPrefStackFormat" which I can set
to indicate the preferred format (2.4/2.7/5.5) and sets "the
stackfileversion" appropriately before saving the stack.  That technique
lets me move around between many versions of LC without (too often)
running into the problem you mention.


Note that in LC 8.0.0 DP 13 and later, the IDE save commands don't use 
"the stackFileVersion" and save as specific versions directly.  You may 
want to update your toolbar extension to take advantage of this!  For 
example, simply use:


save stack "my stack name" with format 2.7

(This is new syntax in 8.0.0 DP 13).

 Peter


--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-18 Thread Ben Rubinstein

On 15/01/2016 14:42, Richard Gaskin wrote:

The IDE insists on changing the name of the stack file when I do Save As
(necessary to maintain compatibility with older versions of LC), and at some
point I just gave up manually changing it to match the old URL.


Hi Richard,

I wouldn't dream of teaching my grandmother anything in relation to eggs, but 
FWIW: the 'backup+save' button on my standard toolbar extension looks for a 
stack property "uPrefStackFormat" which I can set to indicate the preferred 
format (2.4/2.7/5.5) and sets "the stackfileversion" appropriately before 
saving the stack.  That technique lets me move around between many versions of 
LC without (too often) running into the problem you mention.


best

Ben


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-18 Thread Mark Wieder

On 01/18/2016 07:24 AM, Peter TB Brett wrote:


Doesn't that work any more?  It should!  If not, it's a regression and I
will fix it...


It worked fine in all the scenarios I put it through.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-18 Thread Mark Wieder

On 01/18/2016 02:07 AM, Peter TB Brett wrote:


Note that in LC 8.0.0 DP 13 and later, the IDE save commands don't use
"the stackFileVersion" and save as specific versions directly.  You may
want to update your toolbar extension to take advantage of this!  For
example, simply use:

 save stack "my stack name" with format 2.7

(This is new syntax in 8.0.0 DP 13).


Well, there's a bit more to it than that.

The IDE's preference setting for preserving the file format still works.
And setting the stackFileVersion before saving by script also still 
works. So there's no problem with breaking existing code.


The new syntax is at the engine level:

if stacks contain widgets they are saved in 8.0 format.
otherwise stacks are saved in 7.0 format by default.

New to dp13 are:
save stack  with format 
and
save stack  with latest format

And the IDE's menu now reflects these for "Save As".

Much discussion at https://github.com/livecode/livecode/pull/3351

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-15 Thread Alex Tweedly
Thanks Paul, but I haven't yet had any luck with DP13. It seems to have 
(yet again) changed something that causes a problem with lcStackBrowser, 
and I can't use LC without that, so until I have the time to figure out 
what's going on and get that info to Pete Haworth, I'm going to have to 
stick with DP9.


-- Alex.

On 15/01/2016 02:02, Paul Hibbert wrote:

There have been a lot of bugs squashed since DP9, so I’d suggest trying DP13, 
I’m not seeing any such messages in this version.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Message watcher in LC 8

2016-01-15 Thread Alex Tweedly

Thanks Pete.

Do you (anyone) have any idea where I can get hold of 4WFlightRecorder ?
All the Googling I do for it points me to "the stacks section of Go 
Revnet" (from IDE / Development / Plugins), but when I go there, I can't 
find a 'stacks' section. I tried the obvious thing (i.e. to look at 
Richard's site) but don't see anything there either.


-- Alex.

On 15/01/2016 02:09, Peter Haworth wrote:

Hi Alex,
The messages after openStack are coming from lcStackBrowser's front script
which traps openStack.  I guess the question is where the openStack
messages are coming from in the first place.  You might try Richard's
4WFlightRecorder stack, I find it much more useful than the message
watcher.  I believe it will tell you where the openStack messages are
coming from.

On Thu, Jan 14, 2016 at 6:02 PM Paul Hibbert  wrote:


There have been a lot of bugs squashed since DP9, so I’d suggest trying
DP13, I’m not seeing any such messages in this version.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Message watcher in LC 8

2016-01-15 Thread Kay C Lan
On Fri, Jan 15, 2016 at 8:49 PM, Alex Tweedly  wrote:

>
> Do you (anyone) have any idea where I can get hold of 4WFlightRecorder ?
>

I see Devolution is currently undergoing 'radical enhancement'  so maybe
this old link from a previous List message wont work:


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-15 Thread Richard Gaskin

Alex Tweedly wrote:


Do you (anyone) have any idea where I can get hold of 4WFlightRecorder ?
All the Googling I do for it points me to "the stacks section of Go
Revnet" (from IDE / Development / Plugins), but when I go there, I can't
find a 'stacks' section. I tried the obvious thing (i.e. to look at
Richard's site) but don't see anything there either.


Sorry for the inconvenience.  The upgrade for RevNet is in development 
but other projects have unfortunately pushed that volunteer work to the 
back burner, leaving links like the one to 4W Flight Recorder in limbo.


Hopefully I'll get a break from the other priorities here soon to wrap 
up the new RevNet - when it's done I think many here will like it.


I appreciate Kay's posting a URL to it, but I'm afraid the URL has 
changed.  The IDE insists on changing the name of the stack file when I 
do Save As (necessary to maintain compatibility with older versions of 
LC), and at some point I just gave up manually changing it to match the 
old URL.


So now (and hopefully going forward, unless LC goes through another name 
and/or file extension change) the URL is:




--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Message watcher in LC 8

2016-01-14 Thread Paul Hibbert
There have been a lot of bugs squashed since DP9, so I’d suggest trying DP13, 
I’m not seeing any such messages in this version.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Message watcher in LC 8

2016-01-14 Thread Peter Haworth
Hi Alex,
The messages after openStack are coming from lcStackBrowser's front script
which traps openStack.  I guess the question is where the openStack
messages are coming from in the first place.  You might try Richard's
4WFlightRecorder stack, I find it much more useful than the message
watcher.  I believe it will tell you where the openStack messages are
coming from.

On Thu, Jan 14, 2016 at 6:02 PM Paul Hibbert  wrote:

> There have been a lot of bugs squashed since DP9, so I’d suggest trying
> DP13, I’m not seeing any such messages in this version.
>
> Paul
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Message watcher in LC 8

2016-01-14 Thread Alex Tweedly


I'm trying to use the Message Watcher in LC 8 (currently using DP9).

I get a continuous loop of a number of messages, even when nothing is 
being done, which makes it hard to get any useful info.
Is there something I need to do in LC8 to avoid this (other than 
suppress each of these messages).


(btw - rant - why can't I copy/paste from the message watcher output 
field !!! )


The messages in question are
  openstack
respondToFrontScript
  respondToFrontScript_openstack
stackToBeExcluded
  getPreference
  isIDEStack
  getPreference
  openstack
respondToFrontScript
  respondToFrontScript_openstack
stackToBeExcluded
  getPreference
  isIDEStack
  getPreference
and on and on and on 

But, if I click on "Suppress..." in the Message Watcher, then (after 
about a minute's delay while it catches up with outputting all these 
looping messages :-(, followed by Cancel, these messages cease.


Until the next time I change which stack has focus (or something ??) 
when the "loop" starts again.


Thanks for any suggestions
-- Alex


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode