Re: The selectedText for controls without focus

2017-02-24 Thread Richard Gaskin via use-livecode
For a scriptless solution that's purely property-driven, what Jacque 
said covers normal click-and-drag selection at the small cost of 
multi-click selection.


And if you need multi-click selection and don't mind a small bit of 
scripting, putting this in a normal editable field seems to make it 
uneditable well enough while still allowing Copy to work:


on rawkeydown k
   if k = 99 then
  if the commandKey is "down" then copy
   end if
end rawkeydown

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-24 Thread Richard Gaskin via use-livecode

Mike Kerner wrote:

> On Fri, Feb 24, 2017 at 11:32 AM, Richard Gaskin wrote:
>
>> Mike Kerner wrote:
>>
>> > 4) Why is having an integrated editor important, if your edits made
>> > via an external editor take effect immediately?  If we didn't need
>> > the L server hack to get live edits, we could use any editor.
>>
>> What is "the L server hack", and what is the threshold of acceptable
>> immediacy?
>
> Trevor, in his (L)evure framework (which is what brought the original
> topic up that inspired this thread) developed a way to get the LC IDE
> to act as a server/listener and ST to broadcast every time a
> .livecodescript file is edited.  LC then unloads and reloads the .lcs
> file (whether it is a front or backscript, library, behavior, etc.),
> causing it to be updated live, as if it had been edited in the LC SE.

Thanks. I has misread "hack" as "workaround".

Sockets are of course are a very common method for processes to 
communicate, and are generally pretty fast, esp. on the local machine.


If you've seen delays I'll bet they can be addressed.

The MC IDE used to have built-in support for external editors since the 
olden days, and a more flexible socket-based method is even better.


So far this thought experiment seems favorable to all who've responded. 
For those who prefer a LiveCode-based editor, I can envision are project 
very much like the one you started with the Dictionary, leaving scripted 
components in the hands of capable scripters in the community so the 
engine team could theoretically be freed up to do the things only they 
can do.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: The selectedText for controls without focus

2017-02-24 Thread J. Landman Gay via use-livecode

On 2/24/17 8:18 PM, Bob Sneidar via use-livecode wrote:

Ok I've played with locked, traversalOn, and disabled and the only
thing that alows me to enable/disable editing of the contents of a
field is traversalOn. No combination of the other settings allow me
to select text (in any manner that a user would expect) and yet
prevent the editing of the text.



Set a field to use locktext, traversalOn, and autohilite. You can select 
and copy text without the ability to edit. Command/Control-C is built 
into the engine so you don't need to know what the selection is, the 
engine just does it. Your scripts don't need to do anything to 
accomodate this.


You can't double-click a word to select it, but you can drag.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-24 Thread Mike Kerner via use-livecode
Trevor, in his (L)evure framework (which is what brought the original topic
up that inspired this thread) developed a way to get the LC IDE to act as a
server/listener and ST to broadcast every time a .livecodescript file is
edited.  LC then unloads and reloads the .lcs file (whether it is a front
or backscript, library, behavior, etc.), causing it to be updated live, as
if it had been edited in the LC SE.

On Fri, Feb 24, 2017 at 11:32 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike Kerner wrote:
>
> > 4) Why is having an integrated editor important, if your edits made
> > via an external editor take effect immediately?  If we didn't need
> > the L server hack to get live edits, we could use any editor.
>
> What is "the L server hack", and what is the threshold of acceptable
> immediacy?
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for Desktop, Mobile, and 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: The selectedText for controls without focus

2017-02-24 Thread Phil Davis via use-livecode

Don't ignore the autoHilite of a field. Dictionary says:

Specifies whether a button highlights when it's pressed,
or whether selected text in a field is highlighted.

Phil Davis


On 2/24/17 6:18 PM, Bob Sneidar via use-livecode wrote:

Ok I've played with locked, traversalOn, and disabled and the only thing that 
alows me to enable/disable editing of the contents of a field is traversalOn. 
No combination of the other settings allow me to select text (in any manner 
that a user would expect) and yet prevent the editing of the text.

I can probably check the pEditing property of each stack (which contains 
new|edit|view) in a keyUp handler or something to pass keyUp or no to control 
whether or not a user can edit or no. But it seems like a lot of convolutions 
to go through for something so simple as allowing a user to select and copy 
data from an uneditable field. Think of a web form. You can copy text all the 
live long day and yet not be allowed to edit it. That is what I am shooting for.

I agree that if copying is not allowed, or to put it another way, if getting 
the selectedText or hilitedText is not possible, then the UI should not 
indicate that text is selected. So let's kill that first, then consider whether 
or not there ought to be a property that returns the hilited text of a field 
regardless of the status of traversalOn.

Maybe we can have a new field and button property: editable?

Bob S



On Feb 24, 2017, at 16:23 , Richard Gaskin via use-livecode 
 wrote:

So I agree there's a bug there, but I'd go the other way: if traversalOn is 
supposed to prevent selections, it should also prevent selections that occur 
from double-clicking on words.

--
Richard Gaskin


___
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



--
Phil Davis


___
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: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Ok I've played with locked, traversalOn, and disabled and the only thing that 
alows me to enable/disable editing of the contents of a field is traversalOn. 
No combination of the other settings allow me to select text (in any manner 
that a user would expect) and yet prevent the editing of the text. 

I can probably check the pEditing property of each stack (which contains 
new|edit|view) in a keyUp handler or something to pass keyUp or no to control 
whether or not a user can edit or no. But it seems like a lot of convolutions 
to go through for something so simple as allowing a user to select and copy 
data from an uneditable field. Think of a web form. You can copy text all the 
live long day and yet not be allowed to edit it. That is what I am shooting 
for. 

I agree that if copying is not allowed, or to put it another way, if getting 
the selectedText or hilitedText is not possible, then the UI should not 
indicate that text is selected. So let's kill that first, then consider whether 
or not there ought to be a property that returns the hilited text of a field 
regardless of the status of traversalOn. 

Maybe we can have a new field and button property: editable?

Bob S


> On Feb 24, 2017, at 16:23 , Richard Gaskin via use-livecode 
>  wrote:
> 
> So I agree there's a bug there, but I'd go the other way: if traversalOn is 
> supposed to prevent selections, it should also prevent selections that occur 
> from double-clicking on words.
> 
> -- 
> Richard Gaskin


___
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: The default button

2017-02-24 Thread Bob Sneidar via use-livecode
Interesting. I think what I will do then is spend time setting all the buttons 
default to false, then managing which buttons have the default on. The only 
reason it helps me (I don't ever use standard buttons, but always attach a 
graphic for an icon) is that I have 3 modes each data form can have: View, 
Edit, New. This is so that I can control what the user can and cannot do at 
different states. I set the default of the save button in edit/new, but in view 
mode the default is the Edit button. 

Bob S


> On Feb 24, 2017, at 16:32 , Mark Wieder via use-livecode 
>  wrote:
> 
> You *can* indeed have more than one default button, but it's not a good idea. 
> For the reasons you mentioned and more. On OSX having more than one default 
> button will use up huge amounts of cpu power even while doing nothing more 
> than sitting around and looking good.


___
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: The default button

2017-02-24 Thread Mark Wieder via use-livecode

On 02/24/2017 03:13 PM, Bob Sneidar via use-livecode wrote:

Hi all.

I was given to understand that there can only be one default button. I see I am 
mistaken. I thought that setting the defaultButton of a card unset the default 
of the button that was the defaultButton prior to that. It seems to me that 
this is how this ought to work, because if not, then the return key will yield 
unpredictable results.

What this DOES do is on a standard button it changes the appearance to, for 
example on OS X, a blue button instead of a whitish one. Is this all this is 
for? It cannot be as hitting the return key WILL send a mouseUp to whatever the 
engine thinks is the current defaultButton.


You *can* indeed have more than one default button, but it's not a good 
idea. For the reasons you mentioned and more. On OSX having more than 
one default button will use up huge amounts of cpu power even while 
doing nothing more than sitting around and looking good.


PowerTools will warn you if you try to add more than one default button, 
but once you've been warned won't prevent it, because by that point you 
obviously mean to do what you're about to do.


--
 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: The selectedText for controls without focus

2017-02-24 Thread Richard Gaskin via use-livecode

Bob Sneidar wrote:

Hi Richard. You are "locking" fields. I am setting the traversalOn
to false. The reason I use this is because a locked field will still
show the focus border, which I do not want.


The focus border should be governed independently, using the 
showFocusBorder property.


If you turn that off and it still shows with traversalOn true, that 
would be a bug.


As for traversalOn, when I turn that off the reason I don't get a focus 
border is because I also don't get focus - without keyboard interaction 
allowed with traversalOn, I'm unable to select text.


That is, by the most common means, click-and-drag.

I do find that I can double-click a word to select it, and when 
double-clicked in a field with traversalOn turned off then my example 
menu does indeed fail to recognize that selection.


So I agree there's a bug there, but I'd go the other way: if traversalOn 
is supposed to prevent selections, it should also prevent selections 
that occur from double-clicking on words.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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


The default button

2017-02-24 Thread Bob Sneidar via use-livecode
Hi all. 

I was given to understand that there can only be one default button. I see I am 
mistaken. I thought that setting the defaultButton of a card unset the default 
of the button that was the defaultButton prior to that. It seems to me that 
this is how this ought to work, because if not, then the return key will yield 
unpredictable results. 

What this DOES do is on a standard button it changes the appearance to, for 
example on OS X, a blue button instead of a whitish one. Is this all this is 
for? It cannot be as hitting the return key WILL send a mouseUp to whatever the 
engine thinks is the current defaultButton. 

Bob S



___
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: The selectedText for controls without focus

2017-02-24 Thread J. Landman Gay via use-livecode

On 2/24/17 3:33 PM, Bob Sneidar via use-livecode wrote:

Hi Richard. You are "locking" fields. I am setting the traversalOn to
false. The reason I use this is because a locked field will still
show the focus border, which I do not want. I suppose I can lock the
field and lock the field. I will play around with it.


You can turn off the focusborder in the field's property inspector.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Hi Richard. You are "locking" fields. I am setting the traversalOn to false. 
The reason I use this is because a locked field will still show the focus 
border, which I do not want. I suppose I can lock the field and lock the field. 
I will play around with it. 

Bob S


> On Feb 24, 2017, at 12:35 , Richard Gaskin via use-livecode 
>  wrote:
> 
> If has one menu and a simple script in it:
> 
> on menuPick pItemName
>   put the selectedText
> end menuPick
> 
> So here everything I do with selections in locked fields gives me the same 
> results as unlocked fields.  I've had products that rely heavily on this 
> behavior.  If you're seeing something different we need to dig into specifics 
> to discover the differences. But once we do I'm confident we can get it to 
> work for you.
> 
> -- 
> Richard Gaskin


___
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: Null symbol cross platform

2017-02-24 Thread Stephen Barncard via use-livecode
On Fri, Feb 24, 2017 at 9:53 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> --- serious programmers; tune out NOW! 


Richmond, my world is enriched with your "crusty but benign" narratives and
your asking the questions that the rest of us are to afraid to ask ( for
fear of revealing our own 'holes in our knowledge' ).

Always fun and educational to see posts from you as an "Enabled User".

Thanks for being you and testing the limits of what we can say on this
forum!

