RE: Using a variable for an array name

2017-02-01 Thread Ralph DiMola via use-livecode
"Do" will do the trick.

Repeat with tVarNum = 1 to 4
 do "put"&&"["("Text")&"] into tText"
 do "put"&&"["("SomeOtherArrayValue")&"] into 
tSomeOtherArrayValue"
end repeat

function WrapQ pString
 return quote
end WrapQ

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: Wednesday, February 01, 2017 6:14 PM
To: How to use LiveCode
Cc: Peter Bogdanoff
Subject: Using a variable for an array name

I have arrays:
tArray1
tArray2
tArray3
tArray4


I want to get data from one of them:

put “tArray” & “1” into tVar
put tVar [“Text”] into tText1

tText1 is empty.



Is there a way to get the data from the arrays without doing this kind of thing 
for each array:

put tArray1 [“Text”] into tText1
put tArray2 [“Text”] into tText2

Thanks!

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

RE: Launch URL with Link Back to LC App

2017-01-31 Thread Ralph DiMola via use-livecode
>Richard Gaskin wrote:
>I suppose the question for us is: Why isn't this supported in LC as an
option in the Standalone Builder?

It is in a way with the "background audio" option in the standalone
settings. Enabling will get you rejected if there is no audio played in the
app(ask me how I know). This is because the UIBackgroundModes key is set to
"audio".

I'm not sure but I believe that any timers or call backs(say from tsnet)
will lock up the stack or make it go crazy. I think Mark chimed in on this
once but I can't find the thread. If the stack is just sitting idle there
are no 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


Android Remote Tester or "A funny thing happened on the way to the VM"

2017-02-02 Thread Ralph DiMola via use-livecode
I got tired of worrying about rebuilding my development environment if a PC 
failed. When I built my Win 10 PC I wanted to use VMs and have nothing on the 
host except for the Hyper-V role. I installed all my dev tools including 
multiple versions of LC on a VM I even got VB6 and the 32 bit DB drivers 
working on a 64 bit OS alongside 64 bit MS Office! I was very proud of myself 
until I tried to install via LC a test build on an Android device. (whoops!!!) 
Although Android USB device's internal drive data can be viewed on a VM, to my 
surprise you can't talk directly to the USB device from an Hyper-V VM. There 
are hardware USB sharing options using SW USB drivers on the VM. These boxes 
are very expensive, $250.00 US for 4 ports. The performance of these devices 
are sketchy at best.

Before I go on I want to thank the LC support team for their help, Mark and 
Panos showed me where and how to hook into the IDE building process. I found a 
wealth of goodies after poking around in the IDE stacks.

So the "Android Remote Tester" plug-in was born. I first envisioned it as a 
"Test" button just like LCs Test button and an manual copy and install. Then as 
it always goes the scope expanded to multiple devices, signed builds, automated 
file copy and install and then (why not) installing pre-built APKs. There are 2 
parts: 1) A server on the host machine that the devices are connected to. 2) An 
IDE Plug-in. The host is any PC/Mac/Linux box that the Android devices USB 
ports are connected to. This can be the same machine that the LC IDE is running 
on, or not. The server could even be on a remote machine somewhere else. I my 
case the server is running on the VM host and the plug-in is on development 
VMs. I tested both the server and plug-in on Mac(10.11), Windows(XP 32 bit/Win 
7-10 64 bit) and Linux Mint 64 bit. I have not tested on 32 bit Linux but I 
expect it would work just fine. I tested using LC 6, 7 and 8.1.2. In Windows I 
have the "Android Remote Tester Server" running as an Windo
 ws Service. I am working getting the server running as a "service" on Mac and 
Linux(any help here would be appreciated). Beyond the ability to install builds 
from a VM(or any remote machine) the Android Remote Tester plug-in has these 
functions that make testing to multiple devices easier:

1) Install test builds to one or more devices(and optionally launch) with one 
click and one LC build.
2) Build a signed standalone AND install to one or more devices(and optionally 
launch) with one click and one LC build.
3) Install any existing APK file to one or more devices(and optionally launch) 
with one click.

Requirements/Limitations:
1) The Android "build tools" and "platform tools" needs to be installed on the 
server machine. The server only needs 2 programs so only a skeleton Android SDK 
needs to be installed.
2) I have not created any installers.
3) It needs the Indy or Business version of LiveCode.
4) SSL is not implemented.

I do my testing on several devices. Doing 4 test builds to install on 4 devices 
gets old real quick. Building production APKs and then using an Android file 
manager on 4 devices to install the APK after going thru a bunch of "OK" popups 
for every install also gets old quick.

If anyone is interested in trying it, please drop me a line off list and I will 
send you the files and instructions for installation on your platform(s).

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: Browser Widget Appears to be caching data (JavaScript)?

2017-02-06 Thread Ralph DiMola via use-livecode
To refresh a browser cache I put an argument on the URL that is different
from the last request and the cache will be invalidated. In LC I put
"=12345678" at the end of the URL arguments or if there are no
arguments then I put "?seconds=12345678" where "12345678" is the LC "the
seconds". This only helps if there is no more than 1 request per second. I
there are more that "the milliseconds" would be more appropriate.

The local DNS cache can be refreshed on Windows by "ipconfig /flushdns". I'm
sure that this is function is available on other platforms. Then you are
getting the next level of DNS that you might/might not have access to. If
the next level is your router you can reset that DNS cache, but after that
you have to wait for it to propagate. The TTL of the DNS entry gives an
maximum time this will take. I practice I have found that this happens much
quicker. I use DynDns for IPs that change regularly and that seems to happen
very quickly.


Ralph DiMola
IT Director
Evergreen Information Services


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Bob Sneidar via use-livecode
Sent: Monday, February 06, 2017 11:46 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Browser Widget Appears to be caching data (javascript)?

Right. But that is the browser cache. If you are talking about a url
resolving to a different site, that is a function of DNS, which is totally
separate from the browser cache the browser maintains. I do not think the
browser is capable of bypassing DNS caching.

But maybe I misunderstand the problem.

Bob S


On Feb 6, 2017, at 08:39 , Mike Bonner via use-livecode
> wrote:

In an actual browser (at least as far as I know) one doesn't have to resort
to tricks.  Like in chrome, ctrl-f5 bipasses cache and reloads.  More info
here.  https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache

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


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


RE: Yertle the Turtle

2017-01-31 Thread Ralph DiMola via use-livecode
>Mike Wrote:
>Ah. Its sub pixel positioning. (a rose by any other name wouldn't be as
alliterative as a ppp name)

I banged my head against a wall for days trying to get smooth shading of 3d
objects correct. (assembler on a 1980's ECL super computer) until the light
went on and I used center pixel coordinates for the color calculations. The
integer x/y pixel positions didn't cut it. Had to go center pixel floating
point.

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


How to lose your work in a couple of clicks (dirty flag)

2017-01-24 Thread Ralph DiMola via use-livecode
I have been poking around in the IDE stacks and found this. I think it's a bug 
but wanted to run it up the ol' flag pole with the list first before I submit a 
bug report.

Recipe:
1) Open a stack.
2) Make a small change.
3) Build a standalone.
4) When presented with the "Save/Cancel/Don’t save" dialog, click on the "Don't 
save" option.
5) Exit the IDE and you will not get the options to save your stack because the 
"Don’t save" option clears the "Dirty" flag.
6) Re-open the stack in the IDE and observe that your change(s) are not there.

Expected result: User should be present with the option to save the stack when 
exiting the IDE.
Observed result: The user is not asked to save the stack when exiting the IDE.

When the "Cancel" option is selected the "dirty flag is not cleared as I would 
expect but "Don't save" clears it. I think this is wrong. Even if you don't 
choose to save at that moment The IDE should leave the stack marked as "dirty". 
I could see someone inadvertently losing a lot of work.


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: Idea about Norton

2017-01-23 Thread Ralph DiMola via use-livecode
I have a Adobe CC business account. When the problem requires a re-install
Adobe tech support always has me disable AV SW on any of the PCs with CC
installed. If Adobe requires turning off the AV SW to install CC components
then why would it be a problem for LC SW distribution to require the same?
My Win 10 Pro PCs even ask for permission to uninstall SW.

2 cents

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


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


RE: How to lose your work in a couple of clicks (dirty flag)

2017-01-24 Thread Ralph DiMola via use-livecode
I see this as a departure from other SW. I read "Don’t save" as "Don't save 
now" not as "Don't save ever". I just made my first non-mobile standalone(since 
2012) just the other day. And I was surprised to see the stack get closed and 
get re-opened as JLG documented. At the time I thought the IDE went crazy but 
every other desktop build did the same thing and I said to myself "Hmmm, that's 
interesting...". Stacks don't get closed on mobile builds. Maybe that is why I 
was confused. 

>Workflow question: under what circumstances do you find it useful to build a 
>standalone that doesn't reflect the >current state of the stack?

I see your point Richard and can’t come up with a very useful scenario, but one 
could click the wrong button whilst in the middle of a hot-fix panic. I call 
this (and any time you have fat fingers) a "Hot Key Nightmare". Maybe the 
"Don't save" button should read "Don't ever save" or eliminate the "Don’t Save" 
option completely.

If this is the way it is then so be it. But at minimum I think that LC should 
either remove the "Don’t save" option or present an additional warning to the 
user so newbies don't get bit and the more experienced user gets a chance to 
reverse a "Hot Key Nightmare" so work(and time) is not lost.

2 cents...

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 
Richard Gaskin via use-livecode
Sent: Tuesday, January 24, 2017 1:07 PM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: How to lose your work in a couple of clicks (dirty flag)

Ralph DiMola wrote:

 > 4) When presented with the "Save/Cancel/Don’t save" dialog, click on  > the 
 > "Don't save" option.
 > 5) Exit the IDE and you will not get the options to save your stack  > 
 > because the "Don’t save" option clears the "Dirty" flag.

Unless you've made changes between the time the stack was closed and re-opened 
to make the standalone and when you later closed the stack, what should it do 
after you'd already told it to discard the earlier changes?

Workflow question: under what circumstances do you find it useful to build a 
standalone that doesn't reflect the current state of the stack?

--
  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: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Ralph DiMola via use-livecode
I've fixed some weird script problems by copying the entire script to the
clipboard, Deleting the script., Clicking on "Apply", Paste the entire
script back in from the clipboard and then hitting "Apply" again. I did not
need to save in a text editor to remove formatting. I found that the key was
to click "Apply" when the script was empty after deleting it to reset
things.

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, January 27, 2017 10:47 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Script editor chops "end handler" to "nd handler"

Also, as it began with 8, try copy/pasting the ENTIRE SCRIPT (not just the
handler) into a text editor that has the ability to remove all formatting.
Do so, then copy/paste the text back into your script. I have seen this
resolve certain issues before. 

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: Launch URL with Link Back to LC App

2017-01-30 Thread Ralph DiMola via use-livecode
BR,

This has been described at the ol' "plist hack":
Look at the package contents of the LC.app version your using. Navigate to the 
Contents>Tools>Runtime>iOS folder and set the permissions for write access to 
the "Device-x_x" folders. Then edit the "Settings.plist" files in those folders 
and delete the 2 lines.. UIApplicationExitsOnSuspend
${APPLICATION_EXITS_ON_SUSPEND}

Rebuild your app. The app will only close if you "Quit" it by LC script or the 
app window is not displayed and iOS needs the memory (although I have never had 
the latter happen)

Hope this helps...

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Sannyasin Brahmanathaswami via use-livecode
Sent: Sunday, January 29, 2017 10:24 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Launch URL with Link Back to LC App

Use case is: multiple apps and the local  mobile browser, all in a navigable 
ecosystem on small devices.

on iOS, you can make an app that does this

1) Open to home screen
2) go to card "Virtual Tours"
3) click on "Gardens"
4) go to another card name "gardens" (just an example)
5) click a button that has a script like

On  mouseup
launch url http://www.kauai-botanical-gardens.com
end mouseup

Ok build, load and run on the iPhone…

if you click through in the app to card gardens and click on the link and it 
takes you to Safari on iPHone and Chrome on Android.

in iOS you will get a small "< MyApp" in the upper left corner of Safari. 
Android of course has it's default back button.

on iOS if you click that button  "

RE: Launch URL with Link Back to LC App

2017-01-30 Thread Ralph DiMola via use-livecode
BR,

This has been described at the ol' "plist hack":
Look at the package contents of the LC.app version your using. Navigate to the 
Contents>Tools>Runtime>iOS folder and set the permissions for write access to 
the "Device-x_x" folders. Then edit the "Settings.plist" files and delete the 2 
lines.. UIApplicationExitsOnSuspend
${APPLICATION_EXITS_ON_SUSPEND}

Rebuild your app. The app will only close if you "Quit" it by LC script or the 
app window is not displayed and iOS needs the memory (although I have never had 
the latter happen)

Hope this helps...

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Sannyasin Brahmanathaswami via use-livecode
Sent: Sunday, January 29, 2017 10:24 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Launch URL with LInk Back to LC App

Use case is: multiple apps and the local  mobile browser, all in a navigable 
ecosystem on small devices.

on iOS, you can make an app that does this

1) Open to home screen
2) go to card "Virtual Tours"
3) click on "Gardens"
4) go to another card name "gardens" (just an example)
5) click a button that has a script like

On  mouseup
launch url http://www.kauai-botanical-gardens.com
end mouseup

Ok build, load and run on the iPhone…

if you click through in the app to card gardens and click on the link and it 
takes you to Safari on iPHone and Chrome on Android.

in iOS you will get a small "< MyApp" in the upper left corner of Safari. 
Android of course has it's default back button.

on iOS if you click that button  "

RE: Launch URL with LInk Back to LC App

2017-01-30 Thread Ralph DiMola via use-livecode
JLM, Thanks for the clarification. BR, Another way to do this without using
the un-supported plist hack is to save the state of your app before you
launch the browser and then restore the app to the saved state when it
restarts.

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, January 30, 2017 1:58 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Launch URL with LInk Back to LC App

On 1/29/17 9:24 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
> Is there a way to ensure that the "back button" on any device's web 
> app, goes back to the card in the stack from which it was invoked by 
> the "launch ulr" command?

This has to do with the default behavior of LC and the OS it runs on. By
default, LC mobile apps quit when they are not frontmost. The behavior after
that depends on the OS.

On Android, the LC app will remain in RAM until the OS needs the memory, at
which point it will quit. If the user goes back to the LC app before it has
been removed from memory, the user will return to the place it last left
off. If the app has been removed, it re-launches to its opening screen.

On iOS the app is not retained in RAM, it always quits. Ralph provided the
work-around that allows the app to run in the background. It is not
supported and can fail depending on what the app does. If you use it, test
to make sure it works reliably.

-- 
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: Launch URL with LInk Back to LC App

2017-01-30 Thread Ralph DiMola via use-livecode
Glad it worked out for you. Apple has never said a word. I've been using it for 
4 years. I think you run into trouble if you have any timers or call backs when 
the app is in the background.


Ralph DiMola
IT Director
Evergreen Information Services



 Original message From: Sannyasin 
Brahmanathaswami via use-livecode <use-livecode@lists.runrev.com> 
Date:01/30/2017  22:18  (GMT-05:00) To: How to use 
LiveCode <use-livecode@lists.runrev.com> Cc: Sannyasin 
Brahmanathaswami <bra...@hindu.org> Subject: Re: Launch URL with 
LInk Back to LC App 
Ralph

Thanks, hacking the pList definitely works!

I guess Apple doesn't care, right?





On 1/30/17, 10:18 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
<use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

JLM, Thanks for the clarification. BR, Another way to do this without using
the un-supported plist hack is to save the state of your app before you
launch the browser and then restore the app to the saved state when it
restarts.



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


Slow Sockets on Mac

2017-01-27 Thread Ralph DiMola via use-livecode
I'm transferring 40mb over sockets a chunk at a time. The receiver is on a Win 
10 Pro Hyper-V Host using LC 8.2.1. The sender uses LC 8.2.1 also.
Sender on a Win10 Host==> 10 seconds
Sender on a Win10 Pro VM==> 10 seconds
Sender on a Win10 Home VM==> 10 seconds
Sender on a 64 bit Linux VM==> 10 seconds
Sender on a Win XP PC==> 10 seconds
Sender on MacBook Pro OS X 10.11==> 60 seconds.

All(except the VMs) have 1000mb nics connected via a 1000mb switch. An increase 
of 600% makes me think I'm missing something. Anyone else seen this?

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: Stack References When Fired in Backscripts/Libraries

2017-03-30 Thread Ralph DiMola via use-livecode
You are correct sir. The context is from the calling stack/card/control. The 
only thing I have run into is callbacks (scrollerdidscroll on mobile for 
example) that are "targeted" to the stack that requested them.
See http://quality.runrev.com/show_bug.cgi?id=15018 "Native mobile controls 
bind themselves to 'me' at the point they are created and this is where they 
send their messages."

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Sannyasin Brahmanathaswami via use-livecode
Sent: Wednesday, March 29, 2017 11:51 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Stack References When Fired in Backscripts/Libraries

I was (happily) surprised today when  in a handler in a library that was put 
into use on init of the app

that a handler in

lib_initMyApp.livecodescript  # now in the msg hierarchy

on bakeBread pDaKin
   put the name of this stack
end bakeBread

Then in a top level binary stack name… e.g.

baking.livecode

if we call  "bakeBread"

we see

stack "baking.livecode"

in the msg box and not

lib_initMyApp.livecodescript

ergo "this stack" in a script only text stack in the message path is not seen 
as "itself"
but actually the target script from whence the command was issued.

So this means we don't have to parse for "the target"  yay!

Am I right? Is this dependable moving forward? Any caveats?

BR

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


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

RE: Line numbers for soft-wrapped styled text?

2017-03-28 Thread Ralph DiMola via use-livecode
I remember once had a problem like something like this. I solved it by
including char 1 to -1 or was it adding the effective keyword? Don't
remember and I don't have time to try at this moment. If you do this do you
get the expected results?

