Re: Mobile Check Bandwidth Function

2017-07-03 Thread Monte Goulding via use-livecode

> On 4 Jul 2017, at 6:50 am, Richard Gaskin via use-livecode 
>  wrote:
> 
> >> And iOS only?  What do we do for the other 80% of the world?
> >
> > Android:
> > https://developer.android.com/reference/android/net/ConnectivityManager.html
> >  
> > 
> 
> I figured there was a parallel API for Android.  I guess my question was when 
> we might see feature completion on the script access for that in LC.


Actually we have access to basically anything you want on Android now via LCB 
and now that that’s the case if we provided an API for it we would do it via 
LCB too. I’m sure Ali could wrap it pretty quickly but it might be a good idea 
for the community to take it on and give us some feedback on our docs. The 
sooner people start wrapping and sharing code for system APIs the better.
 
https://livecode.com/using-infinite-livecode-for-android-to-create-native-controls-and-wrap-os-apis/
 


Cheers

Monte
___
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: Mobile Check Bandwidth Function

2017-07-03 Thread Mark Wieder via use-livecode

On 07/03/2017 01:50 PM, Richard Gaskin via use-livecode wrote:

I figured there was a parallel API for Android.  I guess my question was 
when we might see feature completion on the script access for that in LC.




...and thus my snarky comment about the "iphone" naming.

--
 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: [OT] Renewing Apple Developer ID Installer Certificate

2017-07-03 Thread Marty Knapp via use-livecode
Thanks Colin. It is a bit different than iOS (and I'm not selling in the 
Mac App Store either). What I've done at this point is to generate new 
certificates for both the Developer ID Application and Developer ID 
Installer. There appears to be no renewal capability. I use AppWrapper 
to codesign my apps and in looking at the setup, I'm guessing that 
Developer ID Installer certificate, while required in AppWrapper, is 
only for when you build an installer package (I use a DMG).


I'll have to wait till Wednesday when my old certificates expire to see 
if I have trouble with the previously signed apps. If someone knows 
anything more, I'm all ears. Hopefully I'm good for another 5 years, 
when I'll forget how to do this all over again - I love getting old!


Marty

I would think that it’s the same as with iOS. When you go back to 
https://developer.apple.com/account/mac/certificate/ 
 after renewing your 
subscription it will most likely have an expired certificate. You make a new one, 
then go to the provisioning profile for your app, it should show as expired. Edit it 
and re-select the certificate, picking the new one.

If the current certificate is still valid for a while you can still edit the 
provisioning profile to give it a fresh start.

If you edit a provisioning profile file you should find an ExpirationDate entry 
that gives the date it will expire.



On Jul 3, 2017, at 12:23 PM, Marty Knapp via use-livecode 
 wrote:

I sell and distribute Mac apps from my own website and have the Apple Developer 
ID Application Certificate and the Developer ID Installer Certificate. I've 
been notified that they will both expire in a couple of days.

According to the Apple web site, if the Developer ID Installer Certificate 
expires, users will *not* be able to install any applications signed with the 
certificate. (an expired Developer ID Application Certificate is not a problem 
for existing installers).

What I can't seem to find are instructions on *renewing* the certificate. I 
found one article that said I needed to revoke the old one and then create a 
new one. That makes me a little nervous. Obviously I don't want to screw this 
up and have customers going crazy, while I'm frantically trying to figure out 
what to do.

You would think that Apple would have an easy Steps 1-2-3 to renew, but I sure 
can't find them. Anyone done this recently? Should I revoke the old one or wait 
till it expires?

Thanks for any help,
Marty




___
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

Release 9.0.0 DP7 / SVG / The book of the film of the poem

2017-07-03 Thread Alejandro Tejada via use-livecode
Hi Frans,

> Many thanks for your assistance!

Glad to help! but SVG file format inherent problems
will remain problematic for some time to come:

"Allowing JavaScript within SVG sounds like a
“Wouldn’t that be neat” idea that someone threw
in without much thought about the security
consequences. It makes SVG inherently riskier
than other image formats."

https://madfileformatscience.garymcgath.com/2016/11/21/svg-images/

By the way, How many different SVG file versions
already exists? At least 30 or 40 (maybe more) and
the only software that renders correctly most of them
is Google Chrome...

Looks like every Design software produces 3 or 4
(maybe more) different SVG versions... and if you
try to open a SVG produced in one Design program
using another Design program, the results are mostly
problematic and sometimes, the same Design program
that exported a SVG file could not open it correctly again...