--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
The difference is, turning traversal off, rather than setting the locktext
to true doesn't work. Even if one manages to hilite text in the
non-traversable field, it isn't really selected. (Which is why if it were
me I'd not do it that way)


On Fri, Feb 24, 2017 at 1:35 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Bob Sneidar wrote:
> > On Feb 24, 2017, at 10:06 , Richard Gaskin wrote:
> >>
> >> That should not be needed.
> >>
> >> LiveCode allows only one active field selection in non-list fields.
> >
> > Yes I did. It returns empty. I have a menu which intercepts the
> > Copy menu selection. I hilite the text in a field whose traversalOn
> > is false, then select Copy from the menu. In the menu handler I have
> > "put the selectedText". I also tried "hilitedText". Neither work. I
> > also tried the hilitedText of field "fldIPAddress". No bueno. If
> > however you SET the hilitedText from a handler, it DOES return
> > something. So it's clear that the property CAN be set even if
> > traversalOn is false. The engine is just not doing it.
> >
> > This has actually been the case since version 2 when I began using
> > Revolution.
>
> Which Copy menu item, LC's or one of yours?
>
> In my last recipe I was using the copy command but you said you were
> having issues with the selectedText, so I came up with this one:
> http://fourthworldlabs.com/rev/LockedFieldText.livecode
>
> If has one menu and a simple script in it:
>
> on menuPick pItemName
>put the selectedText
> end menuPick
>
> So here everything I do with selections in locked fields gives me the same
> results as unlocked fields.  I've had products that rely heavily on this
> behavior.  If you're seeing something different we need to dig into
> specifics to discover the differences.  But once we do I'm confident we can
> get it to work for you.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for Desktop, Mobile, and 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
>
___
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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Mike Kerner via use-livecode
oh baby i just read the blog on the profiler.  I am going to have fun with
this, too.

On Fri, Feb 24, 2017 at 12:27 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> panagiotis merakos wrote:
>
> > http://quality.livecode.com/show_bug.cgi?id=19248
>
> Unfortunate to see complication after complication pile up from the IDE's
> insistence that stacks with the same name should not be in memory at the
> same time.
>
> As we've discussed earlier, the engine does not appear to have such a
> limitation for most operations.
>
> The real issue at the root of all this is the subset of actions performed
> on stacks with the same name affecting the wrong stack to due an
> easily-fixable limitation in how topstack is derived:
>
> http://quality.livecode.com/show_bug.cgi?id=18793
>
> If the more complete algo employed in the FixedTopStack function provided
> in comment #1 there were implemented in the engine's stack topstack
> referencing, so many workflow limitations unique to LiveCode would go
> away
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for Desktop, Mobile, and 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: The selectedText for controls without focus

2017-02-24 Thread Richard Gaskin via use-livecode

Bob Sneidar wrote:
> On Feb 24, 2017, at 10:06 , Richard Gaskin wrote:
>>
>> That should not be needed.
>>
>> LiveCode allows only one active field selection in non-list fields.
>
> Yes I did. It returns empty. I have a menu which intercepts the
> Copy menu selection. I hilite the text in a field whose traversalOn
> is false, then select Copy from the menu. In the menu handler I have
> "put the selectedText". I also tried "hilitedText". Neither work. I
> also tried the hilitedText of field "fldIPAddress". No bueno. If
> however you SET the hilitedText from a handler, it DOES return
> something. So it's clear that the property CAN be set even if
> traversalOn is false. The engine is just not doing it.
>
> This has actually been the case since version 2 when I began using
> Revolution.

Which Copy menu item, LC's or one of yours?

In my last recipe I was using the copy command but you said you were 
having issues with the selectedText, so I came up with this one:

http://fourthworldlabs.com/rev/LockedFieldText.livecode

If has one menu and a simple script in it:

on menuPick pItemName
   put the selectedText
end menuPick

So here everything I do with selections in locked fields gives me the 
same results as unlocked fields.  I've had products that rely heavily on 
this behavior.  If you're seeing something different we need to dig into 
specifics to discover the differences.  But once we do I'm confident we 
can get it to work for you.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: 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 
> need to be set up. I'm not sure I'd make the permission automatic, since the 
> final standalone may not want that permission set and the developer will 
> probably forget to unset it, especially if they didn't know it was turned on 
> in the first place.


We probably need a system of standalone settings dependencies for inclusions in 
general anyway ;-)

Cheers

Monte
___
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: Remote debugger

2017-02-24 Thread Richmond Mathewson via use-livecode

Today I spent most of the day using a proximal debugger: a nit comb,
for the simple reason that as the weather has warmed up several of the 
children

picked up head-lice from "somewhere".

When I saw postings about a "remote debugger" it cheered me up no end 
after an awful day.


Thanks; what a lovely Use-list!

Richmond.

On 2/24/17 10:01 pm, Roger Eller via use-livecode wrote:

But if you wanted to continue developing an alternative way of remote
debugging, the open-source LC users would love you.  :)


On Fri, Feb 24, 2017 at 2:48 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


On 2/24/17 2:36 AM, Monte Goulding via use-livecode wrote:


You need to ensure the internet permission is on for android. We
probably should make that automagicial with the test button..


Oh duh. Of course. I had overlooked the Android permission. Just in case,
I also added internet and TSNet to the inclusions. Are those necessary too?
I'm thinking probably not.

So I ran my test stack again and was blown away. This is one of the
coolest and most needed features we've had in a very long time. In my
current project I need to get the text of a long error result and was about
to write an ftp handler so I could move it out of the Android sandbox to a
place where I could access the text. Now I don't have to, I can just get it
from the debugger. This is amazing.

I'd suggest that documentation make it clear what permissions and
inclusions need to be set up. I'm not sure I'd make the permission
automatic, since the final standalone may not want that permission set and
the developer will probably forget to unset it, especially if they didn't
know it was turned on in the first place.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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


___
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: Remote debugger

2017-02-24 Thread Roger Eller via use-livecode
But if you wanted to continue developing an alternative way of remote
debugging, the open-source LC users would love you.  :)


On Fri, Feb 24, 2017 at 2:48 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2/24/17 2:36 AM, Monte Goulding via use-livecode wrote:
>
>> You need to ensure the internet permission is on for android. We
>> probably should make that automagicial with the test button..
>>
>
> Oh duh. Of course. I had overlooked the Android permission. Just in case,
> I also added internet and TSNet to the inclusions. Are those necessary too?
> I'm thinking probably not.
>
> So I ran my test stack again and was blown away. This is one of the
> coolest and most needed features we've had in a very long time. In my
> current project I need to get the text of a long error result and was about
> to write an ftp handler so I could move it out of the Android sandbox to a
> place where I could access the text. Now I don't have to, I can just get it
> from the debugger. This is amazing.
>
> I'd suggest that documentation make it clear what permissions and
> inclusions need to be set up. I'm not sure I'd make the permission
> automatic, since the final standalone may not want that permission set and
> the developer will probably forget to unset it, especially if they didn't
> know it was turned on in the first place.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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
>
___
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: Remote debugger

2017-02-24 Thread J. Landman Gay via use-livecode

On 2/24/17 2:36 AM, Monte Goulding via use-livecode wrote:

You need to ensure the internet permission is on for android. We
probably should make that automagicial with the test button..


Oh duh. Of course. I had overlooked the Android permission. Just in 
case, I also added internet and TSNet to the inclusions. Are those 
necessary too? I'm thinking probably not.


So I ran my test stack again and was blown away. This is one of the 
coolest and most needed features we've had in a very long time. In my 
current project I need to get the text of a long error result and was 
about to write an ftp handler so I could move it out of the Android 
sandbox to a place where I could access the text. Now I don't have to, I 
can just get it from the debugger. This is amazing.


I'd suggest that documentation make it clear what permissions and 
inclusions need to be set up. I'm not sure I'd make the permission 
automatic, since the final standalone may not want that permission set 
and the developer will probably forget to unset it, especially if they 
didn't know it was turned on in the first place.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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


Parsing XML Nodes w/Same Tag

2017-02-24 Thread Sannyasin Brahmanathaswami via use-livecode
My longest running in house production app is an audio transcriber. Very 
successful little gadget, running in xTalk since 2001

We have over 1,000 XML files from an audio archive of transcripts.

Now I'm digging in and getting the data out.

I'm not facile with xml routines but did my best with the help of Bernd new, 
actually useable, dictionary.

But ran into a bug  in 9 DP5  (I think… ) OR I am doing something wrong

given transcripts formatted with nodes like this:




  CAS0886_radio-pilot_Inspired-Talks.A.mp3
  1980-01-03
  Gurudeva
  Three Words of Existence
  God and Lords of Dharma
  18 min, 36 secs
  San Francisco
  Brahmanathaswami
  
  Subtopic: three worlds: 0:3:56
  Subtopic: temple: 0:4:7
  

  
   
 [Radio Announcer: Ravi Peruman introduces Gurudeva]
   
   
 Gurudeva says ..
   
   
 More content here
   
   
 Subtopic: three worlds: 0:3:56
   
   
 All about temple
   
   
 Subtopic: temple: 0:4:7
   
  


My script looks like this

put revXMLChildContents(pTree, "/audio_transcript/header",tab,return,false,4) 
into fld "productionNotes"  # this works… I get all the contents
put revXMLNodeContents(pTree,"/audio_transcript/transcript_text/p") into tText 
# this works but we only get the first  content

# so I presume (like I said… parsing xml is new to me) we need to loop/iterate 
over the sibling  tags..
put revXMLNumberOfChildren(pTree,"/audio_transcript/transcript_text/","p",4) # 
return "6

# the following line should provide us what we need, I think, to set up a 
repeat loop  using the indexed node function
# and this is a) according to the dictionary b) and the script will compile:

put revXMLChildNames(pTree,"/audio_transcript/transcript_text/", 
return,"p",true)

I get a "green" OK in the script editor, but when I run it. we get this output, 
which is expected

p[1]
p[2]
p[3]
p[4]
p[5]
p[6]

and presumably I can use that list to now fetch the contents of all those nodes 
(haven't figured that out yet)

but the engine fires an error msg (even though the script compiled without 
complaining)  when we run it..

button "Load Transcript": execution error at line 22 (Handler: can't find 
handler) near "", char 89

it is breaking on the end of this line

put revXMLChildNames(pTree,"/audio_transcript/transcript_text/", 
return,"p",true)


even though the script compiles… isn't this a bug? If it a) is what the 
dictionary says it should be and b) compiles, why the error?

if not, what am I doing wrong?

The full button script is below… and you see my "fumbling" to fetch the content 
of all the "p" nodes. There seems to be some oddity relating to multiples nodes 
all having the same tag. 

global theTape
on mouseUp
put theTape into tTranscript
set the itemdel to "."
put "xml" into item -1 of tTranscript
if there is a file tTranscript then
put url ("file:/" & tTranscript) into tTranscriptXML
else
answer "Sorry, there is no transcript in the same folder as the audio" with "OK"
exit to top
end if
put revXMLCreateTree(tTranscriptXML,false, true,true) into pTree
if pTree is not an integer then
answer "Problem with the XML. Open in a text editor" with "OK"
end if
put revXMLChildContents(pTree, "/audio_transcript/header",tab,return,false,4) 
into fld "productionNotes"
put revXMLNodeContents(pTree,"/audio_transcript/transcript_text/p") into tText
put revXMLNumberOfChildren(pTree,"/audio_transcript/transcript_text/","p",4)
put revXMLChildNames(pTree,"/audio_transcript/transcript_text/", 
return,"p",true) 

