Re: Improving the LiveCode release notes

2015-12-15 Thread J. Landman Gay
On December 15, 2015 11:33:31 AM CST, Peter Haworth  wrote:
>
>Going back to the search issue, I'd be willing to spend some time
>creating
>a database and an LC app to query, sort and extract.  Creating the DB
>and
>the app won't be difficult, populating the db will be the hard part
>since I
>think everything is in pdf format.
That would be great. Maybe the team could give you the original documents 
before they were made into PDFs? 
-- 
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-15 Thread EED-wp Email
Anything wrong with putting each animated object's image states in a group and 
showing/hiding each figure in some kind of sequence? Then move the group to 
move the character. Obviously I'm thinking of character animation. Seems this 
would be pretty easy. Haven't tried it. 
Bill

William Prothero
http://ed.earthednet.org

> On Dec 15, 2015, at 6:16 AM, Rick Harrison  wrote:
> 
> 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.  
> 
> Good Luck,
> 
> 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

___
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-15 Thread J. Landman Gay
She's bck.. 

Cool. :-)

On December 15, 2015 11:10:19 AM CST, Mark Wieder  
wrote:
>Jeanne! Haven't heard from you in ages!

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

2015-12-15 Thread J. Landman Gay
On December 15, 2015 11:16:31 AM CST, Mark Wieder  
wrote:
>On 12/15/2015 01:00 AM, Peter TB Brett wrote:
>
>>> How about alphabetizing the Dictionary Additions and Dictionary
>Changes
>>> lists?
>>
>> Good plan.
>>
>> How useful are those sections?  Does anyone actually rely on them for
>> anything?
>
>Well, *I* do, but maybe it's just me. 
I read them too just to check the progess, so there's at least two of us. 
-- 
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: Improving the LiveCode release notes

2015-12-15 Thread J. Landman Gay
The current release notes are already available in the IDE (at least through 
v7,) but I think what's being asked for is the ability to search all previous 
notes. I've had the same problem, where I remember a new feature or syntax has 
been introduced but I can't recall the name to look up in the dictionary or 
which release introduced it. 

This may be too large a scope for inclusion in the IDE but it would be nice to 
have a website or somewhere with an inclusive search. Richard has collected all 
the release notes at LiveCode Journal but that still requires opening each file 
and searching it separately. 

On December 15, 2015 3:20:17 AM CST, Peter TB Brett  
wrote:
>On 14/12/2015 18:31, David Bovill wrote:
>> 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?
>
>We can definitely put them in the IDE somehow.  The changes I'm working
>
>on also make it easier to do that!
>
>I've added a feature request here:
>
>http://quality.livecode.com/show_bug.cgi?id=16604
>
>Peter

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

2015-12-15 Thread Mark Wieder

On 12/15/2015 01:28 AM, Peter TB Brett wrote:


Embarrassingly, I spoke to some of the core dev team this morning, and
it turns out that I am (very) incorrect about how difficult it will be
to start releasing rPi builds again.

   Peter :-(



Bummer. I saw Fraser's note a while back, but haven't gotten around to 
fiddling with the build files.


--
 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-15 Thread Roger Guay
Wow, what a cool idea! It boggles the mind!! Thanks, Scott. 


Roger


> On Dec 15, 2015, at 9:15 AM, Scott Rossi  wrote:
> 
> I don't know if OP wanted to move animation around the screen, but if you
> use a multi-image display technique for animation, it's more efficient to
> use a single image as a viewer.  You only need one command -- set the text
> of img "display" to  -- instead of using two (hide and show).
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 12/15/15, 8:22 AM, "use-livecode on behalf of EED-wp Email"
>  proth...@earthednet.org> wrote:
> 
>> Anything wrong with putting each animated object's image states in a
>> group and showing/hiding each figure in some kind of sequence? Then move
>> the group to move the character. Obviously I'm thinking of character
>> animation. Seems this would be pretty easy. Haven't tried it.
>> Bill
>> 
>> William Prothero
>> http://ed.earthednet.org
>> 
>>> On Dec 15, 2015, at 6:16 AM, Rick Harrison 
>>> wrote:
>>> 
>>> 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.
>>> 
>>> Good Luck,
>>> 
>>> 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
>> 
>> ___
>> 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: SQLite conundrum

2015-12-15 Thread Peter Haworth
Hi James,
Very strange. I seriously doubt sqlite is manipulating the data in any way.
Are you displaying the data using lc calls? Don't recall if you are an
SQLiteAdmin customer but if so, I suggest you go to the SQL tab, execute an
insert with sample data, then execute a select statement to display it. The
SQL tab passes all commands to the sqlite3 command line tool and does not
use any lc db calls so that should help narrow down where the problem is
occurring. You could also do it by running sqlite3 directly of course.

On Tue, Dec 15, 2015, 7:26 AM James Hale  wrote:

> I have an array of text values (actually book chapters) that I am adding
> to a database.
> The text is a mixture of alphabetic and numerals.
> For some of it I have line numbers at the beginning of each paragraph.
> E.g
> blah blah1. Blah blah more blah.2. Some more blah
>
> After I insert this text into my database the line numbers have been
> deleted.
> If I look at the db record I see...
> blah blahBlah blah more blah.Some more blah
>
> Yet other numbers contained within the text are still present.
>
> If I examine the SQL values I pass to the INSERT statement the numbers are
> still present.
>  In the text.
> They just don't appear in the db!
>
> I thought it might be a general thing  such as a number followed by a
> period is rejected, but I also create some FTS tables which have entries
> for each of these lines. In this case it is without the HTML tags but each
> line (corresponding to a paragraph of text) begins with a number as in...
>1. Blah blah more blah.
> And these are correctly stored in the table.
>
> Does anyone have any idea as to what might be deleting the numbers?
>
> James
> ___
> 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-15 Thread Peter Haworth
I  guess this next thought would be dealt with if we had the search
capability that's been mentioned but I'd prefer the release notes to be
ordered primarily by the release (DP!, DP2, etc) and within that the
various sections for that release (Engine Changes, IDE Changes, Bug Fixes,
etc).

I agree with Monte that the whole section on Platform Support,
Installation, etc should be in a separate document with the release notes
only documenting any changes that apply to that document.

The LC8 Release notes also include several pages of information about
widgets which I think should be in a separate document, referred to by the
release notes where necessary.  But then that gets into the whole issue of
getting the User Guide updated (or having a separate Widgets Guide), which
is where the Widget information should be.

Having said all that, I think LC8 is not a typical release since there have
been so many DP releases and presumably there'll be RC releases too before
we're done.

Going back to the search issue, I'd be willing to spend some time creating
a database and an LC app to query, sort and extract.  Creating the DB and
the app won't be difficult, populating the db will be the hard part since I
think everything is in pdf format.

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Tue, Dec 15, 2015 at 9:16 AM, Mark Wieder  wrote:

> On 12/15/2015 01:00 AM, Peter TB Brett wrote:
>
> How about alphabetizing the Dictionary Additions and Dictionary Changes
>>> lists?
>>>
>>
>> Good plan.
>>
>> How useful are those sections?  Does anyone actually rely on them for
>> anything?
>>
>
> Well, *I* do, but maybe it's just me. When we do weekly releases at work I
> do the same for historical tracking. Otherwise it's really hard to query a
> bug-tracking tool (I'm talking at you, bugzilla) to get a list of the bugs
> that were fixed/features added for a given release. If a bug that was fixed
> in a previous release pops up again in a later one, I can go back in the
> release notes and see when it was fixed, and that narrows the window for
> finding the code changes. But if I'm the only one who cares about this
> stuff then I'm ok with dropping the sections from the release notes.
>
> --
>  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: tracking down freeze based on timing, maybe?

2015-12-15 Thread Matt Maier
I tried the sBusy idea. The log showed that it's blocking a few mouse
messages, but the vast majority seem to have happened when sBusy was false
anyway.

Something else at least changed the behavior. I switched a handler call to
"send [handler] to me in 50 milliseconds" and that allowed me to click as
fast as I could manage without causing a freeze. It still froze a couple
times when I was doing something else, but for the most part it's not
freezing.

It looks like the combination is at least resolving the worst of the
effect. Still not sure what root cause is.

On Mon, Dec 14, 2015 at 11:47 AM, J. Landman Gay 
wrote:

> 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
>
___
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-15 Thread Scott Rossi
I've built a mobile stack with a player that plays a remote video from a
web site. This would solve your card opening delay issue, and would keep
the file size of your stack down.  I might be wrong, but I also seem to
recall the entire video doesn't need to be loaded to be playable.  Just
display a busy indicator while the video is initially loading so your
users know that something is happening when the card opens.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 12/15/15, 10:54 AM, "use-livecode on behalf of Ben Rubinstein"

wrote:

>On 14/12/2015 20:58, J. Landman Gay wrote:
>> 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.
>
>Thanks Jacque and all who've replied.
>
>I should have given more details - my animation is actually a rendering
>from a
>3d model - it could happily be a video, except for the frame size issue. I
>looked into the "prepare image" command - however you can only use it for
>an
>image on disk, or an image on the current card; my problem (with an
>embedded 
>image) is that there's a delay on going to the card, because the image is
>being loaded.  Loading the GIF from an external file might be better but
>I 
>couldn't make this work on mobile - should it be possible? Do I want a
>relative path or an absolute one?
>
>Many thanks,
>
>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-15 Thread Peter TB Brett

On 2015-12-15 18:22, J. Landman Gay wrote:
On December 15, 2015 11:33:31 AM CST, Peter Haworth  
wrote:


Going back to the search issue, I'd be willing to spend some time
creating
a database and an LC app to query, sort and extract.  Creating the DB
and
the app won't be difficult, populating the db will be the hard part
since I
think everything is in pdf format.

That would be great. Maybe the team could give you the original
documents before they were made into PDFs?


All of the inputs for the release notes are in the git repositories.  
There's also a LiveCode Script stack that does all the processing, 
starting from Markdown snippets, and ending up with the final Markdown, 
HTML and PDF release note documents.


Ideally, the information about in which release each piece of LiveCode 
Script syntax was last updated should actually just be in the dictionary 
entry itself and should be searchable through the dictionary interface.


   Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit! 

___
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-15 Thread Ben Rubinstein
Thanks Scott et al, I should have been more detailed in my original post; my 
animation is more like a simple video (rendered out from a 3d model) so not 
susceptible to these techniques.


Ben

On 15/12/2015 17:15, Scott Rossi wrote:

I don't know if OP wanted to move animation around the screen, but if you
use a multi-image display technique for animation, it's more efficient to
use a single image as a viewer.  You only need one command -- set the text
of img "display" to  -- instead of using two (hide and show).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 12/15/15, 8:22 AM, "use-livecode on behalf of EED-wp Email"
 wrote:


Anything wrong with putting each animated object's image states in a
group and showing/hiding each figure in some kind of sequence? Then move
the group to move the character. Obviously I'm thinking of character
animation. Seems this would be pretty easy. Haven't tried it.
Bill

William Prothero
http://ed.earthednet.org


On Dec 15, 2015, at 6:16 AM, Rick Harrison 
wrote:

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.

Good Luck,

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


Re: Improving the LiveCode release notes

2015-12-15 Thread Mark Wieder

On 12/15/2015 01:00 AM, Peter TB Brett wrote:


How about alphabetizing the Dictionary Additions and Dictionary Changes
lists?


Good plan.

How useful are those sections?  Does anyone actually rely on them for
anything?


Well, *I* do, but maybe it's just me. When we do weekly releases at work 
I do the same for historical tracking. Otherwise it's really hard to 
query a bug-tracking tool (I'm talking at you, bugzilla) to get a list 
of the bugs that were fixed/features added for a given release. If a bug 
that was fixed in a previous release pops up again in a later one, I can 
go back in the release notes and see when it was fixed, and that narrows 
the window for finding the code changes. But if I'm the only one who 
cares about this stuff then I'm ok with dropping the sections from the 
release notes.


--
 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-15 Thread EED-wp Email
Excellent!
Bill

William Prothero
http://ed.earthednet.org

> On Dec 15, 2015, at 9:15 AM, Scott Rossi  wrote:
> 
> I don't know if OP wanted to move animation around the screen, but if you
> use a multi-image display technique for animation, it's more efficient to
> use a single image as a viewer.  You only need one command -- set the text
> of img "display" to  -- instead of using two (hide and show).
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 12/15/15, 8:22 AM, "use-livecode on behalf of EED-wp Email"
>  proth...@earthednet.org> wrote:
> 
>> Anything wrong with putting each animated object's image states in a
>> group and showing/hiding each figure in some kind of sequence? Then move
>> the group to move the character. Obviously I'm thinking of character
>> animation. Seems this would be pretty easy. Haven't tried it.
>> Bill
>> 
>> William Prothero
>> http://ed.earthednet.org
>> 
>>> On Dec 15, 2015, at 6:16 AM, Rick Harrison 
>>> wrote:
>>> 
>>> 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.
>>> 
>>> Good Luck,
>>> 
>>> 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
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Script Indenting?

2015-12-15 Thread Mark Wieder

Jeanne! Haven't heard from you in ages!

--
 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-15 Thread Ben Rubinstein

On 14/12/2015 20:58, J. Landman Gay wrote:

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.


Thanks Jacque and all who've replied.

I should have given more details - my animation is actually a rendering from a
3d model - it could happily be a video, except for the frame size issue. I
looked into the "prepare image" command - however you can only use it for an
image on disk, or an image on the current card; my problem (with an embedded 
image) is that there's a delay on going to the card, because the image is 
being loaded.  Loading the GIF from an external file might be better but I 
couldn't make this work on mobile - should it be possible? Do I want a 
relative path or an absolute one?


Many thanks,

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

2015-12-15 Thread J. Landman Gay
On December 15, 2015 12:48:20 PM CST, Peter TB Brett  
wrote:
>
>All of the inputs for the release notes are in the git repositories.  
>There's also a LiveCode Script stack that does all the processing, 
>starting from Markdown snippets, and ending up with the final Markdown,
>
>HTML and PDF release note documents.
>
>Ideally, the information about in which release each piece of LiveCode 
>Script syntax was last updated should actually just be in the
>dictionary 
>entry itself and should be searchable through the dictionary interface.

Most of the entries do show the initial release date in the dictionary but the 
problem is that we often can't recall what term to look up. A searchable 
database of all release notes would solve that, since we could enter a more 
generic string to search on. 

I also find that the release notes, at least earlier ones, contain more 
extensive explanations of new syntax and changes than the short synopsis 
provided in the dictionary. That's very helpful. 
-- 
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: Improving the LiveCode release notes

2015-12-15 Thread Peter Haworth
Thanks, good to know.



Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Tue, Dec 15, 2015 at 10:52 AM, Peter TB Brett 
wrote:

> On 2015-12-15 17:33, Peter Haworth wrote:
>
> The LC8 Release notes also include several pages of information about
>> widgets which I think should be in a separate document, referred to by the
>> release notes where necessary.  But then that gets into the whole issue of
>> getting the User Guide updated (or having a separate Widgets Guide), which
>> is where the Widget information should be.
>>
>
> There's already a separate widgets guide, which contains all of the
> explanatory information from the release notes, in more detail, and much
> more besides.  It's available in the "Guides" tab of the dictionary stack
> -- you're looking for the "Extending LiveCode" guide.  The bits on widgets
> in the release notes are just a summary (for people who haven't used LC8
> before) and info on what's changed since earlier developer preview releases
> (for people who have).
>
> BTW, Ali has done some work today on improving the layout and
> accessibility of the guides in the IDE.
>
>  Peter
>
> --
> Dr Peter Brett 
> LiveCode Open Source Team
>
> LiveCode on reddit! 
>
> ___
> 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-15 Thread Mark Wieder

On 12/15/2015 11:09 AM, J. Landman Gay wrote:


Most of the entries do show the initial release date in the dictionary but the 
problem is that we often can't recall what term to look up.


Also, bug fixes don't necessarily fall into that category and probably 
won't show up in the dictionary.


--
 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-15 Thread Peter TB Brett

On 2015-12-15 17:33, Peter Haworth wrote:


The LC8 Release notes also include several pages of information about
widgets which I think should be in a separate document, referred to by 
the
release notes where necessary.  But then that gets into the whole issue 
of
getting the User Guide updated (or having a separate Widgets Guide), 
which

is where the Widget information should be.


There's already a separate widgets guide, which contains all of the 
explanatory information from the release notes, in more detail, and much 
more besides.  It's available in the "Guides" tab of the dictionary 
stack -- you're looking for the "Extending LiveCode" guide.  The bits on 
widgets in the release notes are just a summary (for people who haven't 
used LC8 before) and info on what's changed since earlier developer 
preview releases (for people who have).


BTW, Ali has done some work today on improving the layout and 
accessibility of the guides in the IDE.


 Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit! 

___
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


quiet compile fails in behavior button

2015-12-15 Thread Dr. Hawkins
I am seeing this fairly regularly now, but can't reproduce it on command.

After changing code in a button for a behavior (it never happens in a
stack's own script, as far as I can tell), a save to compile will sometimes
simply turn the button green--even though it failed on an error, whether
syntax, strict compile, or whathaveyou.

While I have the green button and no error, the code is not accessible.

Repeated attempts at compiling make no difference.

The workaround I've found is to shut off messages, close the script editor
(entirely, not just the button in question), and compile with messages
off.  Initially, I was closing, turning off messages, and loading, but that
doesn't seem necessary.

Is anyone else seeing that?



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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-15 Thread Lyn Teyla
Jeanne A. E. DeVoto wrote:

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

Thanks Jeanne for the info! :)

Lyn



___
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-15 Thread Peter TB Brett

On 14/12/2015 18:31, David Bovill wrote:

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?


We can definitely put them in the IDE somehow.  The changes I'm working 
on also make it easier to do that!


I've added a feature request here:

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

   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-15 Thread Peter TB Brett

On 15/12/2015 09:06, Peter TB Brett wrote:

On 14/12/2015 18:13, Mark Wieder wrote:

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.


Heh, it is a bit misleading.  We *support* rPi, but we don't build for
it!  As I understand it, we intend to start releasing rPi-compatible
linux-arv6hf builds before LiveCode 8.0.0 final release.


Embarrassingly, I spoke to some of the core dev team this morning, and 
it turns out that I am (very) incorrect about how difficult it will be 
to start releasing rPi builds again.


  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-15 Thread Peter TB Brett



On 14/12/2015 18:00, 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.


How about alphabetizing the Dictionary Additions and Dictionary Changes
lists?


Good plan.

How useful are those sections?  Does anyone actually rely on them for 
anything?


The majority of the "dictionary changes" appear to be, "Fix some 
formatting" or "Tweak some grammar" rather than any change to the actual 
behaviour of the syntax.


  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-15 Thread Peter TB Brett

On 14/12/2015 18:13, Mark Wieder wrote:

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.


Heh, it is a bit misleading.  We *support* rPi, but we don't build for 
it!  As I understand it, we intend to start releasing rPi-compatible 
linux-arv6hf builds before LiveCode 8.0.0 final release.


Fraser has a pull request that tweaks the build configuration files to 
make it easier to build for rPi. 
https://github.com/livecode/livecode/pull/3398


I need to set up a build worker for rPi on our CI system... maybe after 
I deal with the release notes.


   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-15 Thread Dave Kilroy
Peter, the extra info and up to date info on Xcode and Android in the DP11
release notes are great :)

In general, the DP11 release notes are already a big improvement on earlier
versions

Dave


Peter TB Brett wrote
> On 15/12/2015 00:28, Richard Gaskin wrote:
>> 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.
> 
> Is the info in the "Platform Support: iOS" section of the 8.0.0-dp-11 
> release notes not enough?  What else should be in there?
> 
>   Peter
> 
> -- 
> Dr Peter Brett 

> peter.brett@

> 
> LiveCode Open Source Team
> 
> LiveCode on reddit: https://reddit.com/r/livecode
> 
> ___
> use-livecode mailing list

> use-livecode@.runrev

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





-
"The difference between genius and stupidity is; genius has its limits." - 
Albert Einstein
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Improving-the-LiveCode-release-notes-tp4699500p4699537.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Improving the LiveCode release notes

2015-12-15 Thread Monte Goulding
Yes, my code generates the full markdown release notes using added change notes 
files between release tags in the repo which is what I presume you are doing. 
Definitely don't want to use the commit messages. Particularly the bulk of mine 
;-)

Sent from my iPhone

> On 15 Dec 2015, at 7:58 pm, Peter TB Brett  wrote:
> 
> Our release notes aren't generated from the git log, for various reasons -- 
> often git commit log comments are not written with the end user of the 
> software as the intended reader.  And of course rewriting the git log for 
> every LiveCode 8 git commit would be perhaps too resource-intensive a task. 
> ;-)

