RE: Close Stack Cleanup

2021-02-04 Thread Ralph DiMola via use-livecode
Is this what you're looking for?

revIDESetEdited pStackName
revIDESetUnedited pStackName

Interrogate it with: revIDEStackIsEdited pStackName

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 
J. Landman Gay via use-livecode
Sent: Thursday, February 04, 2021 5:53 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Close Stack Cleanup

There used to be a gREV* global variable that tracked the dirty status and if 
the stack was dirty it put up the "do you want to save?" dialog. I can't find 
it now so something has changed. When it existed, you could toggle that 
variable via script and the IDE wouldn't bother you.

The IDE does pass the closeStackRequest to your stack after it checks the stack 
status. The docs are correct that you don't get that message when a script 
closes the stack but you can use closeStack instead; however, first we need to 
find out where that variable went to. It used to be in the globals pane of the 
message watcher, and I'd recognize it if I saw it, but I can't remember now 
what it was.

On 2/4/21 12:59 PM, Bob Sneidar via use-livecode wrote:
> Hi all.
> 
> I know we have tread this ground before, but I am trying to clean up my stack 
> (i.e. clear the fields), then save it when I close it BY ANY MEANS. That 
> means by script, by menu OR by clicking the red dot (of for WIN users the red 
> X) in the title bar. I need this to work in the IDE as well as in standalone.
> 
> You would think closeStackRequest gets sent when I click the red dot or X. 
> You would be mistaken.
> 
> The dictionary reads,
> 
> The closeStackRequest message is only sent if the request to close a stack is 
> initiated by the user (eg by clicking file -> close in the LiveCode menu). If 
> the request is initiated from a script (eg "close this stack" ) then the 
> closeStackRequest message is not sent.
> 
> Apparently clicking the red dot is not considered, “initiated by the user.” 
> It ought to be.
> 
> If I use “CloseStack” instead, I cannot save the stack because a script is 
> currently running, and I do not want to be presented with the dialog to save, 
> do not save, or cancel. I just want it to be saved. I can force quit if I 
> mess something up.
> 
> 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
> 


-- 
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: Using MySQL on (headless) Linux

2021-02-04 Thread Ralph DiMola via use-livecode
David's server talk is worth a mention again! He got me into LC server. It
was so nice not to have learn php in depth as I could leverage my LC
knowledge and existing code. I use server every day.

But a question... I have always been confused with the difference between
"start using' and "include" but I think I get it now.
"Start using" is just like desktop and the message path goes thru it in
order of the "start using"s take on desktop.
"Include" is including the code into the script that invokes it. So as Mark
said you could use includes to set global vars or even a different include
file of constants depending on the data received in the web request.
Is this correct?

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 Mark Wieder via use-livecode
Sent: Thursday, February 04, 2021 11:52 AM
To: Richard Gaskin via use-livecode
Cc: Mark Wieder
Subject: Re: Using MySQL on (headless) Linux

On 2/4/21 1:52 AM, Richard Gaskin via use-livecode wrote:

> With all this flexibility in one lean install, for me the pros of LC 
> Server for headless work are clear:

...plus the fact that there's an "include" command in the server, allowing
for things like global constants.

--
  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: In-app purchasing

2021-01-19 Thread Ralph DiMola via use-livecode
Yes it works. I've done it on both platforms. The tutorial in the LC lesions
pretty much says it all. 

1) Name your in-app purchase products exactly the same on both platforms.
Make them all lowercase. One of them does not allow uppercase(forgot which)
and of course I used the upper on the one that allowed it first. The LC
calls to purchase commands are case sensitive.

2) It's an async environment. So you have to set up a wait loop while
watching the progress of the mobileStoreMakePurchase using some global var
or property. This starts the ball rolling and then messages from the store
are sent to "purchaseStateUpdate pPurchaseID, pProductID, pState" depending
on pState you either bail from a user's cancel or bad user credentials... or
confirm the purchase. When a final type of pstate is received then bail out
of the loop and let the user know the final status of the purchase attempt.

purchaseStateUpdate is just switch on pState with these cases
"SendingRequest, paymentReceived, alreadyEntitled, invalidSKU, complete,
restored, cancelled, error).

3) Setup your sandbox environment on both platforms. Apple is pretty
straight forward except you can never change a tester password, so if you
forget the password your done and have to make another tester username.
 Android does not allow a device using your PlayStore developer
Gmail account to make sandbox purchases. The device can never have been
logged into that account. I found the android sandbox device registration a
little wonky sometimes, but it will work.

On iOS You can also monitor the purchases/in-app purchase activities real
time via a web api that you create and host on your server. The format is
straight forward so LC server is your friend here. Then save the purchase
data in a DB. The PlayStore has an API that you can get purchase information
to load into a DB.

If you run into any snags give me a shout.

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 J. Landman Gay via use-livecode
Sent: Tuesday, January 19, 2021 3:57 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: In-app purchasing

Has anyone done in-app purchasing on iOS and Android? Does it work?

We're looking into possibly implementing this but I've never done it before.
Any tips welcome.

-- 
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: opened socket in IDE prevents script changes

2021-01-15 Thread Ralph DiMola via use-livecode
While debugging in the IDE(Win 10 LC 9.6.1 VM) I have a socket
client(plug-in) that had an open socket to the socket server on another Win
10 PC(metal running in a Win service written in LC also). I make changes in
the IDE, save the stack and then generate an Android apk and the send the
apk via sockets to the server PC that actually has the device connected and
the server receives and installs the apk.

I have never seen any problems with losing IDE changes or any IDE stability
issues while in multiple debug cycles.

I have seen the stack not being dirty now and again as Bernd documented in
https://quality.livecode.com/show_bug.cgi?id=22555 .  I've seen this even
when not doing the socket thingy. I either add/delete a space or do a ctrl s
to resolve it.


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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: Basic mobile app question

2020-12-23 Thread Ralph DiMola via use-livecode
This would not be approved by the Apple reviewers. The PlayStore now has
similar rules prohibiting apps that are nothing more than website portals.

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 jbv via use-livecode
Sent: Wednesday, December 23, 2020 6:05 AM
To: How to use LiveCode
Cc: j...@souslelogo.com
Subject: Basic mobile app question

Hi list,
A friend of mine has a website with a responsive version, and would like to
have a mobile app as well.
Of course, he has next to zero budget, so I was wondering if it could be
possible to use Livecode to make a basic app that would create a browser
object at startup, and the url of the website would load into it...
Of course this is technically feasible, but is it an acceptable solution ?
And last but not least, would it be accepted on the Appstore ?

Thanks in advance.
jbv

___
use-livecode mailing list
use-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: Secure connection to server

2020-12-22 Thread Ralph DiMola via use-livecode
Tried it on Mac (Mojave) and it worked. Though I did have to use the IP address 
rather than the Mac's name in the client. I wonder what I'm doing wrong?

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 
Bob Sneidar via use-livecode
Sent: Tuesday, December 22, 2020 4:48 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Secure connection to server

Hmmm… didn’t work on my Mac. Not sure why, it may be something I did.

Bob S


On Dec 22, 2020, at 1:48 PM, Ralph DiMola via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

I'm able to have the socket client and server on the same device. (Win 10)

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net<mailto:rdim...@evergreeninfo.net>

___
use-livecode mailing list
use-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: Secure connection to server

2020-12-22 Thread Ralph DiMola via use-livecode
I'm able to have the socket client and server on the same device. (Win 10)

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 
Bob Sneidar via use-livecode
Sent: Tuesday, December 22, 2020 4:34 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Secure connection to server

I created a simple client and server stack combo that uses sockets to pass an 
encrypted stream of data back and forth. I have been meaning to implement it 
for the very reasons you suggest, but since the nature of the data doesn’t 
demand it, and since I develop basically gratis for the company I work for, it 
hasn’t been a priority. The concept is simple though. Start with a server stack 
that listens on a certain port, then create a client stack that opens a port to 
that server. (You can’t do it on a single workstation, the server has to be a 
different device.)

Once you have that, code the server to accept the data, then send it back to 
the client. Once that is working, encrypt / decrypt the data both ways and 
check that what you sent is what you receive.

Finally code the server to receive the data, do some process then return the 
resulting data. Simple, right? :-)

Bob S


On Dec 15, 2020, at 4:32 PM, Neville Smythe via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

A little while ago in this forum we were alerted to the fact that LC direct 
connection to a remote database not using SSL was a security hole. This also 
applies to managing Mailman lists on a remote server.

After a steep (re-)learning curve with the various technologies, I now have a 
working method in place for both mysql and Mailman connections, using php as 
middleware and posting via curl in a shell script. But it is sooo slooow.

Direct connection downloaded an sql query in a fraction of a second. It now 
takes over a second. This is acceptable (barely) for an isolated call,  but I 
sometimes need to make a sequence of posts. As I understand it, the slowness is 
due to the time required to establish the secure connection, not an LC problem. 
For example establishing an ssh connection in Terminal is even slower; but once 
established an ssh session is super fast. Similarly curl will reuse 
authentication credentials within a shell session, so I aggregate as many calls 
as I can with a single shell script before using shell(myscript), and this 
definitely helps.

What I would like to do however is use LC server as the middleware: I could 
then process the required data on the server side; I could not contemplate 
using php to do this. I suspect the LC post command uses curl under the hood, 
but I also suspect each post call would create its own session. I don’t think 
it is possible to establish a single session to talk sequentially to lcserver; 
if so this would be too slow. Am I correct?

Actually I guess I could  just use my present method using curl and shell() 
instead of post, but addressed to an .lc script instead of .php?

Or is there a whole better way to do what I want?

Neville Smythe

___
use-livecode mailing list
use-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: Android Keystore signing problem

2020-12-22 Thread Ralph DiMola via use-livecode
Scott,

Well thanks to Panos also. Two other options are to edit the script and add a 
"put" or an "answer". This edit will disappear after an LC restart.

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 
scott--- via use-livecode
Sent: Tuesday, December 22, 2020 4:41 AM
To: How to use LiveCode
Cc: sc...@elementarysoftware.com
Subject: Re: Android Keystore signing problem

Thank you, Panos.

—
Scott

> On Dec 21, 2020, at 11:38 PM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Scott,
> 
> When adding breakpoints in IDE scripts, you also need to do (in the 
> msg
> box):
> 
> put true into gRevDevelopment
> 
> otherwise breakpoints won't be respected.
> 
> Kind regards,
> Panos
> --
> 
> On Tue, 22 Dec 2020 at 02:20, scott--- via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
> 
>> Hello All,
>> 
>> I used edit the script of stack “revSaveAsAndroidStandalone”in the
>> message box and  tried putting a breakpoint in at that spot (and several
>> others) but it isn’t triggering.   This inside the handler:
>> 
>> private command revSaveAsMobileStandaloneMain
>> 
>> I’m not sure that I’ve ever done more than examine LC scripts. Is 
>> there something else I need to know in order to get the debugger to 
>> open on a breakpoint with them? (Script Debug Mode is checked :- )
>> 
>> I’ve restarted the computer and tried a couple different versions of 
>> Livecode… feeling even more clueless than usual.
>> 
>> —
>> Scott
>> 
>>> On Dec 21, 2020, at 7:24 AM, Ralph DiMola via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Scott.
>>> 
>>> I looked at the source of stack "revSaveAsAndroidStandalone" and it
>> looks like it failed at line 1067 or 1069 (9.6.1). As JLM said this 
>> appears that the keystore your referencing does not hold the alias your 
>> entering.
>> Everything after "There was an error while saving the standalone 
>> application signing failed-" is coming from the jar signer(but only 
>> word 4 to -1). You can put in a breakpoint at 1065 and examine the 
>> full result of the shell to jar signer.
>>> 
>>> 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 J. Landman Gay via use-livecode
>>> Sent: Sunday, December 20, 2020 11:18 PM
>>> To: How to use LiveCode
>>> Cc: J. Landman Gay
>>> Subject: Re: Android Keystore signing problem
>>> 
>>> If it was working before then it should still work now. Check the
>> Android settings and make sure that the path to the file is correct. 
>> The error sounds like LC can't find it.
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive 
>>> Software
>> | http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM 
>> | scott---
>> via use-livecode  wrote:
>>> 
>>>> When trying to create an update for an app on Google Play I am 
>>>> getting this message when attempting to create the standalone .apk.
>>>> 
>>>> "There was an error while saving the standalone application signing 
>>>> failed - Certificate chain not found for: .
>> 
>>>>  must reference a valid KeyStore key entry 
>>>> containing a private key and corresponding public key certifcate chain."
>>>> 
>>>> (Where  is actually my keystore alias.)
>>>> 
>>>> This is the same keystore file that I have used in the past. My 
>>>> understanding (and failed attempts) indicate that creating a new 
>>>> keystore file won’t work if I’m using it to update an existing app 
>>>> on
>> the Play Store.
>>>> I’m quite inexperienced with android builds. Any suggestions would 
>>>> be most welcome as I’ve about run out of ideas (and Google search
>>>> queries.)
>>>> 
>>>> --
>>>> Scott Morrow
>>>> 
>>>> Elementary Software
>>>> (Now with 20% less chalk dust!)
>>>> web   https://elementarysoftware.com/
>>>> email sc...@elementarysoftware.com
>>>> booth1-360-734-4701
>>>> ---

RE: Android Keystore signing problem

2020-12-21 Thread Ralph DiMola via use-livecode
Scott.

I looked at the source of stack "revSaveAsAndroidStandalone" and it looks like 
it failed at line 1067 or 1069 (9.6.1). As JLM said this appears that the 
keystore your referencing does not hold the alias your entering. Everything 
after "There was an error while saving the standalone application signing 
failed-" is coming from the jar signer(but only word 4 to -1). You can put in a 
breakpoint at 1065 and examine the full result of the shell to jar signer.

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 
J. Landman Gay via use-livecode
Sent: Sunday, December 20, 2020 11:18 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Android Keystore signing problem

If it was working before then it should still work now. Check the Android 
settings and make sure that the path to the file is correct. The error sounds 
like LC can't find it.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | 
http://www.hyperactivesw.com On December 20, 2020 7:07:05 PM scott--- via 
use-livecode  wrote:

> When trying to create an update for an app on Google Play I am getting 
> this message when attempting to create the standalone .apk.
>
> "There was an error while saving the standalone application
> signing failed - Certificate chain not found for: .
>  must reference a valid KeyStore key entry 
> containing a private key and corresponding public key certifcate chain."
>
> (Where  is actually my keystore alias.)
>
> This is the same keystore file that I have used in the past. My 
> understanding (and failed attempts) indicate that creating a new 
> keystore file won’t work if I’m using it to update an existing app on the 
> Play Store.
> I’m quite inexperienced with android builds. Any suggestions would be 
> most welcome as I’ve about run out of ideas (and Google search 
> queries.)
>
> --
> Scott Morrow
>
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
>
>
>
>
>
>
>
>
> ___
> use-livecode mailing list
> use-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: Trying to use the Segmented Control

2020-11-28 Thread Ralph DiMola via use-livecode
Put an lock/unlock messages around your code to keep from getting a message 
when you are doing those type of changes.

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 
prothero--- via use-livecode
Sent: Saturday, November 28, 2020 5:32 PM
To: JJS via use-livecode
Cc: proth...@earthlearningsolutions.org
Subject: Trying to use the Segmented Control

Folks:
I’m trying to use the segmented control and a navigation button on a card. Its 
purpose is to go to various location in my app. The only message it seems to 
respond to is hiliteChanged. But when I then try to set the hilites to empty 
(so no segments are hilited), it triggers another hiliteChanged message. This 
makes it a real pain to use for what I want. 

I see there have been numerous discussions about this control. It’s been a 
time-waster for me.

Bill

William A. Prothero
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


RE: Chromebook apps?

2020-11-26 Thread Ralph DiMola via use-livecode
Haven't looked close at CBs but if it's x86 then an x86 build performance will 
be 8-10 times faster than an app running in an arm emulator. At least that's 
what I measured using an x86 Android tablet.

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 
J. Landman Gay via use-livecode
Sent: Thursday, November 26, 2020 12:19 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Chromebook apps?

Android apps run in an emulator on Chromebooks. I forgot to mention that the 
emulator is only 32-bit so you have to build ARM 7 apps for Chromebook. 
I haven't needed to build an x86 app, my tests have all run okay on three 
different models.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | 
http://www.hyperactivesw.com On November 26, 2020 7:32:50 AM Richmond via 
use-livecode  wrote:

> Is a Chromebook app an Android app?
>
> Or, to put things another way . . .
>
> I thought I'd be clever and design something for kids at my school to 
> use on their Android phones and tablets . . .
>
> Fantastic idea that foundered badly when I worked out that a lot of 
> ANdroid tablets ran on INTEL chips so LiveCode builds for Android 
> wouldn't run on them.
>
> Sorry to be damp squish.
>
> On 26.11.20 7:52, prothero--- via use-livecode wrote:
>> Folks:
>> My son is a 5’th grade teacher. He tells me that apps for elementary 
>> school learning must run on ChromeBooks to be used in elementary 
>> school. I just want to verify that this means I would be developing 
>> an Android app for a Chromebook.
>>
>> I also wonder if there are minimal requirements for a Chromebook that 
>> will run Android apps. I’m in the “thinking about it” stage right 
>> now, but would like to hear about any experience or gotchas I need to 
>> be aware of for Chromebook apps.
>>
>> Thanks,
>> Bill
>>
>> William A. Prothero
>> 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


RE: New Google PlayStore Console

2020-11-09 Thread Ralph DiMola via use-livecode
I submitted a week earlier with the same widgets/externals using the
"classic" console and only received the first one. This seems to be
connected to the "new and improved" console.

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 J. Landman Gay via use-livecode
Sent: Monday, November 09, 2020 12:45 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: RE: New Google PlayStore Console

I've never seen the last two, but that might imply you're using widgets or
other extensions I've never used. The last submission I made about a month
ago only got the first one.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On November 9, 2020 8:12:57 AM Ralph DiMola via
use-livecode  wrote:

> No it isn't. Apparently no one on the list has any input on the 
> implications of this is. I will have to take this to the mother ship 
> and file a QCC report.
>
> 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 Riko Abadi via use-livecode
> Sent: Monday, November 09, 2020 7:17 AM
> To: How to use LiveCode
> Cc: Riko Abadi
> Subject: Re: New Google PlayStore Console
>
> Hai Ralph,
>
> whether this problem has been resolved?
>
> .
>
> Pada tanggal Jum, 6 Nov 2020 00.46, Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> menulis:
>
>> I received these 3 warnings when uploading APKs using the new Google 
>> Play Console. The first one I've been seeing for a while. Anyone know 
>> about the last 2? I assume the second one is LCs use of the JVM.
>>
>> Warning
>> This APK results in unused code and resources being sent to users.
>> Your app could be smaller if you used the Android App Bundle. By not 
>> optimizing your app for device configurations, your app is larger to 
>> download and install on users' devices than it needs to be. Larger 
>> apps see lower install success rates and take up storage on users'
> devices.
>>
>> Warning
>> This APK contains Java/Kotlin code, which might be obfuscated. We 
>> recommend you upload a deobfuscation file to make your crashes and 
>> ANRs easier to analyze and debug. Learn More
>>
>> Warning
>> This APK contains native code, and you've not uploaded debug symbols.
>> We recommend you upload a symbol file to make your crashes and ANRs 
>> easier to analyze and debug. Learn More
>>
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>>
>>
>> ___
>> use-livecode mailing list
>> use-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: New Google PlayStore Console

2020-11-09 Thread Ralph DiMola via use-livecode
No it isn't. Apparently no one on the list has any input on the implications
of this is. I will have to take this to the mother ship and file a QCC
report.

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 Riko Abadi via use-livecode
Sent: Monday, November 09, 2020 7:17 AM
To: How to use LiveCode
Cc: Riko Abadi
Subject: Re: New Google PlayStore Console

Hai Ralph,

whether this problem has been resolved?

.

Pada tanggal Jum, 6 Nov 2020 00.46, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> menulis:

> I received these 3 warnings when uploading APKs using the new Google 
> Play Console. The first one I've been seeing for a while. Anyone know 
> about the last 2? I assume the second one is LCs use of the JVM.
>
> Warning
> This APK results in unused code and resources being sent to users. 
> Your app could be smaller if you used the Android App Bundle. By not 
> optimizing your app for device configurations, your app is larger to 
> download and install on users' devices than it needs to be. Larger 
> apps see lower install success rates and take up storage on users'
devices.
>
> Warning
> This APK contains Java/Kotlin code, which might be obfuscated. We 
> recommend you upload a deobfuscation file to make your crashes and 
> ANRs easier to analyze and debug. Learn More
>
> Warning
> This APK contains native code, and you've not uploaded debug symbols. 
> We recommend you upload a symbol file to make your crashes and ANRs 
> easier to analyze and debug. Learn More
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-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


New Google PlayStore Console

2020-11-05 Thread Ralph DiMola via use-livecode
I received these 3 warnings when uploading APKs using the new Google Play 
Console. The first one I've been seeing for a while. Anyone know about the last 
2? I assume the second one is LCs use of the JVM.

Warning
This APK results in unused code and resources being sent to users. Your app 
could be smaller if you used the Android App Bundle. By not optimizing your app 
for device configurations, your app is larger to download and install on users' 
devices than it needs to be. Larger apps see lower install success rates and 
take up storage on users' devices.

Warning
This APK contains Java/Kotlin code, which might be obfuscated. We recommend you 
upload a deobfuscation file to make your crashes and ANRs easier to analyze and 
debug. Learn More

Warning
This APK contains native code, and you've not uploaded debug symbols. We 
recommend you upload a symbol file to make your crashes and ANRs easier to 
analyze and debug. Learn More

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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: Need to track click on a MacStatusMenu without menu items

2020-11-02 Thread Ralph DiMola via use-livecode
As it is the pasta has several seasonings. 1) SQL 2)Regex. If you do any web 
stuff add the alphabet soup of html and JavaScript. Add the side dishes of 
lists, xml, json and you can see why this old brain did not have the pallet for 
any of the "C"s , "Java" or "php" grains that I would have to process in to 
pasta.

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 
Stephen Barncard via use-livecode
Sent: Monday, November 02, 2020 10:44 AM
To: How to use LiveCode
Cc: Stephen Barncard
Subject: Re: Need to track click on a MacStatusMenu without menu items

That is absolutely the proper metaphor. We just want to make good pasta, we 
don’t want to deal with other languages. It’s enough of an alphabet soup with 
web stuff.

On Mon, Nov 2, 2020 at 06:41 Mark Smith via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> Can I just add, that “fresh pasta” comment made my day :)
>
> Thank you
>
> > On Nov 2, 2020, at 12:03 PM, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Monte,
> >
> > thanks for responding and assuming that it might be possible with
> adjustments to the source code.
> >
> > Regarding Livecode Builder, i am afraid i am a hopeless case. ;) 
> > Tried so many times to follow the widget course and other resources, 
> > but
> it seems i will never understand that stuff completely. I was even 
> able to adjust  the source code of the clock widget to disable the 
> day/night color switch.  But as soon as ObjectC is involved i am lost.
> >
> > Anyway, one doesn't have to be able to do everything.
> > Hey, i am very good in making fresh pasta. Okay that doesn't help me
> here. ;)
> >
> >
> > All the best,
> > Matthias
> >
> > -
> > Matthias Rebbe
> > Life Is Too Short For Boring Code
> >
> >> Am 02.11.2020 um 10:07 schrieb Monte Goulding via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> Hi Matthias
> >>
> >> It would be possible to add to the library I think. Should just be 
> >> a
> matter of setting an action which posts a callback on the button of 
> the NSStatusItem. If you want to have a play the library is open 
> source ;-)
> >>
> >> Cheers
> >>
> >> Monte
> >>
> >>> On 2 Nov 2020, at 4:09 am, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> Hi
> >>>
> >>> i am currently working on a Mac OS app which makes use of the
> MacStatusMenu Library.
> >>> Now i need a way to track a click on a Mac Status Menu icon which 
> >>> does
> not have any menu items.
> >>>
> >>> Is this somehow possible?
> >>>
> >>> Currently i am only able to track the click of a menu item of a 
> >>> Mac
> Status Menu.
> >>> But if no menu item is set and i click directly on the status menu
> icon, i do not get anything back.
> >>>
> >>> Any ideas?
> >>>
> >>> Regards,
> >>> Matthias
> >>>
> >>>
> >>>
> >>> -
> >>> 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
> >
> > ___
> > use-livecode mailing list
> > use-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
>
--
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.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: Livecode server UNIX version (not Linux).

2020-10-29 Thread Ralph DiMola via use-livecode
The session lockup issue also needs to be addressed. This has been raised in 
the past but I found the recipe. This bug occurs when requests come too close 
together. My spidy sense says that this is a file locking race condition. 
https://quality.livecode.com/show_bug.cgi?id=22560


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 
Brian Milby via use-livecode
Sent: Thursday, October 29, 2020 9:26 AM
To: How to use LiveCode
Cc: Brian Milby; Richard Gaskin
Subject: Re: Livecode server UNIX version (not Linux).

What is the workaround that you ended up using?  I looked at the code once but 
it quickly went over my head.  I couldn’t see where the fonts were pulled in, 
at least not where it could be cleanly intercepted.

Sent from my iPhone

> On Oct 28, 2020, at 11:57 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> There may be many useful requests in the bug DB worth considering to improve 
> the performance, robustness, and feature set of LC Server.
> 
> But Heriberto's up for an adventure, one enhancement that would lower RAM use 
> and speed things up a bit is this one:
> 
> https://quality.livecode.com/show_bug.cgi?id=14115
> 
> Heriberto, if that's interesting to you let me know. I have a workaround in 
> place now, and I'll bet there's a way to move that inside the engine for a 
> solution that's much simpler than when we discussed it here on this list 
> earlier this year.
> 
> --
> 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


[OT] Users (was RE: Naive XML questions)

2020-10-26 Thread Ralph DiMola via use-livecode
We did a off-the-street user test in NYC for a major bank in 1985. There were 
10 or 20 tasks. Among other things some options were selected using F1, F2, 
Fn... keys. Most participants type the "F" key followed by the "1" key even 
though the "F" keys were separated at the top of the keyboard just like today. 
After we were finished being flabbergasted we regrouped and listened to the 
testers and changed the design.

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 
Graham Samuel via use-livecode
Sent: Monday, October 26, 2020 10:46 AM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Re: Naive XML questions

Thanks to all who replied, but Ken - you are spot on! I simply had no idea how 
to address an individual node. I am not keen to use any method other than the 
ones which already exist in the XML library, so this is the way for me. 

One can sometimes (often, if I’m honest) be stymied by some very basic lack of 
knowledge. It reminds me vaguely of some consumer tests which were done on (I 
think) early IBM PCs. The researchers wanted to know how the new users got on 
with the machine, how productive it was for them etc, but they soon found that 
the most common issue was how to switch the machine on! In explaining stuff, we 
neglect the basics at our peril.

Graham

> On 25 Oct 2020, at 23:29, Ken Ray  wrote:
> 
> Graham, here's the basic approach (assuming your XML is in the variable 
> 'tXML'):
> 
>   put revXMLCreateTree(tXML,false,true,false) into tTreeID
>   put  "/gpx/trk/trkseg/trkpt[1]" into tNode  -- the brackets identify 
> the instance of "trkpt" to work with
>   put revXMLAttribute(tTreeID, tNode,"lon") into tLonValue
>   put revXMLNodeContents(tTreeID,(tNode & "/ele")) into tEleValue
>   put tLonValue && "/" && tEleValue
> 
> >> 2.128369 / 169.623637
> 
> So to work with the third instance of "trkpt", you'd do:
> 
>   put  "/gpx/trk/trkseg/trkpt[3]" into tNode
> 
> Hope this helps,
> 
> Ken
> 
> 
>> On Oct 25, 2020, at 12:21 PM, Graham Samuel via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> I feel stupid, but even with Sarah Reichelt’s help, there are very very 
>> simple things I can’t do with the LC XML functions. My current problem is 
>> this:
>> 
>> I have a series of XML files which are in fact .gpx files - a 
>> collection of GPS coordinates representing a route on the Earth’s 
>> surface. There are thousands of files around which I can use as test 
>> data, so I don’t have to roll my own. Taking just one of these 
>> examples, I can do the following in LC
>> 
>> 1. Get the user to find the file and download it
>> 
>> 2. Check it’s a .gpx file
>> 
>> 3. Turn it into an LC XML data structure with an integer ID
>> 
>> 4. Find out how many child nodes there are.
>> 
>> Then it all goes wrong, because I don’t seem to be able to address the 
>> individual nodes. This is obviously needed for further progress, in 
>> functions like revXMLFirstChild  and revXMLNodeContents.
>> 
>> I just don’t know what format to use. Sarah’s tutorial doesn’t help because 
>> her data structure is too simplified.
>> 
>> If you’re still with me, this is what the beginning of a typical file looks 
>> like:
>> 
>>>  >> xmlns="http://www.topografix.com/GPX/1/1 
>>> " creator="Digital Crow" 
>>> version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
>>> " 
>>> xsi:schemaLocation="http://www.topografix.com/GPX/1/1 
>>>  
>>> http://www.topografix.com/GPX/1/1/gpx.xsd 
>>> ">
>>> 
>>> 
>>>   
>> 
>>>  169.623637 
>>> 
>> 
>>>  169.744722 
>>> 
>> 
>>>  169.744722 
>>> 
>> 
>>>  169.266626 
>>> 
>>> 
>> etc - there may sometimes be thousands of these “trkpt” elements.
>> 
>> So, suppose I want to get the first instance of the “lon” attribute into a 
>> local variable. How do I address the first  node etc in order to do it? 
>> I have attempted various common-sense methods, but none work.
>> 
>> This must be child’s play to a lot of people, just not me.
>> 
>> Hoping for some guidance.
>> 
>> Graham
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com 
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: k...@sonsothunder.com 
> Website: https://www.sonsothunder.com
> 
> 
> 
> 

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

RE: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Ralph DiMola via use-livecode
It was a hardcoded breakpoint in this form.

If x<0 then breakpoint

I wonder if inadvertently triggered "red dot" breakpoints when exiting can 
cause the same hang?

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 
Martin Koob via use-livecode
Sent: Thursday, October 22, 2020 7:53 PM
To: How to use LiveCode
Cc: Martin Koob
Subject: Re: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group 
in Windows 10)

Hi Ralph

I generally experience IDE hang when exiting in all versions of LC 9.x i have 
used so far (using a Mac however). I haven’t had time to delve into figuring 
out a recipe I could report as a bug. I just force quit and relaunched 
LiveCode.  That is just part of my work flow now.  Sometimes it does quit with 
no hang.  Some things I have tried is closing the script editor, or close and 
remove from memory before quitting.  I still don’t get consistent results from 
this though.

It happens with various stacks I work on from simple to complex.  I thought it 
may be an extension I have installed that ties up the IDE during the quitting 
process.  I plan one day to remove all extensions to a bare minimum and see if 
it still happens.

Interesting idea about the breakpoint.  Is it a ‘red dot’ soft breakpoint or 
hard coded ‘breakpoint’ in a line of the script?

The behaviour of the soft breakpoints I have found inconsistent.   Sometimes 
they don’t trigger unless I have the script open for at least the first 
breakpoint I want to trigger. Again I have never really tried to get to the 
cause, just did workarounds.

I probably have way to many breakpoints left sitting around.  Maybe I should 
just delete all breakpoints and start fresh.

Thanks for the idea.  Maybe that will solve the other problem I am having with 
the DataGrid.

Martin

> On Oct 22, 2020, at 7:32 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Martin,
> 
> I don’t have an answer for that but this post perked my interest in a hang I 
> was getting. I just found out why the IDE hangs in an apparently tight loop 
> when it's closing. This happened only on one card of the stack. It had a 
> closeCard handler in the behavior. A "breakpoint" statement triggered. It was 
> from early debugging and does not get triggered anymore. It only triggers if 
> all is not well. There is reference to a property in the main stack. Could 
> that stack already be closed and the property returns as empty? Because that 
> would trigger the breakpoint.
> 
> Is this a bug or user error?
> 
> Win 10
> LC 9.6.1
> 
> Thanks for pushing me(more like  a poke) to finally solve this annoyance.
> 
> 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 Martin Koob via use-livecode
> Sent: Thursday, October 22, 2020 5:19 PM
> To: use-livecode list
> Cc: Martin Koob
> Subject: Can't edit scripts in DataGrid group in Windows 10
> 
> Hi all
> 
> Maybe this is not good practice but I have DataGrids with script in the group 
> that contains the DataGrid in addition to the behaviour script of the 
> DataGrid.   So to edit the script in the DataGrid group I just select the 
> Datagrid group I right click on the DataGrid and select the ‘Edit Script’ 
> menu item.   
> 
> This works fine on the mac.I just tried this on Windows 10 with LiveCode 
> 9.6 and when I try to open the same DataGrid following the same process the 
> script editor opens but it does not load the script.  In fact LiveCode 
> becomes unresponsive. The script editor dims as if disabled and the cursor 
> when hovering over the script editor or any other LiveCode windows  is the 
> hour glass cursor.
> 
> If I click on the ‘x’ to close the LiveCode project I get the dialog that 
> says.
> 
>LiveCode for Windows is not responding
>If you close the program, you might lose information.
>—>Close the Program
>—>Wait for the program to respond.
> 
> Eventually I just select ‘Close the program’ since the program never responds.
> 
> I created a test stack with just a DataGrid on it and a button and opened the 
> group script and was able to add a handler and then save it and reopen it so 
> it does work in a simple scenario.
> 
> In my application I have two dataGrids that have code in the group script.  
> On has 290 lines the other has about 480 lines.   So it seems the longer code 
> is a contributing factor.
> 
> Has anyone else experienced this?  
> 
> It the problem that you are not supposed to have script in the DataGrid’ 
> Group script and rather put

IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-22 Thread Ralph DiMola via use-livecode
Martin,

I don’t have an answer for that but this post perked my interest in a hang I 
was getting. I just found out why the IDE hangs in an apparently tight loop 
when it's closing. This happened only on one card of the stack. It had a 
closeCard handler in the behavior. A "breakpoint" statement triggered. It was 
from early debugging and does not get triggered anymore. It only triggers if 
all is not well. There is reference to a property in the main stack. Could that 
stack already be closed and the property returns as empty? Because that would 
trigger the breakpoint.

Is this a bug or user error?

Win 10
LC 9.6.1

Thanks for pushing me(more like  a poke) to finally solve this annoyance.

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 
Martin Koob via use-livecode
Sent: Thursday, October 22, 2020 5:19 PM
To: use-livecode list
Cc: Martin Koob
Subject: Can't edit scripts in DataGrid group in Windows 10

Hi all

Maybe this is not good practice but I have DataGrids with script in the group 
that contains the DataGrid in addition to the behaviour script of the DataGrid. 
  So to edit the script in the DataGrid group I just select the Datagrid group 
I right click on the DataGrid and select the ‘Edit Script’ menu item.   

This works fine on the mac.I just tried this on Windows 10 with LiveCode 
9.6 and when I try to open the same DataGrid following the same process the 
script editor opens but it does not load the script.  In fact LiveCode becomes 
unresponsive. The script editor dims as if disabled and the cursor when 
hovering over the script editor or any other LiveCode windows  is the hour 
glass cursor.

If I click on the ‘x’ to close the LiveCode project I get the dialog that says.

LiveCode for Windows is not responding
If you close the program, you might lose information.
—>Close the Program
—>Wait for the program to respond.

Eventually I just select ‘Close the program’ since the program never responds.

I created a test stack with just a DataGrid on it and a button and opened the 
group script and was able to add a handler and then save it and reopen it so it 
does work in a simple scenario.

In my application I have two dataGrids that have code in the group script.  On 
has 290 lines the other has about 480 lines.   So it seems the longer code is a 
contributing factor.

Has anyone else experienced this?  

It the problem that you are not supposed to have script in the DataGrid’ Group 
script and rather put it all in the DataGrid's behaviour?


Thanks in advance.


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


RE: SQL Show Status

2020-10-19 Thread Ralph DiMola via use-livecode
I don't use this method but this works.

put revDataFromQuery(,,YourDataseID,"SHOW STATUS")
This will return a tab delimited list, one per line.

put revDataFromQuery(comma,cr,YourDataseID,"SHOW STATUS")
This will return a comma delimited list, one per line.

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 2:31 PM
To: How to use LiveCode
Cc: Sean Cole (Pi)
Subject: Re: SQL Show Status

See, I tried that but hadn't put the delimiters in. I need a break :/

Thanks Matthias :)

Sean Cole
*Pi Digital*


On Mon, 19 Oct 2020 at 18:53, matthias rebbe via use-livecode < 
use-livecode@lists.runrev.com> 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 <
> use-livecode@lists.runrev.com>:
> >
> > 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!'
> >>
> >> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> >> Productions Ltd is a UK registered limited company, no. 5255609 
> >> ___
> >> use-livecode mailing list
> >> use-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: LC Server- Optimum setup

2020-10-19 Thread Ralph DiMola via use-livecode
I use it daily for everything from web pages to my homebrew web services. I 
don't have a heavy load but I have not received and performance complaints from 
customers.

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 
prothero--- via use-livecode
Sent: Monday, October 19, 2020 1:27 PM
To: JJS via use-livecode
Cc: proth...@earthlearningsolutions.org
Subject: LC Server- Optimum setup

Folks,
I’ve reposted this in a new thread, at Sean's suggestion. Please ignore my 
posting in the ssl thread.

I’ve been thinking about experimenting with Livecode server. I have a vps and 
root access, but I’m wondering what are the speed and user consequences of 
installing it at root level, or as a cgi. The cgi is fairly large and I’m 
concerned about both speed and memory issues when multiple users are accessing 
it.

I know this has been discussed in the past, but would appreciate any advice 
based on recent experience.

Thanks!
Bill

William A. Prothero
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


RE: SQL Show Status

2020-10-19 Thread Ralph DiMola via use-livecode
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!'

eMail Ts & Cs    Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609 
___
use-livecode mailing list
use-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: Odd data in message box

2020-10-16 Thread Ralph DiMola via use-livecode
This what I get here in the eastern US time zone(gmt-4). Looks Correct to
me.

Command:

put the seconds into x;put convertToLocalTime(x) into y;convert x to
dateitems;convert y to dateitems;put x

Message box results:

2020,10,16,12,20,25,6

2020,10,16,16,20,25,6

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 Dan Friedman via use-livecode
Sent: Friday, October 16, 2020 11:46 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Odd data in message box

I get a bunch of data from my server.  In this array, there are some dates.
I roll through each one converting the date to local time:

function convertToLocalTime sTime  //sTime is already been converted to
seconds format
  //convert the time using the hour offset for local time zone
  put word 6 of the internet date into timeOffset
  put (abs(timeOffset))*1 into timeOffset
  put timeOffset/100 into timeOffset
  if char 1 of timeOffset = "-" then
put ((timeOffset*60)*60) into pTimeOffset
put sTime - pTimeOffset into sTime
  else
put sTime + ((timeOffset*60)*60) into sTime
  end if
  
  return sTime
end convertToLocalTime

There is no problem with this function, and it's producing the correct time.
However, when it's all said and done, I get this in the message box:

394,2185,1
465,2185,1
253,2185,1
241,2181,1,convertToLocalTime
353,0,0,stack "/Users/Dan1/Desktop/Ignite/MY App/App/main.livecode"
219,2130,9,convertToLocalTime
465,2130,9
253,2130,9
241,2129,1,convertKevinDate
353,0,0,stack "/Users/ Dan1/Desktop/Ignite/MY App/App/main.livecode"
219,38,41,convertKevinDate
119,38,41
118,38,41
118,38,41
465,38,41
241,38,1,FillInData
353,0,0,button id 1410 of card id 1406 of stack "Data Grid Templates
1571787360744" of stack "/Users/Dan1/Desktop/Ignite/MY
App/App/main.livecode"
675,3536,1,FillInData
253,3536,1
253,3536,1
490,3536,1
253,3536,1