#this script complies, but breaks on the above line when run
--put revXMLNextSibling(pTree,"/audio_transcript/transcript_text/p") into 
nextSibling
--put revXMLNodeContents(pTree,nextSibling) after tText # feeble attempt fails, 
need to do some loop but don't know how.
# no robust examples to follow, any help appreciated!
--put revXMLNodeContents(pTree, "audio_transcript/header/duration") into 
tTranscriptHTML # works for single node (of course)
--set the htmltext of fld "transcript" of stack "Audio_transcriber" to 
tTranscriptHTML

end mouseUp




___
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: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments

2017-02-24 Thread Matthias Rebbe via use-livecode
Hi,

just found out what the problem was. I examined the mime.livecodescript file.

The array which holds the attachment information has to be a multidimensional 
array

e.g. pAttachment[1][name] for the first attachment
   pAttachment[2][name] for the second attachment

and so on.


Of course that make sense, but a note in the dictionary would have saved me 
some time. 

But anyway it´s working now. ;)

Matthias



Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de 

BR5 Konverter - BR5 -> MP3 
> Am 24.02.2017 um 17:08 schrieb Matthias Rebbe via use-livecode 
> >:
> 
> Thanks, but the script does not include that. It seems Apple Mail.app  added 
> that to the script.
> 
> But my original script definitely just contains the email address.
> 
> 
>> Am 24.02.2017 um 17:05 schrieb Bob Sneidar via use-livecode 
>>  
>> > >>:
>> 
>> Exclude the mailto: in each email address. 
>> 
>> Bob S
>> 
>> 
>>> On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode 
>>>  
>>> >> >> wrote:
>>> 
>>> Hi,
>>> did someone already tested the new mime library, especially the command 
>>> mimeEncodeAsMIMEEmail.
>>> 
>>> I tried it already and i am having problems to use the command with an 
>>> attachment. My problem is, the attachment is not encoded and not added to 
>>> the encoded message in the IT variable.
>>> 
>>> This is my sample code i am using for it
>>> 
>>> on mouseUp
>>> answer File "file" 
>>> if it is empty then exit to top
>>> put it into tFile
>>> put URL ("Binfile:") into tData
>>> set the itemdelimiter to slash
>>> put item -1 of tFile into tFileName
>>> put tFile into tAttachment["filepath"]
>>> put "tFileName" into tAttachment["name"]
>>> put tData into tAttachment["data"]
>>> 
>>> put "ema...@server.com  >> > >>  >> >>" into tTo
>>> put "ema...@server.com  >> > >>  >> >>" into tCc
>>> put "ema...@server.com  >> > >>  >> >>" into tFrom
>>> put "this is the subject" into tSubject
>>> put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 1) into 
>>> tBody
>>> 
>>> 
>>> mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCC, tSubject, tAttachment
>>> 
>>> put it
>>> answer the result
>>> end mouseUp
>>> 
>>> Shouldn´t that work? Or is there an error in it? The Result does not show 
>>> any error.
>>> 
>>> 
>>> Regards,
>>> 
>>> Matthias
>>> Matthias Rebbe
>>> Bramkampsieke 13
>>> 32312 Lübbecke
>>> Tel +49 5741 31
>>> +49 160 5504462
>>> Fax: +49 5741 310002
>>> eMail: matth...@m-r-d.de  
>>> > 
>>>  
>>> >>
>>> 
>>> BR5 Konverter - BR5 -> MP3 >>  
>>> >> >>
>>> 
>>> ___
>>> 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
> 

Re: Community Dictionary (was Re: Delete element from array)

2017-02-24 Thread Phil Davis via use-livecode
Very nice! I think I'll start using it as my primary docs UI and see if 
there's anything I wish it had in addition. I love the simplicity of it.


Phil Davis


On 2/22/17 6:14 PM, Mike Kerner via use-livecode wrote:

Everyone,
Have a look at what Bernd has done.  Again, the thread is
http://forums.livecode.com/viewtopic.php?f=67=28731=151678#p151678


On Mon, Jan 30, 2017 at 9:10 PM, Mike Kerner 
wrote:


Also, over there, I have included a list of bug reports that I found that
seem to be relevant.  If you have submitted a bug report for *the way the
dictionary works*  (not for an entry being incorrect or requiring
modification, because that is a separate, but eventually related project),
please weigh in so we can add it to the list.

On Mon, Jan 30, 2017 at 12:00 PM, Mike Kerner 
wrote:


Do me a favor, please, and post to the thread I already started on the
forum.
http://forums.livecode.com/viewtopic.php?f=67=28731

I also have a bug report that I started on this, that I suppose you could
contribute to, but I would think that first the forum would be the place to
go, until we have some firm things, so The Team doesn't have even more
stuff to read when they should be writing.

On Sat, Jan 28, 2017 at 12:03 AM, Sannyasin Brahmanathaswami via
use-livecode  wrote:


Richard Gaskin wrote:

 /Documentation/resources/data/api/api.sqlite

Oh boy, gonna have fun with that!

BR

___
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




--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."




--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."






--
Phil Davis


___
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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread axwald via use-livecode
Hi,

few days ago I read about PHP incorporating a modern crypto lib now:
> https://dev.to/paragonie/php-72-the-first-programming-language-to-add-modern-cryptography-to-its-standard-library

Not a specialist regarding this, but wouldn't it be possible to interface
such?
> https://github.com/jedisct1/libsodium

@Lagi: The first customer already called to ask if I'd use "this security
risk" - thanks "LibHash-Hmac" (Richard posted the URL) I could deny
plausibly :)
Even if I agree with you about the real risk, it would be very bad idea not
to update any commercial software now. It might even have juristic
consequences, knowingly using broken crypto?

Anyway. Have fun!



-
• Livecode programming until the cat hits the fan •
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/SHA1-cracked-What-are-the-chances-this-will-be-addressed-in-LC-tp4712554p4712617.html
Sent from the Revolution - User mailing list archive at Nabble.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: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Yes I did. It returns empty. I have a menu which intercepts the Copy menu 
selection. I hilite the text in a field whose traversalOn is false, then select 
Copy from the menu. In the menu handler I have "put the selectedText". I also 
tried "hilitedText". Neither work. I also tried the hilitedText of field 
"fldIPAddress". No bueno. If however you SET the hilitedText from a handler, it 
DOES return something. So it's clear that the property CAN be set even if 
traversalOn is false. The engine is just not doing it. 

This has actually been the case since version 2 when I began using Revolution. 

Bob S


> On Feb 24, 2017, at 10:06 , Richard Gaskin via use-livecode 
>  wrote:
> 
> That should not be needed.
> 
> LiveCode allows only one active field selection in non-list fields.


___
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: The selectedText for controls without focus

2017-02-24 Thread Richard Gaskin via use-livecode

Bob Sneidar wrote:

> Enhancement Request 19323 submitted.
>
> As to your post, yes the selectedText 'of the field' will work.
> But a menu command like "Copy" would not know which field was
> selected. I suppose I could loop through all the fields and get
> the one which was not empty. I'll play with that a bit.

Did you try it without the "of "?

That should not be needed.

LiveCode allows only one active field selection in non-list fields.

This means that selecting a text run will in any field that allows it 
will cause any other field to lose selection and become the 
selectedField.  This is independent of other properties like lockText, 
and is logically needed to prevent cases where more than one field might 
have a run of text selected.


I've been relying on solid handling of text selections in locked fields 
for years, but just in case I also tested this in v9 right now:


1. Make a field as you describe

2. Make a button with this script:

on mouseUp
   select word 2 of fld 1
   copy
end mouseUp

3. Turn off the button's traversalOn property.

That's essential for the same reason this all works:  like most systems, 
LC only has one keyboard-focused object at a time, and if the 
traversalOn is off (why isn't it just called "traversal"?) then clicking 
on it will not take keyboard focus away from other objects, like the 
selection of text runs in fields.


4. Click the button.

5. Paste into any editor and see if it worked.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Bob Sneidar via use-livecode
I dl'd and also sent him some money. 

Bob S


> On Feb 24, 2017, at 09:56 , Richard Gaskin via use-livecode 
>  wrote:
> 
> Peter covered why it should be done in C, but if you really need sha256 today 
> Mark Smith's libSHA includes a scripted version:
> 
> http://marksmith.on-rev.com/revstuff/
> 
> -- 
> Richard Gaskin


___
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: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
If by "as expected" you mean the selectedText of the field can be obtained, 
then this is likely because you set it with the button. Selecting it with a 
cursor does not behave the same way. How odd. I may have to dig into the IDE 
and find where this is happening. 

Bob S


> On Feb 24, 2017, at 09:50 , Bob Sneidar via use-livecode 
>  wrote:
> 
>> To test this, I had a button set the
>> selection, made sure that traversal was off, then put the selectedtext of
>> the field, and it worked as expected.


___
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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Richard Gaskin via use-livecode

Lagi Pittas wrote:

> Why does it need to be a part of the language and not a widget
> or a library stack which we can all fiddle with for our projects,
> which would make it more difficult for the bad boys to decrypt?

Peter covered why it should be done in C, but if you really need sha256 
today Mark Smith's libSHA includes a scripted version:


http://marksmith.on-rev.com/revstuff/

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: Null symbol cross platform

2017-02-24 Thread Richmond Mathewson via use-livecode
Thanks for the reply; although, as I am not Bulgarian (as my Bulgarian 
wife of 25 years never stops
reminding me: "If you were Bulgarian I never would have married you. 
This, of course, is a highly
ambiguous statement which may be interpreted in a number of ways . . .) 
you don't need to stretch
to Bulgarian, although, of course, the interesting Q is where that came 
from in your memory :)


--- serious programmers; tune out NOW! 

Frankly your formal grammar is about 100 better than mine as I have 
never attended any Bulgarian lessons,
having "breathed in the language" along with the jolly old Eastern 
European pollution: which, as the nurses
said when I was lying around in my own sweat in a heart attack ward 
about 3 years ago was just as well,
because my crappy grammar kept them laughing so much through their night 
shifts that they were very nice indeed to me while I was lying there 
"intubated" after the merry op. for thrombosis. The question, which my 
stupid GP (who was quite unable to see the heart attack coming) didn't 
ask, even though she was insulting my grammar every time I went to her 
for my 6 monthly "oil-and-filter" until I asked her if she could say 
"Hello" in any other language than Bulgarian (which made her shut up for 
good as she is probably more monoglot than anyone else on the planet), 
is, was the heart attack brought on by the eastern-European pollution or 
my worries about not being up to par with Bulgarian grammar.


Tell you what, though; I couldn't have managed to have written all the 
nonsense in the preceding paragraph without the "assistance" of half a 
bottle of "Starosel" white, a jolly efefctive Bulgarian
'fermented beverage' (my wife, with whom I share all thing (except my 
obsession with Livecode)

drank the other half; but, being Bulgarian stayed stone cold sober).

 OK: serious programmers: time to refocus -

Notwithstanding the above, the problems with the "slash-zero" seems to 
be on several levels; or,
as someone wrote on the Computer teachers' forum to which I belong: how 
on earth does one describe

abstraction layers to 12 year old children: a tough call indeed!

Richmond.

On 2/24/17 6:36 pm, David V Glasgow via use-livecode wrote:

I think you are correct, Richmond.

Blagodarya vi mnogo (transliteration from vague memory, so apologies if 
mangled).

Best wishes,

David Glasgow


On 22 Feb 2017, at 2:04 pm, Richmond Mathewson via use-livecode 
 wrote:

Frankly I would just take a look at the Unicode convention's guff:

U+2205 is a sort of "O" with a slanted line through it:

http://www.fileformat.info/info/unicode/char/2205/index.htm

http://www.unicode.org/charts/PDF/U2200.pdf

If you stare at this PDF long enough you might get a free trip without having 
to reach for the LSD!

This is NOT really the problem. What is the problem is whether the stuff "under the 
hood" in your operating system recognises U+2205 as the null set character or not.

I would suggest the "quickest route to heaven" is to ask Microsoft and Apple 
directly.

This would seem to suggest that Windows has not jettisoned all its pre-Unicode 
bumf: 
http://superuser.com/questions/61742/how-to-insert-a-null-character-ascii-00-in-notepad

While ASCII 00 may result in a null set character being inserted in some 
Windowsy code, it may not
be displayed as the "happy" slashed zero.

Richmond.




On 2/22/17 3:15 pm, David V Glasgow via use-livecode wrote:

Hello, folks.

I already posted this, but no response.  I have a bit more informations and new 
areas of confusion, so I thought I would try again.

I have a group displaying a number of single character fields which can be clicked 
on to populate other fields.  Essentially a pick list.  One of the options is the 
null set character ( the O with a line through it, U+2205).  I have tried to find a 
cross platform font that displays it on Mac & Win.  I got some apparently duff 
info that Trebuchet would do the trick,  It is OK on Mac, but appears as the 
mystery character box on Win standalone.

So I did some more digging, and it is listed among the characters displayed by 
unicode Arial MS.  So I set the fonts accordingly and again it works fine on 
Mac, but when I test a build on Windows, I get the mystery box.  This really 
surprised me.  I did wonder whether I might get the NUL symbol appearing as 
letters top left to bottom right (U+2400), but the no such character surprised 
me.

I have never attempted any unicode jiggery pokery - is that what I need to do, 
and if so, any guidance?

Best wishes,

David Glasgow
___
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, 

Re: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Enhancement Request 19323 submitted. 

As to your post, yes the selectedText 'of the field' will work. But a menu 
command like "Copy" would not know which field was selected. I suppose I could 
loop through all the fields and get the one which was not empty. I'll play with 
that a bit. 

Bob S


> On Feb 24, 2017, at 09:36 , Mike Bonner via use-livecode 
>  wrote:
> 
> One last thing. On windows, with traversalon and locktext to true, text is
> selectable, but as expected there is no insertion point.  The only way I
> can make a selection with traversalon = false is to double click a word.
> 
> This is the opposite of just setting the locktext to true, one can drag and
> select, but multi clicks don't select. getting the selectedtext of field
> "whatever" does indeed work. (and you could turn off the focusborder too)
> 
> My guess is that despite the hilite that appears when traversal is off, the
> text isn't actually selected.  To test this, I had a button set the
> selection, made sure that traversal was off, then put the selectedtext of
> the field, and it worked as expected.
> 
> So, I'd call it a bug. Either a) one shouldn't be able to faux select in
> that mode, or b) it should be an actual real selection which it obviously
> is not.


___
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: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
*sigh*  my mistake again.  Even when selecting a word with script it
doesn't work. (I still had locktext on, combined with traversal being off,
and THAT worked.  As soon as I turned the locktext back off it failed to
work)

Shutting up now, till I get some sleep. :D

On Fri, Feb 24, 2017 at 10:36 AM, Mike Bonner  wrote:

> One last thing. On windows, with traversalon and locktext to true, text is
> selectable, but as expected there is no insertion point.  The only way I
> can make a selection with traversalon = false is to double click a word.
>
> This is the opposite of just setting the locktext to true, one can drag
> and select, but multi clicks don't select. getting the selectedtext of
> field "whatever" does indeed work. (and you could turn off the focusborder
> too)
>
> My guess is that despite the hilite that appears when traversal is off,
> the text isn't actually selected.  To test this, I had a button set the
> selection, made sure that traversal was off, then put the selectedtext of
> the field, and it worked as expected.
>
> So, I'd call it a bug. Either a) one shouldn't be able to faux select in
> that mode, or b) it should be an actual real selection which it obviously
> is not.
>
> On Fri, Feb 24, 2017 at 10:26 AM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> I'll submit one.
>>
>> Bob S
>>
>>
>> > On Feb 24, 2017, at 09:21 , Mike Bonner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > Nevermind, it doesn't work, and I think it should.  Enhancement request?
>> > Bug?
>> >
>> > On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner 
>> wrote:
>> >
>> >> of field "fieldname" is an optional argument youcan use.
>> >>
>> >> get the selectedtext of field "myfield"
>> >>
>> >> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >>
>> >>> Hi all.
>> >>>
>> >>> The Short Version:
>> >>>
>> >>> Is there a way to get the hilited text for a control without focus?
>> >>>
>> >>>
>>
>>
>> ___
>> 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: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
One last thing. On windows, with traversalon and locktext to true, text is
selectable, but as expected there is no insertion point.  The only way I
can make a selection with traversalon = false is to double click a word.

This is the opposite of just setting the locktext to true, one can drag and
select, but multi clicks don't select. getting the selectedtext of field
"whatever" does indeed work. (and you could turn off the focusborder too)

My guess is that despite the hilite that appears when traversal is off, the
text isn't actually selected.  To test this, I had a button set the
selection, made sure that traversal was off, then put the selectedtext of
the field, and it worked as expected.

So, I'd call it a bug. Either a) one shouldn't be able to faux select in
that mode, or b) it should be an actual real selection which it obviously
is not.

On Fri, Feb 24, 2017 at 10:26 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I'll submit one.
>
> Bob S
>
>
> > On Feb 24, 2017, at 09:21 , Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Nevermind, it doesn't work, and I think it should.  Enhancement request?
> > Bug?
> >
> > On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner 
> wrote:
> >
> >> of field "fieldname" is an optional argument youcan use.
> >>
> >> get the selectedtext of field "myfield"
> >>
> >> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> Hi all.
> >>>
> >>> The Short Version:
> >>>
> >>> Is there a way to get the hilited text for a control without focus?
> >>>
> >>>
>
>
> ___
> 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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Peter TB Brett via use-livecode



On 24/02/2017 17:18, Lagi Pittas via use-livecode wrote:

Why does it need to be a part of the language and not a widget or a library
stack which we can all fiddle with for our projects , which would make it
more difficult for the bad boys to decrypt?


Cryptographic hash implementations have a lot of fairly strict 
requirements that make them extremely difficult to implement in a 
language like LiveCode.  For example, they have to run in _exactly_ the 
same amount of time for the same number of bytes of input, no matter 
what those bytes are.


It would be good to have an external that provides a nice variety of 
cryptographic hashes, though.


Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Richard Gaskin via use-livecode

panagiotis merakos wrote:

> http://quality.livecode.com/show_bug.cgi?id=19248

Unfortunate to see complication after complication pile up from the 
IDE's insistence that stacks with the same name should not be in memory 
at the same time.


As we've discussed earlier, the engine does not appear to have such a 
limitation for most operations.


The real issue at the root of all this is the subset of actions 
performed on stacks with the same name affecting the wrong stack to due 
an easily-fixable limitation in how topstack is derived:


http://quality.livecode.com/show_bug.cgi?id=18793

If the more complete algo employed in the FixedTopStack function 
provided in comment #1 there were implemented in the engine's stack 
topstack referencing, so many workflow limitations unique to LiveCode 
would go away


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
I'll submit one. 

Bob S


> On Feb 24, 2017, at 09:21 , Mike Bonner via use-livecode 
>  wrote:
> 
> Nevermind, it doesn't work, and I think it should.  Enhancement request?
> Bug?
> 
> On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner  wrote:
> 
>> of field "fieldname" is an optional argument youcan use.
>> 
>> get the selectedtext of field "myfield"
>> 
>> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi all.
>>> 
>>> The Short Version:
>>> 
>>> Is there a way to get the hilited text for a control without focus?
>>> 
>>> 


___
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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Bob Sneidar via use-livecode
Trevor, I've said it before and I'll say it again. You are da bomb! :-)

Bob S


> On Feb 24, 2017, at 09:18 , Trevor DeVore via use-livecode 
>  wrote:
> 
> On Fri, Feb 24, 2017 at 11:00 AM, panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> If you want, you can apply those changes locally:
>> 
>> https://github.com/livecode/livecode/pull/5180/files
>> 
>> and see if the problem is fixed.
>> 
> 
> I have a stack that will install the standalone builder fix (plus one other
> one I’ve reported) when you open it. I have it as a plugin and open it when
> I want to build a standalone.
> 
> https://www.dropbox.com/s/pficdwx3gm6z76c/InstallRevSaveAsStandaloneScriptUpdate.livecode?dl=0
> 
> -- 
> Trevor DeVore
> Outcome & ScreenSteps
> www.outcomeapp.io - www.screensteps.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: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
Nevermind, it doesn't work, and I think it should.  Enhancement request?
Bug?

On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner  wrote:

> of field "fieldname" is an optional argument youcan use.
>
> get the selectedtext of field "myfield"
>
> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi all.
>>
>> The Short Version:
>>
>> Is there a way to get the hilited text for a control without focus?
>>
>>
>> The Long Version:
>>
>> I use a method for forms (by which I mean LC cards with fields and
>> buttons on them) where I set the traversalOn to false on all the fields
>> when I am simply viewing the data, so that the user will not be led to
>> believe they are making actual edits to the database simply because they
>> changed the value of a field.
>>
>> I have new/edit buttons that then set the traversalOn accordingly. But
>> when not editing (view mode no traversalOn) users can still hilited text in
>> a field. Of course, the field does not receive focus (no focus border) but
>> it is clear that a selection has been made.
>>
>> My question is, HOW DO I GET THAT SELECTION? I want the user to be able
>> to copy text in view mode, but unless the control has traversalOn set to
>> true, AND the control has focus, none of the text selection commands seem
>> to work. Not only that, none of the field handlers work. OpenField,
>> selectionChanged, nothing.
>>
>> It would be better i suppose if the end user was unable to even select
>> text in this mode (I can accomplish that with lockText) that for the text
>> to be hilited, but nothing can be done with it. I can work around this I am
>> sure, but it will require a lot of factoring.
>>
>> My question is, is there a way to get that visible selection? The engine
>> is obviously hiliting it.
>>
>> Bob S
>>
>>
>>
>> ___
>> 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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Lagi Pittas via use-livecode
Why does it need to be a part of the language and not a widget or a library
stack which we can all fiddle with for our projects , which would make it
more difficult for the bad boys to decrypt?


Lagi