___
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-15 Thread Peter TB Brett

On 15/12/2015 00:28, Richard Gaskin wrote:

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.


Is the info in the "Platform Support: iOS" section of the 8.0.0-dp-11 
release notes not enough?  What else should be in there?


 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-15 Thread Peter TB Brett



On 15/12/2015 01:00, Monte Goulding wrote:

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.


Yes, I want to make the installation guide separate, but I'm not sure 
that I'll be able to do that in time for LiveCode 8.


Actually, for the server, I'd rather write a "Server Deployment" guide 
to live in the IDE (and on a currently hypothetical 
automatically-updated documentation website).  The actual *installation* 
of LiveCode server is very straightforward, but integrating it into 
Apache / nginx / (insert HTTP server here) is entirely another order of 
magnitude of difficulty.



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.


Our release notes aren't generated from the git log, for various reasons 
-- often git commit log comments are not written with the end user of 
the software as the intended reader.  And of course rewriting the git 
log for every LiveCode 8 git commit would be perhaps too 
resource-intensive a task. ;-)


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

2015-12-15 Thread Jim Lambert
Probably won’t solve Ben’s issue, but here’s an ancient stack I did that shows 
how to animate using a single image in a group and simply adjusting its 
position via scroll.

go stack URL "http://netrin.on-rev.com/animateimage/animata.rev”

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