the formattedheight of char 1 to -1 of line N of fld
or
the effective formattedheight of char 1 to -1 of line N of fld
or
the effective formattedheight of line N of fld

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: Tuesday, March 28, 2017 4:13 PM
To: use-livecode@lists.runrev.com
Cc: Alex Tweedly
Subject: Re: Line numbers for soft-wrapped styled text?

There is a bit of a problem I encountered trying to code this up.

I'm not 100% sure yet if it's a bug, though I think it must be. Comments
anyone ?


If I set the 'spacebelow' of the last (Nth) line of a field, and get the 
formattedheight of the field, that includes the spacebelow value just set.

However, none of

   the formattedheight of line N of fld ...

   the formattedheight of line 1 to N of fld ...

   the formattedheight of line 1 to -1 of fld ...

include it.  The same is true of 'internal' lines - it's not just the 
last one in the field - the formattedheight of a chunk doesn't include 
any spacebelow set on the last line of the chunk.

This makes it near impossible to use a binary search accurately (or 
indeed to reliably use "the formattedheight of chunk xx of fld yy").

So now that I've describe it like that, I'm pretty sure it is a bug  
but comments welcome before I report it.

-- Alex.


On 28/03/2017 05:30, hh via use-livecode wrote:
> The solution of Alex T. was the first example I saw of a useful
> usage of the styledText array. TMHO this is the way to go for the
> future of more and more complicated styled text.
>
> As was said elsewhere, there could be a considerable speed up if
> first the visible range of lines, say numbers L1 to L2, is determined.
>
> We had once a thread in the forum about that. The fastest method:
>
> Compare the formattedHeight of line 1 to L of fld T to the vscroll v0
> of fld T. Not by walking with L up from one, but by using a binary
> search for L1 and then starting from there to find L2 by comparing to
> v0+the height of fld T. This needs only a few millisecs even for large
> chunks.
>
> Then use Alex's method with the styledText array of these lines. Or,
> quick and dirty, save the selectedChunk, select before each line L
> in the range L1 to L1 and collect the selectedLocs and then restore
> the selectedChunk.
>
> Now draw the line numbers each into an own freshly created field or
> use Alex's space below method.
>
> p.s. Hopefully you will share your final code.
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: Help test please? GoLiveNet in v9

2017-03-15 Thread Ralph DiMola via use-livecode
OK here on Win 10 Pro VM LC 8.1.3 Business

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: Wednesday, March 15, 2017 5:07 PM
To: How to use LiveCode
Cc: Richard Gaskin
Subject: Help test please? GoLiveNet in v9

Hello gang -

I'm having a tough time figuring out why the GoLiveNet plugin shipping with
LC isn't working well for me (BZ#19026).

If you're using v8 or v9, could you please run this recipe and email me if
it doesn't work:

1. In the IDE, choose Development -> Plugins - GoLiveNet

That's it.  When it's working you'll briefly see a progress bar, and then
the LiveNet window appears.

If it doesn't work you'll see an error note in that plugin window.

Curious what you find. Thanks -

--
  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: Help test please? GoLiveNet in v9

2017-03-15 Thread Ralph DiMola via use-livecode
Whoops... also OK using LC 9.0(dp5)
OK here on Win 10 Pro VM LC 8.1.3 Business

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: Wednesday, March 15, 2017 5:07 PM
To: How to use LiveCode
Cc: Richard Gaskin
Subject: Help test please? GoLiveNet in v9

Hello gang -

I'm having a tough time figuring out why the GoLiveNet plugin shipping with
LC isn't working well for me (BZ#19026).

If you're using v8 or v9, could you please run this recipe and email me if
it doesn't work:

1. In the IDE, choose Development -> Plugins - GoLiveNet

That's it.  When it's working you'll briefly see a progress bar, and then
the LiveNet window appears.

If it doesn't work you'll see an error note in that plugin window.

Curious what you find. Thanks -

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

2017-04-04 Thread Ralph DiMola via use-livecode
I had 3 bugs that were fixed in short order! You cats rock. THANK YOU!

Android keyboardActivated and keyBoardDeactivated message is not sending
when status bar hidden.
iOS Launch URL did not clear "the result" if successful.
iOS crash when browser gets an invalid URL.

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: Tuesday, April 04, 2017 9:40 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: [ANN] Release 8.1.4 RC-1

Dear list members,

We are pleased to announce the release of LiveCode 8.1.4 RC-1.

Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents


LiveCode 8.1.4 RC-1 contains 70 bug fixes, as well as security and stability
improvements:

- Several crashes have been fixed.
- New version of tsNet (1.2.7) that addresses various network-related bugs
is included.
- OpenSSL version is updated to 1.1.0d

The full release notes are available from:
http://downloads.livecode.com/livecode/8_1_4/LiveCodeNotes-8_1_4_rc_1.pdf

Note:
Support for building iOS standalones with Xcode 8.3 (using iOS10.3 SDK) will
be added in LiveCode 8.1.4 RC-2, expected within a couple of weeks.


Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/


Have fun!
The LiveCode Team

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


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


RE: iOS app rejected five times because of background audio setting

2017-04-03 Thread Ralph DiMola via use-livecode
Richard,

Been down this road. Ticking the "Background Audio" option sets
UIBackgroundModes key to "audio" as well as setting
UIApplicationExitsOnSuspend=False to keep you app active. If you are not
actually playing background audio then you will get rejected. The way to do
this is to edit the app.

1) In Tools/Runtime/iOS... set all the folders to read/write.
2) Edit the setting.plist in each of the folders and change
UIApplicationExitsOnSuspend key value to "False" (or like I do...delete the
key all together) 

That's it! Apple will not complain. If you need to have some apps with it on
and some with it off then make a copy of the app and change the
setting.plist's in the copy.

I only change the devices(only 2) and leave the simulators as is (I have 5
of them). If I want to test this behavior I just put the app on a 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 Richard Miller via use-livecode
Sent: Monday, April 03, 2017 3:52 PM
To: How to use LiveCode
Cc: Richard Miller
Subject: iOS app rejected five times because of background audio setting

I have gone back and forth with Apple five times in an attempt to get this
setting correct. I made the mistake originally of enabling the background
audio option in the iOS standalone settings area. I was trying to prevent
the app from exiting when the user switched to a different app. I know that
this setting solves that issue, but it also caused Apple to reject my app
because I was not including any background audio.

I have since realized that the correct way to deal with this is to modify
the "exit on suspend" clause in the livecodescript file. But after creating
a new standalone and submitting it to Apple, they keep telling me I am still
referencing the backgroundaudio option. I tried making changes to the
info.plist and settings.plist files, but I can't seem to get this right.

I just downloaded a fresh copy of LC 9.0 and created a new standalone. 
When I look at the info.plist file in the standalone, this is what I find:

UIBackgroundModes
 

 


Is this correct? Is this the way the code should read when the background
audio option is not being used?

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


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


RE: iOS app rejected five times because of background audio setting

2017-04-03 Thread Ralph DiMola via use-livecode
After reading closer:
1) Make sure that the "Background Audio" is un-ticked.
2) Do the "plist hack" as enumerated in my last email.
3) This is all I do and have never been rejected for the "Background Audio"
issue.
4) I have never tried to submit to the store with v9. This might be a v9
issue.

UIBackgroundModes
 

 

Seems to be 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 Richard Miller via use-livecode
Sent: Monday, April 03, 2017 3:52 PM
To: How to use LiveCode
Cc: Richard Miller
Subject: iOS app rejected five times because of background audio setting

I have gone back and forth with Apple five times in an attempt to get this
setting correct. I made the mistake originally of enabling the background
audio option in the iOS standalone settings area. I was trying to prevent
the app from exiting when the user switched to a different app. I know that
this setting solves that issue, but it also caused Apple to reject my app
because I was not including any background audio.

I have since realized that the correct way to deal with this is to modify
the "exit on suspend" clause in the livecodescript file. But after creating
a new standalone and submitting it to Apple, they keep telling me I am still
referencing the backgroundaudio option. I tried making changes to the
info.plist and settings.plist files, but I can't seem to get this right.

I just downloaded a fresh copy of LC 9.0 and created a new standalone. 
When I look at the info.plist file in the standalone, this is what I find:

UIBackgroundModes
 

 


Is this correct? Is this the way the code should read when the background
audio option is not being used?

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


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


RE: Error when create iOS standalone, any workaround ?

2017-04-05 Thread Ralph DiMola via use-livecode

Panos, I see this maybe 30% of this after first launching LC, then not again 
until a re-launch(maybe). I can build and build... with no error after the 
first error. If I don't get the error on the first build then I never see the 
error in that session. Can't seem to find a recipe.

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: Wednesday, April 05, 2017 3:08 PM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: Error when create iOS standalone, any workaround ?

Ah yes, I see that occasionally (usually when I install a new version of Xcode 
or LiveCode), but it seems to disappear on subsequent build attempts.

I have not managed to find a reproducible recipe though.

On Wed, Apr 5, 2017 at 8:00 PM, Ludovic THEBAULT via use-livecode < 
use-livecode@lists.runrev.com> wrote:

>
> > Le 5 avr. 2017 à 19:14, panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> a écrit :
> >
> > Hi Ludovic,
> >
> > What is the error message you are getting?
> >
> > Best,
> > Panos
>
> Now i’ve this error :
>
> linkin for arm (arm64) failed with id: warning: id: warning: object 
> file (/Applications/Livecode Indy […]/Device-10_2/Standalone) was 
> built  for newer iOS version (10.2) then being linked (7.0)object file
> (/private/var/[…]) was built  for newer iOS version (10.2) then being 
> linked (7.0)
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

RE: Error connecting to SQLlite in iOS

2017-04-20 Thread Ralph DiMola via use-livecode
John,

The standalone "copy files" are in "the engine folder" in the mobile app.
Copy the DB from the engine folder to the documents folder.

Put url ("binfile:" engine folder&"/ccssdb-ela.sqlite") into url 
("binfile:" documents folder&"/ccssdb-ela.sqlite")

You can't open the DB in the engine folder even if you don’t try to write to it 
as the engine folder is read-only.

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 PATTEN via use-livecode
Sent: Thursday, April 20, 2017 1:38 PM
To: How to use LiveCode
Cc: JOHN PATTEN
Subject: Error connecting to SQLlite in iOS

Hi All,

I have a simple project that uses an sql lite database. It works fine in 
LiveCode, but when I test it in the iOS simulator, i get an error.

I have copied to the SQL.lite database to the “Copy Files” in the standalone 
settings. I have also added the SqLite and MySQL inclusions.

Here is the link to the project and db: Here is a link to the stack and sql db: 
 https://www.dropbox.com/s/74rhx88dod6cs2k/CCSS%20App.zip?dl=0 


Here is the script I am using.

local sDatabaseID

command databaseConnect
local tDatabasePath, tDatabaseID

 put specialFolderPath("Documents") &  "/ccssdb-ela.sqlite" into 
tDatabasePath

## Test if a database exists

if there is a file tDatabasePath then

answer "A database already exists" with "Okay"

end if

if there is a file tDatabasepath then
put  revOpenDatabase("sqlite", tDatabasePath, , , , ) into tDatabaseID 
setDatabaseID tDatabaseID

put cd fld "targetGrade" into tGrade

if tGrade is 10 then

put 9 into tGrade

end if

if tGrade is 12 then

put 11 into tGrade

end if

put revQueryDatabase(tDatabaseID,"SELECT * FROM ccss_data WHERE grade 
=:1","tGrade") into theCursor

if theCursor is an integer then

ConvertSQLCursorToArray theCursor, theDataGridArray

put the result into theError

if theError is empty then

set the dgData of group "ccss_data" to theDataGridArray

end if

revCloseCursor theCursor


revCloseDatabase tDatabaseID

else


Answer "Error connecting to the database:" && tDatabaseID & "."
end if


else

Answer "Having trouble locating database."

end if

end DatabaseConnect

command setDatabaseID pDatabaseID

  put pDatabaseID into sDatabaseID

end setDatabaseID


function getDatabaseID

  return sDatabaseID

end getDatabaseID


command ConvertSQLCursorToArray pCursor, @pOutArrayA

local i

local theFields

local theError


put revDatabaseColumnNames(pCursor) into theFields

if theFields begins with "revdberr," then

put item 2 to -1 of theFields into theError

end if

if theError is empty then

put 0 into i

repeat until revQueryIsAtEnd(pCursor)

add 1 to i


repeat for each item theField in theFields

put revDatabaseColumnNamed(pCursor, theField) into pOutArrayA [i] [theField]

end repeat


revMoveToNextRecord pCursor

end repeat

end if

return theError

end ConvertSQLCursorToArray


Thank you!

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


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

RE: ouch: the beginning of the end

2017-03-03 Thread Ralph DiMola via use-livecode
I use Acrobat API and the JSO in VB to edit "original" PDFs. One can add
fields, add pull down lists w/java, edit existing fields, execute java in
the PDF, extract/change text, add/delete bookmarks and everything else you
can do(and more) in the Acrobat GUI.

On my to-do list is creating a LC external to gain LC access to Acrobat API
and the JSO in LC. The Acrobat structures are heavily typed so I don't know
how practical/possible this interface would be. It might require some LCB
glue? I don't know if the Acrobat API and JSO is available on platforms
other than Windows. If I had a LC Acrobat API/JSO external I would lose VB
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 Dr. Hawkins via use-livecode
Sent: Friday, March 03, 2017 10:25 AM
To: How to use LiveCode
Cc: Dr. Hawkins; Alejandro Tejada
Subject: Re: ouch: the beginning of the end

On Thu, Mar 2, 2017 at 5:02 PM, Alejandro Tejada via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have used LiveCode (then MetaCard) to write content in PDF 
> templates, so I do not understand the requirement that file should 
> have no changes.
>

The file I upload needs to be indistinguishable from the pdf the court
issues to fill in at any arbitrary density.

At the moment, I'm simply recreating by pasting into fields.  What *should*
be happening is placing fields over an eps made from the court's own pdf.

This particular form was the breaking point:
http://www.nvb.uscourts.gov/downloads/mmm/forms/NVB105-3_OrderDebtorsMtnRefe
rraltoMMM.pdf

I have created paragraph by paragraph, but I now have a clerk insisting that
it be this exact pdf--so I have to go back to my original plan.  With
livecode, this *should* happen by turning it into page by page eps's,
putting each on a card, and laying fields over them, and then "printing" to
a pdf file.

Unfortunately, due to the lack of eps support, the only possible way is to
make png's, put the fields in front of those, delete the png when printing,
and then use shell tools (pdftk, pdfjar, pdftools, etc.)  to overlay each
page of my livecode output onto the form pdf.

This is fairly straightforward on unix (mac, linux).  However, I need to
insure that the third party software is installed, and for good measure,
support at least two ways of doing it.

Windows?  beats me.

iOS?  I'd be shocked if the tools are there.  I'd have to license the code.

android?  beats me again.

But all in all, I've lost "write once".


--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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 save to local file via native file dialogue?

2017-03-10 Thread Ralph DiMola via use-livecode
Keith,

'Ask File' will do the trick.
'ask file' is the "save file" complement to 'answer file'

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Keith Clarke via use-livecode
Sent: Friday, March 10, 2017 11:50 AM
To: How to use LiveCode
Cc: Keith Clarke
Subject: How to save to local file via native file dialogue?

Hi Folks,
I’m building a little utility to parse a regular html report file I get into 
CSV form to slice & dice with Excel. 

Input & transformation phases are sorted. 
Input processing uses 'answer file' to select a source file via the native file 
dialogue, set the defaultFolder and load the HTML content via put URL Transform 
to structured tabular form is neatly handled via chunk replace & filter 
functions and iteration.

However, I’m struggling to find the syntax needed to save the contents of the 
output variable / field into a local file via the OS file save dialogue for 
flexibility. I’m guessing it’s a variant of 'put theContent into URL “file:” & 
theFolderPathAndName’ but this seems hard-wired.

What trick am I missing here?
Thanks,
Keith..   
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

Script Profiler

2017-03-04 Thread Ralph DiMola via use-livecode
Both the Remote Debugger and Script Profiler are exciting. There's only one
of me so I went for the script profiler first. Looked at the LC lesson and
it seemed simple enough... Enable, do some stuff in your stack and the
disable. I did that and the Profiler screen pops up but it's empty. Am I
missing something? How do I set the message/handler level to be profiled?
Say I want to see how long it takes to resize the stack. I first profile the
script in the resizestack handler but not any deeper. I then see that one of
the handlers called in the resizestack hander takes too long so now I want
to profile just that handler.

Has anybody got this working?

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: iOS app rejected five times because of background audio setting

2017-04-03 Thread Ralph DiMola via use-livecode
I just looked at the info.plist from my last app that Apple approved.

1) The UIApplicationExitsOnSuspend key is not there.
2) the UIBackgroundModes key looks like what you see.
UIBackgroundModes
 
 
 

What does your info.plist in the app look like?

OPTION 2: You bumped up against an less than expert reviewer. If your plist
looks correct then challenge them. I have done that in the past when I was
sure they were wrong and they acquiesced. If that does not work then go to
arbitration.

I feel your pain... Let us know how it ends.

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 Miller via use-livecode
Sent: Monday, April 03, 2017 5:31 PM
To: use-livecode@lists.runrev.com
Cc: Richard Miller
Subject: Re: iOS app rejected five times because of background audio setting

Thanks for the info, Ralph. I had figured out the exit-on-suspend issue
previously. In my last app submission, I completely removed the entire
section in the info.plist file which referenced UIBackgroundModes, but they
still rejected it on the same claim that background audio was enabled. This
tells me one of two things: there is some other file in the standalone that
is referencing this function, or, by completely removing it from info.plist,
this effectively defaults to enabling that function. 

I am hoping that the precise code I included in my previous email is the
correct way to disable background audio in info.plist, and that there is no
other file other than the info.plist that needs to be addressed.

Richard


Sent from my iPhone