On 24 February 2017 at 17:15, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Its good to hear its being looked at by the core team. I trust the most
> obvious correct decision will be made eventually.
>
> On Fri, Feb 24, 2017 at 11:28 AM, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > As much as I enjoy chatting with other users, a while back I had hoped to
> > make this more actionable by submitting an enhancement request for
> sha256:
> >
> > http://quality.livecode.com/show_bug.cgi?id=14223
> >
> > The challenge with satisfying that request is two fold:
> >
> > - sha2 is not a single algo, but a family of algos, and requires new
> > syntax forms that have to be thought out in addition to the more complex
> > engineering work to support that new set of language design patterns.
> >
> > - This chart shows that sha2 already has minor weaknesses, which will
> > likely become more significant over time, suggesting we might already
> start
> > looking at extending the afore-mentioned framework even further to
> include
> > sha3 (and I suppose even be prepared for the inevitable sha4).
> > http://valerieaurora.org/hash.html
> >
> > All that said, in light of the visibility of the issue after the recent
> > Google research, I discussed this with a member of the core dev team
> > yesterday, who will be evaluating the merit of this more comprehensive
> > framework vs perhaps a simpler implementation of merely the most
> > commonly-use sha2 flavor for now.
> >
> > After that analysis is done I trust we'll get an update on that soon.
> >
> > For now, just rest assured that they read the same security bulletins we
> > do (Peter tends to read more than me, so I always pick up a trick or two
> > talking with him about security), and are actively exploring options for
> us.
> >
> > --
> >  Richard Gaskin
> >  Fourth World Systems
> >  Software Design and Development for Desktop, Mobile, and 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
> >
>
>
>
> --
> *Tom Glod*
>
> CEO @ *MakeShyft R.D.A* - www.makeshyft.com
>
>
>
> Developer of *U.M.P* - www.IamUMP.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
>
___
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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Trevor DeVore via use-livecode
On Fri, Feb 24, 2017 at 11:00 AM, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If you want, you can apply those changes locally:
>
> https://github.com/livecode/livecode/pull/5180/files
>
> and see if the problem is fixed.
>

I have a stack that will install the standalone builder fix (plus one other
one I’ve reported) when you open it. I have it as a plugin and open it when
I want to build a standalone.

https://www.dropbox.com/s/pficdwx3gm6z76c/InstallRevSaveAsStandaloneScriptUpdate.livecode?dl=0

-- 
Trevor DeVore
Outcome & ScreenSteps
www.outcomeapp.io - www.screensteps.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: The selectedText for controls without focus

2017-02-24 Thread Mike Bonner via use-livecode
of field "fieldname" is an optional argument youcan use.

get the selectedtext of field "myfield"

On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all.
>
> The Short Version:
>
> Is there a way to get the hilited text for a control without focus?
>
>
> The Long Version:
>
> I use a method for forms (by which I mean LC cards with fields and buttons
> on them) where I set the traversalOn to false on all the fields when I am
> simply viewing the data, so that the user will not be led to believe they
> are making actual edits to the database simply because they changed the
> value of a field.
>
> I have new/edit buttons that then set the traversalOn accordingly. But
> when not editing (view mode no traversalOn) users can still hilited text in
> a field. Of course, the field does not receive focus (no focus border) but
> it is clear that a selection has been made.
>
> My question is, HOW DO I GET THAT SELECTION? I want the user to be able to
> copy text in view mode, but unless the control has traversalOn set to true,
> AND the control has focus, none of the text selection commands seem to
> work. Not only that, none of the field handlers work. OpenField,
> selectionChanged, nothing.
>
> It would be better i suppose if the end user was unable to even select
> text in this mode (I can accomplish that with lockText) that for the text
> to be hilited, but nothing can be done with it. I can work around this I am
> sure, but it will require a lot of factoring.
>
> My question is, is there a way to get that visible selection? The engine
> is obviously hiliting it.
>
> Bob S
>
>
>
> ___
> 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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Tom Glod via use-livecode
Its good to hear its being looked at by the core team. I trust the most
obvious correct decision will be made eventually.

On Fri, Feb 24, 2017 at 11:28 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> As much as I enjoy chatting with other users, a while back I had hoped to
> make this more actionable by submitting an enhancement request for sha256:
>
> http://quality.livecode.com/show_bug.cgi?id=14223
>
> The challenge with satisfying that request is two fold:
>
> - sha2 is not a single algo, but a family of algos, and requires new
> syntax forms that have to be thought out in addition to the more complex
> engineering work to support that new set of language design patterns.
>
> - This chart shows that sha2 already has minor weaknesses, which will
> likely become more significant over time, suggesting we might already start
> looking at extending the afore-mentioned framework even further to include
> sha3 (and I suppose even be prepared for the inevitable sha4).
> http://valerieaurora.org/hash.html
>
> All that said, in light of the visibility of the issue after the recent
> Google research, I discussed this with a member of the core dev team
> yesterday, who will be evaluating the merit of this more comprehensive
> framework vs perhaps a simpler implementation of merely the most
> commonly-use sha2 flavor for now.
>
> After that analysis is done I trust we'll get an update on that soon.
>
> For now, just rest assured that they read the same security bulletins we
> do (Peter tends to read more than me, so I always pick up a trick or two
> talking with him about security), and are actively exploring options for us.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for Desktop, Mobile, and 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
>



-- 
*Tom Glod*

CEO @ *MakeShyft R.D.A* - www.makeshyft.com



Developer of *U.M.P* - www.IamUMP.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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread panagiotis merakos via use-livecode
If you want, you can apply those changes locally:

https://github.com/livecode/livecode/pull/5180/files

and see if the problem is fixed.

1. Type in the msg box "edit the script of stack revsaveasstandalone"
2. Make those changes
3. Make sure you click on the "Apply" button
4. Try to create a standalone for more than one platforms

PS: The changes will not be saved once you quit LiveCode, unless you change
the permissions in the LiveCode .app bundle

On Fri, Feb 24, 2017 at 4:54 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> That would be it, although I do not use any behaviors, except for data
> grids.
>
> Bob S
>
>
> > On Feb 24, 2017, at 08:13 , panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Bob you are probably affected by this bug:
> >
> > http://quality.livecode.com/show_bug.cgi?id=19248
> >
> > This will be fixed in 8.1.4 RC-1 (thanks to Trevor who identified the
> cause
> > and submitted a pull request)
> >
> > Best,
> > Panos
>
>
> ___
> 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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread panagiotis merakos via use-livecode
Bob you are probably affected by this bug:

http://quality.livecode.com/show_bug.cgi?id=19248

This will be fixed in 8.1.4 RC-1 (thanks to Trevor who identified the cause
and submitted a pull request)

Best,
Panos
--

On Fri, Feb 24, 2017 at 3:41 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> That is interesting because I am still struggling with a bug
> http://quality.livecode.com/show_bug.cgi?id=19322 where compiling to more
> than one OS from a splash stack and with stack files seems to "corrupt" (I
> use the term loosely) the mainstack where the libraries have been added to
> the list of stackfiles. What it does is it changes the path of the stack
> files to the path of the COPIED stack files in the first (or previous)
> build.
>
> I say this post is interesting because this began with 8.1.x. Prior to
> that I could do multiple builds with no problems. Something regressed
> methinks in the 8.1 forward. The workaround is simple: Only build for one
> platform at a time.
>
> Bob S
>
>
> > On Feb 23, 2017, at 17:45 , Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > v8.1 and v9 share the same format.
> >
> > But even when there is a format change, the team's done a good job of
> providing save-as going back at least a decade's worth of older formats.
> >
> > --
> > Richard Gaskin
>
>
> ___
> 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: Null symbol cross platform

2017-02-24 Thread Bob Sneidar via use-livecode
Interesting, although the Apple checkmark (option-v) returns empty.  I 
really like that checkmark! 

Bob S


> On Feb 24, 2017, at 08:47 , David V Glasgow via use-livecode 
>  wrote:
> 
> Thanks for that reminder.  I had forgotten about  mactoISO().  Field 
> population isn’t from a custom property, but I have had oddities in another 
> project which are probably exactly that.  At least I can fix that!
> 
> Cheers,
> 
> David G
> 
> 
>> On 23 Feb 2017, at 12:31 am, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> If you always develop on a Mac, use macToISO() on the character when the 
>> platform is win32. LC usually does the conversion by itself, but if you are 
>> populating the list from a custom property, the script has to do it.

___
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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Bob Sneidar via use-livecode
That would be it, although I do not use any behaviors, except for data grids. 

Bob S


> On Feb 24, 2017, at 08:13 , panagiotis merakos via use-livecode 
>  wrote:
> 
> Bob you are probably affected by this bug:
> 
> http://quality.livecode.com/show_bug.cgi?id=19248
> 
> This will be fixed in 8.1.4 RC-1 (thanks to Trevor who identified the cause
> and submitted a pull request)
> 
> Best,
> Panos


___
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: Null symbol cross platform

2017-02-24 Thread David V Glasgow via use-livecode
Thanks for that reminder.  I had forgotten about  mactoISO().  Field population 
isn’t from a custom property, but I have had oddities in another project which 
are probably exactly that.  At least I can fix that!

Cheers,

David G


> On 23 Feb 2017, at 12:31 am, J. Landman Gay via use-livecode 
>  wrote:
> 
> If you always develop on a Mac, use macToISO() on the character when the 
> platform is win32. LC usually does the conversion by itself, but if you are 
> populating the list from a custom property, the script has to do it.

___
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

The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Hi all. 

The Short Version:

Is there a way to get the hilited text for a control without focus?


The Long Version:

I use a method for forms (by which I mean LC cards with fields and buttons on 
them) where I set the traversalOn to false on all the fields when I am simply 
viewing the data, so that the user will not be led to believe they are making 
actual edits to the database simply because they changed the value of a field. 

I have new/edit buttons that then set the traversalOn accordingly. But when not 
editing (view mode no traversalOn) users can still hilited text in a field. Of 
course, the field does not receive focus (no focus border) but it is clear that 
a selection has been made. 

My question is, HOW DO I GET THAT SELECTION? I want the user to be able to copy 
text in view mode, but unless the control has traversalOn set to true, AND the 
control has focus, none of the text selection commands seem to work. Not only 
that, none of the field handlers work. OpenField, selectionChanged, nothing. 

It would be better i suppose if the end user was unable to even select text in 
this mode (I can accomplish that with lockText) that for the text to be 
hilited, but nothing can be done with it. I can work around this I am sure, but 
it will require a lot of factoring. 

My question is, is there a way to get that visible selection? The engine is 
obviously hiliting it. 

Bob S



___
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: Null symbol cross platform

2017-02-24 Thread David V Glasgow via use-livecode
I think you are correct, Richmond.

Blagodarya vi mnogo (transliteration from vague memory, so apologies if 
mangled).

Best wishes,

David Glasgow