2015-12-15 Thread Richard Gaskin

Peter M. Brigham wrote:
> I'm hardly a database expert, but it sounds as if a database of
> release notes with a flexible front end is the way to go.

It's not like there are that many of them - why not roll them into a 
simple stack?


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

2015-12-15 Thread Jim Lambert
go stack URL "http://netrin.on-rev.com/animateimage/animata.rev”

Had a smart quote in the previous post. :(

JimL
___
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-15 Thread Peter M. Brigham
On Dec 15, 2015, at 12:33 PM, Peter Haworth wrote:

> Going back to the search issue, I'd be willing to spend some time creating
> a database and an LC app to query, sort and extract.  Creating the DB and
> the app won't be difficult, populating the db will be the hard part since I
> think everything is in pdf format.

I'm hardly a database expert, but it sounds as if a database of release notes 
with a flexible front end is the way to go. The front end could be an LC stack, 
with multiple options to display all notes, just the ones for the latest 
update, notes for a specific version, or notes related to a specific feature, 
or...

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


___
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-15 Thread Dr. Hawkins
On Mon, Dec 14, 2015 at 11:09 PM, Jeanne A. E. DeVoto <
revolut...@jaedworks.com> wrote:

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

It's still an issue . . . it takes a few seconds on my very long scripts.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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-15 Thread Peter M. Brigham
On Dec 15, 2015, at 4:07 PM, Richard Gaskin wrote:

> Peter M. Brigham wrote:
> > I'm hardly a database expert, but it sounds as if a database of
> > release notes with a flexible front end is the way to go.
> 
> It's not like there are that many of them - why not roll them into a simple 
> stack?

Easier for Edinburgh to update a database? Then the stack is always up to date, 
just access the DB if online, or access a downloaded copy if offline. Data 
separate from UI, right?

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig



___
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-15 Thread J. Landman Gay

On 12/15/2015 12:54 PM, Ben Rubinstein wrote:

Loading the GIF from an external file might be better but I couldn't
make this work on mobile - should it be possible? Do I want a relative
path or an absolute one?


I've never had to do it with a gif, but I'd think the process would be 
the same as any other image file. In the stack script:


put specialFolderPath("Resources") & slash &  into tPath
set the filename of img x to tPath

Put the gif file into the same folder with your stack so it will work on 
the desktop as well as on mobile. SpecialFolderPath("Resources") points 
to the current stack folder on desktop. In a standalone, it points to a 
Resources folder that the standalone builder creates automatically for 
copied files.


In standalone settings -> copy files pane, add the gif file.

See if that works.

--
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-15 Thread Ralph DiMola
I just put gif into a mobile today. I imported it as control. I wanted the
user to see some motion while the app initializes. It is just a spinning
ball(7kb). I loads quick and resizes nicely but motion is jerky. Is there
any way to yield more time to the engine so it spins smoothly? I do local
database and network http requests to/from my LC server scripts. The latter
may be blocking I fear.


I also have to set it's visible to false on Android when leaving the spin
ball card because the gif appears on the next card spinning quite nicely.
You also see the background of the previous card thru the transparency of
the objects bounding box (ball is round control is a rectangle) It's not on
the next card. I have to put a QCC report in on this one.

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 J. Landman Gay
Sent: Tuesday, December 15, 2015 6:27 PM
To: How to use LiveCode
Subject: Re: Animations on iOS

On 12/15/2015 12:54 PM, Ben Rubinstein wrote:
> Loading the GIF from an external file might be better but I couldn't 
> make this work on mobile - should it be possible? Do I want a relative 
> path or an absolute one?

I've never had to do it with a gif, but I'd think the process would be the
same as any other image file. In the stack script:

put specialFolderPath("Resources") & slash &  into tPath set
the filename of img x to tPath

Put the gif file into the same folder with your stack so it will work on the
desktop as well as on mobile. SpecialFolderPath("Resources") points to the
current stack folder on desktop. In a standalone, it points to a Resources
folder that the standalone builder creates automatically for copied files.

In standalone settings -> copy files pane, add the gif file.

See if that works.

-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

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


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


Re: Script Indenting?

2015-12-15 Thread Robert Brenstein

On 15.12.2015 at 12:46 Uhr -0800 Dr. Hawkins apparently wrote:


It's still an issue . . . it takes a few seconds on my very long scripts.



Maybe tab should indent only a single handler and option-tab indent 
the entire script.


RObert

___
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-15 Thread J. Landman Gay

On 12/15/2015 6:25 PM, Ralph DiMola wrote:

I also have to set it's visible to false on Android when leaving the spin
ball card because the gif appears on the next card spinning quite nicely.
You also see the background of the previous card thru the transparency of
the objects bounding box (ball is round control is a rectangle) It's not on
the next card. I have to put a QCC report in on this one.


It may be related to a broader redraw issue:



It isn't just 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: Midnite-Rises - Images with transparent "see through" areas

2015-12-15 Thread Colin Holgate
Here’s my scrolling example from quite a while ago. This is an HTML5 version, 
which when I did it had the wrong colors:

http://colin.scienceninja.com/html5/scrolling/scrolling.html

Unfortunately, although the colors are now fixed, there are lots of Javascript 
errors in a DP11 test:

http://colin.scienceninja.com/html5/newscrolling/Scrolling.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: Improving the LiveCode release notes

2015-12-15 Thread Pyyhtiä Christer
The simplest way in my mind would be one User / Reference Manual, which 
includes any change from previous version (release note) with for example XML 
markup, e.g.:


This is V8.1.1 stuff...


Further, any examples for any function should include a hyperlink to a web page 
explaining the use.  Believing that every developer has sufficient bandwidth 
available, this web site should replace the IDE embedded dictionary.

These should be fairly easy to be maintained by RR.

Ideally, the User / Reference manual could also base on wiki.


Christer Pyyhtiä
MindCrea Ltd
Mobile: +358-400-410216
Skype:  christerp1
chris...@mindcrea.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-15 Thread Peter M. Brigham
+1. I forgot this one, haven't played it in a while, and it's beautiful and 
challenging. So my list of total games played in my lifetime is: JQBoggle, 
Monument Valley, The Room. (Oh, I tried Angry Birds a few times.)

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Dec 14, 2015, at 11:39 PM, Scott Rossi wrote:

> 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


___
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-15 Thread [-hh]
> Peter wrote:
> I need to set up a build worker for rPi on our CI
> system... maybe after I deal with the release notes.

This forces me to add also an egoist wish:

The release notes could be shortened to 6-7 short lines.

[1] LC version ... released on 
[2] Link to GitHub https://github.com/livecode
[3] Link to QC http://quality.livecode.com/
[4] progressState of LC Builder is 
[5] progressState of HTML5 builder is 
[6] progressState of other features  is 
[7] Health and Wealth of LC-team is  and 

The big development steps/improvements are and will be
described better in LC blogs and articles(TWIL) anyway.
By the above they'll attract better attention.

So you are ready in ten minutes to start with setting up
a build worker for RaspberryPi.

Just launch your rockets for that, please! :-))
And don't forget to invite Fraser for this trip.

