Re: Signing macOS application

2018-12-29 Thread Trevor DeVore via use-livecode
On Sat, Dec 29, 2018 at 2:20 PM Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> I have these IDs:
> Developer ID Installer
> Developer ID Application
>
> DropDMG shows in its preferences the 'Developer ID Application’ that is
> used to sign the installer. That should be used and not 'Developer ID
> Installer’?
>
>
> Anyone have any guidance on this?


You do need to sign your app using your “Developer ID Installer” profile.
There is a script only stack I posted a while ago on gist.github.com that
will sign an app. Here is the url:

https://gist.github.com/trevordevore/3e91724c4573690b691510d2e2dcd2a7

Just save the gist to a file with a .livecodescript extension and open it
in the IDE.

As for DropDMG it has the correct certificate selected. DMGs are not really
installers but the DMG does need to be signed to appease GateKeeper.

As Was already mentioned, the Levure packager will take care of signing
your apps for you. It will sign apps you distribute yourself, sign and
prepare an app for upload to the Mac App Store, and sign Mac App Store
development versions for testing. It is quite handy.

Of course if you are already trying to sign your app for distribution then
you aren’t at a point where you want to modify your app to use a new
framework. But something to consider for the future.

>
And this all doesn’t have anything to do with Notarization? That’s another
> step for the future?


No it does not.

 --
Trevor DeVore
ScreenSteps
___
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: Signing macOS application

2018-12-29 Thread Randy Hengst via use-livecode
Hi Peter,

I don’t develop for Macs beyond personal use… but I do develop for iOS. You 
need to use a Distribution Certificate (rather than Developer) to sell on the 
iOS App Store… could that requirement also be needed for your situation?


be well,
randy
www.classroomFocusedSoftware.com


> On Dec 29, 2018, at 2:20 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Hi,
> 
> I’m using DropDMG to sign my macOS installer. Users are having trouble 
> opening it—Gatekeeper seems to not recognize my developer ID.
> 
> It is unclear to me what is going on. Does the application need to be signed 
> before I create the installer in DropDMG? And how do I do that? I had thought 
> that DropDMG took care of everything… Michael Tsai says "The app should 
> definitely be signed before creating the .dmg.”
> 
> https://c-command.com/forums/showthread.php/4103-Signing-app-to-prevent-Gatekeeper-block
>  
> 
> 
> I have these IDs:
>   Developer ID Installer
>   Developer ID Application
> 
> DropDMG shows in its preferences the 'Developer ID Application’ that is used 
> to sign the installer. That should be used and not 'Developer ID Installer’?
> 
> 
> Anyone have any guidance on this?
> 
> 
> And this all doesn’t have anything to do with Notarization? That’s another 
> step for the future?
> 
> Thanks for any help!
> 
> Peter Bogdanoff
> ArtsInteractive
> ___
> 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: Signing macOS application

2018-12-29 Thread Knapp Martin via use-livecode
I believe that DropDMG just signs the installer and does not sign the app. You 
might take a look at AppWrapper3 or dive into Trevor’s Levure framework - it 
works with DropDMG to sign both the app and the disk image.

Marty

> On Dec 29, 2018, at 12:20 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Hi,
> 
> I’m using DropDMG to sign my macOS installer. Users are having trouble 
> opening it—Gatekeeper seems to not recognize my developer ID.
> 
> It is unclear to me what is going on. Does the application need to be signed 
> before I create the installer in DropDMG? And how do I do that? I had thought 
> that DropDMG took care of everything… Michael Tsai says "The app should 
> definitely be signed before creating the .dmg.”
> 
> https://c-command.com/forums/showthread.php/4103-Signing-app-to-prevent-Gatekeeper-block
>  
> 
> 
> I have these IDs:
>   Developer ID Installer
>   Developer ID Application
> 
> DropDMG shows in its preferences the 'Developer ID Application’ that is used 
> to sign the installer. That should be used and not 'Developer ID Installer’?
> 
> 
> Anyone have any guidance on this?
> 
> 
> And this all doesn’t have anything to do with Notarization? That’s another 
> step for the future?
> 
> Thanks for any help!
> 
> Peter Bogdanoff
> ArtsInteractive


___
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: JIGSAW PUZZLE 2d-video v_100

2018-12-29 Thread hh via use-livecode
[A] JIGSAW PUZZLE 2d-video (HTML5) is now updated to v_110

