Re: Improving the LiveCode release notes

2015-12-14 Thread Richard Gaskin

Peter TB Brett wrote:

I'm currently working on the LiveCode 8 release notes (in preparation
for RC 1!)

I'd really appreciate some feedback to help me understand how we can
make the LiveCode release notes more informative and helpful.


A frequently-asked question is which version of xTools is needed for iOS 
deployment.


--
 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: Improving the LiveCode release notes

2015-12-14 Thread Monte Goulding
Hi Peter

I’m not sure if you’ve seen this report of mine or if your review of the 
release notes includes a review of server notes or is desktop only.

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


Basically I think the above could be resolved and things simplified in general 
if the installation guide is a separate file. Maybe even a separate file per 
platform.

A loong time ago I had fun with git on a rainy weekend and came up with a web 
app that was intended to be a github/bitbucket service hook. Here’s what it 
pumped out:

http://ecove.on-rev.com/mergext.com/notes.html 


Actually it’s markdown files that are pumped out and the above page is rentered 
by flatdoc http://ricostacruz.com/flatdoc/

I even registered git-v.info but I never got around to deploying it after 
realising the server resources required could blow out quite rapidly. I’ve 
still got the code though it probably needs some extra work to handle the 
multiple notes directories and multiple development branches that the repo now 
has. The basic idea was that people could see exactly which version a change 
was made in and link to the commit and bug report and also see what is upcoming 
on a release branch and on the development frontier. 

Anyway, I’m positive you know how to get the notes out of git in the same way I 
did here I just thought you might be interested to see the format and how live 
updates to the notes via a service hook could be used to let people know what’s 
on the way etc.

Cheers

Monte

> On 15 Dec 2015, at 4:46 am, Peter TB Brett  wrote:
> 
> Hi all,
> 
> I'm currently working on the LiveCode 8 release notes (in preparation for RC 
> 1!)
> 
> I'd really appreciate some feedback to help me understand how we can make the 
> LiveCode release notes more informative and helpful.
> 
> * What's good about the current LiveCode release notes?
> * How can we make them better?
> * What additional information would be helpful to include?
> * What can be removed or abbreviated to make them more concise?
> 
> For example, here are the LiveCode 8.0.0-dp-11 release notes:
> 
> http://downloads.livecode.com/livecode/8_0_0/LiveCodeNotes-8_0_0_dp_11.pdf
> 
> Please reply and let me know your thoughts -- or feel free to e-mail me 
> off-list.
> 
> Peter
> 
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode on reddit: https://reddit.com/r/livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
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: Animations on iOS

2015-12-14 Thread Brahmanathaswami
I have a "deep and abiding" interest in this, since the days I tried 
SMIL on the web. Aside: hmm I thought SMIL was alive again last year, 
but it seems dead today...  Can't even find any current discussion on 
"SKIA animation" which could be another direction...


Paul: Scott's method works well, storing frames in custom props...   
that fellow's fist needs to start bleeding though after the 5th loop. (ha)


It would be interesting if we pushed this model with

a) a lot more content
b) robust SVG (= +color, gradients etc.) for the images

and see how low we can get the byte count/length ratio for longer 
animations. Some combination of this + Malte's Animation engine could go 
a long way.


Let us know how it goes on Mobile...


 LC is so far behind in this arena... At Scott's suggestion, I tried 
the first video game I ever played in my life: Monument Valley... So 
beautifully done, though in the end I got, as usual bored to tears and 
had to force myself to finish level 10 just on principle and, as some 
anti-gamers  say, despite the award-winning graphics/puzzles... "I came 
out of the game dumber than I went in"


That said. These things made in Unity are awesome and the "holy grail" 
would be able to play unity "shorts"  inside Livecode. Their WebGL 
export (--> unity to enscriptenJS)  will not work on mobile




BR




Paul Hibbert wrote:

I think it was Scott Rossi that figured out a way to play an animation by 
storing images as text in custom properties, then load each image in turn into 
an image object.

I would imagine this may be limited to smaller less complex animations, but up 
until now I hadn’t tried it myself, so I had a go…

https://www.dropbox.com/s/ebltjtztsj1ymlc/CP%20Animation.livecode?dl=0

Haven’t tested on mobile though, my LC&  Xcode versions are out of sync again.

Paul



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

Re: LC 8 DP 11

2015-12-14 Thread [-hh]
> Ali wrote:
> There is an install log, it should be at
> /Users//AppData/Local/RunRev/Logs/LiveCodeInstallerLog.txt (off
> the top of my head - might be a slight variation on that) - tracking the
> log down for the aborted install might help us work out what is taking so
> long.

Ali,

there is one. Just attached my log from an Indy install on Win 7 in the QC. 
Will be close to Peter-B's log, I presume, 4800 lines ...

HTH, Hermann.
___
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: tracking down freeze based on timing, maybe?

2015-12-14 Thread Richard Gaskin

True, for hangs and crashes the Flight Recorder is of limited utility.

This one logs to a file, so it may be more helpful in your circumstance:


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


Matt Maier wrote:

Maybe I'm using it wrong? When the IDE freezes so does the flight recorder.
I think it's automatically scrolling to the most recent messages, so I can
see what was logged last through the locked up "haze" but I can't see
anything else or save it.

On Sun, Dec 13, 2015 at 4:14 PM, Richard Gaskin 
wrote:


This may help:
http://fourthworld.net/revnet/devolution/4W_FlightRecorder.livecode.gz




___
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


Licensing issues [was: Re: LC 8 DP 11]

2015-12-14 Thread Peter TB Brett

Hi Wilhelm,

On 13/12/2015 18:15, sa...@hrz.uni-kassel.de wrote:


Intending to test performance developments between different LC versions
(on the Windows partition of the Mac Mini) - like I reported them
several times on the Livecode lists this year - I ran into a new
problem: Versions that had been installed and working properly before
using my new Indy license now require a re-licensing process using the
respective neccessary password of the version I tried to open. This
worked for LC  6.6 - as an example - because the license password
apparently had not changed between LC 6 and 8, but I could not find an
appropriate password for LC 4.6.1, for me by far the fastest LC version
available when for instance testing image processing speed.


That sounds a bit odd!  Please contact the LiveCode support team at 
 and I'm sure they will be able to sort it out for 
you.



I find this newly installed monitoring process controlling the validity
of older, but already fully installed versions an outright unnnecessary
nuisance. Is this part of the new licensing policies that restrict the
use of  LC-Indy versions to the license span you have paid for? I have
got a commercial version extending until August 2016, which - as I
understand it - enables me to use (and produce standalones) with this
commercial version even beyond August 2016.


I'm afraid that that's not correct -- when your current commercial 
license expires in August 2016, you will not be able to use any 
commercial version of LiveCode or use them to create standalones unless 
you renew your license.



With the Indy version that I have bought as an extension package valid
from August 2016 to August 2018 this has apparently changed, and - and
this is what I consider an unnessary nuissance - is already  being
applied to my still existing and paid-for commercial versions until
August 2016. I would like to get a definite answer to these questions,
and I suggest to return to the old licensing policy - granting the right
to use and build standalones with paid-for versions forever, thereby of
course loosing the right to get upgrades after the license span has
expired.


At the moment there are no plans to return to a permanent license 
system.  The subscription system for Indy and Business licenses will be 
used for the foreseeable future.


 Peter

--
Dr Peter Brett 
LiveCode Open Source Team

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

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


[ANN] This Week in LiveCode 13

2015-12-14 Thread Peter TB Brett

Hi all,

Read about new developments in LiveCode open source and the open source 
community in today's edition of the "This Week in LiveCode" newsletter!


Read issue #13 here: https://goo.gl/u5NcBC


This is a weekly newsletter about LiveCode, focussing on what's been 
going on in and around the open source project.  New issues will be 
released weekly on Mondays.  We have a dedicated mailing list that will 
deliver each issue directly to you e-mail, so you don't miss any!


If you have anything you'd like mentioned (a project, a discussion 
somewhere, an upcoming event) then please get in touch.


 Peter

--
Dr Peter Brett 
LiveCode Open Source Team

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

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


Re: Licensing issues [was: Re: LC 8 DP 11]

2015-12-14 Thread Mark Schonewille

Peter,

You wrote:

> I'm afraid that that's not correct -- when your current commercial
> license expires in August 2016, you will not be able to use any
> commercial version of LiveCode or use them to create standalones
> unless you renew your license.

This may be correct for 6.x and later, but it is wrong for LC 5.x and 
earlier. Anyone who has a license for LC 5.x and earlier can continue to 
use that version to compile and distribute commercial apps indefinitely.


Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 12/14/2015 om 11:21 schreef Peter TB Brett:

Hi Wilhelm,

On 13/12/2015 18:15, sa...@hrz.uni-kassel.de wrote:


Intending to test performance developments between different LC versions
(on the Windows partition of the Mac Mini) - like I reported them
several times on the Livecode lists this year - I ran into a new
problem: Versions that had been installed and working properly before
using my new Indy license now require a re-licensing process using the
respective neccessary password of the version I tried to open. This
worked for LC  6.6 - as an example - because the license password
apparently had not changed between LC 6 and 8, but I could not find an
appropriate password for LC 4.6.1, for me by far the fastest LC version
available when for instance testing image processing speed.


That sounds a bit odd!  Please contact the LiveCode support team at
 and I'm sure they will be able to sort it out for
you.


I find this newly installed monitoring process controlling the validity
of older, but already fully installed versions an outright unnnecessary
nuisance. Is this part of the new licensing policies that restrict the
use of  LC-Indy versions to the license span you have paid for? I have
got a commercial version extending until August 2016, which - as I
understand it - enables me to use (and produce standalones) with this
commercial version even beyond August 2016.


I'm afraid that that's not correct -- when your current commercial
license expires in August 2016, you will not be able to use any
commercial version of LiveCode or use them to create standalones unless
you renew your license.


With the Indy version that I have bought as an extension package valid
from August 2016 to August 2018 this has apparently changed, and - and
this is what I consider an unnessary nuissance - is already  being
applied to my still existing and paid-for commercial versions until
August 2016. I would like to get a definite answer to these questions,
and I suggest to return to the old licensing policy - granting the right
to use and build standalones with paid-for versions forever, thereby of
course loosing the right to get upgrades after the license span has
expired.


At the moment there are no plans to return to a permanent license
system.  The subscription system for Indy and Business licenses will be
used for the foreseeable future.

  Peter



___
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: Animations on iOS

2015-12-14 Thread Brahmanathaswami

Oops sorry I highjacked the thread...

Point:

"Daddy! I want to do (or at least render) some of this really cool 
animation stuff in LiveCode!"


BR

Scott Rossi wrote:

If they're making it, it's worth waiting for :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 12/14/15, 8:51 PM, "use-livecode on behalf of Mark Wieder"
  wrote:


On 12/14/2015 08:39 PM, Scott Rossi wrote:


All the Room games have been included in Apple's "best of" game lists,
and
deservedly so. With Fireproof's release of their 3rd installment The
Room
3, the first title is now available for free:
https://itunes.apple.com/us/app/the-room/id552039496?mt=8

Dang. Have to wait until next month for the Android version.

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




___
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: Replace Quotes with Escaped Quotes in String

2015-12-14 Thread John Dixon
Does this work for you ?

on mouseUp
   put fld 1 into temp
   replace quote with "/" in temp
   put temp into fld 2
end mouseUp




> Date: Mon, 14 Dec 2015 05:50:17 -1000
> From: bra...@hindu.org
> To: use-livecode@lists.runrev.com
> Subject: Re: Replace Quotes  with Escaped Quotes in String
> 
> Are single quotes and double quotes equivalent in Livecode?
> 
> that would be new, i don't think soS
> 
> Single quotes do not work
> 
> *command*escapeQuotes*
> *
> 
> *put*fld"input"intojai
> *replace*'" ' with ' \" ' injai
> *put*jai intofld"target"
> 
> *end* escapeQuotes
> 
> gets us a script error
> 
> 
> BR
> 
> Peter TB Brett wrote:
> > Have you tried just using single quotes: '...'?
> >
> >  Peter 
> 
> ___
> 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: One Rect For All specificaiton

2015-12-14 Thread Brahmanathaswami

I am back to app dev and working on this spec for my artists and designers.

Something still does not make sense.

@colin... you saidLC would take care of resizing any stack size to fit 
any device  and to use the stack size ratio of 14 X 9

and then make it whatever sites is comfortable.


what feels "comfortable" to me  is to match at least one device size... 
making it too big will not fit on my small Macbook Pro.


I don't understand why you would not work in 16 X 9 with the  "live 
matter" area inside that set to 1200 X 788 (ratio)?


Why do you set the card size  12.5 percent  "shorter" (that's -200 over 
1400 if you "think"  1600 X 900  and 644 X 414 if you are thinking 
iPhone six plus original spec at  736 X 414)


Brahmanathaswami


Brahmanathaswami wrote:

Here are some real numbers:

The complete card could be 1400x900.

On a16:9  device you would see all of the 1400 width, and 788 pixels 
of the height.


On a4:3  device you would see all of the 900 height, and 1200 of the 
width.


So, you would have the important things within the central 1200 of the 
width, and the central 788 of the height. You can now be sure that the 
important content will appear on all devices between16:9  and4:3.  The 
things that are outside of that 1200x788 area will spill off the edges 
of the device screen.


BTW, you don’t have to take care of every device size, LiveCode will 
scale the above example size to whatever size the device is. So just 
pick a card size that is comfortable to work on.


About splash screens, with the requirement to include iPhone6, 6 Plus, 
and maybe even iPad Pro screens, a detailed splash screen could take 
as much as 20 MB of the app size. What I’ve started to do is use a 
flat color, that matches the background color of the title screen. 
Doing that means that the 9 different splash screens take a total of 
under 200k of space. If that’s not interesting enough try just having 
a flat screen with your logo in middle, that shouldn’t be too bad file 
size wise. 



___
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: Replace Quotes with Escaped Quotes in String

2015-12-14 Thread Brahmanathaswami

Are single quotes and double quotes equivalent in Livecode?

that would be new, i don't think soS

Single quotes do not work

*command*escapeQuotes*
*

*put*fld"input"intojai
*replace*'" ' with ' \" ' injai
*put*jai intofld"target"

*end* escapeQuotes

gets us a script error


BR

Peter TB Brett wrote:

Have you tried just using single quotes: '...'?

 Peter 


___
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: Animations on iOS

2015-12-14 Thread Scott Rossi
If you're seeking enlightenment in a game, I can't help you.  But another
game I can recommend is The Room series by Fireproof Games.  Instead of
architectural puzzles on a grand scale, The Room is a series of mechanical
box/device puzzles: quasi-steampunk designed marvels with secret doors,
panels, levers, cyphers and jaw dropping mechanical design.  The puzzles
are more challenging than Monument Valley, and there is a vague but
intriguing backstory that keeps you wondering throughout.

All the Room games have been included in Apple's "best of" game lists, and
deservedly so. With Fireproof's release of their 3rd installment The Room
3, the first title is now available for free:
https://itunes.apple.com/us/app/the-room/id552039496?mt=8


But definitely purchase their other titles.  Support the developers, and
enjoy hours of award-winning challenges.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 12/14/15, 6:58 PM, "use-livecode on behalf of Brahmanathaswami"

wrote:

>
>  LC is so far behind in this arena... At Scott's suggestion, I tried
>the first video game I ever played in my life: Monument Valley... So
>beautifully done, though in the end I got, as usual bored to tears and
>had to force myself to finish level 10 just on principle and, as some
>anti-gamers  say, despite the award-winning graphics/puzzles... "I came
>out of the game dumber than I went in"
>
>That said. These things made in Unity are awesome and the "holy grail"
>would be able to play unity "shorts"  inside Livecode. Their WebGL
>export (--> unity to enscriptenJS)  will not work on mobile
>
>



___
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: Animations on iOS

2015-12-14 Thread Scott Rossi
If they're making it, it's worth waiting for :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 12/14/15, 8:51 PM, "use-livecode on behalf of Mark Wieder"
 wrote:

>On 12/14/2015 08:39 PM, Scott Rossi wrote:
>
>> All the Room games have been included in Apple's "best of" game lists,
>>and
>> deservedly so. With Fireproof's release of their 3rd installment The
>>Room
>> 3, the first title is now available for free:
>> https://itunes.apple.com/us/app/the-room/id552039496?mt=8
>
>Dang. Have to wait until next month for the Android version.
>
>-- 
>  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



___
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: Replace Quotes with Escaped Quotes in String

2015-12-14 Thread Brahmanathaswami

Ah... I see: so a string like this

Peter is visiting Kauai from Scotland. He says "It's a great 
day...Finally I get a break from coding and get to leave this island in 
the northern hinterland and go to another one in the Pacific Blue."


1) first we escape the single quote "It\'s"
2) then wrap with single quotes. and the double quotes are preserved

