Re: mouseDown and mouseUp; Being Called Outside the Group

2018-03-17 Thread Richard Gaskin via use-livecode
Sounds like it's working as advertised.  Remember, backgrounds are 
distinguished from groups by being behind the card in the message path.


Try turning off the backgroundBehavior and see if that does what you're 
looking for.


--
 Richard Gaskin
 Fourth World Systems


Sannyasin Brahmanathaswami wrote:
> right, the backgroundBehavior it set to "true"
>
> Isn't the bug?
>
> On 3/16/18, 9:28 PM, "use-livecode on behalf of Richard Gaskin wrote:
>
> Sannyasin Brahmanathaswami wrote:
> > I think this a regression in 8.1.9
> >
> > A behavior, assigned to group, has mouseDown and mouseUp
> > handlers
> >
> > The behavior is getting mouseDown and mouseUp handlers, ever
> > when called by a behavior another group that has "pass
> > mouseDown"
> >
> > The two groups not intersecting
>
> Does either group have its backgroundBehavior property set?



___
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: mouseDown and mouseUp; Being Called Outside the Group

2018-03-17 Thread Sannyasin Brahmanathaswami via use-livecode
right, the backgroundBehavior it set to "true"

Isn't the bug?

On 3/16/18, 9:28 PM, "use-livecode on behalf of Richard Gaskin via 
use-livecode"  wrote:

Sannyasin Brahmanathaswami wrote:
> I think this a regression in 8.1.9
>
> A behavior, assigned to group, has mouseDown and mouseUp handlers
>
> The behavior is getting mouseDown and mouseUp handlers, ever when
> called by a behavior another group that has "pass mouseDown"
>
> The two groups not intersecting

Does either group have its backgroundBehavior property set?

___
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: Guessing game

2018-03-17 Thread J. Landman Gay via use-livecode
Enlightenment! But not as create-ive. I was thinking more along the 
lines of:


You can now create  in  as well as in 

I don't really need documentation to do that though.


On 3/17/18 3:47 PM, Ali Lloyd via use-livecode wrote:

Oops, looks like we need to escape < and > in release notes!
https://raw.githubusercontent.com/livecode/livecode/develop/docs/notes/feature-create-in.md

On Sat, Mar 17, 2018 at 8:30 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


I was just reading the release notes for 9.0rc1 and came across this entry:

Additional forms of create command
Create in now works correctly
You can now create in as well as in

Any guesses?

--
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


Re: Guessing game

2018-03-17 Thread Ali Lloyd via use-livecode
Oops, looks like we need to escape < and > in release notes!
https://raw.githubusercontent.com/livecode/livecode/develop/docs/notes/feature-create-in.md

On Sat, Mar 17, 2018 at 8:30 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I was just reading the release notes for 9.0rc1 and came across this entry:
>
> Additional forms of create command
>Create in now works correctly
>You can now create in as well as in
>
> Any guesses?
>
> --
> 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


Guessing game

2018-03-17 Thread J. Landman Gay via use-livecode

I was just reading the release notes for 9.0rc1 and came across this entry:

Additional forms of create command
  Create in now works correctly
  You can now create in as well as in

Any guesses?

--
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: Installed 9.0 RC1 - Backdrop on by faulf

2018-03-17 Thread J. Landman Gay via use-livecode

On 3/17/18 2:07 PM, Sannyasin Brahmanathaswami via use-livecode wrote:

I read the threadson installing 9.0.RC1 and went ahead and removed old 
perferences before booting him up.

My whole monitor was gray. thinking in was a bug, rebooted Livecode. Same 
thing, hmm …stopped to think about it, when to backdrop, it was on by default.


That's the new normal. It makes me feel like I'm in a box, but I guess 
new users like it.


--
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

9.0RC1 Scrolling on Sub-Groups

2018-03-17 Thread Sannyasin Brahmanathaswami via use-livecode
Look like an exciting release.



Scrolling is everything on mobile apps. I am having to hire out develop on 
HTML5 for this one reason. Hopefully we can integrate with the browser widget. 
But I don't do HTML5 …I see those in release notes



DataGrid 2: Edit Mode and Swipe Actions

Create mobile scroller when reopening a Data Grid



Does this mean that we get performance on DataGrid 2?  On sub-group, template 
subgroup, used create a row, that, many be 100 rows long, or 31 day (a month in 
a calendar)



I stay away from such groups. I simply draw controls out on an order that 
appear as a group… but are not. But this is painful.



For some who are using DataGrid2 on mobile, perhaps  you can give us an update?



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

Installed 9.0 RC1 - Backdrop on by faulf