> On Apr 3, 2017, at 5:03 PM, Ralph DiMola 
wrote:
> 
> After reading closer:
> 1) Make sure that the "Background Audio" is un-ticked.
> 2) Do the "plist hack" as enumerated in my last email.
> 3) This is all I do and have never been rejected for the "Background
Audio"
> issue.
> 4) I have never tried to submit to the store with v9. This might be a 
> v9 issue.
> 
> UIBackgroundModes
> 
> 
> 
> 
> Seems to be 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 Richard Miller via use-livecode
> Sent: Monday, April 03, 2017 3:52 PM
> To: How to use LiveCode
> Cc: Richard Miller
> Subject: iOS app rejected five times because of background audio 
> setting
> 
> I have gone back and forth with Apple five times in an attempt to get 
> this setting correct. I made the mistake originally of enabling the 
> background audio option in the iOS standalone settings area. I was 
> trying to prevent the app from exiting when the user switched to a 
> different app. I know that this setting solves that issue, but it also 
> caused Apple to reject my app because I was not including any background
audio.
> 
> I have since realized that the correct way to deal with this is to 
> modify the "exit on suspend" clause in the livecodescript file. But 
> after creating a new standalone and submitting it to Apple, they keep 
> telling me I am still referencing the backgroundaudio option. I tried 
> making changes to the info.plist and settings.plist files, but I can't
seem to get this right.
> 
> I just downloaded a fresh copy of LC 9.0 and created a new standalone. 
> When I look at the info.plist file in the standalone, this is what I find:
> 
> UIBackgroundModes
> 
> 
> 
> 
> 
> Is this correct? Is this the way the code should read when the 
> background audio option is not being used?
> 
> Thanks for any help with this,
> Richard Miller
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


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


RE: Script to find bottom of lowest field

2017-04-03 Thread Ralph DiMola via use-livecode
Not tested:

Put -9 into tMax
Repeat with I = 1 to the number of fields of this card
 Put the max (tmax,the bottom of field I) into tMax
End repeat

Create field
Put it into tField
Set the top tField to tMax + 20

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: Monday, April 03, 2017 5:34 PM
To: How to use LiveCode
Cc: Peter Bogdanoff
Subject: Script to find bottom of lowest field

Hi script wizards!

I have a card containing a number of fields. I want to add another field,
but position this new field to have its top 20 pixels lower than the bottom
of any of the existing fields.

Does anyone already have a magic script to do this?

I also want to learn something new!

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


[OT-ish] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-03 Thread Ralph DiMola via use-livecode
I'm going to do this Friday night and was looking for any advice/tricks to
make this go smooth(as much as possible). I have read about a few disasters
online when upgrading from HFS+ to the new APFS file system.

 

I am running a 16gb Early 2011 15" MacBook Pro. I CCC'ed my 1tb drive to a
new 2tb drive and then installed the 2tb drive in the MacBook . The new 2tb
drive is working just fine and dandy.

 

Any advice 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: [OT-ish] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-03 Thread Ralph DiMola via use-livecode
Thanks Monte and The Doctor... I should have explored a little deeper on the 
"High" version.


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: LC 9.0.0 dp8 won't launch iOS simulator

2017-08-13 Thread Ralph DiMola via use-livecode
Bill,

Great!. I just noticed that the original did not hit the use list. I composed 
that on my phone and it seems that email account will not post to the lists 
anymore. I'll get Heather to fix that. One addition... The alligator 
(OldXcodeVersions folder) should be nowhere near the applications folder. 
Preferably "in a galaxy far far away". My First stab was as a sub-folder in 
applications. I had a problem (could/could not have been related). I moved 
OldXcodeVersions folder to the desktop and there it stays.

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: Sunday, August 13, 2017 1:00 AM
To: Use-livecode Use-livecode
Cc: William Prothero
Subject: Re: LC 9.0.0 dp8 won't launch iOS simulator

This works! Very easy once you know the location of the alligators in the swamp.
Best,
Bill P

> On Aug 11, 2017, at 10:11 PM, Evergreen Info  
> wrote:
> 
> I kept getting all sorts of weird Xcode related problems in until I started 
> doing this.
> 
> 1] Keep only one version of Xcode in the applications folder named Xcode.app.
> 2]  Create an OldXcodeVersions folder. 
> 3] When upgrading:
>   A] Move Xcode.app from applications folder to the OldXcodeVersions folder 
> and rename it to Xcode.x.y.app.
>   B] Download the new Xcode from the developer portal. 
>   C] Open up downloads and install Xcode into the applications folder..
>   D] Open up the new Xcode.app
>   E] In the LC prefs select...add a new Xcode.
>   F] Add the Xcode that you just moved and renamed in A and B. This give you 
> access to older SDKs and simulators.
> 4] Never upgrade Xcode.
> 5] Never install from App Store .
> 6] Trash any versions of Xcode that were upgrades and redownload them fresh 
> from developers portal. 
> 7] Open the Xcode versions one at a time named Xcode.app in the applications 
> folder and then move to the OldXcodeVersions folder and rename.
> 
> 
> 6 and 7 is pain but was worth it.
> 
> The App store honks at you for a few days until it figures out you have the 
> most recent version of Xcode installed.
> 
> Your mileage may vary.
> 
> On Aug 12, 2017 12:20 AM, William Prothero via use-livecode 
>  wrote:
> Folks:
> I’m trying to work on a new app that will send an sms message in iOS. But, as 
> it usually happens when I don’t use the simulator and XCode for a month or 
> so, new version come along and chaos seems to ensue. I had all of this 
> working in LC 8.1.4.
> 
> I’ve been working with LC 8.2.6 and LC9.0.0 (dp8) I downloaded XCode 8.3.3, 
> but have XCode 8.3 and 8.2 installed. When I started, LC 8.2.6 would launch 
> the simulator ok. But 9.0.0 wouldn’t. After fiddling around a bit, LC 8.2.6 
> would no longer launch the simulator. I get the following error message on 
> all versions, no matter what I put into the LiveCode preferences for XCode:
> 
> “Unable to start simulator 634,0,0,notoolset 573,220,1,revPhoneSetSimulatorSDK
> 
> I deleted the LC Preferences files and it didn’t fix anything.
> 
> So…. I have 3 versions of XCode (8.2, 8.3, 8.3.3)  in my application folder. 
> These have been downloaded from the developer portal. Is it ok to have all of 
> them in my applications folder, then enter them into the LC 
> Preferences->mobile Support pane? Or will it mix up software from different 
> versions of XCode in my app folder?
> 
> Do I need to download additional tools for XCode?
> 
> This is extremely frustrating. I did note that there was a red/green box in 
> the LC mobile support pane in preferences, which should indicate the all the 
> XCode support files are correct for the running version of LC. This doesn’t 
> seem to be the case, though. It does respond to the version loaded, though, 
> which is something.
> 
> For me, this is the most frustrating part of livecode. Can’t more be done to 
> check configurations and provide clear and complete error messages when 
> things aren’t right?
> 
> Best,
> Bill P
> 
> William A. Prothero
> http://earthlearningsolution.org/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 

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


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

Message box And Password Protected Stacks

2017-08-14 Thread Ralph DiMola via use-livecode
Since when can't you call a command/function in the message box from a password 
protected stack until it is opened(using password) in the script editor once? 
Is this a regression or intended behavior?

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: common code patterns

2017-08-10 Thread Ralph DiMola via use-livecode
Using a break in every case is 95%+ of my switch usage. Also the editor
should not do this if there is a case in the immediately preceding
non-blank/non-comment line. Doing this and J's suggestion would save me lots
of typing.

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, August 10, 2017 1:38 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: common code patterns

Ooooh... Ah, but then someone will complain about occassionally having to
delete the break. 

Bob S


> On Aug 10, 2017, at 10:30 , J. Landman Gay via use-livecode
 wrote:
> 
> How about every time I write a "case" statement inside a switch construct,
the editor adds a blank line and then "break"?
> 
> --
> 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: common code patterns

2017-08-10 Thread Ralph DiMola via use-livecode
Monte,

I find that I do this quite often

local tIndex
put 1 into tIndex
repeat for each line tLine in tLines
 add 1 to tIndex
end repeat

What would be very help full is the construct:

repeat for each line tLine in tLines index tIndex
end repeat

This eliminates 3 lines.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Monte Goulding via use-livecode
Sent: Thursday, August 10, 2017 6:01 AM
To: How to use LiveCode
Cc: Monte Goulding
Subject: common code patterns

Hi Folks

I’m looking for a few common code patterns that you find yourselves writing 
often but aren’t well suited to reusable handlers. So snippets of code or 
common ways that events are handled together in a script for a certain task.

Cheers

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


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

RE: common code patterns

2017-08-10 Thread Ralph DiMola via use-livecode
To make this even more flexible:

repeat for each line tLine in tLines with [counter] tIndex [start] [{1}|x]
[step] [{1}|y]
 
end repeat

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Devin Asay via use-livecode
Sent: Thursday, August 10, 2017 12:33 PM
To: How to use LiveCode
Cc: Devin Asay
Subject: Re: common code patterns


On Aug 10, 2017, at 10:25 AM, Ralph DiMola via use-livecode
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Monte,

I find that I do this quite often

local tIndex
put 1 into tIndex
repeat for each line tLine in tLines
add 1 to tIndex
end repeat

What would be very help full is the construct:

repeat for each line tLine in tLines index tIndex end repeat

This eliminates 3 lines.


+1. I like this idea because I end of doing something similar a lot. Maybe
this sounds a little more x-codish:

repeat for each line tLine in tLines with [counter] tIndex end repeat

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

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


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


RE: common code patterns

2017-08-10 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 
J. Landman Gay via use-livecode
Sent: Thursday, August 10, 2017 1:30 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: common code patterns

How about every time I write a "case" statement inside a switch construct, the 
editor adds a blank line and then "break"?

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



On August 10, 2017 5:03:25 AM Monte Goulding via use-livecode 
 wrote:

> Hi Folks
>
> I’m looking for a few common code patterns that you find yourselves 
> writing often but aren’t well suited to reusable handlers. So snippets 
> of code or common ways that events are handled together in a script for a 
> certain task.
>
> Cheers
>
> Monte
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



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


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

RE: common code patterns

2017-08-11 Thread Ralph DiMola via use-livecode
I may not be obvious but neither is the sort command. When I start LC I
could not grasp "each" and what it did to what from who, but that's me. I
digress. I can't tell you how many times I've done:

Local tKeys
Put the keys of pArray into tKeys
Sort the lines of tKeys numeric
Repeat for each line tKey in tKeys
...



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 Dr. Hawkins via use-livecode
Sent: Friday, August 11, 2017 6:33 PM
To: How to use LiveCode
Cc: Dr. Hawkins
Subject: Re: common code patterns

On Fri, Aug 11, 2017 at 3:08 PM, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 08/11/2017 02:59 PM, Mike Kerner via use-livecode wrote:
>
>> That is not easier to read.
>>
>
> Heh. Mike beat me to it.


. . .  After seven chalkboards of deprivation, the calculus professor
announce, "therefore, A is obviously equal to B"

A student timidly raised her hand, and said, "That's not obvious,
professor."

He scrawled three more boards, and triumphantly announced, "See, I told you
it was obvious!"

:)

--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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 Mobile App in Background

2017-08-11 Thread Ralph DiMola via use-livecode
There are a couple of hitches.. I believe that Mark said that timers going off 
while running in the background may not work or lock up the app. There are 
other issues but I have not had any problems. It's an option in v9 iOS 
standalone setting but it's a "use at your own risk" type of thing.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Dan Friedman via use-livecode
Sent: Friday, August 11, 2017 10:12 PM
To: use-livecode@lists.runrev.com
Cc: Dan Friedman
Subject: Re: Livecode Mobile App in Background

Ralph,

Thank you for the detailed reply!   I tried it and it seems to work great.   
One question… if it’s that simple, why hasn’t LiveCode offered this as a 
feature?   Seems like it would take a few minutes to write this in?   Is there 
a catch to using this method?

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


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

RE: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Ralph DiMola via use-livecode
Mark,

Thanks for weighing in. I would like to read into those licenses that I
could update my core LCS, but I know in my soul that if I do that it's just
a shoe waiting to drop that could affect not only my license but the entire
LC community. I also feel that when I create an extra button(with stub code)
because a "data" update offers more options that I am staying within the
guidelines and the spirit of the App/Play store rules. I see this as simple
decision. I call it the "Johnny, did you eat a cookie?" scenario. Johnny
says "no" because he did not eat "A" cookie but ate 3 cookies. I am not a 2
year old and know what these rules were intended to prevent.

By the way, I was once rejected because my data update "answer" dialog was
worded as "An app update is available". I explained that it was a data
update and not code and changed the verbiage of the dialog. I then passed
the review. Moral: The review team can look VERY close at any app during
review.

As it was said in Goodfellows... At least, that's how I feel.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Waddingham via use-livecode
Sent: Friday, August 11, 2017 7:24 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: Mobile LC Apps Downloading Stacks After installation

On 2017-08-11 12:20, Jonathan Lynch via use-livecode wrote:
> I know the reviewers at app stores are not always careful, but 
> something like an LC player would surely get their notice.

Review, from my understanding, is heavily automated (it has to be - if you
think of the scale of the App Stores these days). However, there is always a
means to get in contact with a human about specific issues (which can take a
while to get escalated with someone who can actually do something - but at
least it is possible).

> They do allow us to import JS, but JS is way more sandboxed than LC.

Yes - this is true - however, as I noticed this morning Apple no longer have
their advisory about allowing arbitrary JS to be downloaded and run within a
WebView. This is simply because you can could build a host app which gives
access to every single OS API on iOS and make all of them callable from JS
(even if the JS bundled with the app does not use any of it).

So, the point is the language is not the point - what the code running in
the language does is important.

Like Google, Apple are wanting to know precisely what OS APIs your app is
calling at the point of review - so they have some idea of the surface area
of attack for any malicious intent. How much analysis they currently do,
no-one really knows - however the guidelines means that (in principal) they
have reasons to pull any apps very quickly if they find that they are doing
something which is 'not allowed'.

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

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


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


RE: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Ralph DiMola via use-livecode
I did not want to be the one to rehash this again but I would love to have
this as I do it manually all the time with comments. +1

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Waddingham via use-livecode
Sent: Friday, August 11, 2017 5:51 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: Bug 20255 - Simple Loop Labeling

On 2017-08-10 21:33, Dr. Hawkins via use-livecode wrote:
> In fact, what I would *like* is modern Fortran style labelling or 
> something like that, and the ability to the those labels to controls 
> like next and exit.  This, however, would accomplish so much with so 
> little.

Thinking out loud here and taking into account suggestions people have made
in the past...

Naming loops in a syntactic way certainly sounds like a useful thing to
do:

repeat for each line tLine in tContainer named LineLoop
   repeat for each item tItem in tLine named ItemLoop
 if some complicated condition then
   exit repeat ItemLoop
 else if some other complicated condition then
   exit repeat LineLoop
 end if

 -- do other stuff
 if some even more complicated condition then
   next repeat LineLoop
 end if
   end repeat ItemLoop
end repeat LineLoop

Certainly 'exit repeat ...' would not be harmful, 'next repeat ...' I'd have
to analyze more deeply.

The main problem with GOTO (apart from the ability to create very hard to
understand code) is that it allows creation of what is called 'unstructured
control-flow'. Basically that means that you have to work
*exceptionally* hard to untangle it in a compile to perform any sort of
reasonable optimization.

At present LiveCode only allows you to produce 'structured control flow'.
Adding 'next repeat ...', doesn't change that... However, 'next repeat ...'
is not so clear (I think it is probably fine, but need to check some
algorithmics).

The only other issue with the above (beyond implementing it) is the
syntax... It would reserve 'named' as a non-operator in this context. If we
did ever have reason to have 'X named Y' then in repeats you'd have to do:

   repeat for each line tLine in (tContainer named ...) named ...

Although - without knowing what 'named' might do as an operator, or being
able to think of anything it could do - that is probably a safe addition
from that point of view.

(Of course we could use 'labelled' instead of 'named' in the repeat context
- 'labelled' seems for some reason less likely to be leveragable as a binary
operator!)

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

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


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


RE: common code patterns

2017-08-11 Thread Ralph DiMola via use-livecode
Mark,

Again thanks for chiming in.
Here's an example:

Local tIndex, tDataArray
put getMyRecordSet() into tRS
put 1 into tIndex
repeat while not isEof(tRS)
 Put makeThisRecordIntoAnArray(tRS) into tDataArray[tIndex]
 Add 1 to tIndex
End repeat

Now I can sort the keys of the array to ripple thru the records.

This is what I imagined:

local tDataArray
put getMyRecordSet() into tRS
repeat while not isEof(tRS) with counter tIndex
 Put makeThisRecordIntoAnArray(tRS) into tDataArray[tIndex]
end repeat

Another example:

repeat for each word tWord in tWords with counter tIndex
 switch tIndex
  case 1
   -- first word stuff
  break
  case the number of words in tWords
  -- last word stuff
  break
  default
   -- not first or last word stuff
 end switch
 -- all stuff
end repeat

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Waddingham via use-livecode
Sent: Friday, August 11, 2017 5:25 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: RE: common code patterns

On 2017-08-10 19:38, Ralph DiMola via use-livecode wrote:
> To make this even more flexible:
> 
> repeat for each line tLine in tLines with [counter] tIndex [start] 
> [{1}|x] [step] [{1}|y]
> 
> end repeat

Not quite on topic for the thread, but this interested in me in terms of
- what are the use cases?

The common code pattern we see as justification for 'repeat for each line
tLine and index tIndex in tLines' is that it allows you to use the
efficiency of iteration over a primary container, whilst still retaining the
index of the chunk being iterated over. i.e.

   put 0 into tIndex
   repeat for each line tLine in tContainer
 add 1 to tIndex
 if tLine is not line tIndex of tContainer then
   answer "Oh dear - something is *really* wrong"
 end if
   end repeat

So an extension to the syntax with 'index' means you get both pieces of
information and a good amount of duality which justifies its existence.

In what kinds of situation do you find yourself wanting an offset index,
relative to the index of the iterated chunk?

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

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


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


RE: Android App Woes

2017-08-13 Thread Ralph DiMola via use-livecode
I think Dan's onto something with the accelerated rendering.
I've done some testing and it's not conclusive yet. I think if you have 
accelerated rendering on AND you are on a card with a scrolling control(dynamic 
maybe?) That is when you can't resume without a crash. I will look closer when 
I get back to the office.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Sannyasin Brahmanathaswami via use-livecode
Sent: Sunday, August 13, 2017 4:33 PM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Re: Android App Woes

I also getting reports from from one Beta tester of Siva Siva app of the app 
stopping after hitting the home key. and also the square key  (what is that on 
Android, some app switcher?) 

this is a but unclear… I need to talk to her.. but these are all related 
symptoms on Android:

" I just tried opening the app again and it worked fine first time. 

I then went into listening, [BR: this is a stack dedicated to play audio]  
Gurudeva's 1970 course, and exited with "circle" back to my home screen. From 
my home screen I select the app page, then Siva Siva app and I get the stop 
message.

The, going to "Listen" [stack], hit  "square", do this email, square, select 
Siva sheet, stopped, then come back to it and it opens to pg where listening is 
a choice.

It works to do this if I am at listening option pg vs actually listening to 
something.
[BR: What this means is she is on a playlist screen, but has not actually 
tapped and no mobile player is yet created… so the above the app is crashing, 
in the above scenarios, when a mobile audio player is "up"

Then later she writes'

"I have been opening the Siva Siva app from my app collection. When I do this  
it doesn't open and it repeatedly tells me it has stopped but if I click ok on 
the message and then on the app again it opens just fine."

Not being and android user I only just today try the "square" button and yup. 
the app crashes (stops) 


I will be pushing the latest to nightly tonite, and then asking HQ to look at 
it… but this is not a 3 line stack!  But this all feels like it's in the same 
wheelhouse.

BR



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


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

RE: Android App Woes

2017-08-13 Thread Ralph DiMola via use-livecode
The LC team does a good job at triaging the bug reports but a repeatable 3 line 
stack that crashes should be near if not in the front of the queue.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
J. Landman Gay via use-livecode
Sent: Sunday, August 13, 2017 12:21 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Android App Woes

Probably related :

http://quality.livecode.com/show_bug.cgi?id=19420

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



On August 13, 2017 10:47:27 AM Dan Friedman via use-livecode 
 wrote:

> I have built my android app with LC 8.1.5.   It runs fine on the device. 
> You then hit the home button to return to the OS.  Tap the app icon 
> again and you get “Unfortunatly, [appName] has stopped.”.  Tap the icon again 
> and
> it does a complete reboot of the app.   Apps made in LC 7 did not have this 
> issue, they stayed running in the background – like an app should.   Is 
> there a trick to getting an Android app from LC 8.1.5 to behave like it 
> should?
>
> I can’t deliver an app to my client that (a) doesn’t stay alive in the 
> background, and (b) crashes every other launch.
>
> Anyone have any insight on this??
>
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



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


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

RE: Native Livecode Pinch and Zoom

2017-07-13 Thread Ralph DiMola via use-livecode
I believe it was by setting the initial zoom, I sent him an email and will 
forward the info when he responds.

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 
Sannyasin Brahmanathaswami via use-livecode
Sent: Thursday, July 13, 2017 1:59 PM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Re: Native Livecode Pinch and Zoom

@ Ralph

as we say in HawaiI

"Oh! Ho!" What is this:

">I get pinch-and-zoom on both mobile platforms using the mobile browser
>control. My html expert has had to tweak a couple of html pages now
>and again to make it work. 

Can you ask him what the secret is?  Pleeze!

@ Richard: Requesting engine level "zoomable" is not OT at all. It's mission 
critical on small devices and would take LC apps to on phones to whole 
"'nother" level.

There is AnimationEngine also, that can be leveraged to some extent for this 
same purpose. but you have get some math going on …so, right "non-trivial"

It would be great if it were easier.

BR



On 7/12/17, 5:55 AM, "use-livecode on behalf of Mark Waddingham via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

    Hi Ralph,

On 2017-07-12 17:41, Ralph DiMola via use-livecode wrote:
>I get pinch-and-zoom on both mobile platforms using the mobile browser
>control. My html expert has had to tweak a couple of html pages now
>and again to make it work. Other on-line pages don’t pinch-and-zoom
>but they also don’t pinch-and-zoom in Safari/Chrome either. I tried
>the browser widget and it is nice that you can use it in the IDE and
>Mobile but backed it out because the browser widget is missing
>"canretreat" property and "retreat" command.

Could you file a bug about this? (And any differences in parity between 
widget and mobileControl, for that matter!).

IIRC we added:

   go back in widget ..
   go forward in widget ...

To navigate forward / back (so the retreat command is at least catered 
for I think). There's also:

   do ... in widget ... (although this was a horrendous mistake 
syntactically which we are now realizing!)
   launch url ... in widget ...

If you put 'widget' into the LiveCodeScript section of the dictionary 
then you'll see the widget specific tailorings of normal LiveCode Script 
syntax.

Warmest Regards,

Mark.

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


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

RE: Native Livecode Pinch and Zoom

2017-07-14 Thread Ralph DiMola via use-livecode
BR,

We got “Pinch-and-zoom” to work by adding a viewport  meta-tag into the head of 
our html files:



Hope this helps...

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Sannyasin Brahmanathaswami via use-livecode
Sent: Thursday, July 13, 2017 1:59 PM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Re: Native Livecode Pinch and Zoom

@ Ralph

as we say in HawaiI

"Oh! Ho!" What is this:

">I get pinch-and-zoom on both mobile platforms using the mobile browser
>control. My html expert has had to tweak a couple of html pages now
>and again to make it work. 

Can you ask him what the secret is?  Pleeze!

@ Richard: Requesting engine level "zoomable" is not OT at all. It's mission 
critical on small devices and would take LC apps to on phones to whole 
"'nother" level.

There is AnimationEngine also, that can be leveraged to some extent for this 
same purpose. but you have get some math going on …so, right "non-trivial"

It would be great if it were easier.

BR



On 7/12/17, 5:55 AM, "use-livecode on behalf of Mark Waddingham via 
use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of 
use-livecode@lists.runrev.com> wrote:

    Hi Ralph,

On 2017-07-12 17:41, Ralph DiMola via use-livecode wrote:
>I get pinch-and-zoom on both mobile platforms using the mobile browser
>control. My html expert has had to tweak a couple of html pages now
>and again to make it work. Other on-line pages don’t pinch-and-zoom
>but they also don’t pinch-and-zoom in Safari/Chrome either. I tried
>the browser widget and it is nice that you can use it in the IDE and
>Mobile but backed it out because the browser widget is missing
>"canretreat" property and "retreat" command.

Could you file a bug about this? (And any differences in parity between 
widget and mobileControl, for that matter!).

IIRC we added:

   go back in widget ..
   go forward in widget ...

To navigate forward / back (so the retreat command is at least catered 
for I think). There's also:

   do ... in widget ... (although this was a horrendous mistake 
syntactically which we are now realizing!)
   launch url ... in widget ...

If you put 'widget' into the LiveCodeScript section of the dictionary 
then you'll see the widget specific tailorings of normal LiveCode Script 
syntax.

Warmest Regards,

Mark.

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


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

RE: Native Livecode Pinch and Zoom

2017-07-12 Thread Ralph DiMola via use-livecode
I get pinch-and-zoom on both mobile platforms using the mobile browser control. 
My html expert has had to tweak a couple of html pages now and again to make it 
work. Other on-line pages don’t pinch-and-zoom but they also don’t 
pinch-and-zoom in Safari/Chrome either. I tried the browser widget and it is 
nice that you can use it in the IDE and Mobile but backed it out because the 
browser widget is missing "canretreat" property and "retreat" command.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Sannyasin Brahmanathaswami via use-livecode
Sent: Wednesday, July 12, 2017 10:40 AM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Native Livecode Pinch and Zoom

It appears we won't get pinch and zoom in the browser widget on mobile. It's 
back to using a native LC interface for a big map adventure where the user can 
zoom into an area and then pinch back out

The use case is still the same: use a "Maha" = enormous/big SVG graphic that 
looks awesome and sharp at any zoom level

Hopefully, soon LC will support a native display of this.

In the meantime, before I go hacking away from ground zero, trying to trap 
gestures and changing the rect of the image object on the fly… I would be 
interested in any example of this that anyone has already done using native LC 
code.
The zoom of player to degrees is deprecated, and we are not seeing any 
alternatives in the dictionary.

There is an obscure something that I just found that only works on Mac and 
windows:

XPDFViewer_Zoom viewerName, {"width" | "fit" | "actual" | "in" | "out" | 
percent}

The magnify extension is only on desktop

Any hope for us on Mobile for pinch and zoom in and out?

BR


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


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

Android Full Screen Browser.

2017-07-18 Thread Ralph DiMola via use-livecode
My Current project is implementing epubjs to view EBooks on mobile using the 
browser control. There is a "full screen" option in the epubjs tool bar. I 
clicked it and figured What could it do? I made the browser control a specific 
size so this button is worthless. On iOS it does nothing but on Android Nougat 
it actually goes full screen! The browser control gets resized to the full card 
obscuring my LC controls in headers, footers and a side bar. I like it. This 
enables one to use the full real-estate of the device without "intenting" out 
to another app. The exit full screen button then resizes the browser window 
back to the size and where I had it via LCS when the card started.

SO... I will dig into the java and see what is doing this. Being able to go 
full screen using java in an LC browser is a very desirable feature. I wish it 
also worked on iOS. I will report when I find out how epubjs is doing this.

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: Restrictions on mobile servers?

2017-07-20 Thread Ralph DiMola via use-livecode
The only restriction I know of is on iOS. iOS does not allow unencrypted
http connections unless you tic the "Disable ATS" in the standalone
settings. I know this applies to URLS using the browser control and "put/get
url" in scripts but don't know if it also applies to sockets.

If the mobile app was to be the server side of sockets how would you connect
to it? What would be the URL?
 
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, July 20, 2017 1:00 PM
To: How to use LiveCode
Cc: Richard Gaskin
Subject: Restrictions on mobile servers?

On the desktop, most OSes at least provide some means of requiring explicit
admin permission to allow an app to open a TCP port for listening.

What restrictions are imposed by iOS and Android for similar security?

In the Android settings for LC's Standalone Builder, does the "Internet" 
permission cover both client and server roles?

That seems a bit broad to me, but in my brief searching this morning I
haven't yet turned up how each mobile OS restricts apps from allowing
connections from the open Internet.

Any guidance on this would be appreciate.

TIA -

--
  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: Ethereal Breakpoints

2017-07-21 Thread Ralph DiMola via use-livecode
Interesting, I haven't had a problem with red dots. I'm on Win 10 / 8.1.5.
In fact if I set BP save, close LC, reopen and launch my stack the script
breaks. BPs are saved in the stack I guess.

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, July 21, 2017 5:15 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Ethereal Breakpoints

really... Really... REALLY NEED TO FIX those damn red dot breakpoints! Every
time I save a script, even if it's only the spelling of a word, the
breakpoints fail. 

8.1.5

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: Ethereal Breakpoints

2017-07-24 Thread Ralph DiMola via use-livecode
I always figured the flood of messages was what locked-up LC when you debug
a resize event. I just fire it off at the command line and then debug the
resizestack code.

When I inadvertently do this and lock-up LC most (90%+) an "F5" or two or
three times gets things going again so you can save the stack. Most times LC
is just fine and you don't need to restart. Using F5 has worked for me since
V4.x on Win XP thru V8.x on Win 10.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Alex Tweedly via use-livecode
Sent: Monday, July 24, 2017 6:31 PM
To: use-livecode@lists.runrev.com
Cc: Alex Tweedly
Subject: Re: Ethereal Breakpoints

I keep getting caught by this - setting a breakpoint in a handler which is
(indirectly) called from a resizeStack, and LC  gets completely frozen and
needs to be Force-quit.
-- Alex.


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


RE: Restrictions on mobile servers?

2017-07-20 Thread Ralph DiMola via use-livecode
I use a "stun" server to get the ata(sip client) ip behind NAT. There are
public stun servers or you can install an open source one on your one
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 Stephen Barncard via use-livecode
Sent: Thursday, July 20, 2017 4:13 PM
To: How to use LiveCode
Cc: Stephen Barncard
Subject: Re: Restrictions on mobile servers?

I'm pretty sure SIP servers just  makes introductions to two clients running
on devices and gets out of the way. A way to keep your IP out of it.
Also they use UDP packets - MUCH less latency - and does error correction
(reconstruction?) without re-requesting as HTTP based clients do.

the 'stuff' to do this has recently been added to the named browsers.
 All the code is there.

--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Thu, Jul 20, 2017 at 12:11 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Stephen Barncard wrote:
>
> > Richard:
> >
> > I've been working with with VOIP applications and there are some 
> > systems that have free methods for finding each other.
> >
> > Check out the Linphone SIP service  (and Linphone itself is pretty
> > cool)
>
> Thanks.  Isn't Linphone client-server, as opposed to direct P2P?
>
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web  
> 
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: Please block sims emails

2017-04-26 Thread Ralph DiMola via use-livecode
>Jacqueline Landman Gay wrote:
>He frequently gets infected with malware. But I rather liked this set. 
>"Dear!" I wanted to respond, "Darling!!"

Now I'm laughing... And just when I thought this was another day in cyber land.
Do you do standup?
 
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: Will LiveCode run an x86 android device?

2017-04-26 Thread Ralph DiMola via use-livecode
I run an x86 tablet for testing and LC apps work but it's slow like 1/3
speed.

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 Jonathan Lynch via use-livecode
Sent: Wednesday, April 26, 2017 2:45 PM
To: use-livecode@lists.runrev.com
Cc: jonathandly...@gmail.com
Subject: Will LiveCode run an x86 android device?

I see that it won't run on an x86 emulator - will it work on on actual x86
device?

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


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


RE: Speed test in LC application

2017-04-26 Thread Ralph DiMola via use-livecode
I see some unexplainable delays from an app to a LC web service on on-rev
that I have not started to debug yet. I almost looks like a DNS resolution
delay. I am going to WireShark the lan and see what's going on. I will let
you know what I find.

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: Wednesday, April 26, 2017 6:33 PM
To: Mike Kerner via use-livecode
Cc: Peter Bogdanoff
Subject: Speed test in LC application

Hi,

I'm sometimes having trouble with my application downloading audio and image
files from a remote server when they are requested. I'm thinking of adding
some diagnostic tools to the application to see what is going on and I would
like to know if anyone has experience with this and can give me advice.

My application, "Music in the Air," a music exploration/history program for
music students is heavily dependent on audio and image files being
downloaded from a remote server (currently Amazon AWS) while the user
peruses the program. The user chooses a musical work to view and play and
immediately the program downloads 2 to 100+ image files (gifs averaging 50
KB each) of the musical notation. When the user start the audio playing, the
program loads the player with a remote audio file (10-50 MB). This library
of audio and images is 2 GB+, so the need to store and serve it as needed.

However, users are reporting that possibly 10-15% of the time the music
stalls while playing at the beginning, pointing to some bottleneck in their
Internet connection or local network. These users are usually on a fast,
high-capacity university network, getting files from a robust server, so
they shouldn't normally see this happen, and I would like to track down what
is going on. Also when this program is published, it will be deployed to
areas of the world where an Internet connection is not so robust. So I'm
thinking more and more that it would be vitally important to include tests
within the program to monitor and report, if necessary, on the user's
ongoing connection and bandwidth while the program is being used and send me
diagnostics when there are problems.

Does anyone have any experience with this kind of thing that I could draw
upon or employ?

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


RE: iOS 10.3.1 on iPhone 7 Plus

2017-04-24 Thread Ralph DiMola via use-livecode
You need to upgrade to OSX 10.12 and Xcode 8.3.1. I am using 10.11 and 8.2.1 
and can install apps with no problems. I'm wondering where do you get "Could 
not inspect this app."? I get the triangle warning in Xcode when selecting a 
10.3.1 device but it does not cause me any 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 
Sannyasin Brahmanathaswami via use-livecode
Sent: Monday, April 24, 2017 5:19 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: iOS 10.3.1 on iPhone 7 Plus

I have a new iphone 7Plus with iOS 10.3.1  (no choice… we are on an enterprise 
hardware refresh cycle here and move up when the last model still has resale 
value… works very well, $ wise,  but keep us on the bleeding edge)

any hope for installing standalone? I spent some hours with builds, kept 
getting entitlements issue, solved that. But now xCode 8.2.1 says it may not 
support this phone + "Could not inspect this app."

Any path to move forward?

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


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

RE: [OT-ish] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-05 Thread Ralph DiMola via use-livecode
Thanks Jerry et al!

I did the upgrade with no problems. I would caution anyone doing this (or any 
major upgrade/install) is to be patient. The install progress bar froze for an 
hour or more. It appeared to be cut into stone with no estimated time to 
completion. This was after the install progress bar logged that there were 20 
minutes left for about 1.5 hours. I went to bed and in the am it was finished 
and I logged in with no 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 
Jerry Jensen via use-livecode
Sent: Thursday, August 03, 2017 10:41 PM
To: How to use LiveCode
Cc: Jerry Jensen
Subject: Re: [OT-ish] Updating MacBook from El Capitan to Sierra to install 
Xcode 8.3+

As others have said, Sierra (10.12.x) is good old (?) HFS+. High Sierra 
(10.13.x) introduces APFS and is still in developer preview beta.

I have upgraded 8 or so macs to Sierra with few problems. My biggest headache 
was going from 10.12.5 to 10.12.6 on only one machine that got in a fight with 
an ancient hp printer driver kext. That was a B#$^%^ to find. Other than that 
its been smooth. You have already CCC’ed to a fresh drive, so you shouldn’t 
have any rotten bits. CCC is indispensable!
.Jerry

> On Aug 3, 2017, at 12:28 PM, Ralph DiMola via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> I'm going to do this Friday night and was looking for any 
> advice/tricks to make this go smooth(as much as possible). I have read 
> about a few disasters online when upgrading from HFS+ to the new APFS file 
> system.


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


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

RE: Sorting out the sheep from the goats

2017-08-07 Thread Ralph DiMola via use-livecode
Jonathan, I can't wait to use that one in scrabble against Margaret!
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 Jonathan Lynch via use-livecode
Sent: Monday, August 07, 2017 4:09 PM
To: How to use LiveCode
Cc: jonathandly...@gmail.com
Subject: Re: Sorting out the sheep from the goats

And the obscure word "cwm" uses w as a vowel.

Sent from my iPhone

> On Aug 7, 2017, at 3:28 PM, Mike Kerner via use-livecode
 wrote:
> 
> I think you have an error in your code samples.  Your vowel set should 
> be "aeiouandsometimesy"
> 
> On Mon, Aug 7, 2017 at 1:56 PM, Richmond Mathewson via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
> 
>> Thanks Tore and Mike.
>> 
>> Richmond.
>> 
>> 
>>> On 8/7/17 8:52 pm, Mike Bonner via use-livecode wrote:
>>> 
>>> typo, first line should be
>>> repeat for each char tChar in tVar -- where tvar has your string
>>> 
>>> On Mon, Aug 7, 2017 at 11:52 AM, Mike Bonner  wrote:
>>> 
>>> Repeat for each char tchar intVar
 if tChar is among the items of "a,e,i,o,u" then
 -- its a vowel
 else
-- its not a vowel.
 end if
 
 end repeat
 
 On Mon, Aug 7, 2017 at 11:42 AM, Richmond Mathewson via 
 use-livecode < use-livecode@lists.runrev.com> wrote:
 
 Yes, here's "Mr Sanskrit" asking what is probably a very goofy 
 question
> indeed:
> 
> I have a series of long strings of characters such as:
> 
> LarrygubAndCheesemakemyfeetstink
> 
> and I would like a happy little routine that could trot along each 
> string and, for each character (and this is ONLY confined to the 
> Latin alphabet, at the moment) tell me (or, more importantly, 
> other scripts) whether it is a VOWEL or a CONSONANT.
> 
> Of course, having learnt from Mark Waddingham about the effective 
> nature of G & T s, I may end up answering my own e-mail . . .
> 
> Thanks Mark, I knew you had more to tell me than "just" computer 
> programming :-)
> 
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
 ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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


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