Hermann

p.s. You'll win also this 'test engine':
Test a stack in the IDE on RaspberryPiB --- the speed is very
close to that you can await for a HTML standalone for a medium
fast machine (or vice versa).


___
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-15 Thread Peter M. Brigham
OMG, Jeanne DeVoto! I had no idea you were following this list.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Dec 15, 2015, at 2:09 AM, Jeanne A. E. DeVoto wrote:

> 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


___
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-15 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.  

Good Luck,

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


Midnite-Rises - Images with transparent "see through" areas

2015-12-15 Thread Brahmanathaswami
I've been studying that graphic novel that is touted as a testimony for 
LiveCode's platform: Midnite Rises, teaser/trailer for the game by the 
same name.


The underlying principles for delivery seem simple enough. It looks like 
two or three 2D images are on layers and as you swipe slowly, the 
algorithm is to move the top layer left to right (or right to left) at a 
higher speed (say 3x) than the second layer (which moves at 2x) and the 
first/background layer (which moves at 1 x)


This gives the fascinating illusion of depth, although each layer is 
pure simple 2D illustration. The transparent areas of the top layers 
reveal background image objects, very similar to the human visual 
experience if we move left to right... very cool


QUESTIONS:

1) Is my assumption correct that these are just three images on top of 
each other on an LC card?
2) If so, how does one set up the transparent "look through" areas of 
these images?


