RE: Divide Large Data Blob?

2022-05-16 Thread Ralph DiMola via use-livecode
If the needed OR unneeded lines have something in common then the filter 
command is your friend. Filter is blazingly fast.

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 
Rick Harrison via use-livecode
Sent: Monday, May 16, 2022 1:46 PM
To: How to use LiveCode
Cc: Rick Harrison
Subject: Divide Large Data Blob?

I have a large chunk of data that I want to search as quickly as possible.  

Unfortunately the part I want to search is the middle third of the data.  The 
other thirds at the beginning and at the end are just junk and slow down my 
search so I want to get rid of them.

I don’t want to search line by line as that takes way too long.

There’s no unique character dividing any of these data regions.

What’s the best way to do this?

Thanks in advance!

Rick



___
use-livecode mailing list
use-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: Curved text possible?

2022-04-28 Thread Ralph DiMola via use-livecode
+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 Bob Sneidar via use-livecode
Sent: Thursday, April 28, 2022 11:18 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Curved text possible?

Great ideas Martin. I'm going to grant you an honorary doctorate from the
institute of Sly Laboratories. 

Bob S


> On Apr 28, 2022, at 08:10 , Martin Koob via use-livecode
 wrote:
> 
> I was thinking that SVG might work as someone else has said.
> 
> At first I thought you could create individual files for each letter and
number and put the path for a letter into a svg widget which you could
rotate or scale.
> you would then have to calculate the angle of rotation and location of
each svg widget on a path.   But then when I tried rotating the svg widget
its scale would change as it rotated because the bounds of the rect were
changing. Then you would have to calculate the scale depending on the
rotation angle and that seemed a bit much.
> 
> I also thought you could import the svg file as an image and perhaps that
would not have the odd behaviour when rotating.  I did not try that though.
> 
> Then I found this.
> 
> https://css-tricks.com/snippets/svg/curved-text-along-path/

> 
> it shows how to use css to put text along a SVG path.  At the LiveCode Dev
Con there were a few unconventional uses of the browser widget beyond
displaying webpages that add features that can add features that LiveCode
does not have natively.  So I thought maybe this is one of them.  So what I
thought could be done is display the above in a browser widget or,  If you
did not want to show the browser widget, use the browser widget to render
the curved text, thentake a snapshot of the rendered text and then show that
in an image.
> 
> Not sure if it will work but the sessions at the conference have really
got me thinking of new ways to leverage the technology in that widget.
> 
> 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


Apple App Store Server Notifications [was JWT Token Decode]

2022-04-08 Thread Ralph DiMola via use-livecode
Apple App Store Server Notifications sends transaction data to your server.
It is especially good for in-app purchase refunds. If you had previously
recorded the transaction ID of the original purchase you can match it up to
the server notification and attach it to a user.

When you use the App Store Server Notifications you receive(in Post Raw)
either standard issue JSON(v1) or JWT(v2). I was using v1. When v2 was
offered the description said you get more events with v2. So I went with v2
and got into the JWT issue.
I was able to get the data out of the JWT but I'm still figuring out the
verification.

JWT is 3 period delimited base 64 encoded items. Header, Payload and
Signature. JWT is not encrypted but by using the header and signature you
can see if the payload has been manipulated or has dropped/scrambled bits
Because the hash will not match.

The payload(base 64 encoded) contains some the previously observed v1 JSON
data. The actual transaction data is in a JSON element as another JWT
encoded string. Again you base 64 decode item 2(period delimited) the
transaction data and viola the remaining v1 JSON transaction elements are
there.

JWT uses Base 64 URL encoding. The "+" and "/" are substituted with "-" and
"_" so A JWT can exist in a URL without any problems.

Just scratching the surface of this giant headache. I now have the both
payloads JSON but have to figure out how to verify the hash. I'm no worse
off than the v1 straight up JSON but "inquiring minds want to know".

Film at 11.

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


JWT Token Decode

2022-04-07 Thread Ralph DiMola via use-livecode
Subject says it all. Has anyone done this in LC? In JavaScript it's 
decodeURIComponent.


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: Flash Talks - 3 slots remaining

2022-04-05 Thread Ralph DiMola via use-livecode
Me too.

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


All right - now I'm hooked.
Looking forward to you talking about the LC interface to the real world.

-- 
  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: Flash Talks - 3 slots remaining

2022-04-05 Thread Ralph DiMola via use-livecode
Go for it. Get a headset and use a tablet. This is cool. Not as cool as a
"pancake printer" but cool none the less.

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 Craig Newman via use-livecode
Sent: Tuesday, April 05, 2022 1:36 PM
To: How to use LiveCode
Cc: Craig Newman
Subject: Re: Flash Talks - 3 slots remaining

Heather.

I probably am one of the oddest LC users. Entirely for either my own use or
for my company. Only once did I sell a system commercially.

But I do use LC to control three very different machines in our shop. Would
it be of any interest to anyone to see one of these in operation?

Regards,

Craig Newman  (dunbarx)



> On Apr 5, 2022, at 12:54 PM, Heather Laine via use-livecode
 wrote:
> 
> Dear Good Folks of the Use-list,
> 
> I'm in the final throes of scheduling our upcoming online conference on
25-27th April. Its looking great! Multiple fabulous talks have come in,
there is loads of rich content, we have panels, keynotes and workshops
galore! We're just missing 3 flashtalks to round out the Flash Talks section
on Day 3. I know at least 3 of you good people can speak for a mere 7
minutes on your topic of choice. Roll up roll up... and send me a talk
submission :) Pretty please?
> 
> https://livecode.com/global/apply-to-speak/ 
> 
> 
> It's going to be a great event. 
> 
> Warmest Regards to all,
> 
> Heather
> 
> P.S. Where is the conference schedule to be seen, I hear you ask? Right
here:
> 
> https://livecode.com/global/schedule/
> 
> Heather Laine
> Customer Services Manager and Conference Organizer Extraordinaire 
> LiveCode Ltd www.livecode.com 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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

2022-03-30 Thread Ralph DiMola via use-livecode
Welcome + 1.

Ask anything and we will try to help. This list help me on day one and hope we 
can return the favor.

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, March 30, 2022 9:55 AM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: Re: New user

On 3/30/2022 9:50 AM, Guillaume Hédieu via use-livecode wrote:
> Hi everyone,
>
> Just a message to say hello. I'm new to Livecode. First of all, please 
> apologize for my english, it's not my native language.
>
> I am a computer scientist in an association that trains students for 
> working in some social profession.
>
> I like "make and dev" and working with Livecode it's just a hobby for 
> me. I love learning and discovering new things and tools, that's why I am 
> here.
>
> Pleased to meet the community, I hope I will be able to read some of 
> your messages here.
>
> Have a nice day,
>
> Regards,
>
> Guillaume
> ___
>

Welcome!

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


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


FW: [GolfDay - The Premiere Golf Course Guide] Comment: "Phil Deserves a Pass"

2022-03-28 Thread Ralph DiMola via use-livecode
This look good to me?

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


-Original Message-
From: cybersport [mailto:wordpr...@golfday.us] 
Sent: Friday, March 25, 2022 8:55 AM
To: rdim...@evergreeninfo.net
Subject: [GolfDay - The Premiere Golf Course Guide] Comment: "Phil Deserves a 
Pass"

New comment on your post "Phil Deserves a Pass"
Author: cybersport (IP address: 71.185.3.149, 
static-71-185-3-149.phlapa.fios.verizon.net)
Email: writerr...@zohomail.com
URL: 
Comment: 
He was  not off the record talking to Shipnunck. He was bering interviewed for 
a book.  That's not off the record. For all the good things he has done the was 
a major screwup on his part and the criticism he received was deserved.

You can see all comments on this post here:
https://golfday.us/blog/phil-deserves-a-pass/#comments

Permalink: https://golfday.us/blog/phil-deserves-a-pass/#comment-6342
Trash it: 
https://golfday.us/blog/wp-admin/comment.php?action=trash=6342#wpbody-content
Spam it: 
https://golfday.us/blog/wp-admin/comment.php?action=spam=6342#wpbody-content


___
use-livecode mailing list
use-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: IDE bait and switch ;-)

2022-03-26 Thread Ralph DiMola via use-livecode
I've wanted it since I started using LC with the loop by chunks(lines/items)
concept. It's full form should also have start and increment.

Repeat for each line tLine in MyVar index tIdxVar start 1 increment 2.

This would be such a coding time saver and make for cleaner code. Doing the
initialize and increment in C would be much faster than LCS. Anything to
speed up loops would be helpful.

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, March 26, 2022 3:40 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: IDE bait and switch ;-)

On 3/26/22 10:26 AM, Paul Dupuis via use-livecode wrote:
> An now I really want LC, Ltd. to add a "with tIndex" syntax to the repeat
for each loop structure!

That would be awesome. Feature request, maybe?

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


LiveCode Server Shared Hosting Environment

2022-03-24 Thread Ralph DiMola via use-livecode
Is there any way without root access to solve the problem of missing
libraries preventing LiveCode server from running in a shared server
environment? I'm getting this error when running the 9.6.6 64 bit server
from the command line.