Previously, in this mail list, we have discussed about
these (and others) SVG problems so it's not necessary
to repeat ourselves again. Now, I am taking a close look
at Xara 365 (Low cost program) and Microsoft Design
Expression (Free) to create WIX and XAML files compatible
with LiveCode vector graphics.

> I tried to write a script to adapt some of the SVG files
> at hand according to your instructions but that got me
> into a lot of offset problems and the widget ran into
> a lot of “exceeds boundary “ or something similar in
> rendering. I have written “translation scripts” for 30 years
> now but this one is a bit fickle.

It's SVG file format that is fickle. I discover this while
updating scripts for stack "SVGL":
http://livecodeshare.runrev.com/stack/112/SVGL

When I changed the code to import correctly
one particular SVG file, scripts breaks for
the rest of SVG files and a closer look at the
SVG source does not reveal why this happens.

After some though, I reach the conclusion that
using XAML (a Microsoft format) or WIX (Xara Text format)
would be less stressful and more productive
for LiveCode developers.

> But for the sake of letting everybody know: the solution
> of SVG rendering strokes combined with  RGB fills of
> Alejandro below works. I must admit that it helped that
> he had already pinpointed the RGB ones with a stroke
> (sound like a disease doesn’t it).

For this, just use a text editor like NotePad ++
This Text Editor could find a string in all files
within a folder. This is very useful to find paths
with a fill and a stroke within your thousands of
svg files.

> Duplicating the lines manually and replacing with
> “fill:none” did the trick: The SVG then renders
> exactly as in Illustrator and in Affinity Designer.
[snip]
> maybe one of the authors of the widget has an idea
> on how to bypass this/implement it in the LCB code.

You want to talk with Peter Thirkell and Mark Wieder:
http://forums.livecode.com/viewtopic.php?f=93=27811=30

By the way Frans, you could import Adobe Ilustrator files
(version 7or 5.5) into LiveCode and use multicolor gradients
in your ilustrations. Download and test this stack posted
many, many years ago:
http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05C.zip

Have a nice week!

Al
___
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: Mobile Check Bandwidth Function

2017-07-03 Thread Richard Gaskin via use-livecode

Mark Wieder wrote:

> On 07/03/2017 09:35 AM, Richard Gaskin via use-livecode wrote:
>
>> "reachability"?  Whiskey Tango Foxtrot?  I'd love to hear the
>> backstory on that name choice.  It has the scent of things like
>> "srcBic", adopted from the arbitrary choices of neckbeards who
>> define OS APIs.  Maybe there's an API for iOS called
>> NSReachabilityChanged.
>
> Well, you've got Apple to blame for that one.
> 
https://developer.apple.com/library/content/samplecode/Reachability/Introduction/Intro.html



Did I call or it did I call it? :)  Seems my nose for nomenclature has 
gotten pretty good over the decades.  Like bears with sandwiches, I can 
smell an Apple API name at 400 yards. :)



>> And iOS only?  What do we do for the other 80% of the world?
>
> Android:
> 
https://developer.android.com/reference/android/net/ConnectivityManager.html


I figured there was a parallel API for Android.  I guess my question was 
when we might see feature completion on the script access for that in LC.


--
 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: Snapshot of computer desktop

2017-07-03 Thread Tom Glod via use-livecode
cool thanks Richmond.

On Sat, Jul 1, 2017 at 5:34 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Frankly just a rehash and a tart-up of something I made in about 2002;
> maybe useful:
>
> https://www.dropbox.com/s/okypdc1f9sx0ghu/STS.livecode.zip?dl=0
>
> Love, 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: [OT] Renewing Apple Developer ID Installer Certificate

2017-07-03 Thread Colin Holgate via use-livecode
I would think that it’s the same as with iOS. When you go back to 
https://developer.apple.com/account/mac/certificate/ 
 after renewing your 
subscription it will most likely have an expired certificate. You make a new 
one, then go to the provisioning profile for your app, it should show as 
expired. Edit it and re-select the certificate, picking the new one.

If the current certificate is still valid for a while you can still edit the 
provisioning profile to give it a fresh start.

If you edit a provisioning profile file you should find an ExpirationDate entry 
that gives the date it will expire.