Seems this is a "thing" now... as lots of displays and web sites built 
for mobile are doing this same algorithm -- top layer with transparency 
moves quickly, underlying layers that "show through" move at a different 
rate(s)


Brahmanathaswami


___
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: Midnite-Rises - Images with transparent "see through" areas

2015-12-15 Thread Scott Rossi
Like Colin mentioned in another thread: parallax.

https://en.m.wikipedia.org/wiki/Parallax

If transparency is part of an image, it's likely just a PNG.  Otherwise, you 
might have multiple images in a group.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Dec 15, 2015, at 6:23 PM, Brahmanathaswami  wrote:
> 
> I've been studying that graphic novel that is touted as a testimony for 
> LiveCode's platform: Midnite Rises, teaser/trailer for the game by the same 
> name.
> 
> The underlying principles for delivery seem simple enough. It looks like two 
> or three 2D images are on layers and as you swipe slowly, the algorithm is to 
> move the top layer left to right (or right to left) at a higher speed (say 
> 3x) than the second layer (which moves at 2x) and the first/background layer 
> (which moves at 1 x)
> 
> This gives the fascinating illusion of depth, although each layer is pure 
> simple 2D illustration. The transparent areas of the top layers reveal 
> background image objects, very similar to the human visual experience if we 
> move left to right... very cool
> 
> QUESTIONS:
> 
> 1) Is my assumption correct that these are just three images on top of each 
> other on an LC card?
> 2) If so, how does one set up the transparent "look through" areas of these 
> images?
> 
> Seems this is a "thing" now... as lots of displays and web sites built for 
> mobile are doing this same algorithm -- top layer with transparency moves 
> quickly, underlying layers that "show through" move at a different rate(s)
> 
> Brahmanathaswami
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Script Indenting?