"sweet"

I'll try it



Peter TB Brett wrote:
No, single quotes and double quotes are not equivalent in LiveCode. 
However, the shell ignores any escape characters or " characters 
inside single-quoted strings.


So, you can do:

replace "'" with "\'" in tBody
put merge("echo '[[tBody]]' | ") into tCmd

and your tBody should be protected from shell expansion.

Peter 



___
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: LC 8 DP 11

2015-12-14 Thread Mark Wieder

On 12/13/2015 10:15 AM, sa...@hrz.uni-kassel.de wrote:


Intending to test performance developments between different LC versions
(on the Windows partition of the Mac Mini) - like I reported them
several times on the Livecode lists this year - I ran into a new
problem: Versions that had been installed and working properly before
using my new Indy license now require a re-licensing process using the
respective neccessary password of the version I tried to open. This
worked for LC  6.6 - as an example - because the license password
apparently had not changed between LC 6 and 8, but I could not find an
appropriate password for LC 4.6.1, for me by far the fastest LC version
available when for instance testing image processing speed.


I recently had this experience when needing to install 4.6.4 onto a VM. 
The older license server is apparently no longer in operation. What I 
ended up doing was creating a manual license online, downloading it, and 
pointing to that during the installation process.


--
 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: Animations on iOS

2015-12-14 Thread Mark Wieder

On 12/14/2015 08:39 PM, Scott Rossi wrote:


All the Room games have been included in Apple's "best of" game lists, and
deservedly so. With Fireproof's release of their 3rd installment The Room
3, the first title is now available for free:
https://itunes.apple.com/us/app/the-room/id552039496?mt=8


Dang. Have to wait until next month for the Android version.

--
 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: Script Indenting?

2015-12-14 Thread Jeanne A. E. DeVoto

At 1:29 PM +0100 12/12/2015, Lyn Teyla wrote:
Some years back, pressing the  key to trigger indenting used to 
affect the entire script, but then it got changed to only affect the 
current handler for some reason.



This was changed because for very long scripts, indenting the entire 
script (instead of just one handler) could cause a considerable pause 
when indenting. (HyperCard did the whole script, but HyperCard also 
had a 32K limit on a single script.)


This was quite a while ago, and it's possible that it would not be 
much of an issue now with faster CPUs. But that's why it changed.

--
jeanne a. e. devoto
livec...@jaedworks.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


Sending email with enclosures on Android

2015-12-14 Thread J. Landman Gay
Is anyone able to include multiple enclosures in an email on Android 
using file references? I'm getting zero byte enclosures. It works if I 
send all the text as a "data" type but then on some phones the email 
client crashes (I suspect memory issues.)


I'm hoping if I change to referenced files it will work better, but I'm 
not having any success. Does anyone have an example handler that 
successfully uses referenced files?


--
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: Happy LC Holidays

2015-12-14 Thread Colin Holgate
If you do try it, you can click to randomize the wind direction and strength.

I should convert the Lingo to LiveCode…


> On Dec 13, 2015, at 11:24 PM, Scott Rossi  wrote:
> 
> Wow, Adobe still makes Shockwave stuff?  Yeah, not installed -- will try
> it later.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 12/13/15, 7:49 PM, "use-livecode on behalf of Colin Holgate"
>  colinholg...@gmail.com> wrote:
> 
>> Wind direction is a subtly, parallax is more important.
>> 
>> You may need to install the Shockwave plugin to see this:
>> 
>> http://colin.scienceninja.com/snowfallIL.html
>> 
>> 
>>> On Dec 13, 2015, at 10:33 PM, Scott Rossi 
>>> wrote:
>>> 
>>> Good suggestions.  Thought about including a wind direction, but the
>>> stack
>>> was taking a bit more time than I wanted.  Version 1.1  :-)
>>> 
>>> Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX/UI Design
>>> 
>>> 
>>> 
>>> 
>>> On 12/13/15, 6:43 PM, "use-livecode on behalf of Colin Holgate"
>>> >> colinholg...@gmail.com> wrote:
>>> 
 I hope you like constructive criticism!
 
 First, thanks for this, it¹s inspirational. Now the problemsŠ
 
 You have smaller flakes traveling quicker, that seem strong. Flakes
 usual
 have some sort of horizontal drift.
 
 
 
> On Dec 13, 2015, at 9:36 PM, Scott Rossi 
> wrote:
> 
> An update to an old stack, and best wishes for a happy holiday season.
> 
> http://tactilemedia.com/blog/2015/12/14/snowmaking-in-livecode/
> 
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> ___
> 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
> 
> 
> 
> ___
> 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: Happy LC Holidays

2015-12-14 Thread Ralph DiMola
That would be a +1 from Margaret and I.

Best to you and your loved ones!

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Jim Lambert
Sent: Monday, December 14, 2015 11:56 AM
To: use-livecode@lists.runrev.com
Subject: Re: Happy LC Holidays

Scott,

Thanks for the snowy stack.
And Happy Holidays to you and the entire LC community.

Jim Lambert

___
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: Happy LC Holidays

2015-12-14 Thread Jim Lambert
Scott,

Thanks for the snowy stack.
And Happy Holidays to you and the entire LC community.

Jim Lambert

___
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: Replace Quotes with Escaped Quotes in String

2015-12-14 Thread Peter TB Brett



On 14/12/2015 15:50, Brahmanathaswami wrote:

Are single quotes and double quotes equivalent in Livecode?

that would be new, i don't think soS

Single quotes do not work



No, single quotes and double quotes are not equivalent in LiveCode. 
However, the shell ignores any escape characters or " characters inside 
single-quoted strings.


So, you can do:

replace "'" with "\'" in tBody
put merge("echo '[[tBody]]' | ") into tCmd

and your tBody should be protected from shell expansion.

Peter

--
Dr Peter Brett 
LiveCode Open Source Team

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

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


Re: tracking down freeze based on timing, maybe?

2015-12-14 Thread J. Landman Gay

On 12/13/2015 10:00 PM, Matt Maier wrote:

It starts with a mouseMove handler, which is where it returns after stuff
has happened.

One of several options is followed by a freeze. I setup a little handler to
log the seconds every x milliseconds after that. Nothing is happening a
split second after the script returns to the mouseMove handler. It's like
whatever's hanging up the application is outside of all the stuff I wrote,
so I'm not sure how to dig into it.


Mousemove is sent a whole lot and messages may be piling up in the queue 
while LC tries to catch up. Try removing the mouseMove trigger and start 
your handlers some other way. If that fixes the problem, then that's 
where to focus.


Typically we add a "busy flag" to handlers so they don't try to do 
anything until the flag is cleared and it's okay to proceed.


local sBusy

on mouseMove
 if sBusy = true then exit mouseMove -- we're busy; don't do anything
 bigHandler -- if we get this far, it's okay to do work
end mouseMove

on bigHandler
 -- do stuff
 put false into sBusy -- clear the flag
end bigHandler

--
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: Animations on iOS

2015-12-14 Thread Ralph DiMola
I was just getting ready to do a simple animation on mobile. I was thinking
on testing an animated gif first. I was wondering if LC would animate a gif.
Well you answered that question. Now you're talking about slow load times.
How big is you gif(resolution, #of frames)? I want to have a spinning ball
to distract the user while the rest of my app loads and initializes. How
long is the load delay?

I'm using LC 6.7.6 Android Win XP, LC 6.7.7 iOS Xcode 6.2 OSX 10.9.5.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Ben Rubinstein
Sent: Monday, December 14, 2015 2:23 PM
To: Use LiveCode
Subject: Animations on iOS

What are my options for displaying an animation in a portion of the
card/screen on iOS?

Currently I've tried:

1) making it into a video, in a very limited range of formats, and playing
it from an external file using a native control

Pros: works, choice of controller etc, plays from a separate file and starts
up fairly quickly

Cons: video formats not super-efficient for animation, and at least as I've
managed so far, limited to certain resolutions - I'm forced to crop or
squash my original animation.

2) making it into a GIF on the card, which works quite nicely except that
there's an enormous delay going to the card, presumably as the animation is
buffered.

Pros: can be exactly the size I want; plays quite smoothly

Cons: I've not managed to play this from an external file, and if it's
embedded on the card there's an unacceptable delay.


Is there a third way?  Should I be able to set the filename of an image
object 
to an external gif file?  Are there some video formats accepted on iOS which

are good for animation and which will allow arbitrary dimensions?

TIA,

Ben

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


___
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: Animations on iOS

2015-12-14 Thread Scott Rossi
Another option could be playing animation within a browser object.  In theory 
you'd have many more options available to you.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Dec 14, 2015, at 11:23 AM, Ben Rubinstein  wrote:
> 
> What are my options for displaying an animation in a portion of the 
> card/screen on iOS?
> 
> Currently I've tried:
> 
> 1) making it into a video, in a very limited range of formats, and playing it 
> from an external file using a native control
> 
> Pros: works, choice of controller etc, plays from a separate file and starts 
> up fairly quickly
> 
> Cons: video formats not super-efficient for animation, and at least as I've 
> managed so far, limited to certain resolutions - I'm forced to crop or squash 
> my original animation.
> 
> 2) making it into a GIF on the card, which works quite nicely except that 
> there's an enormous delay going to the card, presumably as the animation is 
> buffered.
> 
> Pros: can be exactly the size I want; plays quite smoothly
> 
> Cons: I've not managed to play this from an external file, and if it's 
> embedded on the card there's an unacceptable delay.
> 
> 
> Is there a third way?  Should I be able to set the filename of an image 
> object to an external gif file?  Are there some video formats accepted on iOS 
> which are good for animation and which will allow arbitrary dimensions?
> 
> TIA,
> 
> Ben
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
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: Animations on iOS

2015-12-14 Thread Colin Holgate
If you have an animation made in Flash, you can export it as HTML5 Canvas, and 
then the animation would play in a browser object.

If you do have to do video, dig out your old copy of QuickTime Player 7, then 
you can have any aspect ratio you like.
___
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: Licensing issues [was: Re: LC 8 DP 11]

2015-12-14 Thread Mark Waddingham

On 2015-12-14 11:21, Peter TB Brett wrote:

Hi Wilhelm,
I find this newly installed monitoring process controlling the 
validity
of older, but already fully installed versions an outright 
unnnecessary

nuisance. Is this part of the new licensing policies that restrict the
use of  LC-Indy versions to the license span you have paid for? I have
got a commercial version extending until August 2016, which - as I
understand it - enables me to use (and produce standalones) with this
commercial version even beyond August 2016.


I'm afraid that that's not correct -- when your current commercial
license expires in August 2016, you will not be able to use any
commercial version of LiveCode or use them to create standalones
unless you renew your license.


This isn't quite correct - it depends on the type of commercial license 
you received for each LiveCode version you have bought in the past. All 
licensing issues are best dealt with by contacting supp...@livecode.com 
- so please use that channel in future rather than the mailing list.


Up until the subscription model style license was introduced, the 
LiveCode Commercial License was perpetual per version. i.e. If you had a 
license for a particular version when it was released you can continue 
to use it forever. Since the subcription model style license was 
introduced, there are no (new) perpetual licenses - your right to use a 
commercial version of LiveCode which you have received under the new 
style license ceases as soon as that license lapses.