RE: answer with...

2017-08-16 Thread Ralph DiMola via use-livecode
Android Mobile is limited to 3.

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: Scroll Bars in scrolling groups

2017-05-03 Thread Ralph DiMola via use-livecode
Thanks Bob,

I didn't set any geometry properties. I thought that unless you explicitly
call "revUpdateGeometry" these properties have no effect. The thing that has
me stumped is that even with messages off showing vertical scroll bar either
by the message box or property inspector makes things move.

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: Wednesday, May 03, 2017 11:01 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Scroll Bars in scrolling groups

Is it possible that some of these controls have geometry properties set? 

Bob S


> On May 2, 2017, at 14:16 , Ralph DiMola via use-livecode
<use-livecode@lists.runrev.com> wrote:
> 
> OK I'm stumped. I have a scrolling group consisting 20 other groups 
> each with 2 fields and a button. I place these sub groups and the 
> controls in them in the parent group from top to bottom. The sub 
> groups go off the bottom of the parent group as expected. Everything 
> looks perfect and can set the vscroll via script and see the sub 
> groups that are out of view as expected. BUT.. when I show the vscroll 
> bar(even with messages disabled), all the sub groups move up and to 
> the left. The top sub group hugs top of the parent group and all the sub
groups hug the parent group on the left.
> Why? If I place the subgroups while the vscroll bar is visible then 
> the top groups move up to the left and the remaining one stay where I 
> put them. Any help would be appreciated.
> 
> Thanks
> 
> Win 10 LC 8.1.3/8.1.4rc1
> 
> 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: Xcode ??? version

2017-05-03 Thread Ralph DiMola via use-livecode
I can deploy to 9.3.5 and 10.3.1 using

MacBook OSX 10.11.6
LC 8.1.4 rc1
Xcode 8.2.1

I do get a warning in the "Devices" window for the 10.3.1 devices but I can 
still install/delete/run apps.

To have simulators from 6 thru 10 in the LC prefs using these versions of Xcode.

8.2.1 ==> v10.2 Simulator/SDK
7.1.2 ==> v9.2 Simulator/SDK
6.2   ==> v8.2 Simulator/SDK
5.1.1 ==> v7.1 Simulator/SDK
4.6.3 ==> v6.1 Simulator/SDK

That being said
Xcode 8.3.2 requirements:
1) OSX 10.12 (look like I'm upgrading soon...)
2) New version of LiveCode with Xcode 8.3.2 support.

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 Hibbert via use-livecode
Sent: Wednesday, May 03, 2017 2:32 PM
To: How to use LiveCode
Cc: Paul Hibbert
Subject: Re: xCode ??? version

I’ve seen this warning in Xcode when connecting my iPhone 5s after updating it, 
but copying my LC app on to the phone still works and the app runs OK, just 
can’t use the simulator.

Anyway, just try it, preferably without overwriting any currently working app, 
and it should be fine. 

Paul

Paul
p...@livecode.org

Mac OS Sierra 10.12.1



> On May 3, 2017, at 11:13 AM, William Prothero via use-livecode 
>  wrote:
> 
> Note: I see, from the release notes that the highest iOS version supported is 
> 10.2.
> Hopefully this will change. Next update? I use my app and depend on it, so 
> i’m keenly interested in having it on my iPhone, I probably should have 
> waited to update the iOS system, but…… silly me.
> Best,
> Bill P
> 
>> On May 3, 2017, at 11:07 AM, William Prothero via use-livecode 
>>  wrote:
>> 
>> When I load the app into the Simulator, with xCode 8.2.1, then go to the 
>> menu “Hardware/Manage Devices” menu, I get the message that says:
>> “Could not locate device support files. The iPhone 6 is running iOS 10.3.1, 
>> which may not be supported by this version of Xcode.”
>> 
>> So, it looks to me like Livecode 8.1.4(rc1) does not support iOS 10.3.1, the 
>> latest version.
>> 
>> Does this seem reasonable.
>> Xcode versions 8.3 is not supported by the latest livecode releases.
>> Can I hope that this will be fixed soon?
>> Bill P
>> 
>>> On May 3, 2017, at 12:10 AM, Dave Kilroy via use-livecode 
>>>  wrote:
>>> 
>>> tldr - don’t use Xcode 8.3 yet, you can still build for iOS 10.3
>>> 
>>> 
>>> 
>>> Bill the Release Notes are a good place to check such issues. The following 
>>> is an extract for release notes for LiveCode 8.1.4(rc1)
>>> 
>>> iOS
>>> 
>>> iOS deployment is possible when running LiveCode IDE on a Mac, and provided 
>>> Xcode is installed and has been set in LiveCode Preferences (in the Mobile 
>>> Support pane).
>>> 
>>> 
>>> 3
>>> 
>>> LiveCode 8.1.4-rc-1 Release Notes 4/4/17
>>> 
>>> Currently, the supported versions of Xcode are:
>>> 
>>> Xcode 4.6 on MacOS X 10.7
>>> Xcode 5.1 on MacOS X 10.8
>>> Xcode 6.2 on MacOS X 10.9
>>> Xcode 6.2 and 7.2 on Mac OS X 10.10 Xcode 8.2 on MacOS X 10.11
>>> 
>>> Xcode 8.2 on MacOS 10.12
>>> 
>>> It is also possible to set other versions of Xcode, to allow testing on a 
>>> wider range of iOS simulators. For instance, on OS X 10.10 (Yosemite), you 
>>> can add Xcode 5.1 in the Mobile Support preferences, to let you test your 
>>> stack on the iOS Simulator 7.1.
>>> 
>>> We currently support deployment for the following versions of iOS:
>>> 
>>> 6.1 [simulator] 7.1 [simulator] 8.2 [simulator] 9.2
>>> 
>>> 10.2 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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

RE: 8.1.4rc1 regressions

2017-05-03 Thread Ralph DiMola via use-livecode
Me too.

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 Phil Davis via use-livecode
Sent: Wednesday, May 03, 2017 1:25 PM
To: How to use LiveCode
Cc: Phil Davis
Subject: Re: 8.1.4rc1 regressions

Same experience here.
Phil Davis


On 5/3/17 8:02 AM, Bob Sneidar via use-livecode wrote:
> I can confirm that the script editor is buggy. If you try to close
individual tabs, it borks the whole editor and no more tabs can be worked
with. Scripts will not be editable and no more tabs can be closed. The only
solution is to close the script editor and reopen it.
>
> Bob S
>
>
>> On May 2, 2017, at 14:06 , Dr. Hawkins via use-livecode
 wrote:
>>
>> I've noticed a couple of what appear to be regressions in 8.1.4rc1.  
>> Can others confirm?
>>
>> 1) "move tab to new window" in editor doesn't seem to work; it simply 
>> mangles the tab bar
>> 2) It did not chagne/offer to change itself to the default.  At this 
>> point, when I use "save as" on a stack, it then opens in 7.1.4. (the
"change all"
>> in the finder isn't a solution; I still have stacks that I want to 
>> stay with 5.0)
>>
>> --
>> Dr. Richard E. Hawkins, Esq.
>> (702) 508-8462
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

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


Browser Widget on Mobile

2017-05-14 Thread Ralph DiMola via use-livecode
I can't seem to find the Browser Widget equivalent of mobileControlGet 
"canRetreat" and "canAdvance". Do these exist or do I have to go back to the 
old school mobileControlCreate method?

Thanks for any insights!


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


PDF on Android

2017-05-10 Thread Ralph DiMola via use-livecode
The mobile browser on Android will not render a PDF. I've been trying the
both the Browser Widget and old school control creation to display a PDF.
Both ways yield the same results. Is there a way to display a PDF on Android
inside of LC?

IDE Windows==>PDF renders OK. 
Android==>Only a white screen. 
iOS==>PDF renders OK. 
IDE Mac==>Only a white screen. This surprised me. Only tried the Browser
Widget.

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: Wouldn't it be nice to have a "back/forward" button in script editor?

2017-05-11 Thread Ralph DiMola via use-livecode
This would be a great enhancement. Coming from VB land I really miss the VB
IDE right click "Last position" menu option in LC.

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 Hollmann TB via use-livecode
Sent: Thursday, May 11, 2017 8:33 AM
To: LiveCode User Liste senden
Cc: Tiemo Hollmann TB
Subject: Wouldn't it be nice to have a "back/forward" button in script
editor?

When working on longer scripts with a lot of handlers, I often work on
handler 1 and have to jump to handler 2 to have a look at it. Afterwords I
have to go back to my handler 1. Nowadays I have to keep in mind, at which
handler I was coming from and click at it in the list of handlers. Wouldn't
it be nice, to have a "back" and "forward" button, (like in a browser) to
get back to the last visited line (not like in a browser) or again forward,
where I 've already been?

Am I the only one, working like this, or is it my overflowed brain
requesting such a feature?

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: new team member

2017-05-11 Thread Ralph DiMola via use-livecode
Ali,

Congrats!! My best wishes for the new arrival!!

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, May 11, 2017 12:52 PM
To: How to use LiveCode
Cc: Mark Wieder
Subject: ANN: new team member

Word from the grapevine is that Ali Lloyd is the new father of a baby
programmer.

--
  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: Android label and name

2017-05-10 Thread Ralph DiMola via use-livecode
I can change the app icon label. I just changed one and it works. You do
mean the one specified in the Android Standalone settings? I change them all
the time on both iOS and Android.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Tuesday, May 09, 2017 11:27 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Android label and name

On 5/6/17 3:41 PM, J. Landman Gay via use-livecode wrote:
> On 5/6/17 3:21 PM, Richard Gaskin via use-livecode wrote:
>> J. Landman Gay wrote:
>>
>>> I need to build two versions of an Android app, one for production 
>>> and another for testing. It appears that the standalone builder uses 
>>> the "name" property as the icon label in the Android launcher. I 
>>> need the stack name to stay the same, and only the label to differ.
>>>
>>> I have tried building with only the label string changed, but in the 
>>> launcher it still appears as the stack name. Is there a way to 
>>> differentiate the label without changing the stack name?
>>
>> IMNSHO that would be a bug.
>>
>> Object labels are for display to end-users; object names are for 
>> developers to code for.
>>
>> Please post the bug # here so we can follow its progress.
>>
>
> I'm not sure yet if it's a bug or just something extra I should add to 
> the manifest. Android uses a complex inheritance for labelling which I 
> don't quite understand.
>

http://quality.livecode.com/show_bug.cgi?id=19674

-- 
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: Unable to set breakpoint

2017-05-09 Thread Ralph DiMola via use-livecode
I showed my location just in case it was relevant. My plugins are on Windows
10 SMB server raid array. I am also running LC on a Hyper-V VM.

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, May 09, 2017 1:16 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Unable to set breakpoint

On 5/9/17 10:06 AM, panagiotis merakos via use-livecode wrote:
> It would be interesting to know which Plugins you and Ralph have in
common.

Only one, LiveCode Error Lookup, which does nothing until you manually open
it. I've got these:

4W_FlightRecorder.rev
4W_gzipper.livecode
AirLaunch.livecode
cbfResTool.livecode
Color Names.rev
Go_LiveNet.livecode
Improve LiveCode Handler Finder.livecode keydowner.livecode LiveCode Error
Lookup.livecode objFormats.rev revapplicationoverview.rev -- copied here to
fix a bug Script Manager.mc Shell_Command_Help.rev SVGExtractPath.livecode
Titler.rev tmControl2.livecode Umbrellaman.livecode

I could clean out some of those, I don't use most of them. But since they
don't overlap with Ralph's list I doubt they're the problem.

One thing he and I both do is move our LC user extensions folder to a
nonstandard location. Mine is in my Dropbox folder so that changes will sync
and load from any computer.

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

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

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

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

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Richmond Mathewson via use-livecode
Sent: Saturday, May 13, 2017 1:05 PM
To: How to use LiveCode
Cc: Richmond Mathewson
Subject: Re: WannaCry [OT]

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

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

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

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

--

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

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

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

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

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

Richmond.

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

RE: [OT] on-rev MySQL warnings - does it matter.

2017-05-09 Thread Ralph DiMola via use-livecode
I put in a support request for this on 4/27/2017 [Ticket#2017042710049681].
I have not heard back yet. This is not like on-rev support. I wonder if they
received my support request?

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: Tuesday, May 09, 2017 7:01 PM
To: How to use LiveCode
Cc: Alex Tweedly
Subject: [OT] on-rev MySQL warnings - does it matter.

Hope this isn't too off-topic but I'm pretty ignorant about MySQL ...

on my account on on-rev (specifically, sage), if I use cPanel and go into
phpMyAdmin, I get a warning message :

Your PHP MySQL library version 5.1.73 differs from your MySQL server version
5.6.35. This may cause unpredictable behavior.


This sounds scary - but does it really mean there's a problem I should 
ask support about, or is it just being picky ? :-)

Thanks

Alex.


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


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


RE: Unable to set breakpoint

2017-05-09 Thread Ralph DiMola via use-livecode
"LC now freezes with the logo window displayed and a small blank stack at
the top left of the monitor" I reported this behavior in bug 19344 on
Windows if you delete all your prefs. I found that if you stop the process
and re-launch, LC will open. This happens every time I delete/rename all the
pref files. Also after you delete/rename the v8 prefs if you still have
v6/v7 prefs they are brought forward to v8. You can't save the location of
the master IDE bar in v8. I found that if I set it in v6 and delete the v8
prefs the that position if brought forward to v8. 

Back to bug 19344... Panos thinks that it might be one of my plugins(I have
many). I need to follow up on the QC report and see if it's one of my
plugins. I've just been busy... I will try to get to it this week.

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, May 08, 2017 5:03 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Unable to set breakpoint

Thanks, I hadn't thought of that. I tried. LC now freezes with the logo
window displayed and a small blank stack at the top left of the monitor
(looks like a livecodescript trying to open.) So, can't launch now.


On 5/8/17 3:55 PM, panagiotis merakos via use-livecode wrote:
> Have you tried deleting your Prefs?
>
> On Mon, May 8, 2017 at 9:49 PM, J. Landman Gay via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
>> Suddenly I have lost the ability to set breakpoints. Red-dot 
>> breakpoints are dimmed as though the script has not been compiled (it 
>> has, several
>> times.) Hard-coded "breakpoint" commands to not trigger either. I am 
>> not able to debug.
>>
>> Things were going along well until I allowed remote debugging. That 
>> worked for a while, then I got several crashes in a row, and now I 
>> can't set breakpoints.
>>
>> I have retarted LC several times, reloaded the stack, etc. LC 9 dp 6.
>>
>> I need a quick solution. Real quick.
>>
>> --
>> 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 list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: Unable to set breakpoint

2017-05-09 Thread Ralph DiMola via use-livecode
Same here... no IDE at all.

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, May 09, 2017 10:32 AM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Unable to set breakpoint

Panos, it wasn't just the tools palette, there was no IDE at all. There were
no menus except for the default OS X one that allowed me to quit. 
Nothing else loaded, so no message box, tools, keyboard shortcuts, etc. It
acted like the startup aborted very early in the process. But the odd thing
was that the start center did appear and when it tried to lead me through
the tutorial it pointed to places on screen where the nonexistent menus
would have been. I was able to open my own stack only by dropping it on the
dock since there was no File menu to use. But without any menus, app or
project browsers, or tools I couldn't actually do anything with it. The
entire IDE was missing.

I do still have an old pre-7 prefs file in the same folder as the new one,
since I need to open LC 6 occasionally. It may be that LC 9 couldn't read or
update it so it just gave up.

I only have one monitor, and the startup didn't get far enough to load any
plugins.

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



On May 9, 2017 4:06:33 AM panagiotis merakos via use-livecode
 wrote:

> Hi Jacque,
>
> I have never seen the Tools palette disappearing after deleting my Prefs.
> Could it be the case that it appeared, but offscreen? Have you 
> connected a secondary monitor? Are you using any Plugins?
>
> Anyway, I am glad the problem is solved now. If you see that again 
> could you please file a bug report?
>
> BTW, I remember in the past, all of a sudden I could not launch *any* 
> version of LiveCode. I tried to delete my Prefs but this did not help.
>
> What fixed the problem was deleting the folder 
> /Users/panos/Libarary/Saved Application 
> State/com.runrev.livecode.savedState/
>
> Best,
> Panos
> --
>
>
>
>
>
> On Mon, May 8, 2017 at 10:16 PM, J. Landman Gay via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
>> Okay, restoring prefs from yesterday worked. Major panic averted.
>>
>> But there is something very wrong with a clean startup.
>>
>>
>> On 5/8/17 4:13 PM, J. Landman Gay via use-livecode wrote:
>>
>>> Panos, I need to get this running. I've tried launching dp5 with the 
>>> same results. If I restore my old prefs, I can't set breakpoints but 
>>> I do get the IDE to load. If I let LC make new prefs, I get no IDE 
>>> at all and my only option is to quit.
>>>
>>> On 5/8/17 3:55 PM, panagiotis merakos via use-livecode wrote:
>>>
 Have you tried deleting your Prefs?

 On Mon, May 8, 2017 at 9:49 PM, J. Landman Gay via use-livecode < 
 use-livecode@lists.runrev.com> wrote:

 Suddenly I have lost the ability to set breakpoints. Red-dot 
 breakpoints
> are dimmed as though the script has not been compiled (it has, 
> several
> times.) Hard-coded "breakpoint" commands to not trigger either. I 
> am not able to debug.
>
> Things were going along well until I allowed remote debugging. 
> That worked for a while, then I got several crashes in a row, and 
> now I can't set breakpoints.
>
> I have retarted LC several times, reloaded the stack, etc. LC 9 dp 6.
>
> I need a quick solution. Real quick.
>
> --
> 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 list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> 

RE: Unable to set breakpoint

2017-05-09 Thread Ralph DiMola via use-livecode
Mine...

Directory of N:\My LiveCode\Plugins

11/01/2016  09:29 AM 3,709 4wSetStackFileVersion.livecode
03/27/2017  07:33 PM   129,223 AndroidRemoteTesterClient.livecode
10/21/2012  11:35 AM   263,200 animationEngine.livecode
03/15/2017  07:04 PM17,343 DB_Library.livecode
03/15/2017  07:07 PM  Disabled
05/02/2017  06:04 PM93,352 EIS_Library-01.livecode
04/21/2016  04:33 PM18,041 FastJson.livecode
11/01/2016  09:29 AM   863 GoogleMapsAPI.livecodescript
12/09/2013  12:30 PM 1,382,022 lcStackBrowser.livecode
10/17/2012  12:48 AM 1,030,875 lcStackDiff.livecode
08/07/2012  11:55 PM   108,487 lcTaskList.livecode
11/18/2014  07:16 PM42,230 LiveCode Error Lookup.livecode
01/22/2016  12:15 AM   831,403 MasterLibrary.livecode
03/15/2017  07:06 PM33,700 OnRevLibrary.livecode
05/01/2017  06:58 PM   117,335
PlaceControls_Geometry_Library.livecode
03/15/2017  07:07 PM 4,068 Postal_Library.livecode
12/13/2012  04:45 PM30,252 SetLocals.livecode

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: Tuesday, May 09, 2017 11:07 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: Unable to set breakpoint

I had LC 6 Prefs too, but did not have that problem :(

It would be interesting to know which Plugins you and Ralph have in common.

On Tue, May 9, 2017 at 4:02 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It sounds like both Ralph and I have LC 6 prefs installed. The 
> difference is that he can eventually start up correctly.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
>
> On May 9, 2017 8:35:36 AM panagiotis merakos via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> Thanks for chiming in, Ralph.
>>
>> And I was just trying to remember where I had seen this "small blank 
>> stack at the top left" being mentioned!
>>
>> Best,
>> Panos
>> --
>>
>>
>>
>> On Tue, May 9, 2017 at 2:25 PM, Ralph DiMola via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>>
>> "LC now freezes with the logo window displayed and a small blank 
>> stack at
>>> the top left of the monitor" I reported this behavior in bug 19344 
>>> on Windows if you delete all your prefs. I found that if you stop 
>>> the process and re-launch, LC will open. This happens every time I 
>>> delete/rename all the pref files. Also after you delete/rename the 
>>> v8 prefs if you still have
>>> v6/v7 prefs they are brought forward to v8. You can't save the 
>>> location of the master IDE bar in v8. I found that if I set it in v6 
>>> and delete the
>>> v8
>>> prefs the that position if brought forward to v8.
>>>
>>> Back to bug 19344... Panos thinks that it might be one of my 
>>> plugins(I have many). I need to follow up on the QC report and see 
>>> if it's one of my plugins. I've just been busy... I will try to get 
>>> to it this week.
>>>
>>> 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, May 08, 2017 5:03 PM
>>> To: How to use LiveCode
>>> Cc: J. Landman Gay
>>> Subject: Re: Unable to set breakpoint
>>>
>>> Thanks, I hadn't thought of that. I tried. LC now freezes with the 
>>> logo window displayed and a small blank stack at the top left of the 
>>> monitor (looks like a livecodescript trying to open.) So, can't launch
now.
>>>
>>>
>>> On 5/8/17 3:55 PM, panagiotis merakos via use-livecode wrote:
>>> > Have you tried deleting your Prefs?
>>> >
>>> > On Mon, May 8, 2017 at 9:49 PM, J. Landman Gay via use-livecode < 
>>> > use-livecode@lists.runrev.com> wrote:
>>> >
>>> >> Suddenly I have lost the ability to set breakpoints. Red-dot 
>>> >> breakpoints are dimmed as though the script has not been compiled 
>>> >> (it has, several
>>> >> times.) Hard-coded "breakpoint" commands to not trigger either. I 
>>> >> am

RE: PDF on Android

2017-05-12 Thread Ralph DiMola via use-livecode
Al,

Thanks for the heads up to the forum thread!!! Worked like a charm
out-of-the-box. I was shocked.

Have a good one...

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 Alejandro Tejada via use-livecode
Sent: Thursday, May 11, 2017 10:18 AM
To: use-livecode@lists.runrev.com
Cc: Alejandro Tejada
Subject: PDF on Android

Hi Ralph,

Take a look at this forum thread:
"New approach for offline viewing PDF inside Android browser"
http://forums.livecode.com/viewtopic.php?f=53=28518=152687

MaxV uses the javascript library named pdf.js for this purpose.

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


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


RE: Trouble with Building from g8.1.5 rc1 for Early Version iOS

2017-06-24 Thread Ralph DiMola via use-livecode
I sometimes get that error on the first build with any minimum version. 
Subsequent builds work OK until LC is restarted. Try setting it back to 6.1 and 
build, if it fails build again and it should be OK. This has been reported but 
is elusive.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Sannyasin Brahmanathaswami via use-livecode
Sent: Saturday, June 24, 2017 4:52 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Trouble with Building from g8.1.5 rc1 for Early Version iOS 

LC: 8.1.5 rc1
xCode: 8.3.3

I had the lowest version set to iOS 6.1

xCode balked and LC error repor dialog shows up, saying app build failed 
because all  these files/libs  (many lines in the SA dialog)  were for 10.3

OK so I went back into SA settings pick "10.3 or later"

and the build went thru

so the question is… how far back, i.e. what is the older version of iOS that 
*will* work with LC now?

BR


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


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

RE: Inconsistent comma requirements

2017-06-24 Thread Ralph DiMola via use-livecode
I have had several of these typos in the past and they never caused
problems. In the example below pParam is argument 1. The comma is ignored.

command test, pParam
   answer pParam
end test

The parser is much better in v8 but could still be tightened up a bit. An
example is extraneous closing parens in "if" or "repeat" expression
constructs are no longer ignored. They didn't cause parsing errors prior to
v8.

My comma in the above example is minor compared to the other LC goals at
hand for the team.


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: Saturday, June 24, 2017 11:38 AM
To: How to use LiveCode
Cc: Richard Gaskin
Subject: Inconsistent comma requirements

Apparently commas are optional in a handler definition, e.g.:

on DoSomething a b

But they are not optional when passing arguments to a definition, e.g.:

 Doomething a b

...throws a compilation error, but this:

 DoSomething a,b

...works.

Because most languages require commas separating arguments, and because
calling a handler explicitly requires them, it never occurred to me that the
definition would allow them to be optional.

Ideally the same rules would apply on both sides.

I can kinda understand why they don't here, but if we had comma-free
arguments we could add syntactic sugar to make things more English-like,
e.g.:

   DoSomething with a and b


Two questions:

How many of you have never before known that commas are optional between
definition arguments?

For those who've known about this, were you confused to discover that this
only works for definitions but not calls?

--
  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: FTP from iOS but getting tsneterr: (67) Access denied: 530

2017-05-25 Thread Ralph DiMola via use-livecode
John,

This works for me.

put MyVar into url 
("ftp://FTPusername:ftppassw...@mydomain.on-rev.com/somepath/somefile.ext;)

I looks like your using your email address for the username. Create an FTP 
account in cPanel FTP setup. Don't use the built in one or someone could sniff 
the password to your on-rev 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 
JOHN PATTEN via use-livecode
Sent: Thursday, May 25, 2017 6:33 PM
To: How to use LiveCode
Cc: JOHN PATTEN
Subject: FTP from iOS but getting tsneterr: (67) Access denied: 530

Hi All,

I’m trying to ftp and image from the photo gallery on iOS to my on-rev account. 
 I’m using the example:

on mouseUp
mobilepickphoto “library"
--upload to FTP
put the last image into url 
("ftp://autoim...@jdoe.on-rev.com:xx...@jdoe.on-rev.com/autoimage/images/newimage.jpg”)
--Informs of successful or unsuccessful upload if the result is not empty then 
answer "url put failed:" && the result else answer "success!”
end if
end mouseUp
——

It is throwing and an error, tsnetterr:(67) Access Denied: 530.

I can use Fetch (a mac FTP client) just fine with the same credentials and 
upload an image with no problem. I don’t even have to give Fetch the full ftp 
directory, just the host.

What am I missing?

Thank you!

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


___
use-livecode mailing list
use-livecode@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 there any way at all to have a mobile app simply resume rather than restart?

2017-05-25 Thread Ralph DiMola via use-livecode
It works for me on OSX 10.11.6

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mike Kerner via use-livecode
Sent: Wednesday, May 24, 2017 10:04 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: Is there any way at all to have a mobile app simply resume
rather than restart?

I'm pretty sure you can't do it while it's still in the applications folder.
You have to command-drag it out of the applications folder, first, before
you modify it - at least I do, anyway.

On Wed, May 24, 2017 at 5:57 PM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This is great Ralph
>
> Thank you
>
> I wonder if this can open up other possibilities as well
>
> Sent from my iPhone
>
> > On May 24, 2017, at 5:17 PM, Ralph DiMola 
> > 
> wrote:
> >
> > 1) Go to the Applications folder
> > 2) Right click on the LC app you are using and select "Show Package 
> > Contents"
> > 3) Navigate to the "Tools/Runtime/iOS" folder
> > 4) Right click on all the device/simulator folders one at a time and
> select
> > "Get Info"
> > 5) At the bottom click on the "Read only" to the right of your 
> > account
> name
> > and select "Read & Write"
> > 6) Repeat 5 for all device/simulator folders
> > 7) In each of the device/simulator folders edit the setting.plist file.
> > 8) To edit... right click the setting.plist file and select "Open With"
> and
> > then "Other..." and select "TextEdit.app".
> > 9) You will get a warning that the file is locked. Choose the Unlock
> option.
> >
> > 10) Either change UIApplicationExitsOnSuspend key value to "False" 
> > or
> like I
> > do delete the key all together(2 lines)
> > 11) repeat 8-10 for setting.plist in each of the device/simulator
> folders.
> > 12) Fire up LC and make an iOS app.
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> >
> > -Original Message-
> > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf
> > Of Jonathan Lynch via use-livecode
> > Sent: Wednesday, May 24, 2017 4:37 PM
> > To: How to use LiveCode
> > Cc: jonathandly...@gmail.com
> > Subject: Re: Is there any way at all to have a mobile app simply 
> > resume rather than restart?
> >
> > I don't actually know how to do any of the steps for this - would be
> easy on
> > a pc. Researching it now.
> >
> > Sent from my iPhone
> >
> >> On May 24, 2017, at 4:27 PM, jonathandly...@gmail.com wrote:
> >>
> >> I read that on the forums, but I defer to Ralph on this.
> >>
> >> I am playing with the hack now.
> >>
> >> I think I could also have a legitimate reason for playing audio -
> changing
> > the music as a user gets closer to a marker - but that would be a 
> > lot of trouble to set up right now.
> >>
> >> Sent from my iPhone
> >>
> >>> On May 24, 2017, at 4:07 PM, Mike Kerner via use-livecode
> >  wrote:
> >>>
> >>> Are you sure?  I'm pretty sure I have at least a couple of apps I 
> >>> built in
> >>> 8 that still use the hack.
> >>>
> >>> On Wed, May 24, 2017 at 3:54 PM, Jonathan Lynch via use-livecode < 
> >>> use-livecode@lists.runrev.com> wrote:
> >>>
>  It looks like the plist hack is not available in version 8.
> 
>  Choosing background audio works - but that means I need to have a 
>  plausible reason for having background audio or Apple reviewers 
>  might ding the app.
> 
>  What a pain - why not just allow it to work the way other apps work?
> 
>  Sent from my iPhone
> 
> > On May 24, 2017, at 3:43 PM, jonathandly...@gmail.com wrote:
> >
> > Thank you!
> >
> > Sent from my iPhone
> >
> >> On May 24, 2017, at 3:34 PM, Mike Kerner via use-livecode <
>  use-livecode@lists.runrev.com> wrote:
> >>
> >> If you're referring to ios, look up "plist hack", here.  The 
> >> only thing
>  to
> >> remember is that for each version of LC, you have to perform 
> >> the hack, again, until Edinburgh gives us a Standalone Settings
option.
> >>
> >> On Wed, May 24, 2017 at 3:22 PM, Jonathan Lynch via 
> >> use-livecode < use-livecode@lists.runrev.com> wrote:
> >>
> >>> Having to restart the app from scratch sucks. I can store the 
> >>> current state, but my users would have to wait for the map 
> >>> widget to reload
>  every
> >>> time they came back from another app.
> >>>
> >>> 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 

[OT ish] LC App Crashes Pandora

2017-06-16 Thread Ralph DiMola via use-livecode
I got to look into where/what in my app causes this, but I can crash Pandora
at will by doing some networking in my LC app. The LC app continues on just
fine and dandy. The app is using a dev certificate. It is totally
repeatable. iPad 2 iOS 9.3.5 and most recent build of Pandora. It does not
happen an iPad Mini iOS 10.3.2. Pandora does crash now and again on the iPad
2 when clicking the "more" on the lyrics or the artist and scrolling
up/down. Pandora does seem to be a bit sketchy on the iPad 2, but it's
funny... tap a button in my app and boom goes Pandora every time. It just
goes to show that it can happen to anybody including Pandora.

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: LC Global - my experience

2017-06-16 Thread Ralph DiMola via use-livecode
I agree. But I do miss the late night sessions. But a great experience none
the less. Having Heather as a moderator worked nicely. Some great
announcements and DP7. Great work by the LC team and the presenters! Look
forward to the next one.

PS: Had to run a quick errand and brought the conference with me on my
phone. Nice...

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 Roger Eller via use-livecode
Sent: Friday, June 16, 2017 9:38 AM
To: How to use LiveCode
Cc: Roger Eller; Revolution
Subject: Re: LC Global - my experience

I fully agree.  With the past simulcast(s), I would miss great sessions by
having to choose a channel to watch.  Watching later just fell through the
cracks as work happened.  I am very happy with day 1 of LC-Global.

As I commented on the Slack page, I do miss the coffee, tea, and snacks
during breaks.  I suggest that some tasty Scottish treats be mailed to
attendees prior to future events.  :)

~Roger


On Fri, Jun 16, 2017 at 8:59 AM, tbodine via use-livecode <
use-livecode@lists.runrev.com> wrote:

> + 1! Much better experience compared to previous simulcast attendance.
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


Scroll Bars in scrolling groups

2017-05-02 Thread Ralph DiMola via use-livecode
OK I'm stumped. I have a scrolling group consisting 20 other groups each
with 2 fields and a button. I place these sub groups and the controls in
them in the parent group from top to bottom. The sub groups go off the
bottom of the parent group as expected. Everything looks perfect and can set
the vscroll via script and see the sub groups that are out of view as
expected. BUT.. when I show the vscroll bar(even with messages disabled),
all the sub groups move up and to the left. The top sub group hugs top of
the parent group and all the sub groups hug the parent group on the left.
Why? If I place the subgroups while the vscroll bar is visible then the top
groups move up to the left and the remaining one stay where I put them. Any
help would be appreciated.

Thanks

Win 10 LC 8.1.3/8.1.4rc1

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: Calling a livecode executable -ui from LC server and get back a result.

2017-05-05 Thread Ralph DiMola via use-livecode
I am running my Android Remote Tester LC app as a Windows Service on Win 10. It 
has a UI for debugging/examining operation when run in the Windows UI and this 
UI does not cause any problems when running as a service. I just startup up 
everything in the preopenstack. This app does socket communications for user 
requests and performs various functions including shelling out to the OS and 
returning the result back to the client. It's been very reliable while running 
as a service and has never has any mysterious crashes. This app supports multi 
user connections. I use the socket address as an index into an array for 
session context. As it is single threaded, it has to finish one request before 
it can work on the next but does not have the overhead of starting up a new 
process for each connection/request. Could this work for you?

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Malte Brill via use-livecode
Sent: Friday, May 05, 2017 8:36 AM
To: use-livecode@lists.runrev.com
Cc: Malte Brill
Subject: Re: Calling a livecode executable -ui from LC server and get back a 
result. 

Hi Roger,

indeed, I have considdered that. But I have no experience on how this would 
behave. Actually what I was trying to do is reducing the involved components, 
instead of introducing more and more over the course of building the system. LC 
- Server came natural there, as it would have allowed me to use liveCode inline 
and having the proven stability of Apache, which is needed for other purposes 
in the project also. It is so unfortunate, that LC-server gets me to 95% of 
what I need to do and then you need to revise your decisions, because some 
things that you would expect to work, just won’t. I can most certainly move 
everything that is needed into a liveCode client, but I would not want to do 
that because of apllication design reasons. Pitty. If I were to set up a 
faceless app as a service / daemon, I am not too sure if I would do it in LC, 
given that it would be a single threaded process and I might need concurrency. 
The pretty part of the CGI approach is that it starts an instance per 
connection that then can act individually. Well, back to whiteboard I guess.

Thanks a lot,

Malte



> Have you considered running a faceless Desktop app as a service, having it 
> watch for a socket message, or a file, or even clipboard content to signal it 
> to do something. You could keep an account signed in with an app running 
> -with-or-without a UI. 
> 

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


___
use-livecode mailing list
use-livecode@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 there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Ralph DiMola via use-livecode
1) Go to the Applications folder
2) Right click on the LC app you are using and select "Show Package
Contents"
3) Navigate to the "Tools/Runtime/iOS" folder
4) Right click on all the device/simulator folders one at a time and select
"Get Info"
5) At the bottom click on the "Read only" to the right of your account name
and select "Read & Write"
6) Repeat 5 for all device/simulator folders
7) In each of the device/simulator folders edit the setting.plist file.
8) To edit... right click the setting.plist file and select "Open With" and
then "Other..." and select "TextEdit.app".
9) You will get a warning that the file is locked. Choose the Unlock option.

10) Either change UIApplicationExitsOnSuspend key value to "False" or like I
do delete the key all together(2 lines)
11) repeat 8-10 for setting.plist in each of the device/simulator folders.
12) Fire up LC and make an iOS app.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Jonathan Lynch via use-livecode
Sent: Wednesday, May 24, 2017 4:37 PM
To: How to use LiveCode
Cc: jonathandly...@gmail.com
Subject: Re: Is there any way at all to have a mobile app simply resume
rather than restart?

I don't actually know how to do any of the steps for this - would be easy on
a pc. Researching it now.

Sent from my iPhone

> On May 24, 2017, at 4:27 PM, jonathandly...@gmail.com wrote:
> 
> I read that on the forums, but I defer to Ralph on this.
> 
> I am playing with the hack now.
> 
> I think I could also have a legitimate reason for playing audio - changing
the music as a user gets closer to a marker - but that would be a lot of
trouble to set up right now.
> 
> Sent from my iPhone
> 
>> On May 24, 2017, at 4:07 PM, Mike Kerner via use-livecode
 wrote:
>> 
>> Are you sure?  I'm pretty sure I have at least a couple of apps I 
>> built in
>> 8 that still use the hack.
>> 
>> On Wed, May 24, 2017 at 3:54 PM, Jonathan Lynch via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> It looks like the plist hack is not available in version 8.
>>> 
>>> Choosing background audio works - but that means I need to have a 
>>> plausible reason for having background audio or Apple reviewers 
>>> might ding the app.
>>> 
>>> What a pain - why not just allow it to work the way other apps work?
>>> 
>>> Sent from my iPhone
>>> 
 On May 24, 2017, at 3:43 PM, jonathandly...@gmail.com wrote:
 
 Thank you!
 
 Sent from my iPhone
 
> On May 24, 2017, at 3:34 PM, Mike Kerner via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
> 
> If you're referring to ios, look up "plist hack", here.  The only 
> thing
>>> to
> remember is that for each version of LC, you have to perform the 
> hack, again, until Edinburgh gives us a Standalone Settings option.
> 
> On Wed, May 24, 2017 at 3:22 PM, Jonathan Lynch via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
> 
>> Having to restart the app from scratch sucks. I can store the 
>> current state, but my users would have to wait for the map widget 
>> to reload
>>> every
>> time they came back from another app.
>> 
>> 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."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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


RE: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Ralph DiMola via use-livecode
Jonathan,

This works in V8/V9. I don't make a copy.

1) In the app bundle look in the folder ==>"Tools/Runtime/iOS" set all the
folders to read/write.
2) Edit the setting.plist in each of the folders and change
UIApplicationExitsOnSuspend key value to "False" (or like I do...delete the
key all together)

Apple has never complained. But... Ticking the "Background Audio" option
sets UIBackgroundModes key to "audio". You will get rejected if you app does
not play background audio.

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 Jonathan Lynch via use-livecode
Sent: Wednesday, May 24, 2017 3:55 PM
To: How to use LiveCode
Cc: jonathandly...@gmail.com
Subject: Re: Is there any way at all to have a mobile app simply resume
rather than restart?

It looks like the plist hack is not available in version 8. 

Choosing background audio works - but that means I need to have a plausible
reason for having background audio or Apple reviewers might ding the app.

What a pain - why not just allow it to work the way other apps work?

Sent from my iPhone

> On May 24, 2017, at 3:43 PM, jonathandly...@gmail.com wrote:
> 
> Thank you!
> 
> Sent from my iPhone
> 
>> On May 24, 2017, at 3:34 PM, Mike Kerner via use-livecode
 wrote:
>> 
>> If you're referring to ios, look up "plist hack", here.  The only 
>> thing to remember is that for each version of LC, you have to perform 
>> the hack, again, until Edinburgh gives us a Standalone Settings option.
>> 
>> On Wed, May 24, 2017 at 3:22 PM, Jonathan Lynch via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Having to restart the app from scratch sucks. I can store the 
>>> current state, but my users would have to wait for the map widget to 
>>> reload every time they came back from another app.
>>> 
>>> 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."
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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


RE: Converting iOS app build to .ipa file (latest iTunes update stops you doing this)

2017-09-13 Thread Ralph DiMola via use-livecode
Terry,

Open up the "devices" window in Xcode and you will see all the iOS devices 
connected via USB. You can drag in .app files and also add/delete using the "+" 
and "-" symbols.

You can also create a .ipa by putting the .app into a Payload folder and 
zipping it up and renaming it like you said.


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 
Terry Judd via use-livecode
Sent: Wednesday, September 13, 2017 8:33 PM
To: How to use LiveCode
Cc: Terry Judd
Subject: Re: Converting iOS app build to .ipa file (latest iTunes update stops 
you doing this)

Hi Colin – I’m not that familiar with Xcode (apart from occasionally using it 
to manage profiles). Very briefly, what do I need to do to get started there.

Terry...

On 14/09/2017 8:49 am, "use-livecode on behalf of Colin Holgate via 
use-livecode"  wrote:

You can use Xcode to drag apps onto connected devices. It works with .app 
as well as .ipa.

Apple have a configurator app. It also works with LiveCode .app:

https://itunes.apple.com/us/app/apple-configurator-2/id1037126344?mt=12 




> On Sep 13, 2017, at 3:14 PM, Terry Judd via use-livecode 
 wrote:
> 
> I’ve always just created a .ipa file from my LC iOS app builds by 
dragging them into iTunes and then back out again. Now Apple has gone and 
removed apps from the latest version of iTunes (which appears to have 
automatically updated on my Mac) and I’m left without a way to do this. Are 
there any easy alternatives?
> 
> For example will putting the app in a folder called ‘Payload’, zipping it 
and renaming it as a .ipa file work or is there some extra stuff than happens 
as part of the .app to .ipa conversion?
> 
> And on a related note. Now that iTunes is out of the picture, are there 
any other simple tools that I can use to move apps onto an off a number of 
devices? I have a set of about 50 iPads that I build apps for but I’ve always 
just managed these using iTunes as most of the dedicated apps like Configurator 
are overkill for what I need to do.
> 
> Terry...
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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


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

RE: not really OT: The Coming Software Apocalypse

2017-10-03 Thread Ralph DiMola via use-livecode
>For many years, we have seen in this mail list (and previous mail list) how
developers are completely baffled by applications that run fine in most
computers, but fail >consistently in a very few machines. Check the
archives. You will find many instances of this scenario. How it is that
possible at all?

This is possible because all current consumer OSs have the same problems
outlined in the article.

I don't usually pontificate on this list but...
As humans we constantly overreach without thinking. As Jeff Goldblum
said in Jurassic Park said "Your scientists were so preoccupied with whether
they could they didn't stop to think if they should."
This is the story with all consumer OSs. Just because these rudimentary OSs
in the 90s could somewhat be a tool for the average Joe no one stopped to
think if they should. We have allowed PC OSs/mobile devices and most
pointedly the Internet to become the lynch-pins of modern society, also
because of the "Jeff Goldblum" theorem. Look at Puerto Rico if want proof.
Just because they could build cell towers in PR... As Claude Rains said in
Casablanca "I'm shocked, shocked to find that gambling in going on in here"
A cat 4 hit PR in 1932 and when I heard that 1,360 out of 1,600 of PR's
Cells towers were either damaged or blown over by cat 4 Irma and folks were
panicking with no internet/access to credit card processing and the FakeBook
I said to myself "I'm shocked that a cat 4 hit PR". I feel sorry for the
human suffering and the government let this happen but I'm not surprised.
Wait till a CME(Carrington event 1859) or EMP(rocket man) wipes out the
electrical grid and internet for a billion or so people for a year... I'll
be sitting with my gravity fed water well water and rifle across my lap
saying "I'm shocked that"


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: Group mouseup

2017-08-30 Thread Ralph DiMola via use-livecode
Worked, Thanks!

Another observation. If an image is in a group and you click on a
transparent location in the image the mouseup does not make to the group. It
guess it makes sense for some applications but also does not make sense for
others.

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: Wednesday, August 30, 2017 11:55 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Group mouseup

I take that back. Just a transparent button will do. You do not have to mess
with the background color. 

Bob S


> On Aug 30, 2017, at 08:52 , Bob Sneidar via use-livecode
 wrote:
> 
> I just checked. The group does not receive mouseUp from the engine. (It
doesn't receive closeField either just as an aside. ;-) So I think the
almost transparent button at the back of the group will have to be your only
option. 
> 
> 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: [OT] Hello World

2017-09-05 Thread Ralph DiMola via use-livecode
I agree. I open links like this on an isolated vanilla VM that I keep just
for that purpose.

It was a good read. Congrats!

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, September 05, 2017 10:56 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: [OT] Hello World

I never click these links. I can never know if your account was hacked and
someone is spamming the list with a drive by. 

I always advise people to have a little text signature so that people can
tell who know you that the email came from you personally. My Dad used to
use L/D for Love Dad. I use Bob S. Your full name won't do, that is
something a spammer could easily put in the email themselves. 

I think if everyone on the list followed this practice, and we got used to
seeing that signature in all your posts, we would be more inclined to do
what we have always been taught to NEVER NEVER DO, and that is, click the
link. 

Bob S


> On Sep 1, 2017, at 12:16 , Richmond Mathewson via use-livecode
 wrote:
> 
> Page 71
> 
>
https://s3-eu-west-1.amazonaws.com/rpi-magazines/issues/full_pdfs/000/000/00
4/original/HelloWorld03.pdf?1504167546
> 
> Richmond Mathewson.


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


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


RE: [ANN[ Release 8.1.7 RC-1

2017-09-05 Thread Ralph DiMola via use-livecode
Panos,

 

On Mac should the Tools/Runtime/iOS/Device-10_3 folder be empty?

 

Thanks

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: livecode-dev [mailto:livecode-dev-boun...@lists.runrev.com] On Behalf Of 
panagiotis merakos
Sent: Tuesday, September 05, 2017 10:46 AM
To: LiveCode Developer List
Subject: [ANN[ Release 8.1.7 RC-1

 

Dear list members,

 

We are pleased to announce the release of LiveCode 8.1.7 RC-1.

 

Getting the Release

===

You can get the release at https://downloads.livecode.com/livecode/ or via the 
automatic updater.

 

 

Release Contents



 

LiveCode 8.1.7 RC-1 contains 34 bug fixes, as well as security and stability 
improvements:

 

- Several regressions have been fixed.

- New version of tsNet (1.3.1) that addresses various network-related bugs is 
included (Indy + Business edition)

 

The full release notes are available from:

http://downloads.livecode.com/livecode/8_1_7/LiveCodeNotes-8_1_7_rc_1.pdf

 

 

Feedback



Please report any bugs encountered on our BugZilla at

http://quality.livecode.com/

 

 

Have fun!

The LiveCode Team

--

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


RE: [ANN[ Release 8.1.7 RC-1

2017-09-05 Thread Ralph DiMola via use-livecode
A re-download/re-install fixed it. Strange...

Thanks

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 merakos via use-livecode
Sent: Tuesday, September 05, 2017 12:13 PM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: [ANN[ Release 8.1.7 RC-1

Hi Ralph,

No, it should not, otherwise you would not be able to build device
standalones using Xcode 8.3.x on Sierra. BTW I just checked and it is not
empty for me (checked on Indy and Business).

Maybe a failure during installation? Strange. Could you try to delete and
reinstall?

Best regards,
Panos
--

On Tue, Sep 5, 2017 at 4:58 PM, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Panos,
>
>
>
> On Mac should the Tools/Runtime/iOS/Device-10_3 folder be empty?
>
>
>
> Thanks
>
>
>
> Ralph DiMola
>
> IT Director
>
> Evergreen Information Services
>
> rdim...@evergreeninfo.net
>
>
>
> From: livecode-dev [mailto:livecode-dev-boun...@lists.runrev.com] On 
> Behalf Of panagiotis merakos
> Sent: Tuesday, September 05, 2017 10:46 AM
> To: LiveCode Developer List
> Subject: [ANN[ Release 8.1.7 RC-1
>
>
>
> Dear list members,
>
>
>
> We are pleased to announce the release of LiveCode 8.1.7 RC-1.
>
>
>
> Getting the Release
>
> ===
>
> You can get the release at https://downloads.livecode.com/livecode/ or 
> via the automatic updater.
>
>
>
>
>
> Release Contents
>
> 
>
>
>
> LiveCode 8.1.7 RC-1 contains 34 bug fixes, as well as security and 
> stability improvements:
>
>
>
> - Several regressions have been fixed.
>
> - New version of tsNet (1.3.1) that addresses various network-related 
> bugs is included (Indy + Business edition)
>
>
>
> The full release notes are available from:
>
> http://downloads.livecode.com/livecode/8_1_7/LiveCodeNotes-8_1_7_rc_1.
> pdf
>
>
>
>
>
> Feedback
>
> 
>
> Please report any bugs encountered on our BugZilla at
>
> http://quality.livecode.com/
>
>
>
>
>
> Have fun!
>
> The LiveCode Team
>
> --
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


Debug java on Mobile Browser

2017-09-07 Thread Ralph DiMola via use-livecode
I have a web page that works in the IDE but fails on the device. When it fails 
in the IDE I can use Chrome's dev tools and quickly find out what's going 
wrong. On mobile there is no such option. Is there any way to find out what's 
going on with java in the mobile browser on both iOS and Android?

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: Debug java on Mobile Browser

2017-09-07 Thread Ralph DiMola via use-livecode
Ali,

Using Chrome/Android

Although the device shows in dev tools and I have an LC app using the mobile
browser open on the device I don't see the URL of the page like you do if
you open Chrome on the device. Using Chrome on the device remote debugging
works great. The dev tools does not see the instance of browser in LC. I am
using the LC mobile browser. Should I be using the LC browser widget
instead? Am I relegated to doing alerts all over the place? This was bad
enough for LC(answers) before remote debugging. To debug java that works on
desktop and IDE but fails in LC mobile doing alerts is a nightmare.

Thanks for any insight...

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 Ali Lloyd via use-livecode
Sent: Thursday, September 07, 2017 3:32 PM
To: How to use LiveCode
Cc: Ali Lloyd
Subject: Re: Debug java on Mobile Browser

You should be able to debug native web views on device/emulator on Android
using Chrome and on device/simulator on iOS using Safari... admittedly I
haven't tried this with a browser widget in LC, but I've done it recently on
both in another context.

On Thu, Sep 7, 2017 at 7:06 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have a web page that works in the IDE but fails on the device. When 
> it fails in the IDE I can use Chrome's dev tools and quickly find out 
> what's going wrong. On mobile there is no such option. Is there any 
> way to find out what's going on with java in the mobile browser on both
iOS and Android?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: A modest proposal for a new property

2017-09-26 Thread Ralph DiMola via use-livecode
How would you use the alpha channel to do this? I just had an image and the 
transparent part of the image did not send a mouseup message. I put a button 
behind the image to solve it. Was there a way I could have used the alpha 
channel to get the mouseup message anywhere in the image and still retain the 
transparency?

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 
Colin Holgate via use-livecode
Sent: Tuesday, September 26, 2017 1:18 PM
To: How to use LiveCode
Cc: Colin Holgate
Subject: Re: A modest proposal for a new property

How do you currently set the alpha channel? The hit area icon I was suggesting 
could be an image with the alpha channel that the button uses. That way you 
could have any shape hit area, it wouldn’t have to be based on the button’s 
icon.

> On Sep 26, 2017, at 1:14 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Colin Holgate write:
> 
> > The way that this problem is handled in sort other tools is to have 
> > a definable hit area for each control (usually those would be buttons).
> > You can set the idle, over, and pressed versions of the button’s 
> > image, and also you can set the hit area image.
> >
> > LiveCode already has a way to do most of that, couldn’t the hit area 
> > be another entry I the inspector’s icons section?
> 
> Where would one obtain the list of polygon points?
> 
> Currently the hit region is definable using the alpha channel.


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


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

RE: IPad Mini reports "not supported

2017-09-28 Thread Ralph DiMola via use-livecode
I ran into this and had to de-select the GPS and only select Location
Services to make the app available on non-GPS devices. I can still get
lat/lon cords. What I am unclear about is if the GPS chip is used on devices
that have them.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Andrew Bell via use-livecode
Sent: Thursday, September 28, 2017 2:07 PM
To: use-livecode@lists.runrev.com
Cc: and...@midwestcoastmedia.com
Subject: Re: IPad Mini reports "not supported

I've been having a similar problem with an app that I just never got around
to debugging. After looking at that device compatibility matrix, I think my
problem is that GPS is selected as a required provision (trying to get
latitude/longitude from user when a certain function is executed).

Is it safe to assume removing GPS from Required but instead adding Location
Services will allow this app to install on iPads AND still give me
latitude/longitude?

--Andrew Bell

>
> Message: 4
> Date: Mon, 25 Sep 2017 22:05:09 +0100
> From: panagiotis merakos 
> To: How to use LiveCode 
> Subject: Re: IPad Mini reports "not supported
> Message-ID:
>   
> Content-Type: text/plain; charset="UTF-8"
>
> The camera-flash in not supported on any of the iPad minis, or the 
> iPad
> 12.9 inch.
>
> See these tables:
>
> https://developer.apple.com/library/content/documentation/DeviceInform
> ation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/Devic
> eCompatibilityMatrix.html
>
> So removing "camera-flash" from the requirements section of the iOS 
> Standalone Settings should fix the problem.
>
> Best,
> Panos
> --


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


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


RE: [ANN] IPA Build Tool for iOS

2017-09-27 Thread Ralph DiMola via use-livecode
Correct, all testers UUIDs must be added to the provisioning profile. There
a limit of 100/year. You can only delete old ones after your yearly
developer renewal.


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, September 27, 2017 3:55 PM
To: Use-livecode Use-livecode
Cc: William Prothero
Subject: Re: [ANN] IPA Build Tool for iOS

Sean:
Thanks for the app. It should come in useful.
I assume that the provisioning file created in the Apple Developer site (for
beta testers) must contain the ID info of every device that it must run on,
if it is not distributed through the app store?? I am writing several apps
that will need significant beta testing, so I will be distributing them
directly.
Best,
Bill P

> On Sep 27, 2017, at 7:43 AM, Sean Cole (Pi) via use-livecode
 wrote:
> 
> Hi LC Community,
> 
> I needed to create IPAs of my iOS software so that I could upload them 
> to my website for Enterprise distribution but all the old tools for 
> doing this have been deprecated by Apple. So I've created this simple 
> one to meet Apple's new standard way to produce them. Simply extract 
> it into your LiveCode plugins folder and you will be able to open it 
> from the LC menu,
> Development>Plugins>IPA_Builder. Let me know if you have any problems 
> Development>Plugins>with
> it.
> 
> https://livecode.pidigital.co.uk/IPA_Builder.zip
> 
> Sean Cole
> *Pi Digital Productions Ltd*
> www.pidigital.co.uk
> 'Don't try to think outside the box. Just remember the truth: There is 
> no box!'
> 'For then you realise it is not the box you are trying to look outside 
> of, but it is yourself!'
> 
> eMail Ts & Cs    Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: Sierra update --> Xcode install --> LC no provisioning profile

2017-08-24 Thread Ralph DiMola via use-livecode
Here's the deal with Sierra and LC 8.1.6

Xcode 8.3.3==> SDK 10.3 Simulator 10.3
Xcode 7.1.2==> SDK 9.2 Simulator 9.2
Xcode 6.2==> SDK 8.2 Simulator 8.2
Xcode 5.1.1==> SDK 7.1 Simulator 7.1
Xcode 4.6.3==> SDK 6.1 Simulator 6.1

To load all these versions without problems:

1] Keep only one version of Xcode in the applications folder named
Xcode.app.
2] Create an OldXcodeVersions folder. 
3] When upgrading:
  A] Move Xcode.app from applications folder to the OldXcodeVersions folder
and rename it to Xcode.x.y.app.
  B] Download the new Xcode from the developer portal. 
  C] Open up downloads and install Xcode into the applications folder..
  D] Open up the new Xcode.app
  E] In the LC prefs select...add a new Xcode.
  F] Add the Xcode that you just moved and renamed in A and B. This give you
access to older SDKs and simulators.
4] Never upgrade Xcode.*
5] Never install from App Store . *
6] Trash any versions of Xcode that were upgrades and re-download them fresh
from developers portal. 
7] Open the downloaded Xcode versions one at a time named Xcode.app in the
applications folder and then move to the OldXcodeVersions folder and rename.