> On Jul 3, 2017, at 12:23 PM, Marty Knapp via use-livecode 
>  wrote:
> 
> I sell and distribute Mac apps from my own website and have the Apple 
> Developer ID Application Certificate and the Developer ID Installer 
> Certificate. I've been notified that they will both expire in a couple of 
> days.
> 
> According to the Apple web site, if the Developer ID Installer Certificate 
> expires, users will *not* be able to install any applications signed with the 
> certificate. (an expired Developer ID Application Certificate is not a 
> problem for existing installers).
> 
> What I can't seem to find are instructions on *renewing* the certificate. I 
> found one article that said I needed to revoke the old one and then create a 
> new one. That makes me a little nervous. Obviously I don't want to screw this 
> up and have customers going crazy, while I'm frantically trying to figure out 
> what to do.
> 
> You would think that Apple would have an easy Steps 1-2-3 to renew, but I 
> sure can't find them. Anyone done this recently? Should I revoke the old one 
> or wait till it expires?
> 
> Thanks for any help,
> Marty
> 

___
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

[OT] Renewing Apple Developer ID Installer Certificate

2017-07-03 Thread Marty Knapp via use-livecode
I sell and distribute Mac apps from my own website and have the Apple 
Developer ID Application Certificate and the Developer ID Installer 
Certificate. I've been notified that they will both expire in a couple 
of days.


According to the Apple web site, if the Developer ID Installer 
Certificate expires, users will *not* be able to install any 
applications signed with the certificate. (an expired Developer ID 
Application Certificate is not a problem for existing installers).


What I can't seem to find are instructions on *renewing* the 
certificate. I found one article that said I needed to revoke the old 
one and then create a new one. That makes me a little nervous. Obviously 
I don't want to screw this up and have customers going crazy, while I'm 
frantically trying to figure out what to do.


You would think that Apple would have an easy Steps 1-2-3 to renew, but 
I sure can't find them. Anyone done this recently? Should I revoke the 
old one or wait till it expires?


Thanks for any help,
Marty


___
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: Mobile Check Bandwidth Function

2017-07-03 Thread Mark Wieder via use-livecode

On 07/03/2017 09:35 AM, Richard Gaskin via use-livecode wrote:

"reachability"?  Whiskey Tango Foxtrot?  I'd love to hear the backstory 
on that name choice.  It has the scent of things like "srcBic", adopted 
from the arbitrary choices of neckbeards who define OS APIs.  Maybe 
there's an API for iOS called NSReachabilityChanged.


Well, you've got Apple to blame for that one.
https://developer.apple.com/library/content/samplecode/Reachability/Introduction/Intro.html



If nothing else it's perhaps the most truly English-like token in the 
language, steeped as it is in vague ambiguity just like so much in 
natural languages. ;)


There are various interpretations of 'reachability' for iOS:

"Of course, Apple knows that many iPhone users want the option to 
perform many functions with one hand, so it created a nifty little 
feature called “Reachability.”"


https://bgr.com/2014/09/22/iphone-6-apple-features-iphone-6-plus/

According to the dictionary there are three LC functions here: 
reachabilityChanged, iphoneReachabilityTarget, and 
iphoneSetReachabilityTarget. I assume this "iphone" nomenclature is 
what's known as painting yourself into a corner.




And iOS only?  What do we do for the other 80% of the world?



Android:
https://developer.android.com/reference/android/net/ConnectivityManager.html

--
 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: Pinch and Zoom in Browser Widget

2017-07-03 Thread Colin Holgate via use-livecode
It also fails in Mac desktop, so you could save some time checking into why 
that is (if you have a trackpad that is).

Where is the code for a widget stored?



> On Jul 3, 2017, at 10:48 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> We can to go a web page in Safari in iOS or Chrome on Android and pinch and 
> zoom in.
> 
> The same web page, shown in the browser widget is non-responsive to pinch and 
> zoom out
> 
> Is there a solution for this?
> 
> BR


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


Pinch and Zoom in Browser Widget

2017-07-03 Thread Sannyasin Brahmanathaswami via use-livecode
We can to go a web page in Safari in iOS or Chrome on Android and pinch and 
zoom in.

The same web page, shown in the browser widget is non-responsive to pinch and 
zoom out

Is there a solution for this?

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


Re: Mobile Check Bandwidth Function

2017-07-03 Thread Bob Sneidar via use-livecode
+5