• Improved once again speed with videos a little bit.

The links are unchanged
(US) http://hh.on-rev.com/html5/jigsawPuzzle2d-video-9.0.2hhX.html
or
(EU) http://hyperhh.de/html5/jigsawPuzzle2d-video-9.0.2hhX.html


[B] JIGSAW PUZZLE 2d-video (IDE), with javascript from browser widget

You will find this faster IDE-version (using a hidden browser widget)
"jigsawPuzzle2d-videoBW" on "Sample Stacks" or
http://livecodeshare.runrev.com/stack/924/

• You can choose the server (with videos from the server) and get an
installation instruction for use with your local server (and local
videos). The page (URL) can use videos from the same server only.

WARNING: This runs with a memory leaking of up to 5 MByte per second
while a video is playing. You have to quit LiveCode after a while
for releasing the memory (closing the stack and removing it from
memory is not enough).

The increase in speed and the more smooth display is due to the
difference between LC-Emscripten (HTML5 standalone) and the LC-IDE
for drawing the backpattern of the puzzle graphics.
The speed from the hard work javaScript (your browser vs. the browser
widget) is at about the same and depends on your graphic card (GPU).

(As we say here:)
 Slide well into the new year! *** Guten Rutsch allerseits! ***
___
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

Signing macOS application

2018-12-29 Thread Peter Bogdanoff via use-livecode
Hi,

I’m using DropDMG to sign my macOS installer. Users are having trouble opening 
it—Gatekeeper seems to not recognize my developer ID.

It is unclear to me what is going on. Does the application need to be signed 
before I create the installer in DropDMG? And how do I do that? I had thought 
that DropDMG took care of everything… Michael Tsai says "The app should 
definitely be signed before creating the .dmg.”

https://c-command.com/forums/showthread.php/4103-Signing-app-to-prevent-Gatekeeper-block
 


I have these IDs:
Developer ID Installer
Developer ID Application

DropDMG shows in its preferences the 'Developer ID Application’ that is used to 
sign the installer. That should be used and not 'Developer ID Installer’?


Anyone have any guidance on this?


And this all doesn’t have anything to do with Notarization? That’s another step 
for the future?

Thanks for any help!

Peter Bogdanoff
ArtsInteractive
___
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: LiveCode on TIOBE, 2018

2018-12-29 Thread Richard Gaskin via use-livecode

TIOBE's definitions are outlined here:
https://www.tiobe.com/tiobe-index/programming-languages-definition/

Oddly, they don't count Github repos. :/

The bad thing about not including Github is that LC has a growing 
presence there.


The good thing about not including Github is that we're seeing organic 
growth evidenced across more general search engines, arguably an even 
better signal for adoption in an audience likely to include many 
newcomers to programming.


--
 Richard Gaskin
 Fourth World Systems


J. Landman Gay wrote:

How do they gather their data?

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 29, 2018 12:23:15 PM Richard Gaskin via use-livecode 
 wrote:



If you saw my Community Roundup talk in the November installment of
LiveCode Global, you know I track the TIOBE Index as a shorthand
indicator of LiveCode's relative marketshare/mindshare.

The TIOBE Index is a list of the Top 100 programming languages in the
world, ranked by popularity among developers.

TIOBE is an imperfect indicator of the relative size of a programming
language's audience, but warts and all it's probably the best we have.
You can view the current index here:
https://www.tiobe.com/tiobe-index/

When we consider how many hundreds of languages there are, with new ones
sprouting up every year, it's quite remarkable that a scripting language
from a small company in Edinburgh that's been open source only five
years is on the list at all.  But it is.

And while it's currently in the lower 50 languages, also there with
LiveCode are some very well known offerings made by much larger orgs,
including ActionScript, APL, CoffeeScript, Common Lisp, Forth, OpenCL,
PostScript, Smalltalk, Stata, Tcl, TypeScript, VBScript, and Wolfram.

Also worth noting is what isn't on the list at all, including
AppleScript, Qt, and Xojo.

Historically, LC might appear on the TIOBE Index once every few months,
but this year I've tracked it each month and the results are quite
outstanding - it's now December so I can list the full year:

Jan: not listed
Feb: LISTED
Mar: LISTED
Apr: LISTED
May: not listed
Jun: not listed
Jul: not listed
Aug: LISTED
Sep: LISTED
Oct: LISTED
Nov: LISTED
Dec: LISTED