Assuming the records we hold for you are correct, it is easy to verify 
whether you are still entitled to use a particular version of LiveCode: 
if a particular commercial version will activate with your account (or 
if you can download an activation file for it), then you are entitled to 
use it.


If you find that you cannot activate a version of LiveCode which you 
think you should be able to, please contact supp...@livecode.com to let 
them know and we'll investigate.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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


Large integer addition and subtraction -- dramatically improved

2015-12-14 Thread Geoff Canyon
I've created new routines for adding and subtracting large numbers. They
work on positive and negative integers, and are 10x to 20x and up faster
than any other routines I've seen (they are faster than routines I've
posted in the past). Also, they are optimized for mismatched arguments --
adding a 10 digit and 1000 digit number is substantially faster than adding
two 1000 digit numbers. The order of the arguments to the add function does
not matter: 10 digit plus 1000 digit will be as fast as 1000 digit plus 10
digit.

I have tested the results from these over thousands of example numbers
against other large number libraries to ensure accuracy, but more testing
for edge cases is always appropriate. And of course if anyone has any
suggestions or questions I'm all ears.

I'll work on multiplication and division later.

Here they are:

function bAdd x,y
   if char 1 of x is "-" then
  delete char 1 of x
  if char 1 of y is "-" then
 delete char 1 of y
 put "-" into theSign
  else
 return bSubtract(y,x)
  end if
   else
  if char 1 of y is "-" then
 delete char 1 of y
 return bSubtract(x,y)
  else
 put empty into theSign
  end if
   end if
   put length(x) into lenX
   put length(y) into lenY
   if lenX > lenY then
  put x into r
  put lenX into lenR
   else
  put y into r
  put lenY into lenR
  put x into y
  put lenX into lenY
   end if
   put 0 into c
   repeat with i = 14 to lenR step 14
  add char -i to 13 - i of r + char -i to 13 - i of y to c
  put char -14 to -1 of ("00" & c) into char -i to 13 - i
of r
  delete char -14 to -1 of c
  if i > lenY and c is empty then exit repeat
   end repeat
   put c before r
   put 0 + char 1 to 14 of r into char 1 to 14 of r
   return theSign & r
end bAdd

function bSubtract x,y
   if char 1 of x is "-" then
  if char 1 of y is "-" then
 delete char 1 of x
 delete char 1 of y
 put "-" into theSign
  else
 return bAdd(x,"-" & y)
  end if
   else
  if char 1 of y is "-" then
 return bAdd(x,char 2 to -1 of y)
  else
 put empty into theSign
  end if
   end if
   put length(x) into lenX
   put length(y) into lenY
   if lenX > lenY then
  put x into r
  put lenX into lenR
   else if lenX < lenY then
  if theSign is "-" then put empty into theSign else put "-" into
theSign
  put y into r
  put lenY into lenR
  put x into y
  put lenX into lenY
   else
  get bCompare(x,y)
  if it is "greater" then
 put x into r
 put lenX into lenR
  else if it is "less" then
 if theSign is "-" then put empty into theSign else put "-" into
theSign
 put y into r
 put lenY into lenR
 put x into y
 put lenX into lenY
  else
 return 0
  end if
   end if
   put 0 into c
   repeat with i = 14 to lenR step 14
  put char -i to 13 - i of r into s
  add char -i to 13 - i of y to c
  if s >= c then
 put s - c into s
 put 0 into c
  else
 put ("1" & s) - c into s
 put 1 into c
  end if
  put char -14 to -1 of ("00" & s) into char -i to 13 - i
of r
  if i > lenY and c = 0 then exit repeat
   end repeat
   put 0 + char 1 to 15 of r into char 1 to 15 of r
   return theSign & r
end bSubtract

function bCompare x,y -- only works on unsigned values
   put length(x) into lenX
   put length(y) into lenY
   if lenX > lenY then return "greater"
   if lenX < lenY then return "less"
   repeat with i = 1 to lenX step 14
  put char i to i + 13 of x into x1
  put char i to i + 13 of y into y1
  if x1 > y1 then return "greater"
  if x1 < y1 then return "less"
   end repeat
   return "equal"
end bCompare
___
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: Happy LC Holidays

2015-12-14 Thread Devin Asay
The view out my window right now looks like your Max Snow setting, only about 
double.

Oh and speed is higher. Parallax is about right though. :)

Devin

> On Dec 13, 2015, at 7:36 PM, Scott Rossi  wrote:
> 
> An update to an old stack, and best wishes for a happy holiday season.
> 
> http://tactilemedia.com/blog/2015/12/14/snowmaking-in-livecode/
> 
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> ___
> 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

Devin Asay
Office of Digital Humanities
Brigham Young University


___
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


LC 7.1 possible bug

2015-12-14 Thread Richmond

I'm not sure if this is a bug:

https://www.dropbox.com/s/aat4znrcta95bvg/bugPerhaps.gif?dl=0

I made a moronically simple stack to make numbered roundels, and
once I had got beyond a certain amount the contextual menu of the properties
palette went "sour", and I am now quite unable to select the field 
"Field" within

the group "ww" to enter new numbers.

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


Animations on iOS

2015-12-14 Thread Ben Rubinstein
What are my options for displaying an animation in a portion of the 
card/screen on iOS?


Currently I've tried:

1) making it into a video, in a very limited range of formats, and playing it 
from an external file using a native control


Pros: works, choice of controller etc, plays from a separate file and starts 
up fairly quickly


Cons: video formats not super-efficient for animation, and at least as I've 
managed so far, limited to certain resolutions - I'm forced to crop or squash 
my original animation.


2) making it into a GIF on the card, which works quite nicely except that 
there's an enormous delay going to the card, presumably as the animation is 
buffered.


Pros: can be exactly the size I want; plays quite smoothly

Cons: I've not managed to play this from an external file, and if it's 
embedded on the card there's an unacceptable delay.



Is there a third way?  Should I be able to set the filename of an image object 
to an external gif file?  Are there some video formats accepted on iOS which 
are good for animation and which will allow arbitrary dimensions?


TIA,

Ben

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


Re: LC 7.1 possible bug

2015-12-14 Thread Richmond

On 14/12/15 21:23, Richmond wrote:

I'm not sure if this is a bug:

https://www.dropbox.com/s/aat4znrcta95bvg/bugPerhaps.gif?dl=0

I made a moronically simple stack to make numbered roundels, and
once I had got beyond a certain amount the contextual menu of the 
properties
palette went "sour", and I am now quite unable to select the field 
"Field" within

the group "ww" to enter new numbers.

Richmond.


Once I removed the 17 images generated the problem went away.

Am I to conclude there is a limitation on the number of objects that can 
be on a card?


This will sure "screw up" my Devawriter should I port it beyond LC 4.5 
as each card

carried about 60 objects.

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: Improving the LiveCode release notes

2015-12-14 Thread Mark Wieder

On 12/14/2015 09:46 AM, Peter TB Brett wrote:


I'd really appreciate some feedback to help me understand how we can
make the LiveCode release notes more informative and helpful.


How about alphabetizing the Dictionary Additions and Dictionary Changes 
lists?


--
 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: Improving the LiveCode release notes

2015-12-14 Thread Mark Wieder

On 12/14/2015 09:46 AM, Peter TB Brett wrote:


I'd really appreciate some feedback to help me understand how we can
make the LiveCode release notes more informative and helpful.


The release notes say that jdk-6 is required for Android support. Are 
you sure that's not jdk-7? It might be a good idea to have the Android 
section have a link to






which are better step-by-step instructions. I can't vouch for the pc or 
mac versions, but I just updated the linux instructions the other day.


--
 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: Improving the LiveCode release notes

2015-12-14 Thread Mark Wieder

On 12/14/2015 09:46 AM, Peter TB Brett wrote:

Hi all,

I'm currently working on the LiveCode 8 release notes (in preparation
for RC 1!)

I'd really appreciate some feedback to help me understand how we can
make the LiveCode release notes more informative and helpful.


The release notes mention Raspberry Pi, but it's been a while (April) 
since there was a release for the pi, and there's never been an 8.0 
release for that platform.


--
 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: Improving the LiveCode release notes

2015-12-14 Thread Mark Wieder

On 12/14/2015 09:46 AM, Peter TB Brett wrote:


I'd really appreciate some feedback to help me understand how we can
make the LiveCode release notes more informative and helpful.


I suggest dropping the section titled "IDE stacfiles named with version. 
(8.0.0-dp-1)". It seems like an idea that was proposed and never 
followed through on.


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


Improving the LiveCode release notes

2015-12-14 Thread Peter TB Brett

Hi all,

I'm currently working on the LiveCode 8 release notes (in preparation 
for RC 1!)


I'd really appreciate some feedback to help me understand how we can 
make the LiveCode release notes more informative and helpful.


* What's good about the current LiveCode release notes?
* How can we make them better?
* What additional information would be helpful to include?
* What can be removed or abbreviated to make them more concise?

For example, here are the LiveCode 8.0.0-dp-11 release notes:

http://downloads.livecode.com/livecode/8_0_0/LiveCodeNotes-8_0_0_dp_11.pdf

Please reply and let me know your thoughts -- or feel free to e-mail me 
off-list.


 Peter


--
Dr Peter Brett 
LiveCode Open Source Team

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

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


Re: Improving the LiveCode release notes

2015-12-14 Thread David Bovill
For me Release notes should be available in a searchable format in the IDE.
I get pretty tired of digging through pdf's to find core information?

On Monday, 14 December 2015, Peter TB Brett 
wrote:

> Hi all,
>
> I'm currently working on the LiveCode 8 release notes (in preparation for
> RC 1!)
>
> I'd really appreciate some feedback to help me understand how we can make
> the LiveCode release notes more informative and helpful.
>
> * What's good about the current LiveCode release notes?
> * How can we make them better?
> * What additional information would be helpful to include?
> * What can be removed or abbreviated to make them more concise?
>
> For example, here are the LiveCode 8.0.0-dp-11 release notes:
>
> http://downloads.livecode.com/livecode/8_0_0/LiveCodeNotes-8_0_0_dp_11.pdf
>
> Please reply and let me know your thoughts -- or feel free to e-mail me
> off-list.
>
>  Peter
>
>
> --
> Dr Peter Brett 
> LiveCode Open Source Team
>
> LiveCode on reddit: https://reddit.com/r/livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
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: LC 7.1 possible bug

2015-12-14 Thread Mark Waddingham
Hi Richmond,

There's no explicit limitation on the number of objects beyond 'available 
memory' so it won't be anything like that.

Things to check:

Does the problem happen in 6.7?
Does the problem happen in 8?
What are the names of the images you have generated?
How many images are needed to break things?

The fact that removing the images makes things work again suggests that it 
something about them causing the problem - the reason I ask about the names of 
the images is that giving controls numeric names can cause problems, and it's a 
'shot in the dark' that it could be that.

Mark.

Sent from my iPhone

> On 14 Dec 2015, at 19:31, Richmond  wrote:
> 
>> On 14/12/15 21:23, Richmond wrote:
>> I'm not sure if this is a bug:
>> 
>> https://www.dropbox.com/s/aat4znrcta95bvg/bugPerhaps.gif?dl=0
>> 
>> I made a moronically simple stack to make numbered roundels, and
>> once I had got beyond a certain amount the contextual menu of the properties
>> palette went "sour", and I am now quite unable to select the field "Field" 
>> within
>> the group "ww" to enter new numbers.
>> 
>> Richmond.
> 
> Once I removed the 17 images generated the problem went away.
> 
> Am I to conclude there is a limitation on the number of objects that can be 
> on a card?
> 
> This will sure "screw up" my Devawriter should I port it beyond LC 4.5 as 
> each card
> carried about 60 objects.
> 
> 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: LC 7.1 possible bug