> On Jul 3, 2017, at 09:35 , Richard Gaskin via use-livecode 
>  wrote:
> 
> Thanks.
> 
> "reachability"?  Whiskey Tango Foxtrot?  I'd love to hear the backstory on 
> that name choice.  It has the scent of things like "srcBic", adopted from the 
> arbitrary choices of neckbeards who define OS APIs.  Maybe there's an API for 
> iOS called NSReachabilityChanged.
> 
> If nothing else it's perhaps the most truly English-like token in the 
> language, steeped as it is in vague ambiguity just like so much in natural 
> languages. ;)
> 
> And iOS only?  What do we do for the other 80% of the world?
> 
> -- 
> 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


Re: Mobile Check Bandwidth Function

2017-07-03 Thread Richard Gaskin via use-livecode

Bob Sneidar wrote:

>> On Jul 3, 2017, at 07:48 , Richard Gaskin wrote:
>>
>> I could have sworn there was a message named something like
>> networkConnetionChanged or mobileNetworkChanged or
>> mobileNetworkInterfaceChanged or whatever, but searching through
>> the Dictionary for every part of that I can think of turned up
>> nothing.
>>
>> Was I imagining this? If not, what is it's actual name, and would
>> be useful here?
>
> reachabilityChanged (for iOS only???)

Thanks.

"reachability"?  Whiskey Tango Foxtrot?  I'd love to hear the backstory 
on that name choice.  It has the scent of things like "srcBic", adopted 
from the arbitrary choices of neckbeards who define OS APIs.  Maybe 
there's an API for iOS called NSReachabilityChanged.


If nothing else it's perhaps the most truly English-like token in the 
language, steeped as it is in vague ambiguity just like so much in 
natural languages. ;)


And iOS only?  What do we do for the other 80% of the world?

--
 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: sorting algorithms

2017-07-03 Thread Mark Wieder via use-livecode

On 07/03/2017 06:26 AM, Ben Rubinstein via use-livecode wrote:

I think this series of videos may be what you're looking for:
https://www.youtube.com/user/AlgoRythmics/videos


!!! That's great !!! And the comments...

"This is... by a wide margin... the nerdiest thing... I've ever seen... 
in my whole life."


--
 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: Mobile Check Bandwidth Function

2017-07-03 Thread Bob Sneidar via use-livecode
Here is where a C applet would come in handy. Is it possible to have a C applet 
running that would be able to tell the LC engine that the network had changed? 
Otherwise, it would be REALLY USEFUL for a database application to "know" this. 

Bob S



___
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: Mobile Check Bandwidth Function

2017-07-03 Thread Bob Sneidar via use-livecode
reachabilityChanged (for iOS only???)

Bob S


> On Jul 3, 2017, at 07:48 , Richard Gaskin via use-livecode 
>  wrote:
> 
> I could have sworn there was a message named something like 
> networkConnetionChanged or mobileNetworkChanged or 
> mobileNetworkInterfaceChanged or whatever, but searching through the 
> Dictionary for every part of that I can think of turned up nothing.
> 
> Was I imagining this? If not, what is it's actual name, and would be useful 
> here?
> 
> -- 
> 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


Re: Mobile Check Bandwidth Function

2017-07-03 Thread Bob Sneidar via use-livecode
Ping will not work. Some firewalls will prevent ICMP packets to and or from a 
source. If this library is to be used universally, you need a better method to 
determine if a device is responding on a known port. 

The tried and true method for doing this is telnet. Unfortunately, Microsoft 
decided NOT to enable the telnet client on Windows 8 and above. It has to be 
enabled by an end user. If you can create your own telnet stack, then it's 
doable. 

telnet  

check the result. 

Bob S


> On Jul 2, 2017, at 18:53 , Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Can  anyone share their "test bandwidth" library?
> 
> I'm looking for both
> 
> 1) this phone is off line
>--easy enough… ping your server, no response, = off line
> 
> 2) check for bandwidth speed below some threshold and then inform  user
>   -- be patient, your internet speed is slow, this may take time.
> 
> anyone already invent this wheel yet?
> 
> BR

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

Re: OT: Mandelbrot set deep dive

2017-07-03 Thread Bob Sneidar via use-livecode
Last time I felt like that, kids had yet to adopt the habit of calling other 
guys "dude". 

Bob S


> On Jun 30, 2017, at 16:35 , Stephen Barncard via use-livecode 
>  wrote:
> 
>> After watching a couple minutes of this, I started getting light-headed
>> and felt like I was going back to the late 60s.
>> 
>> Phil Davis