AFAIK no previous year has seen LiveCode present on the TIOBE Index
anywhere near as often, and currently we're in a consistent 5-month run.

Kudos to the team for delivering a great tool satisfying so many.  And
kudos to all of you using LiveCode, as that use contributes to the
recognition of LiveCode's popularity.

I look forward to seeing how LC does on TIOBE through 2019.

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


Re: Musings on Architect, MVC, Nested Behaviors

2018-12-29 Thread Richard Gaskin via use-livecode

Mark Wieder wrote:
> On 12/29/18 10:27 AM, Alex Tweedly via use-livecode wrote:
>
>> Could breakpoints also go in an LSON file ? Is there a way that a
>> script can set breakpoints into a script? (i.e. not insert eh command
>> into the script, but set a dynamic breakpoint like are stored in a
>> binary-stack) ?
>
> There is indeed. 'The breakpoints' is the list of the currently active
> breakpoints, and you can manipulate that list in memory as needed.
> It's a cr-separated list of long id,line number.

^ this

Everything in xTalks are objects with properties, and very few of those 
properties are read-only.


A good reminder that LC is one of only two IDEs I've ever seen in the 
xTalk world (the other being Gain Momentum) in which everything we 
interact with is made in the scripting language itself.


So when you see a Script Editor that can set breakpoints, you can trust 
that's using a property that can be set from script.


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

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


Re: Musings on Architect, MVC, Nested Behaviors

2018-12-29 Thread Mark Wieder via use-livecode

On 12/29/18 10:27 AM, Alex Tweedly via use-livecode wrote:

Could breakpoints also go in an LSON file ? Is there a way that a script 
can set breakpoints into a script? (i.e. not insert eh command into the 
script, but set a dynamic breakpoint like are stored in a binary-stack) ?


There is indeed. 'The breakpoints' is the list of the currently active 
breakpoints, and you can manipulate that list in memory as needed. It's 
a cr-separated list of long id,line number.


--
 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: MouseDown on Enter

2018-12-29 Thread Richmond via use-livecode

Ah, Yes . . .

Thanks so much.

Richmond.

On 29.12.18 18:52, J. Landman Gay via use-livecode wrote:

MouseDown is a message, not a function. You need:

 if the mouse is down then
   set the...etc.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 29, 2018 9:07:37 AM Richmond via use-livecode 
 wrote:



This does *NOT* work:

on mouseEnter
   if mouseDown then
  set the backgroundColor of me to red
   else
  set the backgroundColor of me to green
   end if
end mouseEnter

on mouseLeave
   set the backgroundColor of me to white
end mouseLeave

which is a "right pox"

Richmond.

On 29.12.18 16:45, Richmond wrote:


This may rank as one of the goofiest questions I've ever asked: Oh,
well, here goes:

Imagine a mosaic of faux buttons if you will.

Each of these buttons will play a tone if I drag my mouse into it:

on mouseEnter

  play audioClip "x.aiff"

end mouseEnter

All well and good . . .

BUT, Richmond wants more . . .

I want to get different results from a simple mouseEnter

and a mouseEnter while the left-click button is down.

Richmond.


___
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: LiveCode on TIOBE, 2018

2018-12-29 Thread J. Landman Gay via use-livecode

How do they gather their data?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 29, 2018 12:23:15 PM Richard Gaskin via use-livecode 
 wrote:



If you saw my Community Roundup talk in the November installment of
LiveCode Global, you know I track the TIOBE Index as a shorthand
indicator of LiveCode's relative marketshare/mindshare.

The TIOBE Index is a list of the Top 100 programming languages in the
world, ranked by popularity among developers.

TIOBE is an imperfect indicator of the relative size of a programming
language's audience, but warts and all it's probably the best we have.
You can view the current index here:
https://www.tiobe.com/tiobe-index/

When we consider how many hundreds of languages there are, with new ones
sprouting up every year, it's quite remarkable that a scripting language
from a small company in Edinburgh that's been open source only five
years is on the list at all.  But it is.

And while it's currently in the lower 50 languages, also there with
LiveCode are some very well known offerings made by much larger orgs,
including ActionScript, APL, CoffeeScript, Common Lisp, Forth, OpenCL,
PostScript, Smalltalk, Stata, Tcl, TypeScript, VBScript, and Wolfram.

Also worth noting is what isn't on the list at all, including
AppleScript, Qt, and Xojo.

