Re: windows standalone performance

2019-12-12 Thread Pi Digital via use-livecode
From what I can tell from QC is that it has not been confirmed and been marked 
as pending due to not being able to reproduce. Therefore the report is in limbo 
until further evidence or successful, consistent reproduction can be displayed. 

Hence, if you make a video of your findings it makes it easier for us to see 
your specific findings and external system conditions. That may well help us 
find out what causes the hang or lag. 

All the best. 

Sean Cole
Pi Digital Prod Ltd

> On 13 Dec 2019, at 01:23, Neville via use-livecode 
>  wrote:
> 
> Hi Sean
> 
> The slow saving of stacks under LC9 occurs in Windows 10, native and using 
> Parallels Desktop.
> https://quality.livecode.com/show_bug.cgi?id=21305 
> 
> 
> Mac, Linux and previous versions of Windows are not affected.
> 
> The bug was confirmed by Quality Control although not initially; so  it is 
> evidently related to some particular configuration of Windows 10 - although 
> my Mac Parallels setup is out-of-the-box as was the native Windows machine of 
> the user who reported it to me. It is not affected by turning off Windows 
> Defender and AV software. There is nothing special I can think of for the 
> particular stack being saved (except it is large, to demonstrate the saving 
> speed); the example stack is in the bug report. When the "save stack” handler 
> activates you can see the temporary file created on the desktop of Explorer 
> immediately, but then a long wait for the file write to complete.
> 
> Saving a file from LC, rather than a stack, is not any slower than for other 
> Windows apps (so sqlite performance is presumably not affected).
> 
> Neville
> ___
> use-livecode mailing list
> use-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: windows standalone performance

2019-12-12 Thread Neville via use-livecode
Hi Sean

The slow saving of stacks under LC9 occurs in Windows 10, native and using 
Parallels Desktop.
https://quality.livecode.com/show_bug.cgi?id=21305 


Mac, Linux and previous versions of Windows are not affected.

The bug was confirmed by Quality Control although not initially; so  it is 
evidently related to some particular configuration of Windows 10 - although my 
Mac Parallels setup is out-of-the-box as was the native Windows machine of the 
user who reported it to me. It is not affected by turning off Windows Defender 
and AV software. There is nothing special I can think of for the particular 
stack being saved (except it is large, to demonstrate the saving speed); the 
example stack is in the bug report. When the "save stack” handler activates you 
can see the temporary file created on the desktop of Explorer immediately, but 
then a long wait for the file write to complete.

Saving a file from LC, rather than a stack, is not any slower than for other 
Windows apps (so sqlite performance is presumably not affected).

Neville
___
use-livecode mailing list
use-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: Animated Gifs - Keep them Running

2019-12-12 Thread Tom Glod via use-livecode
RGi rotate an svg using send it time and it seems to work really well.
i can rotate many svgs simultaneouslyso maybe svg is the answer
hereas far as a progress indicator.

On Thu, Dec 12, 2019 at 5:47 PM hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> @BR
>
> Don't run the gif as animation but do your own animation
> by setting the (or some) frames using "send in time".
> By that you can control better the "animation".
>
> Using a widget for that is significantly slower (takes more
> CPU) than LCS with such animations.
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Office:226-706-9339
Mobile:226-706-9793
___
use-livecode mailing list
use-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: Animated Gifs - Keep them Running

2019-12-12 Thread hh via use-livecode
@BR

Don't run the gif as animation but do your own animation
by setting the (or some) frames using "send in time".
By that you can control better the "animation".

Using a widget for that is significantly slower (takes more
CPU) than LCS with such animations.


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


HTML5: Native PlainText Fields

2019-12-12 Thread hh via use-livecode
We already have HTML5: Native RichText Field
https://hyperhh.de/html5/HTML5Field_v106-9.5.0X.html

This is now a bit simpler (and simpler to implement):
HTML5: Native PlainText Fields (basic example)

The stack, downloadable from
http://forums.livecode.com/viewtopic.php?p=186081#p186081

has a script of 90 lines. This includes (beside comments)

• all you need for creating a native input field (one line)
  and a textarea.
  Both display plain text only but with all usual keyboard
  features (UTF-8 and cmd-A/C/V/X/Z) and drag
• all you need for the UTF-8 text exchange between LC and
  these native fields.

All you have to do (in LC 9) is to unzip the stack and hit
button "TEST" from the LC toolbar.
___
use-livecode mailing list
use-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: Animated Gifs - Keep them Running

2019-12-12 Thread Richard Gaskin via use-livecode

Does the SVG widget run in a separate thread?

--
 Richard Gaskin
 Fourth World Systems

Richmond wrote:
If you can convert the gif into a series of SVG images you could, 
possibly, import them into a widget.


Richmond.

On 12.12.19 19:38, Sannyasin Brahmanathaswami via use-livecode wrote:

Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't 
possible to
make a progress indicator that doesn't affect overall performance, in
addition to having disturbingly jerky appearance."

Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator while 
"ugly" runs smoothly as expected.