> On 22 Feb 2017, at 2:04 pm, Richmond Mathewson via use-livecode 
>  wrote:
> 
> Frankly I would just take a look at the Unicode convention's guff:
> 
> U+2205 is a sort of "O" with a slanted line through it:
> 
> http://www.fileformat.info/info/unicode/char/2205/index.htm
> 
> http://www.unicode.org/charts/PDF/U2200.pdf
> 
> If you stare at this PDF long enough you might get a free trip without having 
> to reach for the LSD!
> 
> This is NOT really the problem. What is the problem is whether the stuff 
> "under the hood" in your operating system recognises U+2205 as the null set 
> character or not.
> 
> I would suggest the "quickest route to heaven" is to ask Microsoft and Apple 
> directly.
> 
> This would seem to suggest that Windows has not jettisoned all its 
> pre-Unicode bumf: 
> http://superuser.com/questions/61742/how-to-insert-a-null-character-ascii-00-in-notepad
> 
> While ASCII 00 may result in a null set character being inserted in some 
> Windowsy code, it may not
> be displayed as the "happy" slashed zero.
> 
> Richmond.
> 
> 
> 
> 
> On 2/22/17 3:15 pm, David V Glasgow via use-livecode wrote:
>> Hello, folks.
>> 
>> I already posted this, but no response.  I have a bit more informations and 
>> new areas of confusion, so I thought I would try again.
>> 
>> I have a group displaying a number of single character fields which can be 
>> clicked on to populate other fields.  Essentially a pick list.  One of the 
>> options is the null set character ( the O with a line through it, U+2205).  
>> I have tried to find a cross platform font that displays it on Mac & Win.  I 
>> got some apparently duff info that Trebuchet would do the trick,  It is OK 
>> on Mac, but appears as the mystery character box on Win standalone.
>> 
>> So I did some more digging, and it is listed among the characters displayed 
>> by unicode Arial MS.  So I set the fonts accordingly and again it works fine 
>> on Mac, but when I test a build on Windows, I get the mystery box.  This 
>> really surprised me.  I did wonder whether I might get the NUL symbol 
>> appearing as letters top left to bottom right (U+2400), but the no such 
>> character surprised me.
>> 
>> I have never attempted any unicode jiggery pokery - is that what I need to 
>> do, and if so, any guidance?
>> 
>> Best wishes,
>> 
>> David Glasgow
>> ___
>> 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: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-24 Thread Richard Gaskin via use-livecode

Mike Kerner wrote:

> 4) Why is having an integrated editor important, if your edits made
> via an external editor take effect immediately?  If we didn't need
> the L server hack to get live edits, we could use any editor.

What is "the L server hack", and what is the threshold of acceptable 
immediacy?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Richard Gaskin via use-livecode
As much as I enjoy chatting with other users, a while back I had hoped 
to make this more actionable by submitting an enhancement request for 
sha256:


http://quality.livecode.com/show_bug.cgi?id=14223

The challenge with satisfying that request is two fold:

- sha2 is not a single algo, but a family of algos, and requires new 
syntax forms that have to be thought out in addition to the more complex 
engineering work to support that new set of language design patterns.


- This chart shows that sha2 already has minor weaknesses, which will 
likely become more significant over time, suggesting we might already 
start looking at extending the afore-mentioned framework even further to 
include sha3 (and I suppose even be prepared for the inevitable sha4).

http://valerieaurora.org/hash.html

All that said, in light of the visibility of the issue after the recent 
Google research, I discussed this with a member of the core dev team 
yesterday, who will be evaluating the merit of this more comprehensive 
framework vs perhaps a simpler implementation of merely the most 
commonly-use sha2 flavor for now.


After that analysis is done I trust we'll get an update on that soon.

For now, just rest assured that they read the same security bulletins we 
do (Peter tends to read more than me, so I always pick up a trick or two 
talking with him about security), and are actively exploring options for us.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments

2017-02-24 Thread Matthias Rebbe via use-livecode
Thanks, but the script does not include that. It seems Apple Mail.app  added 
that to the script.

But my original script definitely just contains the email address.


> Am 24.02.2017 um 17:05 schrieb Bob Sneidar via use-livecode 
> >:
> 
> Exclude the mailto: in each email address. 
> 
> Bob S
> 
> 
>> On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode 
>> > wrote:
>> 
>> Hi,
>> did someone already tested the new mime library, especially the command 
>> mimeEncodeAsMIMEEmail.
>> 
>> I tried it already and i am having problems to use the command with an 
>> attachment. My problem is, the attachment is not encoded and not added to 
>> the encoded message in the IT variable.
>> 
>> This is my sample code i am using for it
>> 
>> on mouseUp
>>  answer File "file" 
>>  if it is empty then exit to top
>>  put it into tFile
>>  put URL ("Binfile:") into tData
>>  set the itemdelimiter to slash
>>  put item -1 of tFile into tFileName
>>  put tFile into tAttachment["filepath"]
>>  put "tFileName" into tAttachment["name"]
>>  put tData into tAttachment["data"]
>> 
>>  put "ema...@server.com  > >" into tTo
>>  put "ema...@server.com  > >" into tCc
>>  put "ema...@server.com  > >" into tFrom
>>  put "this is the subject" into tSubject
>>  put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 1) into 
>> tBody
>> 
>> 
>>  mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCC, tSubject, tAttachment
>> 
>>  put it
>>  answer the result
>> end mouseUp
>> 
>> Shouldn´t that work? Or is there an error in it? The Result does not show 
>> any error.
>> 
>> 
>> Regards,
>> 
>> Matthias
>> Matthias Rebbe
>> Bramkampsieke 13
>> 32312 Lübbecke
>> Tel  +49 5741 31
>>  +49 160 5504462
>> Fax: +49 5741 310002
>> eMail: matth...@m-r-d.de  
>> >
>> 
>> BR5 Konverter - BR5 -> MP3 > >
>> 
>> ___
>> 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: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments

2017-02-24 Thread Bob Sneidar via use-livecode
Outside the angle brackes is the display name of the email. Inside is the 
actual email address. Unless the mailbox really is called "mailto:email1;, the 
server will reject this as an invalid email address. In fact I do not believe 
colons are legal characters in a mailbox. 

Bob S


> On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode 
>  wrote:
> 
>   put "ema...@server.com " into tTo


___
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: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments

2017-02-24 Thread Bob Sneidar via use-livecode
Exclude the mailto: in each email address. 

Bob S


> On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode 
>  wrote:
> 
> Hi,
> did someone already tested the new mime library, especially the command 
> mimeEncodeAsMIMEEmail.
> 
> I tried it already and i am having problems to use the command with an 
> attachment. My problem is, the attachment is not encoded and not added to the 
> encoded message in the IT variable.
> 
> This is my sample code i am using for it
> 
> on mouseUp
>   answer File "file" 
>   if it is empty then exit to top
>   put it into tFile
>   put URL ("Binfile:") into tData
>   set the itemdelimiter to slash
>   put item -1 of tFile into tFileName
>   put tFile into tAttachment["filepath"]
>   put "tFileName" into tAttachment["name"]
>   put tData into tAttachment["data"]
> 
>   put "ema...@server.com " into tTo
>   put "ema...@server.com " into tCc
>   put "ema...@server.com " into tFrom
>   put "this is the subject" into tSubject
>   put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 1) into 
> tBody
> 
> 
>   mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCC, tSubject, tAttachment
> 
>   put it
>   answer the result
> end mouseUp
> 
> Shouldn´t that work? Or is there an error in it? The Result does not show any 
> error.
> 
> 
> Regards,
> 
> Matthias
> Matthias Rebbe
> Bramkampsieke 13
> 32312 Lübbecke
> Tel   +49 5741 31
>   +49 160 5504462
> Fax: +49 5741 310002
> eMail: matth...@m-r-d.de 
> 
> BR5 Konverter - BR5 -> MP3 
> 
> ___
> 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: Call a function on another card

2017-02-24 Thread Bob Sneidar via use-livecode
Yes, but Peter has a single behavior for all his cards, but unique script local 
variables for each card. He wants those script local variables to be visible to 
his behavior. 

In a related note, I want to say again that properties can act as scoped 
variables using the method I described. So properties of a stack or a card or 
of anything can have the same names, like tableName for instance for each card 
displaying data from different SQL tables for instance. A behavior script for 
all the cards can call a function in the actual script of each card and 
depending on the card you are on will retrieve the properties specific to that 
card. 

A poor man's variable scoping as I have called it before. 

Bob S


> On Feb 23, 2017, at 17:42 , Richard Gaskin via use-livecode 
>  wrote:
> 
> Bob Sneidar wrote:
> 
> > I did a quick little test. The card's script local variables are not
> > accessible from the behavior script.
> 
> True, but you may not need to:  each object subscribed to a behavior script 
> maintains its own set of script-local variables.
> 
> -- 
> Richard Gaskin


___
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


LC9 DP5 - mimeEncodeAsMIMEEmail and attachments

2017-02-24 Thread Matthias Rebbe via use-livecode
Hi,
did someone already tested the new mime library, especially the command 
mimeEncodeAsMIMEEmail.

I tried it already and i am having problems to use the command with an 
attachment. My problem is, the attachment is not encoded and not added to the 
encoded message in the IT variable.

This is my sample code i am using for it

on mouseUp
   answer File "file" 
   if it is empty then exit to top
   put it into tFile
   put URL ("Binfile:") into tData
   set the itemdelimiter to slash
   put item -1 of tFile into tFileName
   put tFile into tAttachment["filepath"]
   put "tFileName" into tAttachment["name"]
   put tData into tAttachment["data"]
   
   put "ema...@server.com " into tTo
   put "ema...@server.com " into tCc
   put "ema...@server.com " into tFrom
   put "this is the subject" into tSubject
   put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 1) into tBody
   
   
   mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCC, tSubject, tAttachment
   
   put it
   answer the result
end mouseUp

Shouldn´t that work? Or is there an error in it? The Result does not show any 
error.


Regards,

Matthias
Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de 

BR5 Konverter - BR5 -> MP3 

___
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: back to slow compile with 8.1.3?

2017-02-24 Thread Bob Sneidar via use-livecode
I did notice that somehow the compile was managing to open a modal stack which 
was a substack of the mainstack, and until I shift-ctrl-cmd-right clicked the 
window to get the contextual menu and set the mode of the stack to TopLevel, 
the compiler halted in it's tracks. Might you be experiencing something of the 
sort? 

Theoretically, messages should *NOT* be getting triggered when building a 
standalone! That is the only way that substack of mine could be opening. 

Bob S


> On Feb 23, 2017, at 16:39 , Dr. Hawkins via use-livecode 
>  wrote:
> 
> I mentioned a bit ago that with the RC sequences of 8.1.3, I had to go to
> 7.1 to combine my stacks, but then they compiled quickly with 8.1.3.
> 
> Now, I'm at 8 minutes and counting with the released 8.1.3 . . .
> -- 
> Dr. Richard E. Hawkins, Esq.


___
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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Bob Sneidar via use-livecode
That is interesting because I am still struggling with a bug 
http://quality.livecode.com/show_bug.cgi?id=19322 where compiling to more than 
one OS from a splash stack and with stack files seems to "corrupt" (I use the 
term loosely) the mainstack where the libraries have been added to the list of 
stackfiles. What it does is it changes the path of the stack files to the path 
of the COPIED stack files in the first (or previous) build. 

I say this post is interesting because this began with 8.1.x. Prior to that I 
could do multiple builds with no problems. Something regressed methinks in the 
8.1 forward. The workaround is simple: Only build for one platform at a time. 

Bob S


> On Feb 23, 2017, at 17:45 , Richard Gaskin via use-livecode 
>  wrote:
> 
> v8.1 and v9 share the same format.
> 
> But even when there is a format change, the team's done a good job of 
> providing save-as going back at least a decade's worth of older formats.
> 
> -- 
> Richard Gaskin


___
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: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-24 Thread Mike Kerner via use-livecode
Obviously I can't speak for LC, but since the source is already there and
available, I can't imagine that it would go away, but it is definitely
behind most of the run-of-the-mill text editors.
___
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: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-24 Thread Roger Eller via use-livecode
And if for #5, if I just want to keep using the LC built-in editor because
I am comfortable using it, then I would hope it still exists.  I guess like
metacard, it would branch into it's own open-source thing, maintained by
those who want it.