Historically, LC might appear on the TIOBE Index once every few months,
but this year I've tracked it each month and the results are quite
outstanding - it's now December so I can list the full year:

Jan: not listed
Feb: LISTED
Mar: LISTED
Apr: LISTED
May: not listed
Jun: not listed
Jul: not listed
Aug: LISTED
Sep: LISTED
Oct: LISTED
Nov: LISTED
Dec: LISTED

AFAIK no previous year has seen LiveCode present on the TIOBE Index
anywhere near as often, and currently we're in a consistent 5-month run.

Kudos to the team for delivering a great tool satisfying so many.  And
kudos to all of you using LiveCode, as that use contributes to the
recognition of LiveCode's popularity.

I look forward to seeing how LC does on TIOBE through 2019.

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

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

http://lists.runrev.com/mailman/listinfo/use-livecode





___
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: Musings on Architect, MVC, Nested Behaviors

2018-12-29 Thread Alex Tweedly via use-livecode


In another email on the list, Richard said something like :
> relatively easy to use a parallel LSON file and load via a library

and

On 29/12/2018 18:03, Richard Gaskin via use-livecode wrote:
Breakpoint support may well be a uniquely valuable addition worth 
considering.  I rarely use them myself, but I can appreciate their 
utility for many.


But if we go down that road we should probably ponder whether that's 
where the road ends, and if not how we want to travel the rest of that 
road.


Could breakpoints also go in an LSON file ? Is there a way that a script 
can set breakpoints into a script? (i.e. not insert eh command into the 
script, but set a dynamic breakpoint like are stored in a binary-stack) ?


Alex.

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

Re: use-livecode Digest, Vol 183, Issue 35

2018-12-29 Thread J. Landman Gay via use-livecode
The LC office is closed until after New Years so that would be why you 
didn't get a response yet.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 29, 2018 11:04:02 AM Todd Fabacher via use-livecode 
 wrote:


So unfortunately since we can't find a workaround and nobody from LC
responded, we have to assume it is not possible.





___
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


LiveCode on TIOBE, 2018

2018-12-29 Thread Richard Gaskin via use-livecode
If you saw my Community Roundup talk in the November installment of 
LiveCode Global, you know I track the TIOBE Index as a shorthand 
indicator of LiveCode's relative marketshare/mindshare.


The TIOBE Index is a list of the Top 100 programming languages in the 
world, ranked by popularity among developers.


TIOBE is an imperfect indicator of the relative size of a programming 
language's audience, but warts and all it's probably the best we have. 
You can view the current index here:

https://www.tiobe.com/tiobe-index/

When we consider how many hundreds of languages there are, with new ones 
sprouting up every year, it's quite remarkable that a scripting language 
from a small company in Edinburgh that's been open source only five 
years is on the list at all.  But it is.


And while it's currently in the lower 50 languages, also there with 
LiveCode are some very well known offerings made by much larger orgs, 
including ActionScript, APL, CoffeeScript, Common Lisp, Forth, OpenCL, 
PostScript, Smalltalk, Stata, Tcl, TypeScript, VBScript, and Wolfram.


Also worth noting is what isn't on the list at all, including 
AppleScript, Qt, and Xojo.


Historically, LC might appear on the TIOBE Index once every few months, 
but this year I've tracked it each month and the results are quite 
outstanding - it's now December so I can list the full year:


Jan: not listed
Feb: LISTED
Mar: LISTED
Apr: LISTED
May: not listed
Jun: not listed
Jul: not listed
Aug: LISTED
Sep: LISTED
Oct: LISTED
Nov: LISTED
Dec: LISTED

AFAIK no previous year has seen LiveCode present on the TIOBE Index 
anywhere near as often, and currently we're in a consistent 5-month run.


Kudos to the team for delivering a great tool satisfying so many.  And 
kudos to all of you using LiveCode, as that use contributes to the 
recognition of LiveCode's popularity.


I look forward to seeing how LC does on TIOBE through 2019.

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

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


Re: Musings on Architect, MVC, Nested Behaviors

2018-12-29 Thread Richard Gaskin via use-livecode

Quentin Long wrote:

>> From: Richard Gaskin 
>> By what means would be indicate which properties we want saved there
>> and which ones we don't care about?
>
> To a first approximation, I'd say that any property which has been
> changed from the engine's built-in default value should be saved. One
> would expect that the engine's defaults can be easily accessed for
> such a purpose?

If completeness were the goal that would of course be a good way to 
handle it.


But is complete representation of all properties the goal with 
script-only stacks?


The binary stack file format we've been using for decades does a 
complete job of retaining all persistent properties as-is, along with 
anything else a stack file can contain.


Script-only stacks were added to the mix of options to allow us to 
factor code from UI in ways that work well with the many existing 
versioning systems.


Expanding on that to transform them into a complete representation of a 
stack file may not be difficult, but is a different mandate.


And if we err on the side of completeness we may find unwanted side 
effects for that intended purpose.


For example, what if you slide a script-only stack out of the way to 
look at something, and then save it.  If the format includes the rect 
the file is marked as changed, yet that change is not something the 
developer using a script-only stack would care about.


So ideally there would be a way to flag rect as a property we don't want 
to track in the file.


Or conversely, there could be a mechanism for flagging only those 
properties we do want, and ignore others.


This seemingly-simple idea turns out to have some sticky implications, 
which is why, after many years of exploring various serialization 
formats for stack files, the team opted for script-only stacks as a 
simple solution for the most common use case.


Breakpoint support may well be a uniquely valuable addition worth 
considering.  I rarely use them myself, but I can appreciate their 
utility for many.


But if we go down that road we should probably ponder whether that's 
where the road ends, and if not how we want to travel the rest of that road.


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

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


Re: Musings on Architect, MVC, Nested Behaviors

2018-12-29 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:

>  Richard wrote:
>> Not at all my intention to hijack your thread by exploring that
>> option further to see if we can arrive at an actionable plan.  On the
>> contrary, it is in direct support of pursuing solutions specific to
>> your needs.
>
> I don't mind hijacked my thread.
>
> It just that I see it as important innovation.
>
> To make sure such a good idea that it was "hidden"

"Showing" would be the submission of an enhancement request.  At this 
early stage "hidden" is simply not in that appropriate venue for 
implementation recommendation, a discussion here among users of a 
proposed feature to make sure whatever we recommend truly satisfies our 
needs before we take the time of the core dev team to explore it further.


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

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

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-29 Thread Richard Gaskin via use-livecode

Bob Sneidar wrote:

>> On Dec 28, 2018, at 09:49 , Richard Gaskin wrote:
>>
>> In the beginning, script-only stacks contained only a script.
>>
>> Later, accommodation was made to allow the behavior property there,
>> using the "with behavior" clause.
>>
>> Now we're considering adding breakpoints.
>>
>> Are we sure that's where it ends?
>>
>> It might be. But are we sure?
>>
>> Using a paired LSON file for other properties is reasonable enough.
>> Should that be used for breakpoints as well?
>>
>> Where should the dividing line fall with what's included in what used
>> to be script-only stacks?
>
> I think most would agree with you on this Richard. It's like stack
> files are evolving into flat files. Soon we won't need to write code,
> we will just think it. It's kind of like a Star Trek episode, only for
> software developers. :-)

To be clear, I don't actually have a position on this to agree or 
disagree with.  My questions are in earnest.


There is obvious merit in script-only stacks. And the team has seen 
merit in adding support for behavior declarations in them.


Whether we leave it at that or add support for other properties is an 
open question.


I see merit both ways, esp. given the relative ease and flexibility of 
using a paired LSON file for properties.  Indeed, that could be done 
with a library, requiring no engineering from the core dev team.  Direct 
engine support is always easier for us, of course, but it wouldn't be 
the hardest thing we've ever done to put props in a separate file and 
have a handler that opens the script-only stacks and sets its properties 
accordingly.


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

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


Re: use-livecode Digest, Vol 183, Issue 35