2015-12-15 Thread Kay C Lan
On Tue, Dec 15, 2015 at 10:18 PM, Peter M. Brigham  wrote:

> OMG, Jeanne DeVoto!


It really is Christmas!  Now all we need is a post from Dan Shafer and it
will prove there really is a Santa Claus :-)
___
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: Midnite-Rises - Images with transparent "see through" areas

2015-12-15 Thread Richmond

On 16/12/15 04:23, Brahmanathaswami wrote:
I've been studying that graphic novel that is touted as a testimony 
for LiveCode's platform: Midnite Rises, teaser/trailer for the game by 
the same name.


The underlying principles for delivery seem simple enough. It looks 
like two or three 2D images are on layers and as you swipe slowly, the 
algorithm is to move the top layer left to right (or right to left) at 
a higher speed (say 3x) than the second layer (which moves at 2x) and 
the first/background layer (which moves at 1 x)


This gives the fascinating illusion of depth, although each layer is 
pure simple 2D illustration. The transparent areas of the top layers 
reveal background image objects, very similar to the human visual 
experience if we move left to right... very cool


QUESTIONS:

1) Is my assumption correct that these are just three images on top of 
each other on an LC card?
2) If so, how does one set up the transparent "look through" areas of 
these images?


Seems this is a "thing" now... as lots of displays and web sites built 
for mobile are doing this same algorithm -- top layer with 
transparency moves quickly, underlying layers that "show through" move 
at a different rate(s)


Brahmanathaswami



I would suppose that the see-through bits are because the layers are 
made using GIMP or Photoshop, with
see-through areas, and saved as GIF or PNG images, and then imported 
into LiveCode.


This isn't particularly difficult.

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


SQLite conundrum

2015-12-15 Thread James Hale
I have an array of text values (actually book chapters) that I am adding to a 
database.
The text is a mixture of alphabetic and numerals.
For some of it I have line numbers at the beginning of each paragraph.
E.g 
blah blah1. Blah blah more blah.2. Some more blah

After I insert this text into my database the line numbers have been deleted.
If I look at the db record I see...
blah blahBlah blah more blah.Some more blah

Yet other numbers contained within the text are still present.

If I examine the SQL values I pass to the INSERT statement the numbers are 
still present.
 In the text.
They just don't appear in the db!

I thought it might be a general thing  such as a number followed by a period is 
rejected, but I also create some FTS tables which have entries for each of 
these lines. In this case it is without the HTML tags but each line 
(corresponding to a paragraph of text) begins with a number as in...
   1. Blah blah more blah.
And these are correctly stored in the table.

Does anyone have any idea as to what might be deleting the numbers?

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