On Fri, Feb 24, 2017 at 9:07 AM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Other reasons to think about an external editor:
> 1) Code folding
> 2) Visual markers for structures (vertical lines that connect the beginning
> and end of a control structure, making it easy to see)
> 3) Larger community, therefore more people to work on it, make suggestions,
> etc.
> 3a) Maybe, eventually, the development team doesn't have to worry about the
> SE, any more, at all.
> 4) Why is having an integrated editor important, if your edits made via an
> external editor take effect immediately?  If we didn't need the L server
> hack to get live edits, we could use any editor.
> 5) Choose the editor you want, for whatever reason you want it.
> 6) And if you're using Git or some other code repo tool,
> ...a) Less need to carefully mark changes in your code so you can track
> them because the tool does that for you.  You can see all the changes that
> have happened in a particular handler, and you can see all the changes that
> go with a particular version across handlers.
> ...b) Undo, and undo from several months ago
> ___
> 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: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-24 Thread Mike Kerner via use-livecode
Other reasons to think about an external editor:
1) Code folding
2) Visual markers for structures (vertical lines that connect the beginning
and end of a control structure, making it easy to see)
3) Larger community, therefore more people to work on it, make suggestions,
etc.
3a) Maybe, eventually, the development team doesn't have to worry about the
SE, any more, at all.
4) Why is having an integrated editor important, if your edits made via an
external editor take effect immediately?  If we didn't need the L server
hack to get live edits, we could use any editor.
5) Choose the editor you want, for whatever reason you want it.
6) And if you're using Git or some other code repo tool,
...a) Less need to carefully mark changes in your code so you can track
them because the tool does that for you.  You can see all the changes that
have happened in a particular handler, and you can see all the changes that
go with a particular version across handlers.
...b) Undo, and undo from several months ago
___
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: Remote debugger

2017-02-24 Thread Mike Kerner via use-livecode
Some more instruction on this might be helpful - if there is a socket
connection, what port has to be clear?  Is the development machine supposed
to be listening for the mobile?  I have additional security on our network,
and on each endpoint, so that may need to be dealt with.

On Fri, Feb 24, 2017 at 3:44 AM, Ali Lloyd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The dialog asking if you want to start a remote debug session should occur
> as soon as you launch the app, so if that isn't happening then something is
> not working with the socket, I would imagine. Perhaps try with the phone
> actually connected by USB to the Mac and see if that works?
>
> On Fri, Feb 24, 2017 at 6:54 AM J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Debug mode is on (it always is, but I just checked again.) I set
> > gRevDevelopment to true, but no change. It acts like the phone script
> > stops at the breakpoint but the IDE doesn't know anything happened.
> >
> >
> > On 2/24/17 12:39 AM, panagiotis merakos via use-livecode wrote:
> > > Hmm I guess you have checked Script Debug mode, is that correct? Maybe
> it
> > > is worth typing in the msg box "put true into grevdevelopment" and test
> > > again. This will catch any silent failure in the IDE, if any.
> > >
> > > On 24 Feb 2017 06:31, "J. Landman Gay via use-livecode" <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > Hi Panos,
> > >
> > > I did it both ways, with the remote debugger included and without, but
> > got
> > > the same results. It stops the app at the point where it should
> activate
> > > and nothing else happens.
> > >
> > >
> > >
> > > On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote:
> > >
> > >> Hi Jacque,
> > >>
> > >> Make sure you add the remote debugger inclusion in Inclusions pane.
> This
> > >> should not be necessary in the IDE, but currently you maybe have to do
> > it.
> > >>
> > >> Best,
> > >> Panos
> > >>
> > >> On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" <
> > >> use-livecode@lists.runrev.com> wrote:
> > >>
> > >> I jumped all over this right away. I set a breakpoint in a test stack,
> > >>> tethered my phone to the Mac, and clicked the Test button.
> > >>>
> > >>> My button script:
> > >>>
> > >>> on mouseUp
> > >>>   get "Testing"
> > >>>   put it into fld 1 -- breakpoint set here
> > >>> end mouseUP
> > >>>
> > >>> The app launched on my phone and the script stopped executing at the
> > right
> > >>> place (nothing went into fld 1) but I wasn't asked if I wanted to
> > start a
> > >>> debugging session and the IDE didn't go into debug mode.
> > >>>
> > >>> Is there something else I need to do to in the stack to activate
> remote
> > >>> debugging?
> > >>>
> > >>> Samsung S4, Android 5.0.1
> > >>>
> > >>> --
> > >>> Jacqueline Landman Gay | jac...@hyperactivesw.com
> > >>> HyperActive Software   | http://www.hyperactivesw.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
> > >>>
> > >>> ___
> > >> 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
> > >>
> > >>
> > >
> >
> >
> > --
> > Jacqueline Landman Gay | jac...@hyperactivesw.com
> > HyperActive Software   | http://www.hyperactivesw.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
> >
> ___
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Lagi Pittas via use-livecode
Hi

I didn't say they shouldn't do it I said I won't lose any sleep over it.
I don't think it needs to be built in either - just a library will do and
everybody can tweak it a little bit so that NOBODY knows which one it is -
that'll piss TPTB off.

Lagi

On 24 February 2017 at 13:58, Dan Brown via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It may cost $110,000 today but the computational cost of executing this
> exploit will decrease year on year until it is trivial to perform. I would
> think it much better to address this issue immediately so that applications
> being made now are future proofed.
>
> There is also the PR element to consider - Does Livecode really want to be
> advertising a demonstrably insecure hash algorithm as a feature...
>
> On Fri, Feb 24, 2017 at 10:44 AM, Lagi Pittas via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I think everybody is overplaying this.
> >
> > It will only matter if the amount of money or other  advantages is worth
> at
> > least $110,000.
> >
> >
> > The algorithm executed in Amazons cloud at the cheapest rate would cost
> > that much in processing to get 1 key.
> >
> > The only people that will waste YOUR money to do this are governments and
> > they have the equipment.
> > If you really have something they want so much they will come through
> your
> > door.
> >
> > Depending on what you are doing why not do 2 SHA1 or even an blowfish
> > encrypt first.
> >
> > Better yet - you could write your own in a few  hours based on other code
> >  -  it doesnt have to be particular clever since they don't know the
> > algorithm how will they break it unless it's just a simple transposition?
> >
> > Read between the lines Google doesn't use it so obviously people will
> start
> > using Google's which will with 100% certainty will  have a backdoor in it
> > looking as to how they removed 140,000 indexed pages of
> > www.naturalnews.com
> > after the owner didn't give in to blackmail - "Don't be evil" my arse.
> >
> > http://www.newstarget.com/2017-02-23-breaking-mike-
> > adams-and-alex-jones-taken-down-by-google-cia-prior-to-
> > big-event-trump-needs-to-beware.html
> >
> >  A bit of history of backdoors and homegrown encryption algorithm
> > http://www.whatreallyhappened.com/WRHARTICLES/NSAchallenge.
> > php#axzz4Zb6ctE4v
> >
> > I'm certainly not going to lose sleep over this.
> >
> >
> > Lagi
> >
> > On 24 February 2017 at 01:25, Tom Glod via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hi everyone,
> > >
> > > Read this article today. I use SHA1 in my software, so
> > >
> > > https://www.recode.net/2017/2/23/14715570/google-
> > > researchers-crack-internet-security-tool-sha1-encryption
> > >
> > > What do you all think? Should I bother reporting this? or is it fair to
> > say
> > > they know about it?  What are the chances that there will be extra
> effort
> > > placed on adding another sha digest function? sha256?
> > >
> > > THanks
> > >
> > > Tom
> > > ___
> > > 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
>
___
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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Mike Kerner via use-livecode
I like the way these tracks are going.  This is a very sensible and logical
way to progress.  The cool new dangerous toys go into the newest version,
and the sensible stuff goes into both.

On Fri, Feb 24, 2017 at 5:07 AM, Ali Lloyd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Richmond,
> In general that is the case, yes. When for example 8.1.3 GM has been
> released, we merge the branches all the way up so that the develop branch
> (from which DPs are released) contains everything from that branch. In some
> cases there may be things that are in earlier releases but not in a DP, but
> very rarely, and I think it would only happen with regression fixes that
> are specific to that earlier release.
>
> On Fri, Feb 24, 2017 at 6:26 AM Richmond Mathewson via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> I wish I could understand the way different "levels" come out
> concurrently. Are we to assume
> that all the new things in 8.1.3 are also bound into 9.0.0 DP-5?
>
> Richmond.
>
> On 2/23/17 10:41 pm, panagiotis merakos via use-livecode wrote:
> > Dear list members,
> >
> > We are pleased to announce the release of LiveCode 9.0.0 DP-5.
> >
> >
> > Developer Preview Release
> > =
> > Warning: this is not a stable release.  Please ensure that you back up
> your
> > stacks before testing them.
> >
> > Getting the Release
> > ===
> > You can get the release at https://downloads.livecode.com/livecode/ or
> via
> > the automatic updater.
> >
> > Release Contents
> > 
> > LiveCode 9.0.0 DP-5 contains exciting new features, bug fixes, stability
> > and security improvements.
> >
> > In total, 21 bugs have been fixed since the last development preview
> > release (LiveCode 9.0.0 DP-4).
> >
> > Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which
> is
> > not released yet), are included in LiveCode 9.0.0 DP-5.
> >
> > LiveCode 9.0.0 DP-5 contains, among others, the following exciting new
> > features:
> >
> > - Implementation of NFC tag reading on Android (Community, Indy and
> > Business):
> > New functions/commands/messages to read data from NFC tags.
> >
> > - Implementation of a script library for common MIME functions
> (Community,
> > Indy and Business):
> > A new Multipurpose Internet Mail Extensions (MIME) library has been
> > implemented to provide support for common data formats such as multipart
> > email message bodies.
> >
> > - Implementation of a remote debugger (Business only):
> > Run a standalone for the local platform from the IDE and debug it whilst
> it
> > runs locally
> > Run a standalone for iOS or Android from the IDE and debug it whilst it
> > runs on a directly connected Android or iOS device
> >
> > - Implementation of a script profiler (Business only):
> > Use the new script profiler to identify the most costly lines of code in
> a
> > stack.
> >
> >
> > The full release notes are available from:
> >
> > http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-
> 9_0_0_dp_5.pdf
> >
> > Feedback
> > 
> > Please report any bugs encountered on our BugZilla at
> > http://quality.livecode.com/
> >
> > We have a forum available for discussing LiveCode Builder at
> > http://forums.livecode.com/viewforum.php?f=93
> >
> > Have fun!
> >
> > The LiveCode Team
> > --
> > ___
> > 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Dan Brown via use-livecode
It may cost $110,000 today but the computational cost of executing this
exploit will decrease year on year until it is trivial to perform. I would
think it much better to address this issue immediately so that applications
being made now are future proofed.

There is also the PR element to consider - Does Livecode really want to be
advertising a demonstrably insecure hash algorithm as a feature...