2018-12-29 Thread Todd Fabacher via use-livecode
Thanks for the email Tom. Unfortunately NOT. We got the WebSocket working
in the browser with Javascript, but the app dies after 20 mins  in iOS [<10
mins on Android] of play because it is calling a LiveCode function from
Javascript. Or workaround was to create an Angular site [
https://play.triviamatic.com/] and just have the users play in a web
browser, but this is NOT a solution. we have also loaded the browser in our
app for now, BUT I AM NOT HAPPY ABOUT THE WORKAROUND.

So unfortunately since we can't find a workaround and nobody from LC
responded, we have to assume it is not possible. So we have started to
switch to Flutter and have to postpone our launch by four weeks. I told my
team that if the users can't play the game effectively, then what is the
use of having an app, so they suggested switching.

BTW...Check out the website and let me know what you think:
https://triviamatic.com Because it reads from the games from the database,
we ended up coding everything in HTML and EJS on a Node server. We are in
the process of making our own trivia store:
https://triviamatic.com/trivia-games.

--Todd

On Sat, Dec 29, 2018 at 6:00 AM 
wrote:

> Send use-livecode mailing list submissions to
> use-livecode@lists.runrev.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.runrev.com/mailman/listinfo/use-livecode
> or, via email, send a message with subject or body 'help' to
> use-livecode-requ...@lists.runrev.com
>
> You can reach the person managing the list at
> use-livecode-ow...@lists.runrev.com
>
>
>
> --
>
> Message: 4
> Date: Fri, 28 Dec 2018 18:25:31 -0500
> From: Tom Glod 
> To: How to use LiveCode 
> Subject: Re: Websockets Problem on LiveCode
> Message-ID:
> <
> capzqjlkobpakkfiiah5esyqmj6lpav7ukukurqiha1mjrq3...@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> >
> > Hey Todd, did you get this figured out?
> >
> >
>
>
___
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 on Enter

2018-12-29 Thread J. Landman Gay via use-livecode

MouseDown is a message, not a function. You need:

 if the mouse is down then
   set the...etc.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 29, 2018 9:07:37 AM Richmond via use-livecode 
 wrote:



This does *NOT* work:

on mouseEnter
   if mouseDown then
  set the backgroundColor of me to red
   else
  set the backgroundColor of me to green
   end if
end mouseEnter

on mouseLeave
   set the backgroundColor of me to white
end mouseLeave

which is a "right pox"

Richmond.

On 29.12.18 16:45, Richmond wrote:


This may rank as one of the goofiest questions I've ever asked: Oh,
well, here goes:

Imagine a mosaic of faux buttons if you will.

Each of these buttons will play a tone if I drag my mouse into it:

on mouseEnter

  play audioClip "x.aiff"

end mouseEnter

All well and good . . .

BUT, Richmond wants more . . .

I want to get different results from a simple mouseEnter

and a mouseEnter while the left-click button is down.

Richmond.


___
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: MouseDown on Enter

2018-12-29 Thread Alex Tweedly via use-livecode
Not sure that's going to work ... if the mouse button is being held 
down, you won't get a "mouseenter" event. Dict says:



If the mouse button is down when the mouse pointer enters the control,

the *mouseEnter* message is not sent unless the mouse button is released

while the pointer is still in the control.

So you will probably need to use  mousedown and mousestilldown to track 
that case.


Alex.



On 29/12/2018 14:45, Richmond via use-livecode wrote:
This may rank as one of the goofiest questions I've ever asked: Oh, 
well, here goes:


Imagine a mosaic of faux buttons if you will.

Each of these buttons will play a tone if I drag my mouse into it:

on mouseEnter

  play audioClip "x.aiff"

end mouseEnter

All well and good . . .

BUT, Richmond wants more . . .

I want to get different results from a simple mouseEnter

and a mouseEnter while the left-click button is down.

Richmond.

___
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: MouseDown on Enter

2018-12-29 Thread Tom Glod via use-livecode
oopsi mean if mouse key is down :)

On Sat, Dec 29, 2018 at 10:18 AM Tom Glod  wrote:

> I believe the Keysdown() function picks up the mousebutton as well. that
> will give you the info whether enter key is down.
>
> On Sat, Dec 29, 2018 at 10:06 AM Richmond via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> This does *NOT* work:
>>
>> on mouseEnter
>> if mouseDown then
>>set the backgroundColor of me to red
>> else
>>set the backgroundColor of me to green
>> end if
>> end mouseEnter
>>
>> on mouseLeave
>> set the backgroundColor of me to white
>> end mouseLeave
>>
>> which is a "right pox"
>>
>> Richmond.
>>
>> On 29.12.18 16:45, Richmond wrote:
>> >
>> > This may rank as one of the goofiest questions I've ever asked: Oh,
>> > well, here goes:
>> >
>> > Imagine a mosaic of faux buttons if you will.
>> >
>> > Each of these buttons will play a tone if I drag my mouse into it:
>> >
>> > on mouseEnter
>> >
>> >   play audioClip "x.aiff"
>> >
>> > end mouseEnter
>> >
>> > All well and good . . .
>> >
>> > BUT, Richmond wants more . . .
>> >
>> > I want to get different results from a simple mouseEnter
>> >
>> > and a mouseEnter while the left-click button is down.
>> >
>> > Richmond.
>> >
>> ___
>> 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: MouseDown on Enter