___
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: Cross-platform app containers

2017-07-03 Thread Bob Sneidar via use-livecode
Well the better part would be running Windows apps in Chrome. I have me doubts 
like Mark. How this can come to fruition without the entire computing industry 
rising up to smoosh it or buy it out is the real question. Think about it. No 
more need to buy a Dell laptop, just get a Chromebook! 

Of course you get more with an OS than just the ability to run apps. I doubt 
for instance you could set up a domain controller running Windows Server 2016. 

Bob S


> On Jun 30, 2017, at 14:56 , Mark Wieder via use-livecode 
>  wrote:
> 
> On 06/30/2017 09:43 AM, Jerry Daniels via use-livecode wrote:
>> Y'all might wanna checkout Droplet Computing. This would let me run my Mac 
>> or Windows apps on a ChromeBook easily!
>> http://www.dropletcom.com/waitlist?ref=pKOcqQ
> 
> Why is this different/better than wine? For that matter why is there a 
> supposed quote from codeweavers on the website? Seems like they would be 
> competitors... I call vaporware on this.
> 
> -- 
> 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: Mobile Check Bandwidth Function

2017-07-03 Thread Richard Gaskin via use-livecode

Peter Bogdanoff wrote:
> Can anyone share their "test bandwidth" library?

I could have sworn there was a message named something like 
networkConnetionChanged or mobileNetworkChanged or 
mobileNetworkInterfaceChanged or whatever, but searching through the 
Dictionary for every part of that I can think of turned up nothing.


Was I imagining this? If not, what is it's actual name, and would be 
useful here?


--
 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: sorting algorithms

2017-07-03 Thread Ben Rubinstein via use-livecode

I think this series of videos may be what you're looking for:
https://www.youtube.com/user/AlgoRythmics/videos


On 30/06/2017 17:39, Bob Sneidar via use-livecode wrote:

I thought it was going to explain the different sort methods. I suppose which 
one you use depends on the nature of the data being sorted.

Bob S



On Jun 29, 2017, at 20:55 , Mark Wieder via use-livecode 
 wrote:

Fascinating youtube video demonstrating 15 sorting algorithms visually and 
sonically.

https://boingboing.net/2017/06/28/15-sorting-algorithms-visualiz.html

--
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: Advice on copying and pasting in mobile

2017-07-03 Thread Jonathan Lynch via use-livecode
Oh - I will buy the licensed one. Can I get it now?

Sent from my iPhone

> On Jul 3, 2017, at 7:01 AM, Thierry Douez via use-livecode 
>  wrote:
> 
> 2017-07-02 14:54 GMT+02:00 Jonathan Lynch
> 
> :
> 
> Hello,
>> 
>> I really need to be able to paste text in an LC field on mobile.
>> 
>> I can do it for iOS with the sunny text to speech external,
> 
> 
> 
> Great!
> 
> 
> 
>> but that external has an audio message that comes on when the app first
>> opens
>> ...
>> 
> 
> 
> This audio message is telling you that you have a Trial-Demo version
> of sunnYtext2speech external.
> 
> There is *no audio message with the licensed one*!
> 
> This is the only difference between the Trial and the licensed version.
> 
> Regards,
> 
> Thierry
> 
> 
>> --
> 
> Thierry Douez - sunny-tdz.com
> sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
> ___
> 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: Advice on copying and pasting in mobile

2017-07-03 Thread Thierry Douez via use-livecode
2017-07-02 14:54 GMT+02:00 Jonathan Lynch
​
:

Hello,
>
> I really need to be able to paste text in an LC field on mobile.
>
> I can do it for iOS with the sunny text to speech external,



​Great!

​

> but that external has an audio message that comes on when the app first
> opens
> ​...
>


This audio message is telling you that you have a Trial-Demo version
of sunnYtext2speech external.

There is *no audio message with the licensed one*!

This is the only difference between the Trial and the licensed version.

Regards,

Thierry


> --

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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 89

2017-07-03 Thread panagiotis merakos via use-livecode
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 #89 here: https://goo.gl/fpUKv7

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.


-- 
Panagiotis Merakos 
LiveCode Software Developer

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


Re: Release 9.0.0 DP7 / SVG / The book of the film of the poem/ Alejandro solved it.

2017-07-03 Thread Frans Schoffelen via use-livecode
Hi Alejandro, 