./livecode-server-pro: /lib64/libc.so.6: version `GLIBC_2.17' not found
(required by ./livecode-server-pro)
./livecode-server-pro: /lib64/libc.so.6: version `GLIBC_2.16' not found
(required by ./livecode-server-pro)
./livecode-server-pro: /lib64/libc.so.6: version `GLIBC_2.14' not found
(required by ./livecode-server-pro)

Thanks in advance!

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: No Android app icon with LC 9.6.6

2022-03-06 Thread Ralph DiMola via use-livecode
I updated the bug report.



>Make that 9.6.6 rc1. Too early for me. Ran to the office to send this out
without my cup of tea.

>I Just ran into this yesterday using 9.6.1 rc1. For laughs I clicked the
adaptive icon in the standalone settings and back to 

>legacy and I now see the legacy icon on the device.


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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Klaus major-k via use-livecode
Sent: Sunday, March 06, 2022 4:55 AM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: No Android app icon with LC 9.6.6

Hi all,

> Am 06.03.2022 um 10:00 schrieb Klaus major-k via use-livecode
:
> 
> Hi friends,
> 
> I just spent some time to find out that Android APKs created with LC 
> version 9.6.6 do not show the app icon on an Android device!?
> 
> So I downloaded LC 9.6.5, created an APK and the app icon is shown again.
> Did not find an bug report for this, so I will create one.

and here it is:
 Can someone confirm that this is fixed/works again in version 9.6.7?
> Thanks in advance!

Best

Klaus

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


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


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


RE: No Android app icon with LC 9.6.6

2022-03-06 Thread Ralph DiMola via use-livecode
Make that 9.6.6 rc1. Too early for me. Ran to the office to send this out 
without my cup of tea.


>I Just ran into this yesterday using 9.6.1 rc1. For laughs I clicked the 
>adaptive icon in the standalone settings and back to >legacy and I now see the 
>legacy icon on the device.

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 
Klaus major-k via use-livecode
Sent: Sunday, March 06, 2022 5:01 AM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: No Android app icon with LC 9.6.6

Hi Scott,

> Am 06.03.2022 um 10:57 schrieb scott--- via use-livecode 
> :
> 
> Hello Klaus,
> Did you build with the Legacy icon type or the new Adaptive Icon type?

with the Legacy icon type.

> I haven’t been able to reproduce an icon that I think looks as good using the 
> Adaptive method but I am seeing icons on Android using both methods.

I created an APK form the same stack with LC 9.6.6 -> only generic app icon on 
device Same stack with LC 9.6.5 -> my nice legacy app icon on device

> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
> 
> 
>> On Mar 6, 2022, at 1:00 AM, Klaus major-k via use-livecode 
>>  wrote:
>> 
>> Hi freinds,
>> 
>> I just spent some time to find out that Android APKs created with LC 
>> version 9.6.6 do not show the app icon on an Android device!?
>> 
>> So I downloaded LC 9.6.5, created an APK and the app icon is shown again.
>> Did not find an bug report for this, so I will create one.
>> 
>> Can someone confirm that this is fixed/works again in version 9.6.7?
>> Thanks in advance!

Best

Klaus

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


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


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


RE: No Android app icon with LC 9.6.6

2022-03-06 Thread Ralph DiMola via use-livecode
Klaus,

I Just ran into this yesterday using 9.6.1 rc1. For laughs I clicked the 
adaptive icon in the standalone settings and back to legacy and I now see the 
legacy icon on the device.

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 
Klaus major-k via use-livecode
Sent: Sunday, March 06, 2022 5:01 AM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: No Android app icon with LC 9.6.6

Hi Scott,

> Am 06.03.2022 um 10:57 schrieb scott--- via use-livecode 
> :
> 
> Hello Klaus,
> Did you build with the Legacy icon type or the new Adaptive Icon type?

with the Legacy icon type.

> I haven’t been able to reproduce an icon that I think looks as good using the 
> Adaptive method but I am seeing icons on Android using both methods.

I created an APK form the same stack with LC 9.6.6 -> only generic app icon on 
device Same stack with LC 9.6.5 -> my nice legacy app icon on device

> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
> 
> 
>> On Mar 6, 2022, at 1:00 AM, Klaus major-k via use-livecode 
>>  wrote:
>> 
>> Hi freinds,
>> 
>> I just spent some time to find out that Android APKs created with LC 
>> version 9.6.6 do not show the app icon on an Android device!?
>> 
>> So I downloaded LC 9.6.5, created an APK and the app icon is shown again.
>> Did not find an bug report for this, so I will create one.
>> 
>> Can someone confirm that this is fixed/works again in version 9.6.7?
>> Thanks in advance!

Best

Klaus

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


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


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


RE: Speed up a slow loop

2022-03-02 Thread Ralph DiMola via use-livecode
I ran into this when doing mobile predictive typing for US cities(40,000)
with a scrollable dropdown of results. I did with a loop in JavaScript in
html and was instantly fast. So in LC IDE I started with the loop thing and
it was too slow. There was a 3/4 of a second blip as each character was
typed. I found that "filter the lines" is blazingly fast. So I built the cr
list of cities with the city followed by a dash and then the metadata I
needed (lat/lons). Use the "filter into" form so the original list remains
unchanged. I do a filter for each character typed. Works like a charm. Now
LC is as fast as the JavaScript version. 
When filtering if you want the exact term then search with the dash added at
the end for the search term.

"filter" must be using your time machine somehow.

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, March 02, 2022 4:58 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: Speed up a slow loop

In my Boggle game I have an array containing dictionary words as keys, split
as set, so all values are "true". I need to compare those keys with a list
of user words and get back a list of good words and a list of illegal words.

The loop takes forever. Here it is (sDictFile is a script local):

   repeat for each line l in pList -- pList is the user word list
 if sDictFile[l] = true then put l & cr after tCheckedList
 else put l & cr after tNonWords
 wait 0 with messages  -- prevent ANRs
   end repeat

I added the wait because my Android phone was putting up an "app not
responding" warning while the loop was running (or just after, hard to
tell.) The loop should be much faster than that. 
When I added some timing checks though, the timer says the loop takes
between 0 and 1 millisecond, and yet the wait on screen remains.

With a 3-word user list, the loop takes 4 seconds. With an 8 word user list
the loop takes 6 seconds. The more user words, the longer the wait.

Even stranger: on my cheapo Android tablet with 4 megs of RAM running
Android 9 the response is nearly instantaneous, even if the user list has
200+ words. On my Pixel phone with 8 megs of RAM and Android 12 the response
is slow enough to trigger the ANR with only 3 words. I'm building for ARM
64.

I've tried any number of workarounds without luck, on both LC 9.6.6 and LC
10.0.0. Any ideas? I have a feeling it isn't the script per se, it's
something else.

-- 
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: iphoneSafeAreaInsets()

2022-02-23 Thread Ralph DiMola via use-livecode
The corners are curved so rectangular safe areas are:
1) portrait==> from the bottom of the notch to the top of the corners at
bottom full width of the screen.
2) Landscape there are 2 options:
   a) Notch on left ==> from the right of the notch on left to the full
right side of screen. The height from the bottom of the top right corner to
the top of the bottom right corner.
   OR
   b) Notch on left ==> from the right of the notch on left to the left of
both right corners and full height screen height.

   So in landscape it's either full screen height or full screen
width(except for the notch)


If the notch is on the right it's the same but reversed.

Now you can use the areas beyond the corners but the corners of your card
will be cut off by the rounded screen corners

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: Wednesday, February 23, 2022 3:16 PM
To: How to use LiveCode
Cc: sc...@elementarysoftware.com
Subject: iphoneSafeAreaInsets() 

I was updating a library to use the new iphoneSafeAreaInsets() for retuning
the inset of the iPhoneX notch. I was surprised to see that it reports an
inset on both left and right sides when in landscape even though the notch
is only on one side. I would have expected an iPhone in landscape to report
an inset on the bottom (for the home indicator, which it does report) and on
whichever side the notch was actually on. While this can usually be figured
out with  mobileDeviceOrientation()  (though not always) it seems like an
extra step in addition to just being inaccurate about one side. Am I missing
something or should this be a bug?

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


RE: full justification in a text field

2022-02-10 Thread Ralph DiMola via use-livecode
I was just trying to make text break at slashes today. I put a zero width 
space(U+200B) after every slash. Although LC did break the lines properly the 
space was not rendered as zero width. It was more like a thin space and a half 
and looked terrible. Is this an engine bug? 

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 
Peter Bogdanoff via use-livecode
Sent: Thursday, February 10, 2022 2:50 PM
To: How to use LiveCode
Cc: Peter Bogdanoff
Subject: Re: full justification in a text field

You’re welcome.

What I really wanted to do is to use a narrower space character, such as the 
"thin space, U+2009" which would allow much better alignment of the right 
margin. That character does display in LiveCode.

https://en.wikipedia.org/wiki/Whitespace_character 

But that seems to require modifying the htmlText to insert that character. 
Maybe someone knows how to set/insert the htmlText of a character without 
messing with the html directly.

Peter Bogdanoff

> On Feb 10, 2022, at 1:03 PM, Curt Ford via use-livecode 
>  wrote:
> 
> Peter, that works really well. Looks like it does require a monospaced font 
> (I tried it with Monaco, looks good), so I'm not sure if my current client 
> will want this approach, but it's nice to have a relatively simple native 
> solution. Thanks so much!
> 
> Curt
> --
> Sent from Postbox 
>  campaign=reach> ___
> use-livecode mailing list
> use-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


[OT] Converting to LiveCode from VAX VMS

2022-01-11 Thread Ralph DiMola via use-livecode
Well my old VAX/VMS friend has finally died. It ran 24/7 for 26 years and was 
only rebooted every 2 or three years(power outage or disk replacement). It's 
either a bad disk drawing too much from the old power supply or the supply 
itself needs to be re-capped. Fires up and boots but shuts off after couple of 
hours. I could keep it going but I've been converting the VAX apps to LC since 
2012. There was only one left and I'm finishing the conversion now. If was not 
for LC's text processing(chunks) I could never have converted them all. The 
last one needs to be done in a week or two, no prob for LC. For me this project 
in any other language would not be possible. There was 12 years of Basic text 
processing apps by a team of 4 programmers to convert. With LC it was all 
converted by me in my spare time. 

LC is my friend!

RIP VAX

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: Is it normal to not be able to set script of objects in an encrypted stack?

2021-12-30 Thread Ralph DiMola via use-livecode
I thought for a standalone if you "set the passKey of stack "x" to "y" you
will be able to modify scripts. This will only be in ram. If your standalone
saves the stack then do "set the password of stack to "y" before saving. If
someone is scraping ram memory then you have a problem, but if someone is
scraping memory you have bigger problems.

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: Thursday, December 30, 2021 4:34 PM
To: How to use LiveCode
Cc: Tom Glod
Subject: Re: Is it normal to not be able to set script of objects in an
encrypted stack?

HmmmI hear you, that makes sense.

On the flip side, as soon as I want to set the script of a button, I'm
doomed to have my code remain readable. I gotta think of a workaround for
why I was setting the script to begin with.

Thanks MIke.



On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I would hope that would be the behavior. It would also make it harder 
> for your stack to get borked by someone else.
> If I was trying to break that behavior I would try to put the code 
> into a variable, encrypt the variable using the password, then set the 
> script of the object to the encrypted version, although I don't know 
> what algorithm LC is using.
>
> On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> > Hi Folks,
> >
> > Today I found out that if I put a password on my stack, any code 
> > that
> sets
> > the script of an object in that stack receives an execution error 
> > when running as standalone.
> >
> >  Why is this so?
> >
> > And is there a workaround?
> >
> > Thanks,
> >
> > --
> > Tom Glod
> > Founder & Developer
> > MakeShyft R.D.A (www.makeshyft.com)
> > Mobile:647.562.9411
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
> --
> 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
>


--
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: Communication with future you with a message board

2021-12-22 Thread Ralph DiMola via use-livecode
POOF your gone (grandfather paradox)

But on the good side I may be able to play the Bach piece without mistakes.

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: Wednesday, December 22, 2021 4:00 PM
To: J. Landman Gay via use-livecode
Cc: Mark Wieder
Subject: Re: Communication with future you with a message board

On 12/22/21 12:47 PM, J. Landman Gay via use-livecode wrote:
> On 12/22/21 11:40 AM, Martin Koob via use-livecode wrote:
>> So I am curious — am I the only one whose mind is going or have 
>> others run this mental recursive documentation loop?
> 
> Yes, more than once. The only comforting thing is that most of the 
> time it was a response from many years ago and I'm not the same person 
> any more. Maybe that's scary...
> 

If you write a response maybe you can help out your previous self.

--
  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: Livecode downloads VERY slow

2021-12-22 Thread Ralph DiMola via use-livecode
I just downloaded both the Mac and Win32 simultaneously via the download page 
in about a minute. Using “SpeedTest”, I get 110Mb/sec.

 I remember when got our first t1(1.544mb/sec) and thought we were 
styling ridiculous 

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 
William Prothero via use-livecode
Sent: Wednesday, December 22, 2021 3:34 PM
To: JJS via use-livecode
Cc: William Prothero
Subject: Livecode downloads VERY slow

Folks:
When I download an update to Livecode, it takes hours. I’m wondering why. 
Locally, using “SpeedTest”, I get 160Mb/sec internet speeds. Could it be the 
livecode server that serves the updates? Just wondering.

Best,
Bill

William Prothero
waproth...@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: How to extract whole text from a PDF file with the PDF widget?

2021-12-13 Thread Ralph DiMola via use-livecode
Sorry I could not get back to you on this until now. (-1)s don't work here.

put 1 into tHilitedArray["from"]["page"]

  put 1 into tHilitedArray["from"]["index"]

  put 99 into tHilitedArray["to"]["page"]

  put 99 into tHilitedArray["to"]["index"]

  set the hilitedRange of control "PDF1" to tHilitedArray

  put the hilitedRangeText of control "PDF1" into tText

This will work if you don't need to know the page number. If you do then cycle 
thru each page. (1 to the NumberOfPages of control "PDF1")

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: Sunday, December 12, 2021 7:18 PM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: Re: How to extract whole text from a PDF file with the PDF widget?

Thank you Monte,

We've just started to make a map from XPDF APIs to the PDF Widget APIs, so I'll 
make sure that gets done soon and add any missing capabilities as requests to 
the LC Quality Center.

With regard to the hilitedRange and hilitedRangeText properties, can you just 
advise on the correct use to get a PDF's text? i.e can you use a range of 1 to 
-1 to get the whole document text or would that just be the current page text?

Thanks in advance,


On 12/12/2021 6:49 PM, Monte Goulding via use-livecode wrote:
> Hi Folks
>
> Currently you can extract text in the widget by setting the hilitedRange and 
> getting the hilitedRangeText. It wouldn’t be that hard to add extracted text 
> to the documentPages property. The PDF widget was built to meet the 
> requirements for a client rather than to match the features of XPDF so it’s 
> worthwhile anyone still using XPDF to take the time to audit their use and 
> see if there’s any extra features required. If so please create feature 
> requests for them. While XPDF will continue to function we intend to stop 
> including it in LiveCode.
>
> Cheers
>
> Monte
>
>> On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode 
>>  wrote:
>>
>> I suspect it is for backward compatibility.
>>
>> When I turned over the XPDF external to Livecode, I asked that they maintain 
>> it for a couple years. I had expected we'd migrate out apps to the PDF 
>> widget by then, but business factors mean we're only now just starting a 
>> migration.
>>
>> That's why I jumped in on this thread - we HAVE to have the ability to 
>> extract text and images from the PDF widget (as you can with the External) - 
>> to migrate to the Widget.
>>
>> I suspect many other commercial developers who used the External still have 
>> active code using it that they have not migrated yet OR the issue of the 
>> undocumented (or, even worse, missing) properties of the widget most likely 
>> would have been raised before now.
>>
>> To migrate, all the command and functions of the External need to be mapped 
>> to the properties of the Widget. We have probably a couple hundred calls to 
>> the External in our code all of which need to be mapped, updated, and tested 
>> - so no trivial task.
>>
>>
>> On 12/11/2021 6:50 AM, matthias rebbe via use-livecode wrote:
>>> Ah, i thought you were referring only to XPDF.
>>> Btw. do you have an idea why both, XPDF external and PDF widget, are 
>>> maintained? Wouldn't it make sense to have only one pdf solution included?
>>> Or am i missing something?
>>>
>>> Regards,
>>> Matthias
>>>
>>>
 Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode 
 :

 Yes, I am familiar with the XPDF external (based on Google's PDFium 
 library), having designed it and paid Monte to code it and then turned it 
 over to LiveCode.

 I was referring to the PDF Widget (also based on Google's PDFium), which 
 should have a comparable property for fetching the text of a page. The LC 
 dictionary does not list any property for returning the page text, so I 
 assume that is a Dictionary/Documentation error and that Monte can tell us 
 the correct property of the PDF widget that will return the text of a page.


 On 12/10/2021 7:05 PM, matthias rebbe via use-livecode wrote:
> Paul,
>
> here on mac OS the dictionary of LC 10 DP1 definitely lists the function 
> XPDFViewer_Text(viewerName, pageNumber).
> Btw. checking this showed me that this function seems to be deprecated 
> and instead the command
>   XPDFViewer_Unicode viewerName, pageNumber, variableName 
> should be used.
>
>
>> Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode 
>> :
>>
>> There must be an undocumented property for the text of a page - there 
>> was a function to return the full text of a page in the External (XPDF) 
>> and to get the full text of the PDF file, you just stepped through the 
>> pages (1..N) getting and concatenating the page text.
>>
>> Monte? 

RE: IOS 15.0

2021-12-13 Thread Ralph DiMola via use-livecode
Download Xcode 14.5.x and rename it to Xcode_14.5.x. Open it up and allow the 
installation to complete. Then point your Xcode build tools to the 14.5.x. In 
LC prefs point to Xcode 14.5.x.app. You can now build apps. You can open up 
Xcode 15.0 to drag .app's to your devices for testing.

I always rename all my Xcode versions with the version number so that it will 
not be updated.

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 Smith via use-livecode
Sent: Monday, December 13, 2021 1:57 PM
To: How to use LiveCode
Cc: Mark Smith; Mike Kerner
Subject: Re: IOS 15.0

Thanks  Mike. What macOS and Xcode have you been using? Apple upgraded my iOS 
to 15.0 and now all my builds have stopped working… (“developer of this app 
needs to upgrade it to work with this version of iOS). 

Best,
Mark

Sent from my iPhone

> On Dec 13, 2021, at 6:42 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> sorry, "unknown color".
> The fix is to insert a breakpoint before the suspect code executes. 
> Then it finds its way.
> 
>> On Mon, Dec 13, 2021 at 1:39 PM Mike Kerner 
>> 
>> wrote:
>> 
>> I've been using both 9.6.4 and 9.6.5 rc2 without issue on any of the 
>> ios target devices (other than a bizarre issue with the remote 
>> debugger reporting incorrect color instead of showing the actual error).
>> 
>> On Sun, Dec 12, 2021 at 2:30 AM Mark Smith via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> What’s the most stable release / configuration that works with IOS 15.
>>> 
>>> Thanks
>>> 
>>> Sent from my iPhone
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> --
>> 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


___
use-livecode mailing list
use-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 9.5.6, Android and JSONToArray

2021-12-08 Thread Ralph DiMola via use-livecode
Dan,

Same problem with tsNet. The pro was the second license and as in previous 
version I just blew past the licensing dialog without reading. After I 
re-licensed and clicked the right arrow and selected the pro license(clearly 
marked) I was good to go. Although I assumed... Maybe the highest level of 
license should be the default? 

Ralph DiMola
IT Director
Evergreen Information Services

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
panagiotis m via use-livecode
Sent: Wednesday, December 08, 2021 4:52 AM
To: Dan Friedman
Cc: panagiotis m; How to use LiveCode
Subject: Re: LC 9.5.6, Android and JSONToArray

Hello Dan,

I reply here so that other affected users can see it. So, the culprit was that 
Dan's stack had "Remote Debugger" in the inclusions, but LC 9.6.5 was activated 
with a license that did not include this feature.

Dan had another license that did include the "pro" features (i.e. remote 
debugger, pdf widget etc), and once he relicensed LC with this license,
JSONToArray() worked as expected.

What happened under the hood was that an error was thrown when the standalone 
was trying to load the Remote Debugger library on startup, and this error 
prevented all the other included libraries (including mergJSON) to load. This 
is a bug we should fix - i.e. the standalone builder should only include 
libraries that are licensed.

You can check if your current license has the pro features using "put the 
editionType". If it returns "professional", you do have them. If it returns 
"commercial", you do not.

Hope this helps.

Kind regards,
Panos
--

On Mon, 6 Dec 2021 at 17:48, Dan Friedman  wrote:

> Panos,
>
> Thank you for the reply.  Sorry about the typo... the versions are:
>
> 9.6.4 -- WORKING
> 9.6.5 -- NOT WORKING
>
> And, yes.  I have "mergJSON" selected (as well as "JSON Library").
>
> FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 
> might be resolved in 9.6.5.  (
> http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.htm
> l)
>
>
> - Dan
>
>
>
> On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> Hello Dan,
>
> Could you please confirm the working and non-working versions? 
> There is no
> 9.5.6 or 9.5.4 version of LiveCode.
>
> Also, to use JSONToArray() you have to include "mergJSON" in the
> Inclusions, not  "JSON Library". The  "JSON Library" is needed for
> "JSONImport" and "JSONExport" functions.
>
> Hope this helps.
>
> Cheers,
> Panos
>
> On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I just built an app for Android in 9.5.6.  I am finding that
> JSONToArray()
> > isn't working.   I built the same app in 9.5.4, and JSONToArray()
> works
> > just fine.  (Yes, I have "JSON Library" selected in the 
> Inclusions in the
> > Standalone Application Settings).   Is this a bug or is
> JSONToArray() no
> > longer supported in 9.5.6?
> >
> > Any advice or knowledge would be appreciated.
> >
> > -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


___
use-livecode mailing list
use-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 debugger: unknown color?

2021-12-03 Thread Ralph DiMola via use-livecode
Mike,

Did you try "Debug==>Show Next" in the SE?

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: Friday, December 03, 2021 11:16 AM
To: How to use LiveCode
Cc: Mike Kerner
Subject: mobile debugger: unknown color?

I'm getting an execution error at line n/a (Object: unknown color) the
debugger then throws up the card script, but the pointer is not pointing at
anything.

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


RE: The Dreaded tsNet "Error Previous request not completed" iOS app

2021-11-19 Thread Ralph DiMola via use-livecode
I just wanted to thank Jacqueline Landman Gay and Charles Warwick for this
thread
https://www.mail-archive.com/use-livecode@lists.runrev.com/msg113554.html

I still wonder how more than one synchronous operation can be in play at the
same as synchronous operations are blocking. Oh well I works now with
tsNet-Pro. Well worth the price...

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: The Dreaded tsNet "Error Previous request not completed" iOS app

2021-11-19 Thread Ralph DiMola via use-livecode
I solved the problem. I was my problem. When I activated LC 9.6.4+ I just
blew past the licensing dialog taking the default as I have always done. In
pre 9.6.4 I only had one licensing option. This was my business license that
included the indy to business upgrade and the pro features upgrade. In
9.6.4+ these upgrade options appear as 3 license choices. The default was
Indy(so to speak) the second was the business(I guess) but the third was
clearly identified as "Pro Features". I used the "Re-license Livecode"
option in the help menu and took the third option and my PDF widget appeared
and my initial testing shows that I am no longer throwing the "Error
Previous request not completed" error. I tested a 9.6.5rc2 build and not yet
seen the error on iOS. I have a tester trying a LC 10dp1 iOS build and he
has not seen the error either.

So... Don't blow past the licensing dialog like I did. Check to see if there
is more than one option, then check them all so get the license level you
expect.

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: The Dreaded tsNet "Error Previous request not completed" iOS app

2021-11-17 Thread Ralph DiMola via use-livecode
Ahhh,

That explains why the app is failing now. I lost the pro-features in the 
transition to the new business model. 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 
matthias rebbe via use-livecode
Sent: Wednesday, November 17, 2021 5:26 PM
To: How to use LiveCode
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS app

According to Livecode's website https://livecode.com/pro-features/

Complete Advanced Networking Layer:
- Non-blocking, asynchronous operations on SFTP, SMTP, SMTPS and SMTP/TLS
- SFTP authentication via public key authentication giving the best possible 
security
- SMTP(S/TLS) / SFTP downloads and uploads can either be via file or via 
variable – you are not limited by the memory available to your variable
- Ability to generate public / private key pairs suitable for use with SFTP – 
no need for an external application to create these
- Ability to send additional raw commands along with FTP and SFTP transfers to 
be executed before or after the transfer completes

Regards,

Matthisa
> Am 17.11.2021 um 23:04 schrieb Ralph DiMola via use-livecode 
> :
> 
> What is the "pro version" of tsNet the Charles refers to in that thread?
> 
> 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, November 17, 2021 2:44 PM
> To: How to use LiveCode
> Cc: J. Landman Gay
> Subject: Re: The Dreaded tsNet "Error Previous request not completed" 
> iOS app
> 
> On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote:
>> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5.
>> I am doing several synchronous operations in the form "put url
>> (some-url) into tVar". I do 1 or 2 and then every request after that 
>> fails.  Played with the various timeouts with no success. I also 
>> tried setting tsNetLibUrlReuseConnection to false. This code worked 
>> in previous versions of LC. Fails on iPad but works in the IDE. Has 
>> anyone seen this? I have a little bit of a time crunch. Any 
>> suggestions
> would be appreciated.
> 
> I asked about the same thing a month ago. Here's the reply by Charles
> Warwick:
> <https://www.mail-archive.com/use-livecode@lists.runrev.com/msg113554.
> html>
> 
> The essence is:
> "In order to fix this, you can use tsNet's asynchronous commands (e.g.
> tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, 
> ...) or libURL's "load URL" command.  The "load URL" command only 
> support HTTP GET requests which means that if you need to use other 
> types of requests (e.g. POST) then use the tsNet functions directly."
> 
> Rather than rewrite all my scripts I settled for a short wait between 
> requests.
> 
> -- 
> 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


RE: The Dreaded tsNet "Error Previous request not completed" iOS app

2021-11-17 Thread Ralph DiMola via use-livecode
What is the "pro version" of tsNet the Charles refers to in that thread?

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, November 17, 2021 2:44 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS
app

On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote:
> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5.
> I am doing several synchronous operations in the form "put url 
> (some-url) into tVar". I do 1 or 2 and then every request after that 
> fails.  Played with the various timeouts with no success. I also tried 
> setting tsNetLibUrlReuseConnection to false. This code worked in 
> previous versions of LC. Fails on iPad but works in the IDE. Has 
> anyone seen this? I have a little bit of a time crunch. Any suggestions
would be appreciated.

I asked about the same thing a month ago. Here's the reply by Charles
Warwick:
<https://www.mail-archive.com/use-livecode@lists.runrev.com/msg113554.html>

The essence is:
"In order to fix this, you can use tsNet's asynchronous commands (e.g.
tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...)
or libURL's "load URL" command.  The "load URL" command only support HTTP
GET requests which means that if you need to use other types of requests
(e.g. POST) then use the tsNet functions directly."

Rather than rewrite all my scripts I settled for a short wait between
requests.

-- 
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: The Dreaded tsNet "Error Previous request not completed" iOS app

2021-11-17 Thread Ralph DiMola via use-livecode
J,

Thanks to you and Charles! I wonder what changed to start this? Was tsNet or
the mobile OSs not strict enough before and these errors were dropping on
the floor or is it a bug introduced by either tsNet or the mobile OSs?

Inquiring minds want to know...

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, November 17, 2021 2:44 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS
app

On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote:
> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5.
> I am doing several synchronous operations in the form "put url 
> (some-url) into tVar". I do 1 or 2 and then every request after that 
> fails.  Played with the various timeouts with no success. I also tried 
> setting tsNetLibUrlReuseConnection to false. This code worked in 
> previous versions of LC. Fails on iPad but works in the IDE. Has 
> anyone seen this? I have a little bit of a time crunch. Any suggestions
would be appreciated.

I asked about the same thing a month ago. Here's the reply by Charles
Warwick:
<https://www.mail-archive.com/use-livecode@lists.runrev.com/msg113554.html>

The essence is:
"In order to fix this, you can use tsNet's asynchronous commands (e.g.
tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...)
or libURL's "load URL" command.  The "load URL" command only support HTTP
GET requests which means that if you need to use other types of requests
(e.g. POST) then use the tsNet functions directly."

Rather than rewrite all my scripts I settled for a short wait between
requests.

-- 
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: Xcode and Catalina **NEW MBP**

2021-11-17 Thread Ralph DiMola via use-livecode
Did you point the build tools to 12.5.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 Mike Kerner via use-livecode
Sent: Wednesday, November 17, 2021 9:36 AM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: Xcode and Catalina **NEW MBP**

just to follow up on this some more, I have tried launching XC 12.5.1
manually. You can do it, but something happened with the command-line tools,
which causes builds from within LC to bork with an error.

On Tue, Nov 16, 2021 at 9:51 PM Jim MacConnell via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Am I understanding correctly?
> There is a way to get Xcode 12.5 running on Monterey?
> Will this satisfy the LC requirements?
> Jim
>
> > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Apple did it again. It looks like only Xcode 13 will run on Monterey.
> Looks
> > can be deceiving. If you activate Xcode 12.5.x from the command line 
> > it
> will
> > start.
> >
> >
> > 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: Tuesday, November 16, 2021 7:01 PM
> > To: How to use LiveCode
> > Cc: Mike Kerner
> > Subject: Re: Xcode and Catalina **NEW MBP**
> >
> > Ralph,
> > I said "Catalina" when I meant "Monterey".
> > It's a new MBP, and no versions of XC before 13.1 will run on it.
> > I used a restore from Time Machine to get the machine set up, so all 
> > of
> the
> > old XCodes that I had moved over, but none of the command-line tools
> seem to
> > work.
> > #firstWorldProblems
> >
> > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < 
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Mike,
> >>
> >> From 9.6.5 Release notes.
> >>
> >>  - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the 
> >> iOS
> >> 14.4 SDK
> >>
> >> There is a full list of working LiveCode/macOS/Xcode combinations here:
> >> https://livecode.com/docs/9-5-0/faq/faq/
> >>
> >> Important: From the start of April 2021, Apple is only accepting 
> >> apps built using iOS14.x SDKs. This means that, if you wish to 
> >> submit apps to the AppStore you will have to be running at least 
> >> macOS 10.15 in order to be able to install the necessary version of
Xcode.
> >>
> >> 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: Tuesday, November 16, 2021 12:21 PM
> >> To: How to use LiveCode
> >> Cc: Mike Kerner
> >> Subject: xcode and catalina **NEW MBP**
> >>
> >> Has anyone gotten LC/XC to work on a new mac that came with 
> >> catalina pre-installed?
> >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC
> >> 12.5.1 and below not even running in Catalina, so I can't complete 
> >> the installs.
> >>
> >> --
> >> 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
> >>
> >
> >
> > --
> > On the first day, God created the heavens and the Earth On the 
> > second
> day,
>

The Dreaded tsNet "Error Previous request not completed" iOS app

2021-11-16 Thread Ralph DiMola via use-livecode
iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5.
I am doing several synchronous operations in the form "put url (some-url)
into tVar". I do 1 or 2 and then every request after that fails.  Played
with the various timeouts with no success. I also tried setting
tsNetLibUrlReuseConnection to false. This code worked in previous versions
of LC. Fails on iPad but works in the IDE. Has anyone seen this? I have a
little bit of a time crunch. Any suggestions would be appreciated.

Thanks in advance.

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: Xcode and Catalina **NEW MBP**

2021-11-16 Thread Ralph DiMola via use-livecode
Apple did it again. It looks like only Xcode 13 will run on Monterey. Looks
can be deceiving. If you activate Xcode 12.5.x from the command line it will
start.


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: Tuesday, November 16, 2021 7:01 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: Xcode and Catalina **NEW MBP**

Ralph,
I said "Catalina" when I meant "Monterey".
It's a new MBP, and no versions of XC before 13.1 will run on it.
I used a restore from Time Machine to get the machine set up, so all of the
old XCodes that I had moved over, but none of the command-line tools seem to
work.
#firstWorldProblems

On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike,
>
> From 9.6.5 Release notes.
>
>   - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the 
> iOS
> 14.4 SDK
>
> There is a full list of working LiveCode/macOS/Xcode combinations here:
> https://livecode.com/docs/9-5-0/faq/faq/
>
> Important: From the start of April 2021, Apple is only accepting apps 
> built using iOS14.x SDKs. This means that, if you wish to submit apps 
> to the AppStore you will have to be running at least macOS 10.15 in 
> order to be able to install the necessary version of Xcode.
>
> 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: Tuesday, November 16, 2021 12:21 PM
> To: How to use LiveCode
> Cc: Mike Kerner
> Subject: xcode and catalina **NEW MBP**
>
> Has anyone gotten LC/XC to work on a new mac that came with catalina 
> pre-installed?
> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 
> 12.5.1 and below not even running in Catalina, so I can't complete the 
> installs.
>
> --
> 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
>


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


RE: Xcode and Catalina **NEW MBP**

2021-11-16 Thread Ralph DiMola via use-livecode
Mike,

>From 9.6.5 Release notes.

  - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS
14.4 SDK

There is a full list of working LiveCode/macOS/Xcode combinations here:
https://livecode.com/docs/9-5-0/faq/faq/

Important: From the start of April 2021, Apple is only accepting apps built
using iOS14.x SDKs. This means that, if you wish to submit apps to the
AppStore you will have to be running at least macOS 10.15 in order to be
able to install the necessary version of Xcode.

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: Tuesday, November 16, 2021 12:21 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: xcode and catalina **NEW MBP**

Has anyone gotten LC/XC to work on a new mac that came with catalina
pre-installed?
I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 and
below not even running in Catalina, so I can't complete the installs.

--
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 Brower Widget Error Accessing Local Files LC 9.6.5 (rc 2)

2021-11-09 Thread Ralph DiMola via use-livecode
I am getting "e\net::ERR_ACCESS_DENIED" when accessing a local html files in
the "specialFolderPath("temporary")"  folder. I put an answer in the app to
display all the files and they are indeed there. The files are in a sub
folder of the temp folder. This is for Android. I haven't tried iOS yet. I
know we've been here before but I thought using the temp folder solved it.
Is this a regression or have I missed something?

 

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 restrain impatient tsNet?

2021-11-08 Thread Ralph DiMola via use-livecode
Ben,

One more thing. Function GetNetworkType below will return the network type. The 
handler NetworkType will report the status and version.

command NetworkType

   if GetNetworkType() = "Sockets" then

  answer "tsNet is disabled"

   else

  answer "tsNet in use. Version==>"& tsNetVersion()

   end if

end NetworkType


function GetNetworkType

   local tLibUrlDriver
   
   try

  put the behavior of stack"revLibUrl" into tLibUrlDriver

   end try

   if tLibUrlDriver is empty then

  return "Sockets"

   else

  return "tsNet"

   end if
   
end GetNetworkType

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 
Ben Rubinstein via use-livecode
Sent: Sunday, November 07, 2021 4:55 PM
To: use-livecode@lists.runrev.com
Cc: Ben Rubinstein
Subject: Re: How to restrain impatient tsNet?

Thanks Mark and Matthias!

Ben

On 07/11/2021 19:28, matthias rebbe via use-livecode wrote:
> Ben,
> 
> i am not sure if you are already aware of this, but in case you ever want to 
> test your app without tsNet in  LC 9.5.x or higher or you want to create it 
> with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC 
> IDE before testing or creating the standalone. LC then uses only the 
> 'standard' libUrl library.
> 
>   To disable tsNET execute this in the message box
>   dispatch "revunloadlibrary" to stack tsnetliburl
> 
> Please keep in mind that you have to unselect tsNet in the Inclusions section 
> of the standalone builder in case you've set the standalone settings to 
> manually select the inclusions.
> 
> 
> To enable tsNET again execute this in the message box
>   dispatch "revloadlibrary" to stack tsnetliburl
> 
> 
> Regards,
> Matthias
> 
> 
>> Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode 
>> :
>>
>> I think tsNetSetTimeouts is what you need :)
>>
>> Warmest Regards,
>>
>> Mark
>>
>> Sent from my iPhone
>>
>>> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode 
>>>  wrote:
>>>
>>> 
>>> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W 
>>> for fixing the accumulating/sorting delay loops, which has made this 
>>> possible).
>>>
>>> I've hit what I hope is the last hurdle: at one point in its processing, 
>>> the app has to load a resource over HTTP, which is s.l.o.w. - it typically 
>>> takes around 8 minutes at the moment.
>>>
>>> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an 
>>> hour) this has been fine.
>>>
>>> But under 9.6.5, in spite of this setting, it craps out within a minute 
>>> with the message
>>>tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred 
>>> the last 30 seconds
>>>
>>> Does tsneterr ignore the sockettimeoutinterval? Is there some other 
>>> property I can set to persuade it to be patient?
>>>
>>> TIA,
>>>
>>> Ben
>>>
>>> ___
>>> use-livecode mailing list
>>> use-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: Android .idsig file

2021-10-28 Thread Ralph DiMola via use-livecode
Interesting... If I make an APK I get the expected apk and the additional
.idsig But if I build an app bundle I get the expected .aab and an .apk as a
bonus?

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, October 28, 2021 4:02 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: Android .idsig file

What's the purpose of the .idsig file when building an Android apk? I looked
it up and it's related to app signing but I'm not sure whether I need that
file for something later or not.

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


[OT] M1 Mac Mini USB problems

2021-10-27 Thread Ralph DiMola via use-livecode
I am having problems with my new 2020 Mac Mini's USB ports. The new time 
machine disk will only backup a gig or two before erroring out. Then the disk 
is then is not mountable. All sorts of errors when trying first aid or trying 
to mount it via first aid. Sent the disk back and the new one did the same 
thing. I can init it on the win 10 system and then the Mac Mini sees it again. 
I thought it was an unpowered USB-A hub issue. I then got the power supply for 
the hub and same thing. I bought an USB-C hub and again same thing. Plugged the 
Drive directly into the Mac Mini and same problems. My USB keyboard/mouse will 
not work reliably using either the USB-A or C hub. It seems that the Mac Mini's 
USB HW/SW is flakey. 

Has anyone else seen/heard anything like this?

This is very annoying after dropping over a yard and a half on this thing to 
replace my perfectly running Mac Book Pro so I could upgrade to Big Sur.



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: Problems with simulator

2021-10-26 Thread Ralph DiMola via use-livecode
I found that starting the simulator manually before testing will usually stop 
the timeouts.

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: Our survey - please don't discuss :)

2021-10-22 Thread Ralph DiMola via use-livecode
My hosting provider was doing the same thing. There was an option in the web
interface to let all email rip and let the client SW deal with it along with
smart email habits. We actually a serious issue because we missed a few
legitimate emails from one customer. This was from a fortune 500 company. I
don't want some lame AI SW making mistakes. This almost cost us some real
money!

Buy the way I won't be using LC anymore I am getting $25,000,000 from an
anonymous benefactor in Asia. Imagine that, of all the people in the world I
was picked! Just sent my banking info and SS number. Waiting for a deposit
now.

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, October 22, 2021 1:25 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Our survey - please don't discuss :)

I wonder if it got caught up in a spam filter. My hosting provider is
getting stricter about that, and they filter out some email before it even
gets to my account.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On October 22, 2021 12:19:08 PM Heather Laine
via use-livecode  wrote:

> @Sean - I can try. I didn't see an obvious way to do so in the 
> interface. I will return to this on Monday, when we will send out a survey
reminder.
> @Jacque and  any others that want the survey and didn't get it...  I 
> will try and ensure those that wish to receive this survey do so on 
> Monday. I'm am out of time today I'm afraid, but don't worry, we're 
> not going to close this survey quickly. We want plenty of input.




___
use-livecode mailing list
use-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: IDE crashing on Windows 10

2021-10-15 Thread Ralph DiMola via use-livecode
I don't know how C modern programs handle errors but on VAX VMS there was a
handler available to all languages. It was named
"lastChanceExceptionHandler"(always sounded like the OK Corral). This
allowed the program to possibly save work, gracefully shutdown and produce
crash logs. This new era just crash and go away is astounding. Is there no
way to trap severe errors? 


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 Bernard Devlin via use-livecode
Sent: Friday, October 15, 2021 1:14 PM
To: How to use LiveCode
Cc: Bernard Devlin
Subject: IDE crashing on Windows 10

LC 9.6.1

I can be in the Script Editor typing away. I move the mouse to click on
another line of the script. Blammo. LC crashes.

Any idea how this can be pinned down?  I can't see any pattern.  The only
plugin open is Geoff's Navigator. There's only a few tabs open in the SE.
The total size of all scripts in the stack is probably 1000  lines.

I'm not doing anything fancy with fields or images. The portion I'm working
on is just posting to a URL, then calling jsonToArray on the results.

It's baffling me. And it doesn't look good for a professional tool.   I've
seen this kind of thing before with red bullet breakpoints (just clicking on
one of those to set/unset it) could cause the IDE to crash.

Regards, Bernard
___
use-livecode mailing list
use-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 Ad-Hoc installation iOS 15

2021-10-15 Thread Ralph DiMola via use-livecode
Thanks Panos,

It installs OK on devices running iOS <15 with no errors and runs fine. The
intermediate cert is there and automatically installed by the fresh install
of Xcode. I think you may be correct that I have to create a fresh dev
certificate and dev provisioning profile unless you have any insight. I
guess it looks like the distribution profile using existing cert is OK(I
hope)

Thanks again.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of panagiotis m via use-livecode
Sent: Friday, October 15, 2021 12:09 PM
To: How to use LiveCode
Cc: panagiotis m
Subject: Re: iOS Ad-Hoc installation iOS 15

Hello Ralph,

This (Unable to install "app name". this app cannot be installed because its
integrity could not be verified) sounds like a signing issue.

I would suggest you have a look at the certificates that are included in
your new Dev Provisioning Profile. Are these still valid? COuld it be the
case they have been revoked?

Also, have you installed Apple's new intermediate cert in your M1 mac? See
https://developer.apple.com/support/expiration/ and grab the new cert from
here https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer

Have you tried installing in a different device other than your tester's
iOS15 device?

I think the worst case scenario would be to create a fresh dev certificate
and dev provisioning profile.

Kind regards,
Panos
--

On Fri, 15 Oct 2021 at 18:50, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> When I was building on the Catalina/LC 9.6.3/Xcode12.4 my iOS 15 
> tester was getting ("app name" Needs to be Updated. The developer of 
> this app needs to update it to work with this version of iOS) I 
> updated to an M1 Mac Big Sur/LC 9.6.5/Xcode 12.5. I copied my KeyChain 
> from the old Mac(export/import) Both the dev and distribution certs 
> say their OK. I regenerated the dev provisioning profile only because 
> the tester was getting (Unable to install "app name". this app cannot 
> be installed because its integrity could not be verified). I built a 
> distribution version and uploaded it via the transporter and other 
> than the usual warnings Apple approved the upload. My iOS 15 tester is 
> still getting (Unable to install "app name". this app cannot be 
> installed because its integrity could not be
> verified)
>
> Has anyone seen this? Any Ideas?
> Thanks in advance.
>
>
> 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 m via use-livecode
> Sent: Friday, October 15, 2021 4:19 AM
> To: How to use LiveCode
> Cc: panagiotis m
> Subject: Re: Android SDK install without Android Studio (LC 9.6.5 App
> Bundles)
>
> Hello all,
>
> Update: I did not realise that Ralph was talking about the "new" thing 
> (released on Feb 2020) that is the "command line tools". I thought he 
> was suggesting to use the "old" sdk tools, but instead of using the 
> SDK Manager GUI, which is now broken, to use the "sdkmanager" command 
> line tool that is located in "sdk_tools/bin/sdkmanager".
>
> So, the part of my previous response that says that this approach is 
> quite possible it will break in the future, does not apply to what 
> Ralph was actually referring to, i.e the "command line tools":
>
> >>>>>1) Download the "Command line tools only" from
> https://developer.android.com/studio#downloads
>
> So, we can update the lesson to offer the simpler option as outlined 
> by Ralph.
>
> Kind regards,
> Panos
> --
>
> On Fri, 15 Oct 2021 at 10:58, panagiotis m  wrote:
>
> > Hello all,
> >
> > What Ralph suggests does work, and this is what we have advised a 
> > couple of users to try, after they contacted us.
> >
> > However, the problem with this approach is that it is quite possible 
> > it will break in the future. Moreover, using the Terminal/cmd can be 
> > quite advanced for several users.
> >
> > Taking these into account, as well as the fact that Google pushes 
> > people to use Android Studio, we decided to choose Android Studio as 
> > the suggested approach, since it is way more futureproof.
> >
> > PS: Using Android Studio will also probably eliminate the need to 
> > download a separate jdk from Oracle. The reason we have not yet 
> > implemented Bernard's suggestion so far - i.e. to tweak the IDE to 
> &

iOS Ad-Hoc installation iOS 15

2021-10-15 Thread Ralph DiMola via use-livecode
When I was building on the Catalina/LC 9.6.3/Xcode12.4 my iOS 15 tester was
getting ("app name" Needs to be Updated. The developer of this app needs to
update it to work with this version of iOS)
I updated to an M1 Mac Big Sur/LC 9.6.5/Xcode 12.5. I copied my KeyChain
from the old Mac(export/import) Both the dev and distribution certs say
their OK. I regenerated the dev provisioning profile only because the tester
was getting (Unable to install "app name". this app cannot be installed
because its integrity could not be verified). I built a distribution version
and uploaded it via the transporter and other than the usual warnings Apple
approved the upload. My iOS 15 tester is still getting (Unable to install
"app name". this app cannot be installed because its integrity could not be
verified)

Has anyone seen this? Any Ideas?
Thanks in advance.


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 m via use-livecode
Sent: Friday, October 15, 2021 4:19 AM
To: How to use LiveCode
Cc: panagiotis m
Subject: Re: Android SDK install without Android Studio (LC 9.6.5 App
Bundles)

Hello all,

Update: I did not realise that Ralph was talking about the "new" thing
(released on Feb 2020) that is the "command line tools". I thought he was
suggesting to use the "old" sdk tools, but instead of using the SDK Manager
GUI, which is now broken, to use the "sdkmanager" command line tool that is
located in "sdk_tools/bin/sdkmanager".

So, the part of my previous response that says that this approach is quite
possible it will break in the future, does not apply to what Ralph was
actually referring to, i.e the "command line tools":

>1) Download the "Command line tools only" from
https://developer.android.com/studio#downloads

So, we can update the lesson to offer the simpler option as outlined by
Ralph.

Kind regards,
Panos
--

On Fri, 15 Oct 2021 at 10:58, panagiotis m  wrote:

> Hello all,
>
> What Ralph suggests does work, and this is what we have advised a 
> couple of users to try, after they contacted us.
>
> However, the problem with this approach is that it is quite possible 
> it will break in the future. Moreover, using the Terminal/cmd can be 
> quite advanced for several users.
>
> Taking these into account, as well as the fact that Google pushes 
> people to use Android Studio, we decided to choose Android Studio as 
> the suggested approach, since it is way more futureproof.
>
> PS: Using Android Studio will also probably eliminate the need to 
> download a separate jdk from Oracle. The reason we have not yet 
> implemented Bernard's suggestion so far - i.e. to tweak the IDE to use 
> the jre/openjdk that is bundled with Android Studio - is that it 
> requires some work to make it work seamlessly on all 3 platforms 
> (Mac/Win/Linux), and usually we have more "pressing" issues to resolve.
> Moreover, Bernard's comments and instruction in the forums and 
> elsewhere are very clear and easy to follow. But we do have this in 
> our (long) TODO list.
>
> Kind regards,
> Panos
> --
>
>
> On Fri, 15 Oct 2021 at 10:31, Bernard Devlin via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
>> One has to wonder why, if that is so simple, LC Ltd recommend that 
>> people install the full Android Studio.  That is the only advice they 
>> provide on setting things up for Android development.
>>
>> You only have to look at the Lesson to see the problems people have 
>> with the existing procedure.  There are 86 comments on that Lesson. 
>> I've spent days on the Forum helping people out with Android 
>> Studio/LC config problems.
>>
>> https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-stu
>> dio
>>
>> Regards, Bernard
>>
>>
>> >
>> ___
>> use-livecode mailing list
>> use-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: Android SDK install without Android Studio (LC 9.6.5 App Bundles)

2021-10-15 Thread Ralph DiMola via use-livecode
Panos,

I agree that this might be too much for some users. The main reason I wanted
to get a way around the full studio is I just got a new M1 Mac with a
soldered in HD and wanted to preserve disk space (in this day and age can
you imagine that?). I started on the Win 10(that had JDK installed already)
and moved last night to the new Mac.

As you said without the full studio it can be complicated, I did not
document the installation of the Java JDK.

Question: Although I was able to build and sign an Android app using my
existing KeyStore on the Mac after using my command line method, in the LC
prefs the JDK location is empty? I installed the version I had
jdk-8u102-macosx-x64.

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 m via use-livecode
Sent: Friday, October 15, 2021 4:19 AM
To: How to use LiveCode
Cc: panagiotis m
Subject: Re: Android SDK install without Android Studio (LC 9.6.5 App
Bundles)

Hello all,

Update: I did not realise that Ralph was talking about the "new" thing
(released on Feb 2020) that is the "command line tools". I thought he was
suggesting to use the "old" sdk tools, but instead of using the SDK Manager
GUI, which is now broken, to use the "sdkmanager" command line tool that is
located in "sdk_tools/bin/sdkmanager".

So, the part of my previous response that says that this approach is quite
possible it will break in the future, does not apply to what Ralph was
actually referring to, i.e the "command line tools":

>1) Download the "Command line tools only" from
https://developer.android.com/studio#downloads

So, we can update the lesson to offer the simpler option as outlined by
Ralph.

Kind regards,
Panos
--

On Fri, 15 Oct 2021 at 10:58, panagiotis m  wrote:

> Hello all,
>
> What Ralph suggests does work, and this is what we have advised a 
> couple of users to try, after they contacted us.
>
> However, the problem with this approach is that it is quite possible 
> it will break in the future. Moreover, using the Terminal/cmd can be 
> quite advanced for several users.
>
> Taking these into account, as well as the fact that Google pushes 
> people to use Android Studio, we decided to choose Android Studio as 
> the suggested approach, since it is way more futureproof.
>
> PS: Using Android Studio will also probably eliminate the need to 
> download a separate jdk from Oracle. The reason we have not yet 
> implemented Bernard's suggestion so far - i.e. to tweak the IDE to use 
> the jre/openjdk that is bundled with Android Studio - is that it 
> requires some work to make it work seamlessly on all 3 platforms 
> (Mac/Win/Linux), and usually we have more "pressing" issues to resolve.
> Moreover, Bernard's comments and instruction in the forums and 
> elsewhere are very clear and easy to follow. But we do have this in 
> our (long) TODO list.
>
> Kind regards,
> Panos
> --
>
>
> On Fri, 15 Oct 2021 at 10:31, Bernard Devlin via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
>> One has to wonder why, if that is so simple, LC Ltd recommend that 
>> people install the full Android Studio.  That is the only advice they 
>> provide on setting things up for Android development.
>>
>> You only have to look at the Lesson to see the problems people have 
>> with the existing procedure.  There are 86 comments on that Lesson. 
>> I've spent days on the Forum helping people out with Android 
>> Studio/LC config problems.
>>
>> https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-stu
>> dio
>>
>> Regards, Bernard
>>
>>
>> >
>> ___
>> use-livecode mailing list
>> use-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 SDK install without Android Studio (LC 9.6.5 App Bundles)

2021-10-14 Thread Ralph DiMola via use-livecode
If you don't want all the weight of the full Studio install you can install
just the build tools (100mb vs. 1gb). Unfortunately the SDK manager GUI is
no longer included with the build tools. The old GUI only lets you install
APIs up to API 29. LC 9.6.5 requires API 30. This seems like Google's push
to get users to download and install the full studio where the GUI now
exists. LC(and some other like dev tools) don't use or need the full studio.
Five simple steps:

This is for Windows but it should be relatively the same for other
platforms.

1) Download the "Command line tools only" from
https://developer.android.com/studio#downloads
2) Unzip into some folder.
3) Open up a command prompt and navigate to the "bin" folder
4) Execute this command. NOTE fill in "somePath" to the location where the
"bin" folder is. (one level up from the folder you navigated to in step 3)

sdkmanager --sdk_root=somePath "platform-tools" "platforms;android-30"
"build-tools;30.0.3"

5) Point the LC mobile prefs to the somePath folder

Done. Now build away...

Note: the command 
sdkmanager --sdk_root=somePath --list
Will list all available packages. When LC requires an newer SDK down the
road you will find it in this list.


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: Keep stack proportions when resizing

2021-10-08 Thread Ralph DiMola via use-livecode
resizeStack has 4 parameters that can be very useful.

resizeStack pNewWidth, pNewHeight, pOldWidth, pOldHeight


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: Friday, October 08, 2021 5:31 PM
To: How to use LiveCode
Cc: Sean Cole (Pi)
Subject: Re: Keep stack proportions when resizing

on resizeStack
   send "ratioSet" to me in 0.01 sec
end resizeStack

on ratioSet
   lock screen
   put the topleft of this stack into tTL
   set the width of this stack to the height of me * 1.78 -- Ratio 16:9
   set the topleft of this stack to tTL
   unlock screen
end ratioSet
___
use-livecode mailing list
use-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: IAP in App Store

2021-10-07 Thread Ralph DiMola via use-livecode
"complete" status only means that the process is complete. A purchase is
only complete if "complete" is preceded by a "paymentReceived" or in the
case of a user with a new device "restored". At least that's the way I
understand it. This logic has worked for me.

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, October 06, 2021 4:33 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: IAP in App Store

I'm confused about how the purchase flow works so my question is probably
incorrect. There is no error when I see the "complete" status, it only shows
up in my logging file. After adding additional logging, it looks like
"complete" is sent after every transaction. But if something goes wrong,
like asking for a product that isn't in the Play Store yet, there are no
status reports except "complete." The app doesn't receive any other info and
Android doesn't display any dialog. Seems like I should get an "invalid sku"
status error.

Here's part of the log where I made a successful test purchase (product ID
obscured):

***
Wed, 6 Oct 2021 14:12:55 -0500 BEGIN IAP PURCHASE: 
   -- purchaseStateUpdate logs this:
Wed, 6 Oct 2021 14:13:15 -0500 Purchase state:  paymentReceived
| PurchaseID: 3

   -- fullfillment handler logs this and sends info to back end server:
Wed, 6 Oct 2021 14:13:15 -0500 Purchase complete: true |  |
paymentReceived Wed, 6 Oct 2021 14:13:15 -0500 queryServer about to query
for newPurchase Wed, 6 Oct 2021 14:13:15 -0500 newPurchase params:
{"packageid": "","transaction_id": "3","source": "android"}

   -- and finally purchaseStateUpdate returns "complete":
Wed, 6 Oct 2021 14:13:15 -0500 Purchase state:  complete |
PurchaseID: 3
***

I'm working in the internal test track and the choices in the test purchase
dialog do not include a Cancel button. To cancel, I tap outside the dialog
and it goes away. Sometimes I get an email about my "purchase" (which is
normal) and usually it verifies a cancellation. But one email had some
additional test info:

"This test purchase was cancelled because it was not acknowledged. You
should ensure all purchases are acknowledged so they are not subject to
refunds. For more information see
https://developer.android.com/google/play/billing/integrate#process.;

I just repeated the same cancellation method just now and did not get that
warning in email. I didn't actually get an email at all.

One faintly amusing thing is that Google is counting my unpaid test
purchases as real ones in their Play Points history, and yesterday I
acquired enough points to rent a free movie and advance to level Silver for
additional benefits. :)

Given how complex their IAP store setup is, I think that's only fair.


On 10/6/21 11:40 AM, panagiotis m via use-livecode wrote:
> Hello Jacque,
> 
> What is the exact error that causes purchaseStateUpdate to be sent 
> with a "complete" status?
> Google is supposed to show its own notification in most cases, so 
> that's fine, but then the purchaseStateUpdate should be sent with an 
> appropriate status anyway.
> 
> Kind regards,
> Panos
> --
> 
> 
> 
> On Tue, 5 Oct 2021 at 20:54, J. Landman Gay via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
> 
>> I guess this is for @Panos.
>>
>> Now that I have IAP working I noticed another thing. I'm building for 
>> Android with LC 9.6.5
>> RC-1 which includes the new billing library. My script has a 
>> purchaseStateUpdate handler that logs every response and sends the 
>> info to a IAPPurchaseComplete handler that manages the purchase or 
>> the error. If there is an error this handler puts up a dialog 
>> informing the user.
>>
>> I notice any error is not received by the handler, instead Google 
>> puts up its own notification and the status returns as "complete". My 
>> notification never runs. That's fine and it looks better than my own 
>> but I'm curious whether something has changed in the new billing 
>> library, and if so, what.
>>
>> --
>> 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
> 


-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing 

RE: iOS 15 and Xcode Cant Install app

2021-10-01 Thread Ralph DiMola via use-livecode
I would assume it's signed and notarized. It installed on my Mac Mini running 
iOS 12.x just fine. From what I could find that this may be caused by signing 
on Catalina not the iOS SDK version. Apparently building on Big Sur with Xcode 
12.4 is OK(until 4/2022). This might be a back-door way to get us to buy a new 
Mac now. It worked on me, I'm getting a M1 Mac Mini.

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, October 01, 2021 3:57 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: iOS 15 and Xcode Cant Install app

Is it signed and notarized? I think that's what the error means.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | 
http://www.hyperactivesw.com On September 30, 2021 7:38:38 PM Ralph DiMola via 
use-livecode  wrote:

> I built an ad-hoc iOS app using Catalina 10.15.7 Xcode 12.4 and LC 
> 9.6.3. A tester tried to install and got ("App name" Needs to be 
> updated. The developer of this app need to update it to work with this 
> version of iOS) I know this was brought up on the list but was there a 
> resolution?
> From the Apple developer site: “Starting April 2022, all iOS and 
> iPadOS apps submitted to the App Store must be built with Xcode 13 and the 
> iOS 15 SDK”
> Xcode 12.4 has the iOS 14.4 SDK so I should be OK until 4/2022. The 
> tester had a pre installed version the app that used the iOS 13 SDK 
> built last year that ran OK until they tried to install the new app. 
> Could this be an LC issue (plist?) or did Apple change the rules? It 
> seems that the older SDKs will run but just can't be installed. Is this an 
> ad-hoc app only problem??
> I've seen conflicting info while doing some searches.
> Does anyone know?
> Thanks in advance
>
> 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 15 and Xcode Cant Install app

2021-09-30 Thread Ralph DiMola via use-livecode
I built an ad-hoc iOS app using Catalina 10.15.7 Xcode 12.4 and LC 9.6.3. A 
tester tried to install and got ("App name" Needs to be updated. The developer 
of this app need to update it to work with this version of iOS)
I know this was brought up on the list but was there a resolution?
From the Apple developer site: “Starting April 2022, all iOS and iPadOS apps 
submitted to the App Store must be built with Xcode 13 and the iOS 15 SDK”
Xcode 12.4 has the iOS 14.4 SDK so I should be OK until 4/2022. The tester had 
a pre installed version the app that used the iOS 13 SDK built last year that 
ran OK until they tried to install the new app. Could this be an LC issue 
(plist?) or did Apple change the rules? It seems that the older SDKs will run 
but just can't be installed. Is this an ad-hoc app only problem??
I've seen conflicting info while doing some searches.
Does anyone know?
Thanks in advance

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: Starter Plan offer - China users

2021-09-27 Thread Ralph DiMola via use-livecode
When I do this type of licensing I allow n number of activations without 
phoning home to take this into account. I would hope the LC does the same.

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 
Glen Bojsza via use-livecode
Sent: Monday, September 27, 2021 2:55 PM
To: How to use LiveCode
Cc: Glen Bojsza
Subject: Re: Starter Plan offer - China users

What happens if the user is on an airplane and wants to use the app?


On Mon, Sep 27, 2021 at 2:26 PM Peter Bogdanoff via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> The starter plan for LiveCode is described:
>
> "On the Starter plan, if you cancel your subscription your apps will 
> also stop working. If you need to build apps that work forever, you 
> need the Standard plan.”
>
> This seems to imply that Starter plan apps “phone home” to LiveCode 
> when they open to check the status of the developer’s subscription.
>
> A heads up for anyone contemplating the use of this plan for app users 
> in China—the Great Firewall is very blocking these days. If the “phone call”
> connection is required, the application may not open dependably.
>
> I have experience with Internet blocking issues in China. It’s an 
> alternate online reality there…
>
> Peter Bogdanoff
> ___
> use-livecode mailing list
> use-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 15 - Xcode version

2021-09-23 Thread Ralph DiMola via use-livecode
I'm on Catalina with Xcode 12.4. My mobile device is too old to go to 15. Can 
anyone test the Catalina/Xcode 12.4/iOS 15 scenario?

Thanks in advance!

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: Last record of a cursor?

2021-09-17 Thread Ralph DiMola via use-livecode
Bob,

See:
revQueryIsAtEnd
revnumberofrecords

If the number of records is 0 then no results were returned.
If revQueryIsAtEnd is true then you're at the end. This will happen after
you do an additional revMoveToNextRecord when on the last record.

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: Friday, September 17, 2021 7:05 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Last record of a cursor?

Hi all. 

I am trying to discern between when I have an empty cursor, and when I have
reached the last record of a cursor. 

I have noticed that if I query a database that returns no results, I still
get a cursor ID, so I cannot test for a cursor ID. So after my loop to
convert a cursor to an array, I check to see if I am on the last record by
using put revCurrentRecord(pCursorID) into tLastRecord, then testing to see
if it returns 0, which it will if the cursor is empty. 

But it seems that if I am already on the last record of the cursor, then I
use revMoveToNextRecord pCursorID, revCurrentRecord ALSO RETURNS 0! So now I
am left without a way to tell if the cursor is empty, or if otherwise, I
have reached the last record. 

How is this done?? Normally I use sqlYoga so these things are spared me, but
in this instance I am using the native API calls. 

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: IAP in App Store

2021-09-17 Thread Ralph DiMola via use-livecode
Might we have a message path issue here? Put a test "purchaseStateUpdate" in
the card of the stack that you are starting this in.

Ralph DiMola
IT Director
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, September 17, 2021 6:26 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: IAP in App Store

Yes, I tested on real devices, both an iPad and an iPhone. I also just set
up testing on the Google Play Store and got the same non-results.

I will look at the test stack in the lesson, thanks Panos.


On 9/17/21 3:22 PM, panagiotis m via use-livecode wrote:
> Hello Jacque,
> 
> I am away from my machine now, so I cannot test, but I would suggest 
> you try with the simplest example first, that is to use the sample 
> stack of the lesson, and just change the in-app product IDs to match 
> yours. If this works for you (by "works" I mean at least to show the 
> in-app purchase dialog), it means that something in your script blocks the
communication.
> If this is the case, I am happy to investigate until we find the culprit.
> 
> Kind regards,
> Panos
> 
> Ps: I take it you are testing on a physical device, not in the 
> simulator, is that correct?
> 
> On Fri, 17 Sep 2021, 22:51 J. Landman Gay via use-livecode, < 
> use-livecode@lists.runrev.com> wrote:
> 
>> Panos, the LC lesson says the mobileStoreMakePurchase command sends 
>> the request and begins the purchasing process. The behavior I'm 
>> seeing is that the request isn't being sent at all.
>>
>> The older syntax has a specific mobilePurchaseSendRequest command, 
>> which the newer syntax does not use. Should I add that to my script? 
>> Will it hurt if I do?
>>
>> On 9/17/21 1:34 PM, panagiotis m via use-livecode wrote:
>>> Hello Jacque,
>>>
>>> How do you initiate a purchase? Have you called 
>>> mobileStoreEnablePurchaseUpdates? This command creates a "channel" 
>>> for communicating with the app store. Since you get no response at 
>>> all, it seems for some reason this channel is not created. Can you 
>>> share your purchase code?
>>>
>>> Kind regards,
>>> Panos
>>>
>>> On Fri, 17 Sep 2021, 19:39 J. Landman Gay via use-livecode, < 
>>> use-livecode@lists.runrev.com> wrote:
>>>
 After initiating a purchase I get nothing. No dialog, no errors. It 
 acts like I never pushed the button, the app just sits there. I'm 
 logging everything. The log shows my comment that I'm initiating a
purchase.
>> There
 are no other log entries until the timeout message.


 The product ID matches the one in iTunes Connect exactly, because I
>> copied
 it from there and pasted it into my script. (I've hard-coded a 
 single product just for testing because I needed one that was a 
 non-renewable subscription so that I could repurchase several 
 times.)


 There's one thing I didn't mention. Our Ruby programmer set up a 
 server API in Connect so she could get notice of any refunds. Does 
 that mean that
>> all
 responses would be going to the server? Even so, you'd think I'd 
 get a dialog about my Apple ID. She's turned it off for now and 
 I'll try again shortly, but she doesn't think that would be an issue.
Do you know?

 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive 
 Software | http://www.hyperactivesw.com On September 17, 2021 
 2:48:49 AM panagiotis m via use-livecode 
  wrote:

> Hello Jacque,
>
>> instead the next call to make a purchase should pop up a 
>> dialog
 asking
> for an Apple ID
> Yes, this is what should happen. What do you get when trying to 
> make a purchase?
>
> I take it that the in-app purchase product IDs in your script do 
> match
 the
> ones you set up in iTunes Connect, is that correct?
>
>> Is the lesson accurate? I get no response at all from
> purchaseStateUpdate.
> Yes, the lesson is still accurate, I did test it 2 weeks ago. The
 response
> from purchaseStateUpdate will arrive *after* you get the purchase
>> dialog
> and click Buy or Cancel.
>
> Kind regards,
> Panos
> --
>
>
> On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
>> I'm trying to test IAP in the App Store. I have a tester account 
>> and
 I'm a
>> verified test user
>> with a new Apple ID that is not used anywhere else.
>>
>> Following the LC lesson, it says to sign out of the app store in
 Settings.
>> I had to look up how
>> to do that in iOS 14, and did so. It also said not to sign in 
>> again
 while
>> in Settings, instead
>> the next call to make a purchase should pop up a dialog asking 
>> for an Apple ID. It does not.
>>
>> Is the lesson accurate? I get no 

RE: LiveCode 10 - what are your thoughts on the new features?

2021-09-09 Thread Ralph DiMola via use-livecode
>put [4, 5, 6] into tVar2
>
>equivalent to
>
> put 4 into tVar2[1]
> put 5 into tVar2[2]
> put 6 into tVar2[3]
>
>or
>
> put 4 into tVar2[4]
> put 5 into tVar2[5]
> put 6 into tVar2[6]

I hope it's the former.

What about

put ["a","b","c"] into tVar3

Is this that same as

put "a" into tVar3[1]
put "b" into tVar3[2]
put "c" into tVar3[3]

???

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, September 09, 2021 11:47 AM
To: Mark Waddingham via use-livecode
Cc: Mark Wieder
Subject: Re: LiveCode 10 - what are your thoughts on the new features?

On 9/8/21 10:40 PM, Mark Waddingham via use-livecode wrote:

>put [1, 2, 3] into tVar2
> 
> is equivalent to:
> 
>put 1 into tVar2[1]
>put 2 into tVar2[2]
>put 3 into tVar2[3]

That's still ambiguous, though. Is

put [4, 5, 6] into tVar2

equivalent to

 put 4 into tVar2[1]
 put 5 into tVar2[2]
 put 6 into tVar2[3]

or

 put 4 into tVar2[4]
 put 5 into tVar2[5]
 put 6 into tVar2[6]

-- 
  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: LiveCode 10 - what are your thoughts on the new features?

2021-09-09 Thread Ralph DiMola via use-livecode
"Language is a very fluid thing." Yes it is. Up here in NYS we stop off for the 
"One". Where "one" is from 1 to ...

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 
Andre Garzia via use-livecode
Sent: Thursday, September 09, 2021 6:27 AM
To: How to use LiveCode
Cc: Andre Garzia
Subject: Re: LiveCode 10 - what are your thoughts on the new features?

I’ll just add that a couple of pints never means exactly two pints….

Language is a very fluid thing. 

Sent from my iPhone

> On 8 Sep 2021, at 23:14, matthias rebbe via use-livecode 
>  wrote:
> 
> Btw. this is how Merriam-Webster thinks about couple, few and several.
> 
> https://www.merriam-webster.com/words-at-play/couple-few-several-use 
> 
> 
> 
> 
>> Am 09.09.2021 um 00:08 schrieb matthias rebbe via use-livecode 
>> :
>> 
>> More than three. 
>> 
>> 
>> 
 Am 09.09.2021 um 00:04 schrieb Bob Sneidar via use-livecode 
 :
>>> 
>>> Then what does a few mean? 
>>> 
>>> Bob S
>>> 
>>> 
 On Sep 8, 2021, at 14:49 , matthias rebbe via use-livecode 
  wrote:
 
 How lucky we Germans are with having to write some words in capitals. ;) 
 
 'ein Paar' (a couple)  means 2
 'ein Paar Schuhe' means a pair of shoes
 
 'ein paar' means two or three or somewhere in the range.
 'ein paar Schuhe' means 2 or 3 or somewhere in the range shoes 
 
 
 In the English lessons in school  we learned  that for example  'a couple 
 of days' meant 2 or 3 or somewhere in that range.
 And when we used  'couple' as a noun then it was meant as  2 that belong 
 to each other or however you would call that.
 e.g. married couple, bird couple. That's the way i use 'couple" now for 
 more than 40 years. 
 
 Don't tell me that i was wrong more than 40 years. ;) 
 
 
> Am 08.09.2021 um 21:54 schrieb J. Landman Gay via use-livecode 
> :
> 
> My husband said the same when I told him about this thread. "Couple" 
> means two. I said yes, but colloquially it can mean "two or three or 
> somewhere in that range." We almost started a longer discussion about it, 
> but I reminded him of our 30+ years of ongoing talk about a "fact" so we 
> both stopped.
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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: Suggestion: Non-Appbuilding Community Edition

2021-09-02 Thread Ralph DiMola via use-livecode
True, true.

There could be a small group of programmers that pass a stack around but you 
would not be able to convince/teach a civilian to install a programming IDE and 
explain how to run the stack along with any other supporting files, SW or 
plug-ins... Mobile would be a non-starter. I would not dismiss this 
out-of-hand. A 90 day free IDE could also be an option.

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 Miller via use-livecode
Sent: Thursday, September 02, 2021 10:31 AM
To: How to use LiveCode
Cc: Kevin Miller; Michael Kristensen
Subject: Re: Suggestion: Non-Appbuilding Community Edition

Thanks for the constructive suggestion. Unfortunately with a free non-app 
building version, everyone who needs to run an app can just download that.

Kind regards,

Kevin

Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
LiveCode: Develop Yourself

On 02/09/2021, 14:49, "use-livecode on behalf of Michael Kristensen via 
use-livecode"  wrote:

Hi there

I suggest that there could be a Non-Appbuilding Community Edition

That would be for personal use, and to learn coding.

Michael

___
use-livecode mailing list
use-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: Suggestion: Non-Appbuilding Community Edition

2021-09-02 Thread Ralph DiMola via use-livecode
This is a good idea. I sometimes use the IDE to do a quickie text
manipulation task. A couple of buttons and some text file/db processing and
BOOM! It's done in the fraction of the time of other languages. I have now
done some text chunk coding that highlights many of LCs features. I can now
buy a platform or two If I want to expand the IDE to building distributable
apps.

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 Michael Kristensen via use-livecode
Sent: Thursday, September 02, 2021 9:50 AM
To: use-livecode@lists.runrev.com
Cc: Michael Kristensen
Subject: Suggestion: Non-Appbuilding Community Edition

Hi there

I suggest that there could be a Non-Appbuilding Community Edition

That would be for personal use, and to learn coding.

Michael

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

2021-08-31 Thread Ralph DiMola via use-livecode
Server downloads are available on the website after you login to your
account.

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 matthias rebbe via use-livecode
Sent: Tuesday, August 31, 2021 11:41 AM
To: How to use LiveCode
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: 9.6.4?

And where are the Livecode Server downloads?



> Am 31.08.2021 um 17:35 schrieb Andre Garzia via use-livecode
:
> 
> Something funky is going on the website. It was off for maintenance a
couple minutes ago and then all of a sudden, I receive a notification from
the updater stack to download 9.6.4
> 
> There was no release cycle for 9.6.4. The release is marked as stable.
Where were the DPs and RCs for that release?
> 
> Went to https://downloads.livecode.com/livecode/
 and wow, all the DP and RC are
gone. Only stable versions are listed. What is going on?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: How Do We Stop A "Standalone Builder Progress" ?

2021-08-16 Thread Ralph DiMola via use-livecode
Windows?

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, August 16, 2021 2:39 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: How Do We Stop A "Standalone Builder Progress" ?

On 8/16/21 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
> Now I get was “fiddling” with keystrokes. Voila! Cmn-w did it!

Well that's good to know. I tried Cmd-period but never thought to use Cmd-W.

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


PlayStore App Bundles.

2021-08-12 Thread Ralph DiMola via use-livecode
I see there is a bug report for this. We are already past the deadline.

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

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 Ralph DiMola via use-livecode
Sent: Thursday, August 12, 2021 11:49 AM
To: 'How to use LiveCode'
Cc: Ralph DiMola
Subject: RE: Hard case

How do we create Google PlayStore App bundles?

>From PlayStore...

New Android App Bundle and target API level requirements in 2021

Starting August 2021, new apps will be required to target API level 30
(Android 11) and use the Android App Bundle publishing format. Starting
November 2021, all app updates will be required to target API level 30
(Android 11). This will replace the APK as the standard publishing format. 

Apps with a download size of more than 150 MB are now supported by Play
Asset Delivery and Play Feature Delivery. 

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: Hard case

2021-08-12 Thread Ralph DiMola via use-livecode
How do we create Google PlayStore App bundles?

>From PlayStore...

New Android App Bundle and target API level requirements in 2021

Starting August 2021, new apps will be required to target API level 30 (Android 
11) and use the Android App Bundle publishing format. Starting November 2021, 
all app updates will be required to target API level 30 (Android 11). This will 
replace the APK as the standard publishing format. 

Apps with a download size of more than 150 MB are now supported by Play Asset 
Delivery and Play Feature Delivery. 

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: M1 Mac mini for LC: First Impressions

2021-08-02 Thread Ralph DiMola via use-livecode
Curry,

Thanks for the benchmark/compatibility report. I just updated my early 2015
15" MacBook to Catalina. It's an unsupported upgrade(using dosdude's
patcher). It works but is dog slow. There will be no going to Big Sur so I
have to make a decision on what Mac to get. I don't need a laptop so a Mac
mini is definitely a lower cost option for me.

Keep us updated...
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 Curry Kenworthy via use-livecode
Sent: Sunday, August 01, 2021 4:28 PM
To: use-livecode@lists.runrev.com
Cc: Curry Kenworthy
Subject: M1 Mac mini for LC: First Impressions


I'm finally getting a chance to post this, after setting up a brand new Mac
mini recently to replace my old 2012 Mac mini.
It's all about LC work, of course

Origin: Made in Malaysia.
If you need a Mac Not-Made-in-China,
and can't afford Mac Pro, this is it!
(Ethically sourcing my hardware now.)

Hardware Design: Compact but roomy.
Ports are sufficient and easy to access.
Allows the standard PC peripherals:
good options, ergonomics, and reliability.

Packaging Design: Ergonomically Retarded.
Perfectly flush square shrinkwrapped box, sans grips, sans gaps, sans common
sense.
Careful not to drop your new investment!

Hardware Setup: Smooth and painless.
Accepted my old USB and HDMI connections.
Had me press 2 keys to identify keyboard.

System Software Setup: Not bad; about 15 minutes.
Wifi on first try. Set up without an Apple account!
Disabled most privacy/performance concerns easily, so running fairly
optimized and safe from Day One.

Big Sur System Software Design: We'll see.
I've been a critic of Apple's hypocrisy
(violating their own previous HIG principles) so I'll save that for Second
Impressions.
Hoping their UI has improved a bit finally.

Livecode: Big download! (LC is always chubby on Mac.) Licensed on first try.
First run installed Rosetta, which went smoothly, and is seamless so far.

M1 Chip with LC: Snappy but not amazing.
In fact, my i5 budget Windows laptop
was faster on the only task I've timed.
(Factoring in Rosetta, probably similar.) But I already had modest
expectations.
No additional glitches so far versus Intel.

Overall: Solid "budget-ish" machine for LC Mac dev.
Happy to be running Apple's latest HW/SW for a change; it will have a good
impact on addons and client projects.
(Including new WordLib and WordReport updates.)

I'll post again on M1 and Big Sur with LC after more use.
Hope this is helpful for anyone in the same boat I was. :)

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.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: access scroll of browser widget

2021-07-21 Thread Ralph DiMola via use-livecode
Ben,

Setting the x/y scroll is easy:
do "window.scrollTo(0,500);" in widget "nameOfBrowserWidget"
See https://www.w3schools.com/jsref/met_win_scrollto.asp

I don't know how to get the current scroll position on random pages. If you
have control of the html then you can set the javascriptHandlers in LC and
have a callback to LC from a JavaScript handler in the html to interrogate
the current scroll position.


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 Ben Rubinstein via use-livecode
Sent: Wednesday, July 21, 2021 12:44 PM
To: Use LiveCode
Cc: Ben Rubinstein
Subject: access scroll of browser widget


The browser widget has properties hScrollbar and vScrollbar - but doesn't
appear to have properties hScroll or vScroll.

Is there any way to get and set the scroll (FWIW I'm only interested in the
vertical) of a browser widget?

TIA,

Ben

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


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


RE: How to scale the content of the Browser Widget

2021-07-13 Thread Ralph DiMola via use-livecode
One way...
Create a local html template and replace an href place holder in the
template to the url of the web server image.
Then load the template page into the browser widget and let html do the
resizing heavy lifting. This will not break cors.

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 matthias rebbe via use-livecode
Sent: Tuesday, July 13, 2021 5:00 PM
To: How to use LiveCode
Cc: matthias_livecode_150...@m-r-d.de
Subject: How to scale the content of the Browser Widget

Hi,

i need to display jpeg images in the browser widget. The images are stored
on a webserver and i  have no control about the size of the images. 
What i can say is that the images are larger than the browser widget area.
Is there a way to scale the images so they are fully visible in the browser
widget? 
I do not want to temporarily store them on hard disk, resize them and then
display.
I need something like an "on the fly" scaling.  
I am wondering if this might be possible with Javascript? Unfortunately i am
not very used Javascript.

Does anyone know if this is possible?

Regards,

Matthias


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

2021-06-18 Thread Ralph DiMola via use-livecode
Tom,

Orientationchanged happens before the screen is actually rotated. This is why 
your scroll regions are not correct. Put your code in the resizestack handler. 
I delete and recreate the scroller, I don't remember if that is needed or I 
just started doing it that way. Scrollers work for me on both iOS and Android. 
If you are able to come up with your magic numbers that will make it scroll to 
the same place you must do a send in time for the  2 "mobileControlSet"s for 
both vScroll and hScroll. I use 100ms

That being said although all my apps support both portrait and landscape I use 
Orientationchanged very very rarely but when you need it it's invaluable.


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: Friday, June 18, 2021 9:23 PM
To: How to use LiveCode
Cc: Tom Glod
Subject: Re: Mobile Scroller

Ralph, it's in the orientationchanged handler

Brian Thanks. !!!


On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livecode, < 
use-livecode@lists.runrev.com> wrote:

> I have this working in SivaSiva for the stories module on Android.  It 
> locks up on iOS so I have rotation disabled for now.  In my use case, 
> the group is essentially the full screen with an image that is being 
> moved around.  I’ll try to find the specific scripts tonight.
>
> Thanks,
> Brian
>
> Sent from my iPhone
>
> > On Jun 18, 2021, at 3:06 PM, Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Tom,
> >
> > What handler are you doing this in?
> >
> > 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: Friday, June 18, 2021 2:51 PM
> > To: How to use LiveCode
> > Cc: Tom Glod
> > Subject: Mobile Scroller
> >
> > Hi Folks,
> >
> > I implemented a MobileControl "Scroller" to scroll a group.  Works great.
> > However when I change the orientation, it no longer works correctly.
> >
> >
> >   - I tried to just update the properties relating to the rect
> >   - deleting / recreating
> >
> >
> > mobileControlSet "CardContentScroller","visible",true
> >
> > mobileControlSet "CardContentScroller","rect",the rect of *group* 
> > "Card Content" of this card of me
> >
> > *put* 0,0,the width of *group* "Card Content" of this card of me,the 
> > formattedHeight of *group* "Card Content" of this card of me into 
> > tContentRect
> >
> > mobileControlSet "CardContentScroller","contentRect",tContentRect
> >
> > mobileControlSet "CardContentScroller","vIndicator",true
> >
> >
> > but it still isn't updating properly.
> > Not sure what i'm doing wrong.
> >
> > The code runs on the orientationChanged message
> >
> > Please help.
> >
> > Thanks,
> >
> > --
> > Tom Glod
> > Founder & Developer
> > MakeShyft R.D.A (www.makeshyft.com)
> > Mobile:647.562.9411
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription
> > preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-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: Mobile Scroller

2021-06-18 Thread Ralph DiMola via use-livecode
Tom,

What handler are you doing this in?

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: Friday, June 18, 2021 2:51 PM
To: How to use LiveCode
Cc: Tom Glod
Subject: Mobile Scroller

Hi Folks,

I implemented a MobileControl "Scroller" to scroll a group.  Works great.
However when I change the orientation, it no longer works correctly.


   - I tried to just update the properties relating to the rect
   - deleting / recreating


mobileControlSet "CardContentScroller","visible",true

mobileControlSet "CardContentScroller","rect",the rect of *group* "Card
Content" of this card of me

*put* 0,0,the width of *group* "Card Content" of this card of me,the
formattedHeight of *group* "Card Content" of this card of me into
tContentRect

mobileControlSet "CardContentScroller","contentRect",tContentRect

mobileControlSet "CardContentScroller","vIndicator",true


but it still isn't updating properly.
Not sure what i'm doing wrong.

The code runs on the orientationChanged message

Please help.

Thanks,

--
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: Finding out what changes a custom property

2021-06-07 Thread Ralph DiMola via use-livecode
Yes correct. FYI the set prop handler will not be called if messages are
locked. Very convenient for a LIFO. Every set prop I add a line to the top
of the property. The get prop handler returns the first line then deletes
it. The deleting the first item(top line) can be done later if you want so
to get the top item multiple times (Remember to lock messages to keep the
set prop from being called when manually deleting the top line in the
property).

LC is a never ending well of cool things to increase productivity.

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 07, 2021 11:12 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Finding out what changes a custom property

Oooh never thought of that... so setprops get called before a property gets
set? 

Bob S


> On Jun 6, 2021, at 14:10 , Curry Kenworthy via use-livecode
 wrote:
> 
> 
> Paul:
> 
> > Is there an debugger feature or tip or trick anyone has that can do 
> > the equivalent of set a break point when a property is changed and 
> > let me see the executionContexts to tell what the heck is changing 
> > it!
> 
> Add a setprop with either a breakpoint and/or the executionContexts?
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> Custom Software Development
> "Better Methods, Better Results"
> LiveCode Training and Consulting
> http://livecodeconsulting.com/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: workaround for cut-off text in native scroller?

2021-06-02 Thread Ralph DiMola via use-livecode
native scroller?
I add 20 to the bottom of the "contentrect". This has worked fine for me in 
various apps. Your mileage may vary.

On resizing... JLM answered me on my "LiveCode day 1(4.x)" use list request and 
informed me that I have to roll my own so I spent the next 2-3 months making a 
general use resizing library that has worked well for me though the years. I 
have never used the newer built in options. The nice thing is that my library 
is handy for the very few desktop apps I have made.

Notes on below:
1. NEVER lock message just to handle resizing.
True true. This can get you into real trouble.

2. ALWAYS (and I mean always) set the lockLoc of a group.
True again with a caveat. If your creating a group by script you have to add 
one control in the group before you set the group's lockloc then rect of the 
group. Then you can start placing other controls in the group and it will not 
change size/position.

3a. Always resize/reposition things by setting their rect (not their 
top/left/width/...).
The rules I have gleaned is.
 a) Yes, the rect is always absolute.
 b) For best performance set the control's rect ONCE.
 c) Set the height/width before top/left/bottom/right if using the 
top/left/width/height. This is slow because the engine has to rerender after 
every size/pos change.
 d) When changing the width/height with ONLY even or ONLY odd numbers the 
control will remain centered. But if you use odd and even numbers the it will 
walk to the left/top. If you for example set the width to 100 then 101 then 100 
then 101. The control will walk left by 1 pixel for every 100/101 width setting 
change. I can see why LC is attempting to keep the control centered I guess but 
keeping the top/left constant whilst changing the height/width would produce 
more predictable 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 
Alex Tweedly via use-livecode
Sent: Wednesday, June 02, 2021 7:43 AM
To: use-livecode@lists.runrev.com
Cc: Alex Tweedly
Subject: Re: workaround for cut-off text in native scroller?


On 02/06/2021 04:18, Mark Wieder via use-livecode wrote:
>
> I do ok on resizing routines until it comes to groups. Then I always 
> end up reinventing things: when and where to lock messages, how to get 
> things resized in the right order so as not to undo what I just did...
>
> If there are any rules of thumb I'd love to know them.
>
I can tell you mine - they work for me , but whether they work for you, or 
anyone else, is a different matter.

1. NEVER lock message just to handle resizing.
   If you need to do that, you're already in a heap of trouble :-)

2. ALWAYS (and I mean always) set the lockLoc of a group.
 Don't let those uppity groups change their size - you need to be in charge 
:-)

3. Work top-down in a (fairly) strict hierarchy. Let each level of card/group 
handle the layout of its component pieces, allocate space for them and "set the 
rect .." for each.

3a. Always resize/reposition things by setting their rect (not their 
top/left/width/...).
   Every time I try to use those seemingly-convenient shorter forms, I get 
in trouble :-)

4. Design in some logging mechanism so that if something is going wrong, you 
can easily turn on logging and see what is happening, across ALL your resizing 
group / controls.

5. In the very rare occasions where there is need to cross the hierarchy as 
above, do it explicitly (e.g. I have a convention of sometimes having a handler 
"presizecontrol" which returns a *preferred* size or minimum size, which the 
upper levels of the hierarchy can use to check what lower layer groups would 
like to be, can adjust their decisions accordingly - and then resize ("set the 
rect ..") accordingly.

Alex.



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


___
use-livecode mailing list
use-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 command line tools 12

2021-05-20 Thread Ralph DiMola via use-livecode
The reason I kept it out of the applications folder was so it can't be
updated by accident. If you rename it in the application to the version
number then I guess it accomplishes the same "stop auto/accidental updates"
function. I got updated back in the day and it broke the iOS build so I just
got them out of the applications folder and have not had 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 Mike Kerner via use-livecode
Sent: Thursday, May 20, 2021 8:59 AM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: XCode command line tools 12

I disagree with not putting it in your applications folder. What I will do,
instead, is rename the folder to "XCode"+version

On Wed, May 19, 2021 at 8:09 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This has worked for me.
>
> 1) Never upgrade or install Xcode from the app store.
> 2) Download from developer site.
> 3) NEVER put xcode.app in the Applications folder.
> 4) I made a new folder with all the Xcode versions I need. Rename 
> every download with a version number suffix.
> 5) Open up downloaded versions after rename. This will finish the 
> installation.
> 6) Now for the magic at command prompt:
> This will show what tools LC will use for building==> xcode-select 
> --print-path This will set the tools that LC will use for building==> 
> sudo xcpde-slect -switch "path to xcode.app version to build with"
>
> You will see if the version of Xcode is supported on your version of 
> Mac OS when doing step 5 above.
> In setting On the "mobile support" pane of prefs you can add several 
> version of Xcode to support older simulators and sdks
>
> I have Xcode 8.2.1, 9.2, 10.1 and 11.3.1 on my Mojave Mac. This give 
> me
> 10.2,11.2,21.1 and 13.1 simulators.
>
> I will be upgrading to Catalina shortly. Why, because I have to...
>
>
> 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, May 19, 2021 3:09 PM
> To: LiveCode Mailing List
> Cc: J. Landman Gay
> Subject: XCode command line tools 12
>
> I'm still debating what to do about XCode on a Mojave machine. Couple 
> of
> questions:
>
> 1. LC says to use 12.1 but the latest command line tools are 12.5. Is 
> 12.1 specifically required or is a newer version okay? 12.1 was a GM 
> seed but was quickly updated to 12.2.
>
> 2. The main question: I've downloaded the tools manually and I could 
> run the package installer to install them. What would happen if I 
> install the 12.x tools on a Mojave machine?
>
> Could I rename the old folder, install the new tools, and if it 
> breaks, put the old folder back? Does anyone know if this will work, 
> or do I need to make the plunge and see what happens?
>
> --
> 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
>


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


RE: XCode command line tools 12

2021-05-19 Thread Ralph DiMola via use-livecode
This has worked for me.

1) Never upgrade or install Xcode from the app store.
2) Download from developer site.
3) NEVER put xcode.app in the Applications folder.
4) I made a new folder with all the Xcode versions I need. Rename every
download with a version number suffix.
5) Open up downloaded versions after rename. This will finish the
installation.
6) Now for the magic at command prompt:
This will show what tools LC will use for building==> xcode-select
--print-path
This will set the tools that LC will use for building==> sudo xcpde-slect
-switch "path to xcode.app version to build with"

You will see if the version of Xcode is supported on your version of Mac OS
when doing step 5 above.
In setting On the "mobile support" pane of prefs you can add several version
of Xcode to support older simulators and sdks

I have Xcode 8.2.1, 9.2, 10.1 and 11.3.1 on my Mojave Mac. This give me
10.2,11.2,21.1 and 13.1 simulators.

I will be upgrading to Catalina shortly. Why, because I have to...


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, May 19, 2021 3:09 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: XCode command line tools 12

I'm still debating what to do about XCode on a Mojave machine. Couple of
questions:

1. LC says to use 12.1 but the latest command line tools are 12.5. Is 12.1
specifically required or is a newer version okay? 12.1 was a GM seed but was
quickly updated to 12.2.

2. The main question: I've downloaded the tools manually and I could run the
package installer to install them. What would happen if I install the 12.x
tools on a Mojave machine?

Could I rename the old folder, install the new tools, and if it breaks, put
the old folder back? Does anyone know if this will work, or do I need to
make the plunge and see what happens?

-- 
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: Complete Crash or Engine Hang: which is better?

2021-04-29 Thread Ralph DiMola via use-livecode
Style runs can also speed up your app.
I have a scrolling group of 1 field with 200 lines. I put ellipses on every 
line that the text does not fit horizontally. Doing this in the field became 
impractical after the number of lines got too large. The solution was to 
assemble a styled text array(using mesuretext) and then inserting the styled 
array into the field. I have to go back and look but I think there was a 10x or 
more performance increase for my average case. In any case it became sub-second 
instead of seconds.

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: PDF Widget

2021-04-24 Thread Ralph DiMola via use-livecode
I have used pdfjs on Android. When the URL of the page ends in PDF then you
download it(if not on local device already). You can view the PDF via pdfjs
in the browser widget. It does not work on desktop locally because browsers
can't access local files. I tested in the IDE using a web server.
 
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 Klaus major-k via use-livecode
Sent: Saturday, April 24, 2021 4:38 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: PDF Widget



> Am 24.04.2021 um 21:31 schrieb JeeJeeStudio via use-livecode
:
> 
> Aber Klaus, for just displaying a PDF, you could use the browser 
> widget

Maar JeeJee, I wrote:
... directly as a control) in a stack and NOT inside of a browser widget,
which is not working "out of the box" on Android.

Yes, call me lazy... 8-)

> Op 23-4-2021 om 13:48 schreef Klaus major-k via use-livecode:
>> Hi Tore,
>> 
>>> Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode
:
>>> 
>>> Not everyone needs it.
>> that was just a little joke. :-)
>> 
>>> I had the business edition for a year and for what it is worth, the 
>>> pdf-widget did not offer anything I needed. I had hoped I could use it
for mark up and annotations but did not find a way to do that.
>> It would be enough, at least for me, if we could display a PDF 
>> (directly as a control) in a stack and NOT inside of a browser widget,
which is not working "out of the box" on Android.
>> 
>>> I do however think that it would be a good thing if it was possible to
buy widgets on a per widget basis.
>>> That would enhance the LiveCode experience in my mind.
>> Definitively!
>> 
>>> Best regards
>>> Tore Nilsen

Best

Klaus

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


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


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


RE: What exactly does "put" do on Server?

2021-04-21 Thread Ralph DiMola via use-livecode
If it's a POST then you must set the "Content-Length" in the header for
xhttp requests. The client(chrome anyway) will fail. GETs don't require
"Content-Length" to be set in the header. I don't know how multiple "put"s
work for xhttp. Now I'm curious...

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, April 20, 2021 9:02 PM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: What exactly does "put" do on Server?

Postman shows a single reply to the client from Apache.

strace on the server shows each "put" implemented at the system level as a
write to stdout.

So it looks to me like Apache buffers writes it receives and sends all of it
to the client in one go, with a header that accurately accounts for the
total size of multiple "put"s in the Content-Length.

I'm still curious to know how Apache knows when to send to the client - does
it wait for the CGI to terminate?

But for now, at least it seems we have an answer to the question of whether
LC Server or Apache buffers the writes.

--
  Richard Gaskin
  Fourth World Systems



Tom Glod wrote:

> Following, I've wondered this, but never had enough motivation to test it.
> 
> On Tue, Apr 20, 2021 at 4:00 PM Richard Gaskin via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> Normally, HTTP is used for request-reply patterns, where the server
>> receives the request, does some processing to it, and then sends back
>> the reply.
>>
>> In a faceless environment like Server, "put" goes to stdout, yes?  So
>> when we say "put tData", then the contents of tData are handed back to
>> Apache which then sends them along to the client.
>>
>> So what happens when I have a script that uses multiple "put" statements?
>>
>> Does LC Server buffer all "put" output together and send it as one
>> string back to the client?
>>
>> If so, why do I see faster results if I collect data myself and use only
>> one "put"?
>>
>> If not, how does it write a meaningful header, since the length can't be
>> known in advance?
>>
>> What exactly is the Server engine doing with "put"?
>>
>> --
>>   Richard Gaskin
>>
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411


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


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


RE: On the dangers of automated refactoring

2021-04-14 Thread Ralph DiMola via use-livecode
Good question... I'm thinking it's the same reason that with strict compilation 
enabled a variable in a repeat loop does not have to be declared as a script 
local. If it is declared as a script local no shadow error occurs. A handler 
parameter in a way is the same as it doesn't need parameters to be declared.

What is the scope of the variable vs. the handler parameter when the handler is 
running? That's bigger question.

 
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 
Alex Tweedly via use-livecode
Sent: Wednesday, April 14, 2021 3:39 PM
To: use-livecode@lists.runrev.com
Cc: Alex Tweedly
Subject: Re: On the dangers of automated refactoring


On 14/04/2021 10:23, Andre Garzia via use-livecode wrote:
> That is the main issue, the code was using the wrong hungarian-lite 
> prefixes. You’d see something like
>
>on myHandler pDataA
>  …
>end myHandler
>
>
> But, lo and behold, on top of the script there would be something like
>
>local pDataA
>
> Now, is that an argument to a handler? a script-local? It depends! Strict 
> compilation mode doesn’t care about variable shadowing.

Never mind strict compilation mode, I think this should be a "compile" 
error anyway.

With or without strict-compilation :

   variable shadowing with a script-local and a handler-local is an error.

   variable shadowing with a parameter and a handler-local is an error.

why on earth is variable shadowing between a script-local and a parameter not 
also an error.

Alex.


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


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

2021-04-12 Thread Ralph DiMola via use-livecode
Thanks Heather. I also put in a request via my KAV enterprise account.

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 Heather Laine via use-livecode
Sent: Monday, April 12, 2021 12:54 PM
To: How to use LiveCode
Cc: Heather Laine
Subject: Re: License Activation

I'll get back in touch with them.

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 12 Apr 2021, at 17:17, Ralph DiMola via use-livecode
 wrote:
> 
> Mark,
> 
> I'm running KAV 11.4.0.223 AES 256. This is the enterprise not 
> consumer version. I wonder is the update is only going to the consumer 
> version?
> 
> 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 Waddingham via use-livecode
> Sent: Monday, April 12, 2021 10:04 AM
> To: How to use LiveCode
> Cc: Mark Waddingham
> Subject: Re: License Activation
> 
> On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote:
>> When I started LC 9.6.1 this am I got a message that the license is 
>> corrupted. When I entered my username/password to re-activate I got 
>> this message "An error occurred while attempting to contact the 
>> server"
>> Anyone
>> else having problems?
> 
> Hi Ralph,
> 
> Are you on Windows by any chance?
> 
> If so, then do you have Kaspersky AV?
> 
> The revsecurity.dll is being flagged as suspicious and being 
> quarantined
> - we have got Kaspersky to re-evaluate this (several times in fact!) 
> so it should be okay now, but you might have to update you Kaspersky 
> virus definitions and/or get your local install to un-quarantine it. 
> Indeed, you may have to reinstall 9.6.1 :|
> 
> Hope this helps!
> 
> 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


RE: License Activation

2021-04-12 Thread Ralph DiMola via use-livecode
Mark,

I'm running KAV 11.4.0.223 AES 256. This is the enterprise not consumer
version. I wonder is the update is only going to the consumer 
version?

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 Waddingham via use-livecode
Sent: Monday, April 12, 2021 10:04 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: License Activation

On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote:
> When I started LC 9.6.1 this am I got a message that the license is 
> corrupted. When I entered my username/password to re-activate I got 
> this message "An error occurred while attempting to contact the 
> server"
> Anyone
> else having problems?

Hi Ralph,

Are you on Windows by any chance?

If so, then do you have Kaspersky AV?

The revsecurity.dll is being flagged as suspicious and being quarantined
- we have got Kaspersky to re-evaluate this (several times in fact!) so it
should be okay now, but you might have to update you Kaspersky virus
definitions and/or get your local install to un-quarantine it. Indeed, you
may have to reinstall 9.6.1 :|

Hope this helps!

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: License Activation

2021-04-12 Thread Ralph DiMola via use-livecode
KAV have not updated their definitions yet. I just downloaded new KAV
definitions (2:52 am TZ?) and restarted the VM. When I started LC
revsecurity.dll was still flagged and deleted by KAV. I had to restore the
file using KAV's Backup function. Disable KAV for 1 minute, start LC, get
error from Windows Defender, blow past that and LC started.

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 Heather Laine via use-livecode
Sent: Monday, April 12, 2021 10:25 AM
To: How to use LiveCode
Cc: Heather Laine
Subject: Re: License Activation

Kaspersky confirmed to me that they had updated their virus definitions to
correct this, so an update to Kaspersky followed by a reinstall of LiveCode
should fix it. Annoying, but hey ho.

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 12 Apr 2021, at 15:14, Ralph DiMola via use-livecode
 wrote:
> 
> Mark,
> 
> Yes, I have KAV on Win 10. ARRRG But seriously... 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 Waddingham via use-livecode
> Sent: Monday, April 12, 2021 10:04 AM
> To: How to use LiveCode
> Cc: Mark Waddingham
> Subject: Re: License Activation
> 
> On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote:
>> When I started LC 9.6.1 this am I got a message that the license is 
>> corrupted. When I entered my username/password to re-activate I got 
>> this message "An error occurred while attempting to contact the 
>> server"
>> Anyone
>> else having problems?
> 
> Hi Ralph,
> 
> Are you on Windows by any chance?
> 
> If so, then do you have Kaspersky AV?
> 
> The revsecurity.dll is being flagged as suspicious and being 
> quarantined
> - we have got Kaspersky to re-evaluate this (several times in fact!) 
> so it should be okay now, but you might have to update you Kaspersky 
> virus definitions and/or get your local install to un-quarantine it. 
> Indeed, you may have to reinstall 9.6.1 :|
> 
> Hope this helps!
> 
> 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


RE: License Activation

2021-04-12 Thread Ralph DiMola via use-livecode
Mark,

Yes, I have KAV on Win 10. ARRRG
But seriously... 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 Waddingham via use-livecode
Sent: Monday, April 12, 2021 10:04 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: License Activation

On 2021-04-12 14:58, Ralph DiMola via use-livecode wrote:
> When I started LC 9.6.1 this am I got a message that the license is 
> corrupted. When I entered my username/password to re-activate I got 
> this message "An error occurred while attempting to contact the 
> server"
> Anyone
> else having problems?

Hi Ralph,

Are you on Windows by any chance?

If so, then do you have Kaspersky AV?

The revsecurity.dll is being flagged as suspicious and being quarantined
- we have got Kaspersky to re-evaluate this (several times in fact!) so it
should be okay now, but you might have to update you Kaspersky virus
definitions and/or get your local install to un-quarantine it. Indeed, you
may have to reinstall 9.6.1 :|

Hope this helps!

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: License Activation

2021-04-12 Thread Ralph DiMola via use-livecode
Panos,

Win 10 VM. I renamed the license files and still get the error ==> "An error
occurred while attempting to contact the 
Server. Please try again later."

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 panagiotis merakos via use-livecode
Sent: Monday, April 12, 2021 10:01 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: License Activation

Hello Ralph,

In which platform do you see this issue?

Kind regards,
Panos
--

On Mon, 12 Apr 2021 at 16:56, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> When I started LC 9.6.1 this am I got a message that the license is 
> corrupted. When I entered my username/password to re-activate I got 
> this message "An error occurred while attempting to contact the 
> server" Anyone else having problems?
>
> 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


License Activation

2021-04-12 Thread Ralph DiMola via use-livecode
When I started LC 9.6.1 this am I got a message that the license is
corrupted. When I entered my username/password to re-activate I got this
message "An error occurred while attempting to contact the server" Anyone
else having problems?

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: Find Replace in Script Editor with cr

2021-04-08 Thread Ralph DiMola via use-livecode
I talk politics(including health care) all the time(ask Margaret) but this list 
is not the place for me. It's not because of some "rule" or "I'm afraid to show 
my political cards". It's for the same reason I don’t do it at RR conferences. 
I want to glean and learn as much information from my colleagues as possible. 
Even while having a pint at an RR event I learn more about our field than when 
I'm hanging with friends. So I will have a few pints with you good folks and 
maybe strum some chords or tinkle the ivories(music and the arts are my 
exception) but I try to limit the exchanging ideas to our field for selfish 
reasons not because of any "rule" or proper decorum. But that's me...

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 Balgenorth via use-livecode
Sent: Thursday, April 08, 2021 11:55 AM
To: How to use LiveCode
Cc: John Balgenorth
Subject: Re: Find Replace in Script Editor with cr

If Sean has said he is bipolar then is it possible he is mistaken and actually 
a victim of government lies and abuse ?  The answer is yes.

I have told President Trump and President Biden about abuse to me involving BAH 
and Homeland Security with cover ups by the corrupt news media of in America.  
This involves but is by in no means limited to being poisoned in my own home 
and having it be infested with spiders and ants.  That abuse alone is enough to 
cause people to break down mentally and physically.  This is covered up the the 
corrupt politicians in congress and senate and they all  hide from me like 
cowards.

Ban the Guns!  The first step is stop the abuse causing many people to break 
down.

A couple of years ago I was poisoned in my own home while I was using the 
computer and I suddenly went blind.  I needed to have eye surgery but I can see 
now.

President Biden needs to explain who is going to pay the health
costs for the many others being poisoned in their homes.   I am
already covered and he should know that since I told him he is allowed to 
access by medical records.

How do you know Sean is bipolar and not a victim of American government hidden 
crimes ?  Does he have any evidence other than maybe a doctor who was deceived 
by the government by them not knowing about these crimes?

JB

> On Apr 8, 2021, at 8:29 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Guys, Sean is bipolar. He's told us so, and it isn't entirely under his 
> control. On the other hand, it isn't pleasant and it's disruptive.
> 
> Sean, the problem is, if the accusations and anger keep up, you may well be 
> banned from the list. I understand it's hard to control, but you can't 
> continue to berate people who've done you no harm and only mean the best. 
> From where we are, the accusations seem unreasonable. Your targets don't know 
> what they've done to make you angry.
> 
> BTW, I've never blocked anyone on any list and I read everything. But when 
> you get angry, I ignore it. I know what's going on but no response would help.
> 
> I've also hijacked your thread and could have answered privately but I 
> thought other listers might want to know why your recent posts are so 
> combative.
> 
> 
>  />
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software 
> | http://www.hyperactivesw.com
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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


RE: Change email

2021-04-08 Thread Ralph DiMola via use-livecode
Reach out to Heather via support email (supp...@runrev.com) . She has always 
been very responsive to these requests.

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 
B.Cornaz--- via use-livecode
Sent: Thursday, April 08, 2021 8:39 AM
To: use-livecode@lists.runrev.com
Cc: b.cor...@gmx.net
Subject: Change email

Hello support,

I’d like to change my email address for the user group.
How can I do that?

Thanks and Kind regards,

Beat Cornaz
___
use-livecode mailing list
use-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: Help! I'm stuck

2021-04-07 Thread Ralph DiMola via use-livecode
I never built a non-mobile standalone for the first 5 years of using LC. For
a mobile build nothing gets closed and gets built from the stack(s) files on
disk. What a surprise I got when I built my first desktop standalone. I
initially thought that something was very wrong with the IDE and restarted.
After some searches I found that this is the correct behavior??? I guess
there is a reason for closing the stack(s) but I find it very odd indeed.

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 Curry Kenworthy via use-livecode
Sent: Wednesday, April 07, 2021 1:03 PM
To: use-livecode@lists.runrev.com
Cc: Curry Kenworthy
Subject: Re: Help! I'm stuck


Jacqueline:

 > It's not a bug, it was intentionally introduced to allow a couple  > of
features, like retaining script local variables after a build.
 > Given the amount of extra scripting to work around it for existing  >
stacks, I think it may have introduced more problems than it tried  > to
cure.

Agreed! I was too busy the other day but wanted to chime in:
This was a baffling case of doubling-down on a wonky and toxic "fix."

The problems introduced were far more numerous than those "fixed."
I pointed this out right away, but it seems that hubris prevailed.
LC Ltd needs a more consistent vision of what LC is and how it works.

Result: workarounds are often needed for standard builds.
In what RAD paradigm should users have to workaround the IDE?
If that's a question we're even needing to ask, we may be in trouble.

(My own stack design usually makes this a moot point. I wasn't affected.
But I saw the expense and pain this caused, plus a troubling precedent.)

So ... isn't it great they teach everyone to double down these days?  :)
Turning off messages - good tactic, although it won't work for everyone.

Back to work, take care all

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.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: Checking the Milliseconds

2021-04-07 Thread Ralph DiMola via use-livecode
I added an average. i7-6700 3.4GHz 8 cores in the VM

Run 1:
Max==>4586
Min==>460
Average==>3096.058

Run 2:
Max==>7573
Min==>460
Average==>3835.764743

Run 3:
Max==>7573
Min==>728
Average==>2947.388

Interesting

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: Wednesday, April 07, 2021 12:03 PM
To: How to use LiveCode
Cc: Tom Glod
Subject: Checking the Milliseconds

Hey peeps,

I wanted to measure how many times the LC engine can check the milliseconds
count during each millisecond that passes.

The results really surprised me, I thought it would be less, but I don't
know why really.

Anyone want to take a guess?

What is strange about my results, is that every few milliseconds the amount
of millisecond queries that occurs .. doubles.

Why does this happen I wonder?

Can someone double check if that happens on your CPU?  I'm on WIndows 10 on
an i5 4570.

Here is the code.
--

local last_known_millisecond
local queries = 0
local report

on mouseUp
   lock screen
   put empty into report
   local x
   repeat 1000 times
  add 1 to x
  put 0 into queries
  put the milliseconds into last_known_millisecond
  repeat forever
 add 1 to queries
 if the milliseconds = last_known_millisecond  then
next repeat
 else
exit repeat
 end if
  end repeat
  put queries into line x of report
   end repeat
   unlock screen
   put report
end mouseUp

--
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: Checking the Milliseconds

2021-04-07 Thread Ralph DiMola via use-livecode
I scanned the results after it was done and got this:

Max==>3959

Min==>1015

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: Wednesday, April 07, 2021 12:03 PM
To: How to use LiveCode
Cc: Tom Glod
Subject: Checking the Milliseconds

Hey peeps,

I wanted to measure how many times the LC engine can check the milliseconds
count during each millisecond that passes.

The results really surprised me, I thought it would be less, but I don't
know why really.

Anyone want to take a guess?

What is strange about my results, is that every few milliseconds the amount
of millisecond queries that occurs .. doubles.

Why does this happen I wonder?

Can someone double check if that happens on your CPU?  I'm on WIndows 10 on
an i5 4570.

Here is the code.
--

local last_known_millisecond
local queries = 0
local report

on mouseUp
   lock screen
   put empty into report
   local x
   repeat 1000 times
  add 1 to x
  put 0 into queries
  put the milliseconds into last_known_millisecond
  repeat forever
 add 1 to queries
 if the milliseconds = last_known_millisecond  then
next repeat
 else
exit repeat
 end if
  end repeat
  put queries into line x of report
   end repeat
   unlock screen
   put report
end mouseUp

--
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: Checking the Milliseconds

2021-04-07 Thread Ralph DiMola via use-livecode
Here's the first few from LC 9.6.1 Win 10 Pro VM SSD

1473
3326
3397
3155
2442
3234
2292
3349
3380
3275
3259
3498
3300
3634
3462
3228
3896
3762
3197
3186
2188
1461
2716
3358
2940
2886
2614
2264
3038
3322
3305
3372
3395
3418
2579


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: Wednesday, April 07, 2021 12:03 PM
To: How to use LiveCode
Cc: Tom Glod
Subject: Checking the Milliseconds

Hey peeps,

I wanted to measure how many times the LC engine can check the milliseconds
count during each millisecond that passes.

The results really surprised me, I thought it would be less, but I don't
know why really.

Anyone want to take a guess?

What is strange about my results, is that every few milliseconds the amount
of millisecond queries that occurs .. doubles.

Why does this happen I wonder?

Can someone double check if that happens on your CPU?  I'm on WIndows 10 on
an i5 4570.

Here is the code.
--

local last_known_millisecond
local queries = 0
local report

on mouseUp
   lock screen
   put empty into report
   local x
   repeat 1000 times
  add 1 to x
  put 0 into queries
  put the milliseconds into last_known_millisecond
  repeat forever
 add 1 to queries
 if the milliseconds = last_known_millisecond  then
next repeat
 else
exit repeat
 end if
  end repeat
  put queries into line x of report
   end repeat
   unlock screen
   put report
end mouseUp

--
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-01 Thread Ralph DiMola via use-livecode
It is session specific. After 2 back-to-back requests to the LC server
script that uses sessions 50% of the time you get into this state:
1) Any server request that attempts to create or use an existing session
will lock up for 20-30 seconds and return empty.
2) Server requests that don't use sessions will continue to work.

After you delete the lcsessions.idx file then all is back to normal until 2
or 3 requests using sessions come back-to-back.
Very repeatable.

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, April 01, 2021 4:59 PM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: "tsnet (1) Received HTTP/0.9 when not allowed"?

Ralph DiMola wrote:

 > Richard,
 >
 > I also have a problem when requests come too fast. This might be  >
related? I'm on an on-rev server. My problem was that using sessions  >
caused the LC server to choke about 50% of the time when sending back-  >
to-back requests. I confirmed this when stress testing by sending 2 or  >
more requests to LC server from the from the QCC demo client stack  >
back-to-back. I'm wondering if these two are connected?
 > https://quality.livecode.com/show_bug.cgi?id=22560

Thanks, Ralph.  I do use persistent session data, but in this app I use a
custom store, not LC Server's session handling. That's an interesting
report, though, and I've added myself to the CC there.

This loading-fonts-unnecessarily issue seems to be more related to my
circumstance:
https://quality.livecode.com/show_bug.cgi?id=14115

I'll know more if I get a chance I put the funky-font-fix workaround in
place, but TBH I'm more likely to just move the app to a VPS instead. 
So it'll be a question of making the time for a funky setup test, and while
that might narrow down root causes it won't fix anything since it's unlikely
to be addressed anytime soon:  two community members who've looked at the
engine code believe IF-DEFing the font init would be prohibitively
cumbersome given the imported subsystems that would need it (like Skia), and
the core team has other priorities.


 > I want to use LC Server sessions for some website work but am  >
reluctant to do so because if 2 users happen to hit the server  > too close
together then LC server locks up for any future requests  > that uses
sessions.

How certain are you the issue you're seeing is specific to sessions? 
I've skimmed your report but haven't tested it, so forgive me if this should
be obvious, but have you found any other circumstances where file
I/0 may be the trigger, rather than session storage specifically?


 > If you find a solution I'll be interested to see  > if it helps me also.

If your issue is session-specific, I got nothing.

If it may be general resource consumption (mostly memory), the
funky-font-fix may do the trick.  But setting it up is not for the feint of
heart.  If you're comfortable with bash I can provide instructions to try
it.


Kinda sad. LC's chunk expressions make our beloved language a nearly ideal
fit for so many server tasks.  General performance is more or less on par
with Python and Ruby where CGI stuff has been a famously good
fit- LC can do anything they can do, and with more readable code that's more
enjoyable to write. But we need to tighten it up and bring down the resource
consumption before I'll stake my reputation evangelizing it beyond the
current community of LC diehards.

--
  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: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-01 Thread Ralph DiMola via use-livecode
Richard,

I also have a problem when requests come too fast. This might be related? I'm 
on an on-rev server. My problem was that using sessions caused the LC server to 
choke about 50% of the time when sending back-to-back requests. I confirmed 
this when stress testing by sending 2 or more requests to LC server from the 
from the QCC demo client stack back-to-back. I'm wondering if these two are 
connected? https://quality.livecode.com/show_bug.cgi?id=22560
I want to use LC Server sessions for some website work but am reluctant to do 
so because if 2 users happen to hit the server too close together then LC 
server locks up for any future requests that uses sessions. If you find a 
solution I'll be interested to see if it helps me also. 

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, April 01, 2021 1:59 PM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: "tsnet (1) Received HTTP/0.9 when not allowed"?

Good morning, Charles -

Thank you for your assistance, and your offer to look into it.

TL/DR:

As work progresses I'm increasingly convinced this isn't a client-side issue at 
all, but a side-effect of how LC Server's insistence on loading fonts that 
aren't needed triggers some host's CGI resource constraints.

The tsNet part of this fits that hypothesis: the HTTP version assumption is 
happening because the data coming back is literally 0 length - there's nothing 
there, fitting a pattern I've seen before on this host when CGIs are cut off.

At the moment I think I have a handle on the situation, and a plan for 
addressing it.  If I'm going to take advantage of your expertise let me queue 
up those points for when I truly need them. :)



More complete:

I found that this was only happening when two calls are made to the server 
within a short span of time, usually when first downloading a stack and then 
the stack requests the data it uses to display for the user.

Simply putting a pause of just under 2 secs between the stack download and its 
request for data has at least allowed users to get back to work.

I'm reluctant to pester DH support for more details on how their resource 
constraints are so frequently triggered by LC Server because I became familiar 
with the issue after spending weeks with them diagnosing an issue a few years 
ago, and I don't want them to think of LC as a problem and ban it altogether.

Part of what I learned from that experience was a workaround Mark Waddingham 
and Peter Brett came up with, essentially tricking LC Server into using a local 
folder with just one font instead of the whole set of system fonts.  Where I've 
used that workaround on Dreamhost everything's run well (indeed 
LiveCodeJournal.com uses it for every page and its performance is 
indistinguishable from static pages).

For myself, I have other reasons to migrate the app to a VPS, and we're 
provisioning one soon. Shared hosting is great for low-value low-traffic stuff, 
but with VPSes priced on par these days it's the better choice when predictable 
loads are useful.

My LiveCode, the language is so well suited for server work (chunk expression 
make short work of most of what we do on servers), it's a shame to see LC's 
performance and sometimes reputation take a hit by a loading sequence that 
favors initializing fonts that are never used by 
99+% of scripts.  Hopefully one day BZ#14115 will be addressed, and LC
can be used with all the beautiful efficiency it's capable of.

DH is a popular host, and I've seen this occasionally on at least one 
other shared hosting company before using the workaround.  So this isn't 
just a Dreamhost issue, and may show itself at just about any time on 
perhaps any shared host that's successful enough to have resource 
constraints.

In the meantime, for those who enjoy server admin there are always VPSes.

-- 
  Richard Gaskin
  Fourth World Systems



Charles Warwick wrote:
> Hi Richard,
> 
> The curl version that is used in tsNet is regularly updated.  The latest 
> version of tsNet is using curl 7.74.0.
> 
> My understanding of that particular issue is that if the first data line that 
> is received back from the HTTP server doesn't match an appropriate response, 
> it will assume HTTP/0.9.
> 
> Is there a test URL you can post that shows this problem so I can see what is 
> coming back from the server?  Can you post what you are getting in the libURL 
> debug?
> 
> Also, have you tried a version of LC that has a different version of tsNet 
> included - just in case this happens to be a new bug in the curl library.
> 
> Thanks,
> 
> Charles
> 
>> On 1 Apr 2021, at 10:37 am, Richard Gaskin wrote:
>> 
>> Matthias wrote:
>> 
>>> was there a change in the configuration of your web server recently?
>>> Is your web service using php or LC server?
>> 
>> LC 

RE: Android and httpS

2021-03-30 Thread Ralph DiMola via use-livecode
I have links to http(non-secure) sites in both iOS and Android apps. I
disabled ATS(standalone settings) for iOS. Android just works. I think I
heard in passing that Google will address non-secure web links at some
point.

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 Klaus major-k via use-livecode
Sent: Tuesday, March 30, 2021 12:47 PM
To: Klaus major-k via use-livecode
Cc: Klaus major-k
Subject: Android and httpS

Hi all,

quick question:
iOS only allows links to httpS sites.
Is this also the case for ANDROID?

Thanks in advance!


Best

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


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


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


RE: slow responsiveness on windows - what was it like?

2021-03-30 Thread Ralph DiMola via use-livecode
Win 10 VM SSD LC 9.6.1

As of late the IDE SE is generally OK. In the past I have had the "scroll to
end of script" nightmare when copying text with the mouse but have not seen
it in 9.6.1. The line numbers freezing happens sometimes while debugging.
Closing/opening the SE usually fixes it. It seems to happen after the script
is stopped either buy a runtime error or stopping the debugger in the SE.

The big responsiveness issue I have is a card taking 10-60 seconds to render
as it varies from 5-200 groups each with one field. I figured it was me
because I rolled my own device independence resizing library. This turned
out not to be the case. I stepped though/put in timers and found that after
the F11 on the last "pass opencard" the IDE goes up to 100% CPU(on that
core) for 10-60 seconds. Then everything is back to normal. If I close the
SE it becomes faster but not as fast as a standalone. So when I know that
the card will have more than say 10 groups I close the SE to render it and
then reopen the SE to make changes.

 LC is still my go to for speed of coding/deploying. When
I flip to JavaScript or VB it is sooo painful to do text manipulation. I am
a LC server cheerleader! Building https APIs in minutes by leveraging my
desktop library is a real time saver. LC server might not scale up to
millions of users but if I had millions of users I would not be coding
anymore. 

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 Tiemo via use-livecode
Sent: Tuesday, March 30, 2021 8:13 AM
To: LiveCode User Liste senden
Cc: toolb...@kestner.de
Subject: slow responsiveness on windows - what was it like?

Hello,

working with LC 9.6 on a fast win 10 machine the responsiveness of the IDE
on every mouseclick or other action is almost not acceptable slow.

I know that this issue has come up again and again over the years, but I
just don't find the right search terms in the list archive.

I know, there has been some tweaks to speed up.

Thanks for any hint

 

Tiemo

 

 

 

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


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


RE: Multidimensional array issue

2021-03-09 Thread Ralph DiMola via use-livecode
If (not(tArray[“status”] is an array)) and (tArray[“status”] is not empty) then 
-- ***tArray[“status”] is not an array and is not empty.
As MW said empty is technically a value.

If you want to know if tArray[“status”] exists and is a value (empty or not) 
then this should work:
If (“status” is among the lines of the keys of tArray) and ( not 
(tArray[“status”] is an array)) then -- tArray[“status”] exists as a value 
(empty or not)

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 
HENRY LOWE via use-livecode
Sent: Tuesday, March 09, 2021 1:03 PM
To: Nabble-Livecode-List
Cc: HENRY LOWE
Subject: Re: Multidimensional array issue

Thanks to all for your excellent discussion and suggestions.

To briefly restate the problem:


If tArray[“status”] does not contain a value

and

If tArray[“status”][“text”] contains a value


How do I determine if tArray[“status”] contains a value?


In the message box:

put "data" into tArray["key1"]["key2"]; answer the value of tArray["key1”] - 
returns EMPTY (so this works)

put "data" into tArray["key1"]["key2"]; answer tArray["key1”] is empty - 
returns FALSE (it should return true IMHO) 

put "data" into tArray["key1"]["key2"]; answer tArray["key1”] is an array - 
returns TRUE (so not helpful) 


Henry


> On Mar 8, 2021, at 5:36 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Are you testing for empty, or are you testing if there is a value in an array 
> variable? If there is no key matching your array variable, LC will return an 
> empty string. An empty string is a value. 
> 
> Mark is using a different method, seeing if a key of an array is itself an 
> array. If bobtest ["value"] contains another array so that bobtest ["value"] 
> ["anumber"] contains 1, then bobtest ["value"] is an array. If bobtest 
> ["value"] contains 1 then it is not an array. 
> 
> But getting the value of bobtest ["value"] ["number"] will return empty 
> whether or not bobtest '{value"] is an array. This is why Mark is testing for 
> an array rather than the value. 
> 
> It seems a bit wonky, you might think, "Why not return an error?" But trust 
> me, when you work with arrays, especially when it comes to datagrid data, 
> this is the best course. 
> 
> Bob S
> 
> 
>> On Mar 8, 2021, at 16:25 , HENRY LOWE via use-livecode 
>>  wrote:
>> 
>> Thanks Mark. There are two possible states:
>> 
>> tArray[“status”] holds a value and tArray[“status”][“text”] does not
>> 
>> or
>> 
>> tArray[“status”][“text”] holds a value and tArray[“status”] does not
>> 
>> 
>> My code is trying to do the following:
>> 
>> If tArray[“status”] does not hold a value then check if 
>> tArray[“status”][“text”] holds a value
>> 
>> 
>> The crux is how one reliably determines that an array member (e.g. 
>> tArray[“status”]) holds a value?
>> 
>> I would have assumed that if the array member does not hold a value then  - 
>> if tArray[member] is empty would always return true. However that does not 
>> appear to be the case if the array is multidimensional.
>> 
>> 
>> It appears that both tArray[“status”] is an array and 
>> tArray[“status”][“text”] is an array are true. Am I missing something about 
>> using this syntax?
>> 
>> Thanks,
>> 
>> Henry
>> 
>> 
>>> On Mar 8, 2021, at 3:56 PM, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> On 3/8/21 3:46 PM, HENRY LOWE via use-livecode wrote:
>>> 
 I have often used the form 'if tArray[“key1”] is empty' to determine 
 whether an array element hold a value but this breaks if 
 tArray[“key1”][“key2”] holds a value.
>>> 
>>> Same here. Not that I've every liked that paradigm, just that it's been 
>>> that way since life crawled out of the ocean.
>>> 
>>> However this should do the trick.
>>> 
>>> if tArray["status"] is an array then put tArray["status"]["text"] 
>>> into tStatus else put tArray["status"] into tStatus end if
>>> 
>>> --
>>> Mark Wieder
>>> ahsoftw...@gmail.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, 

RE: Array Split vs Combine

2021-03-09 Thread Ralph DiMola via use-livecode
LC 9.6.1 Win 10 VM on SSD.

524 ms,512 ms, 3.28 minutes

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: Tuesday, March 09, 2021 11:56 AM
To: How to use LiveCode
Cc: Sean Cole (Pi)
Subject: Array Split vs Combine

Hi all,

I have a tsv I split out as an array, process, then combine back to a tsv.
The tsv is 53MB (55,635,198 bytes) and has 228320 lines with 21 columns
(55406878 chars).

To load the tsv file : 434ms
To split the tsv to array : 506ms
To combine the array to a tsv : 2m 58s 214ms

Why does it take so much longer to combine than split?

Link to the file:
https://www.dropbox.com/s/r6aq3ysbj13o16o/Enhanced-GB.tsv?dl=0
Test code:

*put* the millisec into tTime1
*put* url("file:Enhanced-GB.tsv") into tTest
*put* the millisec into tTime2
*split* tTest using cr and tab
*put* the millisec into tTime3
*combine* tTest using cr and tab
*put* the millisec into tTime4
*put* tTime1,tTime2,tTime3,tTime4


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


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


RE: Multidimensional array issue

2021-03-09 Thread Ralph DiMola via use-livecode
If “item” is among the lines of the keys of tDataA and tDataA [“item”] is empty 
then --it's an array key with an empty value.

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, March 09, 2021 12:24 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Multidimensional array issue

The trouble is, if tDataA [“item”] variable does not exist, that is it is not 
an array, you will still get empty.

Bob S


On Mar 8, 2021, at 9:16 PM, Phil Davis via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

When I want to determine whether or not an array element contains 
non-whitespace, I usually say:

if word 1 of tDataA["item"] is empty then ... (or is NOT empty)

Just another option.

Phil Davis

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


___
use-livecode mailing list
use-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: Multidimensional array issue

2021-03-08 Thread Ralph DiMola via use-livecode
Also works,

if tArray[“status”] an array -- It's an array

if (not (tArray[“status”] an array)) and (tArray[“status”] is not empty) -- 
it's a value

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 
HENRY LOWE via use-livecode
Sent: Monday, March 08, 2021 7:26 PM
To: Nabble-Livecode-List
Cc: HENRY LOWE
Subject: Re: Multidimensional array issue

Thanks Mark. There are two possible states:

tArray[“status”] holds a value and tArray[“status”][“text”] does not

or

tArray[“status”][“text”] holds a value and tArray[“status”] does not


My code is trying to do the following:

If tArray[“status”] does not hold a value then check if 
tArray[“status”][“text”] holds a value


The crux is how one reliably determines that an array member (e.g. 
tArray[“status”]) holds a value?

I would have assumed that if the array member does not hold a value then  - if 
tArray[member] is empty would always return true. However that does not appear 
to be the case if the array is multidimensional.


It appears that both tArray[“status”] is an array and tArray[“status”][“text”] 
is an array are true. Am I missing something about using this syntax?

Thanks,

Henry


> On Mar 8, 2021, at 3:56 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 3/8/21 3:46 PM, HENRY LOWE via use-livecode wrote:
> 
>> I have often used the form 'if tArray[“key1”] is empty' to determine whether 
>> an array element hold a value but this breaks if tArray[“key1”][“key2”] 
>> holds a value.
> 
> Same here. Not that I've every liked that paradigm, just that it's been that 
> way since life crawled out of the ocean.
> 
> However this should do the trick.
> 
> if tArray["status"] is an array then
>  put tArray["status"]["text"] into tStatus else  put tArray["status"] 
> into tStatus end if
> 
> --
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: Multidimensional array issue

2021-03-08 Thread Ralph DiMola via use-livecode
Typed too fast(left out a "the")

If the number lines of the keys of tArray[“status”] > 0 -- It's an array

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 
HENRY LOWE via use-livecode
Sent: Monday, March 08, 2021 7:26 PM
To: Nabble-Livecode-List
Cc: HENRY LOWE
Subject: Re: Multidimensional array issue

Thanks Mark. There are two possible states:

tArray[“status”] holds a value and tArray[“status”][“text”] does not

or

tArray[“status”][“text”] holds a value and tArray[“status”] does not


My code is trying to do the following:

If tArray[“status”] does not hold a value then check if 
tArray[“status”][“text”] holds a value


The crux is how one reliably determines that an array member (e.g. 
tArray[“status”]) holds a value?

I would have assumed that if the array member does not hold a value then  - if 
tArray[member] is empty would always return true. However that does not appear 
to be the case if the array is multidimensional.


It appears that both tArray[“status”] is an array and tArray[“status”][“text”] 
is an array are true. Am I missing something about using this syntax?

Thanks,

Henry


> On Mar 8, 2021, at 3:56 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 3/8/21 3:46 PM, HENRY LOWE via use-livecode wrote:
> 
>> I have often used the form 'if tArray[“key1”] is empty' to determine whether 
>> an array element hold a value but this breaks if tArray[“key1”][“key2”] 
>> holds a value.
> 
> Same here. Not that I've every liked that paradigm, just that it's been that 
> way since life crawled out of the ocean.
> 
> However this should do the trick.
> 
> if tArray["status"] is an array then
>  put tArray["status"]["text"] into tStatus else  put tArray["status"] 
> into tStatus end if
> 
> --
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: Multidimensional array issue

2021-03-08 Thread Ralph DiMola via use-livecode
If the number lines of keys of tArray[“status”] > 0 -- It's an array

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 
HENRY LOWE via use-livecode
Sent: Monday, March 08, 2021 7:26 PM
To: Nabble-Livecode-List
Cc: HENRY LOWE
Subject: Re: Multidimensional array issue

Thanks Mark. There are two possible states:

tArray[“status”] holds a value and tArray[“status”][“text”] does not

or

tArray[“status”][“text”] holds a value and tArray[“status”] does not


My code is trying to do the following:

If tArray[“status”] does not hold a value then check if 
tArray[“status”][“text”] holds a value


The crux is how one reliably determines that an array member (e.g. 
tArray[“status”]) holds a value?

I would have assumed that if the array member does not hold a value then  - if 
tArray[member] is empty would always return true. However that does not appear 
to be the case if the array is multidimensional.


It appears that both tArray[“status”] is an array and tArray[“status”][“text”] 
is an array are true. Am I missing something about using this syntax?

Thanks,

Henry


> On Mar 8, 2021, at 3:56 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 3/8/21 3:46 PM, HENRY LOWE via use-livecode wrote:
> 
>> I have often used the form 'if tArray[“key1”] is empty' to determine whether 
>> an array element hold a value but this breaks if tArray[“key1”][“key2”] 
>> holds a value.
> 
> Same here. Not that I've every liked that paradigm, just that it's been that 
> way since life crawled out of the ocean.
> 
> However this should do the trick.
> 
> if tArray["status"] is an array then
>  put tArray["status"]["text"] into tStatus else  put tArray["status"] 
> into tStatus end if
> 
> --
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: tsNet mail message not formatting

2021-03-03 Thread Ralph DiMola via use-livecode
There are 2 things(at least) that I can't believe in 2021 have
standards.
1) Fonts and their names/faces
2) Carriage returns/new lines/line feed


In LC(on windows) both cr and lf have a chartonum value of 10

Try a numtochar(13) or numtochar(13)(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 Rick Harrison via use-livecode
Sent: Wednesday, March 03, 2021 12:10 PM
To: How to use LiveCode
Cc: Rick Harrison
Subject: tsNet mail message not formatting

I want to send a message that has multiple lines.
I have tried inserting cr and return and nothing works so far. The message
ends up on a same line.

Ideas?

Thanks,

Rick

___
use-livecode mailing list
use-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: sort container parameters

2021-03-02 Thread Ralph DiMola via use-livecode
I found that you must us a "Do"(thank heaven for "Do"s) if you want to make 
variable any LC token that colorizes like "stack", "the", "field", "button", 
"put" or "ascending".

I don't think "Do" is a kludge is this case. 

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, March 02, 2021 4:56 PM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: sort container parameters

I just discovered much to my dismay that you can not execute the following:

put "ascending" into tDirection
soft lines of tContainer tDirection international

apparently neither the sort direction (ascending|descending) nor the sort type 
(international|text|datetime|numeric|binary) can be variable!

That means if you want to parameterize a sort direction, you have to do 
something like:

if tDirection is "ascending" then
   sort lines of tContainer ascending international else
   sort lines of tCOntainer descending international end if

I see this a a bug or perhaps a failure to fully robust impliment the sort 
container command? Does any one else see this as a bug?

I suppose I could work around it with a "do" but that seems like a cludge

do ("sort line of tContainer" && tDirection && tSortType)

Thoughts? Comments? Opinions? Am I expecting too much of LiveCode to have sort 
direction and type actual parameters?


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


  1   2   3   4   5   6   7   >