Re: Test

2021-02-11 Thread Pi Digital via use-livecode
Hi Ludovic
Do you get this one?

Sean Cole
Pi Digital


> On 10 Feb 2021, at 19:43, Ludovic THEBAULT via use-livecode 
>  wrote:
> 
> I can send but I don't receive anything!
> 
> You can see the list here : 
> http://lists.runrev.com/pipermail/use-livecode/2021-February/date.html 
> 
> 
> Here the explanation : I missed an "use-livecode-requ...@lists.runrev.com 
>  » because "Your membership in 
> the mailing list use-livecode has been disabled due to excessive bounces"
> 
> So I replied this message as indicated, we'll see
> 
> Ludovic
> ___
> 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: No visual effects on Big Sur?

2021-02-08 Thread Pi Digital via use-livecode
It’s been confirmed to be a regression in RC2 and should be fixed in RC3

Sean Cole
Pi Digital


> On 8 Feb 2021, at 16:15, ELS Prothero via use-livecode 
>  wrote:
> 
> Folks,
> I get effects in Apple’s Big Sur when I use v9.6.1 in Livecode. But 
> 9.6.2(rc2) fails. It’s not the Mac OS. Something happened in 9.6.2. I haven’t 
> tried it in 9.6.2(rc1).
> Bill
> 
> William Prothero
> https://earthlearningsolutions.org
> 
>> On Feb 8, 2021, at 2:29 AM, Richmond via use-livecode 
>>  wrote:
>> 
>> No joy over here:
>> 
>> LC 9.6.2 RC 2 / macOS 11.3 Beta 1
>> 
>> But this does work this way:
>> 
>> LC 8.2.0 DP 2 / macOS 11.3 Beta 1
>> 
>> So the problem may not lie with macOS.
>> 
 On 7.02.21 15:42, Håkan Liljegren via use-livecode wrote:
>>> That is strange. As it worked for you Sean, what machine are you on? But, 
>>> as we have several of us where it doesn’t work I filed a bug anyway:
>>> 
>>> https://quality.livecode.com/show_bug.cgi?id=23085
>>> 
>>> :-Håkan
 On 7 Feb 2021, 05:12 +0100, Sean Cole (Pi) via use-livecode 
 , wrote:
 Hi all,
 I just tested here in BigSur 11.2 and they work fine in both the IDE and
 standalone. The only ones that do not work are the core image transitions
 (with the exception of dissolve which, although having the same name, does
 not appear to use the CI version of the effect).
 
 I made a simple default stack with one button with this code:
 
 on mouseUp pButtonNumber
 lock screen for visual effect
 set the backcolor of this card to (line random(552) of colornames())
 unlock screen with visual effect "dissolve"
 end mouseUp
 
 The standalone was set with all the default parameters and auto inclusions.
 
 Sean
 
 On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> Hakan:
> I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was
> working on previous versions.
> 
> Yes, please file a bug report.
> 
> Bill
> 
>> On Feb 5, 2021, at 10:55 PM, Håkan Liljegren via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that
> work. None! Is there anyone else having the same experience, or is it just
> my setup? I have tried to wipe every RunRev/LiveCode file in the Library
> and in the applications folder and then reinstall but still no luck. Also
> tried older (stable versions) with no luck, but that was before wiping
> every file out of existence.
>> Can anyone else running Big Sur confirm before I file a bug-report?
>> 
>> :-Håkan
>> ___
>> 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
> William A. Prothero, Ph.D.
> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus)
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
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: Ali or Monte - MimeEncodeAsMIMEMultipartDocument

2021-01-03 Thread Pi Digital via use-livecode
Thanks Monte

That’ll point me in the right direction. 

I only put Ali in there because he was in the ‘blame’ list on GitHub. I figured 
he might know a little about it’s innards as he’d worked on it a couple of 
times.

As I’d not got a reply I’d bumbled my way around and gave it a play based on 
python guides I’d found on MIME. When I’m done on this project I’ll look to 
improve the library inline docs. 

Thanks again

Sean Cole
Pi Digital

> On 4 Jan 2021, at 02:49, Monte Goulding via use-livecode 
>  wrote:
> 
> Hi Sean
> 
> The MIME lib is all my fault so don’t blame Ali ;-)
> 
> It may help you to read RFCs 2045-2049 to gain an understanding of MIME. With 
> the exception of mimeEncodeFieldAsMIMEMultipartDocument you really need to 
> understand MIME to use the library.
> 
> You probably want the mimeEncodeAsMIMEEmail command though.
> 
> For the body presuming plain text email then you want something like:
> 
> put "Content-Type: text/plain; charset=UTF-8" & crlf & \
> "Content-Transfer-Encoding: quoted-printable" & crlf & crlf & \
>  mimeEncodeForMIMETransfer(tText, "quoted-printable”) into tBody
> 
> If you want html email then if you don’t know what you need as parameters for 
> mimeEncodeAsMIMEMultipartDocument then best to see the code of 
> mimeEncodeFieldAsMIMEMultipartDocument as an example which builds that from 
> field content.
> 
> Regarding BCC that’s nothing to do with the library. See tsNet recipients 
> list for that.
> 
> Cheers
> 
> Monte
> 
>> On 29 Dec 2020, at 3:18 am, Sean Cole (Pi) via use-livecode 
>>  wrote:
>> 
>> Hi all,
>> 
>> The dictionary, as usual, is a bit lacking in regards to the Mime Library.
>> For MimeEncodeAsMIMEMultipartDocument we have parameters but no idea what
>> the values (enum) for them could or should be.
>> 
>> pContentA: How do we pre-encode parts including headers?
>> 
>> pMultipartType: What MultiPart types are there?
>> 
>> pParamA: What kind of parameters does ParamA take?
>> 
>> There is a lesson that has a single use-case instance but it does not cover
>> all attachment or part types so we are still left guessing. Perhaps this is
>> where either Monte or Ali who coded this could help us out. (
>> https://github.com/livecode/livecode/blob/38790fc428ff5fc3dc769b3a9cde5733bcf209a2/extensions/script-libraries/mime/mime.livecodescript
>> )
>> 
>> I'm trying to attach a pdf to an email and have bcc addresses too.
>> 
>> Thanks
>> 
>> Sean Cole
>> *Pi Digital *
>> ___
>> 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: Slow performance on Big Sur

2020-12-16 Thread Pi Digital via use-livecode
What about using ‘lock screen’? Then go card. For preopen it ‘shouldn’t’ make a 
difference but I have found this to be a cause for stammering in the past. 
Don’t bother putting an ‘unlock screen’ at the end of the preopencard  or 
opencard as it will unlock itself at the end of the open sequence anyway (as 
I’m sure you’re already aware). 

Sean


> On 16 Dec 2020, at 05:55, J. Landman Gay via use-livecode 
>  wrote:
> 
> I had my client try it. Adding "wait 0 milliseconds" after a "go card" 
> didn't make any difference really. The first four card changes were pretty 
> fast, and after that it got slower and slower with each subsequent card 
> change. I was watching her screen remotely but I couldn't see it due to how 
> remote viewing works, but she said the redraw was quite noticeable.
> 
>> On 12/14/20 4:45 PM, merakosp via use-livecode wrote:
>> Hello all,
>> Does adding a  after the  command make
>> any difference?
>> Cheers,
>> Panos
> 
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: CentOS Death in 2021

2020-12-16 Thread Pi Digital via use-livecode
Ah, i see your POV now. You distinguish a difference between ‘runs on’ and 
‘deploys on’. Where as I infer that there is no difference and that ‘supports’ 
is as ‘system requirements’ or ‘supported systems’. 

The document is aimed at users of Livecode who, of course are developers but, 
are also making use of the IDE. So, imho I would see a need to have perhaps a 
separate part for each then. A runs on and deploys to section. More than just 
runs on in fact. That infers that it can chug along on with fits and starts. 
But a ‘system recommendation for development’. And THEN a section for ‘systems 
supported for deployment’ or ‘standalone system requirements’ to keep the same 
vernacular as the IDE itself. With known issues covering both the IDE and 
Deployment as two separate sections also. 

But ideally I would assume that these would be the same for both environments - 
with the exception of course of Android, iOS, iPadOS (there is a distinction 
now), iWatchOS (knowing full well this is not supported at all), HTML5, etc. 

And then the requirement for Linux to have these separate libraries installed 
on BOTH the IDE machine AND the ‘end users’ Linux machine running the 
standalone should be made all the more clearer. Perhaps the ‘installation’ 
section should be separated entirely into the three main platforms with Linux 
being given a little more care in referring to each Linux distro in turn where 
needed. 

To me, because CentOS is only referred to in the release notes and only under 
the support section is where the inference occurred and why it seemed 
reasonable to assume that this referred both to IDE and deployment supports. 
And this difference in observation was neither made clear in my posts nor your 
responses which is where the misunderstandings occurred. 

So

Back to my OP. 
- What system build of Linux should I best install in Parallels virtual and 
Server Remote Host for deployment should I run with? Given the choices of 
potentially having LC IDE running as the ‘live’ software stack on the server 
itself (which is not the best way to run it, but potentially a method that is 
usable for our purposes perhaps). 
- Which systems of Linux can we safely develop and test in? 
- And then, which systems of Linux can we safely deploy and run in? And what 
are the known issues for both develop/test, and deploy/run?

Sean

> On 16 Dec 2020, at 06:23, Richard Gaskin via use-livecode 
>  wrote:
> 
> So...
> 
> Since what we want to know is on which Linux distros LiveCode is known to run 
> well on, would replacing "support" with "runs on" suffice?


___
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: CentOS Death in 2021

2020-12-15 Thread Pi Digital via use-livecode
It’s this kind of rhetoric that drive me to madness and then getting a used of 
being abusive as I defend what I’ve said.  Richard, there is no need as you 
have clearly misinterpreted practically everything I said in an effort to get 
some kind of oneupmanship. 

>> On 16 Dec 2020, at 01:00, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> Pi Digital wrote:
>> 
>> But that does not seem to correlate to the way it is for MacOS or Win.
>> Are you saying they compile from all of those versions of MacOS and
>> Win they reference to supporting.
> 
> Mac and Windows are each made by a single organization, with specs defining 
> compatibility.
> 
> "Linux" isn't an OS per se, it's a family of OSes, where the one thing they 
> all have in common is some form of the Linux kernel.

Show Quoted Content
>> On 16 Dec 2020, at 01:00, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> Pi Digital wrote:
>> 
>> But that does not seem to correlate to the way it is for MacOS or Win.
>> Are you saying they compile from all of those versions of MacOS and
>> Win they reference to supporting.
> 
> Mac and Windows are each made by a single organization, with specs defining 
> compatibility.
> 
> "Linux" isn't an OS per se, it's a family of OSes, where the one thing they 
> all have in common is some form of the Linux kernel.

Debian is Debian. Ubuntu is Ubuntu. Red hat is red hat. Blah blah. This is not 
my issue. Get the net. 

>> When reading about LiveCode support, to me it doesn’t matter if it
>> is LC Ltd or the LC app. The two are pretty much interchangeable.
> 
> One is a business, the other is a technology stack. The difference may not 
> matter to you, but it matters to them, and understandably so...
> 
Point entirely missed! We are wholly talking about its mention in the release 
notes and that the ambiguation is not made evident and can ONLY be understood 
in the context of a release note under the heading of OS support that it refers 
to the support by the software of a given OS. Sheesh, I’m surprised I have to 
spell this out to you. Why do you pick on me as if, in this instance, I am 
trying to criticise LC (Ltd) in any way. 

> 
>> ...the release notes are written SPECIFICALLY for LC the product, not
>> in reference to the company.
> 
> Clearly I agree that the wording in the Release Notes can too easily give 
> that impression, which is why I submitted the enhancement request to clarify 
> it:
> https://quality.livecode.com/show_bug.cgi?id=23035
> 
> 
>> I cannot see where this inference is coming from.
> 
> It is not an inference. I'm familiar with qualifiers like "might be", and use 
> them liberally. I did not use a qualifier here, because in this case I'm 
> drawing from direct conversation with a key member of the core team.
> 
> The explanation I conveyed to you was given to me a while back by Dr Peter 
> Brett in one of my ongoing Community Liaison meetings I have with the company.

Show Quoted Content
> 
>> ...the release notes are written SPECIFICALLY for LC the product, not
>> in reference to the company.
> 
> Clearly I agree that the wording in the Release Notes can too easily give 
> that impression, which is why I submitted the enhancement request to clarify 
> it:
> https://quality.livecode.com/show_bug.cgi?id=23035
> 
> 
>> I cannot see where this inference is coming from.
> 
> It is not an inference. I'm familiar with qualifiers like "might be", and use 
> them liberally. I did not use a qualifier here, because in this case I'm 
> drawing from direct conversation with a key member of the core team.
> 
> The explanation I conveyed to you was given to me a while back by Dr Peter 
> Brett in one of my ongoing Community Liaison meetings I have with the company.

PB hasn’t worked there in a while so I’m guessing that conversation has 
disappeared into obscurity. 
> 
> This is why I wrote: "...cited Mark Weider. He and I have each had
> conversations with the core team on this, and what he wrote is correct."
> 
> I have no reason to make this up.  When I take time to write to you it's 
> because I'm doing my best to provide you with the best information I have

Misunderstood as it is. 

> 
>> Basically put, if they can’t build it in, for example, Ubuntu 20, then
>> it is not supported fully because of some minor/major issue.
> 
> Have you considered the possibility that not everything in the build system 
> is made in LiveCode?

I know all this so yes it’s not only considered but fully appreciated. This is 
not a complaint. It’s a situation I find myself facing with legitimate 
questions around what I should do best case for the future. 
> 
> Funny thing is, those of us who use LiveCode on Linux daily are the least 
> bothered by these support commitment things.
> 
> Let our experience be of help where it can: LiveCode runs well on Ubuntu 
> 18.04 and Ubuntu 20.04, with the exceptions Panos noted earlier.
And PDF rendering as I noted earlier, which is my main concern along with 
security of up to 

Re: CentOS Death in 2021

2020-12-15 Thread Pi Digital via use-livecode
Thanks Panos. 

My main concern of late has been the PDF output font rendering in CentOS and I 
am hoping that it will be better in Ubuntu or another distro. But I’m guessing 
I’m going to have to do a whole heap of testing to find out. 

Sean Cole
Pi Digital


> On 15 Dec 2020, at 09:24, merakosp via use-livecode 
>  wrote:
> 
> Hello Sean,
> 
> Off the top of my head, the main Linux issues that are currently unresolved
> are:
> 
> 1. The player object is broken on all Linux distros. You might be able to
> workaround this by using shell commands with mplayer.
> 
> 2. The browser widget is broken in most Linux distros. It might work for
> just displaying a webpage, but not for typing into input fields of the
> webpage. I am not sure if there is a workaround for this.
> 
> 3. Also, you might experience window layering problems with some Linux
> window manager (e.g. Cinnamon).
> 
> Hope this helps,
> Panos
> --
> 
>> On Tue, 15 Dec 2020 at 10:42, Pi Digital via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> 
>>> On 15 Dec 2020, at 02:52, Richard Gaskin via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> As Mark Weider noted, the "official" support is merely a reflection of
>> their build system, and it relies on a version of Ubuntu still actively
>> getting security updates.
>> 
>> That doesn’t seem to be stated or inferred in the release notes. It’s
>> under the heading ‘Platform Support’ which infers, like ‘System
>> Requirements’ might, “This is what it will run on”. Indeed, under the
>> heading it states:
>> 
>>>> The engine supports a variety of operating systems and versions. This
>> section describes the platforms that we ensure the engine runs on without
>> issue (although in some cases with reduced functionality).
>> 
>> 
>> Then under Linux it states:
>> 
>>>> LiveCode supports the following Linux distributions, on 32-bit or
>> 64-bit Intel/AMD or compatible processors:
>>>> Ubuntu 14.04 and 16.04
>>>> Fedora 23 & 24
>>>> Debian 7 (Wheezy) and 8 (Jessie) [server] CentOS 7 [server]
>> 
>> 
>> Then lists the Core and ‘optional’ GUI feature requirements. None of this
>> states or infers that >=Ubuntu 18, >=Fedora 25, >=Debian 9 or >=CentOS 8.
>> 
>> So we are left assuming that these unlisted platforms/versions, much like
>> macOS 10.16, is “Unsupported”! Hence my initial question/request for
>> community knowledge/experience. I’m not seeking to stir up trouble (for a
>> change). I’m seeking understanding and wisdom. If LC is Not Supported on
>> later builds, what aspects do not function in your (plural, ie, everyones)
>> experiences.
>> 
>> Because LC write “This section describes the platforms that we ensure the
>> engine runs on without issue”, it would just be useful to know what issues
>> later builds experienced.
>> 
>> Thanks for the input though.
>> 
>> Sean
>> 
>> 
>> 
>> 
>> ___
>> 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: CentOS Death in 2021

2020-12-15 Thread Pi Digital via use-livecode
But that does not seem to correlate to the way it is for MacOS or Win. Are you 
saying they compile from all of those versions of MacOS and Win they reference 
to supporting. 

This is a very odd use of semantics. 

When reading about LiveCode support, to me it doesn’t matter if it is LC Ltd or 
the LC app. The two are pretty much interchangeable. Both the software and the 
company Support xyz platform version. It’s not like LC make many/any other 
products. Especially as the release notes are written SPECIFICALLY for LC the 
product, not in reference to the company. I cannot see where this inference is 
coming from. 

Basically put, if they can’t build it in, for example, Ubuntu 20, then it is 
not supported fully because of some minor/major issue. So, going back to my 
question of: what issues have led to support not being passed for them that has 
led to release notes purposefully omitting mention of these later versions of 
Linux disro’s?

Sean Cole
Pi Digital
___
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: CentOS Death in 2021

2020-12-15 Thread Pi Digital via use-livecode

> On 15 Dec 2020, at 02:52, Richard Gaskin via use-livecode 
>  wrote:
> 
> As Mark Weider noted, the "official" support is merely a reflection of their 
> build system, and it relies on a version of Ubuntu still actively getting 
> security updates.

That doesn’t seem to be stated or inferred in the release notes. It’s under the 
heading ‘Platform Support’ which infers, like ‘System Requirements’ might, 
“This is what it will run on”. Indeed, under the heading it states:

>> The engine supports a variety of operating systems and versions. This 
>> section describes the platforms that we ensure the engine runs on without 
>> issue (although in some cases with reduced functionality).


Then under Linux it states:

>> LiveCode supports the following Linux distributions, on 32-bit or 64-bit 
>> Intel/AMD or compatible processors:
>> Ubuntu 14.04 and 16.04
>> Fedora 23 & 24
>> Debian 7 (Wheezy) and 8 (Jessie) [server] CentOS 7 [server]


Then lists the Core and ‘optional’ GUI feature requirements. None of this 
states or infers that >=Ubuntu 18, >=Fedora 25, >=Debian 9 or >=CentOS 8. 

So we are left assuming that these unlisted platforms/versions, much like macOS 
10.16, is “Unsupported”! Hence my initial question/request for community 
knowledge/experience. I’m not seeking to stir up trouble (for a change). I’m 
seeking understanding and wisdom. If LC is Not Supported on later builds, what 
aspects do not function in your (plural, ie, everyones) experiences. 

Because LC write “This section describes the platforms that we ensure the 
engine runs on without issue”, it would just be useful to know what issues 
later builds experienced. 

Thanks for the input though. 

Sean




___
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: CentOS Death in 2021

2020-12-13 Thread Pi Digital via use-livecode
Thanks all. These insights are useful. Hery’s explanation of their choice to 
move to Debian provides a good argument. I had just tried Ubuntu 20.04 in a 
parallels virtual machine and my server app worked ok. I will try a Debian 
build too. I wonder why LC don’t state support for later Ubuntu, Fedora or 
Debian builds?

Sean Cole
Pi Digital

> On 13 Dec 2020, at 19:27, Heriberto Torrado via use-livecode 
>  wrote:
> 
> Hi Sean,
> 
> I've been using LiveCode on Ubuntu 16.04 and 18.04 for years (Servers and 
> Desktops) and it worked fine.  A years ago we migrated everything to CentOS / 
> RedHat and Fedora (development machines and servers).  However, we are going 
> to migrate everything  to Debian.
> Debian is very stable and offers the same user experience on Laptops, 
> Workstations and Servers.
> 
> Ubuntu is a good system, but after the drift from CentOS with IBM I don't 
> want to put the heart of our systems in the hands of any big company.
> What would happen if tomorrow Ubuntu is acquired by Microsoft and they decide 
> to charge money for it? That's not the case with Debian: Debian is completely 
> independent and rock solid.
> 
> I live between Madrid and New York and in both cities there are good 
> professional companies who offer commercial technical support for Debian, so 
> you don't need any big and greedy corps getting their hands on your IT 
> systems.
> 
> Best,
> Hery
> 
> 
> 
> 
>> On 12/13/20 12:40 PM, Sean Cole (Pi) via use-livecode wrote:
>> Hi all,
>> 
>> I just heard the news that RedHat is going to be dropping support for
>> CentOS. With my recent issues with PDF Printing in CentOS, I was already
>> looking to perhaps try out CentOS8 or another Dist. but now we have this
>> news I'm thinking of going to Ubuntu.
>> 
>> The release notes for LC says it supports Ubuntu 16.04, which is cool. But
>> I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. Is
>> anyone out there running LC on one of these later builds of Ubuntu? I'd
>> like to hear your thoughts. Or maybe I should be looking at Fedora.
>> 
>> All the very best
>> 
>> Sean Cole
>> *Pi Digital *
>> ___
>> 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: Printing To Pdf Linux Rendering