sorry for the delayed answer. Busy times. I tried to write a script to adapt 
some of the SVG files at hand
according to your instructions but that got me into a lot of offset problems 
and the widget ran into
a lot of “exceeds boundary “ or something similar in rendering. I have written 
“translation scripts” for 30 years
now but this one is a bit fickle.

But for the sake of letting everybody know :  the solution of SVG rendering 
strokes combined with  RGB fills of Alejandro below works. 

I must admit that it helped that he had already pinpointed the RGB ones with a 
stroke ( sound like a disease doesn’t it).

Duplicating the lines manually and replacing with “fill:none” did the trick : 
The SVG then renders exactly as in Illustrator and in Affinity Designer.

Picture :

https://www.dropbox.com/s/79beopxkyy63sqw/PUPPET%20SSVG%20with%20Alejandros%20changes.png?dl=0

As it stands I will still have to figure out a reproducible and reliable way of 
finding an duplicating in the SVG-text or maybe
one of the authors of the widget has an idea on how to bypass this/implement it 
in the LCB code. 

Many thanks for your assistance!


kind regards

Frans Schoffelen, Berlin


> 
> 
> From: Alejandro Tejada 
> Subject: Release 9.0.0 DP7 / SVG / The book of the film of the poem
> Date: 29 June 2017 at 21:55:00 GMT+2
> To: use-livecode@lists.runrev.com
> 
> 
> Hi Franz,
> 
> I found a temporal solution for a limitation that you found
> in the SVG MultiColor widget.
> 
> Looks like every vector path rendered in this SVG MultiColor
> widget could have a fill or a stroke, but not both. If a path
> have a fill color, the stroke is not rendered.
> 
> The workaround for this limitation is to duplicate those few
> paths that have a non empty fill and a stroke and change
> the fill atribute of duplicated line to fill:none
> 
> In the sample svg file that you posted, there are only 7 paths
> that you must duplicate and replace the fill atribute to fill:none
> 
> path d="M93.86,48.612C93.86...
> path d="M66.405,228.331C66.751...
> path d="M30.188,194.513C30.188...
> path d="M30.354,51.441C30.354...
> path d="M33.794,64.434C33.794...
> path d="M97.419,64.848C97.419...
> path d="M93.86,48.612C93.86...
> 
> Duplicating these very few lines in every svg file is
> the easiest and fastest way to jump over this
> limitation (until a new version of SVG Multicolor
> widget is released). It's relatively easy to create
> a Livecode script that automate this task, but
> someone in your team should verify that both
> svg files (original svg and modified svg for importing
> into LiveCode) are visually identical.
> 
> In a previous message, you wrote that you have
> thousands of files to import into a Livecode app.
> This is the reason why I took a closer look at it.
> 
> By the way, are you compressing these SVG
> paths data before using them inside widgets?
> Probably, you could reduce a lot the size of your app
> if you compress this SVG path data.
> 
> Also, I noticed that your SVG path data uses
> 3 decimal points (like 51.088)
> Please, check if changing for 2 decimal points
> (like 51.09) do not change too much the
> appearance of your files.
> 
> Tell us if this advice works fine in your own project.
> You will be saving a lot of time for others that find
> these same problems.
> 
> Al
> 

Frans Schoffelen
http://knowlegistics.com  // Software & Sound // Berlin



___
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: Mobile Check Bandwidth Function

2017-07-03 Thread axwald via use-livecode
Hi.

Peter Bogdanoff via use-livecode wrote
> Can anyone share their "test bandwidth" library?

Found it difficult & time consuming to test the actual bandwidth, so I'm
testing the latency now. Bad latency usually relates to bad bandwidth ;-)

On my server I have a php script:
-

-

And in LC I use this function:
-
function INTest full
   put "http://myServer.net/tools/myip.php; into myIPURL
   if full then
  put the millisecs into t1
  put url myIPURL into myIP
  put the millisecs - t1 into t2
  return myIP & CR & t2
   else
  return url myIPURL
   end if
end INTest
-

Calling INTest() gives empty if we have no IN, else the actual public IP as
seen from the server (often useful anyways). Calling INTest(true)
additionally gives the latency on line 2.

Since this is small and not intrusive at all I can call it quite often to
monitor IN quality even on mobile.

Have fun!

axwald



-
• Livecode programming until the cat hits the fan •
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Mobile-Check-Bandwidth-Function-tp4716503p4716511.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