Repeat 6-7 for each old version you want access to. While installing these
old versions temporarily move your current xcode.app from the applications
to a temporary folder until done.


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: Site won't load

2017-08-24 Thread Ralph DiMola via use-livecode
You can disable it in the standalone settings(after a warning about the 
apocalypse).

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Dan Friedman via use-livecode
Sent: Thursday, August 24, 2017 5:01 PM
To: use-livecode@lists.runrev.com
Cc: Dan Friedman
Subject: Re: Site won't load

Monte,

Thank you for the reply!   That works for https://www.livecode.com, but not for 
other sites – including my own!   What is “ATS”?   Are you suggesting that LC 
can only load https sites?

-Dan


Try changing to https because... ATS.

> On 25 Aug 2017, at 6:39 am, Dan Friedman via use-livecode  lists.runrev.com> 
> wrote:
>
> I’m perplexed!   What could cause a site to not load in a mobile native 
> browser? (It fails in the browser widget too).  If I load “google.com”, it 
> loads.  If I load “livecode.com” it dosent.  It works in the IDE, but not in 
> the simulator or actual device.  It also works on the simulator and actual 
> device in Safari.
>
> mobileControlSet "webPage",”url”,Error! Hyperlink reference not 
> valid.   //loads fine
>
> mobileControlSet "webPage",”url”,Error! Hyperlink reference not 
> valid.   //fails!  Nothing happens.   Also, 
> the ‘result’ is empty.
>
> Any thoughts?
>
> -Dan

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


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

RE: [ANN] Important: New release of LiveCode 8.1.6

2017-08-31 Thread Ralph DiMola via use-livecode
I would like to thank Panos, Mark et al. This is the type of support that the 
big boys can't(or won't) give.

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: Thursday, August 31, 2017 6:43 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: [ANN] Important: New release of LiveCode 8.1.6

Hi all,

Since the week beginning 21st August 2017, LiveCode iOS apps are being rejected 
by iTunes Connect due to 'invalid binary'. It turns out that Apple have 
upgraded the tools they use to analyse binaries, and this has shown an error in 
the Mach-O structure of the 64-bit slice. The version of otool with Xcode 6.x 
(on 10.9) does not show a problem, but newer versions do.

For this reason, we have built a new version of LiveCode 8.1.6 that addresses 
this issue.

So if you have already installed the original LiveCode 8.1.6 and are affected 
by this issue, please visit now

http://downloads.livecode.com/livecode/

and download the latest 8.1.6 (STABLE), released on the 31st of August.

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


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

RE: TSNet error 6

2017-09-01 Thread Ralph DiMola via use-livecode
J,

I have run into many network issues on mobile. The chance that the user
might have a weak cell/wifi signal, move from cellular==>wifi or
wifi==>cellular is higher than one would think. This would be my first
guess. I always ask the user if Safari/Chrome is serving up pages. 99% of
the time network funnies are caused by weak/changing network access. The
amount of error checking and combinations thereof has been very challenging.
The first thing I do before any network access is to ping my server with a
https request to a LC backend server script that returns "OK". I set the
timeout for 2 seconds. If the returned data is not "OK" or take more than 2
seconds then I put the app into off-line mode. I try to ping the server
every time the users does "x" or the user's action again need network access
and see if the network is back online or fast enough.

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, September 01, 2017 4:42 PM
To: Bob Sneidar via use-livecode
Cc: J. Landman Gay
Subject: Re: TSNet error 6

This is for an Android app that can be run from anywhere, so I don't have
control over the routers or servers. (And yeah, I didn't quite get
everything you were talking about, I'm a network novice.)

The apps run fine for most people and only get this error with a few users.
I think you're basically saying there's no cure, right?

If the web site has a static IP and the Android app uses that instead of a
domain name, will that fix it? The app is communicating with a database on
the web server.


On 9/1/17 12:12 PM, Bob Sneidar via use-livecode wrote:
> That is a DNS error. If referring to a host, you can use the NetBIOS name
locally, the FQDN locally or remotely, or the IP number (which might change
so that is always a bad idea).
> 
> Now if the host name is NetBIOS, a number of things can go wrong in a
non-domain environment. With a domain server acting as your local DNS, it
will resolve NetBIOS names to their FQDN equivalents via the WINS service.
Barring that, NetBIOS name resolution falls back on an election process,
where some windows computer is elected as the Master Browser, which is then
responsible for tracing all devices on the network and their current IP
addresses.
> 
> If it happens to be a regular workstation, and it is set to go to sleep
after a certain amount of time, well another device has to become the master
browser, and it won't know about the  server in question until it requests
the current master browser and it might not do that for some time. See the
problem?
> 
> So there are a couple ways around that. First you can configure the local
router with a static DNS entry, and make sure the primary DNS server listed
is that router. Alternately you can edit the hosts file on each workstatino
and make a static entry there. The latter is probably going to be the most
reliable, but starting with windows 7 I think that file is locked, so it
requires elevated privileges.
> 
> Sucks huh? The best thing is to have a real DNS server locally (every
router these days does this but not everyone configures their routers
correctly) and then via the command line you *should* be able to register
with the DNS server, but I'm not sure how.
> 
> Hope that is not too much.
> 
> Bob S
> 
> 
>> On Sep 1, 2017, at 09:40 , J. Landman Gay via use-livecode
 wrote:
>>
>> I have two apps that normally work fine but in both an occasional user
will get an error "TSNeterr : (6) could not resolve host". What would be the
cause of this sporadic problem? We're not sure what to tell these users.
>>
>> --
>> 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
> 


-- 
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: TSNet error 6

2017-09-02 Thread Ralph DiMola via use-livecode
One other note. My banking app(RBS) on my phone sometimes(rarely) does not work 
even when I have connectivity while on the road. It honks that it can't get a 
secure connection. Then I move to another cell tower(I presume) and it works. 
Secure mobile communication requires a ton of app error checking and might not 
function in all circumstances.

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


-Original Message-
From: J. Landman Gay [mailto:jlandman...@gmail.com] On Behalf Of J. Landman Gay
Sent: Friday, September 01, 2017 11:21 PM
To: rdim...@evergreeninfo.net
Subject: Re: TSNet error 6

In today's episode, the user was in a coffee house using the free wifi (it was 
one of my testers, there on purpose for testing). The app could not resolve the 
host though the connection would have been constant. 
When he tests from his own home everything works, as it does for all of us on 
the team.

We're wondering if https has anything to do with it. He could connect to 
anything with Chrome but both my app and Slack would not work using https. 
Could that be a factor?

We need to keep testing to see if https is really the cause, we're not quite 
sure yet.

On 9/1/17 4:10 PM, Ralph DiMola wrote:
> J,
> 
> I have run into many network issues on mobile. The chance that the 
> user might have a weak cell/wifi signal, move from cellular==>wifi or 
> wifi==>cellular is higher than one would think. This would be my first 
> guess. I always ask the user if Safari/Chrome is serving up pages. 99% 
> of the time network funnies are caused by weak/changing network 
> access. The amount of error checking and combinations thereof has been very 
> challenging.
> The first thing I do before any network access is to ping my server 
> with a https request to a LC backend server script that returns "OK". 
> I set the timeout for 2 seconds. If the returned data is not "OK" or 
> take more than 2 seconds then I put the app into off-line mode. I try 
> to ping the server every time the users does "x" or the user's action 
> again need network access and see if the network is back online or fast 
> enough.
> 
> 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, September 01, 2017 4:42 PM
> To: Bob Sneidar via use-livecode
> Cc: J. Landman Gay
> Subject: Re: TSNet error 6
> 
> This is for an Android app that can be run from anywhere, so I don't 
> have control over the routers or servers. (And yeah, I didn't quite 
> get everything you were talking about, I'm a network novice.)
> 
> The apps run fine for most people and only get this error with a few users.
> I think you're basically saying there's no cure, right?
> 
> If the web site has a static IP and the Android app uses that instead 
> of a domain name, will that fix it? The app is communicating with a 
> database on the web server.
> 
> 
> On 9/1/17 12:12 PM, Bob Sneidar via use-livecode wrote:
>> That is a DNS error. If referring to a host, you can use the NetBIOS 
>> name
> locally, the FQDN locally or remotely, or the IP number (which might 
> change so that is always a bad idea).
>>
>> Now if the host name is NetBIOS, a number of things can go wrong in a
> non-domain environment. With a domain server acting as your local DNS, 
> it will resolve NetBIOS names to their FQDN equivalents via the WINS service.
> Barring that, NetBIOS name resolution falls back on an election 
> process, where some windows computer is elected as the Master Browser, 
> which is then responsible for tracing all devices on the network and 
> their current IP addresses.
>>
>> If it happens to be a regular workstation, and it is set to go to 
>> sleep
> after a certain amount of time, well another device has to become the 
> master browser, and it won't know about the  server in question until 
> it requests the current master browser and it might not do that for 
> some time. See the problem?
>>
>> So there are a couple ways around that. First you can configure the 
>> local
> router with a static DNS entry, and make sure the primary DNS server 
> listed is that router. Alternately you can edit the hosts file on each 
> workstatino and make a static entry there. The latter is probably 
> going to be the most reliable, but starting with windows 7 I think 
> that file is locked, so it requires elevated privileges.
>>
>> Sucks huh? The best thing is to have a real DNS server locally (every
> router these days does this but not everyone configures their routers
> correctly) and then via the command line you *should* be able to 
> register with the DNS server, but I'm not sure how.
>>
>> Hope that is not too much.
>>
>> Bob S
>>
>>
>>> On Sep 1, 2017, at 09:40 , J. Landman Gay via use-livecode
>  wrote:
>>>
>>> I have two apps that 

RE: TSNet error 6

2017-09-02 Thread Ralph DiMola via use-livecode
I would zero in on the https thing. If the user can get to an https web-site 
via Safari/Chrome on the same server as your DB then tsNet should work unless 
there is a bug in tsNet. The slack also problem has me concerned with the 
router. If we eliminate the tin-foil-hat possibilities then could there be a 
router issue in the coffee shop? Does this happen with other users in other 
places? I've seen routers do some strange things until a re-boot. The age of 
the router(or a pending firmware update) could also be in play. It's just so 
hard when you have no/zero/nada control over network connectivity.

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


-Original Message-
From: J. Landman Gay [mailto:jlandman...@gmail.com] On Behalf Of J. Landman Gay
Sent: Friday, September 01, 2017 11:21 PM
To: rdim...@evergreeninfo.net
Subject: Re: TSNet error 6

In today's episode, the user was in a coffee house using the free wifi (it was 
one of my testers, there on purpose for testing). The app could not resolve the 
host though the connection would have been constant. 
When he tests from his own home everything works, as it does for all of us on 
the team.

We're wondering if https has anything to do with it. He could connect to 
anything with Chrome but both my app and Slack would not work using https. 
Could that be a factor?

We need to keep testing to see if https is really the cause, we're not quite 
sure yet.

On 9/1/17 4:10 PM, Ralph DiMola wrote:
> J,
> 
> I have run into many network issues on mobile. The chance that the 
> user might have a weak cell/wifi signal, move from cellular==>wifi or 
> wifi==>cellular is higher than one would think. This would be my first 
> guess. I always ask the user if Safari/Chrome is serving up pages. 99% 
> of the time network funnies are caused by weak/changing network 
> access. The amount of error checking and combinations thereof has been very 
> challenging.
> The first thing I do before any network access is to ping my server 
> with a https request to a LC backend server script that returns "OK". 
> I set the timeout for 2 seconds. If the returned data is not "OK" or 
> take more than 2 seconds then I put the app into off-line mode. I try 
> to ping the server every time the users does "x" or the user's action 
> again need network access and see if the network is back online or fast 
> enough.
> 
> 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, September 01, 2017 4:42 PM
> To: Bob Sneidar via use-livecode
> Cc: J. Landman Gay
> Subject: Re: TSNet error 6
> 
> This is for an Android app that can be run from anywhere, so I don't 
> have control over the routers or servers. (And yeah, I didn't quite 
> get everything you were talking about, I'm a network novice.)
> 
> The apps run fine for most people and only get this error with a few users.
> I think you're basically saying there's no cure, right?
> 
> If the web site has a static IP and the Android app uses that instead 
> of a domain name, will that fix it? The app is communicating with a 
> database on the web server.
> 
> 
> On 9/1/17 12:12 PM, Bob Sneidar via use-livecode wrote:
>> That is a DNS error. If referring to a host, you can use the NetBIOS 
>> name
> locally, the FQDN locally or remotely, or the IP number (which might 
> change so that is always a bad idea).
>>
>> Now if the host name is NetBIOS, a number of things can go wrong in a
> non-domain environment. With a domain server acting as your local DNS, 
> it will resolve NetBIOS names to their FQDN equivalents via the WINS service.
> Barring that, NetBIOS name resolution falls back on an election 
> process, where some windows computer is elected as the Master Browser, 
> which is then responsible for tracing all devices on the network and 
> their current IP addresses.
>>
>> If it happens to be a regular workstation, and it is set to go to 
>> sleep
> after a certain amount of time, well another device has to become the 
> master browser, and it won't know about the  server in question until 
> it requests the current master browser and it might not do that for 
> some time. See the problem?
>>
>> So there are a couple ways around that. First you can configure the 
>> local
> router with a static DNS entry, and make sure the primary DNS server 
> listed is that router. Alternately you can edit the hosts file on each 
> workstatino and make a static entry there. The latter is probably 
> going to be the most reliable, but starting with windows 7 I think 
> that file is locked, so it requires elevated privileges.
>>
>> Sucks huh? The best thing is to have a real DNS server locally (every
> router these days does this but not everyone configures their routers
> correctly) and then via the command line you 

  1   2   3   4   5   6   7   8   >