2020-12-03 Thread Pi Digital via use-livecode
That’s a possibility. Interesting. I’ll give it a go when I’m more awake. 
Thanks Richard

Sean Cole
Pi Digital


> On 4 Dec 2020, at 06:16, Richard Gaskin via use-livecode 
>  wrote:
> 
> Sean Cole wrote:
>> I've got a CentOS7 server that I am printing reports from as PDFs. No
>> matter which font or style I use I get occasional anomalies where
>> characters from words get placed over each other like a kerning issue gone
>> mental.
>> Bad rendering:
>> https://www.dropbox.com/s/v09vacw8x3873qh/Screenshot%202020-12-04%20at%2005.53.47.png?dl=0
>> Good rendering:
>> https://www.dropbox.com/s/ehbdofm3nusgzyh/Screenshot%202020-12-04%20at%2005.54.08.png?dl=0
>> It's very random. Sometimes it's ok. the next report will come out bad.
>> There's no real pattern I can identify. I've been going at it for a few
>> days trying different font types and styles but they are all very hit and
>> miss. I can't work out if it is Cairo, Cups or something else. From the
>> print card dialogue I get the same issue. I'm so tired and frustrated from
>> trying to sort it out. Anyone have a fix/workaround/suggestion?
> 
> It's been a while since I've seen that, but when I did it was with an older 
> stack brought forward through many versions to v9.
> 
> IIRC I replaced the fields that showed the issue one by one until the problem 
> went away.
> 
> -- 
> 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


Downloading LC9

2020-11-16 Thread Pi Digital via use-livecode
Hi

I’ve been getting weird errors in MacOS (Catalina 10.15.7) where LC is saying 
there is a script error in a data grid of the startup window and also the 
script editor is not opening at all from any stack card or object. So I’ve 
decided to delete and reload LC. But the download is taking FOREVER. I’ve tried 
different browsers, restarting macOS, downloading via windows but I’m only 
getting 100kbps max. I did a speed test and have 300Mbps download capability 
but LC remains stupid slow. 

Anyone else get this too?

Sean Cole
Pi Digital
___
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 UNIX version (not Linux).

2020-10-28 Thread Pi Digital via use-livecode
It’s a great idea. How do you propose it be handled? Assuming this is a build 
based on the current system it will likely have to be compiled in Linux as the 
obvious choice. Do we have anyone with the appropriate skills in coding C to 
look into the various server platforms to be compiled for? Someone with enough 
time and resources, knowledge and energy? 

If so, why aren’t those people helpful enough to fix what we already have? 

[Get’s off soap box (for the time being)]  ;) 

Here’s my take (for what it’s worth). Although Unix is used in 71.6% (source: 
w3techs.com) of all known websites as of today and Linux only 29.0%, at least 
we have ‘a’ distro that works on some server. Like you, I’m currently using a 
CentOS web server with LC happily. But the clincher has to be that currently 
FreeBSD has no support for Dell,HP or IBM servers. The only advantages to 
having FreeBSD is a teeny bit better security, tiny performance improvement and 
have it in a fully fledged OS instead of just a kernel. Is it worth anyone’s 
time and effort building for those ‘advantages’?

Seriously, if anyone was considering doing this, please..., please, reconsider 
and put your efforts and talent into fixing what we already have. It would be 
far more beneficial to a much greater community population. 

All the very best. 

Sean Cole
Pi Digital


> On 28 Oct 2020, at 19:53, Heriberto Torrado via use-livecode 
>  wrote:
> 
> So, here is my idea: What about to create non official versions of Livecode 
> server (for scripting purposes) for other platforms not yet supported?
> I think it could be good for RunRev: They won't have to work supporting those 
> versions and Livecode language will spread to other fields.
> 
> What do you guys think? Do you think we'll have enough manpower into our 
> community to do that?
> 
> Best,
> Hery
___
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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread Pi Digital via use-livecode
Hi Heather

Had you managed to find anything? I imagine it’s quite a task going back so far 
for a key generator. 