Any thoughts? 

-Dan

___
use-livecode mailing list
use-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: Interface Resolution

2020-10-15 Thread Ralph DiMola via use-livecode
Put the commands you want to run in the preopen handler of your plug-in
stack.
Save the stack
Close LC
Put the stack into you're "My LiveCode/Plugins" folder. The location of this
folder can be found in LC preferences in the "Files and Memory" section.
Reopen LC
Go to the Development==>Plugins and select(at the bottom) "Plugin Settings"
Select your Plugin from the dropdown list
In the "Open Plugin when:" section select "LiveCode starts up"
In the "Open as" section select "Invisible"

Restart LC and you should be good to go.

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 John McKenzie via use-livecode
Sent: Thursday, October 15, 2020 12:53 PM
To: use-livecode@lists.runrev.com
Cc: John McKenzie
Subject: Re: Interface Resolution


 I felt up to trying one of the suggested workarounds for my interface
scaling issue, specifically making a script to run as a plug-in.

 The plugin in does not appear on the plugins menu and I do not know what I
did wrong. The link to creating plugins was helpful, but lacked specifics.

 Do I need to do something special to make it a plug-in? Such as having a
shebang statement or a special command at the top declaring it a plug-in? Do
it have to have a specific naming format? Should it begin or end with "rev"
for example? I called it "intefaceScaling.livecode".
Perhaps that was wrong to do.

 Looking at existing ones as examples I did not get the impression that was
so.


 When I ran the command "put the stacks" it outputted the following.

/opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/tools/revtools
.livecodescript
/opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/message
box/revmessagebox.8.rev
/opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/menubar/revmen
ubar.livecodescript


 Do I need absolute filenames in my script? Do I need anything else in the
script that makes up my plugin? Currently all I know to type is the
following.

set the scalefactor of stack "revtools" to 2 set the scalefactor of stack
"revmessagebox.8" to 2 set the scalefactor of stack "revmenubar" to 2

 Surely I need more than that.


 Sorry for my ignorance of what should be easy.



___
use-livecode mailing list
use-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: Android PlayStore Warning APK v1 signature scheme

2020-10-14 Thread Ralph DiMola via use-livecode



Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Phone: 518-636-3998 Ex:11
Cell: 518-796-9332
Thanks!

One interesting thing is that keytool requires the keystore and the alias
passwords to be the same. I had them as different. Although you can change
the alias password with other tools I left them the same for now.

Question: Do you know if the key-pair or fingerprints will change? In
otherwords can I update an existing app after converting the keystore to
PKCS12?

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of JeeJeeStudio via use-livecode
Sent: Wednesday, October 14, 2020 2:43 PM
To: How to use LiveCode
Cc: JeeJeeStudio
Subject: Re: Android PlayStore Warning APK v1 signature scheme

I think you need to use PKCS12 industry standard format instead of the
normal keystore. You can import your existing key via command prompt.
Keytool -importkeystore -srckeystore yourapp.keystore -destkeystore
yourapp.keystore -deststoretype pkcs12

Op wo 14 okt. 2020 18:17 schreef Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com>:

> I just got this message when submitting a new app to the PlayStore
>
> Your APK is only signed using the APK v1 signature scheme. This will 
> fail to install in versions of Android equal or higher to 11 if the 
> android:targetSdkVersion is set to 30 or higher. Please use apksigner 
> to sign your APK or switch to the Android App Bundle to fix this.
>
> Does anyone know what the deal is here?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-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


Android PlayStore Warning APK v1 signature scheme

2020-10-14 Thread Ralph DiMola via use-livecode
I just got this message when submitting a new app to the PlayStore

Your APK is only signed using the APK v1 signature scheme. This will fail to 
install in versions of Android equal or higher to 11 if the 
android:targetSdkVersion is set to 30 or higher. Please use apksigner to sign 
your APK or switch to the Android App Bundle to fix this.

Does anyone know what the deal is here?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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 IDE

2020-10-12 Thread Ralph DiMola via use-livecode
Keith,

I use LC Server on the on-rev server. It is already setup and the support
from Heather/Robin is the best! I personally use regular standard issue
binary stacks for everything out of habit. These same stacks are also used
in my apps. This is what I love about LC server, it allows me to use my
libraries on the server and in apps. What other programming language does
this?

If you are doing web pages then look into revIgniter.
For a web service vanilla LC scripts do the trick. 

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 Keith Clarke via use-livecode
Sent: Monday, October 12, 2020 10:49 AM
To: use-livecode@lists.runrev.com
Cc: Keith Clarke
Subject: Re: LiveCode server IDE

Thanks for the response, Ralph.

I've struggled to retain/regain my old local Sites, web server and LC Server
on my home Macs. So, I was thinking of embarking down the script-only stacks
route, using an on-rev LC-Server instance to do any web-services
heavy-lifting work server-to-server, on behalf of client apps that use
either LC desktop or simple html forms.

My html & css 'hackery-pokery' has been on Coda2 to date, but its
replacement, Nova, still lacks any LiveCode autocompletion.

I may need to learn a new text-editing based IDE tool. Thanks for the Atom
suggestion - I see that there's a LiveCode language pack available that
includes LC Server, so that may be a better place to play than VS Code, etc.

Thanks & regards,
Keith 

> On 12 Oct 2020, at 15:01, Ralph DiMola via use-livecode
 wrote:
> 
> Keith,
> 
> As a follow up... If you have a web server with LC installed running 
> on your local machine then just a ctrl S in the LC IDE will let you 
> test your server
> script(stack) immediately in the currently open IDE instance.
> 
> IDE alternatives to edit LC script only stacks are many. I use the 
> Atom for LC builder and html(when Dreamweaver is just to much).
> 
> 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 Keith Clarke via use-livecode
> Sent: Monday, October 12, 2020 3:18 AM
> To: use-livecode@lists.runrev.com
> Cc: Keith Clarke
> Subject: LiveCode server IDE
> 
> Hi folks,
> What is the current state of the art regarding LiveCode server IDE - 
> searching around, this seems down to personal preference of text 
> editor plus FTP?
> 
> I'm Mac-based and looking to experiment with web services.
> Thanks and regards,
> Keith
> 
> 
> Sent from my iPad
> ___
> use-livecode mailing list
> use-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: LiveCode server IDE

2020-10-12 Thread Ralph DiMola via use-livecode
Keith,

As a follow up... If you have a web server with LC installed running on your
local machine then just a ctrl S in the LC IDE will let you test your server
script(stack) immediately in the currently open IDE instance.

IDE alternatives to edit LC script only stacks are many. I use the Atom for
LC builder and html(when Dreamweaver is just to much).

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 Keith Clarke via use-livecode
Sent: Monday, October 12, 2020 3:18 AM
To: use-livecode@lists.runrev.com
Cc: Keith Clarke
Subject: LiveCode server IDE

Hi folks,
What is the current state of the art regarding LiveCode server IDE -
searching around, this seems down to personal preference of text editor plus
FTP?

I'm Mac-based and looking to experiment with web services.
Thanks and regards,
Keith


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


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


RE: LiveCode server IDE

2020-10-12 Thread Ralph DiMola via use-livecode
I use the standard issue LC IDE to edit the server script, do a "Ctrl S" and
use either a web disk or VPN to drag the saved file to the server. Then I
test my web service in the currently opened IDE. Fast debug cycle.
Easy-peezy...

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 Keith Clarke via use-livecode
Sent: Monday, October 12, 2020 3:18 AM
To: use-livecode@lists.runrev.com
Cc: Keith Clarke
Subject: LiveCode server IDE

Hi folks,
What is the current state of the art regarding LiveCode server IDE -
searching around, this seems down to personal preference of text editor plus
FTP?

I'm Mac-based and looking to experiment with web services.
Thanks and regards,
Keith


Sent from my iPad
___
use-livecode mailing list
use-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: Xcode, iOS 14 and Livecode

2020-10-08 Thread Ralph DiMola via use-livecode
You can have more than one version of Xcode on your system. You can install a 
more recent version as not to get that error message and still build against a 
previous version. When I say "install" I mean download from the Apple dev site. 
I don’t even have an xcode version in the Applications folder. I keep all 
versions in a separate folder renamed to their version. You just have to make 
sure LC build's against the one it expects. Using these commands in the a 
terminal window:

To see what your building against==> xcode-select --print-path
To change the build path==> sudo xcode-select -switch "/path/to/xcode_xx.xx.app"
where xx.xx is the renamed xcode.app to include version.

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 
Graham Samuel via use-livecode
Sent: Thursday, October 08, 2020 2:09 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Re: Xcode, iOS 14 and Livecode

Ralph, thanks - it worked! I was taking the error messages too seriously. They 
say “the current device configuration is unsupported. This phone is running iOS 
14.0.1… “. Enough to stop me in my tracks.

Thanks so much for that.

Graham

> On 8 Oct 2020, at 19:44, Ralph DiMola via use-livecode 
>  wrote:
> 
> Graham,
> 
> If you referring to the message in the "Devices and Simulator" window can 
> ignore it. Just drag you .app in to window and it will work just fine.
> 
> 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 Graham Samuel via use-livecode
> Sent: Thursday, October 08, 2020 12:03 PM
> To: How to use LiveCode
> Cc: Graham Samuel
> Subject: Xcode, iOS 14 and Livecode
> 
> I’ve come back to an iOS app that I left for a time, before the advent of iOS 
> 14. My beta version works very nicely in the Simulator available in Xcode 
> 11.5, which I understand is the one LC9.6.1 expects one to have. I’m 
> simulating an iPhone XS, largely because I’ve got one of thos,e so it makes a 
> good testbed.
> 
> The problem comes when I want to upload my beta to my real phone, which is 
> running iOS 14.0.1. Xcode wants me to update, presumably to the latest 
> version.
> 
> What are my options, e.g.
> 
> 1. Stop work
> 
> 2. Carry on developing using the simulator and hope for better times.
> 
> 3. Download another version of Xcode but keep the old one for LC development.
> 
> Of course I’ve looked for an answer from the mother ship, but although there 
> is a very interesting mail from Panos on the subject of different versions of 
> XCode and the way the work with LC, repeated in a Forum post in March, it 
> doesn’t cover the case I have now, AFAIKS. I just don’t know how to get my 
> app into my own phone - publishing the app in the Store will of course come 
> later.
> 
> What are other folks doing?
> 
> Graham
> ___
> use-livecode mailing list
> use-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: Xcode, iOS 14 and Livecode

2020-10-08 Thread Ralph DiMola via use-livecode
Graham,

If you referring to the message in the "Devices and Simulator" window can 
ignore it. Just drag you .app in to window and it will work just fine.

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 
Graham Samuel via use-livecode
Sent: Thursday, October 08, 2020 12:03 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Xcode, iOS 14 and Livecode

I’ve come back to an iOS app that I left for a time, before the advent of iOS 
14. My beta version works very nicely in the Simulator available in Xcode 11.5, 
which I understand is the one LC9.6.1 expects one to have. I’m simulating an 
iPhone XS, largely because I’ve got one of thos,e so it makes a good testbed.

The problem comes when I want to upload my beta to my real phone, which is 
running iOS 14.0.1. Xcode wants me to update, presumably to the latest version.

What are my options, e.g.

1. Stop work

2. Carry on developing using the simulator and hope for better times.

3. Download another version of Xcode but keep the old one for LC development.

Of course I’ve looked for an answer from the mother ship, but although there is 
a very interesting mail from Panos on the subject of different versions of 
XCode and the way the work with LC, repeated in a Forum post in March, it 
doesn’t cover the case I have now, AFAIKS. I just don’t know how to get my app 
into my own phone - publishing the app in the Store will of course come later.

What are other folks doing?

Graham
___
use-livecode mailing list
use-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: Canvas Limited to 32767

2020-10-06 Thread Ralph DiMola via use-livecode
Richard,

This design was done for one not to involve a lot of coding (App was free
development but we get a cut of each sale and it has worked out well for
us). Also there could be a reason to see the entire list but of course there
are other ways to do this as not to hit the limit. As far as device memory
is concerned I don't want to go to 2^31 but I am missing the cut by a couple
thousand pixels. If we had 2^31 it would be up to the developer to keep the
performance under control rather than apps breaking for 2 pixels over the
limit.

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 Richard Gaskin via use-livecode
Sent: Tuesday, October 06, 2020 2:50 PM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: Canvas Limited to 32767

Glad it's not the funky mobile field workaround.  That's such a horrible
experience for developers that even the act of documenting it should have
been a red flag to go back and refine the field buffering for the few cases
where that put-it-in-a-group recommendation is actually needed.

In your case, you have a huuge canvas, with users expected to scroll a
region about 32 feet.  That's a lot of scrolling.

So in addition to the memory hit of buffering such a large region (32767
* 32767 * 4 + whatever other overhead comes into play with buffering), in
most layouts it would be a usability impairment to ask users to keep
scrolling that much.

So maybe the team could switch the address from 32 to 64, but it still leave
us with the question:

- Would a user have that much RAM?

- Would the user be able to use such a large canvas without acquiring
   RSI? ;)

I don't know your layout, but I do know you, and you're not the type to make
things hard for users, so I'm assuming there's something about this
uncommonly-large scrolling that fits well with the app's requirements.

But what we do know is no monitor can show it all, so the content is already
effectively paged into view as-needed.

Could the content paging be provided through some other UI? For example, if
those controls fit into logical groupings, might different sets of them be
placed into separate physical groups, perhaps accessed via tabs or a list?

If it's truly necessary to have one vast plane to hold everything, could you
handle paging internally while still providing the appearance of a
contiguous group, similar to how the DataGrid does it?

--
  Richard Gaskin
  Fourth World Systems



Ralph DiMola wrote:
 > Desktop and mobile. It's a scrolling group with many sub-groups each
 > with 1 or more fields. Sometimes the height of the main group > 32767.
 >
 > It's the result of a proximity search and in dense areas users are
 > getting hosed by this limit. Customer is screaming (but don't they
 > always).
 >
 > Ralph DiMola
 > IT Director


-Original Message-
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On 
Behalf
Of Richard Gaskin via use-livecode

Ralph DiMola wrote:

 > I just ran head first into this. Could someone explain why other than 
   > moving from an int16 to an int32 this is such a challenge? This 
should  > have been addressed during the refactoring of the engine.

Is this for the weird recommended mobile workaround of putting a text 
field into a group just to have it scroll, or something else?

--
   Richard Gaskin
   Fourth World Systems


___
use-livecode mailing list
use-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: Canvas Limited to 32767

2020-10-06 Thread Ralph DiMola via use-livecode
Paul,

I agree the it seems that 32767 would be more than enough but alas reality
intrudes. On desktop you can easily get to the bottom and on mobile a few
flicks will get you to the bottom. I use the same code(LC server) for the
http html version and there is no problem there when the search returns an
obscene number of results.

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 Paul Dupuis via use-livecode
Sent: Tuesday, October 06, 2020 2:39 PM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: Re: Canvas Limited to 32767

You would think with 32K px at 72px/inch being like 450 inches that the 32K
limit would not be an issue, but I have run into it as well

I have written a custom graph (like a bar graph for example sake) that is
generally fine with most customer data. However, on one customer data set it
started blowing up. It turns out that one of the bars was "huge" 
(an the order of 400k px) at the zoom level where they could see the details
in the remaining bars. So, in this case the researchers wanted to "zoom" in
on noise in a larger data set, causing that larger data to become huge in a
graph.

And yes, you can code in bounds limits and attaching labels to indicate a
bar is out of bound or exceeds display area, etc., but I do agree that for a
number of applications having a large drawing area would be a big
improvement.


On 10/6/2020 2:28 PM, Ralph DiMola via use-livecode wrote:
> Desktop and mobile. It's a scrolling group with many sub-groups each 
> with 1 or more fields. Sometimes the height of the main group > 32767.
>
> It's the result of a proximity search and in dense areas users are 
> getting hosed by this limit. Customer is screaming (but don't they
always).
>
> 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 Richard Gaskin via use-livecode
> Sent: Tuesday, October 06, 2020 2:01 PM
> To: use-livecode@lists.runrev.com
> Cc: Richard Gaskin
> Subject: Re: Canvas Limited to 32767
>
> Ralph DiMola wrote:
>
>   > I just ran head first into this. Could someone explain why other 
> than  > moving from an int16 to an int32 this is such a challenge? 
> This should  > have been addressed during the refactoring of the engine.
>
> Is this for the weird recommended mobile workaround of putting a text 
> field into a group just to have it scroll, or something else?
>
> --
>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


___
use-livecode mailing list
use-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: Canvas Limited to 32767

2020-10-06 Thread Ralph DiMola via use-livecode
Desktop and mobile. It's a scrolling group with many sub-groups each with 1
or more fields. Sometimes the height of the main group > 32767.

It's the result of a proximity search and in dense areas users are getting
hosed by this limit. Customer is screaming (but don't they always).

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 Richard Gaskin via use-livecode
Sent: Tuesday, October 06, 2020 2:01 PM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: Canvas Limited to 32767

Ralph DiMola wrote:

 > I just ran head first into this. Could someone explain why other than  >
moving from an int16 to an int32 this is such a challenge? This should  >
have been addressed during the refactoring of the engine.

Is this for the weird recommended mobile workaround of putting a text field
into a group just to have it scroll, or something else?

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


Canvas Limited to 32767

2020-10-06 Thread Ralph DiMola via use-livecode
I just ran head first into this. Could someone explain why other than moving 
from an int16 to an int32 this is such a challenge? This should have been 
addressed during the refactoring of the engine.

Inquiring minds want to know. Thanks for any info on this. Now I have some 
refactoring to do...

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Ralph DiMola via use-livecode
On my Mac this form works to a Win 10 smb share

put url ("file://volumes/shareName/folder/sub-folder/file.ext")

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 
Paul Dupuis via use-livecode
Sent: Friday, September 25, 2020 6:24 PM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: Re: Accessing files on a local network file server - BEST PRACTICE?

Thanks Bob,

Yes, the error messages you get on a failed file open are pretty generic.

I am thinking that whether Mac or Win, the key is to check for whether there is 
a folder:

/volumes/mountpoint/ (osx)
or
//server/mountpoint/ (win)

For a given path tPath, I can tell if it is a windows server bu looking at the 
1st two characters of tPath and if they are // then I can try t pull off 
//server/mountpoint and test for a folder by that name exists.

However, on OSX,

/volumes/mountpoint/ looks just like any local path.


On 9/25/2020 6:12 PM, Bob Sneidar via use-livecode wrote:
> QUALIFIER: this is in Livecode on a Mac. Mac mount points work differently 
> than Windows. However using the form /volumes/mountpoint/folderpath/filename 
> I get the simple error “Can’t open that file.” No detail about WHY I cannot 
> open it. I can see how it would be helpful if the result contained “path not 
> accessible”, “write access denied”, “file already exists” etc.
>
> Bob S
>
>
> On Sep 25, 2020, at 2:28 PM, Bob Sneidar via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
>
> OK using your convention I cannot even open a file with the server 
> mounted and an actual file that DOES exist! 
> (//servername/mountpoint/pathtofile/filename)
>
> 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


___
use-livecode mailing list
use-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: Converting from unicode to ASCII

2020-09-22 Thread Ralph DiMola via use-livecode
How about converting the non ascii characters into to base 64 ascii? This could 
produce really long filenames. I guess you could truncate if needed. Also the 
filename would make no sense at all if it was all non ascii.

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 
J. Landman Gay via use-livecode
Sent: Tuesday, September 22, 2020 6:49 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: Converting from unicode to ASCII

I have a stack with an index. When a user clicks a line, a handler uses the 
clicktext to create a file name which is always the clicktext plus the 
".livecode" extension. The stack is then downloaded from an AWS server and 
displayed.

We are now translating some stacks to other languages which require unicode 
text. AWS recommends not using accented characters in file names, so we need to 
translate the clicktext into plain ASCII.

Is there a good way to do that without using a lookup table or metadata? The 
file names doesn't need to make sense syntactically. For example,

l’Académie française -> lAcademiefrancaise.livecode

...or similar, whatever works. The user will never see the file name.

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


https put url not working first time

2020-09-22 Thread Ralph DiMola via use-livecode
I'm doing a:

put url (https://somewhere.com/someFolder/file.ext) into url
("file:someLocalPath/file.ext")

 

90% of the time the first try fails but then all similar attempts work 100%
correctly after that.

When it fails the result is empty and the local file has a zero length.

 

Has anyone seen this?

 

LC 9.6.1 business. tsNet is active

 

Thanks

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

___
use-livecode mailing list
use-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 get htmltext from the field to display in another field

2020-09-17 Thread Ralph DiMola via use-livecode
BR,

set the htmltext of fld "Dest" to the htmlText of fld "Src"

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 Sannyasin Brahmanathaswami via use-livecode
Sent: Thursday, September 17, 2020 3:14 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: HOw to get htmltext from the field to display in another field 

   --set the htmltext of fld "mainText" into fld "checkHTML"
   
   put text of fld "mainText" into  fld "checkHTML"

??

___
use-livecode mailing list
use-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: THIS group

2020-09-14 Thread Ralph DiMola via use-livecode
I can see why the mother ship does not like synonyms. In this case I think
it would be advantageous for new users if "this" was extended so that "this
group" was the same as "the owner of the target". I found myself digging
around until I found "the owner of the target" in the beginning. Not all
synonyms are the devil incarnate. In this case there would be no backwards
compatibility issues?

2 cents...

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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: Looping though a numerically indexed array

2020-09-02 Thread Ralph DiMola via use-livecode
David,

Nope you have to sort them NUMERIC. As you said this is the only way I know of. 
I do this all the time. I don't know of any other way.

put the keys of tMyArray into tKeys
sort lines of tKeys numeric
repeat for each line tKey in tKeys

-- do what you want with tMyArray[tKey]
-- this line will put the array data in the message box (assuming there is no 
other sub keys in each numeric array entry).
put tMyArray[tKey] into tMyVar

end repeat

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 
David Bovill via use-livecode
Sent: Wednesday, September 02, 2020 10:55 AM
To: How to use LiveCode
Cc: David Bovill
Subject: Looping though a numerically indexed array

I’m pretty sure there must be a way to efficiently loop through numerically 
indexed arrays

Repeat for each key and repeat for each element does not seem to sort the keys 
in numeric order,. Of course I can get the keys and sort them before repeating 
- but is there a more efficient way?
___
use-livecode mailing list
use-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-26 Thread Ralph DiMola via use-livecode
J,

I take it you referring to the premature mouse "down/up"s you get with
Android while perusing in a native scroller. This is not a problem for me in
iOS. I put in a simple timer and it does not adversely affect iOS(or affect
it in any way) but does make the scrolling in Android work as expected. If
my supposition is correct I'm just wondering why you do it only for Android?

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 J. Landman Gay via use-livecode
Sent: Wednesday, August 26, 2020 3:08 AM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Cross Platform Font Layout - current workarounds

On August 25, 2020 7:47:00 PM "Sean Cole \(Pi\) via use-livecode" 
 wrote:
>

> The projects deadline was Monday morning, which was completed. It 
> doesn't take away from the fact that next time I will face it all 
> again because LC won't fix the fundamentals. They don't live up to 
> their promises. They LIE (Jacque won't accept it, but they make many 
> claims on their site and to me in person that simply are proven 
> false). I'm just tired of people making me out to be irrelevant and any
claim I make to be false.

I don't think you're either irrelevant or incorrect, I only object to the
disrespect you've shown for people who work hard to bring us the tool we
love and depend on. Any bugs you found are certainly based in fact, as
you've shown. But there are much better ways to express discontent than what
we've seen here. I also understand that you are battling some personal
issues that may be out of your control, for which I am very sorry. But you
can't expect warm replies to rants that are hurtful to the very people who
attempt to help. Remember when we were worried about you and took up a fund
to help? You got mad at us for that too.

As for "code once, run anywhere," I've recently completed two apps in four
different flavors. I did not need to make any adjustments between the Mac
and Windows apps, or between the iOS and Android apps with one exception for
the native scroller on Android. And because the two products were siimilar
in many ways (one inspired the other,) I could re-use about 70% of the
desktop code to create the mobile apps.

Two mobile apps with identical code bases, except for native Android
scroller:
https://apps.apple.com/us/app/id1517450678
https://play.google.com/store/apps/details?id=com.friendshippress.wordathand

Mac and Windows apps with identical code bases:
https://thinkingstrings.com/interactive-explorations/  (click product titles
to see screenshots) And the mobile versions:
https://play.google.com/store/apps/details?id=com.thinkingstrings.tsmobile
https://apps.apple.com/us/app/id1496668393

There is one more thing that differs between Android and iOS apps, and
that's native appearance. Your font issue is similar to this. My mobile
products each contain a handler I call "setupUI" which adjusts the
appearance of all controls to conform to the platform's GUI. It sets the
properties of all buttons, fields, text, etc., whatever is necessary to make
the app look as expected for the OS. It's a long handler and I add to it as
I do the initial layout. Then I run the handler manually from the message
box before doing the build for each mobile platform. This is all cosmetic
work, and I don't consider it part of the code base because it isn't what
runs my apps. It just makes them look right. It's an automated way to switch
between iOS and Android appearance, with the advantage of allowing me to
flip between the two GUIs quickly during developent.

I generally don't need to do that for desktop apps, because LC handles most
of the GUI issues for me. The fact that you've found an edge case is
probably why you're so angry; we get spoiled because we take it for granted
that LC is going to do it all for us. The link Mark gave us explains the
reason (and though the author is working with HTML, the reason behind the
problem does apply to LC as well. It isn't as irrelevant as you thought.)

--
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: Cross Platform Font Layout

2020-08-25 Thread Ralph DiMola via use-livecode
+ 10 also. Thanks Mark. Enlightening. I've read several articles on this but
this one was easy on the brain. Bookmarked!

I talked to my partner in crime and she reminded me that we were the third
one to get the afore mentioned Word file and the problem manifested itself
by looking OK on the screen but the PDF was wrong because of the font naming
was screwed up by the second person to get the file by not having the bold
version of the font on their system. The only way we found to fix it was to
re-style the bold of that font for the entire document. It was hundreds of
8.5/11 pages. That's why we just had to laugh when the bad version of the
document circled back around to us 5 years later. 
Fonts can be a real pain (am I understating it?)

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 J. Landman Gay via use-livecode
Sent: Tuesday, August 25, 2020 6:43 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Cross Platform Font Layout

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.

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


RE: Cross Platform Font Layout

2020-08-25 Thread Ralph DiMola via use-livecode
Couple of thoughts here.

PDFs:
I've been using PDFs since the early 90s (and postscript too). Even though I
detest the strangle hold that Adobe has on its PDF writer, reader and full
Acrobat, it has been the only reliable cross platform format I use that can
(most times) retain font Size, wrapping, kerning, leading and weight. PDFs
can be generated on any platform and still go to pre-press with confidence.
Not that there can't be snafus because of fonts not embedded or fonts that
are embedded incorrectly(more about that later). It's also not at its core a
programming language although one can write plugins.

Font "Consistent" Applications:
Indesign can keep a document consistent across platforms but that's all it
does. It's not at its core a programming language although one can also
write plugins. I do Mac/PC Indesign and it's in my cases 100% the same.

Now MSWord... It can also be cross platform consistent with a rub. If you
use the bold face of a font and send it to another person that doesn't have
the bold face Word will do the math and make the plain face bold and things
will not kern correctly. It does this without warning. Word will also does
silent font substations(a nightmare). Now send that file to a another user
with the bold font and it will be used and now kern correctly BUT the
document will not PDF correctly. Embedded fonts will have wrong names. I
spent a week one day ferreting this out. We got it straight but funny enough
like 5 years later that customers bad version of the document made its way
back to us with the same but different font issues.

Font Naming:
Font names and aggregating font families is totally different between
InDesign and MS Word on the same platform. InDesign will be consistent
between platforms but for the price I pay for the yearly subscription it
better. There are like 3 names in the font. I don't remember the exact
details but it was something like base name/family/face. And still in 2020
this has not been addressed in a user friendly way. There must be some
historical reasons for this. Maybe it was MAC/PC wars or Adobe sticking
their 2 cents in with ATM in the 90's to early 2000s. Why font names for the
same font are not the same in 2020 across Mac/Win/Linux/iOS/Android is
beyond me but I deal with it.

LC:
It would be ideal if font names/rendering was consistent between platforms
but I don't compose books in LC. When I need exact matching I use images.
This is what I did for pre-storyboard iOS splash screens.  Images were only
way to match the fonts of the IDE generated splash screens to the first card
rendered in iOS. I also use images to have customer logos with text to look
correctly. If you think that LC can be slow scrolling you don't want to
think how slow it could be if LC implemented the types of things that
InDesign does to keep fonts looking the same across platforms. Even in LC
the only way to keep exact formatting is to use the PDF Widget(back to PDFs
again).

Conclusion:
LC is not a high-end composition tool. After programming in like 15 or more
languages from 1620 SPS to LC, I find LC to be a pleasure. From chunks to
DBs to http tsNet to cross-platform to extensibility it's a daily load off
my brain. Yes there can be some ugly workarounds now and again but in the
end I save time and a bunch of brain cells. The fact there are workarounds
in most cases sometimes amazes me. Between this list, getting the Mothership
to chime in and Panos's help, I'm all in and will support LC to the end of
my programming days.

As the boss said in "Casino". "At least that's the way I feel"


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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 page counts of PDFs

2020-08-23 Thread Ralph DiMola via use-livecode
PDF Widget will do the trick. I start reading the PDF spec 20 years ago and got 
a giant headache.

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 
David V Glasgow via use-livecode
Sent: Sunday, August 23, 2020 8:07 AM
To: How to use LiveCode
Cc: David V Glasgow
Subject: Getting page counts of PDFs

Livecoders,

In my day job, some of my income comes from the number of pages from  a number 
of PDF documents thatI have to read for individual cases.  I thought it would 
be fun and useful to write an LC script that would either count the pages or 
(even better) get the page count of a folder full of PDFs.

I didn’t imagine it would be too hard, because both Mac and Win OSs report page 
number instantly and accurately in the file information windows.

I discovered that in a small sample of PDFs a line… << /Type /Pages /MediaBox 
[0 0 612 792] /Count 149 /Kids [ 1396 0 R 1397 0 R


...contained the page count, which was a bit confusing because I read that the 
Mediabox was only about page dimensions.  Then I found that some PDFs don’t 
contain that line, or at least not in the clear.

There is a general online consensus that reliably finding the page count of a 
PDF involves quite a lot of messing about and parsing, and may involve pretty 
much counting the pages.

I found some code here  with 
the following walk through:

//1.  See if there's a 'Linearization dictionary' for easy parsing.
//Mostly there isn't so ...
//2.  Locate 'startxref' at end of file
//3.  get 'xref' offset and go to xref table
//4.  depending on version the xref table may or may not be in a compressed
//stream. If it's in a compressed stream (PDF ver 1.5+) then getting the
//page number requires a LOT of code which is too convoluted to summarise
//here. Otherwise it still requires a moderate amount of code ...
//5.  parse the xref table and fill a list with object numbers and offsets
//6.  handle subsections within xref table.
//7.  read 'trailer' section at end of each xref
//8.  store 'Root' object number if found in 'trailer'
//9.  if 'Prev' xref found in 'trailer' - loop back to step 3
//10. locate Root in the object list
//11. locate 'Pages' object from Root
//12. get Count from Pages.


If this is right, how on earth do OSs do it so quickly?  Also, and more to the 
point, am I on a fools errand to do this with LC?  I haven’t seen anything that 
obviously couldn’t be done (didn’t understand the regex, but assumed with 
effort…).  However parsing huge files just doesn’t look like it would be worth 
the effort, particularly as I can select all the documents,  get info, and sum 
the pages in my head..

Cheers,

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


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


RE: iOS app denied: AVAudioSession

2020-08-21 Thread Ralph DiMola via use-livecode
Dan,

I have never seen anything like this in the 8 years of having iOS apps reviewed 
(and rejected). I have used location but not audio.
I just had three 9.6.0 apps approved last weekend. I'm planning to submit a 
9.6.1 app today and will let you know if I get a strange rejection.
 
Just spit-balling here but I would be inclined to submit a new binary with no 
changes and bump up the version and see what happens.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: Dan Friedman [mailto:d...@clearvisiontech.com] 
Sent: Friday, August 21, 2020 2:01 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: iOS app denied: AVAudioSession

Ralph,

I have no idea.  This is the screen shot that Apple included in the "Resolution 
Center" when they denied the app.   I assume they are using people in another 
country to review apps?

-Dan
 

On 8/21/20, 10:49 AM, "use-livecode on behalf of Ralph DiMola via 
use-livecode"  wrote:

Dan,

Why is there a foreign language in the left top bar header to the right of 
the time? I spent some time in Japan and this message suspiciously looks like 
katakana and kanji.

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 Dan Friedman via use-livecode
Sent: Friday, August 21, 2020 12:15 PM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: iOS app denied: AVAudioSession

Mark,

THANK YOU for the quick reply.   I wasn't using 9.6.1-rc-1 and rc-2, I was 
using 9.6.1-rc-2 and the final release of 9.6.1.

>> Can you reproduce the request for microphone access which Apple observed?
I cannot.  I installed the submitted app (using TestFlight) on my iPhone X 
and I DID NOT get the Microphone request dialog.

Apple did provide a screen shot of the dialog they see, but it's strange... 
  Why is it in a different language?   And, could this have anything to do with 
the issue?
See it here:  https://www.clearvisiontech.com/temp/fromApple.png

What would you suggest I do next?


Thank you!

Dan Friedman
CEO, ClearVision Technologies, LLC
Voice: 909/484-2052
http://www.clearvisiontech.com


On 8/21/20, 8:53 AM, "use-livecode on behalf of Mark Waddingham via 
use-livecode"  wrote:

On 2020-08-21 16:39, Dan Friedman via use-livecode wrote:
> Any thoughts?   Client is waiting for this post!

The only difference between 9.6.1-rc-1 and rc-2 was the removal of some 
no-longer-used references to an Ad SDK on Android. 9.6.1 was the same 
as 
9.6.1-rc-2 (except for version).

Apple update their review processes all the time, so it is possible 
they 
changed something between the two app submissions.

The most important question here is: Can you reproduce the request for 
microphone access which Apple observed?

If not, then you need to find out how they did and dispute the 
rejection 
- it could be human error on their side...

If you can, then it suggests that you might have some code buried 
somewhere setting the audio category - or use of the video camera is 
using a default category Apple doesn't like.

Make sure you aren't asking for a video camera with both audio and 
video 
- i.e. just audio only.

Failing that, there is mergAVAudioSessionSetCategory - you could try 
explicitly setting the category to "ambient" on startup.

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


___
use-livecode mailing list
use-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


Mobile Field Default Background Color Behavior Change

2020-08-21 Thread Ralph DiMola via use-livecode
I just built an app with 9.6.1 and it seems that the behavior of an opaque 
field with no backgroundColor set has changed on mobile. In the IDE with no 
backgroundColor set the background is white and on mobile it's now 
transparent(as if opaque is false). I set the backgroundColor to white and the 
IDE looks the same as it always did and now the mobile app looks like the IDE 
again.
Note: I had 30% transparency with srCopy.

Did I miss a release note?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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: iOS app denied: AVAudioSession

2020-08-21 Thread Ralph DiMola via use-livecode
Dan,

Why is there a foreign language in the left top bar header to the right of the 
time? I spent some time in Japan and this message suspiciously looks like 
katakana and kanji.

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 
Dan Friedman via use-livecode
Sent: Friday, August 21, 2020 12:15 PM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: iOS app denied: AVAudioSession

Mark,

THANK YOU for the quick reply.   I wasn't using 9.6.1-rc-1 and rc-2, I was 
using 9.6.1-rc-2 and the final release of 9.6.1.

>> Can you reproduce the request for microphone access which Apple observed?
I cannot.  I installed the submitted app (using TestFlight) on my iPhone X and 
I DID NOT get the Microphone request dialog.

Apple did provide a screen shot of the dialog they see, but it's strange...   
Why is it in a different language?   And, could this have anything to do with 
the issue?
See it here:  https://www.clearvisiontech.com/temp/fromApple.png

What would you suggest I do next?


Thank you!
 
Dan Friedman
CEO, ClearVision Technologies, LLC
Voice: 909/484-2052
http://www.clearvisiontech.com
 

On 8/21/20, 8:53 AM, "use-livecode on behalf of Mark Waddingham via 
use-livecode"  wrote:

On 2020-08-21 16:39, Dan Friedman via use-livecode wrote:
> Any thoughts?   Client is waiting for this post!

The only difference between 9.6.1-rc-1 and rc-2 was the removal of some 
no-longer-used references to an Ad SDK on Android. 9.6.1 was the same as 
9.6.1-rc-2 (except for version).

Apple update their review processes all the time, so it is possible they 
changed something between the two app submissions.

The most important question here is: Can you reproduce the request for 
microphone access which Apple observed?

If not, then you need to find out how they did and dispute the rejection 
- it could be human error on their side...

If you can, then it suggests that you might have some code buried 
somewhere setting the audio category - or use of the video camera is 
using a default category Apple doesn't like.

Make sure you aren't asking for a video camera with both audio and video 
- i.e. just audio only.

Failing that, there is mergAVAudioSessionSetCategory - you could try 
explicitly setting the category to "ambient" on startup.

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


___
use-livecode mailing list
use-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: LibURL and TSNet in LC Indy

2020-08-17 Thread Ralph DiMola via use-livecode
Tom,

Your problem with tsNet could be a timeouts. See tsNetSetTimeouts

Disable tsNet: 
dispatch "revunloadlibrary" to stack tsnetliburl

Enable tsNet: 
dispatch "revloadlibrary" to stack tsnetliburl

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 Tom Glod via use-livecode
Sent: Monday, August 17, 2020 4:32 PM
To: How to use LiveCode
Cc: Tom Glod
Subject: LibURL and TSNet in LC Indy

Hi Folks,

I am  stress testing a rest api using liburl, I will also do TSNET

But when I open my stack in Livecode Indy, the load URL command uses TSNET

Whats funny is that half the requests are failing when it tries to use
TSNET. With liburl, 100% success rate using LC Community.

I am also calling a custom liburlcallback handler.

Is there any way to prevent indy from using TSNET by default?

Thanks

Tom
___
use-livecode mailing list
use-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: Browser Widget and Twitter on iOS 13

2020-08-17 Thread Ralph DiMola via use-livecode
I was thinking of doing it just for Twitter but if other sites become stricter 
I did not want to have to release a new app. I could have done an OTA update of 
sites that needed this userAgent but I opted for the simple solution.

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 
Linda Miller via use-livecode
Sent: Saturday, August 15, 2020 2:53 PM
To: use-livecode@lists.runrev.com
Cc: Linda Miller
Subject: RE: Browser Widget and Twitter on iOS 13

Why not check if it is going to a URL that contains “twitter.com” and feed the 
correct user agent prior to going to the website since it is only a twitter 
issue?

Linda

> On Aug 15, 2020, at 10:00 AM, use-livecode-requ...@lists.runrev.com wrote:
> 
> RE: Browser Widget and Twitter on iOS 13

___
use-livecode mailing list
use-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: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Ralph DiMola via use-livecode
There is a song to be written for
https://webaim.org/blog/user-agent-string-history/. It may have multiple
time signatures... but I digress. Here's the code that's working for me:


if the environment = "mobile" and the platform = "iphone" and the machine
contains "iPad" then -- one can never be too careful

  switch

 case the systemversion begins with "12" -- iOS 12

set the userAgent of widget "BrowserW" to "Mozilla/5.0 (iPad;
CPU OS 12_4_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko)
Version/12.1.2 Mobile/15E148 Safari/604.1"

break

 case the systemversion begins with "13" -- iOS 13

set the userAgent of widget "BrowserW" to "Mozilla/5.0
(Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko)
Version/13.1.1 Safari/605.1.15"

break

 default -- everybody else. This could get me into trouble later.
Maybe default should be deleted?  REVISIT

set the userAgent of widget "BrowserW" to "Mozilla/5.0 (iPad;
CPU OS 12_4_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko)
Version/12.1.2 Mobile/15E148 Safari/604.1"

  end switch

   end if


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 Mark Wieder via use-livecode
Sent: Friday, August 14, 2020 7:17 PM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: Browser Widget and Twitter on iOS 13

On 8/14/20 2:54 PM, Ralph DiMola via use-livecode wrote:
> Mark/Panos,
> 
> Thanks for all your help, this worked like a charm! I got the 
> userAgent from a v12 iPad and v13 iPad. For any other iPad OS version 
> I use the v13 version.

Just curious... what userAgent string worked for you?

--
  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: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Ralph DiMola via use-livecode
Mark/Panos,

Thanks for all your help, this worked like a charm! I got the userAgent from
a v12 iPad and v13 iPad. For any other iPad OS version I use the v13
version.

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 Mark Waddingham via use-livecode
Sent: Friday, August 14, 2020 9:12 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: Browser Widget and Twitter on iOS 13

On 2020-08-14 14:01, Mark Waddingham via use-livecode wrote:
> On 2020-08-14 13:31, Ralph DiMola via use-livecode wrote:
>> Should I use the userAgent globally for all browser widget http(s) 
>> requests on platform = iphone?
> 
> Isn't the issue on iPad?

Hah - ignore this - I forgot to edit it when I realized 'the platform' 
returns iPhone (its the machine which distinguishes between iPad and
iPhone).

Whether to do it for all web-requests then I'm not sure - this is
twitter.com related thing as far as I can see.

It shouldn't do any harm to use the same useragent for all requests though
(although you might want to check if iPad latest iOS from Safari is
different from iPhone latest from Safari and switch on the machine if so).

I'd recommend removing this mitigation if/when twitter.com starts behaving
normally again though as you don't want to have to keep that up to date lest
it cause problems for other websites.

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: iOS 12 and browser widget

2020-08-14 Thread Ralph DiMola via use-livecode
By the way you can put all local html files into the temp folder(or
subfolders of temp). That works for v13 and all v12 devices.

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 J. Landman Gay via use-livecode
Sent: Friday, August 14, 2020 5:23 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: iOS 12 and browser widget

On 8/14/20 3:01 PM, Ralph DiMola via use-livecode wrote:
> On some but not all iOS 12 devices you must load local html files from 
> the temp folder. I went around this with Panos for a week before he 
> figured this out. See QCC 
> 22816https://quality.livecode.com/show_bug.cgi?id=22816

Oh wow. That's kind of weird, isn't it? But thanks, that helps a lot!

-- 
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: iOS 12 and browser widget

2020-08-14 Thread Ralph DiMola via use-livecode
J,

On some but not all iOS 12 devices you must load local html files from the
temp folder. I went around this with Panos for a week before he figured this
out. See QCC 22816 https://quality.livecode.com/show_bug.cgi?id=22816

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 J. Landman Gay via use-livecode
Sent: Friday, August 14, 2020 3:51 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: iOS 12 and browser widget

I have a browser widget that loads content from the local drive on iOS
devices. It works fine with iOS 13 but fails on iOS 12. The app was built
with LC 9.6.1 rc 2. I know webkit was changed since we last built a year
ago, but shouldn't it still work with iOS 12?

When it fails, the browser widget is just blank, a plain white display. The
user is on an older device that can't update to iOS 13.

-- 
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: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Ralph DiMola via use-livecode
Thanks Panos and Mark!

So... to recap..
1) get the userAgent in Safari on my 10.14.6 Mac
2) in App (If the platform="iphone" then set userAgent to this value).

Should I use the userAgent globally for all browser widget http(s) requests
on platform = iphone?
Will this affect any other tsNet functions?
Should it be reset back to empty for any reason?

Should I file a bug report?

Have a good weekend.
Thanks again.

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 panagiotis merakos via use-livecode
Sent: Friday, August 14, 2020 3:40 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: Browser Widget and Twitter on iOS 13

Hello all,

Definitely this is related to the user-agent. It seems twitter recently has
become stricter on this:

https://help.twitter.com/en/using-twitter/twitter-supported-browsers

https://stackoverflow.com/questions/63081729/when-using-r-curl-to-download-a
-twitter-page-the-page-downloaded-is-this-brows

https://stackoverflow.com/questions/62967532/ipad-wkwebview-in-case-of-ipad-
i-am-getting-this-browser-is-no-longer-supporte

I get the same warning ("this browser is no longer supported .." ) when I
try to visit https://twitter.com from a browser widget on my Mac (10.14.6)
with LC 9.6.0.

I was able to get rid of the warning by visiting the page Mark posted (
https://www.whatismybrowser.com/detect/what-is-my-user-agent) with Safari to
see what an accepted user-agent is, and then set the "userAgent" of the
browser widget to this value.

Kind regards,
Panos
--



On Thu, 13 Aug 2020 at 20:36, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2020-08-13 18:30, Ralph DiMola via use-livecode wrote:
> > That tester has both iPhone and iPad and I know there both running 
> > the same version of iOS. iPhone doesn't get the message but the iPad 
> > does. I will find out if there both up to the latest 13.x.x. (it 
> > flew out of my head after I heard they were running the same 
> > version)
>
> So I'm pretty sure this has to be the userAgent string which any HTTP 
> client sends up as a header (User-Agent:?) as I don't think any other 
> browser-specific/OS-specific/device-specific information is transmitted.
>
> If you can send the user an app with just a browser widget in it where 
> they can visit:
>
> https://www.whatismybrowser.com/detect/what-is-my-user-agent
>
> On both the iPad and iPhone they have then at least it will show if 
> there *is* a difference between the two devices in terms of what 
> WKWebView is sending (can also compare with Safari on the devices too 
> which would either confirm or deny my suspicion about Safari not being 
> a wrapped WKWebView).
>
> 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


___
use-livecode mailing list
use-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: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Ralph DiMola via use-livecode
That tester has both iPhone and iPad and I know there both running the same
version of iOS. iPhone doesn't get the message but the iPad does. I will
find out if there both up to the latest 13.x.x. (it flew out of my head
after I heard they were running the same version)

Odd indeed but I(well Panos) just found a iPad oddity that a couple of iPad
Mini models running 12.x would only load local web pages if they were in the
temp folder. So this unified iOS SW/HW thing is not 100% yet.

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 Mark Waddingham via use-livecode
Sent: Thursday, August 13, 2020 1:09 PM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: Browser Widget and Twitter on iOS 13

On 2020-08-13 17:06, Ralph DiMola via use-livecode wrote:
> Thanks Mark.
> 
> I searched all stacks for "userAgent" and it did not exist. After I 
> got some more feedback it is working on iOS 13 iPhones but not on an 
> iOS 13 iPad. So far this iPad is the only one with this issue. The 
> user tried in Safari on the iPad and did not get the message.

So that is just odd - it might be worth checking that said iPad has the
latest version of iOS13...

There's a small chance that Apple has fixed something in WKWebView on
iOS13 in some .x increment, and Twitter has blocked the versions before (via
userAgent).

Safari and WKWebView are not the same thing (I think Safari might use its
own private version of WebKit under the hood - although I'm not 100% sure
about that) so the Safari comparison might not be relevant in this case.

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: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Ralph DiMola via use-livecode
Thanks Mark.

I searched all stacks for "userAgent" and it did not exist. After I got some
more feedback it is working on iOS 13 iPhones but not on an iOS 13 iPad. So
far this iPad is the only one with this issue. The user tried in Safari on
the iPad and did not get the message.

LC 9.6.0 
OSX 10.14.6 
Xcode 11.3.1

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 Mark Waddingham via use-livecode
Sent: Thursday, August 13, 2020 11:16 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: Browser Widget and Twitter on iOS 13

On 2020-08-13 13:46, Ralph DiMola via use-livecode wrote:
> When accessing Twitter via the Browser Widget on iOS 13 I get this 
> error message==> "This browser is no longer supported. Please switch 
> to a supported browser or disable the extension which masks you 
> browser to continue using twitter.com". Is there a widget setting I 
> can change to eliminate this? It works on Android and iOS 12. This is 
> from the first tester. Could there be a iOS devices setting that this 
> user inadvertently changed that caused this? I'm waiting for other 
> testers but wanted to get on top of this. Any ideas?

Hmmm - the wording "This browser is no longer supported. Please switch to a
supported browser or disable the extension which masks you browser to
continue using twitter.com" suggests that twitter.com is using the userAgent
string to determine access.

I'm pretty sure the old UIWebView (which we replaced with WKWebView in
9.6) didn't support a custom user agent string - but the new WKWebView one
does.

Are you setting `the userAgent` property of the browser widget anywhere?

Of course, this wouldn't explain why it works in iOS12 / Android if this is
the problem...

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


Browser Widget and Twitter on iOS 13

2020-08-13 Thread Ralph DiMola via use-livecode
When accessing Twitter via the Browser Widget on iOS 13 I get this error 
message==> "This browser is no longer supported. Please switch to a supported 
browser or disable the extension which masks you browser to continue using 
twitter.com". Is there a widget setting I can change to eliminate this? It 
works on Android and iOS 12. This is from the first tester. Could there be a 
iOS devices setting that this user inadvertently changed that caused this? I'm 
waiting for other testers but wanted to get on top of this. Any ideas?

Thanks.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
use-livecode mailing list
use-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: Building a Windows standalone without tsNet?

2020-08-12 Thread Ralph DiMola via use-livecode
Paul,

Sorry, I don't know. It does disable tsNet but I don't know if the
standalone builder respects it when automatically adding required
inclusions.  What you may have to do is use the manual inclusions pane of
the standalone options and don't include tsNet. Then you might/might not
have to do (dispatch "revunloadlibrary" to stack tsnetliburl) in the
standalone's preopenstack handler.

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 Paul Dupuis via use-livecode
Sent: Wednesday, August 12, 2020 12:39 PM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: Re: Building a Windows standalone without tsNet?

On 8/12/2020 11:59 AM, Ralph DiMola via use-livecode wrote:
> Paul,
>
> Disable:
> dispatch "revunloadlibrary" to stack tsnetliburl

If I execute this in the message box in the IDE does that then prevent the
Standalone builder from including it? Or do I need to execute this in the
startup of the Standalone itself?


>
> Enable:
> dispatch "revloadlibrary" to stack tsnetliburl
>
> 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 Paul Dupuis via use-livecode
> Sent: Wednesday, August 12, 2020 11:40 AM
> To: How to use LiveCode
> Cc: Paul Dupuis
> Subject: Building a Windows standalone without tsNet?
>
> I have a very simple stack that I want to build a Windows standalone 
> for (.exe). I do not use any internet/networking related commands or 
> functions in my scripts
>
> The standalone builder for LC9.6.0 insists on including the "Externals"
> folder with tsNet dll in it.
>
> Can some one remind me how I tell the LC not to include tsNet? I knew 
> it once, have forgotten, and can't find in anywhere in any documentation.
>
> Thank you in advance.
>
> ___
> use-livecode mailing list
> use-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: Building a Windows standalone without tsNet?

2020-08-12 Thread Ralph DiMola via use-livecode
Paul,

Disable: 
dispatch "revunloadlibrary" to stack tsnetliburl

Enable: 
dispatch "revloadlibrary" to stack tsnetliburl

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 Paul Dupuis via use-livecode
Sent: Wednesday, August 12, 2020 11:40 AM
To: How to use LiveCode
Cc: Paul Dupuis
Subject: Building a Windows standalone without tsNet?

I have a very simple stack that I want to build a Windows standalone for
(.exe). I do not use any internet/networking related commands or functions
in my scripts

The standalone builder for LC9.6.0 insists on including the "Externals" 
folder with tsNet dll in it.

Can some one remind me how I tell the LC not to include tsNet? I knew it
once, have forgotten, and can't find in anywhere in any documentation.

Thank you in advance.

___
use-livecode mailing list
use-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: ProtonMail vs Apple

2020-08-06 Thread Ralph DiMola via use-livecode
I have an OTA data update for one of my apps. I had to re-word that
"waiting" message a few times until it was approved. The first time it was
"App update is processing, Please wait". Apple's head exploded. Then you
enter into the gauntlet of scrutiny. I agree a different approver helped me
get approved once. Moral: be careful how you word your messages with Apple.

It is a monopoly, no question about it.

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 J. Landman Gay via use-livecode
Sent: Thursday, August 06, 2020 2:52 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: ProtonMail vs Apple

I've been working on mobile apps for a non-profit publishing house. Their
customers are large organizations that buy products in bulk and then resell
to their own customers. Thus, the app does not sell to users at all, nor
does our client.

I made a minor mistake in one of my progress spinners; the briefly-displayed
prompt (less than
1 second) said "Checking your purchases..." and Apple glommed onto that and
wouldn't let go. My client and I spent 3 weeks and innumerable emails to
Apple to convince them that users were not purchasing any products from the
company who sponsored the software, nor could they buy products from any web
site related to the company. We had to answer two different
purchasing-related questionaires in great detail. They finally relented when
we convinced them; I changed the prompt to "Checking your library..." and it
didn't hurt that we got a different reviewer.

Google, who has some similar but less-stringent rules in the Play Store,
accepted the app the first time without any objections.

Word to the wise: if your app doesn't deal with sales, even indirectly,
don't use money-related words anywhere. I hope the EU nails them; I consider
App Store policies equivalent to extortion. Apple holds the majority of
mobile users in the U.S. and the App Store is the only available outlet for
apps. That sounds like a monopoly to me.


On 8/6/20 11:46 AM, JeeJeeStudio via use-livecode wrote:
> Hmpff i just read in the news that even Microsoft can't bring out an 
> xcloud application due to the apple store rules. What a mess. Only 
> Android users will be able to stream games as mentioned on dutch 
> tweakers.net website. I think it's going to cost MS to much money to 
> pay Apple ifvthey would bring out the app on Apple's store.
> 
> Op wo 5 aug. 2020 02:10 schreef Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>> JeeJeeStudio wrote:
>>
>>   > 1 positive thing then on a thing we don't have in LC and now also is
>>   > removed...the possibility to put ads in your LC created mobile app...
>>
>> "Possible" is a big word. It covers nearly everything.
>>
>> It's possible to use LC Build to support ad network APIs.
>>
>> It's also possible to find saner ad networks that offer REST APIs in 
>> addition to binary, so devs don't need to commit as much development 
>> time for one vendor.
>>
>> It's possible but less likely that an app not worth monetizing 
>> through freemiums, direct payment, or other model will earn enough to 
>> bring a positive ROI for the effort of implementing ads.
>>
>> It's less likely that you'll be able to shoe-horn someone else's ads 
>> into your app design without impairing the user experience.
>>
>> Lots of things are possible.  Fewer things are likely.
>>
>> --
>>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
> 


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


Debugging IDE infinite Loops

2020-08-05 Thread Ralph DiMola via use-livecode
Is there a way to break out of an IDE loop or break the IDE into the debugger 
when it's slow? (LC 9.6.0 Win 10)

I keep getting hangs when exiting the IDE and also very slow app response with 
the SE open. I want to see if I can get to the bottom of it.

Thanks

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
use-livecode mailing list
use-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: ProtonMail vs Apple

2020-08-04 Thread Ralph DiMola via use-livecode
Or a trailer for sale or rent. Also... you slowly give up your rights and
individuality with every bit of "cradle to grave" security you embrace, be
it in big tech or government.

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 Mark Wieder via use-livecode
Sent: Tuesday, August 04, 2020 3:38 PM
To: Dev via use-livecode
Cc: Mark Wieder
Subject: Re: ProtonMail vs Apple

On 8/4/20 11:39 AM, Dev via use-livecode wrote:

 > I think that the changes being made are actually done from a
protectionist perspective in an increasingly hostile digital world.

The point here, though, is that Apple is now demanding that anything sold
through mobile ads requires a 30% tribute, whether it's sold online or
elsewhere in the real world. This is a different thing from the security
arguments and gets us back to where you can owe your soul to the Company
Store.

-- 
  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: Push notifications

2020-07-17 Thread Ralph DiMola via use-livecode
Same here. Customers don't want to hear nor will they understand the
technical reason why. It just annoys the heck out of them.

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 J. Landman Gay via use-livecode
Sent: Friday, July 17, 2020 3:42 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: Push notifications

How come we're still getting this warning when submitting to the App Store:

ITMS-90078: Missing Push Notification Entitlement

The app does not use notifications. I know it's just a warning, but the
client gets a copy of Apple's email and they get concerned.

-- 
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: Live code Server revOpenDatabase help needed

2020-07-15 Thread Ralph DiMola via use-livecode
Kevin,

I ran into this when I updated to 64 bit. It was a script only library
stack. I don't know why it worked in v6 but did not work in v9. For me it
was fastJson.livecodescript that caused the problem so I just used the built
json in v9 and all was OK. Why it showed up in a DB open is a mystery?
https://quality.livecode.com/show_bug.cgi?id=22514

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 kevin--- via use-livecode
Sent: Wednesday, July 15, 2020 6:08 AM
To: use-livecode@lists.runrev.com
Cc: ke...@stallibrass.com
Subject: Live code Server revOpenDatabase help needed

Hi,

I've been running a very old (32bit lc server v6 on Ubuntu 16) for years and
the following script works to connect to the SQL database.
My new(er) server (64bit lc server v9 on Debian 8) throws up ~Function:
error in function handler (revOpenDatabase)~ so something has clearly
changed. I've tried removing the socket references, changing the connection
type but the error message remains the same. Has the syntax for
revOpenDatabase changed and I'm reading old documentation again?

Thanks
Kevin

# connect to the database
command dbConnect
put "/var/run/mysqld/mysqld.sock" into _Socket
put revOpenDatabase("MySql", "localhost:3306", _dbName, _dbUser,
_dbPass,, _Socket) into DB
if DB is not a number then put "Error: could not connect to
database!" & BR end dbConnect




___
use-livecode mailing list
use-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: returnKey and ask on iPhone

2020-07-15 Thread Ralph DiMola via use-livecode
Does it work for an LC field or native field? Maybe custom keyboard is not
supported for "ask"?

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 Dan Friedman via use-livecode
Sent: Tuesday, July 14, 2020 7:29 PM
To: How to use LiveCode
Cc: Dan Friedman
Subject: returnKey and ask on iPhone 

Question... Why doesn't the returnKey on my iPhone change to the "Next"
option?

mobileSetKeyboardReturnKey "next"

ask "" with pLabel titled askTitle
if the result = "cancel" then
exit thisThing
end if
put it into tAskData

What am I doing wrong?

-Dan

___
use-livecode mailing list
use-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: What's Going On In The IDE

2020-07-10 Thread Ralph DiMola via use-livecode
Thanks Mark. It did not help me though. How can you break a loop the IDE?

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 Mark Wieder via use-livecode
Sent: Friday, July 10, 2020 4:03 PM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: What's Going On In The IDE

On 7/6/20 9:22 AM, Mark Wieder wrote:
> On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote:
> 
> 
> This card renders sub second but is unresponsive for an additional 14 
> seconds. What's going on here? The IDE stacks totals out to 13 seconds.

Not quite the same symptoms but similar: I just experienced a hang in the
SE. Narrowed it down to a repeat loop in the behavior script. I'll submit a
PR for this, but in the meantime, at line 2060 in handler
autoCompleteIFsAreBalanced

repeat
   put offset(tBeginAsterix, pScript) into tCharBegin
   if tCharBegin is 0 then exit repeat
   put offset(tEndAsterix, pScript) into tCharEnd
   delete char tCharBegin to tCharEnd of pScript
end repeat

change that to

repeat
   put offset(tBeginAsterix, pScript) into tCharBegin
   if tCharBegin is 0 then exit repeat
   put offset(tEndAsterix, pScript) into tCharEnd
   if tCharEnd is 0 then
  exit repeat -- stay out of trouble
   end if
   delete char tCharBegin to tCharEnd of pScript
end repeat

--
  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: Downloading LiveCode Slow...

2020-07-08 Thread Ralph DiMola via use-livecode
>From the Download page I get an average of 2.6mbs download speed.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
use-livecode mailing list
use-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 Ralph DiMola via use-livecode
I Agree, Books. For the most part the only videos I watch are music related.
Other than that I read much faster.
I watch a video only after the narrative needs additional details
(car/electronics/instrument... repairs).

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 J. Landman Gay via use-livecode

Books. I read much faster than video playback, and a book allows me to skip
around easily and look up topics of interest. I rarely have time to sit
through a whole video unless it's very short. Books hold my interest better.



___
use-livecode mailing list
use-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: What's Going On In The IDE

2020-07-06 Thread Ralph DiMola via use-livecode
I can repeat it every time I load the stack. It never is fast once the SE is
opened. So the 64k question. What am a doing that can wack out the SE from
square one? The 128k question how do I find it?

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 Mark Wieder via use-livecode
Sent: Monday, July 06, 2020 12:23 PM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: What's Going On In The IDE

On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote:


This card renders sub second but is unresponsive for an additional 14
seconds. What's going on here? The IDE stacks totals out to 13 seconds. 
This is after I made 1 minor edit in the script with the message box open.
If I open the IDE without opening the script editor or message box then it
only takes 4 seconds of which almost 3 seconds is in IDE scripts. I can
expect some IDE overhead but waiting 14 to 20 seconds to get the IDE back
after a minor edit that might not even be on this card is a problem. It
slows development down to a crawl. The IDE hang is proportional to the
number of fields on the card. The same card with only say 3 groups with 1
field each of 20 characters causes the IDE hang to go down to one second.

I see similar things every once in a while, but unexpectedly so I don't have
a causal relationship to narrow down. I always just figure I did something
weird in my code.

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

2020-07-06 Thread Ralph DiMola via use-livecode
I use Html==>JS==>Async xhttp request.

The xhttp request is fielded by LC Server and is cors compliant so LC Server 
doesn't even need to be on the same web server. (this allows you to test html 
pages from desktop without a web server)

LC server returns html in a json packet.

The async JS handler in the html fires up receiving the LC server json. So the 
data path continued as JS==>html to the web page. In JS I convert the json to 
an array and send the LC server generated html to various s.

Works great. No php. I was able to continue coding in LC and was able to 
leverage all my existing LC libraries(20,000+ lines). I had to learn a little 
JS but all the heavy lifting is done in LC.

My little slice...

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net




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


What's Going On In The IDE

2020-07-03 Thread Ralph DiMola via use-livecode
Win 10 LC 9.6.0

I have a card with 55 groups each with one field of 20 characters. This card 
renders sub second but is unresponsive for an additional 14 seconds. What's 
going on here? The IDE stacks totals out to 13 seconds. This is after I made 1 
minor edit in the script with the message box open. If I open the IDE without 
opening the script editor or message box then it only takes 4 seconds of which 
almost 3 seconds is in IDE scripts. I can expect some IDE overhead but waiting 
14 to 20 seconds to get the IDE back after a minor edit that might not even be 
on this card is a problem. It slows development down to a crawl. The IDE hang 
is proportional to the number of fields on the card. The same card with only 
say 3 groups with 1 field each of 20 characters causes the IDE hang to go down 
to one second.

Also after running the profile (and other times also) when closing the IDE it 
goes into an endless loop after a completely blank window titled 
reNewScriptEditor1 open up and the IDE process need to be manually stopped.

I profiled the script and here's the top of the hit parade with 55 groups of 1 
field each of 20 characters when the script editor is open.

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/palettes/messagebox/behaviors/revmessageboxsinglelinecardbehavior.livecodescript"
  

4803 ms layoutCard

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/palettes/behaviors/revpalettebehavior.livecodescript"   
   
3383 ms generateFrame   

stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/message 
box/behaviors/revmessageboxbehavior.livecodescript" 
  
3006 ms positionOpenStacksButton

stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/message 
box/behaviors/revmessageboxbehavior.livecodescript" 
  
1575 ms revIDESetActiveStack

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/palettes/behaviors/revpalettebehavior.livecodescript"   
   
1512 ms contentRect 

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/libraries/revbackscriptlibrary.livecodescript"  
   
791 ms  revUpdateAOControls 

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/libraries/revidelibrary.8.livecodescript"   
   
783 ms  revIDEColor 

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/libraries/revfrontscriptlibrary.livecodescript" 
   
743 ms  nameChanged 

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/palettes/menubar/revmenubar.livecodescript" 
   
346 ms  updateButtonHilite  

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/palettes/menubar/revmenubar.livecodescript" 
   
255 ms  setButtonHilite 

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/libraries/revgeometrylibrary.livecodescript"
   
248 ms  revCacheGeometry

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/palettes/behaviors/revpalettebehavior.livecodescript"   
   
207 ms  appendMenuItem  

stack "C:/Program Files/RunRev/LiveCode Business 
9.6/Toolset/libraries/revidelibrary.8.livecodescript"   
   
190 ms  revIDEGetPreference 

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
use-livecode mailing list
use-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: AR in LiveCode Browser?

2020-06-30 Thread Ralph DiMola via use-livecode
Just checked an my LG v20 is not on the supported list. I’m on Android 7 and 
have held off going to 8 because of a couple of v8 bugs on the LG v20. A this 
point I might just bite the Android 8 bullet to get AR ability. The v20 is not 
on the supported list but v8 should run AR. I also hang on to the LG V20 
because it has both an SD card and removable battery. I do a lot of backwoods 
hiking and having a spare battery is as comforting as my having my compass. 
Thanks for the push to upgrade.

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: Dan Friedman [mailto:d...@clearvisiontech.com] 
Sent: Tuesday, June 30, 2020 11:05 AM
To: rdim...@evergreeninfo.net; 'How to use LiveCode'
Subject: Re: AR in LiveCode Browser?

 

Ralph,

 

On my old Moto it didn’t work.  However, one of the guys in my weekly poker 
game has a Note 10.  I opened that url on his Note 10 last night and it did the 
whole AR thing correctly.

 

-Dan





  _  

From: Ralph DiMola 
Sent: Tuesday, June 30, 2020 8:00 AM
To: Dan Friedman; 'How to use LiveCode'
Subject: RE: AR in LiveCode Browser? 

 

It looks like I was wrong about what engine is used for the browser widget(see 
Mark's comment) I commented after I tried it on my Android phone with Chrome. 
All I got was a request for a download of the usdz file. Talked before I fully 
investigated (ask Margaret about that). I thought that the browser would 
directly open the AR. I'm a little fuzzy on how to open and view these AR's.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: Dan Friedman [mailto:d...@clearvisiontech.com] 
Sent: Tuesday, June 30, 2020 10:47 AM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: AR in LiveCode Browser?

Ralph,

I tried the link in the Google App (which I assume uses Chrome) on my iPhone.   
It worked as expected, with total interaction with the AR (Augmented Reality) 
object.  But, it fails in a LiveCode browser (native or widget).

-Dan
 

On 6/29/20, 6:16 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
mailto:use-livecode-boun...@lists.runrev.com%20on%20behalf%20of%20use-livec...@lists.runrev.com>
 > wrote:

The LiveCode browser uses Chromium. Chrome does not support AR usdz files.
This seems to be an Apple iOS 12+ only format. When looking for LC Browser
compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the
time it works in the LC browser widget. There's no obstacle stopping it from
being implemented in Chrome(therefore Android) but I guess there's some
licensing issues(money).

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 Dan Friedman via use-livecode
Sent: Monday, June 29, 2020 7:48 PM
To: How to use LiveCode
Cc: Dan Friedman
Subject: AR in LiveCode Browser?

I am trying to display and use an AR object in a webpage in a LiveCode
browser.   It don't work!Feels like the LC browser (native or widget)
doesn't have access to the native AR features.   For example, if I open this
URL https://nexen.ehpec.com/usdz.html in Safari, it works great!   If I open
it in a LC browser, it doesn't launch AR.   Is the a limitation of LC?   Or
do I have to flip a switch somewhere?

Thanks in advance!
-Dan

___
use-livecode mailing list
use-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: AR in LiveCode Browser?

2020-06-30 Thread Ralph DiMola via use-livecode
It looks like I was wrong about what engine is used for the browser widget(see 
Mark's comment) I commented after I tried it on my Android phone with Chrome. 
All I got was a request for a download of the usdz file. Talked before I fully 
investigated (ask Margaret about that). I thought that the browser would 
directly open the AR. I'm a little fuzzy on how to open and view these AR's.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: Dan Friedman [mailto:d...@clearvisiontech.com] 
Sent: Tuesday, June 30, 2020 10:47 AM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: AR in LiveCode Browser?

Ralph,

I tried the link in the Google App (which I assume uses Chrome) on my iPhone.   
It worked as expected, with total interaction with the AR (Augmented Reality) 
object.  But, it fails in a LiveCode browser (native or widget).

-Dan
 

On 6/29/20, 6:16 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

The LiveCode browser uses Chromium. Chrome does not support AR usdz files.
This seems to be an Apple iOS 12+ only format. When looking for LC Browser
compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the
time it works in the LC browser widget. There's no obstacle stopping it from
being implemented in Chrome(therefore Android) but I guess there's some
licensing issues(money).

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 Dan Friedman via use-livecode
Sent: Monday, June 29, 2020 7:48 PM
To: How to use LiveCode
Cc: Dan Friedman
Subject: AR in LiveCode Browser?

I am trying to display and use an AR object in a webpage in a LiveCode
browser.   It don't work!Feels like the LC browser (native or widget)
doesn't have access to the native AR features.   For example, if I open this
URL https://nexen.ehpec.com/usdz.html in Safari, it works great!   If I open
it in a LC browser, it doesn't launch AR.   Is the a limitation of LC?   Or
do I have to flip a switch somewhere?

Thanks in advance!
-Dan

___
use-livecode mailing list
use-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: iOS Browser Widget and javascriptHandlers Update

2020-06-30 Thread Ralph DiMola via use-livecode
Filed QCC 22812

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 
Brian Milby via use-livecode
Sent: Monday, June 29, 2020 8:01 PM
To: How to use LiveCode
Cc: Brian Milby
Subject: Re: iOS Browser Widget and javascriptHandlers Update

Did you file a bug report?  I would not expect it to work like that.

Sent from my iPhone

> On Jun 29, 2020, at 6:15 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Just a warning. I fixed this by deleting and recreating the Browser Widget.
> The Widget was created in v9.5.1 and apparently was not compatible 
> with v9.6.0. I changed the code to delete all browser widgets and recreate 
> them.
> I wasted a couple of days debugging and then creating a small test program.
> The test program worked and then the preverbal light bulb came on and 
> I deleted/recreated widget in full app... Voilà, everything worked. I 
> don't know how we can prevent things like this is the future? Maybe 
> widgets should have some sort of version code to warn you of this.
> 
> beware
> 
> LC 9.6
> 
> I create I browser widget. I add a JavaScript Handler using (set the 
> javascriptHandlers). Load webpage on an https server. The callbacks to 
> LC work OK in Win 10 IDE and on Android deployment. On iOS 13 testers 
> report the JavaScript call backs don't work first time but on 
> subsequent loads of the page it works OK. This is the initial problem. 
> So I fired up my test device to see what's going on. This is where it get 
> weird.
> 
> My test device is an iPad Mini running iOS 12.4.7 and JavaScript 
> Handler call back to LC never works. I put some JavaScript "alert"s in 
> the code for debugging. The alerts never show up but does show on Android and 
> in the IDE.
> The alerts also show up in Safari and Chrome on the same 12.4.7 device 
> just not in the browser widget. I verified that the remaining 
> JavaScript code in the page is actually running just fine but no 
> JavaScript Handler call backs or alerts are working.
> 
> Could there a plist permission issue? I'm at a loss... Any ideas?
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> ___
> use-livecode mailing list
> use-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: AR in LiveCode Browser?

2020-06-29 Thread Ralph DiMola via use-livecode
The LiveCode browser uses Chromium. Chrome does not support AR usdz files.
This seems to be an Apple iOS 12+ only format. When looking for LC Browser
compatibility try URLs in Chrome. If the link works in Chrome 99.9% of the
time it works in the LC browser widget. There's no obstacle stopping it from
being implemented in Chrome(therefore Android) but I guess there's some
licensing issues(money).

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 Dan Friedman via use-livecode
Sent: Monday, June 29, 2020 7:48 PM
To: How to use LiveCode
Cc: Dan Friedman
Subject: AR in LiveCode Browser?

I am trying to display and use an AR object in a webpage in a LiveCode
browser.   It don't work!Feels like the LC browser (native or widget)
doesn't have access to the native AR features.   For example, if I open this
URL https://nexen.ehpec.com/usdz.html in Safari, it works great!   If I open
it in a LC browser, it doesn't launch AR.   Is the a limitation of LC?   Or
do I have to flip a switch somewhere?

Thanks in advance!
-Dan

___
use-livecode mailing list
use-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: iOS Browser Widget and javascriptHandlers Update

2020-06-29 Thread Ralph DiMola via use-livecode
Will do.

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 
Brian Milby via use-livecode
Sent: Monday, June 29, 2020 8:01 PM
To: How to use LiveCode
Cc: Brian Milby
Subject: Re: iOS Browser Widget and javascriptHandlers Update

Did you file a bug report?  I would not expect it to work like that.

Sent from my iPhone

> On Jun 29, 2020, at 6:15 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Just a warning. I fixed this by deleting and recreating the Browser Widget.
> The Widget was created in v9.5.1 and apparently was not compatible 
> with v9.6.0. I changed the code to delete all browser widgets and recreate 
> them.
> I wasted a couple of days debugging and then creating a small test program.
> The test program worked and then the preverbal light bulb came on and 
> I deleted/recreated widget in full app... Voilà, everything worked. I 
> don't know how we can prevent things like this is the future? Maybe 
> widgets should have some sort of version code to warn you of this.
> 
> beware
> 
> LC 9.6
> 
> I create I browser widget. I add a JavaScript Handler using (set the 
> javascriptHandlers). Load webpage on an https server. The callbacks to 
> LC work OK in Win 10 IDE and on Android deployment. On iOS 13 testers 
> report the JavaScript call backs don't work first time but on 
> subsequent loads of the page it works OK. This is the initial problem. 
> So I fired up my test device to see what's going on. This is where it get 
> weird.
> 
> My test device is an iPad Mini running iOS 12.4.7 and JavaScript 
> Handler call back to LC never works. I put some JavaScript "alert"s in 
> the code for debugging. The alerts never show up but does show on Android and 
> in the IDE.
> The alerts also show up in Safari and Chrome on the same 12.4.7 device 
> just not in the browser widget. I verified that the remaining 
> JavaScript code in the page is actually running just fine but no 
> JavaScript Handler call backs or alerts are working.
> 
> Could there a plist permission issue? I'm at a loss... Any ideas?
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> ___
> use-livecode mailing list
> use-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


iOS Browser Widget and javascriptHandlers Update

2020-06-29 Thread Ralph DiMola via use-livecode
Just a warning. I fixed this by deleting and recreating the Browser Widget.
The Widget was created in v9.5.1 and apparently was not compatible with
v9.6.0. I changed the code to delete all browser widgets and recreate them.
I wasted a couple of days debugging and then creating a small test program.
The test program worked and then the preverbal light bulb came on and I
deleted/recreated widget in full app... Voilà, everything worked. I don't
know how we can prevent things like this is the future? Maybe widgets should
have some sort of version code to warn you of this.

beware

LC 9.6

I create I browser widget. I add a JavaScript Handler using (set the
javascriptHandlers). Load webpage on an https server. The callbacks to LC
work OK in Win 10 IDE and on Android deployment. On iOS 13 testers report
the JavaScript call backs don't work first time but on subsequent loads of
the page it works OK. This is the initial problem. So I fired up my test
device to see what's going on. This is where it get weird.

My test device is an iPad Mini running iOS 12.4.7 and JavaScript Handler
call back to LC never works. I put some JavaScript "alert"s in the code for
debugging. The alerts never show up but does show on Android and in the IDE.
The alerts also show up in Safari and Chrome on the same 12.4.7 device just
not in the browser widget. I verified that the remaining JavaScript code in
the page is actually running just fine but no JavaScript Handler call backs
or alerts are working.

Could there a plist permission issue? I'm at a loss... Any ideas?
 
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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: Sockets (again)

2020-06-29 Thread Ralph DiMola via use-livecode
Bob,

I think you are doing the write too soon.
On the open socket command add "with message "MyConnectionAccepted"
Do the write in the MyConnectionAccepted handler.

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 
Bob Sneidar via use-livecode
Sent: Monday, June 29, 2020 5:42 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Sockets (again)

Hi all. 

I’m trying to get sockets working. The host is working, but I am not getting 
the message to trigger. Here’s the basic code: 

on mouseUp
   put "test" into tPayLoad
   open socket to "localhost:8085"
   write tPayload to socket "localhost:8085"
end mouseUp

-- socket handlers
on acceptConnections
  accept connections on port 8085 with message "ConnectionMade"
end acceptConnections

on ConnectionMade pIPAddress
  read from socket pIPAddress with message "dataReceived"
end ConnectionMade

on dataReceived pSocket
put pSocket
   


ConnectionMade gets called, but dataReceived does not. 

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: Browser Widget iOS Local Html Files

2020-06-29 Thread Ralph DiMola via use-livecode
But how would I pass any parameters? Like MyPage.html?IDs=315,316,317"

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 Tore Nilsen via use-livecode
Sent: Monday, June 29, 2020 4:39 PM
To: How to use LiveCode
Cc: Tore Nilsen
Subject: Re: Browser Widget iOS Local Html Files

Have you tried to set the url of the widget to tTemp. This actually loads
the page in the widget as if it was any browser.

Tore

> 29. jun. 2020 kl. 21:56 skrev Ralph DiMola via use-livecode
:
> 
> LC 9.6.0
> 
> I can't get a local html file to load in iOS browser widget. This is the
first time I'm not using the mobile browser control. I'm now using the
Browser Widget. I copy the files into the documents folder.
> I'm using this format: (set the URL of widget "Browser1" to 
> "file://"/MyPage.html?IDs=315,316,317")
> 
> This works on Android, Mac OSX 10.14.6 IDE and Win 10 IDE but not on 
> iOS
> 
> I tried this: 
> 
> put url ("file:"/MyPage.html into tTemp set the 
> htmlText of widget "Browser1" to tTemp
> 
> This loads the page as expected but I can't pass the required parameters.
> 
> I tried 1,2,3 and 4 slashes after the "file:" with no luck.
> 
> I'm stuck and under the gun(as usual) so any help would be appreciated.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> ___
> use-livecode mailing list
> use-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


Browser Widget iOS Local Html Files

2020-06-29 Thread Ralph DiMola via use-livecode
LC 9.6.0

I can't get a local html file to load in iOS browser widget. This is the first 
time I'm not using the mobile browser control. I'm now using the Browser 
Widget. I copy the files into the documents folder.
I'm using this format: (set the URL of widget "Browser1" to 
"file://"/MyPage.html?IDs=315,316,317")

This works on Android, Mac OSX 10.14.6 IDE and Win 10 IDE but not on iOS

I tried this: 

put url ("file:"/MyPage.html into tTemp
set the htmlText of widget "Browser1" to tTemp

This loads the page as expected but I can't pass the required parameters.

I tried 1,2,3 and 4 slashes after the "file:" with no luck.

I'm stuck and under the gun(as usual) so any help would be appreciated.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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: What the heck? Writing and reading ios files??

2020-06-25 Thread Ralph DiMola via use-livecode
I did not know that. I thought all DNS was case insensitive not just the
TLD. I never seen it to the contrary.

The Unicode thing is scary though. It validates my surfing habits. I never
use email links. If I get an email from say my bank I always type the URL
into a browser or a verified bookmark to check it out.

Live and learn, thanks. 

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 Mark Wieder via use-livecode
Sent: Thursday, June 25, 2020 6:36 PM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: What the heck? Writing and reading ios files??

On 6/25/20 2:16 PM, Ralph DiMola via use-livecode wrote:
> FYI: So does Android.
> 
>  ...Imagine if we had case sensitive URLs or email addresses...

Um.
In that case, you'll probably be surprised to find out that URLs *are*
case-sensitive. It's only the TLD where it doesn't matter.

What *is* a problem is the use of unicode characters to simulate ASCII in
URLs in order to redirect traffic to phishing sites.

--
  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: What the heck? Writing and reading ios files??

2020-06-25 Thread Ralph DiMola via use-livecode
FYI: So does Android.

 I always get pushback when I say "case sensitivity in file names is a 
disaster waiting to happen". If doesn't waste a few days now it will later. The 
push back is either purest or that it saves cpu cycles. If your running 
Amazon's website then OK have a party with case sensitivity but in most cases 
it doesn't make much if any performance difference. Imagine if we had case 
sensitive URLs or email addresses. That would be a hackers dream.

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 
prothero--- via use-livecode
Sent: Thursday, June 25, 2020 4:07 PM
To: JJS via use-livecode
Cc: proth...@earthlearningsolutions.org
Subject: Re: What the heck? Writing and reading ios files??

Folks:
Thanks for you input. What I found out is that the iPhone cares very much about 
case in text, but running the app on my desktop didn’t care about case, so I 
had a mystery solved only by going down every blind alley until I finally found 
the offending code.

It also seems, but I haven’t tested this because I’m burned out after a day 
fighting with this, is that it seems the put URL statement likes to have its 
defaultFolder set and that it doesn’t like full pathnames. Not sure, but ……

This is one thing that can be extremely frustrating when the IDE doesn’t match 
the requirements for the destination device. Seems maybe there could be  
warning that would appear in the help files especially about the case 
sensitivity of iOS filenames.

BTW, specialFilePath(“Documents”) works on ios, as does 
specialFilePath(“documents”), at least on the versions I'm using. (iOS latest 
and latest Mac OS’s).

Thanks for your responses,
BIll

William A. Prothero
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


iOS Browser Widget and javascriptHandlers

2020-06-24 Thread Ralph DiMola via use-livecode
LC 9.6

I create I browser widget. I add a JavaScript Handler using (set the
javascriptHandlers). Load webpage on an https server. The callbacks to LC
work OK in Win 10 IDE and on Android deployment. On iOS 13 testers report
the JavaScript call backs don't work first time but on subsequent loads of
the page it works OK. This is the initial problem. So I fired up my test
device to see what's going on. This is where it get weird.

My test device is an iPad Mini running iOS 12.4.7 and JavaScript Handler
call back to LC never works. I put some JavaScript "alert"s in the code for
debugging. The alerts never show up but does show on Android and in the IDE.
The alerts also show up in Safari and Chrome on the same 12.4.7 device just
not in the browser widget. I verified that the remaining JavaScript code in
the page is actually running just fine but no JavaScript Handler call backs
or alerts are working.

Could there a plist permission issue? I'm at a loss... Any ideas?
 
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


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


RE: Mobile Keyboard

2020-06-24 Thread Ralph DiMola via use-livecode
If found that you need to enclose the (set the lockText of fld "thisDarnField" 
to false) with lock/unlock messages or the keyboard will pop up when the 
doUnlockTheField handler is run. Probably because I do a lot in the passed open 
card message path I also needed to send the message in 100 ticks.

Works great now.
Thanks!

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: Dan Friedman [mailto:d...@clearvisiontech.com] 
Sent: Tuesday, June 23, 2020 7:54 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: Mobile Keyboard

Ralph,

I had this same issue on a project.  The problem is when the card/stack opens, 
LiveCode want to activate the first typable field it finds.  If my old memory 
is correct, what I did was this:

on preOpenCard
set the lockText of fld "thisDarnField" to true 
end preOpenCard

on openCard
send "doUnlockTheField" to this card in 1 tick //don't send this until 
everything is done loading (you could probably send this in the preOpenCard 
too) end openCard

on doUnlockTheField
set the lockText of fld "thisDarnField" to false end doUnlockTheField


Hope that helps and I hope it works!   I hope my cobweb-ridden brain remembers 
this correctly!

-Dan


On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

I have a card with one focusable input field.
How can I keep the keyboard from opening until the user taps into the field?

I tried putting "focus on nothing"s in various places such as preopencard
and opencard with no success?

I think this has been discussed before. Was there ever a solution for both
iOS and Android?

Thanks

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
use-livecode mailing list
use-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: Mobile Keyboard

2020-06-24 Thread Ralph DiMola via use-livecode
Dan,

Thanks! I was fiddling with the lockText property earlier and it did not seem 
to work. The field does predictive typing. I discovered that keyDown and 
rawKeyDown messages are still sent even if lockText is true. I had to put this 
code at the top of both rawKeyDown and keyDown handlers to prevent data entry 
into the field..

if the lockText of me then 
 pass keyDown/rawKeyDown
end if


Still learning...

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: Dan Friedman [mailto:d...@clearvisiontech.com] 
Sent: Tuesday, June 23, 2020 7:54 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: Mobile Keyboard

Ralph,

I had this same issue on a project.  The problem is when the card/stack opens, 
LiveCode want to activate the first typable field it finds.  If my old memory 
is correct, what I did was this:

on preOpenCard
set the lockText of fld "thisDarnField" to true 
end preOpenCard

on openCard
send "doUnlockTheField" to this card in 1 tick //don't send this until 
everything is done loading (you could probably send this in the preOpenCard 
too) end openCard

on doUnlockTheField
set the lockText of fld "thisDarnField" to false end doUnlockTheField


Hope that helps and I hope it works!   I hope my cobweb-ridden brain remembers 
this correctly!

-Dan


On 6/23/20, 3:40 PM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

I have a card with one focusable input field.
How can I keep the keyboard from opening until the user taps into the field?

I tried putting "focus on nothing"s in various places such as preopencard
and opencard with no success?

I think this has been discussed before. Was there ever a solution for both
iOS and Android?

Thanks

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
use-livecode mailing list
use-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 delay hilite

2020-06-24 Thread Ralph DiMola via use-livecode
Setting (mobileControlSet sScrollerId, "delayTouches", "true") to make it
easier to scroll without getting the mouseDown message unintentionally is
iOS only. What is the solution for Android?

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 Mike Kerner via use-livecode
Sent: Wednesday, June 24, 2020 8:59 AM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: datagrid delay hilite

nm, the datagrid library uses
mobileControlSet sScrollerId, "delayTouches", "false"
instead of true.  bug report issued.

On Tue, Jun 23, 2020 at 5:30 PM Mike Kerner 
wrote:

> i just put a new dg in a mobile app (was using the mergDGScroller 
> before), and noticed that the auto-hilite is very fast, like so fast 
> that the dg selects the row instead of recognizing that what you're 
> really trying to do is scroll.
> has anyone resolved that?
>
> --
> On the first day, God created the heavens and the Earth On the second 
> day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


--
On the first day, God created the heavens and the Earth On the second day,
God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This 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


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


Mobile Keyboard

2020-06-23 Thread Ralph DiMola via use-livecode
I have a card with one focusable input field.
How can I keep the keyboard from opening until the user taps into the field?

I tried putting "focus on nothing"s in various places such as preopencard
and opencard with no success?

I think this has been discussed before. Was there ever a solution for both
iOS and Android?

Thanks

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



___
use-livecode mailing list
use-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: JavaScript-Livecode integration question

2020-06-18 Thread Ralph DiMola via use-livecode
revBrowserAddJavaScriptHandler is for the browser control.

javascriptHandlers is for the browser widget. You will need to use the widget 
to get this to work on mobile.

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 
Heriberto Torrado via use-livecode
Sent: Thursday, June 18, 2020 4:13 PM
To: use-livecode@lists.runrev.com
Cc: Heriberto Torrado
Subject: Re: JavaScript-Livecode integration question

Hi Ralph,

Thanks you very much for your quick response!

I found some information about the command "revBrowserAddJavaScriptHandler", 
but you say I can use the command "javascriptHandlers".
it's that new? I cannot find information about it on the Livecode dictionary.

Anyway, I'm going to try it and I'll tell you if it works.

I think a lot of  people will ask me why I want to do that, and why I just 
don't use Electron.. :-) I don't want to create a flame, so this these are my 
reasons.

1) I have an strong background with HTML, CSS and Javascript, but I love 
Livecode scripting (especially its strong text manipulation options.).
2) If you use the Indy edition, it's easy to hide the code (passwords, command 
calls, etc). It's not possible to do it with Electron or NW.js (NW.js has more 
options to do that, but they are far to be ideal).
3) I don't like nodejs: promises, asynchronous technology, difficult tracing 
errors, etc.

Best,
Hery


On 6/18/20 3:21 PM, Ralph DiMola via use-livecode wrote:
> Heriberto,
>
> LC makes it easy... Works for me on Mobile also.
>
> In LC do this once.
> set the javascriptHandlers of widget "MyBrowerWidget" to "LCHandlerName"
>
> Create this handler:
>
> command LCHandlerName pNum
> answer pNum
> end LCHandlerName
>
> Javascript:
> liveCode.LCHandlerName('315');
>
> 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 Heriberto Torrado via use-livecode
> Sent: Thursday, June 18, 2020 2:27 PM
> To: use-livecode@lists.runrev.com
> Cc: Heriberto Torrado
> Subject: JavaScript-Livecode integration question
>
> Dear LiveCode programmers.
>
> I have a question about the Livecode-Javascript integration.
>
> I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for 
> styling applications (it is just a personal opinion).
>
> So, I'm trying  to create Deskops apps using JS+HTML+CSS for the "front"
> and LiveCode for  the "back-end".
> I'm using the CEF embedded browser.
>
> My idea is to create something like Electron or NW.js but using Livecode.
>
> Note that I'm talking about Desktop apps, not Web apps.
>
> I have managed to send data from Livecode to JavaScript using the instruction 
>  "do "document.getElementById -xx" in widget "Browser", but I'm stuck 
> doing the opposite.
> My idea is to send an event or data from the CEF to Livecode when someone 
> press a button on the CEF embedded browser.
>
> I found the documentation confused and I'd like to have, if it is possible, a 
> real example about how to do that.
>
> Another question: Does it works on Android/Apple? I'm afraid it won't 
> work
>
>
> Thanks a lot.
>
> PS: I'm going to try to answer you guys as soon as possible, but sometimes I 
> have to read your responses on the use-livecode mail list archives , because 
> our mail server has the ugly habit of blocking some emails that come from the 
> list.
>

-- 

Best regards/ Saludos cordiales/ Cordialement

Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

*NetDreams S.C.*
http://www.networkdreams.net

  Address / Dirección / Adresse:​

*USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: 
*Paseo de la Castellana 135 10ª Planta Madrid 28024 Spain / España

*Tel - Phone - Fax:*

Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 
556 500 / + 34 91 063 74 48

Please consider the environment before printing this email / Por favor 
considera tu responsabilidad medioambiental antes de imprimir esta página.

Confidentiality: The information contained in this message as well as the 
attached file(s) is confidential/privileged and is only intended for the 
person(s) to whom it is addressed. If the reader of this message is not the 
intended recipient or the employee or agent responsible for delivering the 
message to the intended recipient, or you have received this comunication in 
error, please be aware that any dissemination, distribution or duplication is 
strictly prohibited, and can be illega

RE: JavaScript-Livecode integration question

2020-06-18 Thread Ralph DiMola via use-livecode
Heriberto,

LC makes it easy... Works for me on Mobile also.

In LC do this once.
set the javascriptHandlers of widget "MyBrowerWidget" to "LCHandlerName"

Create this handler:

command LCHandlerName pNum
answer pNum
end LCHandlerName

Javascript:
liveCode.LCHandlerName('315');

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 
Heriberto Torrado via use-livecode
Sent: Thursday, June 18, 2020 2:27 PM
To: use-livecode@lists.runrev.com
Cc: Heriberto Torrado
Subject: JavaScript-Livecode integration question

Dear LiveCode programmers.

I have a question about the Livecode-Javascript integration.

I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for 
styling applications (it is just a personal opinion).

So, I'm trying  to create Deskops apps using JS+HTML+CSS for the "front" 
and LiveCode for  the "back-end".
I'm using the CEF embedded browser.

My idea is to create something like Electron or NW.js but using Livecode.

Note that I'm talking about Desktop apps, not Web apps.

I have managed to send data from Livecode to JavaScript using the instruction  
"do "document.getElementById -xx" in widget "Browser", but I'm stuck doing 
the opposite.
My idea is to send an event or data from the CEF to Livecode when someone press 
a button on the CEF embedded browser.

I found the documentation confused and I'd like to have, if it is possible, a 
real example about how to do that.

Another question: Does it works on Android/Apple? I'm afraid it won't work


Thanks a lot.

PS: I'm going to try to answer you guys as soon as possible, but sometimes I 
have to read your responses on the use-livecode mail list archives , because 
our mail server has the ugly habit of blocking some emails that come from the 
list.

-- 

Best regards/ Saludos cordiales/ Cordialement

Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

*NetDreams S.C.*
http://www.networkdreams.net

  Address / Dirección / Adresse:​

*USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: 
*Paseo de la Castellana 135 10ª Planta Madrid 28024 Spain / España

*Tel - Phone - Fax:*

Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 
556 500 / + 34 91 063 74 48

Please consider the environment before printing this email / Por favor 
considera tu responsabilidad medioambiental antes de imprimir esta página.

Confidentiality: The information contained in this message as well as the 
attached file(s) is confidential/privileged and is only intended for the 
person(s) to whom it is addressed. If the reader of this message is not the 
intended recipient or the employee or agent responsible for delivering the 
message to the intended recipient, or you have received this comunication in 
error, please be aware that any dissemination, distribution or duplication is 
strictly prohibited, and can be illegal, and please notify us immediately and 
return the original message to us at the address above. Thank you.

Confidencialidad: La información contenida en este mensaje y/o
archivo(s) adjunto(s) es confidencial/privilegiada y está destinada a ser leída 
sólo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y 
no es el destinatario señalado, el empleado o el agente responsable de entregar 
el mensaje al destinatario, o ha recibido esta comunicación por error, le 
informamos que está totalmente prohibida, y puede ser ilegal, cualquier 
divulgación, distribución o reproducción de esta comunicación, y le rogamos que 
nos lo notifique inmediatamente y nos devuelva el mensaje original a la 
dirección arriba mencionada. Gracias.

Viruses: Although we have taken steps to insure that this e-mail and 
attachments are free from any virus, we advise that in keeping with good 
computing practice, the recipient should ensure they are actually virus free.

Virus: Aunque hemos tomado las medidas para asegurarnos que este correo 
electrónico y sus ficheros adjuntos están libres de virus, le recomendamos que 
a efectos de mantener buenas prácticas de seguridad, el receptor debe 
asegurarse que este correo y sus ficheros adjuntos están libres de virus.

___
use-livecode mailing list
use-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: Scrolling jitter

2020-06-06 Thread Ralph DiMola via use-livecode
No I did not set either of those. In fact they are all created dynamically
every time the card is opened. Now that you mention it I don't even set any
scrolling modes. Create master group, create sub groups , put in fields and
images in to sub groups and let er rip. Maybe my stuff is not complex enough
to be a problem?

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 J. Landman Gay via use-livecode
Sent: Saturday, June 06, 2020 1:43 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: RE: Scrolling jitter

Actually, did you adjust any of the default values like tilesize or
compositorCacheLimit? I wonder if that would help.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On June 6, 2020 12:16:46 PM "J. Landman Gay via
use-livecode" 
 wrote:

> Thanks. On my test devices I see a very slight stutter but it's barely 
> noticeable. Apparently on other devices it's worse. I am not using 
> container mode since I only have a single field in each case enclosed 
> by a scrolling group.
>
> I guess there's nothing I can do about it.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software 
> | http://www.hyperactivesw.com On June 6, 2020 12:05:21 PM Ralph 
> DiMola via use-livecode  wrote:
>
>> I am not getting jitters on either mobile platform using native scroller.
>> Scrolling is very smooth. I have 10 or so groups(variable) in a 
>> containing group with 1 or more fields that are clickable. One of the 
>> inner groups contains a small image. I have not seen this or received 
>> complaints. I do get complaints that while scrolling sometimes the 
>> fields mouseup handlers trigger unintentionally. I guess I should put 
>> in a timer to ignore the mouseUPs until a short time after the 
>> scrolling stops. Android is most affected. iOS rarely has this issue.
>>
>> 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 J. Landman Gay via use-livecode
>> Sent: Friday, June 05, 2020 6:27 PM
>> To: How to use LiveCode
>> Cc: J. Landman Gay
>> Subject: Re: Scrolling jitter
>>
>> On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote:
>>> On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote:
>>>> So far I've had two complaints from Android users that scrolling 
>>>> fields in our app are jittering when scrolled. Every field that 
>>>> needs to
>> scroll is set up identically:
>>>>
>>>> Field expanded to full formattedheight Enclosing (shorter) group is 
>>>> unadorned Group is set to scrolling layermode AcceleratedRendering 
>>>> is set to true (on launch, and remains unchanged throughout)
>>>>
>>>> But when I check the "effective layermode" I get "static". Why?
>>>>
>>>
>>> Update: that was in IDE and acceleratedRendering wasn't turned on 
>>> there. However, it is set to true on mobile and that's where the 
>>> jitter
>> happens.
>>>
>>> Anything else I can do about that?
>>
>> Today's feedback: It also jitters on iOS. Migraine-inducing. Do 
>> people think this is a serious issue or is it likely to remain like that
for a long time?
>>
>> Does anyone else see significant issues with native scrollers on 
>> either mobile platform? LC 9.6.
>>
>> --
>> 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




___
use-livecode mailing list
use-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: Scrolling jitter

2020-06-06 Thread Ralph DiMola via use-livecode
I am not getting jitters on either mobile platform using native scroller.
Scrolling is very smooth. I have 10 or so groups(variable) in a containing
group with 1 or more fields that are clickable. One of the inner groups
contains a small image. I have not seen this or received complaints. I do
get complaints that while scrolling sometimes the fields mouseup handlers
trigger unintentionally. I guess I should put in a timer to ignore the
mouseUPs until a short time after the scrolling stops. Android is most
affected. iOS rarely has this issue. 

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 J. Landman Gay via use-livecode
Sent: Friday, June 05, 2020 6:27 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Scrolling jitter

On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote:
> On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote:
>> So far I've had two complaints from Android users that scrolling 
>> fields in our app are jittering when scrolled. Every field that needs to
scroll is set up identically:
>>
>> Field expanded to full formattedheight Enclosing (shorter) group is 
>> unadorned Group is set to scrolling layermode AcceleratedRendering is 
>> set to true (on launch, and remains unchanged throughout)
>>
>> But when I check the "effective layermode" I get "static". Why?
>>
> 
> Update: that was in IDE and acceleratedRendering wasn't turned on 
> there. However, it is set to true on mobile and that's where the jitter
happens.
> 
> Anything else I can do about that?

Today's feedback: It also jitters on iOS. Migraine-inducing. Do people think
this is a serious issue or is it likely to remain like that for a long time?

Does anyone else see significant issues with native scrollers on either
mobile platform? LC 9.6.

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


Fonts and Property Inspector / fontNames / fontStyles Different on Every Platform

2020-06-02 Thread Ralph DiMola via use-livecode
LC 9.6 GM

Win 10. I have 3 Arial fonts installed.

 1) "Arial" with 4 styles (plain, bold, italic, bold-italic)
 2) "Arial Narrow" with 4 styles (plain, bold, italic, bold-italic)
 3) "Arial Black" with 1 style (plain)

 In the IDE:
 Via the PI "Arial Narrow" and "Arial Black" are not accessible.
 "Arial Narrow" (or Black) are not in seen in LC's fontNames or fontStyles 
functions either. I guess that's why they are not in the PI.

 One can select "Arial Narrow" (or Black) by typing the full font name into the 
PI or set via script.
 This appears to be a LC Windows IDE limitation with a work-around... OK I can 
deal with that.

 MS Word shows all 3 fonts.

 If you set the font name of a field to empty(PI or Script) then the font of 
the higher objects are inherited. This is displayed in the  PI in italic(as 
expected). In my environment I have no fonts specified all the way up to the 
stack so "Segoe UI" (displayed in the PI in  italic) is used.

 Set the font to "XXYYYZZ" then some unknown sans font is used. What font is 
this? How does LC choose a font when a field is set to a font that is not 
installed?

 Font observations by platform.


 Win 10 using fontNames() and fontStyles():

 "Arial" has 4 styles (plain, bold, italic, bold-italic)

 No mention at all of:
 "Arial Narrow"
 "Arial Black"


 Android using fontNames() and fontStyles():

 "Arial" has 4 styles (plain, bold, italic, bold-italic)
 But also shows
 "Arial Bold" with 1 style (bold)
 "Arial Italic" with 1 style (italic)
 "Arial Bold Italic" with 1 style (bold-italic)

 "Arial Narrow" 1 styles (plain)
 "Arial Narrow Bold" with 1 style (plain)
 "Arial Narrow Italic" with 1 style (plain)
 "Arial Narrow Bold Italic" with 1 style (plain)

 "Arial Black" with 1 style (plain)

-

 iOS using fontNames() and fontStyles():

 "Arial" has 1 style (plain)
 "Arial Bold" with 2 styles (plain, bold)
 "Arial Italic" with 2 styles (plain, italic)
 "Arial Bold Italic" with 3 styles (plain, bold, italic)

 "Arial Narrow " has 1 style (plain)
 "Arial Narrow Bold" with 2 styles (plain, bold)
 "Arial Narrow Italic" with 2 styles (plain, italic)
 "Arial Narrow Bold Italic" with 3 styles (plain, bold, italic)

 "Arial Black" with 2 styles (plain, bold)

-

 Mac OS using fontNames() and fontStyles():  (the same as iOS except for the 
bold italic)

 "Arial" has 1 style (plain)
 "Arial Bold" with 2 styles (plain, bold)
 "Arial Italic" with 2 styles (plain, italic)
 "Arial Bold Italic" with 4 styles (plain, bold, italic, bold-italic)

 "Arial Narrow " has 1 style (plain)
 "Arial Narrow Bold" with 2 styles (plain, bold)
 "Arial Narrow Italic" with 2 styles (plain, italic)
 "Arial Narrow Bold Italic" with 4 styles (plain, bold, italic, bold-italic)

 "Arial Black" with 2 styles (plain, bold)



 This is so inconsistent I can't even critique it.
 How do the rest of you deal with this craziness?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-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: Contacting the on-rev team

2020-05-26 Thread Ralph DiMola via use-livecode
When use the hosting support page(link below) I typically get a response
within 15-30 minutes(most times 10 minutes or less) for "emergency requests"
and Robin/Heather are on it immediately.

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 Marc Siskin via use-livecode
Sent: Tuesday, May 26, 2020 10:23 AM
To: How to use LiveCode
Cc: Marc Siskin
Subject: Re: Contacting the on-rev team

Greg,

Try going to https://livecode.com/hosting/support/ and fill out the form at
the bottom of the page.

Marc Siskin


On May 26, 2020, at 10:07 AM, Greg Pink Miller via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:

Anyone know a good way of getting ahold of the on-rev support team?

I tried emailing supp...@on-rev.com and
webmas...@on-rev.com and both bounced.

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

---
Marc Siskin
Manager, Modern Language Resource Center Carnegie Mellon University
msis...@andrew.cmu.edu





___
use-livecode mailing list
use-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: Obtaining URL to latest Stable LC Server

2020-05-21 Thread Ralph DiMola via use-livecode
I use the commercial server so I can use password encrypted stacks.
I have an app that the customer required encryption of all data and source
code. The library stack is in the iOS app/APK is also used on the backend
server. I don't want to have to strip the passcode from the stack when
release updates to the app/LC server. Besides the customer asked that all
source code be encrypted in the app or on the sever so I complied.

Edge case... probably... But LC stack encryption made the customer happy so
that made me happy.

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 Richard Gaskin via use-livecode
Sent: Thursday, May 21, 2020 12:21 PM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: Obtaining URL to latest Stable LC Server

JeeJeeStudio wrote:

 > Op 20-5-2020 om 21:18 schreef Richard Gaskin via use-livecode:
 >> It would be helpful to have a convenient way to obtain the URL to the
>> latest stable version of LC Server, to automate deployments.
 >>
 >> I don't believe the company provides that, do they?
 >>
 >> Without a company-maintained URL, I suppose one could write a  >>
function that relies on a scraper for the downloads.liveocde.com  >> page.
Has anyone here done that?
 >
 >
 > that's not the same version as the one you can download from  >
livecode.com when you log-in. Community vs commercial

True, but my focus on the Community Edition is based on two considerations:

1. The proprietary edition requires an account-specific licensing key
which AFAIK precludes external automation.

2. The proprietary edition is very rarely needed.

Most modern server solutions are open source, and many use GPL specifically,
including not only LiveCode but also MySQL, MariaDB, Neo4j, MediaWiki,
NextCloud, Wordpress, Drupal, Joomla, Git, Ansible, and a good many more.

The GPL being a distribution license, proprietary edition of LiveCode Server
would be needed only in those cases where the developer is distributing a
server solution for other devs making server solutions, and where they want
their own code to be under proprietary license. I can imagine such a
specific use may case exist in our community, but I haven't yet come across
it.

For services accessed over a network, the code remains on the server and is
not distributed to the user. So open source, even GPL, is a very good fit
for web sites, apps, and other network-delivered services.

--
  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: Changing text properties in a field via the IDE

2020-05-18 Thread Ralph DiMola via use-livecode
Works OK on Mac and PC here LC 9.6 rc1. I created new stack put in a label 
field. I did not change the default text. Could it be the actual text you put 
in the field causing the PI problem for you?

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 
Graham Samuel via use-livecode
Sent: Monday, May 18, 2020 4:45 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Changing text properties in a field via the IDE

I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple that 
didn’t work. I created a label field, opened the Property Inspector for the 
field and changed its text - that worked. Then I attempted to change the font 
size - that didn’t work. The appearance of the label in the stack itself didn’t 
change, nor could I change the font, make the text bold etc. I tried this again 
with a regular field - same result. I started a new stack with just the one 
field - same result. 

All these values can be changed by script, in the Message Box or elsewhere, but 
I can’t make them in the IDE by changing values in the Property Inspector.

What am I doing wrong?

Graham
___
use-livecode mailing list
use-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: [ANN] Release 9.6.0 RC-1

2020-05-12 Thread Ralph DiMola via use-livecode
Monte/Mark thanks from me also! I am looking now at creating launch
storyboards. I will dig in and see what I can find.

Have a good evening.

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 Mark Waddingham via use-livecode
Sent: Tuesday, May 12, 2020 9:03 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: [ANN] Release 9.6.0 RC-1

On 2020-05-12 13:45, Ralph DiMola via use-livecode wrote:
> Monte/LC Team,
> 
> I understand that you have limited resources. Could there be a 
> comprise here to share the workload? Instead of LC having to support 
> and change the iOS standalone options every time there is a new iOS 
> device format we(LC USERS) could pickup this pain. If there could be 2 
> options for splash screens this could work out for all.
> 1) Users can use the present 9.6 rc1 storyboard options.
> 2) Users could supply a file of resolutions and associated image names 
> for each specific resolution the user wanted to supply a custom image 
> for. If there is not a match then the images in the current 9.6 rc1 
> standalone splash screen implementation would be used.
> 
> This would put the splash screen implementation of current and new 
> screen specs squarely in hands of the LC user while retaining the 
> current seamless transition from splash to card 1. (if the LC user 
> wanted to put in the effort).

Unfortunately I'm not sure this is possible.

Apple are (soon) going to require all apps to use a launch storyboard -
specifying launch images is no longer viable if you want your app in the
AppStore.

When we started adding storyboards I asked Monte to see if there was a way
to allow current settings to work (i.e. build a storyboard which uses the
same images currently specified in the same way), and also offer a
simplified option (which is what has transpired in 9.6)...

Unfortunately it would seem that storyboards do not allow images to be
chosen based on screen size - just device type (iPhone vs iPad) and
generalized layout types (normal vs compact) - this means there appears to
be no way to replicate what you could do with simple launch images.

Apple HIG for this is a great ideal - but in reality (as far as I can
see) the only apps which can do that are those which use only iOS native
controls (the idea is that you have a launch storyboard which contains
skeleton controls from your first screen). Any app which relies on
customized controls (even intermingled with iOS ones) cannot achieve what
Apple suggests.

What we have wasn't something we just quickly did at the last minute there
was a concerted effort (as there always is) to preserve what we already had,
but we did not manage to find a way :(

That being said, it is possible that we have missed a storyboard capability
somewhere, so if someone can figure out how to create a launch storyboard
which *does* select images based on screen size (in a similar way to launch
images work), then I can be pretty confident we will be able to generalize
it to provide similar settings to the current ones in the S/B.

Currently the plan is to (in 9.7 hopefully!) to try and allow a custom
storyboard - so you can design one in Xcode and then provide it along with
the assets it needs to the standalone builder to build into your app. We
think we can do this (there are some technical details with referencing the
assets and such) but for the reason outlined above, this still won't bring
back the much simpler 'provide many launch images' 
capability.

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: [ANN] Release 9.6.0 RC-1

2020-05-12 Thread Ralph DiMola via use-livecode
Monte/LC Team,

I understand that you have limited resources. Could there be a comprise here to 
share the workload? Instead of LC having to support and change the iOS 
standalone options every time there is a new iOS device format we(LC USERS) 
could pickup this pain. If there could be 2 options for splash screens this 
could work out for all.
1) Users can use the present 9.6 rc1 storyboard options.
2) Users could supply a file of resolutions and associated image names for each 
specific resolution the user wanted to supply a custom image for. If there is 
not a match then the images in the current 9.6 rc1 standalone splash screen 
implementation would be used.

This would put the splash screen implementation of current and new screen specs 
squarely in hands of the LC user while retaining the current seamless 
transition from splash to card 1. (if the LC user wanted to put in the effort). 

Thanks for the feedback!
Have a good night...

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 
Monte Goulding via use-livecode
Sent: Monday, May 11, 2020 11:40 PM
To: How to use LiveCode
Cc: Monte Goulding
Subject: Re: [ANN] Release 9.6.0 RC-1

Hi Ralph

We have had some discussions internally about the feasibility of users 
including custom storyboard file templates and imagesets. That _might_ be the 
best way forward although it could be difficult to match your UI exactly given 
storyboard does not have specific device categories but compact and regular 
width/height categories.

Cheers

Monte

> On 12 May 2020, at 12:55 pm, Ralph DiMola via use-livecode 
>  wrote:
> 
> Monte,
> 
> Thanks for the reply! But the problem I have is I want to match pixel for 
> pixel the splash page with the first card on all devices. These were my 
> customers specs. I now have to tell them this is not possible anymore. When I 
> submit an app update the splash page of the initial launch of their app will 
> be changing. This is not going to go over very well I can tell you that. Is 
> it not possible to have the storyboard code use specific images for specific 
> devices as was available in previous versions? Is this an Apple or an LC 
> limitation?
> 
> Thanks again
> 
> 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 Monte Goulding via use-livecode
> Sent: Monday, May 11, 2020 9:58 PM
> To: How to use LiveCode
> Cc: Monte Goulding
> Subject: Re: [ANN] Release 9.6.0 RC-1
> 
> Hi Ralph
> 
> The splash images are not scaled or stretched. They are centred on the launch 
> screen. You can use any size image. There’s two main options to choose from 
> here.
> 
> - use a logo PNG with transparency and rely on the background color to fill 
> the rest. You can choose from using the system background color so it 
> switches for light and dark mode or an explicit color. This is what I would 
> recommend as there’s no maintenance for new devices apple might release.
> 
> - use an image that is sized large enough to cover the entire screen in all 
> supported orientations. If supporting portrait and landscape you would need a 
> square image. As the image is not scaled you would need to update it if Apple 
> releases a larger device.
> 
> Cheers
> 
> Monte
> 
> 
>> On 12 May 2020, at 1:51 am, panagiotis merakos via use-livecode 
>>  wrote:
>> 
>> Hello Ralph,
>> 
>> I'll leave this for Monte to provide more details, but my 
>> understanding is that now with the storyboard you only need to 
>> provide one image, and this will be scaled automatically for all screen 
>> sizes.
>> 
>> So if you provide only image in the 3x slot, say a 2048x2732, the 
>> storyboard mechanism will use the same image scaled down to
>> (2048/2)x(2732/2) for the 2x  slot and (2048/3)x(2732/3) for the 1x slot.
>> 
>> So the idea is that now you do not need one separate image for each 
>> possible device size. You only need one "small", and/or one "medium"
>> and/or one "large" image, and this image (or these images, in case 
>> you provide more than one) will be used for "small","medium" and "large"
>> device screen sizes.
>> 
>> There are no specific required dimensions for each of the 1x,2x,3x 
>> slots, so you get no error message, but a rule of thumb is to use the 
>> largest image you used before for the 3x slot, and let the S/B do the rest 
>> for you.
>> 
>> *>>>>>Also, Will the image be stret

RE: [ANN] Release 9.6.0 RC-1

2020-05-11 Thread Ralph DiMola via use-livecode
Monte,

Thanks for the reply! But the problem I have is I want to match pixel for pixel 
the splash page with the first card on all devices. These were my customers 
specs. I now have to tell them this is not possible anymore. When I submit an 
app update the splash page of the initial launch of their app will be changing. 
This is not going to go over very well I can tell you that. Is it not possible 
to have the storyboard code use specific images for specific devices as was 
available in previous versions? Is this an Apple or an LC limitation?

Thanks again

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 
Monte Goulding via use-livecode
Sent: Monday, May 11, 2020 9:58 PM
To: How to use LiveCode
Cc: Monte Goulding
Subject: Re: [ANN] Release 9.6.0 RC-1

Hi Ralph

The splash images are not scaled or stretched. They are centred on the launch 
screen. You can use any size image. There’s two main options to choose from 
here.

- use a logo PNG with transparency and rely on the background color to fill the 
rest. You can choose from using the system background color so it switches for 
light and dark mode or an explicit color. This is what I would recommend as 
there’s no maintenance for new devices apple might release.

- use an image that is sized large enough to cover the entire screen in all 
supported orientations. If supporting portrait and landscape you would need a 
square image. As the image is not scaled you would need to update it if Apple 
releases a larger device.

Cheers

Monte


> On 12 May 2020, at 1:51 am, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Ralph,
> 
> I'll leave this for Monte to provide more details, but my 
> understanding is that now with the storyboard you only need to provide 
> one image, and this will be scaled automatically for all screen sizes.
> 
> So if you provide only image in the 3x slot, say a 2048x2732, the 
> storyboard mechanism will use the same image scaled down to
> (2048/2)x(2732/2) for the 2x  slot and (2048/3)x(2732/3) for the 1x slot.
> 
> So the idea is that now you do not need one separate image for each 
> possible device size. You only need one "small", and/or one "medium" 
> and/or one "large" image, and this image (or these images, in case you 
> provide more than one) will be used for "small","medium" and "large" 
> device screen sizes.
> 
> There are no specific required dimensions for each of the 1x,2x,3x 
> slots, so you get no error message, but a rule of thumb is to use the 
> largest image you used before for the 3x slot, and let the S/B do the rest 
> for you.
> 
> *>>>>>Also, Will the image be stretched or cropped to fit the various
> aspect*
> *ratios?*
> 
> The image will be cropped.
> 
> If you only provide a "small" image (i.e. a 1x one), then in some 
> large screens it might appear as a letterbox, but you can choose the 
> background color to display in this case (in the areas that would 
> appear "black" in the letterbox). If the description is not clear, I 
> suggest you do some experimenting and see what is the behavior in this case.
> 
> Hope this helps.
> 
> Kind regards,
> Panos
> 
> 
> On Mon, 11 May 2020 at 18:37, Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
> 
>> Also, Will the image be stretched or cropped to fit the various 
>> aspect ratios? I would think the they will cropped as stretching 
>> would distort the splash image. Is there a way for the storyboard to 
>> use custom images for each of Apple's screen types? I know that this 
>> is what their trying to get away from. I'm confused.
>> 
>> 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 panagiotis merakos via use-livecode
>> Sent: Monday, May 11, 2020 11:12 AM
>> To: How to use LiveCode
>> Cc: panagiotis merakos
>> Subject: Re: [ANN] Release 9.6.0 RC-1
>> 
>> Hello Ralph,
>> 
>> I believe that if you just set the 3x image to the largest image you 
>> used before (e.g. use a 2048x2732 image), then the storyboard 
>> mechanism will take care of the rest and scale the image 
>> automagically to fit all screen sizes.
>> At least this was the case in my tests.
>> 
>> We'll see if we could add more info in the tooltips or in the release 
>> notes to make this less confusing :)
>> 
>> Also, off-topic, I notic

RE: [ANN] Release 9.6.0 RC-1

2020-05-11 Thread Ralph DiMola via use-livecode
What has worked for me for 8 years is to keep all Xcode versions in a separate 
folder. This includes the most recent one. I always download Xcode from the 
Apple "More Versions" page. This link is on the main download page. All of my 
Xcode versions are renamed to Xcode_x.x.x.app. I do not have any Xcode versions 
in the Applications folder nor any named Xcode.app. And I never never use the 
app store to download new versions.

There may be other ways of doing this but this method has never failed me.

PS: Don’t forget to set your build tools via terminal.
View Xcode path: sudo xcode-select --print-path
Set Xcode path: sudo xcode-select -switch Xcode_x.x.x.app

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 
prothero--- via use-livecode
Sent: Monday, May 11, 2020 2:55 PM
To: JJS via use-livecode
Cc: proth...@earthlearningsolutions.org
Subject: Re: [ANN] Release 9.6.0 RC-1

Thanks for the update! I’m a bit confused, maybe it’s a typo??

I read:
> 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.

That means, to me, that I should not enable automatic update of Xcode (I 
understand that) AND the I should NOT download the specific version of XCode 
directly from the Apple developer portal. Did you mean that I SHOULD download 
from the developer portal to get the version of XCode I want? Otherwise, where 
should I get it? 

Probably it’s an “across the pond” language difference, but I thought I’d check.

Best,
Bill

William A. Prothero
Santa Barbara, CA. 93105
http://earthlearningsolutions.org/

> On May 11, 2020, at 6:00 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Dear list members,
> 
> We are pleased to announce the release of LiveCode 9.6.0 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.0 RC-1 comes with more than 30 changes, including:
> 
> New Features
>  - Support for Storyboard launch images and backgrounds on iOS
>  - Support for using the flash as a torch in the Android Barcode 
> Scanner
>  - Support for building with Xcode 11.4, using the iOS 13.4 SDK
>  - New tsNet and mergExt builds, built with the iOS 13.4 SDK
> 
> Bug Fixes:
>  - Improvements in the text-to-speech library
>  - Improvements in the iOS native browser
>  - Improvements in the camera control object
>  - Significant performance improvement when saving stacks on Windows
>  - Improvements in the Windows FFI in LCB
> 
> For the full list of all fixes, updates and enhancements please see 
> the release notes:
> http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0_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.4.x - LiveCode builds iOS apps using the 
> iOS
> 13.4 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 will only be 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:
> 

  1   2   3   4   5   6   >