acceleratedRendering

2018-08-01 Thread Randy Hengst via use-livecode
Hi All,

Given what we’re heard about iOS12 problems with LC apps… and the suggestion 
that setting acceleratedRendering  to true in preOpenStack “solves” that issue 
with iOS12, I’ve been messing around with acceleratedRendering for the current 
LC project I’m developing for iOS. I have not used acceleratedRendering in so 
long, consider me unknowledgeable about its use.

I’m working with LC 9.0.1 RC1 with MacOS 10.12.6 and Xcode 9.2. But, I've seen 
essentially the same results when building with LC8.1.8, 9.0.0 

When setting acceleratedRendering to true in preOpenStack as shared in an 
earlier message, the IDE slows to a crawl. When setting acceleratedRendering to 
false, the IDE returns to normal responsiveness.
— is that the expected behavior?

When loaded on my iPad, the app I’m working on has shown partial screen updates 
with acceleratedRendering on… and with some aspects has actually slowed to a 
crawl when loaded onto an iPad. 

To check this out, I’ve included buttons to set acceleratedRendering to true 
and false so I can change the setting when the app is loaded on my iPad… when 
set to false, the app responds as I would expect, but when set to true again 
one portion of the app slows down to unusable speeds.

The fact that the IDE slows to a crawl… and that only some aspects of the new 
app I’m building slow down when loaded on an iPad has made this very confusing.

Is there some element that goes hand-in-hand with acceleratedRendering that 
I’ve overlooked?

be well,
randy
www.classroomFocusedSoftware.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

Newbie Regex confusion

2018-08-01 Thread David V Glasgow via use-livecode

I am just dipping my toes in the shallows of regex, and have already stubbed my 
toe on a rock.  Well two, actually.

I am looking to identify the lines of a field (that contain lots of words and 
symbols with no particular structure or separator ) finding age related terms, 
which can be in a variety of forms.  I made a list of the terms that I want to 
use.

First problem:

I use the following filter line

filter lines of it with regex pattern i

… where i is a keyword lifted from my list.  Oddly, where i is just ordinary 
characters, it works fine.  However if it includes a wildcard symbol, it chokes 
with “execution error at line 9 (matchChunk: error in pattern expression), char 
1”.  For example, if i = child* (intending to match child, childlike, 
childhood, childish etc).  I know that’s a bad example, because just ‘child' 
will do the trick.  However, there seems to be some voodoo needed to put a 
regex expression into a variable, is that right?

Second problem is the sheer brain ache from trying to work out how to 
efficiently  match lines containing 8 yo, 8 yr, 8yr, 8yo, 8 year and 8year, but 
not 18 year, 38yo etc etc.

The simplest way would be to include all variants in the keyword list.  
However, that means more sweeps through the repeat loop.  And it wouldn’t solve 
the problem of excluding  18 yo, 28 yo matching, unless I can construct a regex 
expression which will test the absence of any number between 1 and 9 
immediately before the actual string I am finding.  

Am I on a wild goose chase here?  




Best Wishes,
David Glasgow


  

  
 
___
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: LiveCode Server on CentOS 6?

2018-08-01 Thread Keith Clarke via use-livecode
Thanks Richard & Brian for digging into this.

Lacking the Linux knowledge I tried working backwards from LC Server 9.0, 
trying 8.0 and 7.14 with no joy (internal server 500 error codes) - though 
whether the issues are down to glibc version dependencies is beyond me.

Earlier versions have less/no documentation in the packages and seem to only 
have 32-bit downloads available, which could introduce other issues (as the 
server is running 64-bit CentOS 6).

I think it’s time to stop flogging this particular dead horse and find an 
alternative dev environment pending target VPS OS upgrade, but thanks to all 
for trying.

…and that opens another can of worms that may warrant another thread or two - 
apologies in advance! :-)

Regards,
Keith

> On 31 Jul 2018, at 17:31, Richard Gaskin via use-livecode 
>  wrote:
> 
> Keith Clarke wrote:
> 
> > Thanks Martin (& Brian). It transpires that the VPS in question only
> > has CentOS 6 OS option, even if recreated - so the OS is a given for
> > the short term, pending replacement / upgrade discussions with the
> > hosting provider, which are not my call.
> >
> > One option to get underway might be to deploy an earlier version of LC
> > Server that can both:
> > Run happily under Linux with GLIBC at 2.12
> > Use LC9-compatible stacks - so I can develop on my desktop and deploy.
> >
> > I just hope these criteria aren’t mutually exclusive!
> 
> Apparently glibc has a very conservative version numbering scheme - v2.12 was 
> from 2010:
> https://sourceware.org/glibc/wiki/Glibc%20Timeline
> 
> LC 9's native format is the same as with v8.1, so I checked the Release Notes 
> for that version and apparently it requires glibc 2.13 or later.
> 
> Oddly, looking back to LC v7.0 the glibc required versions were *higher* than 
> they are in later versions - from the v7 release notes:
> 
>  Requirements for 32-bit Intel/AMD:
>  glibc 2.3.6 or later
>  Requirements for 64-bit Intel/AMD:
>  glibc 2.15 or later
> 
> Even odder is that support for the older 32-bit architecture requires a much 
> newer version (?).
> 
> In fact, I went back as far as LC v4.5 and found the glibc required version 
> listed as "glibc 2.3.2 or later".
> 
> This is confusing to me, so it seems we could benefit from some guidance from 
> Mark Waddingham or one of the Linux-savvy team members.
> 
> I wonder how difficult it would be to recompile LC 9.0.1 with glibc 2.12...
> 
> -- 
> 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: Newbie Regex confusion

2018-08-01 Thread Bob Sneidar via use-livecode
Wait until you get to the rapids. 

Bob S


> On Aug 1, 2018, at 09:34 , David V Glasgow via use-livecode 
>  wrote:
> 
> I am just dipping my toes in the shallows of regex, and have already stubbed 
> my toe on a rock.  Well two, actually.


___
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: Newbie Regex confusion

2018-08-01 Thread David V Glasgow via use-livecode
Thank you both.  Wow.  Looks like it really is worth the effort!  I played 
around on regex101.com, but the problem is if you don’t know the terms for what 
you want to do, its really hard to find the appropriate symbol.

Thanks again.

> On 1 Aug 2018, at 6:24 pm, Brian Milby via use-livecode 
>  wrote:
> 
> Don’t have time to test right now but something along these lines:
> 
> \b[0-9] ?(yr|yo|year)
> 
> \b is a word break
> ? Means 0 or 1 of previous char (space)
> | is alternate separator
> 
> Thanks,
> Brian
> On Aug 1, 2018, 11:58 AM -0500, Stephen MacLean via use-livecode 
> , wrote:
>> Hi David,
>> 
>> While no expert on Regex, there are some online tools and libraries that you 
>> can use to work out the appropriate regex before putting it into your LC 
>> script.
>> 
>> Some sites I use:
>> 
>> https://www.regextester.com
>> 
>> https://regex101.com
>> 
>> https://www.rexegg.com/regex-quickstart.html
>> 
>> and
>> 
>> http://www.regexlib.com
>> 
>> which has a lot of pre-built regex codes and examples. Most work without 
>> issue when putting them into LCS.
>> 
>> You can also take a look, if you haven’t already, at an example that I made 
>> using LCS and LCB, rsIsValid: 
>> https://forums.livecode.com/viewtopic.php?t=26653
>> 
>> HTH!
>> 
>> Steve MacLean
>> 
>>> On Aug 1, 2018, at 12:34 PM, David V Glasgow via use-livecode 
>>>  wrote:
>>> 
>>> 
>>> I am just dipping my toes in the shallows of regex, and have already 
>>> stubbed my toe on a rock. Well two, actually.
>>> 
>>> I am looking to identify the lines of a field (that contain lots of words 
>>> and symbols with no particular structure or separator ) finding age related 
>>> terms, which can be in a variety of forms. I made a list of the terms that 
>>> I want to use.
>>> 
>>> First problem:
>>> 
>>> I use the following filter line
>>> 
>>> filter lines of it with regex pattern i
>>> 
>>> … where i is a keyword lifted from my list. Oddly, where i is just ordinary 
>>> characters, it works fine. However if it includes a wildcard symbol, it 
>>> chokes with “execution error at line 9 (matchChunk: error in pattern 
>>> expression), char 1”. For example, if i = child* (intending to match child, 
>>> childlike, childhood, childish etc). I know that’s a bad example, because 
>>> just ‘child' will do the trick. However, there seems to be some voodoo 
>>> needed to put a regex expression into a variable, is that right?
>>> 
>>> Second problem is the sheer brain ache from trying to work out how to 
>>> efficiently match lines containing 8 yo, 8 yr, 8yr, 8yo, 8 year and 8year, 
>>> but not 18 year, 38yo etc etc.
>>> 
>>> The simplest way would be to include all variants in the keyword list. 
>>> However, that means more sweeps through the repeat loop. And it wouldn’t 
>>> solve the problem of excluding 18 yo, 28 yo matching, unless I can 
>>> construct a regex expression which will test the absence of any number 
>>> between 1 and 9 immediately before the actual string I am finding.
>>> 
>>> Am I on a wild goose chase here?
>>> 
>>> 
>>> 
>>> 
>>> Best Wishes,
>>> David Glasgow
>>> 
>>> 
>>>  
>>> 
>>>  
>>> 
>>> ___
>>> 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: Newbie Regex confusion

2018-08-01 Thread Stephen MacLean via use-livecode
Hi David,

While no expert on Regex, there are some online tools and libraries that you 
can use to work out the appropriate regex before putting it into your LC script.

Some sites I use:

https://www.regextester.com

https://regex101.com

https://www.rexegg.com/regex-quickstart.html

and 

http://www.regexlib.com

which has a lot of pre-built regex codes and examples. Most work without issue 
when putting them into LCS.

You can also take a look, if you haven’t already, at an example that I made 
using LCS and LCB, rsIsValid: https://forums.livecode.com/viewtopic.php?t=26653

HTH!

Steve MacLean

> On Aug 1, 2018, at 12:34 PM, David V Glasgow via use-livecode 
>  wrote:
> 
> 
> I am just dipping my toes in the shallows of regex, and have already stubbed 
> my toe on a rock.  Well two, actually.
> 
> I am looking to identify the lines of a field (that contain lots of words and 
> symbols with no particular structure or separator ) finding age related 
> terms, which can be in a variety of forms.  I made a list of the terms that I 
> want to use.
> 
> First problem:
> 
> I use the following filter line
> 
> filter lines of it with regex pattern i
> 
> … where i is a keyword lifted from my list.  Oddly, where i is just ordinary 
> characters, it works fine.  However if it includes a wildcard symbol, it 
> chokes with “execution error at line 9 (matchChunk: error in pattern 
> expression), char 1”.  For example, if i = child* (intending to match child, 
> childlike, childhood, childish etc).  I know that’s a bad example, because 
> just ‘child' will do the trick.  However, there seems to be some voodoo 
> needed to put a regex expression into a variable, is that right?
> 
> Second problem is the sheer brain ache from trying to work out how to 
> efficiently  match lines containing 8 yo, 8 yr, 8yr, 8yo, 8 year and 8year, 
> but not 18 year, 38yo etc etc.
> 
> The simplest way would be to include all variants in the keyword list.  
> However, that means more sweeps through the repeat loop.  And it wouldn’t 
> solve the problem of excluding  18 yo, 28 yo matching, unless I can construct 
> a regex expression which will test the absence of any number between 1 and 9 
> immediately before the actual string I am finding.  
> 
> Am I on a wild goose chase here?  
> 
> 
> 
> 
> Best Wishes,
> David Glasgow
> 
> 
>  
> 
>  
> 
> ___
> 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: Newbie Regex confusion

2018-08-01 Thread Brian Milby via use-livecode
Don’t have time to test right now but something along these lines:

\b[0-9] ?(yr|yo|year)

\b is a word break
? Means 0 or 1 of previous char (space)
| is alternate separator

Thanks,
Brian
On Aug 1, 2018, 11:58 AM -0500, Stephen MacLean via use-livecode 
, wrote:
> Hi David,
>
> While no expert on Regex, there are some online tools and libraries that you 
> can use to work out the appropriate regex before putting it into your LC 
> script.
>
> Some sites I use:
>
> https://www.regextester.com
>
> https://regex101.com
>
> https://www.rexegg.com/regex-quickstart.html
>
> and
>
> http://www.regexlib.com
>
> which has a lot of pre-built regex codes and examples. Most work without 
> issue when putting them into LCS.
>
> You can also take a look, if you haven’t already, at an example that I made 
> using LCS and LCB, rsIsValid: 
> https://forums.livecode.com/viewtopic.php?t=26653
>
> HTH!
>
> Steve MacLean
>
> > On Aug 1, 2018, at 12:34 PM, David V Glasgow via use-livecode 
> >  wrote:
> >
> >
> > I am just dipping my toes in the shallows of regex, and have already 
> > stubbed my toe on a rock. Well two, actually.
> >
> > I am looking to identify the lines of a field (that contain lots of words 
> > and symbols with no particular structure or separator ) finding age related 
> > terms, which can be in a variety of forms. I made a list of the terms that 
> > I want to use.
> >
> > First problem:
> >
> > I use the following filter line
> >
> > filter lines of it with regex pattern i
> >
> > … where i is a keyword lifted from my list. Oddly, where i is just ordinary 
> > characters, it works fine. However if it includes a wildcard symbol, it 
> > chokes with “execution error at line 9 (matchChunk: error in pattern 
> > expression), char 1”. For example, if i = child* (intending to match child, 
> > childlike, childhood, childish etc). I know that’s a bad example, because 
> > just ‘child' will do the trick. However, there seems to be some voodoo 
> > needed to put a regex expression into a variable, is that right?
> >
> > Second problem is the sheer brain ache from trying to work out how to 
> > efficiently match lines containing 8 yo, 8 yr, 8yr, 8yo, 8 year and 8year, 
> > but not 18 year, 38yo etc etc.
> >
> > The simplest way would be to include all variants in the keyword list. 
> > However, that means more sweeps through the repeat loop. And it wouldn’t 
> > solve the problem of excluding 18 yo, 28 yo matching, unless I can 
> > construct a regex expression which will test the absence of any number 
> > between 1 and 9 immediately before the actual string I am finding.
> >
> > Am I on a wild goose chase here?
> >
> >
> >
> >
> > Best Wishes,
> > David Glasgow
> >
> >
> >  
> >
> >  
> > 
> > ___
> > 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: LiveCode Server on CentOS 6?

2018-08-01 Thread Warren Samples via use-livecode

On 07/29/2018 07:56 PM, Richard Gaskin via use-livecode wrote:


First question (an admittedly ignorant one, but I haven't spent much 
time in the CentOS community):  Why does their package manager not 
automatically keep system components current?


Second question: If the first question cannot be resolved easily, what 
is the advantage of CentOS for this project over Ubuntu or Debian?




Richard,

The explanation that addresses your first question can be expressed in a 
very long-winded manner but also boiled down to this: It's RHEL's 
approach to enforcing stability. They and their clients are interested 
in a system that gives them no bad surprises. This takes into account 
the fact that many of those clients are using complicated proprietary 
software for critical tasks; commercial software and/or software 
developed in-house, which is expected to be fail-proof. There's is an 
obviously ultra-conservative approach, but you can't deny they've been 
successful at what they do :D CentOS naturally inherits the result of 
this philosophy.


The perception of extreme stability, along with the fact that it's one 
of only a very few OSs supported by cPanel, make CentOS very popular 
among hosting companies. All versions of RHEL and CentOS are supported 
for ten years which by design is to eliminate a disruption of services 
caused by forced upgrades. This sometimes leads to hosting companies 
running a version or two behind the latest, which can result in the 
problem Keith is encountering.


Keith has admitted he doesn't have a lot of knowledge and skills in 
Linux, so a managed VPS is a great solution for him. (I feel pretty much 
in that same boat. There are probably a lot of people trying to manage 
their own VPS who shouldn't be! Being well versed on maintaining a Linux 
desktop does not begin to address the skills and knowledge a server 
admin needs.) So, he's a little bit at the mercy of his hosting company. 
Of course the market is open and it's relatively easy to switch hosts. 
There are several distros that would qualify as reliable enough for 
server usage including a few that aren't as widely available as the more 
popular ones. Debian and Ubuntu are totally valid along with CentOS and 
those are probably the most widely available in hosting packages.


Warren

___
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: LiveCode Server on CentOS 6?

2018-08-01 Thread Richard Gaskin via use-livecode

 Warren Samples wrote:


On 07/29/2018 07:56 PM, Richard Gaskin via use-livecode wrote:


First question (an admittedly ignorant one, but I haven't spent much 
time in the CentOS community):  Why does their package manager not 
automatically keep system components current?


Second question: If the first question cannot be resolved easily, what 
is the advantage of CentOS for this project over Ubuntu or Debian?


Richard,

The explanation that addresses your first question can be expressed in a 
very long-winded manner but also boiled down to this: It's RHEL's 
approach to enforcing stability. They and their clients are interested 
in a system that gives them no bad surprises. This takes into account 
the fact that many of those clients are using complicated proprietary 
software for critical tasks; commercial software and/or software 
developed in-house, which is expected to be fail-proof. There's is an 
obviously ultra-conservative approach, but you can't deny they've been 
successful at what they do :D CentOS naturally inherits the result of 
this philosophy.


Ubuntu's LTS (Long Term Support) releases serve the same goal, with 
similar methods:  patches are allowed, security patches can be 
automated, but new features are held back until the next LTS release.


It's a tough call, though, with supplemental packages getting long in 
the tooth.  In addition to the potential vulnerabilities, older packages 
can introduce their own compatibility issues, as we've seen here.


I tend to stick with only LTS releases myself, so I appreciate the goals 
with such things.


But unless one is managing a legacy system with known dependencies on 
older packages, using a more recent version would seem a good fit, esp. 
for non-experts, as it establishes a fresh baseline using the latest and 
greatest.


I guess the missing piece of the puzzle here is why his VPS service 
doesn't offer CentOS 7. But as you say:


Of course the market is open and it's relatively easy to switch hosts. 
There are several distros that would qualify as reliable enough for 
server usage including a few that aren't as widely available as the more 
popular ones. Debian and Ubuntu are totally valid along with CentOS and 
those are probably the most widely available in hosting packages

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

2018-08-01 Thread Sannyasin Brahmanathaswami via use-livecode
FWIW... acceleratedRendering in causing trouble on Android, 9.0.1. RC 1.

Disables "touch" messages in some contexts... 

Bug report is in, confirmed.

I've struggling for 2 Years with this (!) 

Now on iOS?  Yikes!

I am sure it is a priority with team. Keep fingers crossed. 

BR
 

On 8/1/18, 4:07 AM, "use-livecode on behalf of Randy Hengst via use-livecode" 
 wrote:

Is there some element that goes hand-in-hand with acceleratedRendering that 
I’ve overlooked?

___
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: LiveCode Server on CentOS 6?

2018-08-01 Thread Warren Samples via use-livecode

On 08/01/2018 01:45 AM, Keith Clarke via use-livecode wrote:

  whether the issues are down to glibc version dependencies is beyond me.


You can check this by running

ldd [/path/to/livecode-server]


It will return a list that looks something like this (from my desktop 
system):


linux-vdso.so.1 (0x631efbacc000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x631efb6a6000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x631efb488000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 
(0x631efb245000)

libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x631efaf7c000)
librt.so.1 => /usr/lib/librt.so.1 (0x631efad74000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x631efa9eb000)
libm.so.6 => /usr/lib/libm.so.6 (0x631efa656000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x631efa43e000)
libc.so.6 => /usr/lib/libc.so.6 (0x631efa082000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 
(0x631efb8aa000)

libexpat.so.1 => /usr/lib/libexpat.so.1 (0x631ef9e5)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x631ef9c49000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x631ef9a39000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x631ef9803000)
libz.so.1 => /usr/lib/libz.so.1 (0x631ef95ec000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x631ef934)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x631ef9029000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 
(0x631ef8dfd000)

libpcre.so.1 => /usr/lib/libpcre.so.1 (0x631ef8b8b000)


Don't worry about the first line where there is no returned path. Some 
systems may return those like this "linux-vdso.so.1 => 
(0x7fff6000)" with the memory location after a "=>". There may 
be one or two of those. What's important is that if something is not 
found or is found but in a mismatched version, you will see an explicit 
message stating as much, like so:


libfontconfig.so.1 => not found

If you try running 64bit LC-server on a 32bit machine or 32bit Server on 
a 64 bit machine without any of the 32 bit libs, you will probably see 
the message that the file is not a dynamic executable.


Here's a little bit about ldd that you and others might find helpful:

https://www.lifewire.com/find-shared-libraries-ldd-command-4017941

https://circleci.com/blog/tracking-dependencies-with-ldd/

https://circleci.com/blog/tracking-dependencies-with-ldd/



Good luck!

Warren

___
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: sending javascript to browser widget?

2018-08-01 Thread Tom Glod via use-livecode
*on* mouseUp

*local* js_do

*put* "document.getElementById('email').value='mylogin'" into js_do

*do* js_do in widget "Browser 1"

*put* "document.getElementById('pass').value='mypass'" into js_do

*do* js_do in widget "Browser 1"

*put* "document.getElementById('login_form').submit();" into js_do

*do* js_do in widget "Browser 1"

*end* mouseUp

this will log you into facebook. :D :D :D

On Tue, Jul 31, 2018 at 4:30 PM, Tom Glod  wrote:

> http://runtime-revolution.278305.n4.nabble.com/Browser-
> Widget-HTML5-LC-Integration-td4712003.html
>
> On Tue, Jul 31, 2018 at 4:06 PM, Tom Glod  wrote:
>
>> Yeah. cool.thanks for that .I figured as much ,, it would
>> make sense why these kinds of protections would exist but imagine
>> what could be done without them...lol
>>
>> So how bout those cookies? for the browser?  is there any possible
>> workaround to log into twitter or facebook using the browser ? and not be
>> asked the password each time?
>>
>> I know that accessing  api is the next optionbut I actually wanted
>> the actual sites in a lc browser widget without having to log in every time.
>>
>> Yeah maybe i will do a more detailed search to see what has been
>> posted on the subject of browser cookies.
>>
>> maybe its a lc 10 feature ... local storage for browser widgets.  can't a
>> cookie be a custom property of a browser widget? :D :D :D
>>
>>
>>
>>
>>
>> On Tue, Jul 31, 2018 at 2:56 PM, Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>> I'm going to say that Javascript is written to prevent you from doing
>>> that. Javascript sandboxes their commands and functions so that only
>>> certain ones are visible from outside the applications "sandbox". They call
>>> it Scope and Context.
>>>
>>> Here is a good article on it which helped me understand why I could not
>>> access certain commands and functions outside Acrobat:
>>>
>>> http://ryanmorr.com/understanding-scope-and-context-in-javascript/
>>>
>>> If you can set a username and password in a web page javascript control,
>>> then you can probably GET them too. The reason why plugins like password
>>> managers work is because they operate inside the context of the browser
>>> application itself. Of course, all of my posts are subject to scrutiny and
>>> correction.
>>>
>>> Bob S
>>>
>>>
>>> > On Jul 31, 2018, at 11:03 , Tom Glod via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> >
>>> > Hi Peeps, can anyone clarify for me if its possible to have a browser
>>> > widget on a card and send javascript commands to it?
>>> >
>>> > Can I for example put text (login & password) into fields on the page
>>> if I
>>> > know the names of the field controls?
>>> >
>>> > Can I trigger the login button?
>>> >
>>> > Looking for workarounds for the lack of cookie support in the browser
>>> > widget. (so i'm trying to do auto login)
>>> >
>>> > Unless it does support cookies?!?!!? Will it ever?
>>> >
>>> > Thank you.
>>>
>>>
>>> ___
>>> 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: acceleratedRendering

2018-08-01 Thread Monte Goulding via use-livecode
Hi Brahma
> 
> I am sure it is a priority with team. Keep fingers crossed. 


Yes I just patched it https://github.com/livecode/livecode/pull/6620 


> FWIW... acceleratedRendering in causing trouble on Android, 9.0.1. RC 1.
> 
> Disables "touch" messages in some contexts… 

^ is not a very good description of the issue. The touches are fine. It’s 
groups not redrawing when scrolled under some circumstances.

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