All the best

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 23 Oct 2020, at 11:27, matthias rebbe via use-livecode 
>  wrote:
> 
> Do you have a current commercial license? If so, maybe Support is willing to 
> give you a license for the old 5.x.
> 
> Regards,
> Matthias
> 
> 
>> Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode 
>> :
>> 
>> Hi
>> 
>> Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I 
>> can get this ssl https revdb behind me so our clients don’t all go running 
>> before we upgrade the code to v9.x. I’m truly at a loss. 
>> 
>> Sean Cole
>> Pi Digital
>> 
>> 
>>>> On 23 Oct 2020, at 05:48, Sean Cole (Pi)  wrote:
>>> 
>>> 
>>> Hi all,
>>> 
>>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 
>>> stack. It worked ok in v9 but v5 throws back an error of 'error socket 
>>> closed'.
>>> 
>>> This is my only workaround for accessing MySQL using SSL via a 'post' 
>>> command through PHP, as suggested by Mark Waddingham and others.
>>> 
>>> Now I am at a total loss! From what I can see in the forums, LC locked out 
>>> 'post to https' to only Enterprise users. Arrrghhh! 
>>> 
>>> I don't know what else I can do. Curl is not an option as this will be 
>>> running as an app on clients Windows machines. But even put url("https:// 
>>> returns error socket closed so that rules out setting up a server app too. 
>>> Nothing works!
>>> 
>>> I'm Delirious! HELP!
>>> 
>>> Sean Cole
>>> Pi Digital 
>> ___
>> 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
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
> 
> ___
> 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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread Pi Digital via use-livecode
Hi

Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can 
get this ssl https revdb behind me so our clients don’t all go running before 
we upgrade the code to v9.x. I’m truly at a loss. 

Sean Cole
Pi Digital


> On 23 Oct 2020, at 05:48, Sean Cole (Pi)  wrote:
> 
> 
> Hi all,
> 
> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 
> stack. It worked ok in v9 but v5 throws back an error of 'error socket 
> closed'.
> 
> This is my only workaround for accessing MySQL using SSL via a 'post' command 
> through PHP, as suggested by Mark Waddingham and others.
> 
> Now I am at a total loss! From what I can see in the forums, LC locked out 
> 'post to https' to only Enterprise users. Arrrghhh! 
> 
> I don't know what else I can do. Curl is not an option as this will be 
> running as an app on clients Windows machines. But even put url("https:// 
> returns error socket closed so that rules out setting up a server app too. 
> Nothing works!
> 
> I'm Delirious! HELP!
> 
> Sean Cole
> Pi Digital 
___
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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread Pi Digital via use-livecode
Yes. But have you seen how it has to get turned on. I have trouble enough with 
IT departments not wanting to install our software let alone ask them to go 
through the hassle of setting curl up on all of their clients desktops. This 
whole ssl https mySQL security thing came about because an IT Tech did a snoop 
on our app calling to the sql database. 

With those kind of security fears do you think it is likely that they will turn 
on curl? Not a chance!

 This is why I’m trying to get HTML5 deployment working. But there’s not a 
chance of LC doing anything about that. Especially now Covid has brought them 
to their knees. If they can’t get anything beyond the backspace key working and 
end up wrecking everything else about it in the process so that LC9.6.2 is 
unusable by me, then I don’t hold out much hope. 

Back on subject, curl would have to be done through shell requests which adds 
in a whole other bunch of issues. I really need a solution to get either the 
revdb security working or basic https messages. 

Sean Cole
Pi Digital


> On 23 Oct 2020, at 09:55, matthias rebbe via use-livecode 
>  wrote:
> 
> You are writing that curl is not an option, because the app shall run under 
> Windows,
> 
> but there are also Curl builds for Windows available.
> 
> https://curl.haxx.se/windows/
> 
> Regards
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode 
>> :
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post'
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out
>> 'post to https' to only Enterprise users. Arrrghhh!
>> 
>> I don't know what else I can do. Curl is not an option as this will be
>> running as an app on clients Windows machines. But even put url("https://
>> returns error socket closed so that rules out setting up a server app too.
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> *Pi Digital *
>> ___
>> 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 Podcast Player

2020-10-23 Thread Pi Digital via use-livecode
I made a conscious effort to reply to the OP thread by Tom by somehow got 
attributed to David’s. 

So I’m guessing either there is a problem with the LC use list server or (more 
likely) iPhones dumb mail app. It was meant to be following on from Tom’s 
original thread. 

But even added to the podcast subject divergence that was still in relation to 
the OP. 

The hijacking I spoke of was a complete subject change. I arseume that, that 
her than start a new mail, some people use the reply button as an easy way to 
start a new topic then think that changing the subject line will start a new 
thread instead of continuing in from the previous one. It happens a lot it 
seams looking back through the archives. 

I’m sorry if it seemed I had hijacked this hijacked thread buck to the OP ;)

Sean Cole
Pi Digital


> On 21 Oct 2020, at 20:16, JeeJeeStudio via use-livecode 
>  wrote:
> 
> You've just hijacked someone's thread...you said something last time. It's
> now a totally different subject.
> But nevertheless I total agree with what you just said.
> 
> Op wo 21 okt. 2020 17:46 schreef Pi Digital via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>> I’m going to chime in, not to discredit anyone else or their comments,
>> only to voice a reason I personally feel is far more needed and worthwhile.
>> 
>> Before any of what has been suggested being carried out, as lovely as it
>> all would be, getting the dictionary and the guide usable and
>> accurate/up-to-date would be of greater importance. Especially for the
>> modern and recent modifications. But even simple stuff that has been
>> altered in tiny ways has not been touched in the guide for an age.
>> 
>> My point is, there is no point in introducing and inviting new users to a
>> product that becomes difficult to use because documentation is out of date
>> and not matching in appearance or fiction to what is described. Sure a
>> community can advise those ones of workarounds and correct usage. But
>> that’s just pathetic and should be unnecessary. And you all know my
>> opinions on workarounds.
>> 
>> My ethos, fix what we have, don’t introduce more problems.
>> 
>> Sean Cole
>> Pi Digital
>> 
>> 
>>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Does anyone have a stack that plays audio podcasts?
>>> ___
>>> 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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread Pi Digital via use-livecode
It’s not listed in LC5.0.2 dictionary so I arseumed it wasn’t implemented in 
that version. 

But I tried it. It made no difference at all. Either set to true or false. Even 
the call to put url https://google.com came back with error socket closed. 

Http works. Https does not. It is locked out to all except Enterprise license 
holders for LC5.x

Sean Cole
Pi Digital


> On 23 Oct 2020, at 06:53, Mark Wieder via use-livecode 
>  wrote:
> 
> On 10/22/20 9:48 PM, Sean Cole (Pi) via use-livecode wrote:
> 
>> I don't know what else I can do. Curl is not an option as this will be
>> running as an app on clients Windows machines. But even put url("https://
>> returns error socket closed so that rules out setting up a server app too.
>> Nothing works!
>> I'm Delirious! HELP!
> 
> have you tried
> 
> libUrlSetSSLVerification false
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: POST to https in LC5.0.2 - Error socket closed

2020-10-22 Thread Pi Digital via use-livecode
Hi bill

Even a call to https://google.com returns the same error. It’s https it does 
not like. As mentioned, in LC9 it works perfectly. LC5.0.2 won’t let me access 
https because LC locked out that for enterprise users only. So basically, I 
screwed! Again!

Sean Cole
Pi Digital


> On 23 Oct 2020, at 06:14, ELS Prothero via use-livecode 
>  wrote:
> 
> Sean,
> I wonder if you used http without ssl, but did 256 bit encryption and 
> decryption at source and in the php connecting to mysql. I posted a link to a 
> sample stack using this method awhile back. It’s pretty simple. I am 
> traveling and not at my computer, but if you searched the emails for the last 
> few weeks on “earthlearningsolutions”, you would find it.
> 
> Good luck,
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
>> On Oct 22, 2020, at 9:49 PM, Sean Cole (Pi) via use-livecode 
>>  wrote:
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post'
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out
>> 'post to https' to only Enterprise users. Arrrghhh!
>> 
>> I don't know what else I can do. Curl is not an option as this will be
>> running as an app on clients Windows machines. But even put url("https://
>> returns error socket closed so that rules out setting up a server app too.
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> *Pi Digital *
>> ___
>> 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 Podcast Player

2020-10-21 Thread Pi Digital via use-livecode
Maybe that’s what we can all contribute. Get assigned a section of the guide 
and rewrite it. Submit, revise and add to the guide. 

And rewrite a better built in guide viewer. One that is searchable at the very 
least. And doesn’t take an age to load each section. 

Sean Cole
Pi Digital


> On 21 Oct 2020, at 16:45, Pi Digital  wrote:
> 
> I’m going to chime in, not to discredit anyone else or their comments, only 
> to voice a reason I personally feel is far more needed and worthwhile. 
> 
> Before any of what has been suggested being carried out, as lovely as it all 
> would be, getting the dictionary and the guide usable and accurate/up-to-date 
> would be of greater importance. Especially for the modern and recent 
> modifications. But even simple stuff that has been altered in tiny ways has 
> not been touched in the guide for an age. 
> 
> My point is, there is no point in introducing and inviting new users to a 
> product that becomes difficult to use because documentation is out of date 
> and not matching in appearance or fiction to what is described. Sure a 
> community can advise those ones of workarounds and correct usage. But that’s 
> just pathetic and should be unnecessary. And you all know my opinions on 
> workarounds. 
> 
> My ethos, fix what we have, don’t introduce more problems. 
> 
> Sean Cole
> Pi Digital
> 
> 
>>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode 
>>>  wrote:
>>> 
>> Does anyone have a stack that plays audio podcasts?
>> ___
>> 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 Podcast Player

2020-10-21 Thread Pi Digital via use-livecode
I’m going to chime in, not to discredit anyone else or their comments, only to 
voice a reason I personally feel is far more needed and worthwhile. 

Before any of what has been suggested being carried out, as lovely as it all 
would be, getting the dictionary and the guide usable and accurate/up-to-date 
would be of greater importance. Especially for the modern and recent 
modifications. But even simple stuff that has been altered in tiny ways has not 
been touched in the guide for an age. 

My point is, there is no point in introducing and inviting new users to a 
product that becomes difficult to use because documentation is out of date and 
not matching in appearance or fiction to what is described. Sure a community 
can advise those ones of workarounds and correct usage. But that’s just 
pathetic and should be unnecessary. And you all know my opinions on 
workarounds. 

My ethos, fix what we have, don’t introduce more problems. 

Sean Cole
Pi Digital


> On 21 Oct 2020, at 14:31, David Bovill via use-livecode 
>  wrote:
> 
> Does anyone have a stack that plays audio podcasts?
> ___
> 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: SQL Show Status

2020-10-20 Thread Pi Digital via use-livecode
I was actually trying to look at the sslcypher tag. Wanted to see if it thought 
the server was enabled for it and if the certs would work. But there was no way 
of telling using revdb if the certs were wrong, if the server was set or 
anything. No one was able to tell me how to find out and was just flying blind 
(as is often the case with LC documentation). 

But I’ve abandoned revdb now and opted entirely for php. That way I just use 
https for security. 

Next issue when I transfer back to HTML5 deployment of these apps is to work 
out how to get RSA encryption working. Probably another php script (which again 
will be insecure while feeding through JS, unless the Post command works ok in 
that environment - ??).  

All the best Bob 

Sean Cole
Pi Digital


> On 20 Oct 2020, at 22:20, Bob Sneidar via use-livecode 
>  wrote:
> 
> I’m wondering what status you are trying to retrieve. If you are wanting to 
> see if the SQL database is accessible/online, using an actual query has it’s 
> drawbacks. Querying an SQL database that is inaccessible will result in a 60 
> second timeout during which Livecode will be unresponsive. 
> 
> What I do instead is I first execute a telnet command using shell(). This 
> will tell me if I can get to the SQL server and if it’s listening. The next 
> thing you can do is execute a simple query SHOW STATUS will work as well as 
> anything else. You can also execute something like select 1+1 as sum. You 
> don’t even need to know a table or column. 
> 
> Bob S
> 
> 
>> On Oct 19, 2020, at 10:53 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> You have to use
>> 
>> revDataFromQuery()
>> 
>> because that will execute the SQL statement and will return any data that is 
>> coming from the DB Server.
>> 
>> Regards,
>> Matthias
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
 Am 19.10.2020 um 19:41 schrieb Sean Cole (Pi) via use-livecode 
 :
>>> 
>>> Hi Ralph,
>>> 
>>> What do I do to see the data in the two columns? My brain is hurting too
>>> much to figure it out.
>>> 
>>> Thanks
>>> Sean
>>> 
>>> On Mon, 19 Oct 2020 at 18:26, Ralph DiMola via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 Sean,
 
 revQueryDatabase(tConnId, “SHOW STATUS”) only returns an integer
 
 That integer is a record set.
 In my case it returned 536 rows.
 Each row has two columns:
 Variable_name
 Value
 
 
 Let me tell you Mr. Johnson... Some very interesting stuff in there.
 
 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 Sean Cole (Pi) via use-livecode
 Sent: Monday, October 19, 2020 12:50 PM
 To: How to use LiveCode
 Cc: Sean Cole (Pi)
 Subject: SQL Show Status
 
 Hi
 
 As everyone likes to hijack threads here, I’ve started another to make
 sure it gets seen.
 
 
 revQueryDatabase(tConnId, “SHOW STATUS”) only returns an integer
 
 Same for revdb_execute which returns 0
 
 Any clues on how to actually get the status back?
 
 Still trying to work out why these certificates are not working.
 --
 Sean Cole
 *Pi Digital Productions Ltd*
 www.pidigital.co.uk
 +44(1634)402193
 +44(7702)116447
 'Don't try to think outside the box. Just remember the truth: There is no
 box!'
 'For then you realise it is not the box you are trying to look outside of,
 but it is yourself!'
 
> 
> ___
> 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: SSL cPanel mySql setup

2020-10-16 Thread Pi Digital via use-livecode
Bill

Thanks for this. We were just discussing the same solution. I already have some 
php scripts I’m using for the HTML5 deployment of a LC stack as a portal to the 
same database. 

The whole thing needs an overhaul. I’ve inherited this world of pain that has 
been 10-15years of amateur coding. A testament to LCs ease of learning for my 
client who had no coding background before. But, boy, is it a mess. The call to 
the server along with all the credentials had been copy pasted over 900 times 
inside 700 objects. That’s just counting each time it opens a connection to the 
database. Bonkers! 

I think we’ve got a plan of attack now and some light at the end of this very 
long tunnel. Let’s see how much speed I can get out of this chuff chuff in the 
tunnel. 

Sean Cole
Pi Digital


> On 16 Oct 2020, at 17:31, William Prothero via use-livecode 
>  wrote:
> 
> Sean:
> You might find this download interesting, perhaps useful:
> http://earthlearningsolutions.org/wp-content/uploads/2018/07/RemoteDbEncryption.livecode.zip
>  
> <http://earthlearningsolutions.org/wp-content/uploads/2018/07/RemoteDbEncryption.livecode.zip>
> 
> It is a demo of AES encryption that I use. The livecode app encrypts it, 
> sends to a php file, which decrypts it and posts to a mysql database. You 
> could even store the data encrypted if you want, but I like to access the db 
> with phpMyAdmin.
> 
> Best,
> Bill
> 
> William A. Prothero
> https://earthlearningsolutions.org
> 
>> On Oct 16, 2020, at 2:51 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi Sean,
>> 
>> there was a discussion a few weeks ago with the topic "Strange behavior 
>> between Mysql, MariaDB and SSL."
>> I am not sure if the information in that discussion will solve your problem.
>> 
>> Another approach is the following. For security reasons we do not let 
>> communicat our LC apps directly with MySQL Databases, if the Database is 
>> hosted on a public server.
>> 
>> We using a Livecode Server Script on the Webserver for doing the complete DB 
>> communication.
>> Our standalones (Mobile and Desktop) send the requests (password encrypted 
>> string) either as POST or GET to the LC Server script. The script encrypts 
>> the  request string and executes it. The return from the DB is then returned 
>> to our standalone.
>> 
>> Another way would be to use an LC server api HostM is providing for free.
>> https://www.hostm.com/tutorials/livecode/api-mariadb-mysql
>> 
>> 
>> Regards,
>> Matthias
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>>> Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode 
>>>> :
>>> 
>>> Hi
>>> 
>>> I’ve found myself out of my depth and in need of advice. 
>>> We have a cPanel webspace with mySQL running on a phpMyAdmin layer within 
>>> the cPanel setup. Communicating with it from LC has been a breeze. However, 
>>> doing a traffic scan we noticed that our queries and responses from the 
>>> database are completely visible. Obviously a high security risk. 
>>> 
>>> Using an ssl certificate set, how do I implement this? How do I get cPanel 
>>> to allow for it and get LC to make use of them when using revOpenDatabase? 
>>> I have the useSSL flag set to Boolean ‘true’. I’ve tried using the set 
>>> certificates pointing it at the three ssl files. But the data still is 
>>> fully readable as plaintext in both direction when checked by our traffic 
>>> scanner. 
>>> 
>>> Thanks
>>> 
>>> Sean
>>> 
>>> ___
>>> 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: SSL cPanel mySql setup

2020-10-16 Thread Pi Digital via use-livecode
Thanks Mark

As I thought. Might as well have a server app that does the talking to the 
database. 

Sean Cole
Pi Digital

> On 16 Oct 2020, at 11:33, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2020-10-16 10:51, matthias rebbe via use-livecode wrote:
>> Hi Sean,
>> there was a discussion a few weeks ago with the topic "Strange
>> behavior between Mysql, MariaDB and SSL."
>> I am not sure if the information in that discussion will solve your problem.
> 
> I had a quick look through that thread and I don't think that is necessarily 
> relevant here (unless there was a part I missed) - that seemed to be mostly 
> about authentication method rather than SSL specifically - it sounds like in 
> this case a connection is being made it is just that it does not seem to be 
> secured using SSL encryption.
> 
> I checked the mysql client library code and it seems that if the MySQL server 
> says it does not support SSL then even if you ask for SSL connection (which 
> revDB does is the useSSL flag is true) that request will be ignored and you 
> will get a plaintext connection.
> 
> So this definitely *sounds* like a MySQL server setup problem rather than a 
> client one (there's some useful info for at least testing the type of 
> connection using the mysql command-line terminal utility here - 
> https://docs.cpanel.net/knowledge-base/security/how-to-configure-mysql-ssl-connections/)
> 
>> Another approach is the following. For security reasons we do not let
>> communicat our LC apps directly with MySQL Databases, if the Database
>> is hosted on a public server.
>> We using a Livecode Server Script on the Webserver for doing the
>> complete DB communication.
>> Our standalones (Mobile and Desktop) send the requests (password
>> encrypted string) either as POST or GET to the LC Server script. The
>> script encrypts the  request string and executes it. The return from
>> the DB is then returned to our standalone.
> 
> This is most definitely a better solution - and is the only real option if 
> client apps are talking to the server from arbitrary networks.
> 
> Whilst a secured (via SSL) connection to MySQL directly should mitigate 
> security concerns (as all data flowing between client and server is 
> encrypted), there is no guarantee that an arbitrary network will *allow* 
> connection to the MySQL database port which is required for that to function.
> 
> In contrast, you'd be hard pressed to find any network which allows access to 
> the internet which blocks port 80 (HTTP) or 443 (HTTPS).
> 
> Of course, the other advantage of using a 'gateway API' to access your server 
> data is that it allows client and server more flexibility in changing and 
> optimizing things - i.e. if you change something server-side then you can 
> probably make it so you don't necessarily need a client update to match (as 
> you can just adjust what the gateway does).
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: 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
___
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


SSL cPanel mySql setup

2020-10-16 Thread Pi Digital via use-livecode
Hi

I’ve found myself out of my depth and in need of advice. 
We have a cPanel webspace with mySQL running on a phpMyAdmin layer within the 
cPanel setup. Communicating with it from LC has been a breeze. However, doing a 
traffic scan we noticed that our queries and responses from the database are 
completely visible. Obviously a high security risk. 

Using an ssl certificate set, how do I implement this? How do I get cPanel to 
allow for it and get LC to make use of them when using revOpenDatabase? I have 
the useSSL flag set to Boolean ‘true’. I’ve tried using the set certificates 
pointing it at the three ssl files. But the data still is fully readable as 
plaintext in both direction when checked by our traffic scanner. 

Thanks

Sean

___
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: Contesting for Idiot du Jour

2020-09-07 Thread Pi Digital via use-livecode
Except Black

... and white. 


> On 7 Sep 2020, at 18:16, Roger Guay via use-livecode 
>  wrote:
> 
> … and reminding me yet again that most things are never black or white!


___
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: How Do You Get Filename / Image

2020-09-07 Thread Pi Digital via use-livecode
I see. You will need to use the full path for tImageName. That will be true for 
all of the file names you have stored on your cards and stacks. 

With images, the filename can be either the full path or a relative path, 
relative to the defaultFolder or the folder the stack is saved in. RevCopy only 
assumes names without full paths to be relative to the defaultFolder, not the 
stack location. RevCopy is definitely better when on desktop systems. 

One way to only see full paths is by turning on ‘Always use absolute file paths 
for images’ in the Files & Memory section of the main LC prefs. Or you could 
set the defaultFolder to specialFolderPath(“resources”) if you would prefer to 
keep relative paths in the file lists. 

Relying on ‘item n1 to n2’ for working out the origin path is not always going 
to be right, especially if you have been using relative paths in your script. 
Best to use full paths for both tImageName and tDestinationPath. 

Just make sure there wasn’t a space after ‘ellora’ as in your sample.

I’m confident you will work this out. As you said, it can’t be hard :) It is 
working fine using both methods here so I’m sure it’s going to be something 
simple you end up kicking yourself about. 

All the best. 

> On 7 Sep 2020, at 15:11, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Goal: to get a folder a disk that can be copied to the web server. We have 
> all kinds of files on disk. So, I am trying to copy a list of filename in the 
> cards of stack. It can't that hard. But I think the method for doing the 
> tRelativeName of filename is "broken" where are get the defaultFolder.
> 
> So I tried this. As it as simple as revCopyFile (as I discovered in that 
> dictionary)
> 
> But this don't work!
> 
> on mouseUp
>   local tImageName, tDestinationPath, tDefaultFolder
>   get the effective filename of this stack
>   set the itemdelimiter to "/"
>   put item 1 to -2 of it into tDefaultFolder
> 
>   set the defaultFolder to tDefaultFolder 
>   put the  defaultFolder
>   # it appears correct
> 
>   --put the filename of img "slideImage" into tImageName
> 
>   put "ellora /DC123344.jpg" into tImageName
>   put   "_ForWebSite" into tDestinationPath
> 
>   revCopyFile tImageName, tDestinationPath
> 
> end mouseup
> 
> # I'm against the wall on this!
> 
> # but directed at your attempt did not work 
> # as expected, no file was written
> 
> # a new attempt at your email was expecting
> # but the defaultFolder was entirely different!
> 
> on mouseUp
>   local tRelativeURL
> 
>   set the itemdelimiter to "/"
>   put (the item -2 to -1 of the filename of img "slideimage" ) into 
> tRelativeURL
>   # this works is: there is a path
>   # 1-ellora/dsc1234.jpg
> 
>   # this will work
>   Set the defaultFolder to item 1 to -3 of the filename of img "slideimage"
>   put the defaultFolder
> # a defaultFolder appeared that was older
> 
> put URL("binfile:" & tRelativeURL ) into URL("binfile:_ForWebSite/"& 
> tRelativeURL)
> 
> end mouseUp
> 
>  Pi Digital wrote:
> 
>I’ll try that again::
> 
># I’m going to assume this was a hiccup too and now fixed:
>  set the filename of img “slideimage” to (item 1 to -3 of the filename of 
> img “slideimage” & “/_ForWebSite/” & tRelativeURL)
> 
>> On 6 Sep 2020, at 23:01, Pi Digital via use-livecode 
>>  wrote:
>> 
>> # I’m going to assume this was a hiccup too and now fixed:
>>  set the filename of img “slideimage” to URL(“binfile:_ForWebSite/” & 
>> tRelativeURL)
> 
> 
> 
> ___
> 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: Contesting for Idiot du Jour

2020-09-07 Thread Pi Digital via use-livecode
Sure. Draw a circle on a 10x10, 20x20, 100x100, etc grid. Only Whole pixels get 
counted (Pass or 1 in digital binary). Depending on the methodology, either 1) 
only those within the circle line (complete) or 2) those on the line itself  
and within it (incomplete). 

In your example, a 200x200 circle has a resolution where it’s practically 
negligible from regular mathematics. However, the resolution at 100x100 and 
lower starts to flat wildly away from it. If you are measuring using collision 
and it’s accounting for antialiased pixels it can become even more diverse from 
standard math as it does not ‘see’ it in percentages of visible, only on or 
off. 

So, the difference between measuring only inside of a 200x200 and outside of 
the 100x100 will throw off considerably any ordinary calculations you might 
expect. Even a 400x400 PixelWise ‘circle’. 

Look up Gauss’ Circle Problem. The same chap we get the name for Gaussian blur 
from. 

> On 7 Sep 2020, at 05:26, Roger Guay via use-livecode 
>  wrote:
> 
> I’m sorry, I don’t understand your terminology. Could you please elaborate? 
> 
> Thanks,
> Roger
> 
>> On Sep 6, 2020, at 10:54 AM, Pi Digital via use-livecode 
>>  wrote:
>> 
>> Pixel math:
>> 
>> Counting incomplete pixels within a circle outline (%Pass)(%Fail):
>> 10x10 = 88 (88%)(12%)
>> 20x20 = 344 (86%)(14%)
>> 100x100 = 8012 (80%)(20%)
>> 
>> Counting complete pixels:
>> 10x10 = 48 (48%)(52%)
>> 20x20 = 276 (69%)(31%)
>> 100x100 = 7444 (74.4%)(26%)
>> 
>> Your conclusion here: _
>> 
>> ___
>> 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: How Do You Get Filename / Image

2020-09-06 Thread Pi Digital via use-livecode
I’ll try that again::

# I’m going to assume this was a hiccup too and now fixed:
  set the filename of img “slideimage” to (item 1 to -3 of the filename of img 
“slideimage” & “/_ForWebSite/” & tRelativeURL)

> On 6 Sep 2020, at 23:01, Pi Digital via use-livecode 
>  wrote:
> 
> # I’m going to assume this was a hiccup too and now fixed:
>   set the filename of img “slideimage” to URL(“binfile:_ForWebSite/” & 
> tRelativeURL)


___
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: How Do You Get Filename / Image

2020-09-06 Thread Pi Digital via use-livecode
on mouseUp
local tRelativeURL
-- repeat with x = 1 to (the number of cards of stack “SlideShowSetUp”)
--go card x
   set the itemdelimiter to “/”
put (the item -2 to -1 of the filename of img “slideimage” ) into 
tRelativeURL
   # this works is: there is a path
   # 1-ellora/dsc1234.jpg

   # this will work
Set the defaultFolder to item 1 to -3 of the filename of img “slideimage”

# Just in case:
If there is not a folder “_ForWebSite” then
 Create folder “_ForWebSite”
End if

put URL(“binfile:” & tRelativeURL ) into URL(“binfile:_ForWebSite/” & 
tRelativeURL)
   
# I’m going to assume this was a hiccup too and now fixed:
   set the filename of img “slideimage” to URL(“binfile:_ForWebSite/” & 
tRelativeURL)
   
-- end repeat
end mouseUp


> On 6 Sep 2020, at 14:58, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Maybe  it is aphasia...
> 
> How do we get file from one location to another location
> 
> ??
> 
> Brahmanathaswami


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


Re: Contesting for Idiot du Jour

2020-09-06 Thread Pi Digital via use-livecode
Pixel math:

Counting incomplete pixels within a circle outline (%Pass)(%Fail):
10x10 = 88 (88%)(12%)
20x20 = 344 (86%)(14%)
100x100 = 8012 (80%)(20%)

Counting complete pixels:
10x10 = 48 (48%)(52%)
20x20 = 276 (69%)(31%)
100x100 = 7444 (74.4%)(26%)

Your conclusion here: _

___
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 Font Layout

2020-08-25 Thread Pi Digital via use-livecode
>> Am 26.08.2020 um 00:43 schrieb J. Landman Gay via use-livecode 
>> :
>> 
>> Kudos also to Mark Waddingham who calmly delivered supportive info in an 
>> even response, even after reading for days how he and the team are liars, 
>> incompetents, and cheats


That would be the case if it wasn’t completely irrelevant to desktop display 
and aimed at browser rendering. 

-20

My claims still stand. Read my next post for context. 

Sean Cole
Pi Digital


> On 25 Aug 2020, at 23:48, matthias rebbe via use-livecode 
>  wrote:
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>> .
>> 
>>> On 8/25/20 2:59 PM, Richmond via use-livecode wrote:
>>> This sort of stuff will NOT help you at all; it appears intemperate and is 
>>> aimed (if it has to be
>>> aimed at all) at the wrong people.
>>> You have just managed to lose my sympathy completely, for what it's worth.
>>> "redundant and without merit": judgemental, arrogant, and so on: obviously 
>>> you need to go
>>> away and either calm down or boil your head.
>>> On 25.08.20 20:48, Sean Cole (Pi) via use-livecode wrote:
 Your argument also is redundant and without merit. This is not my first
 rodeo. I AM BRINGING TO LIGHT AND to THE SURFACE THE OBVIOUS FLAWS IN OUR
 MIDST!!
>> 
>> 
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com 
>> 
>> HyperActive Software   | http://www.hyperactivesw.com 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com 
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
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 Font Layout - current workarounds

2020-08-25 Thread Pi Digital via use-livecode
Hi Mike

I agree. But if you are providing the identical, Paid for font (and those 
things aren’t cheap to a tv  programme maker) then you would expect them to 
show up in the same place in the text field from one platform to another. I 
just don’t get that it’s been 15 years and they still can’t get this right. 

I’ve been forced to go through all of the fields and write code for each one of 
them to reposition them. Some I can ‘get away with. But where they need to 
appear central to a graphic (which there are a hundred of) it stands out badly 
and the customer, of course, notices as in my example pictures of my OP. 

LC Mark or Kevin, care to respond? I WONT let it lay without one. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 25 Aug 2020, at 14:45, Mike Kerner via use-livecode 
>  wrote:
> 
> this has always been a problem with multiple development tools, at least
> for as long as I can remember x-platform development tools and WYSIWYG
> being a thing, so Win 95, and MacOS 6 or 7 (uh...7?).  I agree it would be
> great if LC would try harder, since the goal is to make the developer's
> life easier, and if the mantra and the goal is to design it/lay it out/code
> it once, then that should be what you get.
> some development tools have gone so far as to use style sheets, so on one
> platform you have different sizes (or different fonts) to accommodate the
> issues, but i'm not a fan.  there are too many exceptions to the rule, and
> you're always chasing "good enough", which is "good enough", until you rap
> your knuckles on the next exception.
> at least for us, the easiest thing to do has been to size objects for the
> mac, because we have found that on the mac, fonts render slightly larger,
> and therefore wrap or overflow.  then when we port to windoze, things are
> ok.
> 
>> On Tue, Aug 25, 2020 at 9:29 AM Richmond via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Well; let's consider that suggestion:
>> 
>> 1. The Holy Grail was an abstract idea dreamt up by the Knights Templars.
>> 
>> 2. Most people have worked out by the time they are about 35 that
>> perfection is a dangerous illusion.
>> 
>> 3. "Years of hell": Why do you suppose the OP has stuck with LiveCode
>> for the length of time he has if it has been 'hell'?
>> 
>> 4. "find another language that will do exactly what you want" . . .
>> ouch, I hurt my leg falling off the chair with laughter.
>> 
>> 5. Why do I get a "funny feeling" that by calling yourself 'Paul
>> Pystcat' you are an undercover agent pushing Python (a language
>> which I could say one or two "fruity" things about)?
>> 
>> 6. The OP is NOT a fool; that is quite obvious from his previous
>> postings over a number of years, and he would not be
>> posting the sort of thing he posted if he were considering abandonong
>> LiveCode.
>> 
>> 7. Err . . . on the subject of rants and "squishes" . . .
>> 
>>> On 25.08.20 16:11, Paul Pystcat via use-livecode wrote:
>>> I really have to ask…  if you are having such problems that are so
>> insurmountable using LiveCode, then why not just abandon ship…?
>> Seriously.  If this is such a showstopper, why not find another language
>> that will do exactly what you want..?  Don’t waste any more of your time.
>> Do it.  You may find the Holy Grail and all will be well… you can look back
>> on your years of hell with LiveCode and laugh at us that remain.
>>> 
>>>> On Aug 25, 2020, at 6:01 AM, Pi Digital via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Not Fridge, Fork.
>>>> 
>>>> I assume (dangerously) from your reply that you do not have to make
>> real world applications for corporate branded customers. Where design has
>> been done by a branding team with a 12 - 120 page Production guide).
>> Someone like the BBC, Channel 4, NBC, or their subsidiaries. Like Saatchi
>> and Saatchi, Mars, Ford, Pfizer, Virgin, VTech, Bandai.
>>>> 
>>>> My case study this project. Two week turnaround (first week primary
>> development wireframed , second week skin and output for Windows(primary
>> output)/Mac(Backup)). Tv gameshow multiscreen (some split across multiple
>> screens themselves) for live recording screen graphics. 35 cards (or
>> frames, pages, slides, whatever you want to call them) plus video inserts
>> all with live updated content input by a controller on a remote machine (pc
>> or Mac as they see fit on the day) as the show progresses.
>>>> 
>>>> As the platf

Re: Cross Platform Font Layout - current workarounds

2020-08-25 Thread Pi Digital via use-livecode
Paul

It’s a reasonable question so I’ll afford it the dignity it deserves. Here’s 
the thing. With thousands of £ invested in them including when they beg for 
money to help them out during times of distress you end up almost locked into 
their ecosystem. Besides, my main bread and butter client is 100% LiveCode 
dépendant so I HAVE to continue down the LC route. 

Unless I do what Richmond suggests, which has often been on my mind, and just 
jump ship and abandon my client. I’ve had partnerships I’ve had to do this with 
before, mostly due to their poor business skills though. This one has been 
nothing but good to me especially since I came out of the mental hospital two 
years ago. I wouldn’t want to insult him. 

And therein lies the rub because, to achieve the html conversion of his app his 
clients were effectively demanding, I had to have certain assurances from LC 
before investing yet more thousands of £ into them. However, that has all been 
proven to be LIES. 

And this is the real reason of late I have been up on MY high horse. Because 
time and time again, things promised are NEVER delivered. Except FMPro so we 
are led to believe. If they were really making so many sales, Jacque, why on 
earth would they be begging for money to help them out?? Why don’t they call on 
their new FM partners or users?? 

In response to the question ‘what on earth made you believe it would be 100% 
cross platform’. Look on their homepage. The first 2 sections repeat it several 
times. According to that they have built their own system that delivers just 
this. Backed up by images that make it appear to be exactly this way with 
identical screen shots from multiple platforms. And they say it DOES NOT NEED 
ADDITIONAL CODE!!

How are you going to defend them this time? LC have not responded to this or my 
other posts. THEY KNOW I’M RIGHT and are keeping out of the frame. 

Look at the bug report from my original post. Look at it. 15 years on, STILL 
NOT FIXED. Confirmed as a bug. Nothing done. 

I want to give up so desperately but I am forced into carrying on until LC 
drive me into hospital yet again. I think I’ve explained enough above to show 
why that is. I’m doomed. I’m facing my own inevitable demise like someone with 
cancer. 

But I won’t go down without a fight!

All the best to the best of you all. (But not the rest of you) ;)

Sean Cole
Pi Digital
___
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 Font Layout - current workarounds

2020-08-25 Thread Pi Digital via use-livecode
Not Fridge, Fork. 

I assume (dangerously) from your reply that you do not have to make real world 
applications for corporate branded customers. Where design has been done by a 
branding team with a 12 - 120 page Production guide). Someone like the BBC, 
Channel 4, NBC, or their subsidiaries. Like Saatchi and Saatchi, Mars, Ford, 
Pfizer, Virgin, VTech, Bandai. 

My case study this project. Two week turnaround (first week primary development 
wireframed , second week skin and output for Windows(primary 
output)/Mac(Backup)). Tv gameshow multiscreen (some split across multiple 
screens themselves) for live recording screen graphics. 35 cards (or frames, 
pages, slides, whatever you want to call them) plus video inserts all with live 
updated content input by a controller on a remote machine (pc or Mac as they 
see fit on the day) as the show progresses. 

As the platform my POC and his office colleagues was using was a PC it made 
sense to do development in Windows for output to PC and Mac for studio techs to 
pick from based on location around the studio (the gallery for controllers, 
back stage and stage floor). It is arse-umed that how it looks on Windows is 
how it should look on any other platform we distribute to including the various 
output sizes (1024x576SD, 960x540HHD, 1920x1080HD, 3840x2160 4k). Everything 
has to match to the pixel. That’s how branding works. We have no issue with 
that moving between platforms in editing and graphics platforms, so post 
production facilities (mine included) could not conceive or perceive that it 
would be any different in a development environment. Design it in photoshop on 
a pc and send it to your colleagues working in After Effects on a Mac and send 
it back to an editor on a PC running Premiere and it looks the same end to end. 
That is ‘just the way it is’! 

So, after developing at a stupid rate, 12 solid 14-18hr days, we have the 
finished app layered out (don’t get me back on the layering embargo), animated 
with text & graphic moves and effects, ready for deployment out to Mac and PC. 
Tick the boxes in the standalone settings, build and open in their respective 
platforms. 

Only to find that everything you had laid out perfectly matching on PC is 
totally screwed on the Mac. Opening up the stack on the Mac, it’s the same 
thing. Now with only one day to go I am forced to work out the fastest way to 
realign every text box (anything from 2 - 200 per card) so they match exactly 
regardless of platform. Like is done automatically on any other software we use.

That’s ‘real world’ development. Not to mention my current bread and butter job 
for Porrima which has, to date, 47 substacks, 377 cards, 10,800+ text objects 
and  is now being ported from PC o et to HTML5 by way of a tonne of 
NON-CODE-ONCE workarounds and layout alterations.

It’s this kind of BS that keeps me mental, ensures I don’t get too sane. Makes 
sure you get a good rant out of me every week or month. 

Sean Cole
Pi Digital
> 
> That is HowTF  (What do you mean exactly by "How Tin Fridge"?) ;-), I get
> things done.
> 
> Best, 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: Layers in PBrowser

2020-08-15 Thread Pi Digital via use-livecode
I give up :(

Sean
> 
> 
>> On 15 Aug 2020, at 08:41, Pi Digital  wrote:
>> 
>> What make you say I will? iChat reason for I have to Trust what you say. 
>> There is NO WAY there have been no bugs in the software unless it’s perfect. 
>> The fact there is only 16 bugs listed under LCFM tells a massive story that 
>> no one is effing using it. The forums are empty other than people on the FM 
>> one saying it’s not worth bothering with - unless you can point me to crap 
>> load that says otherwise  There is NO WAY that people are using it and not 
>> asking question about how to use it unless ALL ATTENTION of the LC team has 
>> been drawn away to it to the detriment of everyone else in this community 
>> meaning that the other things have effectively become abandonware. There is 
>> literally No Evidence to back up your optimistic claims of fortitude. PLEASE 
>> prove me wrong, I beg of you! Heather has done a shed load of Blog posts on 
>> the LCFM site and NOTHING on the standard LC site! HTML5 Deployment, which i 
>> am completely dependent on except for a few other little projects here and 
>> there, is simply not being worked on despite several reassurances from the 
>> mothership it ‘would’ be worked on. PLEASE, prove me wrong!! Because at the 
>> moment it has left me REALLY peaved off that the only thing they have fixed 
>> is the frikin delete key when none of the other modifier keys, arrow keys, 
>> escape key, copy paste, or other simple tings have been done. In over six 
>> months since I was sat at a table with Ian from LC and literally showed him 
>> face to face the issues with it. 
>> 
>> With respect, from experience, anyone who says ‘some day you will’ is full 
>> of crap (like some 3yr old shaking his fist at you)! Empty words. Show me 
>> the evidence. I’ve dug deep and find nothing.
>> 
>> Sean Cole
>> Pi Digital Productions Ltd
>> 
>> 
>> eMail Ts & Cs
>> 
>> 
> On 15 Aug 2020, at 04:45, J. Landman Gay via use-livecode 
>  wrote:
> 
>>> On August 14, 2020 8:10:59 PM "Sean Cole \(Pi\) via use-livecode" 
>>>  wrote:
>>> 
 Oh, just to summarize the issue:
 https://quality.livecode.com/buglist.cgi?quicksearch=lcfm
>>> 
>>> I'd hardly call 16 bugs "abandonware". They've fixed far more than that. 
>>> LCFM is important. I know you don't believe it, but some day I think you 
>>> will.
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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: Layers in PBrowser

2020-08-15 Thread Pi Digital via use-livecode
IChat I’m first line should have been ‘What’. Stupid autocorrect. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 15 Aug 2020, at 08:41, Pi Digital  wrote:
> 
> What make you say I will? iChat reason for I have to Trust what you say. 
> There is NO WAY there have been no bugs in the software unless it’s perfect. 
> The fact there is only 16 bugs listed under LCFM tells a massive story that 
> no one is effing using it. The forums are empty other than people on the FM 
> one saying it’s not worth bothering with - unless you can point me to crap 
> load that says otherwise  There is NO WAY that people are using it and not 
> asking question about how to use it unless ALL ATTENTION of the LC team has 
> been drawn away to it to the detriment of everyone else in this community 
> meaning that the other things have effectively become abandonware. There is 
> literally No Evidence to back up your optimistic claims of fortitude. PLEASE 
> prove me wrong, I beg of you! Heather has done a shed load of Blog posts on 
> the LCFM site and NOTHING on the standard LC site! HTML5 Deployment, which i 
> am completely dependent on except for a few other little projects here and 
> there, is simply not being worked on despite several reassurances from the 
> mothership it ‘would’ be worked on. PLEASE, prove me wrong!! Because at the 
> moment it has left me REALLY peaved off that the only thing they have fixed 
> is the frikin delete key when none of the other modifier keys, arrow keys, 
> escape key, copy paste, or other simple tings have been done. In over six 
> months since I was sat at a table with Ian from LC and literally showed him 
> face to face the issues with it. 
> 
> With respect, from experience, anyone who says ‘some day you will’ is full of 
> crap (like some 3yr old shaking his fist at you)! Empty words. Show me the 
> evidence. I’ve dug deep and find nothing. 
> 
> Sean Cole
> Pi Digital Productions Ltd
> 
> 
> eMail Ts & Cs
> 
> 
>>> On 15 Aug 2020, at 04:45, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>> On August 14, 2020 8:10:59 PM "Sean Cole \(Pi\) via use-livecode" 
>>  wrote:
>> 
>>> Oh, just to summarize the issue:
>>> https://quality.livecode.com/buglist.cgi?quicksearch=lcfm
>> 
>> I'd hardly call 16 bugs "abandonware". They've fixed far more than that. 
>> LCFM is important. I know you don't believe it, but some day I think you 
>> will.
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers in PBrowser

2020-08-15 Thread Pi Digital via use-livecode
What make you say I will? iChat reason for I have to Trust what you say. There 
is NO WAY there have been no bugs in the software unless it’s perfect. The fact 
there is only 16 bugs listed under LCFM tells a massive story that no one is 
effing using it. The forums are empty other than people on the FM one saying 
it’s not worth bothering with - unless you can point me to crap load that says 
otherwise  There is NO WAY that people are using it and not asking question 
about how to use it unless ALL ATTENTION of the LC team has been drawn away to 
it to the detriment of everyone else in this community meaning that the other 
things have effectively become abandonware. There is literally No Evidence to 
back up your optimistic claims of fortitude. PLEASE prove me wrong, I beg of 
you! Heather has done a shed load of Blog posts on the LCFM site and NOTHING on 
the standard LC site! HTML5 Deployment, which i am completely dependent on 
except for a few other little projects here and there, is simply not being 
worked on despite several reassurances from the mothership it ‘would’ be worked 
on. PLEASE, prove me wrong!! Because at the moment it has left me REALLY peaved 
off that the only thing they have fixed is the frikin delete key when none of 
the other modifier keys, arrow keys, escape key, copy paste, or other simple 
tings have been done. In over six months since I was sat at a table with Ian 
from LC and literally showed him face to face the issues with it. 

With respect, from experience, anyone who says ‘some day you will’ is full of 
crap (like some 3yr old shaking his fist at you)! Empty words. Show me the 
evidence. I’ve dug deep and find nothing. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 15 Aug 2020, at 04:45, J. Landman Gay via use-livecode 
>  wrote:
> 
> On August 14, 2020 8:10:59 PM "Sean Cole \(Pi\) via use-livecode" 
>  wrote:
> 
>> Oh, just to summarize the issue:
>> https://quality.livecode.com/buglist.cgi?quicksearch=lcfm
> 
> I'd hardly call 16 bugs "abandonware". They've fixed far more than that. LCFM 
> is important. I know you don't believe it, but some day I think you will.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Layers in PBrowser

2020-08-14 Thread Pi Digital via use-livecode
Richard

Watch my videos I posted using Dropbox. It’s madness. And it’s been CONFIRMED 
and NOT FIXED for a very long time

https://quality.livecode.com/show_bug.cgi?id=18818

https://quality.livecode.com/show_bug.cgi?id=19455

Probably FIXED but still marked as CONFIRMED

https://quality.livecode.com/show_bug.cgi?id=21460

https://quality.livecode.com/show_bug.cgi?id=22698

RantyBit (BOOL *withTruthElement){
Which also demonstrates why bugzilla lives up to its name as an unwieldy 
monster, unmanaged and out of control. Heaps and heaps of UNCONFIRMED and 
CONFIRMED items that have not been dealt with, shelved or FIXED. Too busy 
creating ‘new features’ or working on FMPro stuff that no one is using 
(https://community.claris.com/en/s/question/0D50H7PK9tH/current-state-of-livecode-for-fm)
 rather than fix all the basics. Or, based on the rate of pull requests, sweet 
fa. 

 Frikin people who say ‘I can’t reproduce’ when it is clearly demonstrated 
in a frikin video EXACTLY what is happening! Does my nut in!! I *have* got BPD, 
but any ‘normal’ person would get infuriated by this behaviour from those 
outside and is the usual barrage of unhelpfulness that comes from the afore 
mentioned ‘You People’! And I am saying this “after some sleep” and “a fresh 
look” as prescribed by other ‘you people’ I this thread.

2c: I wasn’t after more workarounds. I want to highlight how crap like this 
NEVER gets fixed or dealt with and continues being poop. Someone (Mark, Ali, 
Sam, Ian, Kevin, Heather, anyone) needs to start fixing shite like this that 
has been around the last 6 years! Things looked promising when Panos came on 
board and was ploughing through heaps of bugs. But that’s all slowed to a 
deadening thud too. Lockdown was an opportunity that looks like has been 
squandered. Little to no (meaningful) communication other than begging for more 
cash. Hmpf!
}

Sean Cole
Pi Digital


> On 14 Aug 2020, at 05:15, Richard Gaskin via use-livecode 
>  wrote:
> 
> Tom, I'm among the several here who have been unable to reproduce the 
> original issue discussed here, at least as I understood it.
> 
> Perhaps I misunderstand it. What is the recipe for the bug you're referring 
> to?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> 
> 
> Tom Glod wote:
>> Yikes.. I have a lot of time for LC but there is really no excuse that
>> is acceptable for this kinda bug to be around for so long there were
>> others that drove me nuts for years too...but have since been solved thank
>> God.
>>> On Thu, Aug 13, 2020 at 7:53 AM David V Glasgow via use-livecode <
>>> use-livecode at lists.runrev.com> wrote:
>>> 
>>> 
>>> > On 13 Aug 2020, at 4:16 am, Pi Digital via use-livecode <
>>> use-livecode at lists.runrev.com> wrote:
>>> >
>>> > Why do I have the same discussion with you people
>>> 
>>> Hi Sean, There are no ‘you people’, there is only us, including you.
>>> 
>>> I can’t help you with your IDE problem, but I can see that others are
>>> trying hard to be helpful, and that you are running on empty.
>>> 
>>> Maybe get some sleep and revisit the issue when you are feeling refreshed?
>>> 
> 
> 
> ___
> 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: Layers in PBrowser

2020-08-12 Thread Pi Digital via use-livecode
Brian

I have no clue of what you are talking about here. Bewildered! 

Why do I have the same discussion with you people. It should be simple. It is 
not. This is not the way it should work just because it is the way it does 
work. It is impossible to put things where you want them in any simple form. 
The fact you cannot replicate it using a simple stack does not take from the 
fact I am having the replicatable Effect in my complicated working stack. As 
demonstrated several times in video. Sheesh, what does it take to get through 
to you people?? It’s broken. Take my word for it! 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 13 Aug 2020, at 03:50, Brian Milby via use-livecode 
>  wrote:
> 
> The issue that you are confronting (in your discussion, not the video) is 
> that the layer is an ordinal and does not convey any information about group 
> membership alone
___
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: [ANN] Release 9.6.1 RC-1

2020-07-29 Thread Pi Digital via use-livecode
Yay

HTML5 fixes. I’ll be testing this to the max tonight. :D

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 29 Jul 2020, at 17:54, panagiotis merakos via use-livecode 
>  wrote:
> 
> Dear list members,
> 
> We are pleased to announce the release of LiveCode 9.6.1 RC-1.
> 
> 
> Getting the Release
> ===
> You can get the release at https://downloads.livecode.com/livecode/ or via
> the automatic updater.
> 
> 
> Release Contents
> 
> LiveCode 9.6.1 RC-1 comes with more than 50 changes, including:
> 
> New Features
>  - Support for building against API 29 on Android - which is now (starting
> from the 3rd of August 2020) a requirement for new apps submitted to the
> Play Store
>  - Support for building with Xcode 11.5, using the iOS 13.5 SDK
>  - New tsNet and mergExt builds, built with the iOS 13.5 SDK
>  - Improved security, by using a New OpenSSL version (1.1.0g)
> 
> Bug Fixes:
>  - Several improvements and bug fixes in HTML5
>  - Faster auto-updater
>  - Improvements in the barcode scanner widget
>  - Several crashes have now been addressed
> 
> 
> For the full list of all fixes, updates and enhancements please see the
> release notes:
> http://downloads.livecode.com/livecode/9_6_1/LiveCodeNotes-9_6_1_rc_1.pdf
> 
> 
> Known issues
> 
> - The Browser widget's native layer is not shown in some Linux distros with
> Cinnamon window manager.
> - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS
> yet.
> 
> 
> Required Software
> =
> To build iOS apps with LiveCode you must have the appropriate versions of
> Xcode as follows:
> 
>  - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1
> SDK
>  - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS
> 13.2 SDK
>  - macOS 10.15.2: Xcode 11.5.x - LiveCode builds iOS apps using the iOS
> 13.5 SDK
> 
> There is a full list of working LiveCode/macOS/Xcode combinations here:
> https://livecode.com/docs/9-5-0/faq/faq/
> 
> Note: Whilst we endeavour to release updated versions of LiveCode
> supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly
> recommend disabling automatic update of Xcode or downloading the specific
> version of Xcode required directly from the Apple developer portal and
> installing it separately.
> 
> Important: From the end of June 2020, Apple is only accepting apps built
> using iOS13 SDKs. This means that, if you wish to submit apps to the
> AppStore you will have to be running at least macOS 10.14 in order to be
> able to install the necessary version of Xcode.
> 
> 
> Feedback
> 
> Please report any bugs encountered on our quality center at
> http://quality.livecode.com/
> 
> We have a forum available for discussing LiveCode Builder at
> http://forums.livecode.com/viewforum.php?f=93
> 
> 
> Have fun!
> The LiveCode Team
> --
> ___
> 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: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign.

2020-07-17 Thread Pi Digital via use-livecode
Martin, are you saying there are campaign snipers :D

Well done LC. Worth keeping it alive. Always lots of potential. 

Sean Cole
Pi Digital Productions Ltd


> On 17 Jul 2020, at 16:52, Tom Glod via use-livecode 
>  wrote:
> 
> Congrats Livecode Inc on reaching the goal that is good news for us all!
> 
> 
> 
>> On Thu, Jul 16, 2020 at 2:08 PM Mark Smith via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Yes, big congrats to everyone; contributors and fund raisers alike . Quite
>> a feat. I look forward to exciting new developments.
>> 
>> Mark
>> 
>> 
>>> On Jul 16, 2020, at 6:20 PM, Martin Koob via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hi.
>>> 
>>> Another successful campaign — 100% funded.   Congrats to Kevin and all
>> the folks at LiveCode and thanks to all the fellow members of the community
>> who chipped in to reach the goal.
>>> 
>>> We always seem to make it at the end of these campaigns..  It is like
>> and auction and it seems there are a number of people who stand at the
>> sidelines till the last few days and then the serious bidding starts,
>> people get excited and may end up buying a thing or two they hadn’t
>> intended to to see it go over the edge.  Always an interesting phenomenon
>> to watch from this side.  I wonder if this is unique to the LiveCode
>> community.   It would be an interesting study for some graduate student in
>> business or psychology.
>>> 
>>> Martin Koob
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 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
>> 
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411
> ___
> 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: LCGitHubLib deprecation

2020-07-08 Thread Pi Digital via use-livecode
Hi

This is what I received:

We're contacting you regarding upcoming changes for your GitHub Apps:
 - LCGitHubLib

We no longer support two events which your GitHub Apps may rely on, 
"integration_installation" and "integration_installation_repositories".

These events can be replaced with the "installation" and 
"installation_repositories" events respectively. 

The "integration_installation" and "integration_installation_repositories" 
events will be removed after October 1st, 2020.

Please visit 
https://developer.github.com/changes/2020-04-15-replacing-the-installation-and-installation-repositories-eventsfor
 more information about suggested changes, brownouts, and removal dates.

Thanks,
The GitHub Team

> On 8 Jul 2020, at 12:47, matthias rebbe via use-livecode 
>  wrote:
> 
> Sean,
> 
> i did a Google search for LCGitHubLib  and could not find any information 
> about it.
> 
> What is/was it?
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 07.07.2020 um 22:01 schrieb Pi Digital via use-livecode 
>> :
>> 
>> Hey all. 
>> 
>> Just received notification from github that the LCGitHubLib app will no 
>> longer be available on github from October. I’m sure the relevant coders 
>> have also been notified but will this have impact on our own repository 
>> forks. We have till October so there’s no rush. I’m just starting the 
>> conversation for an early heads up. 
>> 
>> All the best
>> 
>> Sean Cole
>> Pi Digital
>> ___
>> 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


LCGitHubLib deprecation

2020-07-07 Thread Pi Digital via use-livecode
Hey all. 

Just received notification from github that the LCGitHubLib app will no longer 
be available on github from October. I’m sure the relevant coders have also 
been notified but will this have impact on our own repository forks. We have 
till October so there’s no rush. I’m just starting the conversation for an 
early heads up. 

All the best

Sean Cole
Pi Digital
___
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: [off-topic-ish] do you prefer LC-related content as books or video courses?

2020-07-07 Thread Pi Digital via use-livecode
Hi

A proper up to date guide for LiveCode is what has been needed for years. 
Digital or paper. I used to love paper manuals and guides but more so get PDFs 
these days. 

Sean Cole
Pi Digital
___
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: WebSites made using Livecode.

2020-07-05 Thread Pi Digital via use-livecode


> On 5 Jul 2020, at 21:16, Heriberto Torrado via use-livecode 
>  wrote:
> 
> Hi Sean,
> 
> So, as far as I know, you use PHP as a middleware between the database and 
> the Livecode code app. Isn't it?
Yes
> I guess you do that because of security reasons to not expose the database.
No. It needs it to talk directly to the database on the same host. The security 
is served by encrypting both the request and response. JS has a hole in it 
where the message can be intercepted while talking to php that I’m avoiding 
getting exploited. 

> My main goal is to use Livecode instead of PHP to create a small website 
> (about ten forms and some logic layer to edit them).
> I think it will be fun.
Perfect. That will work nicely. You host doesn’t need to be anything special. 
As long as gzip can be enabled and is happy running JS then you just upload the 
LC emscripten js file and your standalone zip you’ll be good to go. 

> 
> I use Livecode to create apps, and as a console scripting to substitute some 
> Bash scripts.
> So now, I'd like to explore the server options.
> It will be a a dream to use the same language for the server.
> 
> I'm trying to convince my customer.
> 
> Off-topic:
> 
> Would you guys like to work in Alaska for some time? It could be a good 
> experience.
> They are looking for a LiveCode programmer.
> 
> https://www.indeed.com/jobs?q=livecode=571a9274563c52bc
I would love this. I’ve been having enough trouble convincing the family to 
move from the south of England up to Scotland. Alaska, I fear, would be an even 
bigger sell. 

All the best
Sean

___
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: WebSites made using Livecode.

2020-07-04 Thread Pi Digital via use-livecode
Hi

I’ve been creating a website built in LiveCode but NOT LC Server. I opted to 
using php for server end calls as we connect into a mySQL database on the 
server. The message path is LC > tiny amounts of JS > a small PHP library of 
function calls > JS message transport > LC. LC does all the heavy lifting. JS 
is ONLY for sending messages to and from php. PHP is pretty much only for 
communication with the database, sending emails, downloading and uploading 
files to and from the users desktop/file system. 

What was you wanting LC Server accomplish? Was you using an LC front end or 
only looking to use it for backend stuff?

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 3 Jul 2020, at 16:47, Heriberto Torrado via use-livecode 
>  wrote:
> 
> Hi Dan,
> 
> The customer cares about the backend, because he wants to be sure he will 
> find a livecode hosting company in the future. We will host the web page into 
> our own servers.
> We currently offer PHP, Python  and LiveCode hosting.
> I'm honest with my customers and I told him about Livecode backend hosting 
> pros & cons.
> 
> There are other companies offering LiveCode hosting, but in Spain it is not 
> very popular.
> 
> It will not be the typical Wordpress webpage, it will be a small Human 
> Resources website for their employees.
> It would be easier to do it with Python-Flask or Django, but I'm very excited 
> to do it using livecode.
> 
> Thank you very much for those links.
___
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: Moving object out of a group

2020-06-16 Thread Pi Digital via use-livecode
I don’t hate it but it can be a little frustrating and awkward. It’s still 
better than it was in v8 and than the application manager. It desperately needs 
a refresh button. And layering needs a rethink/overhaul. V10 maybe. 

Looking at the bug list there are heaps for PB that have/will not be addressed. 
Confirmed is as far as most of them get. 

Bug 18818 is the most relevant to my symptoms. Reported in Nov 2016. Bumped in 
Mar 2018. Not touched since. I suppose we have to keep bumping these if we want 
them looked in to or they just end up getting lost in the forest of bugs that 
get added and not addressed beyond ‘Confirmed’. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 16 Jun 2020, at 17:19, doc hawk via use-livecode 
>  wrote:
> 
> 
> Mark mumbled,
> 
>> Have I mentioned lately how much I hate the Project Browser?
> 
> I still find it far too painful to use.   
> 
> A couple of times a year to work around another bug or crash situation, but 
> that’s it.
> ___
> 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: checking we are back

2020-06-15 Thread Pi Digital via use-livecode
Resisting the urge to reply




Ahh, dang it!

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 15 Jun 2020, at 09:26, Heather Laine via use-livecode 
>  wrote:
> 
> If you see this, no need to reply.
> 
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.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: I need some DataGrid performance help

2020-05-06 Thread Pi Digital via use-livecode
Hi Paul

What handler do you have this code? From what you are saying it seems it’s 
deploying this formatting script every time it redraws which itself is very 
inefficient and unnecessary. It should only have to deal with the data itself 
ideally. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 5 May 2020, at 21:38, Paul Dupuis via use-livecode 
>  wrote:
> 
> I have a datagid operation that should be fast that is taking a long time 
> and I don't understand why.
> 
> I use a datagrid to display a table of data as part of an analysis. The 
> columns are file names and the rows are selected phrases found in those 
> files. The first column is the list of phrases (162 in this example). The 
> remaining columns are all the file name (254 in this example). So each cell 
> (2 to 254) represents a count of the number of times the phrase (in column 1 
> of the row) was found the the file that column represents.
> 
> I have the following code:
> 
>   set the dgColumnWidth[tRowColumnName]  of grp "rwMatrixObj_DataGrid" to 
> 200
>   set the dgColumnAlignment[tRowColumnName]  of grp "rwMatrixObj_DataGrid" to 
> "left"
>   set the dgColumnSortType[tRowColumnName]   of grp "rwMatrixObj_DataGrid" to 
> "text"
>   set the dgColumnIsEditable[tRowColumnName] of grp "rwMatrixObj_DataGrid" to 
> false
>   repeat with i=2 to the number of lines in tColumnNames
> put line i of tColumnNames into tColumnName
> set the dgColumnTooltip[tColumnName]of grp "rwMatrixObj_DataGrid" to 
> tColumnName
> set the dgColumnWidth[tColumnName]  of grp "rwMatrixObj_DataGrid" to 
> 75
> set the dgColumnAlignment[tColumnName]  of grp "rwMatrixObj_DataGrid" to 
> "right"
> set the dgColumnSortType[tColumnName]   of grp "rwMatrixObj_DataGrid" to 
> "numeric"
> set the dgColumnSortDirection[tColumnName] of grp "rwMatrixObj_DataGrid" 
> to "descending"
> set the dgColumnIsEditable[tColumnName] of grp "rwMatrixObj_DataGrid" to 
> false
>   end repeat
> 
> The first time this executes it takes just under 3 minutes for this size of 
> data (254 columns). However, the second and each successive time in the same 
> session it takes just under 30 minutes!
> 
> Any idea why it would take so long?
> 
> Thoughts on how to speed it up?
> 
> I realize that I could use: 'set the dgProp["column widths"] of grp  to 
> ' as a single set action vs a loop where I am 
> using 'set the dgColumnWidth[tColumnName] of grp  to '.
> 
> However, there are only Datagid properties so set attributes for ALL columns 
> for alignments, visibility, widths, and labels. Therefore, I have to use a 
> loop anyway to set the tooltip, sorttype, sortdirection, end editability
> 
> The column names (in the variable tColumnNames) are file names. Some are long 
> (longest is 113 characters) and some contain assorted punctuation. I wonder 
> is the column NAMES should be somehting plain ASCII and short and the column 
> LABELS contain the file names?
> 
> This is all in LiveCode 9.5.1 on Windows. Timing is approximately the same in 
> a Standalone or the IDE.
> 
> Anyway, if anyone has a good idea of what is taking this 30 minutes, ideas 
> would be very welcome!
> 
> ___
> 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: HTML Platform

2020-05-06 Thread Pi Digital via use-livecode
Two words, Richard. 
IT Departments. 
Of the 150+clients my client has, 150+ of them would emphatically prefer a web 
based app than a desktop one. They don’t want stuff ‘installed’ or ‘run’ on 
their machines that haven’t been thoroughly tested before use. Each and every 
update. And they really don’t want to have to keep testing each and every 
update. Using Chrome/Edge-Chromium overcomes all of that. 

Having built his business over 10 yrs ago with zero coding experience and 
learning LC from scratch, to now, remaining his only coding platform/language, 
he wants a way to continue being able to contribute without having to learn a 
new language while still taking his maaassive app suite onto the web. 
Emscripten is (part-way to) a godsend. 

If only the basics worked as they had before chromium deprecated old event 
handler syntax. That’s the major crux of its current downfall. Otherwise it’s 
an incredibly powerful way of coding for the web.

And mySQL from LC in the browser is tonnes faster than on the desktop - 
massively! Because they’re both on the same server. Even though the message 
path is LC>JS>(AJAX)>PHP>JS>LC!

Sean

> In my own mind I phrase that differently.  Whether it's gentler or more stark 
> is up to the reader, but for me it's more:
> 
>  ...it can't address the fundamental differences between desktop
>  and web architectures, and the limitations inherent in Emscripten.
> 
> Emscripten is good for what it was designed to do.  But look deeply at LC, 
> consider what Emscripten is, and the more time you spend pondering it the 
> clearer it becomes how difficult it is to put a desktop app's square peg into 
> a browser hole.
> 
> Putting an entire scripting engine and object model into a browser 
> application that already has its own scripting engine and object model cannot 
> achieve size, performance, and integration features as well as a web-native 
> implementation.
> 
> If you truly need a browser as your only deployment option, it's kinda hard 
> to argue against going with the grain of the browser.
> 
> But most apps that might make good candidates for LC's HTML export have 
> characteristics that lend themselves very well to not doing HTML at all, 
> instead using a one-time download of an LC standalone which then downloads 
> and runs stack files (a practice that, in the absence of a more common label, 
> I like to call "streaming apps").
> 
> Fits most of the same uses cases, but provides a more focused user experience 
> that integrates with the OS as only a native app can.
> 
> Extra bonus points that they're cheap and easy to build in LC, fast cheaper 
> to deliver sophisticated works than even web-native implementations.
> 
> For the sorts of vertical audiences where LC's HTML would seem interesting, I 
> believe simply streaming stacks in a standalone is the most underappreciated 
> and underutilized opportunity in our community.
> 
> MetaCard promoted the idea heavily with some nice example downloads, but in 
> all these years only a few of us make streaming apps regularly.
> 
> If you're waiting for LC's HTML to get good, let's discuss streaming apps for 
> those where they might be a great solution.  We really don't need to wait for 
> anything to have the benefits of net-distributed apps. You can have it all 
> today, with the LC you know and love already.
> 
> -- 
> 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: OT: Need some offlist help with PHP-SQL

2020-05-05 Thread Pi Digital via use-livecode
I’m collating my library together. It was built with our specific purposes and 
had an encryptor I developed myself as the AES library in LC does not work in 
HTML deployment yet. It will take me another day or so to extract the 
components into something generic and intuitive. 

Php can be safe if you use encryption and, as one of the others said, ensure it 
is held in the LC code (as long as that’s encrypted too, so not from the 
community version of LC; it must be created from Indy or Business or it will be 
easy to hack). And use good login methods with strong pass keys. If you store 
User Pass Keys on your database, double or triple encrypt them. Everything else 
will likely be safe if you set your space to be https only. 

I had started an AES encryptor for HTML deployment but got pulled onto more 
pressing things. 

Because LC HQ seems uninterested in further development of the HTML platform 
and recent eco issues my client is rethinking if this is the best way to go. As 
it stands it does seem high-risk that it becomes outright abandonware in terms 
of HTML deployment. I’m on tender hooks whether we will continue development 
given this lack of LC HQ interest. 

Sean Cole
Pi Digital Productions Ltd


> On 5 May 2020, at 20:47, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Well that's nonsense that php would not be save, you need to make sure you 
> are not providing reasons for injections.
> 
> You need to use Mysqli or PDO
> 
> You could check here: https://forums.livecode.com/viewtopic.php?f=12=27521
> 
> It's described in simple ways how to use PHP scripts using PDO as middleware
> 
> I use it too, there are a lot of tips on the web how to do it save.
> 
> 
> Op 5-5-2020 om 15:27 schreef Rick Harrison via use-livecode:
>> Hi Tiemo,
>> 
>> If I were you, I would not use PHP just for security reasons alone.
>> 
>> My servers are just pounded all the time with hackers trying to
>> find PHP exploits.  They even try to install PHP on my server so
>> they can start hacking away. If you check your server’s log files
>> I am sure you will find similar hackers trying to hack your PHP.
>> They may have already been successful too!
>> 
>> If you can do it, I would recommend turning those PHP scripts into
>> LC scripts as soon as possible.
>> 
>> Good luck,
>> 
>> Rick
>> 
 On May 5, 2020, at 9:16 AM, Tiemo via use-livecode 
  wrote:
>>> 
>>> Hello,
>>> 
>>> 
>>> 
>>> I have some LC front end software, calling PHP scripts going on a SQL db.
>>> 
>>> The PHP scripts are not made by me and they are about 10 years old. I have
>>> to upgrade the PHP version on the webserver of my hosting provider from 7.1
>>> to 7.4 and within my test environment I am getting some PHP errors when
>>> testing with 7.4. Probably the issue is only a very small syntax thing with
>>> missing parentheses or something like that, but I am not good enough in PHP
>>> to find the issue.
>>> 
>>> If you are willing to help me updating my PHP scripts to 7.4, please give me
>>> a note offlist. I would also like to pay for your work!
>>> 
>>> Thank you!
>>> 
>>> 
>>> 
>>> Tiemo
>> ___
>> 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 HTML5 and SQL

2020-04-29 Thread Pi Digital via use-livecode
Hi Colin

I have a library I’ve created for HTML5 and php for LiveCode Deployment. Pm me 
at s...@pidigital.co.uk

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 29 Apr 2020, at 20:00, matthias rebbe via use-livecode 
>  wrote:
> 
> If "post... to url" and "put URL..."  would work, then it should work with 
> HTLM5.
> 
> But currently only load URL is supported.
> 
> But to be true, i am not sure about "load URL.."  
> I´ve used load URL only for downloading files in the past.  I am not sure if 
> the command can also be used with parameters in the URL. But why shouldn't it 
> work.
> 
> 
> I´ve did a quick test today without parameters in the URL  to just load an 
> URL and display the returned data in a field.
> 
> This script
> 
> local tMyURL
> 
> on mouseup
> 
> put "start" into fld 1
> 
> put "https://www.google.com " into tMyUrl
> 
> load URL tMyUrl with message "myUrlDownloadFinished"
> 
> END MOUSEUP
> 
> 
> 
> on myUrlDownloadFinished
> 
> answer "Download Complete"cachedURLS with "Okay"
> 
> set the text of fld 1 to url tMyURL
> 
> end myUrlDownloadFinished
> 
> 
> 
> worked in the IDE, but not in HTML5. While "start" was displayed in field 1, 
> the returned data of the cached URL wasn't.
> 
> But maybe i am missing something.
> 
> Matthias
> 
> 
> 
> 
>> Am 29.04.2020 um 20:19 schrieb Devin Asay via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> That’s good to know, Matthias. So it seems that what you’d have to do is, 
>> still do the MySQL I/O in LC Server scripts, but also dynamically construct 
>> the HTML output in your LC server scripts, so that the calling HTML5 app 
>> could make sense of it. 
>> 
>> Am I interpreting the situation correctly, Matthias?
>> 
>> Devin
>> 
>> 
 On Apr 29, 2020, at 12:13 PM, matthias rebbe via use-livecode 
 mailto:use-livecode@lists.runrev.com>> 
 wrote:
>>> 
>>> I was also thinking about using LC Server or PHP scripts, but if i 
>>> understand it correctly then  "put URL" or "POST.. to URL" aren't  
>>> currently supported in the LC HTML5 engine.
>>> Only "load URL" is supported and only for http / https.
>>> 
>>> Matthias
>>> 
>>> 
>>> -
>>> Matthias Rebbe
>>> Life Is Too Short For Boring Code
>>> 
 Am 29.04.2020 um 20:06 schrieb Devin Asay via use-livecode 
 mailto:use-livecode@lists.runrev.com>>:
 
 Colin,
 
 I haven’t tried it myself, but I would think you’d have to write an API 
 layer using LiveCode Server scripting. All of the MySQL reads and writes 
 would take place in your .lc scripts on LC Server. Then it would be 
 simple, RESTful http calls from your HTML5 app. Of course, this all 
 depends upon whether the internet libraries have been ported over to the 
 HTML5 platform. LiveCode Server—I’ve done lots. HTML5 deployment, almost 
 none.
 
 Hope this helps.
 
 Devin
 
 
> On Apr 29, 2020, at 9:49 AM, Colin Kelly via use-livecode 
> mailto:use-livecode@lists.runrev.com>> 
> wrote:
> 
> Anyone got any insightful ways of READING/WRITING to a mySQL table using 
> web-apps developed with Livecode HTML5?
> 
> 
> 
> Thanks
> 
> Col.
> 
> 
> 
> -- 
> 
> Colin Kelly
> 
> M 07951 920680
> 
> 
> 
> ___
> 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
 
 Devin Asay
 Director
 Office of Digital Humanities
 Brigham Young University
 
 ___
 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
>> 
>> Devin Asay
>> Director
>> Office of Digital Humanities
>> Brigham Young University
>> 
>> ___
>> 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
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please 

Re: tsNet error 77 ca-bundle on CentOS server

2020-04-13 Thread Pi Digital via use-livecode
Yay! You superstar Matthias! Worked perfectly. Thanks for saving me. 

Regards

Sean Cole
Pi Digital


> On 13 Apr 2020, at 18:09, matthias rebbe via use-livecode 
>  wrote:
> 
> Does is work if you  put the following command
> 
> tsNetVerifySSLPeer false
> 
> before the line
> 
> put tsnetcustomsync...
> 
> Maybe you have also to comment out the line TsnetCABundle
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>>> Am 13.04.2020 um 18:59 schrieb Pi Digital via use-livecode 
>>> :
>>> 
>>> Hi all
>>> 
>>> I’m transferring a stack from my local Mac onto a remote virtual server 
>>> (vultr) running a CentOS7 Gnome. The stack communicates with our other 
>>> CPanel server to collect emails using a tsNetCustomSync command. The 
>>> sequence is like this:
>>> 
>>> Tsnetclose
>>> Tsnetinit
>>> TsnetCABundle “/etc/ssl/ca-bundle.crt”
>>> Put tUser into tsettings[“username”]
>>> Put tPass into tsettings[“password”]
>>> Put tsNetCustomSync(“imaps://mail.myServ.com”,”SELECT 
>>> INBOX”,xheaders,retHeaders,retResult,retBytes,tSettings) into tStat 
>> 
>> 
>> Running this I get returned in retResult:
>> tsneterr: (77) error setting certificate verify locations:
>>  CAfile: /etc/ssl/ca-bundle.crt
>>  CApath: none
>> 
>> The ca-bundle file exists in that location. I added the tsNetCABundle 
>> command after I had first encountered this error. I built new certificates, 
>> enabled SSL and basic firewall on the server. I’m unfamiliar enough with 
>> Linux to understand why I get this CA error. I’ve run out of common sense 
>> ideas. What do I need to do to get it running. 
>> 
>> Thanks. 
>> 
>> Sean Cole
>> Pi Digital
>> ___
>> 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


tsNet error 77 ca-bundle on CentOS server

2020-04-13 Thread Pi Digital via use-livecode
Hi all

I’m transferring a stack from my local Mac onto a remote virtual server (vultr) 
running a CentOS7 Gnome. The stack communicates with our other CPanel server to 
collect emails using a tsNetCustomSync command. The sequence is like this:

> Tsnetclose
> Tsnetinit
> TsnetCABundle “/etc/ssl/ca-bundle.crt”
> Put tUser into tsettings[“username”]
> Put tPass into tsettings[“password”]
> Put tsNetCustomSync(“imaps://mail.myServ.com”,”SELECT 
> INBOX”,xheaders,retHeaders,retResult,retBytes,tSettings) into tStat 


Running this I get returned in retResult:
tsneterr: (77) error setting certificate verify locations:
   CAfile: /etc/ssl/ca-bundle.crt
   CApath: none

The ca-bundle file exists in that location. I added the tsNetCABundle command 
after I had first encountered this error. I built new certificates, enabled SSL 
and basic firewall on the server. I’m unfamiliar enough with Linux to 
understand why I get this CA error. I’ve run out of common sense ideas. What do 
I need to do to get it running. 

Thanks. 

Sean Cole
Pi Digital
___
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: Our first Community Zoom Session

2020-04-03 Thread Pi Digital via use-livecode
The proper security fixes come on April 5th I’m told. Today’s fixes were just a 
whole bunch of usability and feature fixes. But, even so, it ‘is’ very quick. 
I’m guessing their super happy people hooked onto them over the last two weeks. 
To the point that people everywhere are using Zoom as a verb in place of Skype. 
Almost to the same level as google!

Sean Cole
Pi Digital


> On 4 Apr 2020, at 03:45, Mark Wieder via use-livecode 
>  wrote:
> 
> On 4/2/20 5:43 PM, Mark Wieder via use-livecode wrote:
> 
>> I'd be more concerned about this vuln if I were running Windows.
>> Luckily there's a simple group policy or registry fix.
>> 
>>  
> 
> I'm *very* impressed with Zoom's engineering team, rolling out a new version 
> to quash this vulnerability asap. I got prompted to install the new version 
> this morning. Upgrading was painless. Not only is Zoom being super-responsive 
> about this (and given the publicity lately it stands to reason that they 
> would) but they're being upfront about the issues and backtracking and 
> patching in public in real time. You don't often see companies with this size 
> a customer base turn on a dime like 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
___
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: Our first Community Zoom Session

2020-04-02 Thread Pi Digital via use-livecode
Freeconferencecall.com
Always free and by a great bunch of guys who have been going since 2001 and 
have always put security at the top of its agenda. Look it up for scams and 
security issues. It’s clean. 

1 downside is that you can’t output audio from a video playback during screen 
share straight from the system or software output. You only get it from the 
speakers into the mic. Other than that it has a whole bunch of cool features. 
You can upload a video and have it playback on broadcast instead. 

Highly recommended. And did I mention, it’s free. No time limit. 1000 
participants on Mac, Pc, linux, Android, iOS. Admin control. No account needed 
for participants. Simple meeting login. 

Sean Cole
Pi Digital

> On 3 Apr 2020, at 01:46, Mark Wieder via use-livecode 
>  wrote:
> 
> Listmom,
> 
>> I have now scheduled our first zoom meeting
> 
> Can we have jitsi installed on a livecode server and use that instead for 
> future sessions?
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Our first Community Zoom Session

2020-04-02 Thread Pi Digital via use-livecode
With self-iso, it’s just not an issue. Unless someone in your household has it 
in for you enough to exploit your zoom account. Pfft, hehe. 

Nothing + NewsMedia = something. 

Sean Cole
Pi Digital
___
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: How to find the column and row of a basic tableField

2020-04-02 Thread Pi Digital via use-livecode
 Thank you. I feel so much Better educated. (Sarcasm intended)!!

Sean Cole
Pi Digital
___
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: Go to card has become slow

2020-04-02 Thread Pi Digital via use-livecode
Hi Terry

Are there any big images on the first card? Any layer effects or blend modes? 
Anything graphic based that could be attributed to the slow down. 

Sean Cole
Pi

> On 2 Apr 2020, at 20:27, Terence Heaford via use-livecode 
>  wrote:
> 
> I have a project that opens at a particular card.
> 
> When I go to another card (any card) it’s very snappy.
> 
> When I return to the original card (from any card) I have noticed a second or 
> two delay before it happens.
___
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: Our first Community Zoom Session

2020-04-02 Thread Pi Digital via use-livecode
Couldn’t agree more :)

Sean Cole
Pi Digital


> On 2 Apr 2020, at 20:59, Bob Sneidar via use-livecode 
>  wrote:
> 
> One could make the point that if end users must now do all the research, 
> what’s the point of news? Hmmm…
___
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: Our first Community Zoom Session

2020-04-02 Thread Pi Digital via use-livecode
Bob
That article is based on out of date information. The writers have not done 
their homework properly. Here’s what they would have found back from Jan this 
year

www.zdnet.com/google-amp/article/zoom-fixes-security-flaw-that-could-have-let-hackers-join-video-conference-calls/

Conversely, 

www.theverge.com/platform/amp/2020/4/2/21204018/zoom-security-privacy-feature-freeze-200-million-daily-users

And

www.bbc.co.uk/news/amp/technology-52133349

Always do your research before posting is the Mantra. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 2 Apr 2020, at 19:48, Bob Sneidar via use-livecode 
>  wrote:
> 
> Just so everyone is aware…
> 
> https://community.spiceworks.com/topic/2265244-snap-more-zoom-flaws-t-mobile-merger-nasa-launch-delays-rick-and-morty?utm_campaign=community_medium=app_source=app_ui
> 
> 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
___
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: How to find the column and row of a basic tableField

2020-04-02 Thread Pi Digital via use-livecode
Curry

This winds me up a treat! Your point number 6:

> It has been available as a one-line function call without rolling your own 
> since at least 2012 with SpreadLib.


is totally unreasonable if you are claiming there IS a one line use case but 
ONLY if we buy into some spreadsheet library. That’s not the same in any way as 
something available natively. SpreadLib wasn’t mentioned in any previous 
solutions in these threads. 

And 3&4:

> 3. Can we figure out which field column was clicked? YES!
> 
> 4. Have we had this ability (#3) for a long time? YES! Since LC/RR 1.0 at 
> least.

Again, as before in the other thread, you make these statement but give no 
example code to show it. This is damned infuriating as it keeps us hunting 
around in the dark.

It’s great that you have this wealth of knowledge and information and that you 
‘like to prevent headaches before they happen’. But making statements with no 
examples to back them up is only adding to my headache and doesn’t feel 
particularly ethical overall. It’s just hoarding the knowledge you have without 
properly educating us pathetic fake news mongers underneath you. Telling us it 
can be done is no help when we would benefit from your ability to teach 
practically. 

Knowledge is power. For with it you can empower others. 

Many thanks and get well soon. 

Sean


> On 2 Apr 2020, at 19:14, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> We don't need to confuse people - it DOES cause damage, because readers often 
> trust confident/prolific statements without realizing which ones are flawed, 
> and they act upon bad information. It often falls to consultants and trainers 
> like myself to help individuals fix the resulting problems later. I guess 
> that's good for business, but as an ethical person I also like to prevent 
> headaches for others before they happen. I can't in good conscience let 
> incorrect info slip by unchallenged.
> 
> Despite a lot of good info posted, there has been also considerable 
> intentional "spin" on this topic in various threads, as well as several 
> outright inaccurate claims, all of which could easily be confusing, so here's 
> an ACCURATE FACTS RECAP (for all related threads) that people who desire real 
> info can easily verify as factually correct and trust as reliable and 
> objective:
> 
> 1. Can fields display inline images? YES! A large number of images can be 
> displayed.
> 
> 2. Can fields display checkboxes? Only CUSTOM designed ones, which can work 
> well.
> 
> 3. Can we figure out which field column was clicked? YES!
> 
> 4. Have we had this ability (#3) for a long time? YES! Since LC/RR 1.0 at 
> least.
> 
> 5. Is finding which column something people commonly know or can figure out? 
> Not sure, but SEVERAL people immediately provided sample code. (This was 
> attempted as a strawman claim, it was not my claim, but hilariously 
> backfired.) Actually there are at least THREE different approaches, two of 
> which are generally applicable and the other also valid and interesting but 
> specialized to certain content requirements. I'm not counting additional 
> handy approach(es) that rely on an existing implementation of one of these 
> three.
> 
> 6. Does finding which column via tabstops require a "convoluted" solution 
> with lots of code? HECK NO; that's rubbish! It has been available as a 
> one-line function call without rolling your own since at least 2012 with 
> SpreadLib. Also available with other libraries. And while rough sample 
> functions have been posted here, some of us specialize in more efficient 
> techniques and have much sleeker code.
> 
> 7. Does finding which column require using the simple table field setting 
> with cell edit enabled? NO! Not at all. The wording of the subject line might 
> confuse people, but this was later clarified by Bernd regarding his helpful 
> code sample.
> 
> 8. Is using a datagrid somehow more trouble than setting up a field for 
> desired table features? Depends on the approach, but IRRELEVANT to the 
> original issue of WHETHER finding which column was available on regular 
> fields. (In context of recent discussions, this was another strawman argument 
> introduced to reframe the discussion and walk back previous incorrect claims.)
> 
> The reality is that multiple solutions are available to choose from, there 
> are precoded solutions and sample code available, and each approach has some 
> pros and cons. Do NOT be confused by "fans" of an approach (usually DG) who 
> exaggerate and cherry-pick (or just make confident assertions) to sway 
> others. They may sound confident, but the actual facts don't change based on 
> who has the time and energy to be more talkative. Datagrids are fairly easy 
> to set up, but the flip side is that they also more complex and subject to 
> the limitations and consequences of that complexity. Those familiar with KISS 
> and optimization will understand such considerations; well-documented in 
> 

Re: How to find the column and row of a basic tableField

2020-04-01 Thread Pi Digital via use-livecode
I made two mistakes there. First:

Put cRevTable[“currentxcell”],cRevTable[“currentycell”] into tCellIndex

Should be:

Put the cRevTable[“currentxcell”] of me , the cRevTable[“currentycell”] of me 
into tCellIndex

And:

select nothing

Should be:

select empty

Oops 

Sean Cole
Pi Digital Productions
___
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: How to find the column and row of a basic tableField

2020-04-01 Thread Pi Digital via use-livecode
Thanks Bernd. 

This only works if there is already data in the field. If you put empty into 
the field it produces no results. In those instances you are forced to get an 
x,y clickLoc and use the tabstops and textHeight to hard code the result. 

The revTableLibrary was last modified in 2015 from your recommendations and 
pulls. Notable is the ones in revCalculateCellLoc and revCalculateCellRect. 
Interestingly in revCalculateCellLoc there is a couple of lines that set 
cREVTable[“currentxcell”] and [“currentycell”] of the object. 

Using:
Put cRevTable[“currentxcell”],cRevTable[“currentycell”] into tCellIndex
Works a charm. 

To make this work you do need to have cellEdit enabled but to avoid having it 
actually enable editing the text, in the mouseup just have a ‘select nothing’ 
to immediately exit the field. That way you only return the xy index and can 
use other means to add in or collect cell data. 

This is far less convoluted and exactly what I was looking for. None of this 
faffing around with huge lines of code. LiveCode is supposed to be EASY and 
almost instinctive. This is pretty close. 

It’s a real shame that these are not visible in the property inspector as 
standard properties and not even in the customProperties cRevTable until you 
have clicked into one of the cells in runtime when it populate the custom set.

It’s even more of a shame that this is not documented anywhere, in the 
dictionary, guide, lessons, tutorials. It’s practically lost to obscurity in 
the forums too only being found if I search for currentxcell specifically. I 
only found it by hacking through all of the object library code of the IDE 
stacks. 

This definitely make the table field object far more useful, though. 

Sean Cole
Pi Digital Productions Ltd
___
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: Ready to go

2020-03-30 Thread Pi Digital via use-livecode
The Tom Glod ‘using LiveCode for the first time’ video is a good one to share 
for enthusiastically selling LC. 

Sean Cole
Pi Digital


> On 30 Mar 2020, at 17:11, Heather Laine via use-livecode 
>  wrote:
> 
> Dear List Folks,
> 
> Following up on my earlier message, our special Covid-19 page is now live on 
> site, here:
> 
> https://livecode.com/stay-at-home/ 
> 
> Please feel free to share far and wide, with anyone you think might benefit 
> from it.
> 
> We'll be setting up the first zoom meeting soon, I'll let you know when we've 
> finalised a date and time.
> 
> Best Regards,
> 
> Heather
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.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: DataGrid question...

2020-03-30 Thread Pi Digital via use-livecode
Wow, David. Not convoluted at all :) so much easier than data grid. I’m not 
sure this is what Curry was thinking of. What do you think he was eluding to. 
We’ve ‘known’ this for years now apparently. 

Sean Cole
Pi Digital


> On 30 Mar 2020, at 14:13, David Epstein via use-livecode 
>  wrote:
> 
> This is more or less Jacqueline Gay’s suggestion, but with a couple of 
> wrinkles.  You do need to adjust for the horizontal scroll of the field (I’m 
> not sure about borders or margin).  And if I am not mistaken sometimes “the 
> tabStops” will not have an entry for each tab, if the column width stays 
> constant.
> My approach is to keep a global called gColGuide, which gets reloaded when 
> column widths change.  It has one line per column, with 
> leftEdge,0,rightEdge,0 in each line.
> The function used to load gColGuide is shown below.
> 
> put word 1 of the clickLoc into x
> put word 2 of the clickLine into L — line number
> put the hScroll of fld “table” into hs
> 
> put colGuide() into gColGuide
> 
> function mCol x,hs — returns column number for horizontal pixel x, consulting 
> gColGuide.  hs is the field’s hScroll.
>  global gColGuide
>  add hs to x
>  put 1 into c
>  repeat for each line k in gColGuide
>if x > item 1 of k and x < item 3 of k then return c
>add 1 to c
>  end repeat
>  return empty
> end mCol-- Any need to adjust for borders and margins?
> 
> function colGuide — used to load gColGuide with one line per column; each 
> line has left,0,right,0
>  set itemDelimiter to tab
>  put the number of items in fld "headers" of into cz
>  set itemDelimiter to comma
>  get the tabStops of fld “table”
>  put "0," before it
>  put the left of fld “table” into fL
>  repeat with n = 1 to min(cz,(-1 + the number of items in it)) -- so that 
> colGuide will only cover the used columns.
>put fL+8 + item n of it,0,fL+8 + item n+1 of it,0 & return after hold
>  end repeat
>  if cz > n then
>put item 3 of line -1 of hold - item 1 of line -1 of hold into w
>repeat with m = n+1 to cz
>  get item 3 of line -1 of hold
>  put it,0,w + it,0 & return after hold
>end repeat
>  end if
>  put fL into item 1 of hold
>  return hold
> end colGuide
> 
> David Epstein
> 
> ___
> 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: DataGrid question...

2020-03-30 Thread Pi Digital via use-livecode
Hmm, but if you look back to Curry’s last post he claims regarding table 
fields, not data grids :

>> Working out which cell has been clicked: Sorry, that's not accurate either. 
>> Yes, we do have that! Also for a long time.

Curry is a very reliable and valued source of LC knowledge. So, have we all 
missed a clever and simple, non convoluted method of telling which cell in a 
scrollable, non editable table field has been clicked? Even if that cell is 
empty. Something as simple as:

put the dgIndex of the target into theIndexThatWasClickedOn
?

Sean Cole
Pi


> On 30 Mar 2020, at 07:32, J. Landman Gay via use-livecode 
>  wrote:
> 
> I can't write a test handler right now, but I'm thinking you might be able 
> do something like this:
> 
> repeat for each item i in the tabstops of the field:
>  if the clickH > i and less than item i+1,
>  that's your column
> 
> The clickline gives you the row.
> 
>> On 3/29/20 11:04 PM, Terry Judd via use-livecode wrote:
>> This is rough but sort of works...
>> on selectionChanged
>>set the itemDel to tab
>>put word 2 of the selectedLine into tRow
>>put word 2 of the selectedChunk into nChar
>>put length(line 1 to tRow-1 of me) into tStart
>>put char tStart+2 to nChar of me into tText
>>put the number of items in tText into tCol
>>put tRow&
>> end selectionChanged
> 
> 
> -- 
> Jacqueline Landman Gay |
___
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: DataGrid question...

2020-03-29 Thread Pi Digital via use-livecode
Ah Bob. You misunderstand. We are asking in reference to the table field, not 
DG. Finding the index in data grid is very easy indeed. In a table field,  it 
so much as I was to understand. But apparently there is some magic I’ve missed 
somewhere and perhaps I’m the only one. Do you know what it is? 

Sean Cole
Pi Digital


> On 30 Mar 2020, at 04:40, Bob Sneidar via use-livecode 
>  wrote:
> 
> on mouseUp
>   put the mouseControl into tControl
>   put the long id of tControl into tID
>   put the short name of tControl into tName
> end mouseUp
> 
> The short name will reveal the column number. The dgHilitedLine will give you 
> the line. 
> 
>> On Mar 29, 2020, at 8:37 PM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> The mouseControl!
>> 
>> Bob S
>> 
>> On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Hi Jerry
>> 
>> Thanks for the heads up about Bernd’s code. But I was interested in learning 
>> how to get the cell index of a table field when clicked as we are told it 
>> was solved a ‘long time’ ago. That makes it seem that it is general 
>> knowledge and I’m a dunce for not being aware of it (which is very 
>> possible). If you’ve got any pointers you know of that can steer me right 
>> I’d appreciate it.
>> 
>> Sean Cole
>> Pi Digital
>> 
>> ___
>> 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: DataGrid question...

2020-03-29 Thread Pi Digital via use-livecode
Hi Jerry

Thanks for the heads up about Bernd’s code. But I was interested in learning 
how to get the cell index of a table field when clicked as we are told it was 
solved a ‘long time’ ago. That makes it seem that it is general knowledge and 
I’m a dunce for not being aware of it (which is very possible). If you’ve got 
any pointers you know of that can steer me right I’d appreciate it. 

Sean Cole
Pi Digital


> On 30 Mar 2020, at 03:38, Jerry Jensen via use-livecode 
>  wrote:
> 
> Hi Sean,
> Have you seen Bernd Niggemann’s modTableField? It is built on top of the LC 
> list field, without a lot of the complications of DataGrids if you don’t need 
> DG’s huge capabilities. It might work well for you.
> Regards,
> Jerry Jensen
> 
>>> On Mar 29, 2020, at 7:05 PM, Sean Cole (Pi) via use-livecode 
>>>  wrote:
>>> 
>>> 
>>> Working out which cell has been clicked: Sorry, that's not accurate
>>> either. Yes, we do have that! Also for a long time.
>>> 
>> 
>> Hi,
>> 
>> As Curry's now unfortunately out of the conversation, can someone else help
>> me understand how you work out which cell has been clicked? 
> 
> 
> 
> ___
> 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: DataGrid question...

2020-03-29 Thread Pi Digital via use-livecode
Hi Bob

That’ll return the field is I’m over but not the cell of the table field. 
Unless, again, I am mistaken. Am I missing something. 


Sean Cole
Pi Digital


> On 30 Mar 2020, at 03:09, Bob Sneidar via use-livecode 
>  wrote:
> 
> The mouseControl. 
>>> help
>> me understand how you work out which cell has been clicked? He said it can
>> be done but gave no explanation or hint of how.
___
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: Its very quiet

2020-03-29 Thread Pi Digital via use-livecode
Sorry to hear that, Curry. Rest up. Glad it hasn’t been too serious for you. 
We’ll try and keep the noise down for you. 

Sean Cole
Pi


> On 29 Mar 2020, at 21:40, Curry Kenworthy via use-livecode 
>  wrote:
> 
> Like many who have been sick between all the flu and corona going around, 
> just working on getting well again. Managed to stay out of hospital, but not 
> much energy. Quiet is good
___
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: DataGrid question...

2020-03-29 Thread Pi Digital via use-livecode
Fields:   Images, yes. Other objects, no. Working out which cell has been 
clicked, no. 

Is that ‘fake news’? If so, sad face. If not, still sad face. 

> Thanks Mark for catching and correcting that. Way too much inaccurate info 
> and "fake news" about LiveCode gets propagated, and often picked up and 
> parroted even further by others. LC field is extremely versatile!
> 
> DataGrids are used far more often than they are needed.
> 
> Best wishes,
> 
> Curry Kenworthy


___
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: Getting HTML5 going

2020-03-25 Thread Pi Digital via use-livecode
My apologies for the misunderstanding. I thought we were all still talking 
about HTML5 deployment with a small digression question regarding iOS. Somehow 
I missed the part where it got steered off into every other platform :)

Sean Cole
Pi Digital


> On 25 Mar 2020, at 23:34, William Prothero via use-livecode 
>  wrote:
> 
> What I was thinking of was distributing a fairly basic educational 
> application, then adding features and lessons as life goes on. Sounds like it 
> would depend on how extensive the features were. Perhaps lessons would only 
> trigger a problem if they required the addition of significant new features. 
> Hmmm…..
> Best,
> Bill
> 
> William A. Prothero
> https://earthlearningsolutions.org
> 
>> On Mar 25, 2020, at 2:23 PM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>>> On 3/25/20 1:58 PM, Mark Waddingham via use-livecode wrote:
>>> 
>>> However there are two rules which must be followed:
>>>  1) Downloaded code must not allow the app to access any more system 
>>> provided APIs that it could before.
>>>  2) Downloaded code must not allow the app to 'morph' (as Richard put it) 
>>> into something even slightly unrelated to what it was at the point of 
>>> review; nor should it add significantly different features (particularly in 
>>> terms of UI).
>>> In practice conforming to (1) is easy - you aren't allowed to download LCB 
>>> extensions, loading them at runtime, which use FFI to access system 
>>> functions.
>> 
>> My reading of 1) is that LCB extensions that use FFI are allowed as long as 
>> they don't expand the attack surface by introducing new system api calls 
>> that the app doesn't already use.
>> 
>> But then I'm not in a position to make, review, or enforce those rules.
>> 
>> -- 
>> 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: Getting HTML5 going