2018-12-29 Thread Tom Glod via use-livecode
I believe the Keysdown() function picks up the mousebutton as well. that
will give you the info whether enter key is down.

On Sat, Dec 29, 2018 at 10:06 AM Richmond via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This does *NOT* work:
>
> on mouseEnter
> if mouseDown then
>set the backgroundColor of me to red
> else
>set the backgroundColor of me to green
> end if
> end mouseEnter
>
> on mouseLeave
> set the backgroundColor of me to white
> end mouseLeave
>
> which is a "right pox"
>
> Richmond.
>
> On 29.12.18 16:45, Richmond wrote:
> >
> > This may rank as one of the goofiest questions I've ever asked: Oh,
> > well, here goes:
> >
> > Imagine a mosaic of faux buttons if you will.
> >
> > Each of these buttons will play a tone if I drag my mouse into it:
> >
> > on mouseEnter
> >
> >   play audioClip "x.aiff"
> >
> > end mouseEnter
> >
> > All well and good . . .
> >
> > BUT, Richmond wants more . . .
> >
> > I want to get different results from a simple mouseEnter
> >
> > and a mouseEnter while the left-click button is down.
> >
> > Richmond.
> >
> ___
> 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: MouseDown on Enter

2018-12-29 Thread Richmond via use-livecode

This does *NOT* work:

on mouseEnter
   if mouseDown then
  set the backgroundColor of me to red
   else
  set the backgroundColor of me to green
   end if
end mouseEnter

on mouseLeave
   set the backgroundColor of me to white
end mouseLeave

which is a "right pox"

Richmond.

On 29.12.18 16:45, Richmond wrote:


This may rank as one of the goofiest questions I've ever asked: Oh, 
well, here goes:


Imagine a mosaic of faux buttons if you will.

Each of these buttons will play a tone if I drag my mouse into it:

on mouseEnter

  play audioClip "x.aiff"

end mouseEnter

All well and good . . .

BUT, Richmond wants more . . .

I want to get different results from a simple mouseEnter

and a mouseEnter while the left-click button is down.

Richmond.


___
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

MouseDown on Enter

2018-12-29 Thread Richmond via use-livecode
This may rank as one of the goofiest questions I've ever asked: Oh, 
well, here goes:


Imagine a mosaic of faux buttons if you will.

Each of these buttons will play a tone if I drag my mouse into it:

on mouseEnter

  play audioClip "x.aiff"

end mouseEnter

All well and good . . .

BUT, Richmond wants more . . .

I want to get different results from a simple mouseEnter

and a mouseEnter while the left-click button is down.

Richmond.

___
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: JIGSAW PUZZLE 2d-video v_100

2018-12-29 Thread hh via use-livecode
> Colin wrote:
> Frame rate is still a bit slow.

I left the whole "pieces part" (set backpattern of the pieces) in the
LiveCode/Emscripten part, which is up to 10 times slower than the IDE.
So there is no chance to improve this more.

You could see it only as a demo of "this is working".

In the IDE (with an invisible browser widget) we could have frame rates
up to 30 per second.

Given time I'll post this "IDE variant" too (you can then see the memory
leak of the browser widget).

> JIGSAW PUZZLE 2d-video is now updated to v_105
> 
> • Improved speed with videos a little bit.
> • The width-menu computes now all sizes from 20 up to
> 144 that leave either width or height (or both) of the
> image/video unchanged (no cropping).
> • A video can now be paused. Then it can be continued
> (when changing piece-size any partial solution is lost).
> 
> The links are unchanged
> (US) http://hh.on-rev.com/html5/jigsawPuzzle2d-video-9.0.2hhX.html
> or
> (EU) http://hyperhh.de/html5/jigsawPuzzle2d-video-9.0.2hhX.html

___
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: JIGSAW PUZZLE 2d-video v_100

2018-12-29 Thread Colin Holgate via use-livecode
The loading percentage is working now, and videos are playing ok in Safari 
(they didn’t before). Frame rate is still a bit slow.
___
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