It is a lovely gif, but it "hangs" when the processor on phone is
doing something else. It there are way to keep it's frames "circling"
until get we get a good download and dismiss it / vis is false?


http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html

--
   Richard Gaskin



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


Livecode field htmlText to HTML5/CSS

2019-12-12 Thread Paul Dupuis via use-livecode
Does anyone have a library  to  - as fully as possible - convert LC9 
Livecode htmlText to HTML5/CSS that I could use, beg, borrow, steal, or 
nominally license?


I have bits and pieces - a handler to convert the  tag to a style="..."> for font face, size, etc. and some other bits, but rather 
than build up a full library over however many eons it may take me, I 
thought I would see if anyone had something that was complete (or as 
complete as technically possible since) and covered all the spaceAbove, 
sapceBelow, etc. etc. new paragraph attributes and so on?




___
use-livecode mailing list
use-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: Animated Gifs - Keep them Running

2019-12-12 Thread Richmond via use-livecode
If you can convert the gif into a series of SVG images you could, 
possibly, import them into a widget.


Richmond.

On 12.12.19 19:38, Sannyasin Brahmanathaswami via use-livecode wrote:

Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't 
possible to
make a progress indicator that doesn't affect overall performance, in
addition to having disturbingly jerky appearance."

Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator while 
"ugly" runs smoothly as expected.


It is a lovely gif, but it "hangs" when the processor on phone is
doing something else. It there are way to keep it's frames "circling"
until get we get a good download and dismiss it / vis is false?


http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html

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



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


Re: Animated Gifs - Keep them Running

2019-12-12 Thread Richmond via use-livecode

Presumably you mean the mobileBusyIndicator.

On 12.12.19 19:38, Sannyasin Brahmanathaswami via use-livecode wrote:

Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't 
possible to
make a progress indicator that doesn't affect overall performance, in
addition to having disturbingly jerky appearance."

Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator while 
"ugly" runs smoothly as expected.


It is a lovely gif, but it "hangs" when the processor on phone is
doing something else. It there are way to keep it's frames "circling"
until get we get a good download and dismiss it / vis is false?


http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html

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



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


Re: Groups in the message path: Trapping Mouseup

2019-12-12 Thread Sannyasin Brahmanathaswami via use-livecode

User Guide: I tell myself periodically to read the whole thing  (be never 
do…tinyDictionary has me hooked) … here it is, as you says, clearly stated on 
page 105


If background behavior is false, the group is in the message path for all 
controls it owns, but is not in the

message path of any other object.

If the background behavior is true, the group is also in the message path for 
any cards it is placed on. If

you send a message to a card control, the message passes through the control, 
then the card, then

any background groups on the card in order of number, then the stack.

Since a group owns any controls that are part of the group, if you send a 
message to a control within a

group, the group is in the message path for its own controls, regardless of 
whether it’s background

behavior is true or false. If a group has already received a message because it 
was originally sent to one

of the controls in the group, the message is not sent through the group again 
after the card has

handled it.

Tip: If you want a handler in a group's script to affect only the objects in 
the group, place

the following statement at the beginning of the handler:

if the owner of the target is not me then pass message.

This filters out any objects that are not part of the group.


I'm having fun there, but seriously, the User Guide has been pretty good
in recent years. I'm often surprised at how the answers to many forum
questions are covered well in it, yet when I ask about it most people
don't even notice that it's there, the second-from-the-top item in LC's
Help menu.
___
use-livecode mailing list
use-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: Animated Gifs - Keep them Running

2019-12-12 Thread Sannyasin Brahmanathaswami via use-livecode
Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't 
possible to
make a progress indicator that doesn't affect overall performance, in
addition to having disturbingly jerky appearance."

Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator 
while "ugly" runs smoothly as expected.

> It is a lovely gif, but it "hangs" when the processor on phone is
> doing something else. It there are way to keep it's frames "circling"
> until get we get a good download and dismiss it / vis is false?


http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html

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


LC PDF User Guide

2019-12-12 Thread Kurt Kaufman via use-livecode
Thanks so much for bringing this to my attention. I was aware of the LC User 
Guide in the past, but hadn't realized (or had forgotten) that it is in the PDF 
format, and as such, is easy to duplicate and press into service on a tablet 
for browsing or when assistance is required.

Kurt

Richard Gaskin wrote:
"...
It has more than 650 pages of comprehensive info on using LiveCode,
broken down into well organized sections and subsections, often with
illustrations and screen shots, all put together in a well-indexed PDF.

They call it "LiveCode User Guide", and it's been secretly bundled with
every release of LiveCode for several years. :)

I'm having fun there, but seriously, the User Guide has been pretty good
in recent years. I'm often surprised at how the answers to many forum
questions are covered well in it, yet when I ask about it most people
don't even notice that it's there, the second-from-the-top item in LC's
Help menu.
..."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode