IP to decimal function?

2017-05-13 Thread Tim Selander via use-livecode

Hi

I need to convert IP address from web logs to decimal for easier 
processing...


Before I try to "reinvent the wheel" (and no doubt roll off a 
cliff) I'm wondering if anyone already has such a function they'd 
be willing to share?


TIA

Tim Selander
Tokyo, Japan

___
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: SVG widget?

2017-05-13 Thread William Prothero via use-livecode
I wonder too. Seems with all the demand for SVG, it would be a natural to build 
into the engine. I’m trying to remember if getting SVG was a kickstarter goal???

Best,
Bill P

> On May 13, 2017, at 1:15 PM, Jonathan Lynch via use-livecode 
>  wrote:
> 
> I wish they would just buy an svg library and create a real svg object. This 
> seems like such an obvious thing to do.
> 
> Sent from my iPhone
> 
>> On May 13, 2017, at 4:00 PM, Richmond via use-livecode 
>>  wrote:
>> 
>> Well . . . .
>> 
>> here [ https://livecode.com/resources/roadmap/ ] all that is mentioned is a
>> 
>> "SVG vector shape widget"
>> 
>> Which is what we've got :/
>> 
>> Obviously full, multi-path SVG import is not
>> being considered.
>> 
>> Richmond.
>> 
>>> On 13.05.2017 21:16, Alejandro Tejada via use-livecode wrote:
>>> What happened to the multiple color SVG widget?
>>> http://forums.livecode.com/viewtopic.php?f=93=27811=147279#p147286
>>> 
>>> Al
>>> 
>>> Scott Rossi wrote:
>>> 
 Maybe it’s more accurate to say “one single path definition”
 because you aren’t limited to a single vector path.
 You can create compound graphics from multiple paths
 as is done in many icons and graphics.
 For example:
 go url "http://tactilemedia.com/download/svg_sample.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: Transparent browser widgets?

2017-05-13 Thread Jonathan Lynch via use-livecode
I used to have an occasional bug in 8.1.3 where the browser widget would get a 
transparent background.

I had to restart the ide when that happened.

So, I think it may be possible.

Sent from my iPhone

> On May 13, 2017, at 7:15 PM, hh via use-livecode 
>  wrote:
> 
> I'll bet that a transparent background for the browser widget is
> impossible to have. This would require that webkit or Chromium
> (or whatever LC uses for the browser widget) allow a transparent
> background.
> 
> What will be probably possible is setting the blendLevel of the
> widget (as a whole), see Mark's note here:
> http://quality.livecode.com/show_bug.cgi?id=19667 
> 
> 
> ___
> 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


Seeking recommendations / suggestions for use of library stacks.

2017-05-13 Thread Alex Tweedly via use-livecode


I'm starting to make more use of library stacks (partly because I'm 
trying to switch away from revIgniter to a CGI-based solution to allow 
me to do more work & debugging in the IDE).


And now I'm looking for best-practice and/or suggestions for how to use 
library stacks. The not-quite-obvious context is that if some other 
library is later put into use, and it has no librarystack handler, then 
the librarystack message can get through to my (already in use) library.


My naive approach (from non-LC background) was very simple :

all initialisation would be done in the librarystack handler

that handler would also set a script-local variable to avoid repeated 
initialisation


so something like

local sIHaveBeenInitialized
on librarystack
  if sIHaveBeenInitialized is empty then
put the millisecs into sIHaveBeenInitialized
  else
 -- setup initial / default values, etc.
 
  end if
end librarystack

This is fine for subsequent usage of the library - however, it's not so 
convenient while working on the library. The problem then is that any 
changes made to the initialization won't take effect unless I either 
manually unset this script-local, or exit / re-enter the IDE.


I thought about adding a reset handler, e.g.

on library_reset
   put empty int sIHaveBeenInitialized
   pass library_reset
end library_reset

which would give me a quick, safe and easy way to reset any (all) 
libraries from the message box. But then I thought it felt like I was 
rediscovering a wheel - so I thought I'd ask on here :-)


Is there another easier / better way to handle this ?

Thanks
Alex.


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


Re: Transparent browser widgets?

2017-05-13 Thread hh via use-livecode
I'll bet that a transparent background for the browser widget is
impossible to have. This would require that webkit or Chromium
(or whatever LC uses for the browser widget) allow a transparent
background.

What will be probably possible is setting the blendLevel of the
widget (as a whole), see Mark's note here:
http://quality.livecode.com/show_bug.cgi?id=19667 


___
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: SVG widget?

2017-05-13 Thread hh via use-livecode
> Scott R. wrote:
> Maybe it’s more accurate to say "one single path definition"
> because you aren't limited to a single vector path. You can
> create compound graphics from multiple paths as is done in
> many icons and graphics.
> For example:
> go url "http://tactilemedia.com/download/svg_sample.livecode;

Yes. If you define path by "connected points" (I haven't seen
that in any specification).

But your example is a fine example for a nice option we have
with the LC-SVG icons:
We can simply "merge" some of them to one icon by merging their
(textual) iconPathes.
___
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: WannaCry [OT]

2017-05-13 Thread Ralph DiMola via use-livecode
I still run batch processing on a pair of VAXs running Open VMS. No viruses
on these babies. They've been booted for ...

"OpenVMS V7.1  on node ALBVM1  13-MAY-2017 18:44:45.72  Uptime  921
21:52:27"
"OpenVMS V7.3-2  on node EISVM1  13-MAY-2017 19:31:56.06  Uptime  72
11:09:55"

The lame 72 days on the second VAX is only because I did not get the
generator on-line fast enough 72 days ago when I lost street power.

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 Richmond Mathewson via use-livecode
Sent: Saturday, May 13, 2017 1:05 PM
To: How to use LiveCode
Cc: Richmond Mathewson
Subject: Re: WannaCry [OT]

I cannot afford to be smug as my Linux rig (Xubuntu 16.04 64-bit) was hosed
completely about 4 months ago and I only managed to reciver about 5% of my
files.

What I do not understand is how organisations like the British State Health
System (NHS) cane be so bl**dy stupid to rely on Windows, without
(obviously) all sorts of safeguards.

My "underpants" may have a few holes in them, but everyone knows that
Windows is more holes than underpants, and it has been quite adequately
demonstrated that Windows executables running under WINE on Linux tend to be
faster and less vulnerable to viruses.

In about 1985, when I was an undergraduate, the news about AIDS was suddenly
announced, and the TV and radio was banging on about "preventative
measures": obviously the British medical authorities know their stuff re
medical matters, but when it comes to computer systems they neither know
anything much about them, nor do they employ people who do.

--

  Many years ago I read a science fiction book about people living in a
ploice state on Venus, which was, for the purposes of the story, a steamy,
soggy jungle planet with lots of muddy, hummocky islands in one big bog. The
rebels started communicating via AM radio (Amplitude Modulated) because the
authorities of the dictatorship had forgotten about that "old-Tech" and were
using FM (Frequency Modulated) equipment for all their communication needs.

Three days ago I got an e-mail from a chap in Ireland using a Commodore 64!

So, the answer, for us folks who don't have "endless boodle" to constantly
upgrade/update our machines, may lie in retreating into using ancient
machines . . . . so, I suppose my Summer will be spent on getting a
Winchester disc into my BBC Master Compact and sorting out how to get the
5-pin DIMM connection at the back to let me send and recieve e-mail
messages: after all, in 1989 I was using it, via Etisalat, to communicate
with various services even before the internet started.

You cannot send a virus to a BBC because the whole system resides on a ROM
chip!

Anyway, just at the moment I'm dusting off my G3 iMac running Mac OS
9.2.2 with Classilla.

Richmond.

On 5/13/17 6:36 pm, Richard Gaskin via use-livecode wrote:
> Richmond Mathewson wrote:
> > " The WannaCry virus only infects machines running Windows"
> >
> > http://www.bbc.com/news/technology-39896393
> >
> > Err . . . Linux
>
> While it's true that this particular exploit is dependent on a 
> Windows-specific vulnerability, this is no time for smugness. There's 
> a larger issue here relevant for all of us:
>
> IF YOUR SYSTEM US NO LONGER RECEIVING UPDATES, IT'S NO LONGER 
> RECEIVING CRITICAL SECURITY PATCHES FOR KNOWN VULNERABILITIES.
>
> Any such system, if connected to any network that connects to the 
> Internet, should be considered too dangerous to use.
>
> Doesn't matter whether it's Windows, macOS, or Linux.  Once the OS has 
> reached EOL, either upgrade to a supported OS version or turn off all 
> network connectivity.
>
>
> This exploit has become a global tragedy, but worse is that it appears 
> to have been preventable:
>
> Microsoft issued a patch protecting against this months ago, and for 
> the (shockingly large number of) machines still running XP, Microsoft 
> spent literally millions over a many years reminding everyone of XP's 
> EOL date and encouraging them to upgrade to a supported OS version.
>
> Apple (for reasons only they can discern but AFAIK have not disclosed) 
> are less kind to their users, often stopping updates without explicit 
> notice and little if any forewarning.  They do advertise when new 
> versions are available, but generally haven't provided clear notice 
> when EOL is reached for a given version. For example, when Snow 
> Leopard reached EOL, even though some 19% of all Macs were still 
> running it, no notification was provided that it would not be 
> receiving patches; it simply stopped getting them.
>
> With Ubuntu, EOL date is well advertised even before a version is 
> released.  That project follows a fixed release cycle in which all 
> long-term support versions get exactly five years of updates, and all 
> interim releases get 18 months of updates.  You know even before you 
> download 

SVG widget?

2017-05-13 Thread Alejandro Tejada via use-livecode
Peter Thirkell wrote a widget that import SVG with multiple colors.

Download this widget source code from this forum post:
http://forums.livecode.com/viewtopic.php?f=93=27811=147279#p147286

Could you compile and use it in your own LiveCode setup?

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: Another Stupid Question

2017-05-13 Thread Roger Eller via use-livecode
Or accessing databases without worrying about local drivers being
installed.

On May 13, 2017 1:48 PM, "Richard Gaskin via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> Richmond Mathewson wrote:
>
> > What is the point of LiveCode server and how
> > can it be used?
>
> LC Server is a good solution for people who are very accustomed to
> PHP-style workflows but prefer to use LiveCode Script rather than PHP.
>
> Like any app that uses stdin/stdout, it can be used as a CGI under Apache
> to provide server-side processing for dynamic web pages and other HTTP
> applications.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SVG widget?

2017-05-13 Thread Jonathan Lynch via use-livecode
I wish they would just buy an svg library and create a real svg object. This 
seems like such an obvious thing to do.

Sent from my iPhone

> On May 13, 2017, at 4:00 PM, Richmond via use-livecode 
>  wrote:
> 
> Well . . . .
> 
> here [ https://livecode.com/resources/roadmap/ ] all that is mentioned is a
> 
> "SVG vector shape widget"
> 
> Which is what we've got :/
> 
> Obviously full, multi-path SVG import is not
> being considered.
> 
> Richmond.
> 
>> On 13.05.2017 21:16, Alejandro Tejada via use-livecode wrote:
>> What happened to the multiple color SVG widget?
>> http://forums.livecode.com/viewtopic.php?f=93=27811=147279#p147286
>> 
>> Al
>> 
>> Scott Rossi wrote:
>> 
>>> Maybe it’s more accurate to say “one single path definition”
>>> because you aren’t limited to a single vector path.
>>> You can create compound graphics from multiple paths
>>> as is done in many icons and graphics.
>>> For example:
>>> go url "http://tactilemedia.com/download/svg_sample.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: SVG widget?

2017-05-13 Thread Richmond via use-livecode

Well . . . .

here [ https://livecode.com/resources/roadmap/ ] all that is mentioned is a

"SVG vector shape widget"

Which is what we've got :/

Obviously full, multi-path SVG import is not
being considered.

Richmond.

On 13.05.2017 21:16, Alejandro Tejada via use-livecode wrote:

What happened to the multiple color SVG widget?
http://forums.livecode.com/viewtopic.php?f=93=27811=147279#p147286

Al

Scott Rossi wrote:


Maybe it’s more accurate to say “one single path definition”
because you aren’t limited to a single vector path.
You can create compound graphics from multiple paths
as is done in many icons and graphics.
For example:
go url "http://tactilemedia.com/download/svg_sample.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

SVG widget?

2017-05-13 Thread Alejandro Tejada via use-livecode
What happened to the multiple color SVG widget?
http://forums.livecode.com/viewtopic.php?f=93=27811=147279#p147286

Al

Scott Rossi wrote:

> Maybe it’s more accurate to say “one single path definition”
> because you aren’t limited to a single vector path.
> You can create compound graphics from multiple paths
> as is done in many icons and graphics.
> For example:
> go url "http://tactilemedia.com/download/svg_sample.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: SVG widget?

2017-05-13 Thread Scott Rossi via use-livecode
Maybe it’s more accurate to say “one single path definition” because you aren’t 
limited to a single vector path.  You can create compound graphics from 
multiple paths as is done in many icons and graphics.

For example:
go url "http://tactilemedia.com/download/svg_sample.livecode;

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On May 13, 2017, at 6:56 AM, hh via use-livecode 
>  wrote:
> 
> The widget SVG Icon is set up to display at most ONE SINGLE path,
> no matter where the path comes from.


___
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: Transparent browser widgets?

2017-05-13 Thread Richard Gaskin via use-livecode

jonathandlynch wrote:

> Apparently, both WebView (android) and uiwebview (iOS) have
> transparent modes.
>
> Would it be easy for the LC team to implement a transparent mode for
> browser widgets, where the background color is transparent, allowing
> other objects to show through?
>
> This would obviate the need for some the processor intensive image
> transfers in and out of the widget.
>
> I know one would have to set the background-color of the body element
> to transparent and set a couple of settings in the WebView calls. Is
> that all it would take?

I'd guess that it wouldn't be hard to implement, but much harder to 
implement in a way performant enough for anyone to want to use. :)


I believe the browser widget maintains its own buffer, blitted to 
screen.  This makes it fast, but prevents it from mixing its rendering 
with LC-native controls.


For mixed rendering it would need to render within the compositing 
process Mark Waddingham outlined here a while back in answer to Jacque's 
question about acceleratedRendering.  My guess would be that doing so as 
rapidly as a browser might conceivably update would be computationally 
expensive.


That's just a guess, though.  I'd be happy to be wrong. Integrated 
rendering of the browser widget would be nice.


--
 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: Another Stupid Question

2017-05-13 Thread Richard Gaskin via use-livecode

Richmond Mathewson wrote:

> What is the point of LiveCode server and how
> can it be used?

LC Server is a good solution for people who are very accustomed to 
PHP-style workflows but prefer to use LiveCode Script rather than PHP.


Like any app that uses stdin/stdout, it can be used as a CGI under 
Apache to provide server-side processing for dynamic web pages and other 
HTTP applications.


--
 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: WannaCry [OT]

2017-05-13 Thread Richard Gaskin via use-livecode

Richmond Mathewson wrote:
> What I do not understand is how organisations like the British State
> Health System (NHS) cane be so bl**dy stupid to
> rely on Windows, without (obviously) all sorts of safeguards.

While this specific exploit happened to be Windows-specific, this isn't 
really a Windows issue.


It's a "USE A SUPPORTED OS VERSION!" issue.

From the information available thus far, it looks like Microsoft did 
their job.  They provided protection against this vulnerability months 
ago, and have been warning people not to use older unsupported OS 
versions for years.


If someone switches from Windows to macOS or Linux, as long as they keep 
using OS versions beyond EOL they'll still be putting themselves (ansd 
potentially any system they connect to) at risk.



> Anyway, just at the moment I'm dusting off my G3 iMac running Mac OS
> 9.2.2 with Classilla.

...hopefully without an Internet connection, since Apple stopped 
patching that one a long time ago and criminals have learned a lot since 
then.


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


Transparent browser widgets?

2017-05-13 Thread Jonathan Lynch via use-livecode
Apparently, both WebView (android) and uiwebview (iOS) have transparent modes.

Would it be easy for the LC team to implement a transparent mode for browser 
widgets, where the background color is transparent, allowing other objects to 
show through?

This would obviate the need for some the processor intensive image transfers in 
and out of the widget.

I know one would have to set the background-color of the body element to 
transparent and set a couple of settings in the WebView calls. Is that all it 
would take?

Sent from my iPhone
___
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


Another Stupid Question

2017-05-13 Thread Richmond Mathewson via use-livecode

What is the point of LiveCode server and how
can it be used?

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


Re: sysError List?

2017-05-13 Thread Richard Gaskin via use-livecode
I don't normally use LC Server because its syntax cannot be tested in 
the IDE, preferring to use standalones in server apps.


But I just downloaded LCS 8,.1.4 RC2, and running it from the command 
line with your sample script yields the expected valid path to my temp 
folder.


You may have found a Mac-specific bug worth reporting:
http://quality.livecode.com/

--
 Richard Gaskin
 Fourth World Systems

Rick Harrison wrote:

Hi Richard,

Ok, so I did the upgrade to version 8.1.4 RC 2 and
after rebooting I found that it made no difference at all.

When you are using lc-server and use
the following script, what do you get?



Thanks,

Rick


On May 13, 2017, at 11:15 AM, Richard Gaskin via use-livecode  wrote:

That value is either accurate or inaccurate. Either way, it seems a bug - the 
question is, where?

If accurate, it would appear there's something very unusual about your OS 
config, since temp files are a common necessity in modern OSes.

If inaccurate, it would appear to be a bug in LC 8.1.4 RC1.

Have you tried that in 8.1.4 RC2?
http://downloads.livecode.com/livecode/

If the problem is repeatable with the latest build you might want to file a bug 
report on that.

FWIW, testing both LC 8.1.4 RC2 and 9.0 DP6 I get a valid path to my system's 
temp folder.

--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web

Ambassador at 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: WannaCry [OT]

2017-05-13 Thread Richmond Mathewson via use-livecode
I cannot afford to be smug as my Linux rig (Xubuntu 16.04 64-bit) was 
hosed completely about 4 months ago and I only

managed to reciver about 5% of my files.

What I do not understand is how organisations like the British State 
Health System (NHS) cane be so bl**dy stupid to

rely on Windows, without (obviously) all sorts of safeguards.

My "underpants" may have a few holes in them, but everyone knows that 
Windows is more holes than underpants,
and it has been quite adequately demonstrated that Windows executables 
running under WINE on Linux tend to be faster and

less vulnerable to viruses.

In about 1985, when I was an undergraduate, the news about AIDS was 
suddenly announced, and the TV and radio was
banging on about "preventative measures": obviously the British medical 
authorities know their stuff re medical matters, but when it
comes to computer systems they neither know anything much about them, 
nor do they employ people who do.


--

 Many years ago I read a science fiction book about people living in a 
ploice state on Venus, which was, for the purposes
of the story, a steamy, soggy jungle planet with lots of muddy, hummocky 
islands in one big bog. The rebels started communicating
via AM radio (Amplitude Modulated) because the authorities of the 
dictatorship had forgotten about that "old-Tech" and were

using FM (Frequency Modulated) equipment for all their communication needs.

Three days ago I got an e-mail from a chap in Ireland using a Commodore 64!

So, the answer, for us folks who don't have "endless boodle" to 
constantly upgrade/update our machines, may lie in
retreating into using ancient machines . . . . so, I suppose my Summer 
will be spent on getting a Winchester disc into
my BBC Master Compact and sorting out how to get the 5-pin DIMM 
connection at the back to let me send and recieve e-mail
messages: after all, in 1989 I was using it, via Etisalat, to 
communicate with various services even before the internet started.


You cannot send a virus to a BBC because the whole system resides on a 
ROM chip!


Anyway, just at the moment I'm dusting off my G3 iMac running Mac OS 
9.2.2 with Classilla.


Richmond.

On 5/13/17 6:36 pm, Richard Gaskin via use-livecode wrote:

Richmond Mathewson wrote:
> " The WannaCry virus only infects machines running Windows"
>
> http://www.bbc.com/news/technology-39896393
>
> Err . . . Linux

While it's true that this particular exploit is dependent on a 
Windows-specific vulnerability, this is no time for smugness. There's 
a larger issue here relevant for all of us:


IF YOUR SYSTEM US NO LONGER RECEIVING UPDATES, IT'S NO LONGER 
RECEIVING CRITICAL SECURITY PATCHES FOR KNOWN VULNERABILITIES.


Any such system, if connected to any network that connects to the 
Internet, should be considered too dangerous to use.


Doesn't matter whether it's Windows, macOS, or Linux.  Once the OS has 
reached EOL, either upgrade to a supported OS version or turn off all 
network connectivity.



This exploit has become a global tragedy, but worse is that it appears 
to have been preventable:


Microsoft issued a patch protecting against this months ago, and for 
the (shockingly large number of) machines still running XP, Microsoft 
spent literally millions over a many years reminding everyone of XP's 
EOL date and encouraging them to upgrade to a supported OS version.


Apple (for reasons only they can discern but AFAIK have not disclosed) 
are less kind to their users, often stopping updates without explicit 
notice and little if any forewarning.  They do advertise when new 
versions are available, but generally haven't provided clear notice 
when EOL is reached for a given version. For example, when Snow 
Leopard reached EOL, even though some 19% of all Macs were still 
running it, no notification was provided that it would not be 
receiving patches; it simply stopped getting them.


With Ubuntu, EOL date is well advertised even before a version is 
released.  That project follows a fixed release cycle in which all 
long-term support versions get exactly five years of updates, and all 
interim releases get 18 months of updates.  You know even before you 
download exactly when it will reach EOL.


With all three, once you know it's reached EOL you must either 
upgrade, or put yourself and your organization at risk.


If the post-EOL exploits that occurred with Best Buy and Target a 
couple summers ago didn't drive the point home clearly enough, 
yesterday's global attack should:  "What, me worry?" is not a sound IT 
policy.




___
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: sysError List?

2017-05-13 Thread Rick Harrison via use-livecode
Hi Richard,

Ok, so I did the upgrade to version 8.1.4 RC 2 and
after rebooting I found that it made no difference at all.

When you are using lc-server and use
the following script, what do you get?



Thanks,

Rick

> On May 13, 2017, at 11:15 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> That value is either accurate or inaccurate. Either way, it seems a bug - the 
> question is, where?
> 
> If accurate, it would appear there's something very unusual about your OS 
> config, since temp files are a common necessity in modern OSes.
> 
> If inaccurate, it would appear to be a bug in LC 8.1.4 RC1.
> 
> Have you tried that in 8.1.4 RC2?
> http://downloads.livecode.com/livecode/
> 
> If the problem is repeatable with the latest build you might want to file a 
> bug report on that.
> 
> FWIW, testing both LC 8.1.4 RC2 and 9.0 DP6 I get a valid path to my system's 
> temp folder.
> 
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: WannaCry [OT]

2017-05-13 Thread Richard Gaskin via use-livecode

Richmond Mathewson wrote:
> " The WannaCry virus only infects machines running Windows"
>
> http://www.bbc.com/news/technology-39896393
>
> Err . . . Linux

While it's true that this particular exploit is dependent on a 
Windows-specific vulnerability, this is no time for smugness.  There's a 
larger issue here relevant for all of us:


IF YOUR SYSTEM US NO LONGER RECEIVING UPDATES, IT'S NO LONGER RECEIVING 
CRITICAL SECURITY PATCHES FOR KNOWN VULNERABILITIES.


Any such system, if connected to any network that connects to the 
Internet, should be considered too dangerous to use.


Doesn't matter whether it's Windows, macOS, or Linux.  Once the OS has 
reached EOL, either upgrade to a supported OS version or turn off all 
network connectivity.



This exploit has become a global tragedy, but worse is that it appears 
to have been preventable:


Microsoft issued a patch protecting against this months ago, and for the 
(shockingly large number of) machines still running XP, Microsoft spent 
literally millions over a many years reminding everyone of XP's EOL date 
and encouraging them to upgrade to a supported OS version.


Apple (for reasons only they can discern but AFAIK have not disclosed) 
are less kind to their users, often stopping updates without explicit 
notice and little if any forewarning.  They do advertise when new 
versions are available, but generally haven't provided clear notice when 
EOL is reached for a given version.  For example, when Snow Leopard 
reached EOL, even though some 19% of all Macs were still running it, no 
notification was provided that it would not be receiving patches; it 
simply stopped getting them.


With Ubuntu, EOL date is well advertised even before a version is 
released.  That project follows a fixed release cycle in which all 
long-term support versions get exactly five years of updates, and all 
interim releases get 18 months of updates.  You know even before you 
download exactly when it will reach EOL.


With all three, once you know it's reached EOL you must either upgrade, 
or put yourself and your organization at risk.


If the post-EOL exploits that occurred with Best Buy and Target a couple 
summers ago didn't drive the point home clearly enough, yesterday's 
global attack should:  "What, me worry?" is not a sound IT policy.


--
 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: sysError List?

2017-05-13 Thread Rick Harrison via use-livecode
Hi Richard,

Ok, I’ll try an upgrade to 8.1.4 RC2 to see if that works,
and then get back to you.

Thanks,

Rick

> On May 13, 2017, at 11:15 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Rick Harrison wrote:
> 
> >> On May 12, 2017, at 10:40 PM, Richard Gaskin wrote:
> >>
> >>  put specialFolderPath("temporary")
> >
> > Hi Richard,
> >
> > It returns blank.
> >
> > So now what?
> 
> That value is either accurate or inaccurate. Either way, it seems a bug - the 
> question is, where?
> 
> If accurate, it would appear there's something very unusual about your OS 
> config, since temp files are a common necessity in modern OSes.
> 
> If inaccurate, it would appear to be a bug in LC 8.1.4 RC1.
> 
> Have you tried that in 8.1.4 RC2?
> http://downloads.livecode.com/livecode/
> 
> If the problem is repeatable with the latest build you might want to file a 
> bug report on that.
> 
> FWIW, testing both LC 8.1.4 RC2 and 9.0 DP6 I get a valid path to my system's 
> temp folder.
> 
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: sysError List?

2017-05-13 Thread Richard Gaskin via use-livecode

Rick Harrison wrote:

>> On May 12, 2017, at 10:40 PM, Richard Gaskin wrote:
>>
>>  put specialFolderPath("temporary")
>
> Hi Richard,
>
> It returns blank.
>
> So now what?

That value is either accurate or inaccurate. Either way, it seems a bug 
- the question is, where?


If accurate, it would appear there's something very unusual about your 
OS config, since temp files are a common necessity in modern OSes.


If inaccurate, it would appear to be a bug in LC 8.1.4 RC1.

Have you tried that in 8.1.4 RC2?
http://downloads.livecode.com/livecode/

If the problem is repeatable with the latest build you might want to 
file a bug report on that.


FWIW, testing both LC 8.1.4 RC2 and 9.0 DP6 I get a valid path to my 
system's temp folder.


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


WannaCry [OT]

2017-05-13 Thread Richmond Mathewson via use-livecode

" The WannaCry virus only infects machines running Windows"

http://www.bbc.com/news/technology-39896393

Err . . . Linux

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


Re: Summer Visit

2017-05-13 Thread Richmond Mathewson via use-livecode

Sorry, folks; sent to the wrong address :/

Richmond.

On 5/13/17 5:47 pm, Colin Holgate via use-livecode wrote:

Hope John has a good trip.



On May 13, 2017, at 10:42 AM, Richmond Mathewson via use-livecode 
 wrote:

Dear Mum and Dada,

I have booked and paid for a flight with British Airways as follows:

Sofia - Heathrow 18 August, arrive at Heathrow at 4 pm.

Heathrow - Sofia 31 August, leave Heathrow at 8 am (I will stay with Savina the 
night before).

Love, John.



___
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: Summer Visit

2017-05-13 Thread Colin Holgate via use-livecode
Hope John has a good trip.


> On May 13, 2017, at 10:42 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> Dear Mum and Dada,
> 
> I have booked and paid for a flight with British Airways as follows:
> 
> Sofia - Heathrow 18 August, arrive at Heathrow at 4 pm.
> 
> Heathrow - Sofia 31 August, leave Heathrow at 8 am (I will stay with Savina 
> the night before).
> 
> Love, John.
> 


___
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


Summer Visit

2017-05-13 Thread Richmond Mathewson via use-livecode

Dear Mum and Dada,

I have booked and paid for a flight with British Airways as follows:

Sofia - Heathrow 18 August, arrive at Heathrow at 4 pm.

Heathrow - Sofia 31 August, leave Heathrow at 8 am (I will stay with 
Savina the night before).


Love, John.

___
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: SVG powered images

2017-05-13 Thread Jonathan Lynch via use-livecode
I feel like HH has an important point - this method uses a lot of processor 
power. We should minimize the burden on the processor (small animation, 
efficient JavaScript) and make sure our target users will consistently have the 
processing power to handle this kind of animation.


Sent from my iPhone

> On May 13, 2017, at 8:22 AM, hh via use-livecode 
>  wrote:
> 
> @Klaus
> I tested the svg-to-png conversion using both revBrowser and browser widget on
> Mac 10.12.4. This works. It doesn't work on Mac 10.10. (probably also Mac 
> 10.11).
> This is caused by webkit which LC uses on Mac.
> Where it runs, taking frames from an svg animation or from a video is 
> "stuttering"
> because the svg or video already takes most of the graphic card's power.
> 
> @Alejandro
> This SVG animation is a fine demo to show that pure LC script can be much 
> better
> than SVG animation. Adjust there with a menu the speed to your machine (you 
> can
> also change color and sizes of the gears while the animation is running). 
> 
> http://forums.livecode.com/viewtopic.php?p=137068#p137068
> ___
> 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: SVG widget?

2017-05-13 Thread Colin Holgate via use-livecode
In LiveCode 8.1.4 the path data for the M seems to look ok, and I didn’t get 
any errors.


> On May 13, 2017, at 9:56 AM, hh via use-livecode 
>  wrote:
> 
> @Colin
> Your letter "R" is not part of the (single) path.
> 
> @Richmond
> The widget SVG Icon is set up to display at most ONE SINGLE path,
> no matter where the path comes from.
> 
> The format must according to dict fulfill the SVG specifications
> https://www.w3.org/TR/SVG/paths.html#PathData.
> 
> Colin's _path_ demo contains also elliptical arcs (a- or A-Elements).
> 
> That's what LC obviously does not (yet) support in LC 9.0.0-dp6.
> It IS supported by LC 8.1.4-rc2.
> 
> The extracted path is (shows an "M")
> 
> M257.85,186a119.82,119.82,0,0,1,7.09-38
> c.45-1.24.88-3.22,1.64-4.25,1.81-2.48,2.39-1.47,3.54.62
> q2.21,4,4.16,8.15a153.47,153.47,0,0,1,7.49,19.24
> c.35,1.11,2.19,1.62,2.74.36l8.43-19.06
> c1.14-2.58,2.26-7.56,4.21-9.53,3.42-3.46,3.32,4.4,3.69,6.83
> l6.41,42.15c.29,1.9,3.18,1.09,2.89-.8L305.78,163l-2-13.41
> c-.45-2.95-.15-8.14-2.26-10.52-3.93-4.44-6.94,3-8.06,5.57
> l-11.49,26,2.74.36a157.53,157.53,0,0,0-9.81-24.06
> c-1.37-2.69-4.73-12-9.17-7.74-2.16,2.07-3,6.2-4,8.9
> a119.47,119.47,0,0,0-3.62,12.24
> A124.63,124.63,0,0,0,254.85,186
> c-.05,1.93,2.95,1.93,3,0Z
> 
> 
> ___
> 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: SVG widget?

2017-05-13 Thread hh via use-livecode
@Colin
Your letter "R" is not part of the (single) path.

@Richmond
The widget SVG Icon is set up to display at most ONE SINGLE path,
no matter where the path comes from.

The format must according to dict fulfill the SVG specifications
https://www.w3.org/TR/SVG/paths.html#PathData.

Colin's _path_ demo contains also elliptical arcs (a- or A-Elements).

That's what LC obviously does not (yet) support in LC 9.0.0-dp6.
It IS supported by LC 8.1.4-rc2.

The extracted path is (shows an "M")

M257.85,186a119.82,119.82,0,0,1,7.09-38
c.45-1.24.88-3.22,1.64-4.25,1.81-2.48,2.39-1.47,3.54.62
q2.21,4,4.16,8.15a153.47,153.47,0,0,1,7.49,19.24
c.35,1.11,2.19,1.62,2.74.36l8.43-19.06
c1.14-2.58,2.26-7.56,4.21-9.53,3.42-3.46,3.32,4.4,3.69,6.83
l6.41,42.15c.29,1.9,3.18,1.09,2.89-.8L305.78,163l-2-13.41
c-.45-2.95-.15-8.14-2.26-10.52-3.93-4.44-6.94,3-8.06,5.57
l-11.49,26,2.74.36a157.53,157.53,0,0,0-9.81-24.06
c-1.37-2.69-4.73-12-9.17-7.74-2.16,2.07-3,6.2-4,8.9
a119.47,119.47,0,0,0-3.62,12.24
A124.63,124.63,0,0,0,254.85,186
c-.05,1.93,2.95,1.93,3,0Z


___
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: sysError List?

2017-05-13 Thread Rick Harrison via use-livecode
Hi Richard,

It returns blank.

So now what?

Rick

> On May 12, 2017, at 10:40 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
>  put specialFolderPath("temporary")

___
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: SVG widget?

2017-05-13 Thread Colin Holgate via use-livecode
I tried the path data from the file I made for you. The text letter R is 
handled differently, but the M path data copy into LiveCode ok.


> On May 13, 2017, at 9:12 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> Is it true that the Livecode SVG widget is ONLY setup to deal with code 
> pasted from Inkscape SVG images?
> 
> Might be time for Livecode to "fess up".
> 
> 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


SVG widget?

2017-05-13 Thread Richmond Mathewson via use-livecode
Is it true that the Livecode SVG widget is ONLY setup to deal with code 
pasted from Inkscape SVG images?


Might be time for Livecode to "fess up".

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


Re: SVG powered images

2017-05-13 Thread hh via use-livecode
@Klaus
I tested the svg-to-png conversion using both revBrowser and browser widget on
Mac 10.12.4. This works. It doesn't work on Mac 10.10. (probably also Mac 
10.11).
This is caused by webkit which LC uses on Mac.
Where it runs, taking frames from an svg animation or from a video is 
"stuttering"
because the svg or video already takes most of the graphic card's power.

@Alejandro
This SVG animation is a fine demo to show that pure LC script can be much better
than SVG animation. Adjust there with a menu the speed to your machine (you can
also change color and sizes of the gears while the animation is running). 

http://forums.livecode.com/viewtopic.php?p=137068#p137068
___
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: SVG image from Illustrator

2017-05-13 Thread Richmond Mathewson via use-livecode

That's lovely, Thank you very much indeed.

Richmond.

On 5/13/17 2:22 pm, Colin Holgate via use-livecode wrote:

Your email address doesn’t show up in the message, so I put one here:

http://colin.scienceninja.com/rm.svg

The R is from text and the M is brush stroke.

If you can tell me what to draw I can do other ones.



On May 13, 2017, at 5:37 AM, Richmond Mathewson via use-livecode 
 wrote:

I would be most grateful of someone could send me 2 or 3 black-and-white,
or black-on-transparency SVGs generated in Adobe Illustrator.

Richmond Mathewson.
___
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: SVG image from Illustrator

2017-05-13 Thread Colin Holgate via use-livecode
Your email address doesn’t show up in the message, so I put one here:

http://colin.scienceninja.com/rm.svg

The R is from text and the M is brush stroke.

If you can tell me what to draw I can do other ones.


> On May 13, 2017, at 5:37 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> I would be most grateful of someone could send me 2 or 3 black-and-white,
> or black-on-transparency SVGs generated in Adobe Illustrator.
> 
> Richmond Mathewson.
> ___
> 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: SVG powered images

2017-05-13 Thread Jonathan Lynch via use-livecode
For svg animation, it seems like it would be more efficient to let the 
animation play in the widget and just periodically export a frame, rather than 
rewrite the svg every time.



Sent from my iPhone

> On May 13, 2017, at 6:50 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Addition, the animated SVG is not displayed in any browser widget at all!?
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
> 
> 
> ___
> 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: SVG powered images

2017-05-13 Thread Klaus major-k via use-livecode
Addition, the animated SVG is not displayed in any browser widget at all!?


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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: SVG powered images

2017-05-13 Thread Klaus major-k via use-livecode
Hola Al,

> Am 13.05.2017 um 07:37 schrieb Alejandro Tejada via use-livecode 
> :
> 
> Hi All,
> 
> Jonathan Lynch wrote:
>> Hey guys - I figured out a solution for that bug I had previously
>> written a hack for. I use the image.onload handler in the JavaScript
>> for this. It works consistently now. I just had to get my order of events
>> correct in the JavaScript.
>> So please check out the new version
> 
> This versions works really well with Animated SVG.
> Check a step by step recipe to play them in
> my answer to Klaus message:
> 
> Klaus  Major wrote about running animated svg:
>> not when viewed in Safari on a Mac!
> 
> Macs always store a surprise or two! :D
> Check if this step by step recipe works
> in a Mac:
> 
> 1) Download most recent version of Jonathan Lynch's stack:
> http://livecodeshare.runrev.com/stack/830/SVG-Powered-Images
> 
> 2) Download this animated svg:
> https://openclipart.org/detail/230261/gearanimation02-remix
> 
> This mechanical gears animation is better for detecting
> any "jump" in the animation conversion.
> 
> 3) Import mechanical gears animated svg
> into Jonathan's stack
> 
> 4) edit the script of gears bitmap image and
> add this script after "resizecontrol" handler
> 
> on mousedown
>  put the id of me into tID
>repeat while the mouse is down
>   send "processSVG tID" to widget "SVGBrowser1"
>end repeat
> end mousedown
> 
> 5) Click and hold down the mouse button over
> one gear and see them move.
> 
> Tell us if this works fine on a Mac (or other OS that
> you use on a PC or within a Virtual Machine)

well, nothing actually happens, except that LC almost freezes for a couple of 
seconds!?
Works fine in Safari though :-D


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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


SVG image from Illustrator

2017-05-13 Thread Richmond Mathewson via use-livecode

I would be most grateful of someone could send me 2 or 3 black-and-white,
or black-on-transparency SVGs generated in Adobe Illustrator.

Richmond Mathewson.
___
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