2018-03-17 Thread Sannyasin Brahmanathaswami via use-livecode
I read the threadson installing 9.0.RC1 and went ahead and removed old 
perferences before booting him up.

My whole monitor was gray. thinking in was a bug, rebooted Livecode. Same 
thing, hmm …stopped to think about it, when to backdrop, it was on by default.

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

Stupid Question Again - Proportional Scaling

2018-03-17 Thread Peter Reid via use-livecode
I know it's possible and I know it's simple really, but I can't remember 
it/figure it out!

I have a sub-stack that contains an image.  I want the user to be able to drag 
the corners and edges of the sub-stack window to make the window and its image 
larger or smaller, but the window and image must maintain their original aspect 
ratio – no stretching, no empty borders etc.  I've tried the following in the 
card script:

global gImageRatio

on resizeStack pNewWidth, pNewHeight, pOldWidth, pOldHeight
   propSizeImage "coinSet", gImageRatio
   pass resizeStack
end resizeStack

on propSizeImage pImageName, @pImageRatio
   put the width of this stack into propWidth
   set the width of image pImageName to propWidth 
   put propWidth div pImageRatio into propHeight
   put the width of image pImageName into tWidth
   put the height of image pImageName into tHeight
   if propHeight > tHeight then
  put tHeight into propH
  put tHeight * pImageRatio into propW
   else if propHeight < tHeight then
  put propHeight into propH
  put propH * pImageRatio into propW
   else
  put tWidth into propW
  put tHeight into propH
   end if
   set the height of image pImageName to propH 
   set the width of image pImageName to propW 
   set the height of this stack to propH 
   set the width of this stack to propW
   set the topLeft of image pImageName to 0,0
end propSizeImage

with the following initialisation in the stack script:

global gImageRatio

on preOpenStack
   put the width of image "CoinSet" / the height of image "CoinSet" into 
gImageRatio
end preOpenStack

I'm probably missing something obvious, but can anyone help please?!

Thanks

Peter
--
Peter Reid
Loughborough, UK



___
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

Solution for signing Windows .exe,.dll and so on under Mac OS X

2018-03-17 Thread Matthias Rebbe via use-livecode
Hi, 
i am not sure, if you all alread knew about it. But for me it was totally new.


Today i was able to successfully signing a Windows .exe file under Mac OS X.

See the steps below.

If the URLs are not readable, go here to download a short pdf containing the 
instructions.

https://dl.qck.nu//?dl=Singing_Windows_files_on_MacOSX.pdf 


Why are url in this list email always shown twice? Is there a trick to avoid 
that?

Any way.

Regards,

Matthias



How to signcode Windows apps under Mac OS X using osslsigncode

1. If not already installed, install Homebrew using the Terminal
ruby -e "$(curl -fsSL 
https://raw.githubusercontent.com/Homebrew/install/master/install)"

2. install osslsigncode using HomeBrew, enter the following into the Terminal
 brew install osslsigncode

After successful installation you should be able to sign your Windows .exe 
under Mac OS X

See examples below  for signing YOURAPP.exe with a p12/pfx certificate

SHA256
osslsigncode sign -pkcs12 YOURCERTIFICATEFILE.p12 -pass YOURCERTPASSWORD -h 
sha2 -t TIMESTAMPSERVERURL -in /PATH/YOURAPP.exe -out /PATH/YOURAPP_signed.exe

SHA1
osslsigncode sign -pkcs12 YOURCERTIFICATEFILE.p12 -pass YOURCERTPASSWORD -h 
sha1  -in /PATH/YOURAPP.exe -out /PATH/YOURAPP_signed.exe

Dual signing
osslsigncode sign -pkcs12 YOURCERTIFICATEFILE.p12 -pass YOURCERTPASSWORD -h 
sha1  -in /PATH/YOURAPP.exe -out /PATH/YOURAPP_signed.exe
osslsigncode sign -pkcs12 YOURCERTIFICATEFILE.p12 -pass YOURCERTPASSWORD -h 
sha2 -nest -t TIMESTAMPSERVERURL -in /PATH/YOURAPP.exe -out 
/PATH/YOURAPP_signed.exe



With my Comode certificate i am using the timestamp server url  
http://timestamp.comodoca.com/rfc3161 



___
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: mouseDown and mouseUp; Being Called Outside the Group

2018-03-17 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:
> I think this a regression in 8.1.9
>
> A behavior, assigned to group, has mouseDown and mouseUp handlers
>
> The behavior is getting mouseDown and mouseUp handlers, ever when
> called by a behavior another group that has "pass mouseDown"
>
> The two groups not intersecting

Does either group have its backgroundBehavior property set?

--
 Richard Gaskin
 Fourth World Systems

___
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