On Fri, Feb 24, 2017 at 10:44 AM, Lagi Pittas via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I think everybody is overplaying this.
>
> It will only matter if the amount of money or other  advantages is worth at
> least $110,000.
>
>
> The algorithm executed in Amazons cloud at the cheapest rate would cost
> that much in processing to get 1 key.
>
> The only people that will waste YOUR money to do this are governments and
> they have the equipment.
> If you really have something they want so much they will come through your
> door.
>
> Depending on what you are doing why not do 2 SHA1 or even an blowfish
> encrypt first.
>
> Better yet - you could write your own in a few  hours based on other code
>  -  it doesnt have to be particular clever since they don't know the
> algorithm how will they break it unless it's just a simple transposition?
>
> Read between the lines Google doesn't use it so obviously people will start
> using Google's which will with 100% certainty will  have a backdoor in it
> looking as to how they removed 140,000 indexed pages of
> www.naturalnews.com
> after the owner didn't give in to blackmail - "Don't be evil" my arse.
>
> http://www.newstarget.com/2017-02-23-breaking-mike-
> adams-and-alex-jones-taken-down-by-google-cia-prior-to-
> big-event-trump-needs-to-beware.html
>
>  A bit of history of backdoors and homegrown encryption algorithm
> http://www.whatreallyhappened.com/WRHARTICLES/NSAchallenge.
> php#axzz4Zb6ctE4v
>
> I'm certainly not going to lose sleep over this.
>
>
> Lagi
>
> On 24 February 2017 at 01:25, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi everyone,
> >
> > Read this article today. I use SHA1 in my software, so
> >
> > https://www.recode.net/2017/2/23/14715570/google-
> > researchers-crack-internet-security-tool-sha1-encryption
> >
> > What do you all think? Should I bother reporting this? or is it fair to
> say
> > they know about it?  What are the chances that there will be extra effort
> > placed on adding another sha digest function? sha256?
> >
> > THanks
> >
> > Tom
> > ___
> > 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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Tom Glod via use-livecode
thanks for sharing your thoughts on this Lagi, you make some good points.

On Fri, Feb 24, 2017 at 5:44 AM, Lagi Pittas via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I think everybody is overplaying this.
>
> It will only matter if the amount of money or other  advantages is worth at
> least $110,000.
>
>
> The algorithm executed in Amazons cloud at the cheapest rate would cost
> that much in processing to get 1 key.
>
> The only people that will waste YOUR money to do this are governments and
> they have the equipment.
> If you really have something they want so much they will come through your
> door.
>
> Depending on what you are doing why not do 2 SHA1 or even an blowfish
> encrypt first.
>
> Better yet - you could write your own in a few  hours based on other code
>  -  it doesnt have to be particular clever since they don't know the
> algorithm how will they break it unless it's just a simple transposition?
>
> Read between the lines Google doesn't use it so obviously people will start
> using Google's which will with 100% certainty will  have a backdoor in it
> looking as to how they removed 140,000 indexed pages of
> www.naturalnews.com
> after the owner didn't give in to blackmail - "Don't be evil" my arse.
>
> http://www.newstarget.com/2017-02-23-breaking-mike-
> adams-and-alex-jones-taken-down-by-google-cia-prior-to-
> big-event-trump-needs-to-beware.html
>
>  A bit of history of backdoors and homegrown encryption algorithm
> http://www.whatreallyhappened.com/WRHARTICLES/NSAchallenge.
> php#axzz4Zb6ctE4v
>
> I'm certainly not going to lose sleep over this.
>
>
> Lagi
>
> On 24 February 2017 at 01:25, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi everyone,
> >
> > Read this article today. I use SHA1 in my software, so
> >
> > https://www.recode.net/2017/2/23/14715570/google-
> > researchers-crack-internet-security-tool-sha1-encryption
> >
> > What do you all think? Should I bother reporting this? or is it fair to
> say
> > they know about it?  What are the chances that there will be extra effort
> > placed on adding another sha digest function? sha256?
> >
> > THanks
> >
> > Tom
> > ___
> > 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
>



-- 
*Tom Glod*

CEO @ *MakeShyft R.D.A* - www.makeshyft.com



Developer of *U.M.P* - www.IamUMP.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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Ali Lloyd via use-livecode
Richmond,
In general that is the case, yes. When for example 8.1.3 GM has been
released, we merge the branches all the way up so that the develop branch
(from which DPs are released) contains everything from that branch. In some
cases there may be things that are in earlier releases but not in a DP, but
very rarely, and I think it would only happen with regression fixes that
are specific to that earlier release.

On Fri, Feb 24, 2017 at 6:26 AM Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

I wish I could understand the way different "levels" come out
concurrently. Are we to assume
that all the new things in 8.1.3 are also bound into 9.0.0 DP-5?

Richmond.

On 2/23/17 10:41 pm, panagiotis merakos via use-livecode wrote:
> Dear list members,
>
> We are pleased to announce the release of LiveCode 9.0.0 DP-5.
>
>
> Developer Preview Release
> =
> Warning: this is not a stable release.  Please ensure that you back up
your
> stacks before testing them.
>
> Getting the Release
> ===
> You can get the release at https://downloads.livecode.com/livecode/ or via
> the automatic updater.
>
> Release Contents
> 
> LiveCode 9.0.0 DP-5 contains exciting new features, bug fixes, stability
> and security improvements.
>
> In total, 21 bugs have been fixed since the last development preview
> release (LiveCode 9.0.0 DP-4).
>
> Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which is
> not released yet), are included in LiveCode 9.0.0 DP-5.
>
> LiveCode 9.0.0 DP-5 contains, among others, the following exciting new
> features:
>
> - Implementation of NFC tag reading on Android (Community, Indy and
> Business):
> New functions/commands/messages to read data from NFC tags.
>
> - Implementation of a script library for common MIME functions (Community,
> Indy and Business):
> A new Multipurpose Internet Mail Extensions (MIME) library has been
> implemented to provide support for common data formats such as multipart
> email message bodies.
>
> - Implementation of a remote debugger (Business only):
> Run a standalone for the local platform from the IDE and debug it whilst
it
> runs locally
> Run a standalone for iOS or Android from the IDE and debug it whilst it
> runs on a directly connected Android or iOS device
>
> - Implementation of a script profiler (Business only):
> Use the new script profiler to identify the most costly lines of code in a
> stack.
>
>
> The full release notes are available from:
>
> http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_5.pdf
>
> Feedback
> 
> Please report any bugs encountered on our BugZilla at
> http://quality.livecode.com/
>
> We have a forum available for discussing LiveCode Builder at
> http://forums.livecode.com/viewforum.php?f=93
>
> Have fun!
>
> The LiveCode Team
> --
> ___
> 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: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Lagi Pittas via use-livecode
I think everybody is overplaying this.

It will only matter if the amount of money or other  advantages is worth at
least $110,000.


The algorithm executed in Amazons cloud at the cheapest rate would cost
that much in processing to get 1 key.

The only people that will waste YOUR money to do this are governments and
they have the equipment.
If you really have something they want so much they will come through your
door.

Depending on what you are doing why not do 2 SHA1 or even an blowfish
encrypt first.

Better yet - you could write your own in a few  hours based on other code
 -  it doesnt have to be particular clever since they don't know the
algorithm how will they break it unless it's just a simple transposition?

Read between the lines Google doesn't use it so obviously people will start
using Google's which will with 100% certainty will  have a backdoor in it
looking as to how they removed 140,000 indexed pages of www.naturalnews.com
after the owner didn't give in to blackmail - "Don't be evil" my arse.

http://www.newstarget.com/2017-02-23-breaking-mike-adams-and-alex-jones-taken-down-by-google-cia-prior-to-big-event-trump-needs-to-beware.html

 A bit of history of backdoors and homegrown encryption algorithm
http://www.whatreallyhappened.com/WRHARTICLES/NSAchallenge.php#axzz4Zb6ctE4v

I'm certainly not going to lose sleep over this.


Lagi

On 24 February 2017 at 01:25, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi everyone,
>
> Read this article today. I use SHA1 in my software, so
>
> https://www.recode.net/2017/2/23/14715570/google-
> researchers-crack-internet-security-tool-sha1-encryption
>
> What do you all think? Should I bother reporting this? or is it fair to say
> they know about it?  What are the chances that there will be extra effort
> placed on adding another sha digest function? sha256?
>
> THanks
>
> Tom
> ___
> 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: Remote debugger

2017-02-24 Thread Ali Lloyd via use-livecode
The dialog asking if you want to start a remote debug session should occur
as soon as you launch the app, so if that isn't happening then something is
not working with the socket, I would imagine. Perhaps try with the phone
actually connected by USB to the Mac and see if that works?

On Fri, Feb 24, 2017 at 6:54 AM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Debug mode is on (it always is, but I just checked again.) I set
> gRevDevelopment to true, but no change. It acts like the phone script
> stops at the breakpoint but the IDE doesn't know anything happened.
>
>
> On 2/24/17 12:39 AM, panagiotis merakos via use-livecode wrote:
> > Hmm I guess you have checked Script Debug mode, is that correct? Maybe it
> > is worth typing in the msg box "put true into grevdevelopment" and test
> > again. This will catch any silent failure in the IDE, if any.
> >
> > On 24 Feb 2017 06:31, "J. Landman Gay via use-livecode" <
> > use-livecode@lists.runrev.com> wrote:
> >
> > Hi Panos,
> >
> > I did it both ways, with the remote debugger included and without, but
> got
> > the same results. It stops the app at the point where it should activate
> > and nothing else happens.
> >
> >
> >
> > On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote:
> >
> >> Hi Jacque,
> >>
> >> Make sure you add the remote debugger inclusion in Inclusions pane. This
> >> should not be necessary in the IDE, but currently you maybe have to do
> it.
> >>
> >> Best,
> >> Panos
> >>
> >> On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> I jumped all over this right away. I set a breakpoint in a test stack,
> >>> tethered my phone to the Mac, and clicked the Test button.
> >>>
> >>> My button script:
> >>>
> >>> on mouseUp
> >>>   get "Testing"
> >>>   put it into fld 1 -- breakpoint set here
> >>> end mouseUP
> >>>
> >>> The app launched on my phone and the script stopped executing at the
> right
> >>> place (nothing went into fld 1) but I wasn't asked if I wanted to
> start a
> >>> debugging session and the IDE didn't go into debug mode.
> >>>
> >>> Is there something else I need to do to in the stack to activate remote
> >>> debugging?
> >>>
> >>> Samsung S4, Android 5.0.1
> >>>
> >>> --
> >>> Jacqueline Landman Gay | jac...@hyperactivesw.com
> >>> HyperActive Software   | http://www.hyperactivesw.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
> >>>
> >>> ___
> >> 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
> >>
> >>
> >
>
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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
>
___
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: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread AndyP via use-livecode
Apart from all the other changes, Its great to see Android getting some
updates and attention.

A big well done to the team!



-
Andy Piddock 


My software never has bugs. It just develops random features. 

TinyIDE a Free alternative minimalist IDE Plugin for LiveCode
TinyIDE 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-Release-9-0-0-DP-5-tp4712530p4712571.html
Sent from the Revolution - User mailing list archive at Nabble.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: 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 set a breakpoint in a test stack, 
> tethered my phone to the Mac, and clicked the Test button.
> 
> My button script:
> 
> on mouseUp
>  get "Testing"
>  put it into fld 1 -- breakpoint set here
> end mouseUP
> 
> The app launched on my phone and the script stopped executing at the right 
> place (nothing went into fld 1) but I wasn't asked if I wanted to start a 
> debugging session and the IDE didn't go into debug mode.
> 
> Is there something else I need to do to in the stack to activate remote 
> debugging?
> 
> Samsung S4, Android 5.0.1
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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


___
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