2020-03-25 Thread Pi Digital via use-livecode
In an app on the AppStore this is definitely a security risk from Apple’s point 
of view. Devs could insert any nefarious code into their app. This has been 
true from iOS2.  Only content like video and images, maybe some animation data 
and so on is deemed ok and encouraged. 

I was mainly revering to HTML5 deployment where it is pretty much encouraged to 
dissect where possible. 

Sean Cole
Pi Digital


> On 25 Mar 2020, at 19:08, Richard Gaskin via use-livecode 
>  wrote:
> 
> Bill Prothero wrote:
> > Richard and Sean,
> > Good ideas. I had considered deploying it as a standalone that has
> > sections that udate from a server, but worried that the new security
> > requirements from Apple, in particular, discouraged (prohibited?)
> > downloading code. Is that not true?
> 
> Is this desktop or mobile?
> 
> Just curious, really. In either case, downloading scripts is quite different 
> from downloading executable object code.  Any sandboxing for the app is done 
> to the LC engine - swap out scripts all you like and you can't alter what the 
> user has allowed the standalone engine to do.
> 
> I think Apple's main concern would be an app that presents itself as one 
> thing and later morphs into something else.
> 
> But if we use downloads responsibly, scripts are really just another form of 
> data, much like spreadsheet formulas. I can't see a reason Apple or anyone 
> else would have an issue with an app downloading data, and I know a good many 
> devs using a wide range of scripting tools that update dynamically.
> 
> --
> 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: DataGrid question...

2020-03-24 Thread Pi Digital via use-livecode
Oh. Cool. I did not know you could do that! Can it do widgets (for svgs) and 
checkboxes too?

Sean Cole
Pi Digital


> On 25 Mar 2020, at 03:56, Mark Wieder via use-livecode 
>  wrote:
> 
> On 3/24/20 6:43 PM, Pi Digital via use-livecode wrote:
>> The only issue with using a field is you are limited to character data 
>> presentation only. You can’t put inline images, widgets, checkboxes, etc.
> 
> Now that's just patently not true. No problem with images:
> Set the imagesource of char x of field y of this card to tImageID
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: DataGrid question...

2020-03-24 Thread Pi Digital via use-livecode
The only issue with using a field is you are limited to character data 
presentation only. You can’t put inline images, widgets, checkboxes, etc. 

For HTML5 deployment I’ve ended up reinventing the wheel with a DataGridV3. 
I’ve gradually even made it quite generic in code so that it handles whatever 
data type and layout I throw at it. Still WIP. I should add in row and column 
freezes. At the moment it only vscrolls, so maybe when I add in hscroll 
functionality. 

I was Just saying to someone else, we need ‘someone’ fluent in LCB to create a 
DG widget. Allowing for customisation is the hard part. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs

> Not here. When all I need is a list I just use a list field.  Now that LC's 
> field supports independent column alignment I haven't needed a DG for 
> anything but forms.
> 
> Parse out the first col with a "split by column", drop it into a control on 
> the left, and you're good to go.
> 
___
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: Getting HTML5 going

2020-03-23 Thread Pi Digital via use-livecode
Bill

I get what you mean by both quirky and the need for other skills. I’m gradually 
going through the code to remove the quirkiness but I’m doing this while also 
trying to develop the solution for our clients. In the process I will also 
either eliminate the need for learning the ‘other skills’ or at the very least 
minimise it to a set of relatively easy steps. What I’ve achieved in about a 
year on and off is evidence that it is capable once the ‘caveats‘ get ironed 
out. Watch this space. 

Sean Cole
Pi Digital


> On 23 Mar 2020, at 21:57, William Prothero via use-livecode 
>  wrote:
> 
> Sean:
> It looks really nice If HTML5 deployment didn’t look so quirky and require 
> such a variety of other than livecode skills, I’d give it a try. I hope it 
> will mature before I get too old to care.
> Bill
> 
> William A. Prothero
> https://earthlearningsolutions.org
> 
> 
> 
> ___
> 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: IMAP Search skipping results

2020-03-23 Thread Pi Digital via use-livecode
Hey, are you insinuating my code is flawed!?! :-o 
The cheek of it! ;)

Sean Cole
Pi Digital

.
> 
> I'd perhaps suggest that something isn't a workaround if the original 
> approach was flawed (however irksome the more code it requires might be!) ;)
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: 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: IMAP Search skipping results

2020-03-23 Thread Pi Digital via use-livecode
Thanks Brian and Mark

A combination may well help. 

I am not for this project needing ALL but have been using UNSEEN. The mailboxes 
we are referencing have around 100-1200 emails coming in from O2 every morning 
at 4am. These then get processed at 5am to update their databases. I will have 
to first find the FIRST UNSEEN UID and then run a process to get the UIDs of 
the next 100 (and repeat) till they run out I guess. Once I’ve built the list 
of UIDs I can carry on as normal processing each one in turn. 

Finding the first unseen UID though seems to be the next issue I’m going to 
have to overcome. A never ending stream of workarounds. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 23 Mar 2020, at 16:48, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2020-03-23 15:21, Pi Digital via use-livecode wrote:
>> Thanks Mark, your input here is appreciated.
>> This reply in that forum wasn’t helpful, was it
>>> > Known bug #90 was reported in 2014. However it still occurs in 2019. Does
>>> > anybody know how to overcome this situation?
>>> Yes: by fixing the code!
>> In the thread it talks of pagination (as do you) but doesn’t give an
>> example of how to do it. How would we implement this in LC? If it is
>> not giving us the correct count how do we know how many pages we will
>> have to allow for and so on.
> 
> That's where I got the reference to pagination from - as I said it's not a 
> particularly useful post there. I suspect the person replying assumed the 
> person asking the question had a detailed understanding of IMAP queries (my 
> knowledge of interacting with IMAP servers is more than it was earlier on, 
> but still not really sufficient to give any detailed advice).
> 
> The tsNet support for IMAP comes entirely from cURL - so it works pretty much 
> the same as the 'curl' shell command.
> 
> I found this with a quick search which might help:
> 
>  <https://gist.github.com/akpoff/53ac391037ae2f2d376214eac4a23634>
> 
> The queries listed there at least appear to give ways to query the count of 
> things in a mailbox.
> 
> This page also looks like it might be helpful:
> 
>  <https://nbsoftsolutions.com/blog/introduction-to-imap>
> 
> Also this has some more info on using CURL to talk to IMAP:
> 
>  
> <https://debian-administration.org/article/726/Performing_IMAP_queries_via_curl>
> 
> Having pondered this a bit, I'm not sure that even if cURL guys fixed the 
> above bug it would actually make a difference to what you need to do to have 
> 100% correct code. The method of fetching all UIDs of messages in a mailbox 
> at once is completely unscalable - imagine an INBOX with 100,000s of messages 
> for example over a slow/flaky connection; or an INBOX which has a lot of 
> traffic and changes exceptionally frequently; or sits on a heavily loaded 
> server (you can imagine that no server would like to be polled for complete 
> message lists all the time by lots of clients).
> 
> The IMAP protocol appears to be designed to be treated as something to use to 
> synchronize local and remote state. Indeed, there is quite an extensive 
> description of how to 'synchronize with an IMAP server' in an RFC:
> 
>  <https://tools.ietf.org/html/rfc4549#page-18>
> 
> Indeed, it states in one place:
> 
> 
>  The following is an example of the first FETCH:
> 
>   C: A011 UID fetch 131:* (FLAGS BODYSTRUCTURE INTERNALDATE
>   RFC822.SIZE)
> 
>   Note 1: The first FETCH may result in the server's sending a huge
>   volume of data.  A smart disconnected client should use message
>   ranges (see also Section 3.2.1.2 of [RFC2683]), so that the user is
>   able to execute a different operation between fetching information
>   for a group of new messages.
> 
> 
> The unique id used to perform the sync operation is the UID; you can fetch 
> ranges of those as they are 'guaranteed' to always increase and never be 
> re-used. (The only caveat is the UIDVALIDITY, which is basically a 
> cache-generation number - i.e. if the UIDVALIDITY changes you have to dump 
> your local cache and start from scratch as it means the meaning of individual 
> UIDs has changed).
> 
> Not sure how much the above helps...
> 
> Warmest Regards,
> 
> Mark.
> 
> P.S. I've been chatting to Seb about the issue (he reported the bug 
> originally) - he has confirmed that the problem affects Kognition's IMAP code 
> too (that component is still in development at this stage which is why it 
> hadn't been noticed until I asked him to check). I had hoped the approach 
> there might have been slightly different and so provided a viable workaround, 
> but it would appear that it is not the

Re: Getting HTML5 going

2020-03-23 Thread Pi Digital via use-livecode
Thanks Colin. That’s definitely helpful. From that I discern that it is 
something in your code from the point where the first ‘on openCard’ happens to 
the next openCard. An excellent method I use in these cases are to create 
messages to the JS console in Chrome by using something like this:

on openCard
   put “on openCard”
   ... [some code] ...
   put “openCard_2:” && myVar
   ... [some more code] ...
   put “end openCard”
end openCard

Pepper this around code you want to check. Then in Chrome or Edge open the js 
console by going to View>Developer>JavaScriptConsole. Any of the open put 
commands will be sent to the console and give you an idea where it got to 
before it failed. I sometimes even end up putting them after every line of code 
which is like stepping through each line to find which one was the culprit. The 
console is very much your friend when making use of HTML deployment. 

You are GOING to come across MANY odd things as you progress through using HTML 
deployment. HH and I have been putting it through it’s paces and have come up 
with a large number of workarounds for now till we can iron out all of the 
oddities. Please do come back here when you need any help. 

If you want an example of a product I actually have live at the moment, look at 
tariffanalyser.porrima.co.uk and use login credentials demo, d3moP@ss

All the best

Sean Cole
Pi Digital


> On 23 Mar 2020, at 16:17, Colin Holgate via use-livecode 
>  wrote:
> 
___
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: Getting HTML5 going

2020-03-23 Thread Pi Digital via use-livecode
You shouldn’t need the stdio.html file at all. It is a placeholder effectively 
for some other command you are referencing. 

Again, both using community and Indy and html5deployment versions I have no 
issue with 404 errors like this. So it’s likely something in your setup. So a 
step-by-step guide of your process will help us pin it down for you 

Sean Cole
Pi Digital


> On 23 Mar 2020, at 15:48, Colin Holgate via use-livecode 
>  wrote:
> 
> stdio.h is file I/O, and I have copies of that in Unity. The missing file is 
> stdio.html, not sure what that is, but maybe a JavaScript variation of the C 
> header file. 
> 
> I have Indy installed now, and am trying to retrieve my license to give that 
> a go.
> 
>> On Mar 22, 2020, at 5:59 PM, Pi Digital via use-livecode 
>>  wrote:
>> 
>> Hi Colin
>> 
>> I’ve done a bit of digging and stdio is an api for file IO used in 
>> emscripten. It’s also used for accessing external site pages. Additionally, 
>> LC uses it to write to the log message box on your main page. 
>> 
>> So, I’m curious about the method you go through to get to this point of 
>> error. Here are a series of questions that should get to the bottom of it. 
>> 
>> What platform are you running on?
>> What platforms are you building for as set in the standalone settings?
>> What browser are you running the HTML5 deployment in?
>> How have you setup your localhost server?
>> 
>> Finally
>> What is your recipe for failure from the point you load your stack in to LC 
>> to when you get the 404 message, step by step?
>> 
>> Sean Cole
>> Pi Digital
>> 
>> 
>>>> On 21 Mar 2020, at 23:30, Colin Holgate via use-livecode 
>>>>  wrote:
>>> 
>>> I have only used the standalone publishing, I’m not doing anything custom. 
>>> Line 48 of standalone-community-9.5.1.js is what is talking to the 
>>> stdio.html file. That part of the code says this:
>>> 
>>> http.open("POST",”stdio.html"
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> 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: Runtime Error on. JavaScript Handler in Browser

2020-03-23 Thread Pi Digital via use-livecode
Hi

For these sort of errors in my code, while testing, I have them set in 
try...end try catchers and catch the error message. This gets output to a log 
which helps me see the message path taken to the error so I can pinpoint where 
the message was interrupted. This is especially useful for do ... as JavaScript 
runtime errors. 

Does the 836 in your error message help at all or is that only in reference to 
your js handler in the html?

All the best

Sean Cole
Pi Digital


> On 22 Mar 2020, at 14:15, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> With Catalina I have RemoteDebugging Working…
> 
> even better I have AAGNetworkTracer and AAGNetworkTracerDashboard working…
> 
> awesome tools made by Andre! Can be used with  Community License, worth every 
> penny
> 
> I enabled  for mobile testing.
> 
> On iOS, when I open the Lexicon (a local html5 “stack” that we run in a 
> browser widget)
> 
> Whenever I hit a button on the HTML 5, layout, which triggers a JS handler in 
> LC
> 
> I get a message on desktop  in
> 
> AAGNetworkTracerDashboard
> 
> {"type": "error","time": "3/22/20 3:55:41 AM","content": 
> "863,0,0,runtime","line": "0"}
> 
> Strange thing, the JS handlers are called and function correctly in iOS every 
> though I get the msg, there is no crash.
> 
> But on Android, I get no crash, but the JS handlers in LC are not called. For 
> the user, the buttons appear non-responsive. They should go to an local 
> SQLLite DB and return data that is fed into the browser widget. It stills 
> happens on iOS but not on Android.
> 
> {"type": "error","time": "3/22/20 3:55:41 AM","content": 
> "863,0,0,runtime","line": "0"}
> 
> How can I look up the error. It appear to be regression in the widget in the 
> latest for of LC (dp 2 and 3… the same)
> 
> 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
___
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: IMAP Search skipping results

2020-03-23 Thread Pi Digital via use-livecode
Thanks Mark, your input here is appreciated. 

This reply in that forum wasn’t helpful, was it
> 
> > Known bug #90 was reported in 2014. However it still occurs in 2019. Does 
> > anybody know how to overcome this situation? 
> 
> Yes: by fixing the code! 
> 
In the thread it talks of pagination (as do you) but doesn’t give an example of 
how to do it. How would we implement this in LC? If it is not giving us the 
correct count how do we know how many pages we will have to allow for and so 
on. 

Regards

Sean Cole
Pi Digital


> On 23 Mar 2020, at 12:11, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2020-03-23 11:39, Pi Digital via use-livecode wrote:
>> No, same thing unfortunately. Even ALL has the issue. According to an
>> old bug report that has sat for an age untouched it is a known issue
>> in the ood curl lib they are using. At the rate they are currently
>> dealing with bugs for fundamental operations we might see a fix in
>> about a year or two (or four). [dig]
> 
> In this case the bug is in CURL - it is 'known bug #90':
> 
> <https://curl.haxx.se/docs/knownbugs.html#IMAP_SEARCH_ALL_truncated_respon>
> 
> There's a few threads around about it - this is the most recent I could find:
> 
> https://curl.haxx.se/mail/archive-2019-07/0029.html
> 
> The only real suggestion (although it is vague) there is using some for of 
> pagination (as the UIDs should be eternal, rather than related to the 
> position in the mailbox requested).
> 
> I couldn't find any explicit bug in their bug tracker which is still open for 
> this, but its still listed as a known issue so it sounds like there has been 
> no change in it unforunately :(
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: 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
___
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: IMAP Search skipping results

2020-03-23 Thread Pi Digital via use-livecode
No, same thing unfortunately. Even ALL has the issue. According to an old bug 
report that has sat for an age untouched it is a known issue in the ood curl 
lib they are using. At the rate they are currently dealing with bugs for 
fundamental operations we might see a fix in about a year or two (or four). 
[dig]

Sean 


> On 23 Mar 2020, at 11:03, Charles Warwick via use-livecode 
>  wrote:
> 
___
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: [ANN] Release 9.6.0 DP-3

2020-03-22 Thread Pi Digital via use-livecode
I’ve upgraded to macOS10.15.3 and Xcode 11.3.1 and all is well so far. Other 
than all the other bugs not yet addressed of course. 

Sean Cole
Pi Digital


> On 22 Mar 2020, at 14:53, Mark Waddingham via use-livecode 
>  wrote:
> 
> Oops sorry - that’s my fault - it should have said Xcode 11.3.x
> 
> Mark.
> 
> Sent from my iPhone
> 
>> On 22 Mar 2020, at 13:53, Sannyasin Brahmanathaswami via use-livecode 
>>  wrote:
>> 
>> FWIW
>> 
>> Xcode 11.3 not easily available on Apple site,
>> 
>> I tried with Xcode 11.3.1.
>> 
>> Everything “appears”  fine, at least for now….
>> 
>> 
>> BR
>> 
>> iOS Support
>> - Building with Xcode 11.3 using the iOS 13.2 SDK is now supported
>> ___
>> 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: Getting HTML5 going

2020-03-22 Thread Pi Digital via use-livecode
Hi Colin

I’ve done a bit of digging and stdio is an api for file IO used in emscripten. 
It’s also used for accessing external site pages. Additionally, LC uses it to 
write to the log message box on your main page. 

So, I’m curious about the method you go through to get to this point of error. 
Here are a series of questions that should get to the bottom of it. 

What platform are you running on?
What platforms are you building for as set in the standalone settings?
What browser are you running the HTML5 deployment in?
How have you setup your localhost server?

Finally
What is your recipe for failure from the point you load your stack in to LC to 
when you get the 404 message, step by step?

Sean Cole
Pi Digital


> On 21 Mar 2020, at 23:30, Colin Holgate via use-livecode 
>  wrote:
> 
> I have only used the standalone publishing, I’m not doing anything custom. 
> Line 48 of standalone-community-9.5.1.js is what is talking to the stdio.html 
> file. That part of the code says this:
> 
> http.open("POST",”stdio.html"
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
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: Getting HTML5 going

2020-03-21 Thread Pi Digital via use-livecode
Hi Colin

What is it that is requesting stdio.html. In your HTML is there any reference 
to it? I’m using HTML5 deployment daily but have not come across this. 

Sean Cole
Pi Digital


> On 21 Mar 2020, at 21:31, Colin Holgate via use-livecode 
>  wrote:
> 
> I’m trying to get a stack going in HTML5, and there is a 404 error about a 
> file named stdio.html. Is that a file I’m supposed to get from somewhere else?
> 
> 
> ___
> 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: IMAP Search skipping results

2020-03-20 Thread Pi Digital via use-livecode
Thanks Bob

Yeah, I actually already have something like that. I’d abbreviated my code to 
keep it simple on the forum. I’m not having trouble connecting. It’s just the 
shortage of data returned from the server. It’s actually skipping a whole chunk 
in the middle which is the weirdest part. 

There is this bug which is yet to be followed up on. 

https://quality.livecode.com/show_bug.cgi?id=22216

So I look forward to that in a couple of years maybe. 

In the meantime I’m hoping I find a solution to this or else it’s yet another 
reason for clients to disappear saying “you can’t even do so and so”. It gets 
so tedious having all the workarounds on workarounds. 

Sean Cole
Pi Digital

> On 20 Mar 2020, at 15:10, Bob Sneidar via use-livecode 
>  wrote:
> 
> This version wraps ALL the tsNet calls in a try catch construct:
> 
> function IMAPGetHeaders pServer, pUser, pPass
>   if pServer is empty then
>  ask "Enter IMAP Server IP or address:" as sheet
>  if the result is "Cancel" then return "Canceled."
>  put it into pServer
>   end if
> 
>   if pUser is empty then
>  ask "Enter email address:" as sheet
>  if the result is "Cancel" then return "Canceled."
>  put it into pUser
>   end if
> 
>   if pPass is empty then
>  ask password "Enter password:" as sheet
>  if the result is "Cancel" then return "Canceled."
>  put it into pPass
>   end if
> 
>   put pUser into tSettings["username"]
>   put pPass into tSettings["password"]
>   put empty into xHeaders
> 
>   try
>  tsnetinit
>  put tsNetCustomSync(pServer, \
>"SELECT INBOX",xHeaders,retHeaders,retResult, \
>retBytes,tSettings) into tStat
>  put tsNetCustomSync(pServer, \
>"UID SEARCH NOT SEEN",xHeaders,retHeaders, \
>retResult,retBytes,tSettings) into tStat
>   catch tError
>  answer error "ERROR: " & tError as sheet
>  breakpoint
>   end try
> 
>   put word 3 to -1 of tStat into tUIDs
>   put the number of words in tUIDs into sMsgCount
>   return retHeaders & tStat & sMsgCount
> end IMAPGetHeaders
> 
>> On Mar 20, 2020, at 08:06 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> This may be of more use. No functional changes, just something you can use 
>> to test against different IMAP servers:
> 
> 
> ___
> 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: IMAP Search skipping results

2020-03-20 Thread Pi Digital via use-livecode
Thanks Matthias

I will give it a go. I tried some of the other settings but not that one as it 
happens. Does that not upset the fact that you have set the inbox and also 
download each message body one at a time? That’s why I didn’t try it. 

In fact, just gave it a go but by the time the second call is requested it 
fails with the response that ‘No Mailbox Selected’ so logs out again. I tried 
putting the setting between the two calls. Same issue. 

There are 1639 messages on the server but only 110 seem to show even with ‘UID 
SEARCH ALL’. 

Sean Cole


> On 20 Mar 2020, at 13:00, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi Sean,
> 
> just a guess.
> 
> Did you already try to set  the NO_REUSE  element in the tSettings array to 
> TRUE?
> I am using that setting always, because the default one caused very often 
> problems here.
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 20.03.2020 um 03:16 schrieb Sean Cole (Pi) via use-livecode 
>> :
>> 
>> Hey all,
>> 
>> I'm using TSNet lib to fetch email from IMAP.
>> 
>> The Script:
>>  put "MyName" into tSettings["username"]
>>  put "MyPass" into tSettings["password"]
>>  put empty into xHeaders
>>  tsnetinit
>>  put tsNetCustomSync("imaps://mail.myserver.co.uk", \
>>"SELECT INBOX",xHeaders,retHeaders,retResult, \
>>retBytes,tSettings) into tStat
>>  put tsNetCustomSync("imaps://mail.myserver.co.uk", \
>>"UID SEARCH NOT SEEN",xHeaders,retHeaders, \
>>retResult,retBytes,tSettings) into tStat
>>  put word 3 to -1 of tStat into tUIDs
>>  put the number of words in tUIDs into sMsgCount
>>  put retHeaders & tStat & sMsgCount
>> 
>> My results are so inconsistent and it keeps skipping or omitting details.
>> Heres what I see:
>> 
>> 1ST RUN:::
>> * SEARCH 11646 11647 11648 11649 11650 13018 13019 13020 13021 13022 13023
>> 13024
>> 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036
>> 13037
>> 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049
>> 13050
>> 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062
>> 13063
>> 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075
>> 13076
>> 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088
>> 13089
>> 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101
>> 13102
>> 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114
>> 13115
>> 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127
>> 13128
>> 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140
>> 13141
>> 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153
>> 13154
>> 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166
>> 13167
>> 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179
>> 13180
>> 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192
>> 13193
>> 13194
>> H160 OK Search completed (0.004 + 0.000 + 0.003 secs).
>> 
>> 2ND RUN:::
>> * SEARCH 11646 11647 11648 11649 11650 1
>> H162 OK Search completed (0.003 + 0.000 + 0.002 secs).
>> 
>> 3RD RUN:::
>> * SEARCH 11646 11647 11648 11649 11650 13170 13171 13172 13173 13174 13175
>> 13176
>> 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188
>> 13189
>> 13190 13191 13192 13193 13194
>> H164 OK Search completed (0.003 + 0.000 + 0.002 secs).
>> 
>> 4TH RUN:::
>> * SEARCH 11646 11647 11648 11649 11650 1
>> H166 OK Search completed (0.003 + 0.000 + 0.002 secs).
>> 
>> 5TH RUN:::
>> * SEARCH 11646 11647 11648 11649 11650 1 13057 13058 13059 13060 13061
>> 13062
>> 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074
>> 13075
>> 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087
>> 13088
>> 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100
>> 13101
>> 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113
>> 13114
>> 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126
>> 13127
>> 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139
>> 13140
>> 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152
>> 13153
>> 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165
>> 13166
>> 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178
>> 13179
>> 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191
>> 13192
>> 13193 13194
>> H170 OK Search completed (0.003 + 0.000 + 0.002 secs).
>> 
>> What setting am I missing to make sure it is always consistent? Or is this
>> a bug with TSNet?
>> 
>> I can't think of any workarounds for this one. And it is so key to the
>> whole app.
>> 
>> Sean Cole
>> *Pi Digital*
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:

Re: Guessing the encoding of a test file...

2020-03-19 Thread Pi Digital via use-livecode
On a mac it’s easy. Use 
file -I “MyFile.txt”
 as a shell script. 

On Windows it’s near impossible without running a whole bunch or arbitrary 
tests that may or may not be correct - certainly not accurate. 

What kind of text were you hoping to see? Was you looking for a particular 
encoding? If it is grammatical text there’s are a bunch or runs you can do to 
see what character sets are used but even then it’s only a 
‘probably’/‘possibly’ response. 

Sean Cole
Pi Digital 


> On 19 Mar 2020, at 20:31, Paul Dupuis via use-livecode 
>  wrote:
> 
> This has come up many times before, but I'll ask once again in case 
> something has changed or someone new sees this.
> 
> 
> Does anyone have a routine that will take a filespec to a text file and 
> return the guessed encoding of the text file?
> 
> 
> First, please don't respond with your should know the encoding or the users 
> should know the encoding of their files. Not possible in the widely 
> uncontrolled real world.
> 
> I do already have a routine to guess file encodings. It was written by 
> someone else. There are instances where it should work and does not. I fear 
> there may be errors in the algorithm and I do not have the original algorithm 
> to check it against. Hence, I am looking for an alternative that is either 
> free to use or to be licensed for a modest fee.
> 
> My current routine attempts to return the encoding as a string that can be 
> directly passed to textDecode(binaryData,encoding)
> 
> "ASCII"
> "UTF-16"
> "UTF-16BE"
> "UTF-16LE"
> "UTF-32"
> "UTF-32BE"
> "UTF-32LE"
> "UTF-8"
> "CP1252" *
> "MacRoman" *
> 
> * for these last 2, if the file is MacRoman on a Windows system, you actually 
> have to textDecode(macToISO(data),"CP1252") and if you have CP1252 on the 
> Mac, you need to do textDecode(isoToMac(data),"MacRoman"). There is an 
> enhancement request to support MacRoman decoding under WIndows and vice versa 
> at https://quality.livecode.com/show_bug.cgi?id=22391 if you want to CC 
> yourself to show interest.
> 
> 
> ___
> 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: Interruption to LiveCode services

2020-03-17 Thread Pi Digital via use-livecode
Did it contract a virus? Had it maintained social separation distances?

Sean Cole
Pi Digital


> On 16 Mar 2020, at 20:21, Mark Waddingham via use-livecode 
>  wrote:
> 
> Hi all,
> 
> As some of you will have noticed a number of LiveCode services are currently 
> down - notably, the main LiveCode webserver, the forums and bugzilla.
> 
> We are currently working to restore these services as quickly as possible.
> 
> The mailing list server is currently unaffected it seems so hopefully this 
> email will get through!
> 
> Warmest Regards,
> 
> Mark
> 
> 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
___
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: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-13 Thread Pi Digital via use-livecode
> ... it is always a good idea when developing for public consumption to 
> develop for the (reasonably) lowest common denominator.


This works with the public. Not so much with a massive set of corporate 
enterprises where IT departments (all of them) will choose to test and roll out 
upgrades/updates not long (maybe a month) after its release. This is decided 
upon because of 2 main factors - 1. security measures implemented in the 
updates based on real world attacks; 2. The next minor update is hot on its 
heels. Apple release bêtas so that IT depts can do the main test ahead of time 
and then on gm they do a final check then release. (Actually, à lot of them 
wait for Apple to release a x.x.01 before release so that all the initial bugs 
are removed :p)

As a supplier to these companies we have to sign off that we are not putting 
their devices and systems at risk by using out of date security measures and 
sdk’s. And so we must be capable of using the very latest Sdks and wares.

But, fortunately, as Panos said, these newer oss and IDEs are covered by 
current releases (9.5.1 and 9.6dp2) although not mentioned in the release 
notes. And that is what was scaring me and potentially newbies off from making 
use of it. If it says it’s not supported I can’t risk installing it and end up 
not being able to revert easily or otherwise stop working. 

It’s just frustrating that these fixes have been sitting on the server waiting 
for release for a couple of months and not just pushed out in even a dp or rc 
form. It would enable us to Have time to test them thoroughly ahead of gm 
release. And even start putting them to use. 

Sean Cole
Pi Digital


> On 13 Mar 2020, at 15:44, Bob Sneidar via use-livecode 
>  wrote:
> 
> Just to diverge a bit (as I am wont to do), when new browsers and features 
> began to be prolific, a lot of web devs would initially develop sites using 
> the new features. What resulted however is that they excluded vast numbers of 
> visitors who could not view their web sites, or had reduced capabilities. 
> 
> By reasonable, I mean for example, making sure an app will run in Windows 7 
> or whatever version of iOS the Apple Store accepts. Unreasonable would be 
> trying to support iOS 7 of Windows XP or Vista. 
> 
> If using the latest SDK and Livecode version doesn't accomplish this, I would 
> consider maintaining an SDK and LC version that does, and avoid using 
> features in your apps that environment cannot support. 
> 
> My 2¢
> 
> 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
___
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: Can the Browser widget access dev tools?

2020-03-13 Thread Pi Digital via use-livecode
Here’s where to go

https://developers.google.com/web/feedback

Sean Cole
Pi Digital


> On 13 Mar 2020, at 13:37, Keith Clarke via use-livecode 
>  wrote:
> 
> Hi Sean,
> Thanks for the response - that saves me researching further on browser widget 
> usage for this. 
> 
> I’ve also looked at trying to drive a regular Chrome browser instance on my 
> Mac but there seems to be a more fundamental snag…
> 
> Unlike the Console, the Dev Tools Network settings seem to lack any API 
> https://developers.google.com/web/tools/chrome-devtools/network 
> <https://developers.google.com/web/tools/chrome-devtools/network>.
> 
> Good call on raising a change request to Google on tools & throttling 
> persistence - I’ll see if I can find where to do that!
> Best,
> Keith
> 
>> On 13 Mar 2020, at 13:21, Pi Digital via use-livecode 
>>  wrote:
>> 
>> Hi Keith
>> 
>> The chromium engine is not the same as the chrome browser. So the browser 
>> has the dev tools. The engine will have some code base that the browser can 
>> pull from to display as tools. 
>> 
>> The browser widget is a browser in its own right. It does not, at least as 
>> far as I’m aware, embed a chrome browser into a container. It uses the 
>> chromium engine to feed data that can be interpreted and displayed within a 
>> widget canvas. 
>> 
>> So dev tools would have to be written into the widget to access things l’île 
>> the throttling settings so that you could manipulate them using properties 
>> in the UI or by code. 
>> 
>> I hope this leads to solving your rsi problem eventually. It is a pain when 
>> the dev tools disappear when you load a new page and you can’t set it to 
>> stay up and stay throttled. Send a feature request to google. 
>> 
>> All the best 
>> 
>> Sean Cole
>> Pi Digital
>> 
>> 
>>>> On 13 Mar 2020, at 10:55, Keith Clarke via use-livecode 
>>>>  wrote:
>>> 
>>> Hi folks,
>>> I understand that the browser widget uses the platform’s default browser 
>>> engine. The (default?) feature set seems to be limited - e.g. no 
>>> right-click (on Mac).
>>> 
>>> There don’t seem to be obvious entries in the dictionary concerning 
>>> developer tools/menu/option. Please can anyone confirm whether it’s 
>>> possible to access Safari (Mac) or Chromium (Windows) Developer Tools 
>>> programmatically from LC - or control the right-click page inspector access 
>>> (and it’s content once displayed)?
>>> 
>>> And, just in case I’m taking the wrong direction of travel, the use case is 
>>> that I’m looking to cobble together a simple test rig to help test page 
>>> load times on limited bandwidth connections using Chrome’s network 
>>> throttling settings, as I’m getting bored (& RSI) from the current manual 
>>> process!
>>> Best,
>>> Keith 
>>> ___
>>> 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: Can the Browser widget access dev tools?

2020-03-13 Thread Pi Digital via use-livecode
Hi Keith

The chromium engine is not the same as the chrome browser. So the browser has 
the dev tools. The engine will have some code base that the browser can pull 
from to display as tools. 

The browser widget is a browser in its own right. It does not, at least as far 
as I’m aware, embed a chrome browser into a container. It uses the chromium 
engine to feed data that can be interpreted and displayed within a widget 
canvas. 

So dev tools would have to be written into the widget to access things l’île 
the throttling settings so that you could manipulate them using properties in 
the UI or by code. 

I hope this leads to solving your rsi problem eventually. It is a pain when the 
dev tools disappear when you load a new page and you can’t set it to stay up 
and stay throttled. Send a feature request to google. 

All the best 

Sean Cole
Pi Digital


> On 13 Mar 2020, at 10:55, Keith Clarke via use-livecode 
>  wrote:
> 
> Hi folks,
> I understand that the browser widget uses the platform’s default browser 
> engine. The (default?) feature set seems to be limited - e.g. no right-click 
> (on Mac).
> 
> There don’t seem to be obvious entries in the dictionary concerning developer 
> tools/menu/option. Please can anyone confirm whether it’s possible to access 
> Safari (Mac) or Chromium (Windows) Developer Tools programmatically from LC - 
> or control the right-click page inspector access (and it’s content once 
> displayed)?
> 
> And, just in case I’m taking the wrong direction of travel, the use case is 
> that I’m looking to cobble together a simple test rig to help test page load 
> times on limited bandwidth connections using Chrome’s network throttling 
> settings, as I’m getting bored (& RSI) from the current manual process!
> Best,
> Keith 
> ___
> 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: Philosophical questions about the fontNames

2020-03-13 Thread Pi Digital via use-livecode
Hi

If you need a specific font to work because of look, scale, print, etc I 
suggest using a font editor app to copy the font you require, rename it to 
something unique (the name is embedded so just changing the file name changes 
nothing) and then embed it into your app in LC Standalone Settings. This is the 
only sure fire way of ensuring what you see in the dev environment is what the 
user will see on their xyz machine/device/printout. 

Sean Cole
Pi
___
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: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-13 Thread Pi Digital via use-livecode
Hi Panos

Thank you for your lengthy descriptive explanation. It’s appreciated. 

Perhaps this should be written in the Release Notes - you know, for 
clarification. So that a newbie or even an oldie knows what to expect. If the 
RN says it’s not supported then they/we will be ‘scared off from using it. ‘It’ 
being either LC or the new OSs/Xcode’s/Eclipses/Whatever’s. Especially as you 
put so much effort into writing it. 

Still, your fix has been sat on github for 2months held ‘at the mercy’ of 
waiting for other bugs to be fixed and features added/completed. In 3 or months 
time Apple will ‘announce’ another major version of iOS MacOS and so on. And, 
at this rate it will be another 12 months (start your stopwatch) before 
‘support’ is added. And so the cycle continues. It could have been sorted and 
fed out 6mths ago without a doubt. 

It has to be remembered that LC is not the only software we have running on our 
systems, each with their own set of ‘requirements’. So of course we will have 
need for the latest os and Xcode. And then the need for multiple Xcode and 
terminal commands to avoid conflicts. So clarity is definitely needed and 
appreciated. Hopefully by painting a picture of the other side of the fence 
helps in understanding ‘why’ getting it out of the door quicker is very much 
needed. 

All the best

Sean Cole
Pi Digital

> On 13 Mar 2020, at 07:46, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello all,
> 
> Just a clarification, as this has been a source of confusion for a long
> time.
> 
> The current LC 9.x versions do support MacOS Catalina. Also, with the
> latest LiveCode versions (9.5.1 and 9.6 DP-2 - and possibly earlier
> versions too) you can still deploy apps for iOS 13.x - and these apps will
> continue to run even on iOS 14 and 15 in the future.
> 
> You do NOT need the latest Xcode for building apps, if you want your apps
> to run in the latest iOS version.
> 
> There are 2 different places where the iOS version comes to play:
> 
> (1) The iOS version of the device you want your app to run
> 
> (2) The iOS SDK version which is included in each Xcode
> 
> For (1) - you do not need the latest Xcode. Building apps with older Xcode
> versions will work just fine if your device runs the most recent iOS
> version. In fact, when a new LC version is released, and it includes
> support for building with the latest Xcode - it still includes support for
> building with older Xcode versions, if your Mac runs an older MacOS version.
> 
> So one might ask, why do we need to use the latest iOS SDK version (to
> build the app), so why is the LC team each time struggling to include
> support for the latest Xcode (which includes the latest iOS SDK version)?
> 
> The answer is we do NOT always need to use the latest iOS SDK version. But
> when do we *actually* might need it? Well, in the following cases:
> 
> (a) If you want to submit your app to the AppStore and Apple *requires*
> your app to have been built against a minimum iOS SDK version. When this is
> the case, we always release a LC version that supports the required
> Xcode/iOS_SDK version before the deadline posed by Apple
> 
> (b) If your app can support a specific new feature that will be available
> only when built against a specific iOS SDK (imagine iOS SDKs as libraries -
> a newer one can contain new functions/features, so if you want to use these
> new functions you have to use this specific iOS SDK to built the app). An
> example is the TouchID/FaceID support.
> 
> However, note that iOS SDKs with new features are released in the *major*
> Xcode versions, and the minor releases are usually just bugfixes in Xcode
> itself, for which you really do not care, as you do not actually use the
> Xcode IDE to built the iOS app.
> 
> So really in the vast majority of the cases we only need to support major
> Xcode releases, something which does happen, without major delays. So,
> since you can currently build apps against the iOS 13.1 SDK (i.e. using
> Xcode 11.1), there is really no need to add support for Xcode 11.2 or 11.3.
> 
> Similarly, when Xcode 12.x was released, we needed to add support for Xcode
> 12 (or 12.1), but not really for Xcode 12.2, 12.3 etc
> 
> The main reason we continue to add support for minor Xcode releases is that:
> 
> - we do not want to ask people keeping multiple (older) versions of Xcode
> in their machines.
> - a lot of people have enabled auto-updates, so their Xcode version will be
> updated automatically
> - someone downloading Xcode for the first time will probably download the
> latest version
> 
> So for these reasons we are trying - but not always successfully - to
> support the latest minor Xcode updates.
> 
> Hope this helps,
> Panos
> --
> 
>> On Fri, 13 Mar 2020 at 07:18, Richard Gaskin via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Sean Cole wrote:
>> 
>>> I've added updates to this bug relating to the script editor issues
>>> and crashes
>>> 
>>> 

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread Pi Digital via use-livecode
The clue is in the subject heading, Jacque. At least, I thought it was plain 
enough. The script editor and HTML issues I mentioned were just ‘mind wind’ in 
the process of bemoaning the speed of uptake to current OS and Xcode support.

Here’s the big issue. Essential updates that all users are dependent on, like 
OS support, are held off from release while other minor updates are worked on 
and refined. I would venture to suggest that a new policy for these heavy 
releases to come quicker in a x.x.x release while the other 
combination/collection of fixes and features be sent out in an x.x release. 
This would then make sure critical errors/features (which I would say OS 
support fits into) are addressed and released quicker while not being held off 
at the mercy of other fixes waiting in the wings. 

Using this method would make it easier on the hub too. Anyone working on non 
critical updates can develop to the sub major release (ie. 9.7) while other 
more critical fixes can be applied to minor (not minor in urgency) releases 
(ie. 9.6.24). These can then have just one or three fixes that then get fed 
upstream into the 9.7 develop branch to be then checked against any other 
features being added to it. 

Does that make sense? 

Sean Cole
Pi Digital
___
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: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread Pi Digital via use-livecode
No offence taken at all, Matthias. I felt you hit ‘the nail’ on the head, not 
me. ;)

I do regret bringing up my last ‘incident’ at all. It’s a bit of a splinter 
that just won’t go away for me and hard not to be reminded of far to often when 
I face the near same issues of failure I did back then. 

But thank you (not sarcasm this time) for looking out for me. 

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 12 Mar 2020, at 23:18, matthias rebbe via use-livecode 
>  wrote:
> 
> 
> 
>>> Am 13.03.2020 um 00:09 schrieb hh via use-livecode 
>>> :
>>> 
>>> Matthias wrote:
>>> I did NOT refer to any personal problems. So please do not impute
>>> such an intention to me.
>> 
>> Sorry Matthias, I obviously misinterpreted "your problems last year".
>> Hopefully Sean Cole didn't also misinterpret this.
>> 
> I hope so too. 
> 
> As you might know i am native German who had English only in school (30 years 
> ago). Although i am trying my best to express my thoughts correctly without 
> being misunderstood, it sometimes might sound other than it was intended.
> 
> 
> 
>> ___
>> 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: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread Pi Digital via use-livecode
Hi all

Thank you for all your kind words. Sorry, you said ‘no’ sarcasm. Oops. My bad. 

I had posted this originally to the dev-livecode list but I thought 
(accurately) I wouldn’t get a reponse from that. I’m sooo sorry (oops, I did it 
again) that this is viewed potentially by newbies. Although hiding the truth 
(‘forever’) is not a good policy either. Maybe one of them will notice that it 
doesn’t support the latest OSs/Xcode/Android. [Sharp inhale] Suppose they find 
out! Oh no!!

I’ve been looking around but I can’t find a rant-livecode forum or the 
use-livecodeAtYourPeril forum or even a 
tryToUse-LiveCodeButEndUpUsingHeapsOfJavascriptAndPHPWorkaroundsInstead forum. 
Or even the dontUse-LiveCodeBecauseItsCrashedAgain forum. 

I’ve been thinking for a while whilst reading the various support and 
‘spanking’ messages what I might write. But I worked out that the only ‘nice’ 
thing would be to say nothing (as my dear grandma always said I should). But at 
some point something has to be said. 

I currently have a client breathing heavily behind me because I can’t supply 
what they need. And by now I should be able to. My competitors, they’re new 
suppliers, are able to. I would be trying to fix the LC issues with HTML 
deployment myself if I wasn’t so bogged down with the workarounds on top of 
workarounds that are so messing with my head. I’ve been working 18hr days for 
months. So forgive me for asking a legitimate question (ok, in mild rant form) 
on a forum which is the ONLY place I can vent to others who USE-LIVECODE!! Name 
me one other place where Only veteran users can go and vent with like minded 
pro users of LC and I’m there! I someone created one I guarantee it would 
get tonnes more use than this one albeit unseen by the LC team. 

Which brings me to the final point (‘phew’ I hear you say!). Someone asked what 
I thought I would get from posting it here. Well, as someone else pointed out, 
the likes of the CTO do poke there heads this way every now and then. 
Interestingly today, maybe by coincidence, the amount of git-pulls have been 
massive in comparison to the last three months. Hopefully this means they are 
indeed gearing up to release a fixed 9.6GM or RC for us to work with on Friday 
(their preferred release day historically). I’d like to think (for my own 
satisfaction only) that my OP pushed towards it but would be just as 
‘happy’(ish) if they were already about to. Either way, my original point of 
posting was to get a heads up and vent a teeny-tiny amount of my current 
frustration at this current time which is just a part of the never ending 
circle of futility I find myself in. 

 Now, ‘that’ up there is what you call a rant :) I felt ill before typing this 
but feel much better now. Thank you all again.

I’ve re-read this to be sure I wasn’t abusive or saying anything unfair or 
unqualified. Sarcastic, yes, but not of the hurtful kind. I’m trying to make 
light of it despite the mild-affronts and my warm neck. There was no Attack on 
LC. It was a question of Why the wait and How do I explain to my soon to be 
lost client and pay packet to my mortgage lenders. I hope you all now 
understand. 

Sean Cole
Pi


___
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


  1   2   3   >