2015-12-14 Thread Scott Rossi
Not an answer to your issue, but instead a construction suggestion.

It sounds like you're creating the numbered ovals as groups.  If so, you
can instead use oval graphics by themselves to accomplish the same result,
by setting the showName of the oval to true and setting the label property
of the oval to the number.  You can halve the number of objects needed.

Sample here:
go url "http://tactilemedia.com/download/labeled_graphic.livecode;

Someone else may be able to chime on in your IDE issue.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 12/14/15, 11:23 AM, "use-livecode on behalf of Richmond"
 wrote:

>I'm not sure if this is a bug:
>
>https://www.dropbox.com/s/aat4znrcta95bvg/bugPerhaps.gif?dl=0
>
>I made a moronically simple stack to make numbered roundels, and
>once I had got beyond a certain amount the contextual menu of the
>properties
>palette went "sour", and I am now quite unable to select the field
>"Field" within
>the group "ww" to enter new numbers.
>
>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: Animations on iOS

2015-12-14 Thread Rick Harrison
Hi Ben,

If you are trying to do a background animation with a looped movie, I found
the smoothest way was to put one image on each card, and then loop through
the cards.  This eliminates the load time problem when going to the card because
it’s just one image that’s loading, not a bunch, and they are all embedded into 
the
stack.

Try it, and let me know what you think.

Rick

> On Dec 14, 2015, at 2:23 PM, Ben Rubinstein  wrote:
> 
> What are my options for displaying an animation in a portion of the 
> card/screen on iOS?
> 
> Currently I've tried:
> 
> 1) making it into a video, in a very limited range of formats, and playing it 
> from an external file using a native control
> 
> Pros: works, choice of controller etc, plays from a separate file and starts 
> up fairly quickly
> 
> Cons: video formats not super-efficient for animation, and at least as I've 
> managed so far, limited to certain resolutions - I'm forced to crop or squash 
> my original animation.
> 
> 2) making it into a GIF on the card, which works quite nicely except that 
> there's an enormous delay going to the card, presumably as the animation is 
> buffered.
> 
> Pros: can be exactly the size I want; plays quite smoothly
> 
> Cons: I've not managed to play this from an external file, and if it's 
> embedded on the card there's an unacceptable delay.
> 
> 
> Is there a third way?  Should I be able to set the filename of an image 
> object to an external gif file?  Are there some video formats accepted on iOS 
> which are good for animation and which will allow arbitrary dimensions?
> 
> TIA,
> 
> Ben
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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: Improving the LiveCode release notes

2015-12-14 Thread Ali Lloyd
Nope, that's in there. The example should probably be changed though, as
revTools is now a script-only stack in a subdirectory and therefore doesn't
need the .8

On Mon, Dec 14, 2015 at 6:42 PM Mark Wieder  wrote:

> On 12/14/2015 09:46 AM, Peter TB Brett wrote:
>
> > I'd really appreciate some feedback to help me understand how we can
> > make the LiveCode release notes more informative and helpful.
>
> I suggest dropping the section titled "IDE stacfiles named with version.
> (8.0.0-dp-1)". It seems like an idea that was proposed and never
> followed through on.
>
> --
>   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
>
___
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: Animations on iOS

2015-12-14 Thread J. Landman Gay

On 12/14/2015 1:23 PM, Ben Rubinstein wrote:

2) making it into a GIF on the card, which works quite nicely except
that there's an enormous delay going to the card, presumably as the
animation is buffered.

Pros: can be exactly the size I want; plays quite smoothly

Cons: I've not managed to play this from an external file, and if it's
embedded on the card there's an unacceptable delay.


You could try the "prepare image" command to load the gif ahead of time. 
It works well for me, but I haven't ever tried it with gifs.


--
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: Animations on iOS

2015-12-14 Thread Paul Hibbert
I think it was Scott Rossi that figured out a way to play an animation by 
storing images as text in custom properties, then load each image in turn into 
an image object.

I would imagine this may be limited to smaller less complex animations, but up 
until now I hadn’t tried it myself, so I had a go…

https://www.dropbox.com/s/ebltjtztsj1ymlc/CP%20Animation.livecode?dl=0

Haven’t tested on mobile though, my LC & Xcode versions are out of sync again.

Paul


> On Dec 14, 2015, at 11:23 AM, Ben Rubinstein  wrote:
> 
> What are my options for displaying an animation in a portion of the 
> card/screen on iOS?
> 
> Currently I've tried:
> 
> 1) making it into a video, in a very limited range of formats, and playing it 
> from an external file using a native control
> 
> Pros: works, choice of controller etc, plays from a separate file and starts 
> up fairly quickly
> 
> Cons: video formats not super-efficient for animation, and at least as I've 
> managed so far, limited to certain resolutions - I'm forced to crop or squash 
> my original animation.
> 
> 2) making it into a GIF on the card, which works quite nicely except that 
> there's an enormous delay going to the card, presumably as the animation is 
> buffered.
> 
> Pros: can be exactly the size I want; plays quite smoothly
> 
> Cons: I've not managed to play this from an external file, and if it's 
> embedded on the card there's an unacceptable delay.
> 
> 
> Is there a third way?  Should I be able to set the filename of an image 
> object to an external gif file?  Are there some video formats accepted on iOS 
> which are good for animation and which will allow arbitrary dimensions?
> 
> TIA,
> 
> Ben
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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