RE: Digital Pomegranate

2018-04-23 Thread Ralph DiMola via use-livecode
+1

How is this not above the fold?
Hang in there brother... Were praying for you, your family, friends and country.
1915... Tragedy 1.5 mil

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Mark Wieder via use-livecode
Sent: Monday, April 23, 2018 11:29 AM
To: William Prothero via use-livecode
Cc: Mark Wieder
Subject: Re: Digital Pomegranate

On 04/23/2018 08:12 AM, William Prothero via use-livecode wrote:
> I see from the “Radio Free Europe” news that Sarikisian resigned. Great news! 
> Congratulations!

And I think equally important is that Sarkisian acknowledged that his reason 
for resigning that the movement in the street is against him, not that he was 
"going to spend more time with his family". This is indeed great news. Next 
step, get Turkey to apologize for 1915.

--
  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: Getting Orientation Enforced on Phone

2018-04-13 Thread Ralph DiMola via use-livecode
BR,

I've tried everything. It's gets even more bizarre. The last time I tested
this is what I got:

iOS: LC respects the device's orientation lock.
Android: LC does NOT respect the device's orientation lock.
iOS: If the LC app is in portrait, iPhone/iPod will change orientation
without rotating the physical device if mobileSetAllowedOrientations set to
only landscape(like Netflix) and lock it there. On iPad LC will not force
the rotation and will not lock it if you rotates the device.
Android: LC will not force the rotation but will lock it if you rotate the
device.

To fix this right we need:
1) mobileSetAllowedOrientations should be just that. This should be a end
user rotation permissions.
2) Add new==> mobileSetOrientation (pOrientation,
pRespectDeviceOrientationLock {true|false})

That's it. Until LC does this, we'll have a mishmash of behaviors and wrong
card rendering. Playing with all sorts of waits is just madness.

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: Tuesday, April 10, 2018 10:40 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Getting Orientation Enforced on Phone

# using this method to change stack

go  cardOrStackObject  # e.g   go "gems" (or this string)  go card 3 of
"gems"
 wait 100 milliseconds with messages
 close stack oStackName
 wait 100 milliseconds with messages

# don't try to go in same window method

( we used "set the fullscreenmode of this stack to "showAll"  in all stacks)

Now, we can get orientation "enforced" on iOS going one way -- portrait to
landscape --

but not coming back for  -- landscape to portrait --

Users sees the bottom on the portrait, until right they phone upright)

Android is worse, the landscape stack is rendering horizontally on a
portrait screen until they rotate the phone.
and vice versa

I really need to phone to "enforce" , regardless of phone is held.

You can't have a game/map (landscape) open "miniaturized" by portrait

  mobileSetAllowedOrientations  "landscape left,landscape right"
OR
  mobileSetAllowedOrientations  "landscape left,landscape right"

the dictionary says

"the setting take affect the next time an orientation change is applied"

But it is enforced to iOS going for portrait to landscape. Why not to other
way?
And either way on Android

Has anyone solved this problem.
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 Can't Find Path to Web folder

2018-04-07 Thread Ralph DiMola via use-livecode
BR,

I do it and use the same path for both mobile platforms. The only thing I
can think of is that I move the html folder tree to a folder in "the
documents folder". I also zip it up for brevity in the package. When the app
starts the first time(or app update) I unzip it to the documents folder. I
delete the tree before unzipping for an app update. If you need the LCS of
the un-zipper or folder tree deleter let me know.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Sannyasin Brahmanathaswami via use-livecode
Sent: Saturday, April 07, 2018 11:08 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Android Can't Find Path to Web folder

I give up! What is the magic that gets the browser widget on Android to see
a local html file

(it always works in iOS)

given the following directory layout

myApp.livecode # the standalone is built from this
  /module
   lexicon.livecode  # with nothing but a browser widget which
points too:
/web
index.html

if have tried all manner of:

hard coded:

 set the itemdel to "/"
 get item 1 to -2 of the effective filename of this stack
 put it & "/web/index.html" into tURL
 set the URL of widget "Browser" to ("file://" & tURL)

# this works on iOS but not on Android 

# Various incarnations of

if isMobile() then
 # this work on iOS 
 # but not on Android
   
  put specialFolderPath("engine") into tRoot
  set the URL of widget "Browser" to ( "file://" &tRoot &
"/modules/lexicon/web/index.html")

else
 # works on desktop

put specialFolderPath("resources") into tRoot
set the URL of widget "Browser" to ( "file://" &tRoot &
"/web/index.html") end if

?? 

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: Inclusions for database access?

2018-04-07 Thread Ralph DiMola via use-livecode
I take it you included MySQL. Maybe Andre's library need some other inclusion 
like XML or json?

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: Saturday, April 07, 2018 7:57 PM
To: Use-livecode Use-livecode
Cc: William Prothero
Subject: Inclusions for database access?

Folks:
I’m accessing a mysql database using Andre Garza’s software, and it works 
perfectly in the IDE. (LC9.0.0, Mac OSX 10.13.3).

However, when I build a standalone, the call just seems to hang and nothing is 
returned.

I am assuming that I’m making some mistake with inclusions? What might I be 
doing wrong that is triggered in the standalone, but not the IDE? I’ve included 
everything in the inclusions list that seems related to internet actions.

Any suggestions would much appreciated.
Thanks,
Bill

I don’t expect that the code needs debugging, as it works fine, but just to 
make sure it’s clear what I’m doing, my code is:
-

function getAppSettings

put "In getAppSettings"&cr after fld "status"

put 
"http://earthexplorer.earthlearningsolutions.org/scgi-bin/wpserver.php"; into 
tConfigA["url"]

put "ADBDDFCFBDBBDDCCFFACGHDEEDCC" into tConfigA["encryption_key"] 
// Encryption Key

dbSetDefaultConnectionConfiguration tConfigA

put "Earth Explorer D3" into tAppName

dbWhere "appName", tAppName

put dbGet("app_settings") into pDataA

if pDataA["data"] = "" then

return "DbError: -- "&cr&pDataA&cr

exit getAppSettings

end if

return pDataA["data"]

end getAppSettings

--


William A. Prothero
http://earthlearningsolutions.org

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


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

Widget User Defined Properties

2018-04-07 Thread Ralph DiMola via use-livecode
I created a property called backgroundColor in a widget on the Colors pane 
figuring that it would be nice to have the LCS editor color it. Opened up the 
property inspector of the widget and it's there. The first time I change the 
property via script the property inspector the Colors pane gets completely 
whacked out. The other panes are OK. I changed the name of the property to 
backgroundColorUp and everything was OK. Is there a limitation that user 
defined widget properties can't be the name of any existing "built in" LCS 
recognized property?

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: [ANN] Release 9.0.0

2018-04-04 Thread Ralph DiMola via use-livecode
I download all 3 platforms and release notes at the same time today and it took 
about 10 minutes on a 15x2 internet service.

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 04, 2018 12:57 PM
To: How to use LiveCode
Cc: Peter Bogdanoff
Subject: Re: [ANN] Release 9.0.0

Yesterday it took me 3-4 hours to download LC 9. I’m in California.

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

RE: Android Native Button

2018-04-03 Thread Ralph DiMola via use-livecode
Yes, I enumerated the font names on the device and used the "Droid Serif" font.

QCC report 21141 submitted.

 

Thanks Brian

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: Brian Milby [mailto:br...@milby7.com] 
Sent: Tuesday, April 03, 2018 12:51 AM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: Android Native Button

 

Looking at the code for the android field, it is probably a bug. In that code 
the type is optional pointer and a check is done that a pointer was returned. 
That check is not done for the button. Are you sure the font being specified is 
valid?

I have not done anything android, so this is just a quick read of the LCB code.

On Mon, Apr 2, 2018 at 11:14 PM Ralph DiMola via use-livecode 
 wrote:

I'm receiving the error below. The button does render. I can't change the 
textsize? Have I missed something or should I submit a QCC bug report?

Thanks

occurred on line:0
0,Value is not of correct type for assignment to variable - expected
type for
assigning to a variable tTypefacePtr in
com.livecode.widget.native.android.button.SetTypeface


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: Android Native Button

2018-04-03 Thread Ralph DiMola via use-livecode
Thanks Ali,

I submitted bug https://quality.livecode.com/show_bug.cgi?id=21141

Also in the QCC is that I can't change the font of text size.

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: Tuesday, April 03, 2018 3:17 AM
To: How to use LiveCode
Cc: Ali Lloyd
Subject: Re: Android Native Button

Ah yes, we need to apply this
https://github.com/livecode/livecode/pull/6441/files to the android button
as well

On Tue, Apr 3, 2018 at 5:51 AM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Looking at the code for the android field, it is probably a bug. In 
> that code the type is optional pointer and a check is done that a 
> pointer was returned. That check is not done for the button. Are you 
> sure the font being specified is valid?
>
> I have not done anything android, so this is just a quick read of the 
> LCB code.
> On Mon, Apr 2, 2018 at 11:14 PM Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> > I'm receiving the error below. The button does render. I can't 
> > change the textsize? Have I missed something or should I submit a QCC
bug report?
> >
> > Thanks
> >
> > occurred on line:0
> > 0,Value is not of correct type for assignment to variable - expected 
> > type for assigning to a variable tTypefacePtr 
> > in com.livecode.widget.native.android.button.SetTypeface
> >
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


Android Native Button

2018-04-02 Thread Ralph DiMola via use-livecode
I'm receiving the error below. The button does render. I can't change the 
textsize? Have I missed something or should I submit a QCC bug report? 

Thanks

occurred on line:0
0,Value is not of correct type for assignment to variable - expected 
type for 
assigning to a variable tTypefacePtr in 
com.livecode.widget.native.android.button.SetTypeface


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

2018-03-31 Thread Ralph DiMola via use-livecode
Hey BR,

The link is going to a content management system(Adobe I think)
http://www.gasb.org/cs/ContentServer?c=Document_C&cid=1176169676825&d=&pagen
ame=GASB%2FDocument_C%2FDocumentPage

The file name is buried in the html but not the path. It's in an iFrame but
it gets rendered by some unknown SW on iOS. On Android it just start
silently start downloading while displaying a white page. What I would like
to do is control where the PDF is being downloaded to and force a download
on iOS. I'm guessing(with great disappointment) that this would require a
change to the browser widget.

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 Sannyasin Brahmanathaswami via use-livecode
Sent: Saturday, March 31, 2018 1:00 PM
To: Ralph DiMola via use-livecode
Cc: Sannyasin Brahmanathaswami
Subject: Re: Browser Widget Document Download

When I set the widget to the url the PDF displays.
When I put the url into a var  "put url (tURL) into MyVar" I see some
html/javascript in MyVar but no PDF. What I would like to do is download the
PDF on both mobile platforms. Is this even possible with LC?

BR: can you send the URL?

Typically, (probably you know this already, but FWIW) this shows a PDF in a
iFrame, some javascript "widget"  .

If you how source in the browser, (with PDF open) can you can find a
"direct" url for the PDF?


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


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


RE: Intel CPU for Android Devices

2018-03-31 Thread Ralph DiMola via use-livecode
I have an old Samsung Galaxy Tab 3 10.1 the has an Intel Atom processor and
it runs LC 8.1.9/9.0(rc)1 apps.  The apps are a bit slow but do run(I wonder
if there's emulating going on?). I have not installed from the store. I
side-load using adb. Is the app visible on the PlayStore to the devices? If
so does it download/install? If it installs does it even start running?

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 Todd Fabacher via use-livecode
Sent: Saturday, March 31, 2018 10:35 AM
To: Use-livecode Use-livecode
Cc: Todd Fabacher
Subject: Intel CPU for Android Devices

I am running into a problem where the Android device uses Intel CPU and NOT
Arm. It does not rum from the store on the device. Has anyone installed and
run a LiveCode Android App on an Intel device.

I have an 11am meeting on Monday, so any answer on the holiday weekend would
be much appreciated.

Thanks,

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


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

2018-03-30 Thread Ralph DiMola via use-livecode
I have a url(that does not directly reference a file) that on iOS displays a
PDF in the iOS native PDF viewer and on Android Downloads the PDF as Android
has no native PDF viewer. I would like to download the PDF at all times.
Testing in the IDE... When I set the widget to the url the PDF displays.
When I put the url into a var  "put url (tURL) into MyVar" I see some
html/javascript in MyVar but no PDF. What I would like to do is download the
PDF on both mobile platforms. Is this even possible with LC?

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: Apple iOS App Rejection because Location Usage String is too Generic

2018-03-25 Thread Ralph DiMola via use-livecode
Panos / Ludovic,

Thanks!
Approved...

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: Saturday, March 24, 2018 2:38 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: Apple iOS App Rejection because Location Usage String is too
Generic

Hi Ralph,

These are set while building the standalone. See comment 11 here
https://quality.livecode.com/show_bug.cgi?id=19780 for a workaround.

Best,
Panos
--

On Fri, Mar 23, 2018 at 11:50 PM, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> These keys aren't in the settings.plist file.
> NSLocationUsageDescription
> NSLocationWhenInUseUsageDescription
>
> Does anyone know where they are? I need to change them and re-submit 
> the app.
>
> Thanks
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


Apple iOS App Rejection because Location Usage String is too Generic

2018-03-23 Thread Ralph DiMola via use-livecode
These keys aren't in the settings.plist file.
NSLocationUsageDescription
NSLocationWhenInUseUsageDescription

Does anyone know where they are? I need to change them and re-submit the
app.

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: Smooth transition between stacks

2018-03-20 Thread Ralph DiMola via use-livecode
My understanding is that the first stack has the engine, inclusions and 
needs to be in memory. 

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: Tuesday, March 20, 2018 6:47 PM
To: Use-livecode Use-livecode
Cc: William Prothero
Subject: Re: Smooth transition between stacks

Folks:

I got it to remove the calling stack and have a clean transition. However, for 
a splash stack configuration with all of the stacks that do the main app 
functions, should I even try to delete the splash stack? Is it needed to run 
the application?

Best,
Bill



> On Mar 20, 2018, at 3:39 PM, William Prothero via use-livecode 
>  wrote:
> 
> Folks:
> This seems like it should be very easy, but I’m struggling.
> 
> I want, simply, to transition between stacks in a visually nice and clean 
> way. I’m testing this out in the IDE, in livecode version 9.0.0 (Rc1) and I’m 
> on Mac OS 10.13.3. I think I have a reasonable transition, but I want to 
> close and remove the splash stack from memory. I can’t get it to do this. 
> However, now I’m thinking that the splash stack will contain all of the code, 
> and shouldn’t be purged. The project will have stacks for individual 
> functions in the “Resources” folder. 
> 
> How should I transition from one stack to another, and get the calling stack 
> to leave memory when it’s launched the destination stack? My code won’t do it.
> 
> The splash stack has code like:
> 
> on mouseUp
> 
> put the short name of this stack into splashStackName
> 
> put splashStackName into appParams["splashStackName"]
> 
> put the filename of this stack into fName
> 
> set the itemdelimiter to "/"
> 
> delete the last item of fName
> 
> put "AppSetup-D3.livecode" into appSetupStackFileName
> 
> put "AppSetup-D3" into appSetupStackName
> 
> put appSetupStackName into appParams["appSetupStackName"]
> 
> put fName&"/"&appSetupStackFileName into stTarget
> 
> wait for 0 seconds with messages
> 
> go invisible to stack stTarget
> 
> send "doStackSetup "&splashStackName to stack appSetupStackName
> 
> end mouseUp
> 
> 
> ——The destination stack has this handler to initialize it.
> on doStackSetup originStackName
> 
> put appParams["appSetupStackName"] into thisStack
> 
> set the rect of stack thisStack to the rect of stack originStackName
> 
> wait for 0 seconds with messages
> 
> show stack thisStack
> 
> send "doCloseThisStack "&stackName to me in 1 second
> 
> set the lockscreen to false
> 
> end doStackSetup
> 
> 
> on doCloseThisStack
> 
> breakpoint
> 
> put "Start Earth Explorer" into stackName
> 
> set the destroyStack of stack stackName to true
> 
> close stack stackName
> 
> end doCloseThisStack
> 
> 
> 
> In the destination stack named appSetupStackName, I run code that accesses a 
> database for configuration parameters. I don’t want the user to be required 
> to click a button to initiate this process. I start it on an opencard handler.
> 
> I’ve fiddled with this way more time than I should have to. Does anyone have 
> a nicely visual way of seamlessly going to another stack without screen 
> flashing, windows jumping around, etc. I want the destination stack to just 
> open in the same rect as the source stack.
> 
> I know that the opencard handler runs before the above mouseup code finishes. 
> 
> Thanks for any advice.
> Bill
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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

RE: App rejected because of camera permission modal alert!

2018-03-16 Thread Ralph DiMola via use-livecode
No problem William. Congrats!

 

I filed a QCC  report on this http://quality.livecode.com/show_bug.cgi?id=21083

 

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: William de Smet [mailto:williamdes...@gmail.com] 
Sent: Friday, March 16, 2018 5:35 AM
To: Ralph DiMola
Subject: Re: App rejected because of camera permission modal alert!

 

Thanks Ralph!

 

This worked. Apple approved my app is now available in the App Store:

https://itunes.apple.com/us/app/fotopuzzel-voor-ipad/id1358293879?l=nl

 

 

greetings,

 

William

 

 

 

2018-03-13 22:07 GMT+01:00 Ralph DiMola :

Hey William,

 

OK, I see the problem. This will require you to modify the plist files in the 
LiveCode app bundle.

 

1) Go to the Applications folder

2) Right click on the LC app version 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) Change the  for the key  to be more 
specific to your application. You might be able to make this generic enough for 
all your applications. If not then you will have to change this for each app 
before submitting it for review.

11) repeat 8-10 for setting.plist in each of the device/simulator folders.

12) Fire up LC and make an iOS app and submit it.

 

I would suggest you submit a QCC Bug Report. This looks like it could be a 
problem for any app that uses the camera.

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: William de Smet [mailto:williamdes...@gmail.com] 
Sent: Tuesday, March 13, 2018 4:41 PM
To: rdim...@evergreeninfo.net
Subject: Re: App rejected because of camera permission modal alert!

 

Hi Ralph,

 

Yes I did.

It is just a standard modal alert that shows.

 

Apple says:

We noticed that your app requests the user’s consent to access their camera but 
does not clarify the use of this feature in the permission modal alert.

 

https://developer.apple.com/library/content/qa/qa1937/_index.html

 

 

 




groeten,

 

William

 

 

 

2018-03-13 21:36 GMT+01:00 Ralph DiMola :

William,

Did you tic the various Camera options(as needed) to "Required" in the iOS 
standalone setting?

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 de Smet via use-livecode
Sent: Tuesday, March 13, 2018 4:22 PM
To: How to use LiveCode
Cc: William de Smet
Subject: App rejected because of camera permission modal alert!

Hi there,

My new app 'FotoPuzzel' is rejected by Apple because the app needs camera 
permission.
I did not clarify the use of this feature in the modal alert?
How do I change this?
Can I change this?

I just use MobilePickPhoto "camera"

The standard modal alert says:
FotoPuzzel would like to access the camera This application requires access to 
the device's camera.


Apple's response:
-
We noticed that your app requests the user’s consent to access their camera but 
does not clarify the use of this feature in the permission modal alert.
Please see attached screenshots for details.
Next Steps
To resolve this issue, please revise the permission modal alert to specify why 
the app is requesting access to the user's camera.


Any advice on this?

LC 8.1.8


greetings,

William

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

 

 

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

RE: Strange problem with tsNet external on Windows

2018-03-15 Thread Ralph DiMola via use-livecode
Graham,

Also check tsNet, it's way down at the bottom of the inclusions pane. Or you 
can disable tsNet and use only libURL.

Here are a couple of handlers to find out if is tsNet is enabled. Below that is 
how to explicitly enable/disable tsNet.


function GetNetworkType
   local tLibUrlDriver
   
   try
  put the behavior of stack"revLibUrl" into tLibUrlDriver
   end try
   if tLibUrlDriver is empty then
  return "Sockets"
   else
  return "tsNet"
   end if
   
end GetNetworkType

command NetworkType
   if GetNetworkType() = "Sockets" then
  answer"tsNet is disabled"
   else
  answer "tsNet in use"&cr&"Version==>"& tsNetVersion()
   end if
end NetworkType


To unload:

dispatch "revUnloadLibrary" to stack "tsNetLibUrl"

To load again:

dispatch "revLoadLibrary" to stack "tsNetLibUrl"


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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Graham Samuel via use-livecode
Sent: Thursday, March 15, 2018 11:47 AM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Strange problem with tsNet external on Windows

I have a LiveCode standalone running as PC app (a .exe file, plus some other 
files which are needed when it runs). If I simply run the original standalone 
on Windows 7 (OK, running under Parallels on a Mac), it all just works. If I 
create an installer for the program and its dependent files using Inno Setup, 
the whole thing appears to run smoothly, but when I run the installed version 
of the app (which is exactly the same size as the original standalone, as 
expected), I get an error from the LC engine “Initialization Error: Failed to 
load external: tsNet”. I suppose I have somehow failed to include tsNet, but it 
was specifically included in the standalone (as “internet”) and anyway the 
original standalone works.

Should I somehow be giving my installed app a path to the LC externals? I’m 
confused.

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


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

RE: OT: Develop yourself?

2018-03-14 Thread Ralph DiMola via use-livecode
I thought it was a way not to send the film to the lab.

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, March 14, 2018 3:45 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: OT: Develop yourself?

I'm unsettled that it might involve all three. 

Bob S


> On Mar 14, 2018, at 11:59 , David V Glasgow via use-livecode 
>  wrote:
> 
> I’ve just examined the premium pack of LiveCode goodies for me (and you) to 
> enjoy.  Am I the only one unsettled by the feeling that “Develop yourself” on 
> merchandise sounds like it might involve steroids, exercise, or a vacuum pump?
> 
> 
> Best Wishes,
> David Glasgow

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


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

RE: iOS cached Screen Flashes after Splash Image

2018-03-14 Thread Ralph DiMola via use-livecode
Hey Colin,

Hope your well

It's still open in the background. It's not exiting on suspend. When the app is 
still open in the background there is no problems switching between apps. When 
the user swipes it off after the double press of the home button and then 
re-opens the app is when this cached page is flashed in between the splash page 
and the first card. I would think that the thumbnail you see after the double 
press of the home button would be the image that flashes. In many cases it is 
but not all, maybe 50-50 between the thumbnail and the some random card from 
the past. I was looking for an app bug until the user said that one of the 
flashed images had an answer dialog opened. If you reinstall the app it still 
happens. If you uninstall/reinstall the app it still happens. If you uninstall 
the app then re-boot the device and then reinstall it does not happen the first 
launch. Then if you swipe the app off and then reopen it's sometimes OK the 
first few launches then after 3 or so launches it's back other times it starts 
after the first time you swipe it off. The happens on Pandora and Google maps 
also on my iPad mini but they are fine on my old iPad 2.

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: Wednesday, March 14, 2018 1:28 PM
To: How to use LiveCode
Cc: Colin Holgate
Subject: Re: iOS cached Screen Flashes after Splash Image

I have seen something like you’re describing with other apps, not LiveCode 
ones. iOS 11 has a new way of doing app switching, and that uses a different 
snapshot of the apps. Are you letting your app quit on suspend, or is it still 
open in the background? I can imagine cases where someone switches apps and 
will get the last app switching image iOS 11 kept. That is bound to be 
different if the app quit on suspend.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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 cached Screen Flashes after Splash Image

2018-03-14 Thread Ralph DiMola via use-livecode
It's interesting that the user never had this problem until last week even
on apps that have not changed. I wonder if the Apple speed throttling has
anything to do with it. The user loaded some app that shows if throttling is
in effect and his speed is now reduced by .1 mhz. I wonder if this became a
problem on older devices since Apple introduced as "App Thinning/Slicing."

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Andrew Bell via use-livecode
Sent: Wednesday, March 14, 2018 12:12 PM
To: use-livecode@lists.runrev.com
Cc: and...@midwestcoastmedia.com
Subject: Re: iOS cached Screen Flashes after Splash Image

I don't have a clear answer for this, but just an observation: iPhone
5 was the last of the Apple 32bit hardware devices. That makes me think this
is an OS issue more than an LC issue.

--Andrew Bell


> I'm getting a very strange complaint from one user who has an older 
> iPhone 5 running iOS 11.2. When the app opens it briefly flashes the 
> last screen that was up before the app was closed. This happens in 
> between the splash page and the app's first card. The page flashed 
> page sometimes even has an "answer" dialog from a previous session!
> I can't replicate it on any of my 3 iOS devices. I also noticed that 
> Pandora and Google Maps does the same thing on my iPad Mini but on my 
> iPad or iPod. The user has two other non-LC apps that are doing the 
> cached flashing. All of the user's other apps except for LC apps and 
> two others don't exhibit the flashing behavior. I'm wondering if the 
> Apple throttle-back for older batteries is exposing: a problem with 
> LC(and other apps), an iOS bug or their device need a factory reset. 
> The last thing I want to do is have the user factory reset their 
> iPhone and have the same thing happen. Could this be an Apple bug for 
> testers that side load many versions of apps? This user has 
> side-loaded many versions to test. Then I had download a store version 
> of the app that never did it before and it's now happening but never 
> did before. I find it very strange that apps that never did this are 
> now acting strangely. I find very little in web searches on this 
> subject. The few hits I've seen were mainly Safari a couple of years 
> ago and a one or two non native Xcode "app building" platforms.
>
> Has anyone else ever 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


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


RE: App rejected because of camera permission modal alert!

2018-03-13 Thread Ralph DiMola via use-livecode
Hey William,

 

OK, I see the problem. This will require you to modify the plist files in the 
LiveCode app bundle.

 

1) Go to the Applications folder

2) Right click on the LC app version 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) Change the  for the key  to be more 
specific to your application. You might be able to make this generic enough for 
all your applications. If not then you will have to change this for each app 
before submitting it for review.

11) repeat 8-10 for setting.plist in each of the device/simulator folders.

12) Fire up LC and make an iOS app and submit it.

 

I would suggest you submit a QCC Bug Report. This looks like it could be a 
problem for any app that uses the camera.

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: William de Smet [mailto:williamdes...@gmail.com] 
Sent: Tuesday, March 13, 2018 4:41 PM
To: rdim...@evergreeninfo.net
Subject: Re: App rejected because of camera permission modal alert!

 

Hi Ralph,

 

Yes I did.

It is just a standard modal alert that shows.

 

Apple says:

We noticed that your app requests the user’s consent to access their camera but 
does not clarify the use of this feature in the permission modal alert.

 

https://developer.apple.com/library/content/qa/qa1937/_index.html

 

 

 




groeten,

 

William

 

 

 

2018-03-13 21:36 GMT+01:00 Ralph DiMola :

William,

Did you tic the various Camera options(as needed) to "Required" in the iOS 
standalone setting?

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 de Smet via use-livecode
Sent: Tuesday, March 13, 2018 4:22 PM
To: How to use LiveCode
Cc: William de Smet
Subject: App rejected because of camera permission modal alert!

Hi there,

My new app 'FotoPuzzel' is rejected by Apple because the app needs camera 
permission.
I did not clarify the use of this feature in the modal alert?
How do I change this?
Can I change this?

I just use MobilePickPhoto "camera"

The standard modal alert says:
FotoPuzzel would like to access the camera This application requires access to 
the device's camera.


Apple's response:
-
We noticed that your app requests the user’s consent to access their camera but 
does not clarify the use of this feature in the permission modal alert.
Please see attached screenshots for details.
Next Steps
To resolve this issue, please revise the permission modal alert to specify why 
the app is requesting access to the user's camera.


Any advice on this?

LC 8.1.8


greetings,

William

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

 

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

RE: App rejected because of camera permission modal alert!

2018-03-13 Thread Ralph DiMola via use-livecode
William,

Did you tic the various Camera options(as needed) to "Required" in the iOS 
standalone setting?

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 de Smet via use-livecode
Sent: Tuesday, March 13, 2018 4:22 PM
To: How to use LiveCode
Cc: William de Smet
Subject: App rejected because of camera permission modal alert!

Hi there,

My new app 'FotoPuzzel' is rejected by Apple because the app needs camera 
permission.
I did not clarify the use of this feature in the modal alert?
How do I change this?
Can I change this?

I just use MobilePickPhoto "camera"

The standard modal alert says:
FotoPuzzel would like to access the camera This application requires access to 
the device's camera.


Apple's response:
-
We noticed that your app requests the user’s consent to access their camera but 
does not clarify the use of this feature in the permission modal alert.
Please see attached screenshots for details.
Next Steps
To resolve this issue, please revise the permission modal alert to specify why 
the app is requesting access to the user's camera.


Any advice on this?

LC 8.1.8


greetings,

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


___
use-livecode mailing list
use-livecode@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 cached Screen Flashes after Splash Image

2018-03-13 Thread Ralph DiMola via use-livecode
Thank Brian,

 

No, It’s when the app starts again after being closed. You get the splash page, 
the cached page for .1 to 1 second and then the first card of the app is 
displayed. It’s particularly noticeable because our fist card is the same as 
the splash screen so you get splash/cached/splash. I’m getting a lot of noise 
because the vast majority of other apps don’t exhibit this behavior.

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: Brian Milby [mailto:br...@milby7.com] 
Sent: Tuesday, March 13, 2018 1:59 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: iOS cached Screen Flashes after Splash Image

 

Sounds like an OS thing. When you double tap the home, is that the screen that 
flashes? I think the OS caches the last screen for switching and throws that up 
before the splash. Apps that resume will not notice. The faster the device, the 
less likely you are to see it. At least that is my non-educated guess :)

On Tue, Mar 13, 2018 at 11:55 AM Ralph DiMola via use-livecode 
 wrote:

I'm getting a very strange complaint from one user who has an older iPhone 5 
running iOS 11.2. When the app opens it briefly flashes the last screen that 
was up before the app was closed. This happens in between the splash page and 
the app's first card. The page flashed page sometimes even has an "answer" 
dialog from a previous session! I can't replicate it on any of my 3 iOS 
devices. I also noticed that Pandora and Google Maps does the same thing on my 
iPad Mini but on my iPad or iPod. The user has two other non-LC apps that are 
doing the cached flashing. All of the user's other apps except for LC apps and 
two others don't exhibit the flashing behavior. I'm wondering if the Apple 
throttle-back for older batteries is exposing: a problem with LC(and other 
apps), an iOS bug or their device need a factory reset. The last thing I want 
to do is have the user factory reset their iPhone and have the same thing 
happen. Could this be an Apple bug for testers that side load many versions of 
apps? This user has side-loaded many versions to test. Then I had download a 
store version of the app that never did it before and it's now happening but 
never did before. I find it very strange that apps that never did this are now 
acting strangely. I find very little in web searches on this subject. The few 
hits I've seen were mainly Safari a couple of years ago and a one or two non 
native Xcode "app building" platforms.

Has anyone else ever 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

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

iOS cached Screen Flashes after Splash Image

2018-03-13 Thread Ralph DiMola via use-livecode
I'm getting a very strange complaint from one user who has an older iPhone 5 
running iOS 11.2. When the app opens it briefly flashes the last screen that 
was up before the app was closed. This happens in between the splash page and 
the app's first card. The page flashed page sometimes even has an "answer" 
dialog from a previous session! I can't replicate it on any of my 3 iOS 
devices. I also noticed that Pandora and Google Maps does the same thing on my 
iPad Mini but on my iPad or iPod. The user has two other non-LC apps that are 
doing the cached flashing. All of the user's other apps except for LC apps and 
two others don't exhibit the flashing behavior. I'm wondering if the Apple 
throttle-back for older batteries is exposing: a problem with LC(and other 
apps), an iOS bug or their device need a factory reset. The last thing I want 
to do is have the user factory reset their iPhone and have the same thing 
happen. Could this be an Apple bug for testers that side load many versions of 
apps? This user has side-loaded many versions to test. Then I had download a 
store version of the app that never did it before and it's now happening but 
never did before. I find it very strange that apps that never did this are now 
acting strangely. I find very little in web searches on this subject. The few 
hits I've seen were mainly Safari a couple of years ago and a one or two non 
native Xcode "app building" platforms.

Has anyone else ever 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: Navigation widget

2018-03-09 Thread Ralph DiMola via use-livecode
Setting it to zero was what I was what I tried it and it did nothing. What I 
was thinking of is a splash page with the navigation widget all gray and then 
you select an option and navigate to that page. After that one item would 
always be hilited.  

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: Brian Milby [mailto:br...@milby7.com] 
Sent: Friday, March 09, 2018 4:59 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: Navigation widget

 

Although that could be an interesting thing to change on Thursday in my LCG 
talk (allow a selection of “0”). Not sure if it would get accepted, but would 
make a good demo of the process.

On Fri, Mar 9, 2018 at 3:37 PM Brian Milby  wrote:

Navigation Bar should always have exactly one icon selected.

On Fri, Mar 9, 2018 at 3:26 PM Ralph DiMola via use-livecode 
 wrote:

I can't seem to figure out how to reset the hilited option back to
unhilited. None of the traditional button properties seem to work. I can
change the hilited option but not clear it.

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


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

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

Navigation widget

2018-03-09 Thread Ralph DiMola via use-livecode
I can't seem to figure out how to reset the hilited option back to
unhilited. None of the traditional button properties seem to work. I can
change the hilited option but not clear it.

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


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


RE: Standalone compile problem including more than two stack files to the mainstack

2018-03-09 Thread Ralph DiMola via use-livecode
And then Jacque fires up her time machine and saves us 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 Bob Sneidar via use-livecode
Sent: Friday, March 09, 2018 10:58 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Standalone compile problem including more than two stack files
to the mainstack

I suppose that's fine, but I usually run into the bathroom, where there is
no hope of escape, then cower in the bathtub, ensuring there's plenty of
water in it, and an electric blow dryer handy on the counter. 

Bob S


> On Mar 9, 2018, at 07:48 , Ralph DiMola via use-livecode
 wrote:
> 
> I usually panic and run into the barn with all the chain saws hanging 
> from the ceiling to hide.
> 
> Ralph DiMola


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


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


RE: Standalone compile problem including more than two stack files to the mainstack

2018-03-09 Thread Ralph DiMola via use-livecode
I usually panic and run into the barn with all the chain saws hanging from
the ceiling to hide.

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, March 09, 2018 10:40 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Standalone compile problem including more than two stack files
to the mainstack



> On Mar 8, 2018, at 13:45 , dunbarx via use-livecode
 wrote:
> 
> Jacque usually has a way out.


If she were in a horror film, she'd be the one who survives. ;-)

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: Forcing a device update

2018-03-08 Thread Ralph DiMola via use-livecode
J,

The devices refresh automatically on both my Win 10(Android) and OS X
10.12.6 Xcode 9.2 (iOS and Android). I'm using 8.1.9 GM. I tested by
plugging devices in/out/in. 

You could try this in the message box for Android. It's untested. (found it
by scratching in the IDE).

dispatch "androidDevicesChanged" to stack ("revDeployLibraryAndroid")

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, March 06, 2018 7:04 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: Forcing a device update

Is there a way to force the IDE to look for attached mobile devices without
restarting LiveCode?

Typically I have half a dozen scripts open and I'm doing multiple test
builds to a cabled phone. I edit some scripts and during that time the phone
goes into low-power mode (not asleep or locked.) When I tap it to show the
launcher again, LC has lost the device and I have to restart LC to make it
scan again.

I can use Terminal to rescan if necessary, but even after it sees the phone,
LC still doesn't.

I need a message box command to make LC "see" the device again. 
Restarting loses all my open script windows and I have to relaunch the stack
and set everything up again.

-- 
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: Slide puzzle question

2018-03-07 Thread Ralph DiMola via use-livecode
I don't know about the 9 puzzle but I suspect it's like the 15 puzzle. The
15 puzzle and Rubics Cube have parity. If the 15 is out of parity it can
never be solved. The same for Rubics Cube, if you say switch 2 edge pieces
or rotate 1 corner piece it's not solvable.

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 de Smet via use-livecode
Sent: Wednesday, March 07, 2018 9:41 AM
To: How to use LiveCode
Cc: William de Smet
Subject: Slide puzzle question

Hi there,

I am making a 9 piece slide puzzle.
How many pieces should be in the right place at start to solve the puzzle?



greetings,

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


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


RE: Internet checking?

2018-03-02 Thread Ralph DiMola via use-livecode
If the FQDN's IP is cached you will get timeouts when there is no network 
connection. A DNS cache entry is valid until TTL is exceeded. If the DNS cache 
entry is stale or not cached then you will get "unknown host" when there is no 
network connection.

I check the network availability in my mobile apps by:
1) Set the network timeout to 2 seconds.
2) Send an https request to a webpage that calls an LC server script.
3) If there is a network connection then script returns turns an LC array with 
the "Status" key value of "OK". I set the app to "Network Available".
4) If there is a timeout I set the app to "Network Not Available".
5) Set the network timeout back to the previous value.

I don't check the tsNet error to find out why the "ping" failed.
I have a timer set to check if the network is up periodically.
 
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, March 02, 2018 3:02 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Internet checking?

Yes, trying to figure out WHY the connection failed is trickier. I think you 
are right that Safari pings an IP (to exclude DNS problems) and then looks at 
the response. A ping that has no route will report something like Destination 
Unreachable as opposed to timeout. On my Apple terminal, if I ping a bogus DNS 
name, I get cannot resolve : unknown host. If I ping a bogus IP, I 
get a timeout. If I disable all network adapters I get a timeout AND sendto: No 
route to host. Windows probably does something similar. 

I suppose you could simply ping through a shell and then peruse the responses. 

Bob S


> On Mar 2, 2018, at 10:09 , Graham Samuel via use-livecode 
>  wrote:
> 
> Bob of course you’re right - in my particular case, anyway, I just want to 
> know if I can access me chosen server or not.
> 
> But one could certainly imagine programs that would want to know if they were 
> wasting their time offering their users a broader internet access - I mean 
> any program that allows the user to specify addresses (like a browser does) 
> would want more of an “is there or isn’t there?” approach. On my Mac, the 
> Apple browser Safari can announce “you are not connected to the internet”. 
> Maybe it just pings a trusted source and waits for a reasonable time for the 
> reaction.
> 
> Anyway what I noticed in my little experiment was that the reaction of the 
> script when the internet wasn’t available was very rapid (certainly less than 
> half a second), which means that just trying to get the file and then looking 
> for an error response would probably be OK for a human user, since there is 
> no prolonged wait.
> 
> As you see, I am reluctant to do anything that’s at all complicated!
> 
> Graham

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


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

RE: How to include files in an iOS-App?

2018-03-01 Thread Ralph DiMola via use-livecode
Martin,

1) Put the text file into the "Copy Files" pane of the standalone settings
2) When app start check is there is a copy in your "the documents 
folder/somepath" folder. If not then copy it from "the engine folder" to "the 
documents folder/somepath" folder.
3) Your app will access the file in the " the documents folder/somepath" folder 
and read/write at will.

"The engine folder" is where you find the files in the Copy Files pane and is 
read-only.
"The documents folder" is read/write.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
martin meili via use-livecode
Sent: Thursday, March 01, 2018 1:39 PM
To: use-livecode@lists.runrev.com
Cc: martin meili
Subject: How to include files in an iOS-App?

How can I include e.g. a textfile (let's say „MyText.txt“), when building the 
standalone application for iOS for the use from within the app (reading 
from/writing to)? 
I get my apps running on my iPad, I can read and write files, and  - if there 
is no „TheFiles“-folder -  I can create such a folder within the 
„documents-folder" by the help of the special-folderpath-function.
But how can I include such a folder  („TheFiles“{holding already existing 
different xy.txt files}) in my iOS-application (inside the documents-folder) 
when building the standalone, so that I can access these textfiles from within 
my iOS-Applcation?
Many thanks for you advising me.
Martin


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


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

RE: AcceleraterRendering - when to turn off

2018-02-20 Thread Ralph DiMola via use-livecode
S,

#1 After the Android acceleratedRendering crash was fixed I have been
leaving it on at all times and have not had any problems. I thought that
only one stack at a time on mobile so I never close them.
#2. I delete all mobile controls on close card. I delete mobile scrollers
only on resizestack. 

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: Tuesday, February 20, 2018 5:25 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: AcceleraterRendering - when to turn off

I have a heck a time with our new app on android

One stack works fine.

But we going one stack to another, (not in iOS) is a problem.

Seems to be subtle issues with one the follow (although on the surface they
seem to be same)

1) it is better to

set the acceleratedRendering of this stack to false

-- on closeCard
-- on closeStack
-- on library stack, used to close one stack and one open another

Go window did not work, as it never gets the handler that set stack to
landscape.

so it back to

go cardOrStackObject # e.g go "gems" (or this string) go card 3 of "gems"
wait 100 milliseconds with messages
close stack oStackName
wait 100 milliseconds with messages

it "wait" is android issue

2) The issue is the same with mobile controls.
When is a safe delete them?

-- on closeCard
-- on closeStack
-- on library stack, used to close one stack and one open another

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: Text Styles: Expanded, condensed

2018-02-20 Thread Ralph DiMola via use-livecode
K,

 

That's a amusing observation of font names.

 

If a MS Word doc is using the Adobe Helvetica and the next user only has a
MonoType Helvetica, then Word will substitute the MonoType font without
warning. Then if the next user has neither font, Word will substitute a
"Helvetica like" font, again without warning. A PDF created from this
document will be problematic when pre-flighted..

 

I'm planning to use LC to produce "print ready" PDFs. +100 to the mother
ship for removing LiveCode's phony font styling .

 

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

Phone: 518-636-3998 Ex:11

Cell: 518-796-9332

 

From: Keith Martin [mailto:thatke...@mac.com] 
Sent: Tuesday, February 20, 2018 12:04 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: Text Styles: Expanded, condensed

 

On 20 Feb 2018, at 16:34, Ralph DiMola wrote:

We
had many font issues over the years and I figured that the industry would
get it together.

Given that the font world calls eighteenth century font designs 'Modern' and
early/mid 19th century sans-serifs 'Grotesque', I wouldn't hold my breath...
;)

k

  _  

Keith Martin
Senior Lecturer, LCC (University of the Arts London)

  _  

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


RE: Text Styles: Expanded, condensed

2018-02-20 Thread Ralph DiMola via use-livecode
Keith +1

MS Word is the worst when it comes to this. I once spent 1/2 day trying to
figure out why a PDFed Word file had font issues. I turns out that this Word
doc was being passed around and not all users had all the fonts or faces. So
Word changed the text using an unavailable font face by "bold"ing the plain
face by fattening up the glyphs. So the kerning changed and when the doc was
PDFed Acrobat could not figure out what was going on with the fonts and did
not embed the proper fonts. The PDF would not pass pre-flight. The only
solution was to re-style the affect text with the proper face. (funny note:
After fixing the file about 3 years later we received a different file with
the same problems and after some investigation we found out it was the
"grandson" of that original problematic file)
This was a few years ago but from what I remember the are 3 ways a font can
be described: 1) the displayed font name. 2) the internal font name 3) the
font face description. This was evident by looking at the font name/faces as
presented to the user in MS word, InDesign and Windows fonts control panel
(not to mention the file names many times being cryptic at best).

I started using TT and Type 1 fonts for composition back in 1994. We
had many font issues over the years and I figured that the industry would
get it together. In 2018 there are still font naming inconsistencies between
various programs and OS platforms. When will this ever get straightened
out?

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 Martin via use-livecode
Sent: Tuesday, February 20, 2018 10:46 AM
To: How to use LiveCode
Cc: Keith Martin
Subject: Re: Text Styles: Expanded, condensed

On 17 Feb 2018, at 16:51, J. Landman Gay via use-livecode wrote:

> LC no longer manipulates text directly to produce styles, it now uses 
> the equivalent font.

And as a typographer, let me say YAY!
Distorted type hurts my soul. :(

k

---

Keith Martin
Senior Lecturer, LCC (University of the Arts London)

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


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

2018-02-09 Thread Ralph DiMola via use-livecode
"Jazz is not dead, it just smells funny"
  Frank Zappa  

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Wieder via use-livecode
Sent: Friday, February 09, 2018 7:01 PM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: [ANN] Release 8.1.9

On 02/09/2018 09:07 AM, Ralph DiMola via use-livecode wrote:

> ...\Roaming\...

Hah! I was listening to Ornette's "Rambling" when that email arrived.

-- 
  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: iOS app Error ITMS-90529 submitting to app store via Application Loader

2018-02-09 Thread Ralph DiMola via use-livecode
Panos,

Thanks! That did it. Uploaded and waiting for review.

Have a good weekend.

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: Friday, February 09, 2018 4:55 PM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: iOS app Error ITMS-90529 submitting to app store via
Application Loader

Hi Ralph,

The file you should upload should be called "application.ipa", not
"application.ipa.zip"

Try this:

1. In LC, create an iOS standalone as usual 2. Suppose the standalone is
saved in a folder called myApp, located in user's Desktop folder so you
should see something like:

Desktop/myApp/myApp.app

3. Open a terminal and navigate to Desktop folder:
"cd ~/Desktop"

4. From the terminal, rename the "myApp" folder to "Payload"
"mv myApp Payload"

5. From the terminal, zip the "Payload" folder and rename it to
"application.ipa":
"zip -r application.ipa Payload"

6. Now use Application Loader to upload the "application.ipa" file.

These are the steps I followed when testing uploading to AppStore with LC
8.1.9 RC-2 and 8.1.9, and it worked.

Keep us posted.

Panos
--



On Fri, Feb 9, 2018 at 9:51 PM, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Brain,
>
>
>
> Thanks but still no-go.
>
>
>
>
>
> Ralph DiMola
>
> IT Director
>
> Evergreen Information Services
>
> rdim...@evergreeninfo.net
>
> Phone: 518-636-3998 Ex:11
>
> Cell: 518-796-9332
>
>
>
> From: Brian Milby [mailto:br...@milby7.com]
> Sent: Friday, February 09, 2018 4:16 PM
> To: How to use LiveCode
> Cc: Ralph DiMola
> Subject: Re: iOS app Error ITMS-90529 submitting to app store via 
> Application Loader
>
>
>
> Try with 8.1.9 - I think that is a bug that was fixed.
>
> On Fri, Feb 9, 2018 at 3:00 PM Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> Here's a new one I never received before. Using 8.1.9 rc2. I made the 
> app using the distribution profile and zipped it up as usual.
> Xcode 9.2
> Application Loader 3.7
> OS X 10.12.6
>
> The upload to the app store starts and the I get this error during 
> "Verifying assets with the App Store."
>
> ERROR ITMS-90529: "Invalid package. Applications built with sdk 9.0 or 
> later must be packaged as proper IPA files."
>
> Has the zipping procedure changes with 8.1.9 rc2? I did not get this 
> with
> 8.1.9 rc1.
>
> Thanks in advance...
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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 Error ITMS-90529 submitting to app store via Application Loader

2018-02-09 Thread Ralph DiMola via use-livecode
Panos,

Hold the presses. I reorganized the folder with the icons and must have
deleted the iStore icon file. I did not get an error when building. I am
going to try again.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of panagiotis merakos via use-livecode
Sent: Friday, February 09, 2018 4:41 PM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: iOS app Error ITMS-90529 submitting to app store via
Application Loader

Hi Ralph,
Have you included an AppStore icon (1024x1024) png in the iOS standalone
settings?
Panos
-

On Feb 9, 2018 21:16, "Brian Milby via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> Try with 8.1.9 - I think that is a bug that was fixed.
> On Fri, Feb 9, 2018 at 3:00 PM Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> > Here's a new one I never received before. Using 8.1.9 rc2. I made 
> > the app using the distribution profile and zipped it up as usual.
> > Xcode 9.2
> > Application Loader 3.7
> > OS X 10.12.6
> >
> > The upload to the app store starts and the I get this error during 
> > "Verifying assets with the App Store."
> >
> > ERROR ITMS-90529: "Invalid package. Applications built with sdk 9.0 
> > or later must be packaged as proper IPA files."
> >
> > Has the zipping procedure changes with 8.1.9 rc2? I did not get this 
> > with
> > 8.1.9 rc1.
> >
> > Thanks in advance...
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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 Error ITMS-90529 submitting to app store via Application Loader

2018-02-09 Thread Ralph DiMola via use-livecode
Brain,

 

Thanks but still no-go.

 

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

Phone: 518-636-3998 Ex:11

Cell: 518-796-9332

 

From: Brian Milby [mailto:br...@milby7.com] 
Sent: Friday, February 09, 2018 4:16 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: iOS app Error ITMS-90529 submitting to app store via Application 
Loader

 

Try with 8.1.9 - I think that is a bug that was fixed.

On Fri, Feb 9, 2018 at 3:00 PM Ralph DiMola via use-livecode 
 wrote:

Here's a new one I never received before. Using 8.1.9 rc2. I made the app
using the distribution profile and zipped it up as usual.
Xcode 9.2
Application Loader 3.7
OS X 10.12.6

The upload to the app store starts and the I get this error during
"Verifying assets with the App Store."

ERROR ITMS-90529: "Invalid package. Applications built with sdk 9.0 or later
must be packaged as proper IPA files."

Has the zipping procedure changes with 8.1.9 rc2? I did not get this with
8.1.9 rc1.

Thanks in advance...

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


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

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


RE: iOS app Error ITMS-90529 submitting to app store via Application Loader

2018-02-09 Thread Ralph DiMola via use-livecode
Panos.

Yes I did. I just tried with 8.1.9gm just to make sure... Same error. I
tried sending an .ipa with a .zip extension but same error. I included all
icons and splash screens. I received no "dimension" errors when adding or LC
build errors or warnings

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: Friday, February 09, 2018 4:41 PM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: iOS app Error ITMS-90529 submitting to app store via
Application Loader

Hi Ralph,
Have you included an AppStore icon (1024x1024) png in the iOS standalone
settings?
Panos
-

On Feb 9, 2018 21:16, "Brian Milby via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> Try with 8.1.9 - I think that is a bug that was fixed.
> On Fri, Feb 9, 2018 at 3:00 PM Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> > Here's a new one I never received before. Using 8.1.9 rc2. I made 
> > the app using the distribution profile and zipped it up as usual.
> > Xcode 9.2
> > Application Loader 3.7
> > OS X 10.12.6
> >
> > The upload to the app store starts and the I get this error during 
> > "Verifying assets with the App Store."
> >
> > ERROR ITMS-90529: "Invalid package. Applications built with sdk 9.0 
> > or later must be packaged as proper IPA files."
> >
> > Has the zipping procedure changes with 8.1.9 rc2? I did not get this 
> > with
> > 8.1.9 rc1.
> >
> > Thanks in advance...
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


iOS app Error ITMS-90529 submitting to app store via Application Loader

2018-02-09 Thread Ralph DiMola via use-livecode
Here's a new one I never received before. Using 8.1.9 rc2. I made the app
using the distribution profile and zipped it up as usual.
Xcode 9.2 
Application Loader 3.7
OS X 10.12.6

The upload to the app store starts and the I get this error during
"Verifying assets with the App Store."

ERROR ITMS-90529: "Invalid package. Applications built with sdk 9.0 or later
must be packaged as proper IPA files."

Has the zipping procedure changes with 8.1.9 rc2? I did not get this with
8.1.9 rc1.

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: [ANN] Release 8.1.9

2018-02-09 Thread Ralph DiMola via use-livecode
:\Users\\AppData\Roaming\RunRev\Preferences

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Klaus major-k via use-livecode
Sent: Friday, February 09, 2018 12:00 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: [ANN] Release 8.1.9

Hi Mark,

> Am 09.02.2018 um 17:57 schrieb Mark Wieder via use-livecode
:
> 
> On 02/09/2018 07:23 AM, Klaus major-k via use-livecode wrote:
> 
>>> Could you post the link to this thread here?
>> Sure, you may need to become a forum member before you can read the
posting.
>> <http://www.livecode-blog.de/forums/topic/fehlermeldung-beim-starten/
>> > But I already told you everything he said there...
> My usual remedy in cases like this is to delete the preferences file and
start things up again.

good idea, where will he find it on Windows?

> --
> Mark Wieder
> ahsoftw...@gmail.com

Best

Klaus

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


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


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


RE: SE: restore default handlers?

2018-02-07 Thread Ralph DiMola via use-livecode
Mike,

Yes, the DBID will increment and the DB will be opened multiple time. I have
SQLite DBs open in the IDE while testing and open in MS Access via ODBC at
the same time. If both apps are reading then no problem. There is no real
good transactional record locking in SQLite. LC will throw an error if you
are  even reading the record in another program at the same time as an
update happens in LC. You can use these LC errors to do a retry for the
update.

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, February 07, 2018 1:44 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: SE: restore default handlers?

@Bob are you sure that's true?  I seem to recall being able to accidentally
reopen the db over and over without an error.  I can't remember if the dbid
increments when I do this, but I think it does.

On Wed, Feb 7, 2018 at 11:04 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Of course, sqlite DBs are single user only so any attempt to open it a 
> second time would fail. Just tossing that out there.
>
> Bob S
>
>
> > On Feb 6, 2018, at 11:30 , panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Thanks Richard. So, a guess is that for some reason LC cannot open 
> > the sqlite database that holds all the dictionary entries, thus it 
> > cannot
> fetch
> > the list of the default handlers per object. I am wondering if this 
> > is related to the other bug report you have filed, where the 
> > dictionary
> opens
> > but it is empty for you.
> >
> > Let's delete the Documentation Cache:
> >
> > 1. Quit LC 9.0.0 DP-11
> > 2. Delete folder: .runrev/documentationcache/9_0_0_dp_11_commercial/
> > 3. Open LC
> > 4. Check if the default handlers appear now.
> >
> > Best,
> > Panos
> > --
> >
> >
> >
> > On Tue, Feb 6, 2018 at 7:03 PM, Richard Gaskin via use-livecode < 
> > use-livecode@lists.runrev.com> wrote:
> >
> >> panagiotis merakos wrote:
> >>> I cannot reproduce this, tested on Ubuntu 16.04 with LC 9 DP-11.
> >>>
> >>> Could it be the case that there is a bad interaction with a Plugin?
> >>>
> >>> What happens if you try first to "put true into grevdevelopment" 
> >>> and then uncheck and recheck "Show Default handlers"?
> >>>
> >>> If something was failing silently before, this should now throw an 
> >>> error.
> >>
> >> Thanks.  Indeed it does - this is what I get pouring into the 
> >> Message
> Box:
> >>
> >>
> >> ERROR: unable to open database
> >> unable to create sqlite API database revdberr,invalid database type
> >> line: 1079
> >> handler: ideThrow
> >> script object: stack "/home/rg/.runrev/components/l 
> >> ivecodeindy-9.0.0-dp-11.x86_64/Toolset/libraries/revidelibra
> >> ry.8.livecodescript"
> >>
> >> ERROR: unable to open database
> >> unable to create sqlite API database revdberr,invalid database type
> >> line: 1079
> >> handler: ideThrow
> >> script object: stack "/home/rg/.runrev/components/l 
> >> ivecodeindy-9.0.0-dp-11.x86_64/Toolset/libraries/revidelibra
> >> ry.8.livecodescript"
> >> ERROR: unable to open database
> >> unable to create sqlite API database revdberr,invalid database type
> >> line: 1079
> >> handler: ideThrow
> >> script object: stack "/home/rg/.runrev/components/l 
> >> ivecodeindy-9.0.0-dp-11.x86_64/Toolset/libraries/revidelibra
> >> ry.8.livecodescript"
> >>
> >> ERROR: unable to open database
> >> unable to create sqlite API database revdberr,invalid database type
> >> line: 1079
> >> handler: ideThrow
> >> script object: stack "/home/rg/.runrev/components/l 
> >> ivecodeindy-9.0.0-dp-11.x86_64/Toolset/libraries/revidelibra
> >> ry.8.livecodescript"
> >> ERROR: unable to open database
> >> unable to create sqlite API database revdberr,invalid database type
> >> line: 1079
> >> handler: ideThrow
> >> script object: stack "/home/rg/.runrev/components/l 
> >> ivecodeindy-9.0.0-dp-11.x86_64/Toolset/libraries/revidelibra
> >> ry.8.livecodescript"
> >> ERROR: unable to open database
> >> unable to create sqlite API database re

RE: FormattedHeight of a field and its contents

2018-02-03 Thread Ralph DiMola via use-livecode
David,

Nice I've been wrestling with this. I am going to see how your observations 
translate into mobile. I'm going to apply your of findings to my app and see if 
I get better results than I get now. There have been a few threads in the past 
few years addressing vertically centering text in a field. None of them seem to 
address all font size cases. This 6px thingy might explain a lot! 

Thanks again for all your work.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
David Epstein via use-livecode
Sent: Friday, February 02, 2018 9:38 PM
To: use-livecode@lists.runrev.com
Cc: David Epstein
Subject: Re: FormattedHeight of a field and its contents

Thanks for the responses on this.  I used Bernd’s tool and did some more tests, 
and found some things that may be helpful to others.

While the left and right margins of a field are meant literally (a 5 pixel left 
margin leaves 5 white pixels to the left of the text), the top margin is more 
complicated, no doubt owing to the variety of textHeights that need to be 
accommodated.  For example, a margin of "0" will often clip the top of the 
text--as if "0" meant a "negative margin".

6 seems to be a magic default value for a field's top margin, which avoids 
clipping the content.  With horizontal gridlines visible, a 6 pixel buffer 
makes the top row the same height as the other rows.  And with a 6 pixel buffer 
the formattedHeight of the field will exactly match the formattedHeight of the 
field's content (although a non-zero borderwidth or a horizontal scrollbar 
changes this).

Thus--what I wondered about in my original post--with a margin less than 6 the 
formattedHeight of the field is less than the formattedHeight of the content; 
the content is in effect clipped.  At smaller textHeights this will be visible, 
while at larger textHeights only white space above the characters is clipped.

I was trying to answer two questions, and I think I'm pretty close.

1. How do I make sure that the field's contents are all visible if I set the 
field's height to the formattedHeight?  Answer: Set the top and bottom margins 
to 6. For the left and right margins, even 1 pixel should be enough to keep 
everything visible.

2. What margins will provide a symmetrical look for a text box?
A top margin of 6 doesn’t look like a 6 pixel margin; how it looks depends on 
the textHeight.  I estimate that its apparent height is one fourth of the 
effective textHeight, and I use this to size the other margins in the 
“tightMargins” handler below.
While the top margin of 6 looks good with horizontal gridlines, without them 
(and especially if you show a text baseline) it looks too small compared to the 
space between subsequent lines.  To match that larger space, in effect doubling 
the apparent top margin, add one third of the effective textHeight.  See 
“niceMargins” handler below.

Example of usage:
set the margins of fld 1 to the niceMargins of fld 1 set the height of fld 1 to 
the formattedHeight of fld 1

getProp niceMargins
   put the effective textHeight of the target into t
   put round(t*7/12) into m1
   put round(t/3) into m2
   return m1,6+m2,m1,m1
end niceMargins

getProp tightMargins
   put round(.25*the effective textHeight of the target) into m
   return m,6,m,max(6,m)
end tightMargins

Improvements to these are welcomed.

David Epstein


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


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

RE: discrepancy between official device metric and LC stack size

2018-01-31 Thread Ralph DiMola via use-livecode
Nicolas,

Does that device have "old hardware keys" soft buttons on the bottom? On
some devices this is shown if the manifest does not include some key that
says your app no longer needs the "old hardware keys". Android has been
phasing the hardware keys out. Setting this key in the manifests not an
option on the Android standalone setting. Looking at my code I see I use
"the rect of this card" to account for the soft keys but not the keyboard.
To account for the keyboard and soft "old hardware keys":

put 0 into tLeft

put 0 into tTop

put item 3 of the effective working screenrect - item 1 of the effective
working screenrect into tRight

put item 4 of the effective working screenrect - item 2 of the effective
working screenrect into tBottom

This has been working for me 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 Nicolas Cueto via use-livecode
Sent: Wednesday, January 31, 2018 6:24 PM
To: How to use LiveCode
Cc: Nicolas Cueto
Subject: discrepancy between official device metric and LC stack size

I test my mobile stacks on a Nexus 5, and, in portrait orientation, many
bottom pixels are offscreen, even though for width and height I follow
exactly the numbers given in dp at the website Device Metrics
<https://material.io/devices/> .

Why is it cut off? And how can I avoid this? Is there an LC keyword, like
"effective" or "working", that I should be including if so, how?

Thanks.

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


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


RE: Saving Changes in iOS

2018-01-29 Thread Ralph DiMola via use-livecode
The folders already exists. You can of course create sub-folders. In iOS "the 
Documents folder" is automatically backed up but "the Temporary Folder" is not. 
Apple reviewers will get upset if you put too much into the documents folder. 
You will be required to either move files to the temporary folder or mark them 
as "No Backup". Using iphoneDoNotBackupFile.

Example:

Put URL("File:"&the engine folder&slash&"MyDatabase.db") into url ("File:"&the 
documents folder&slash&"MyDatabase.db")
put revOpenDatabase("sqlite", the documents folder&slash&"MyDatabase.db"), , ,) 
into tDatabaseID

You would put MyDatabase.db in the copy file pane of the standalone settings.


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 Guay via use-livecode
Sent: Monday, January 29, 2018 12:41 PM
To: How to use LiveCode
Cc: Roger Guay
Subject: Re: Saving Changes in iOS

Hi Klaus,

So are you saying that I create a folder called 
"specialfolderpath("documents”)”, add this folder to the “Copy Files” of the 
Standalone Application Settings, and put my MainStack into it?

Thanks,
Roger

> On Jan 29, 2018, at 9:21 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> You already named it:
> the documents folder
> the temporary folder
> 
> Is equivalent to:
> specialfolderpath("documents")
> specialfolderpath("temporary")
> 
> 

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


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

RE: Saving Changes in iOS

2018-01-29 Thread Ralph DiMola via use-livecode
Roger,

On Android and iOS "the engine folder" is read only. Any files/stacks you want 
to save/modify must be moved to "the documents folder" or "the temporary 
folder" before they can be modified/saved.

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 Guay via use-livecode
Sent: Monday, January 29, 2018 10:15 AM
To: use-livecode@lists.runrev.com
Cc: Roger Guay
Subject: Saving Changes in iOS

I know I’m out to lunch again, but I notice that one cannot use the ol’ 
Launcher+MainStack method in iOS to save user changes. What’s up with that? How 
does one save user changes in iOS?

Thanks,

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


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

RE: Feature proposal: mobileActualAllowedOrientations?

2018-01-28 Thread Ralph DiMola via use-livecode
That's what I was think of...

Here's the deal in order to give any UI experience using LCS:

1) We need a property called "overideDeviceOrientationLock" (or whatever you
want to call it).
   a) if true then apps can allow any orientation regardless of the devices
settings.
   B) If false the app is locked into the device's settings.
2) If your app is open and the device is changed to lock into orientation
"A". If the app's "overideDeviceOrientationLock" is false, if the app is not
currently in orientation "A" then the screen is rotated to orientation "A"
and the standard orientationchanged and resizestack messages are sent. 
3) If the device is in orientation "A" and the LCS orientations allowed is
set to "B" and either the device is not locked in a specific orientation OR
"overideDeviceOrientationLock" is set to true then screen is rotated to
orientation "B" and the standard orientationchanged and resizestack messages
are sent.
4) Forcing an app to change orientation via LCS(using allowed orientations)
works only iPhones but not for iPads or Android. If your iPhone is in
orientation "A" and LCS changes the allowed orientation is set to "B", the
screen will rotate and the appropriate messages are sent, but like I said
not on iPads or Android.

If we implement #1 and fix #4 and LC uses rules #2 and #3, then all options
are available.


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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Saturday, January 27, 2018 11:14 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Feature proposal: mobileActualAllowedOrientations?

On January 27, 2018 6:18:34 PM Richard Gaskin via use-livecode
 wrote:

> IIRC I did once have a game on this phone, and it opened full-screen 
> in landscape regardless of my orientation lock.  Seems reasonable, 
> because as you say that app experience wouldn't make sense in portrait.

That's what I was talking about. In some cases you do want the app to force
an orientation regardless of the user lock. If LC always forces compliance
we'll just have a different problem.

Maybe we need some kind of override property.

--
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: Feature proposal: mobileActualAllowedOrientations?

2018-01-27 Thread Ralph DiMola via use-livecode
Richard,

LC apps in iOS do respect the lock. This an Android only problem.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Richard Gaskin via use-livecode
Sent: Saturday, January 27, 2018 4:00 PM
To: How to use LiveCode
Cc: Richard Gaskin
Subject: Feature proposal: mobileActualAllowedOrientations?

I have the orientation on my phone locked to portrait. I'm sure I'm not the
only person in the world who locks their orientation.

LiveCode is the only app on my phone that doesn't respect a locked
orientation, freely jiggling around as I rotate my phone.

I can lock the orientation within my app, but I shouldn't have to.

And if I did, how could I know which orientation a user has locked to?

I can't find anything in the Dictionary that suggests how to resolve this,
so I'm thinking of either of two Bugzilla submissions:

a) mobileActuallAllowedOrientations (or some more graceful name),
a proposed function which returns the actual orientations the device
is currently set to allow.

b) Bug report that LC doesn't respect the device's orientation lock.

Which do you folks feel is the better option?

--
  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: Preserving Detailed Field Content

2018-01-26 Thread Ralph DiMola via use-livecode
Roger,

The htmltext will preserve all of that.

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 Guay via use-livecode
Sent: Friday, January 26, 2018 10:56 AM
To: use-livecode@lists.runrev.com
Cc: Roger Guay
Subject: Preserving Detailed Field Content

I have a multiple line field with some lines of different color and
strikeout textStyle. If I set the custom property, the cContent, of that
field to the field itself, the textColor and TextStyle of each line is lost.
Is there a simple way to capture the contents of a field with varied
textColor and textStyle preserved?

Sorry if this sounds confusing.

Thanks very much,

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


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


RE: resizing and rescaling an object: Is this math/logic ok?

2018-01-19 Thread Ralph DiMola via use-livecode
This was my first attempt also. I found that precision errors crept in. The
first resize on the mobile device worked OK but change from portrait to
landscape a few times and the precision errors become very apparent. I
rolled my own my LC resize handler that positions controls based on the
current screen rect and their relationship to other controls. LC now offers
solutions that I have not used that others have had good success with.

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 Nicolas Cueto via use-livecode
Sent: Friday, January 19, 2018 1:34 AM
To: How to use LiveCode
Cc: Nicolas Cueto
Subject: resizing and rescaling an object: Is this math/logic ok?

Given these values...

original STACK-width is tOSW
original stack-height is tOSH

resized stack-width is tRSW
resized stack-height of stack is tRSH

original  OBJECT rect is tOOR  (i.e., left,top,right,bottom)

... and assuming I'm right that ...

ratio of stack's width change is tRSWC and equals round(tRSW / tOSW,2)

ratio of stack's height change is tRSHC and equals round(tRSH / tOSH,2)




... then how (further?) wrong am I in assuming that, if I want the original
object resized and repositioned to scale on the new stack size, the NEW RECT
of that object therefore equals ...

round(item 1 of tOOR * tRSWC,0) , round(item 2 of tOOR * tRSHC,0) ,
round(item 3 of tOOR * tRSWC,0), round(item 4 of tOOR * tRSHC,0)


Sorry if that was painful. For what it's worth, I'm embarassed posting it,
but...

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


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


RE: deploying to multiple mobile devices

2018-01-16 Thread Ralph DiMola via use-livecode
Copying the apk to the server and sending the email is a manual operation
but could be added to AirLaunch?

Just to add to what JLM said. I ran into this problem last night after a
call from some testers. Installing on the device can now be a little
trickier if the Chrome browser is installed. The Chrome download manager no
longer lets you install an apk. When my users(testers) clicked on the apk on
the Chrome Downloads page the users are now receiving this message "Cant
Open File". That is why some users may need to use a file explorer app("OS
built in" or "ES file explorer" or "Astro") in order to install the app.

At first I thought it was the apk copy to the server or the web server was
at fault until I found out it was Chrome's new security protocol.
 
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Tuesday, January 16, 2018 5:30 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: deploying to multiple mobile devices

On 1/16/18 2:22 PM, Nicolas Cueto via use-livecode wrote:
> Some of my stacks are for a classroom situation, so would like to 
> deploy to the various smartphones of  class sizes of 3 to 20 students  
> (1) preferably cable-free (Wifi?), (2) easily for the end-user, and 
> (3) as simultaneously as possible.
> 
> On Mac and for iOS, it seems the best (only?) choice is Jacqueline 
> Landman Gay's AirLaunch 
> <http://www.hyperactivesw.com/airlaunch/index.html>,
> specially since it does so from withing LC itself.
> 
> But for Android? and on Windows?

Android apps can be downloaded from anywhere if the user has turned on the
option to download apps from "unknown sources", so all you need to do is put
the apk file on a server somewhere and give out the link. The user goes to
the link in a browser on their mobile device and when they click it, the app
will install. If their device prefs do not allow installation from "unknown
sousrces", they can turn the option on temporarily in the Security section
of the Android system settings.

On iOS, no distribution is possible until you have built the app with a
profile that contains the UUID for each user device. AirLaunch, or any other
third-party solution, will prepare the app for distribution but iOS won't
install it without the correct distribution profile. Apple provides
TestFlight which overcomes some of this limitation but I have never used it
so I'm not sure exactly how it works. Someone more familiar with it would
know more.

-- 
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: Mac path to Android SDK?

2018-01-15 Thread Ralph DiMola via use-livecode
You have to download the SDK and unzip it. Get it here
==>https://developer.android.com/studio/index.html#command-tools
Scroll down to "Get just the command line tools" and download the zip file
for your platform. Unzip it.
Go to the folder and run "SDK Manager" and make sure you have download the
1) Build Tools 2) Platform Tools 3) API 27.
You also need to install JRE and JDK from the Oracle site. JDK 1.8.0 has
been working well for me.

Point LC Mobile Prefs to the folder you unzipped it to.
You should then be able to build an Android 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 Nicolas Cueto via use-livecode
Sent: Monday, January 15, 2018 6:37 PM
To: How to use LiveCode
Cc: Nicolas Cueto
Subject: Mac path to Android SDK?

To configure Mobile prefs on Mac, where might the Android SDK be?

LC states "The root directory may look something like: ...android-sdk-mac",
so I'll try searching for that in the meantime.

Thank you.

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


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


RE: Standalone Name vs Display Name

2018-01-14 Thread Ralph DiMola via use-livecode
The "Title" in stack properties is only seen in the IDE and desktop apps. On 
Mobile this is never displayed. You could leave it defaulted to the stack name. 
I usually make it nice to read and identify so the title bars in the IDE are 
easy on the eyes.

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 Guay via use-livecode
Sent: Sunday, January 14, 2018 1:54 PM
To: How to use LiveCode
Cc: Roger Guay
Subject: Re: Standalone Name vs Display Name

Well, in Stack Properties, one is given the opportunity to provide a title. 
Otherwise the title becomes the name of the stack. Are you saying this title of 
the stack is one of the subject items? If so, which one? And, would that one 
supersede any title I might have given my stack in Stack Properties? 

Thanks.

Roger

> On Jan 14, 2018, at 11:37 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> I don't think this is particularly complicated;
> 
> it is rather like the fact that you can have a standalone on a desktop 
> system called something (e.g. "XXX") but when the standalone opens it can 
> have something else on its title bar (e.g. "Oh, you expected XXX").
> 
> Richmond.
> 
> On 14/1/2018 8:24 pm, Roger Guay via use-livecode wrote:
>> I’m wrapped around the axle again!
>> 
>> In Standalone Application Settings, can someone tell me the difference 
>> between the Standalone Name under the General Tab, and the Display Name 
>> under the iOS tab?
>> 
>> Thanks very much.
>> 
>> Roger
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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

RE: Standalone Name vs Display Name

2018-01-14 Thread Ralph DiMola via use-livecode
Roger,

The "Standalone Name" is the name of the .app or the .apk(Android) files AND 
the sequential folder names created in the build folder.

The "Display Name"(iOS) and "Label"(Android) is just the the text under the app 
icon on the device.
What really makes an app unique on a device is "Internal App ID"(iOS) and 
"Identifier"(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 
Roger Guay via use-livecode
Sent: Sunday, January 14, 2018 1:25 PM
To: use-livecode@lists.runrev.com
Cc: Roger Guay
Subject: Standalone Name vs Display Name

I’m wrapped around the axle again! 

In Standalone Application Settings, can someone tell me the difference between 
the Standalone Name under the General Tab, and the Display Name under the iOS 
tab?

Thanks very much.

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


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

Creating .ipa now that iTunes has depreciated apps.

2018-01-10 Thread Ralph DiMola via use-livecode
Well I finally updated iTunes and lost the ability to create an .ipa. I made
a right click context item in finder to get one click .ipa creation back.

If anyone want this:

1) Open up the Automater
2) Create new
3) Select "Run Shell Script" from left pane
4) Change "Pass input:" to "as arguments"
5) Paste in this script

current_path=$(dirname "$1")
cd "$current_path"

for f in "$@"
do
mkdir Payload
cp -r "$f" Payload/
base=$(basename $f)
base2="${base%.*}"
zip -r "$base2".zip Payload/
mv "$base2".zip "$base2".ipa
rm -R Payload/
done


6) Save and name it "Create ipa"


That's it.

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


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


RE: Parameters for functions and commands

2018-01-04 Thread Ralph DiMola via use-livecode
T,

Non functions don't need the parens. You are actually are passing 1 parameter 
of "2,3"
When you do a "put DoStuff_2 (2,3)" LC is looking for a function DoStuff_2 that 
does not exist.
If you do "DoStuff_2 2,3" you will get the expected results.
Also if a  non function does a "Return somevar" the value of somevar with be in 
"the result"

Example:

On DoStuff3 a,b
Return A
End DoStuff3

The if you do this in another handler

Dostuff3 2,3
Answer the result

You will see "2"

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 
Thomas von Fintel via use-livecode
Sent: Thursday, January 04, 2018 4:30 PM
To: use-livecode@lists.runrev.com
Cc: Thomas von Fintel
Subject: Parameters for functions and commands

I am well aware that I shouldn't expect *everything* in Livecode to be 
intuitive, but this one bugs me:

Having a handler like

function DoStuff_1 a, b

   return a

end DoStuff_1

When you do "put DoStuff_1 (2,3)" the result is 2.

But with

on DoStuff_2 a, b

put a

end DoStuff_2

The result of DoStuff_2 (2, 3) is 2,3. "put a*b" produces an error.

This means, parameters are passed differently to command handlers and function 
handlers. Right?

Is that the way it should be and why?


Thanks for your patience

Thomas



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


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


RE: lineHeight different Mac vs. Windows

2018-01-02 Thread Ralph DiMola via use-livecode
I have 2 bug reports on this. 12176 and 13551

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: Could not encode class bundle

2017-12-22 Thread Ralph DiMola via use-livecode
OK... back to the problem at hand

J,

On Win 10 I built/installed/ran an Android app using dp11. I have JDK
1.8.0_102 installed.
On the MacBook I successfully built but did not install using JDK 1.8.0_121.

Looks like JDK 1.8.0 is the magic sauce.

Hope this helps. Have a good holiday.

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: Friday, December 22, 2017 5:34 PM
To: How to use LiveCode
Cc: Ali Lloyd
Subject: Re: Could not encode class bundle

Yes, looking at previous instances of this error I think using JDK 1.8 is
the easiest fix. I'm not sure exactly why this changed from DP 10 to 11
though...

On Fri, Dec 22, 2017 at 10:04 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Okay, it's a very long error that I couldn't copy, but the first line is:
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> com/android/dx/command/Main : Unsupported major.minor version 51.0
>
> This is followed by a dozen lines of various java errors concerning 
> lang, security, net, and misc.
>
> I'm still using the Apple-supplied java installation 1.6.0. Do I need 
> a different one?
>
> On 12/22/17 2:26 PM, Ali Lloyd via use-livecode wrote:
> > Could you put
> >
> > "answer the result"
> >
> > before
> >
> > throw "could not encode class bundle"
> >
> > in the revSaveAsAndroidStandalone script? That should give us a clue 
> > as
> to
> > what the error is.
> >
> > On Fri, Dec 22, 2017 at 7:13 PM J. Landman Gay via use-livecode < 
> > use-livecode@lists.runrev.com> wrote:
> >
> >> On 12/22/17 12:56 PM, J. Landman Gay via use-livecode wrote:
> >>> I'm unable to build an Android app in LC 9dp11, I get "Unable to 
> >>> encode class bundle." I have installed all the Android build tools 
> >>> for every version (17 through 27.0.3), and also the latest SDK 
> >>> Tools (25.2.5) and SDK Platform-tools (27.0.1). I do not use Android
Studio.
> >>>
> >>> What else do I need? Preferences point to the correct SDK folder.
> >>>
> >>
> >> BTW, I was able to build with LC 9dp10.
> >>
> >> --
> >> 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


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


RE: [ANN] Release 9.0.0 DP-11

2017-12-22 Thread Ralph DiMola via use-livecode
JOY TO THE WORLD!!

Ali/Panos, thank you.

This is why I support the LC platform and more importantly the LC team and
why I contributed to the various campaigns. What other commercial product
has the heavyweights monitoring an email list and not only chime in with
help but solve problems @11:00 pm on the Friday before a holiday?

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of panagiotis merakos via use-livecode
Sent: Friday, December 22, 2017 5:55 PM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: [ANN] Release 9.0.0 DP-11

Indeed, I had this issue on a native windows 7 machine. The issue was fixed
once I uninstalled (by running the setup.exe file) and then reinstalling.

Best,
Panos

On Dec 22, 2017 22:43, "Ali Lloyd via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> Try uninstalling and reinstalling. I believe Panos ran into this in 
> testing at some point last week but was unable to replicate
>
> On Fri, Dec 22, 2017 at 10:37 PM Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> > I was trying to replicate J Gay's Android build error I ran into a 
> > roadblock.
> >
> > I can't launch on Win 10 build 1709 on a VM. The splash hangs at 
> > "Loading Libraries". I dumped all mu Plug-Ins and nuked the prefs, 
> > disabled AV SW, ran as administrator but still no joy.
> >
> > Any ideas before a get a QCC report going?
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: [ANN] Release 9.0.0 DP-11

2017-12-22 Thread Ralph DiMola via use-livecode
I was trying to replicate J Gay's Android build error I ran into a roadblock.

I can't launch on Win 10 build 1709 on a VM. The splash hangs at "Loading 
Libraries". I dumped all mu Plug-Ins and nuked the prefs, disabled AV SW, ran 
as administrator but still no joy.

Any ideas before a get a QCC report going?

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: [ANN] Release 9.0.0 DP-11

2017-12-22 Thread Ralph DiMola via use-livecode
Wh
You folks rock!

I feel like the xmas I got my first Heathkit oscilloscope. I spent the entire 
first day building it and the next year using it. Excitement on both fronts 
just like dp11 will.

Margaret and I send our best wishes to the mother ship and all you good people 
on the list.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
panagiotis merakos via use-livecode
Sent: Friday, December 22, 2017 9:31 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: [ANN] Release 9.0.0 DP-11

Dear list members,

We are pleased to announce the release of LiveCode 9.0.0 DP-11.

Developer Preview Release
=
Warning: this is not a stable release.  Please ensure that you back up your 
stacks before testing them.


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


Release Contents

LiveCode 9.0.0 DP-11 comes with more than 40 bugfixes. Moreover, more than
90 bugfixes that were fixed in LiveCode 8.1.x and 8.2.x, are now merged into 
LiveCode 9.0.0 DP-11.

In addition, LiveCode 9.0.0 DP-11 includes several amazing new features:

- Great progress on Obj-C FFI: support for dynamic instance binding, dynamic 
property binding and delegate support is added. With LCB, you can easily wrap 
an API of your choice and use it from LiveCode Script. For example, see the 
code in http://quality.livecode.com/show_bug.cgi?id=20733,
which wraps NSUserNotification, used to send a notification.
- Target folder variant of the detailed files and the detailed folders: The
files() and folders() function now have a second optional argument, allowing 
“detailed” to be specified.
- Image Object SVG support: Include high quality SVG images at a very small 
cost on the standalone size
- HTML5 windowing: This allows tooltips, dialogs, and pop-up menus to work 
within the HTML5 engine. This also allows multiple stacks to be opened on the 
HTML5 page.
- Windows cameraControl enhancements: Support to the windows camera control for 
exposure, focus and white balance mode properties has been added.
- Data Grid 2 visual / interactive elements: datagrid edit mode swipe actions / 
drag reordering
- New LCB syntax: added support for "the architecture", "trigger all" and 
access to system error
- Android AAR support: Add support for AAR files as extension dependencies
- Android manifest merging: An android manifest merging mechanism has been 
added to the android standalone builder. This enables manifests to be included 
in extension jvm-android code folders which are then merged into the main 
manifest at build time.
- Android Toast Notification Library
- Extension code library support: Extensions can now include compiled libraries 
on which they depend.
- New Native Map Widget for Android, iOS and Mac 64 bit (Indy+)
- New Signature Widget for all platforms (Indy+)
- New SecureKey Library for Android, iOS and Mac (Business): The SecureKey 
library provides a way to encrypt data with a private key which is held 
securely on the device and tied to the application owning it.
- New Media Foundation External (Business): A new external has been implemented 
to allow transcoding and basic editing of videos on Windows.
The external supports Windows 8.1+.
- Browser Widget now works again in 64 bit Linux
- Browser Widget now works in 32 bit Linux as well :)

Last, but not least, LC 9.0.0 DP-11 includes a new version of our prebuilt 
OpenSSL library, new versions of tsNet and mergExt* externals, as well as 
support for the latest version of Xcode (9.2).

For more details on this release, read Ali's exciting blogpost:

https://livecode.com/livecode-9-the-final-preview/

Important Note: The shortcuts for Autocomplete have changed, since they were 
conflicting with existing shortcuts in some platforms. So, now:

- The F1 key (or Fn+F1 in some keyboards) is now used for presenting 
autocomplete when the user has the live autocomplete preference off. If the 
completions pane is already presented, the F1 key will launch the dictionary if 
the chosen completion is documented.
- The tab key is now used to apply the completion, or to move to the next 
placeholder.


Known issues

- The Browser widget's native layer is not shown in some Linux distros with 
Cinnamon window manager.
- DataGrid swipe (and drag-reorder) actions seem to interfere with the scroller 
on Android, requiring an additional swipe (and drag-reorder) action to make it 
work. This will be fixed in next release.
- You might not be able to run HTML5 standalones locally using the most recent 
version of Safari or Chrome (Firefox is OK). This is due to those browsers now 
prohibiting cross-origin-requests. To test out standalones locally using these 
browser, we suggest using a loc

Android Answer Box Bug When Tapping Outside of Dialog

2017-12-21 Thread Ralph DiMola via use-livecode
If you tap outside an answer box on Android the dialog disappears and "it" 
contains the right most option. "the result" is empty. I would think that the 
result(or "it") should return "Cancel". The result is empty whether you select 
an option or tap outside the dialog. This is a problem. Filing QCC

Android Nougat
LC 8.1.7 and 8.1.9 rc1

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: Versions of LC and Xcode

2017-12-20 Thread Ralph DiMola via use-livecode
LC looks for build tools from that hard coded path. It does not matter what 
Xcode entries are in the prefs this path(applications/xcode.app) is always used 
when building.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Ben Rubinstein via use-livecode
Sent: Wednesday, December 20, 2017 12:24 PM
To: Sannyasin Brahmanathaswami via use-livecode
Cc: Ben Rubinstein
Subject: Re: Versions of LC and Xcode

I've added an enhancement request
http://quality.livecode.com/show_bug.cgi?id=20779

to keep all paths requested by the user (in the shared prefs), clearly 
indicating which ones are compatible with the version of LC in use.

There's also an existing request
http://quality.livecode.com/show_bug.cgi?id=18841

to report compatible Xcodes in the Mobile Support preferences, rather than in 
external documents or web pages which may or may not be up to date.

If I was confident enough about my facts I'd like to raise a bug report about 
the behaviour which requires a copy of Xcode named "Xcode.app" (and in
/Applications?) but I'm not sure of the details. Does anyone else have a clear 
picture of this?

Many thanks,

Ben

On 20/12/2017 01:33, Sannyasin Brahmanathaswami via use-livecode wrote:
> @ Mike and Ralph
> 
> Hmmm I jumped the gun… downloaded Xcode 9.0, then woke up this morning 
> to find 8.1.9 RC1 as a Winter Solstice Candy Box from Scotland  
> (Nandri/Mahalo!)
> 
> 8.1.9 RC1 will let us use xCode 9.2 now…
> 
> but saving a specific path to a specific xCode version could be 
> useful…
> 
> 
> 
> On 12/19/17, 10:52 AM, "use-livecode on behalf of Mike Kerner via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>  Doesn't this sound like a good idea for the "Hacking the IDE series" at 
> LCG?
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

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


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

RE: Versions of LC and Xcode

2017-12-19 Thread Ralph DiMola via use-livecode
BR,

I've been a little under the weather so I can't test. I always rename/move the 
most recent version of Xcode to another folder and download the most recent one 
to the application folder and open it at least once. If you need an older 
version then temporarily rename and move a more recent version to another 
folder then download the older version and open it once in the applications 
folder using the name xcode.app. Then rename/move the older version and move 
the most recent back to applications folder and name it Xcode.app.


This does not fix the building problem with the hardcoded build path and the 
shared prefs in a LC version series. As I said the only way out of this 
rigmarole is:

1) Have unique prefs for each LC version. These unique prefs might only include 
the mobile prefs and let the other prefs be shared in a series

2) A way of indicating the Xcode version to use the build tools from.

Things just move too quick not to do these 2 fixes. We have 2 or 3 active LC 
branches being released along with OSX/iOS/Xcode versions out the ying-yang not 
to do these 2 fixes. Have either of these 2 been added to the QCC DB? If this 
could all be done in LCS I would work on it. I can't see a downside. This would 
encourage me to do more testing with DPs and RCs. I can't remember a contiguous 
30 day period in the last 18 months that my iOS prefs were stable.

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, December 18, 2017 10:51 PM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Re: Versions of LC and Xcode

Hmmm I seem to have gotten myself into the same fix as Ben.

" Now that I have updated to LC 9.0 DP-10 and LC
8.1.8 stable, nothing can build (except 8.1.6 stable - which unfortunately 
doesn't like the widgets in my stack!)."

I'm on High Sierra 10.13.6, Xcode 9.1 and LC is telling me I don't have the 
required SDK

@Ralph: I should start saving the old XCodes as you describe.

so what now? Can we build for iOS on 9 dp 10 and if so, how?

I’ll go and re-download the previous Xcode 9 from the developer portal… see it 
that helps.

BR

 

 

On 12/6/17, 11:36 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

#1 below==>The shared prefs is a problem. I see the same thing. Different 
prefs for each version would solve this. When a new version is started for the 
first time the prefs from the last version in the series(if any) should be 
copied to the new version prefs file. But the rub is... if you change some 
other prefs and go to another version the you lose the change.
#2 below==>True... I always keep the Xcode version to build from in the 
applications folder and name it xcode.app. I put the other versions into 
another folder. When I upgrade Xcode I move the most recent version into my 
"OtherXcodeVersions" folder and rename it with the version number. I then 
download and install the new version into the applications folder. Of course I 
have to go into the LC prefs and fix the Xcode versions. The hardwired path to 
/Applications/Xcode.app should come from the prefs. Radio buttons in the Xcode 
prefs to indicate==> "Build using tools in this version would solve this.
#3 below==> I agree the docs need to be updated matrix whenever a new 
Xcode/Mac/LC version is released. Even if LC does not support a particular 
combination it should be documented.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
Of Ben Rubinstein via use-livecode
Sent: Wednesday, December 06, 2017 4:16 PM
To: Use LiveCode
Cc: Ben Rubinstein
Subject: Versions of LC and Xcode

This continues to be a major source of friction.

Once again all my versions of LiveCode seem to have been reset so that they 
can't find a version of Xcode they like. (At any time I am probably switching 
between (or have simultaneously open) four version of LC: LC 6.7.11; the latest 
stable version of 8; the latest 8 RC or sometimes DP; the latest DP of 9. 
Admittedly I'm not building iOS apps from 6.7.11.)

I think that there are two main problems:

1) Because preferences are shared between versions of LiveCode. I believe 
it is the case than when switching between versions of LiveCode, if the mobile 
support preferences are opened in a version of LC which doesn't play nice with 
the selected version of Xcode, that path is deleted; so that next time the 
version of LC which was previously happy is opened, the path to Xcode is gone. 
The behaviour may be a little more subtle than this,

RE: libUrl tsNet and socketTimeoutInterval

2017-12-08 Thread Ralph DiMola via use-livecode
BR,

I async also works in iOS just fine and dandy. In My app I am getting the 
background images for cards while the user first logs in. Async allows the 
images to be downloaded in the background. This allows me to change images 
without releasing a new app without hanging the app up when I used blocking 
libURL. The implementation was so easy it was frightening. I also have 6 of 
these queued up and running at the same time!

First is a utility(NetworkType) to check the type of networking and a tsNet 
initialization handler (EISinitTSnet):


function GetNetworkType
   local tLibUrlDriver
   
   try
  put the behavior of stack"revLibUrl"into tLibUrlDriver
   end try
   if tLibUrlDriver is empty then
  return "Sockets"
   else
  return "tsNet"
   end if
   
end GetNetworkType

command NetworkType
   if GetNetworkType() = "Sockets" then
  answer"tsNet is disabled"
   else
  answer "tsNet in use"&cr&"Version==>"& tsNetVersion()
   end if
end NetworkType

command EISinitTSnet
   local tResult
   
   try
  tsNetInit
  put the result into tResult
  if tResult is not empty then
 if tResult = "tsneterr: Already initialised" then
 else
answer tResult
 end if
  else
 tsNetSetTimeouts 60, 5000, 5000, 5000, 5, 1
  end if
   catch someerror
  if IsInternalUser(true) then answer TranslateError(someerror)
   end try
end EISinitTSnet



The Get_Path function below is a function returns paths that are transparent 
between IDE and mobile. (Richard G. I got sucked into the returning the 
trailing slash before I realized it was not the best way to do it). I hacked 
out this code so there could be an error but the basic idea is here.

I call this first handler(StartBackgroundImageDownload) 12 time quickly and all 
the downloads work. The app is fully functional while the downloads are in 
progress. I use the filename as the pID. This makes things easy when the 
download completes. I have not tested timeouts yet. That's the next step, 
handling the in/out of network access/slow network speed. Standby
This is the guts of the asysnc file downloading:
---
command StartBackgroundImageDownload pImageName
   local pHeaders, tStatus
   
   put tsNetGetFile(pImageName, Get_Path("Updates")&pImageName,  \
 "https://xxx.com/someFolder/"&; \
 urlencode(pImageName), pHeaders, "DownLoadBackgroundImageComplete") 
into  tStatus-- start download
   if tStatus is not empty then
 answer tStatus
 end if
   
end StartBackgroundImageDownload

on DownLoadBackgroundImageComplete pID, pResult, pBytes, pCurlCode
   
   local tData, tHeaders
   
   --answer 
"File==>"&pID&cr&"Bytes==>"&pBytes&cr&"Result==>"&pResult&cr&"CurlCode==>"&pCurlCode
   
   
   if pCurlCode is not 0 then
  
 answer tsNetRetrError(pID)
   else
  if pResult = 404 then
 answer "File'"&&pID&&"not found==>"&pBytes&&"Result==>"&pResult
 delete file Get_Path("Updates")&pID -- delete file with 404 error in it
  else
 --answer 
"File==>"&pID&cr&"Bytes==>"&pBytes&cr&"Result==>"&pResult&cr&"CurlCode==>"&pCurlCode
 if pBytes > 2000 then -- GOOD DOWNLOAD
rename file (Get_Path("Updates")&pID) to 
(Get_Path("BackgroundImages")&pID) -- file download complete

   --answer "File'"&&pID&&"has been downloaded. Result==>"&pResult
   
 else
   answer "File'"&&pID&&"has been downloaded but is too 
small==>"&pBytes&&"Result==>"&pResult -- this was before I had the 404 check
   delete file Get_Path("Updates")&pID
 end if
  end if
   end if
   
   tsNetCloseConn pID
   
   
end DownLoadBackgroundImageComplete

-

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: Friday, December 08, 2017 2:21 PM
To: How to use LiveCode
Cc: Sannyasin Brahmanathaswami
Subj

RE: libUrl tsNet and socketTimeoutInterval

2017-12-08 Thread Ralph DiMola via use-livecode
Charles,

Thanks... FYI Async tsNet in the iOS version just worked(like magic).

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 
Charles Warwick via use-livecode
Sent: Friday, December 08, 2017 5:00 AM
To: How to use LiveCode
Cc: Charles Warwick
Subject: Re: libUrl tsNet and socketTimeoutInterval

Hi Ralph,

There currently isn’t any ability to query the existing timeout values, though 
the default values are listed in the dictionary.  I will look to add that 
ability in an upcoming release.

If the Internet library is included in your application, it will automatically 
call tsNetInit for you on startup (which is what happens in the IDE) as it uses 
tsNet if it is available (and not disabled).

If your application does not include the Internet library, but does include 
tsNet, you will need to call tsNetInit.

Regards,

Charles

> On 8 Dec 2017, at 9:55 am, Ralph DiMola via use-livecode 
>  wrote:
> 
> Ok, I just got async tsNet working in IDE and Android(Testing iOS later). I 
> works great! Hat tip to all the contributors. One question and one 
> Observation:
> 1) How do you query the current tsNet timeout settings? I have quite a few 
> places where I save the socketTimeoutInterval, set it to a new value, do 
> something and then set it back to the saved timeout. I don't see a way to 
> query this in the dictionary.
> 2) I seems the you don't need to do a "tsNetInit" in the IDE. In the IDE one 
> gets "tsneterr: Already initialized". On Android this error does not occur.
> 
> 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 Charles Warwick via use-livecode
> Sent: Thursday, December 07, 2017 4:53 PM
> To: How to use LiveCode
> Cc: Charles Warwick
> Subject: Re: libUrl tsNet and socketTimeoutInterval
> 
> Sorry for the confusion, tsNet does handle the ‘load’ function, effectively 
> using its own asynchronous functions to replicate standard libUrl behaviour.
> 
>> On 8 Dec 2017, at 6:44 am, Sannyasin Brahmanathaswami via use-livecode 
>>  wrote:
>> 
>> Thanks Charles…we have enough to go on now. 
>> 
>> well, almost
>> 
>> if I read you right "load" is not handled by TSNet (since that is libURL's 
>> own asynchronous operation?)
>> 
>> 
>> 
>> 
>> www.himalayanacademy.com <http://www.himalayanacademy.com> Get the SivaSiva 
>> App today (for iPhone and iPad)
>> https://itunes.apple.com/us/app/sivasiva/id1271260502?mt=8
>> 
>> 
>> 
>> 
>> On 12/6/17, 10:43 PM, "use-livecode on behalf of Charles Warwick via 
>> use-livecode" > use-livecode@lists.runrev.com> wrote:
>> 
>>   Sorry, divide my figures for the last parameter to tsNetSetTimeouts by 8, 
>> it has been a long day
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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

RE: libUrl tsNet and socketTimeoutInterval

2017-12-07 Thread Ralph DiMola via use-livecode
Ok, I just got async tsNet working in IDE and Android(Testing iOS later). I 
works great! Hat tip to all the contributors. One question and one Observation:
1) How do you query the current tsNet timeout settings? I have quite a few 
places where I save the socketTimeoutInterval, set it to a new value, do 
something and then set it back to the saved timeout. I don't see a way to query 
this in the dictionary.
2) I seems the you don't need to do a "tsNetInit" in the IDE. In the IDE one 
gets "tsneterr: Already initialized". On Android this error does not occur.

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 
Charles Warwick via use-livecode
Sent: Thursday, December 07, 2017 4:53 PM
To: How to use LiveCode
Cc: Charles Warwick
Subject: Re: libUrl tsNet and socketTimeoutInterval

Sorry for the confusion, tsNet does handle the ‘load’ function, effectively 
using its own asynchronous functions to replicate standard libUrl behaviour.

> On 8 Dec 2017, at 6:44 am, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Thanks Charles…we have enough to go on now. 
> 
> well, almost
> 
> if I read you right "load" is not handled by TSNet (since that is libURL's 
> own asynchronous operation?)
> 
> 
> 
> 
> www.himalayanacademy.com <http://www.himalayanacademy.com> Get the SivaSiva 
> App today (for iPhone and iPad)
> https://itunes.apple.com/us/app/sivasiva/id1271260502?mt=8
> 
> 
> 
> 
> On 12/6/17, 10:43 PM, "use-livecode on behalf of Charles Warwick via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>Sorry, divide my figures for the last parameter to tsNetSetTimeouts by 8, 
> it has been a long day
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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

RE: Versions of LC and Xcode

2017-12-06 Thread Ralph DiMola via use-livecode
#1 below==>The shared prefs is a problem. I see the same thing. Different prefs 
for each version would solve this. When a new version is started for the first 
time the prefs from the last version in the series(if any) should be copied to 
the new version prefs file. But the rub is... if you change some other prefs 
and go to another version the you lose the change.
#2 below==>True... I always keep the Xcode version to build from in the 
applications folder and name it xcode.app. I put the other versions into 
another folder. When I upgrade Xcode I move the most recent version into my 
"OtherXcodeVersions" folder and rename it with the version number. I then 
download and install the new version into the applications folder. Of course I 
have to go into the LC prefs and fix the Xcode versions. The hardwired path to 
/Applications/Xcode.app should come from the prefs. Radio buttons in the Xcode 
prefs to indicate==> "Build using tools in this version would solve this.
#3 below==> I agree the docs need to be updated matrix whenever a new 
Xcode/Mac/LC version is released. Even if LC does not support a particular 
combination it should be documented.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Ben Rubinstein via use-livecode
Sent: Wednesday, December 06, 2017 4:16 PM
To: Use LiveCode
Cc: Ben Rubinstein
Subject: Versions of LC and Xcode

This continues to be a major source of friction.

Once again all my versions of LiveCode seem to have been reset so that they 
can't find a version of Xcode they like. (At any time I am probably switching 
between (or have simultaneously open) four version of LC: LC 6.7.11; the latest 
stable version of 8; the latest 8 RC or sometimes DP; the latest DP of 9. 
Admittedly I'm not building iOS apps from 6.7.11.)

I think that there are two main problems:

1) Because preferences are shared between versions of LiveCode. I believe it is 
the case than when switching between versions of LiveCode, if the mobile 
support preferences are opened in a version of LC which doesn't play nice with 
the selected version of Xcode, that path is deleted; so that next time the 
version of LC which was previously happy is opened, the path to Xcode is gone. 
The behaviour may be a little more subtle than this, but I believe something 
along these lines is correct.

2) Something somewhere along the line of building apps seems to have a 
hardwired path to /Applications/Xcode.app; so that while I may be able to 
maintain a set of different Xcodes in separate folders or separately named, 
LiveCode won't entirely work this way.

So currently I have XCode 8.3.3 as the 'canonical' version, probably because I 
was using LiveCode 9.0 DP-9. Now that I have updated to LC 9.0 DP-10 and LC
8.1.8 stable, nothing can build (except 8.1.6 stable - which unfortunately 
doesn't like the widgets in my stack!).

3) A third problem: I now want to start using LC 8.1.8, the latest stable 
version; what version of Xcode does it use on Mas OS 10.12? According to 
https://livecode.com/resources/support/ask-a-question/ :

> LiveCode 8.1.8 RC-2 – Xcode 7.2 -Mac OS 10.10 – iOS 9.2 LiveCode 8.1.8 
> RC-2 – Xcode 8.2 -Mac OS 10.11 – iOS 10.2 LiveCode 8.1.8 RC-2 – Xcode 
> 9.1 -Mac OS 10.12.6+ – iOS 11.1
> 
> LiveCode 8.2.0 DP-1 – Xcode 7.2 -Mac OS 10.10 – iOS 9.2 LiveCode 8.2.0 
> DP-1 – Xcode 8.2 -Mac OS 10.11 – iOS 10.2 LiveCode 8.2.0 DP-1 – Xcode 
> 8.3 -Mac OS 10.12 – iOS 10.3


Some things that would make this better:

1) When the mobile support preferences were opened, if there is a path to a 
version of Xcode which this version of LC can't use, it would be better if it 
were displayed - but in grey or red or similar to show it's not usable - rather 
than being deleted, this would be better.

2) Ensure that iOS standalones can be built if there is a path to a valid 
version of Xcode, regardless of that path.

3) Change the list on https://livecode.com/resources/support/ask-a-question/
to a table, with LiveCode versions on one axis, MacOS versions on the other, 
and Xcode/iOS versions in each cell.

3b) Update the above to include the current stable 8.1.8!

I'm off for a stiff drink...

Ben

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


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

libUrl tsNet and socketTimeoutInterval

2017-11-22 Thread Ralph DiMola via use-livecode
libURL now using tsNet is a great addition to v8 but it seems to have broken my 
code without warning unless I missed this warning in the release notes. I seems 
that when tsNet was included in v8 the property socketTimeoutInterval does 
nothing when doing ==> put url("https://"&pURL&":"&pPort) into tWebData <==. 
This explains a few reported app hangs. In the IDE tried ==> dispatch 
"revUnloadLibrary" to stack "tsNetLibURL" <== but socketTimeoutInterval still 
does nothing. Ran the stack in 7.1.4 and socketTimeoutInterval works as 
expected. It's my understanding that when tsNet is unloaded libUrl falls back 
to using sockets and the socketTimeoutInterval property should be respected.

I'm using 8.1.7

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: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Ralph DiMola via use-livecode
Hey Rick,

The only difference I have seen is the ability to open password protected 
stacks.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Rick Harrison via use-livecode
Sent: Monday, November 20, 2017 11:36 AM
To: How to use LiveCode
Cc: Rick Harrison
Subject: Re: Rant on my favourite topics : LC server with a side-dish of on-rev 
:-)

Hi Ralph,

It looks to me that they did it this way because there isn’t any automatic way 
to check for a valid license the same way as the paid version of LiveCode 
works. As you say, the commercial version of LC server lacks the GUI which 
would make that auto-validation step possible.

A list of the differences between
the community version and the
commercial version would be
useful so users can see what if
anything they are missing by not
having the paid version of LC.
(It might be an incentive for those
who do not yet have a paid version.)

I have to download my new commercial
version and install it.

Thanks,

Rick

> On Nov 20, 2017, at 10:34 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> There is no license registration for LC server because there is no GUI. You 
> only have the rights to use the commercial server if you have paid version of 
> LC. This way only account holders with the proper license can download the 
> commercial 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 Rick Harrison via use-livecode
> Sent: Monday, November 20, 2017 10:28 AM
> To: How to use LiveCode
> Cc: Rick Harrison
> Subject: Re: Rant on my favourite topics : LC server with a side-dish 
> of on-rev :-)
> 
> Hi Matthias,
> 
> I have been downloading everything from the downloads page for so long that I 
> hardly ever visit my Livecode account page.  Apparently now there is a 
> separate tab just for server which has a password attached.  Why this appears 
> to be the exception to the rule of getting everything from the downloads page 
> is anyone’s guess.
> 
> Is there any difference between the
> community version and the commercial
> version of server other than the license?
> Where would I find a list of those
> differences if it exists somewhere?
> 
> Thank you for getting back to me!
> 
> Rick
> 
>> On Nov 19, 2017, at 5:05 PM, Matthias Rebbe via use-livecode 
>>  wrote:
>> 
>> Rick,
>> 
>> if you have an Indy or Business license of Livecode , then you should find 
>> the commercial license of LcServer in your Livcode account.
>> 
>> Regards,
>> 
>> Matthias
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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

RE: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-20 Thread Ralph DiMola via use-livecode
There is no license registration for LC server because there is no GUI. You 
only have the rights to use the commercial server if you have paid version of 
LC. This way only account holders with the proper license can download the 
commercial 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 
Rick Harrison via use-livecode
Sent: Monday, November 20, 2017 10:28 AM
To: How to use LiveCode
Cc: Rick Harrison
Subject: Re: Rant on my favourite topics : LC server with a side-dish of on-rev 
:-)

Hi Matthias,

I have been downloading everything from the downloads page for so long that I 
hardly ever visit my Livecode account page.  Apparently now there is a separate 
tab just for server which has a password attached.  Why this appears to be the 
exception to the rule of getting everything from the downloads page is anyone’s 
guess.

Is there any difference between the
community version and the commercial
version of server other than the license?
Where would I find a list of those
differences if it exists somewhere?

Thank you for getting back to me!

Rick

> On Nov 19, 2017, at 5:05 PM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> Rick,
> 
> if you have an Indy or Business license of Livecode , then you should find 
> the commercial license of LcServer in your Livcode account.
> 
> Regards,
> 
> Matthias

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


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

RE: Testing Bandwidth with new TSNet Functions

2017-11-15 Thread Ralph DiMola via use-livecode
Sannyasin,

This is what I'm going to try to deal with the moving in/out of services 
issues. I have not done this yet but will try in the next week or 2.

1) Talk to my web service and see if there is a reasonably fast connection.
2) If so then use asynchronous TSNet to download data in the background with a 
callback.
3) Set a timer to keep checking the latency of the web service every second or 
so until the data transfer is complete.
4) Cancel the timer in the callback when TSNet completes.
5) If at any time during the TSNet transfer the ping to the server is too slow 
then cancel the transfer and notify the user the data connection is either too 
slow or nonexistent at this time.

That's all I got....

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, November 15, 2017 12:52 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Testing Bandwidth with new TSNet Functions

Someone suggested we could test bandwidth by getting the milliseconds before 
calling a ping.txt file on our server (contains one word "true") and then check 
the milliseconds after getting the result and we might use this to determine if 
the bandwidth was sufficient for streaming content from the web server.

Some very, very big "million dollar" apps are surprisingly "brutal" about this… 
Spotify, for example, even if I am on 3G and able to get a web page on Safari 
in my iPhone 7… will simply throw up It's broken connection icon (pretty ugly, 
whole screen display) and not even bother to "say anything" to the user.

FlipBoard, the "super access to all the publications in some large universe" 
simply fails on startup if you are offline when you boot, they don't even give 
the user the courtesy of a notification that they are off line.  OK well I take 
that back.. not at least they tell you to turn off airplane mode… but if on 
super low 3G  the app just becomes non-functional stopping cold on the splash 
screen, again, not even bothering to tell the user anything.

Our SivaSiva app has a mix of content resident in the app and content we call 
dynamically, so I need a more robust/gracefulway to deal with users walking 
from 4 bars strong LTE at the coffee shop to 1 blip 3G connection as they walk 
down the street to the bus, and then back up with 5bars Wi-Fi at home or office.

Currently my ping-the-server method is to see if I can get the ping file, but 
fetching a ping.txt with only 4 chars data, tends to work, even in low 
bandwidth situations, this "fools" the app into thinking it has a connection, 
but if they try to then look at a video in the browser widget from YouTube, or 
load an image heavy page (our blog) or call some painting/artwork into an image 
object… the browser widget  just "goes white"  -- (a bug IMHO), because I 
can/do put up a loading gif on the card, but the browser widget takes over and 
"hangs on blank" waiting for the GET connection go pull enough data to start 
rendering and I have no way to tell the user their bandwidth is too low. So 
this just make the app look like it failed or is "super slow."

That's the back story: I know TS Net has some functions along these lines, 
before I dive in from ground zero and flail around this issue, can anyone share 
what they are using/doing to deal with variable bandwidth? What is working for 
you and a few snippets would be greatly appreciated.

Brahmanathaswami
www.himalayanacademy.com<http://www.himalayanacademy.com> Get the SivaSiva App 
today (for iPhone and iPad)
https://itunes.apple.com/us/app/sivasiva/id1271260502?mt=8
(Android Pending HQ's Solution to some Engineering Issues)


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


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

RE: Specialty Fonts on Mobile -- OK? or Stay Away?

2017-11-15 Thread Ralph DiMola via use-livecode
Brahmanathaswami,

I have had no problems using TT and OT fonts on both mobile platforms. I put 
them into a folder and include that folder in the "Standalone Settings" "Copy 
Files" pane. Type 1 fonts are not supported. TT and OT fonts work well. You 
have to rename the extension of OTF fonts from .otf to .ttf. OTF fonts work 
after the extension rename. Bug Report 12431

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, November 15, 2017 12:34 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Specialty Fonts on Mobile -- OK? or Stay Away?

We have a new UI/UX designer working in Sketch/Invision/Zeplin  which is a 
marvelous universe for design collaboration, and getting from her designs to a 
card layout in LC is easy enough.

But she has chosen to use a font called

KohinoorDevanagari

which not only has Devanagari script but a very lovely roman font that will 
looks lovely, sans serif, very clear and efficient in terms of chars per inch 
and legibility on tight line heights

I have never, ever use the font bundling option with Livecode, but besides this 
one I have need of some other specialty fonts/scripts for specific modules.

But this KohinoorDevanagari is everywhere, , which she has used for every 
label, button, control, text field, menu in the UI.

My question is this: for those have tried using specialty fonts on mobile. Does 
it work well for you across platforms?

My "gut" instinct is telling me to stay with native fonts, but I can't tell if 
that is just my resistance to the added complexity and additional overhead 
talking.

What say you?

"No problem go for it -- with any nice font you like."

OR

"Nope, I tried that, you don't want to go down that path because…. A,B,C…"

Brahmanathaswami
www.himalayanacademy.com<http://www.himalayanacademy.com>
Get the SivaSiva App today (for iPhone and iPad)
https://itunes.apple.com/us/app/sivasiva/id1271260502?mt=8
(Android Pending)


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


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

RE: Was I hallucinating? Totally OT, perhaps relevant

2017-11-08 Thread Ralph DiMola via use-livecode
> Richard Gaskin wrote:
>Zuckerberg keeps tape over his laptop camera.

Who doesn't? I had mine on for so long that when I was a speaker at RR Global I 
had a heck of a time getting it off and cleaning the lenses. I also cover all 
mobile devices front facing camera. I keep the back facing one open and make 
sure the device is face up when I put it down. Too many fleeting nature pics to 
keep the back one covered. And I can't imagine having a smart phone or any 
internet connect device the bedroom.

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


IOS simulator/ iPhone X and Xcode Mobile Pref Order

2017-11-08 Thread Ralph DiMola via use-livecode
iOS developers FYI:

 

If you have more than one Xcode on the Mobile Prefs make sure that the last
one in the most recent. I had Xcode 9 as the first and then added the older
ones. When the simulator fired up from LC there was no option for iPhone X.
I then closed down everything and started the simulator from Xcode 9 and the
iPhone X was there. I then started up LC and it froze when "Configuring
Simulator". This required a force quit to get out of. After I re-arranged
the Prefs so that Xcode 9 was last on the list I restarted LC, Clicked the
test button, iPhone iOS 11 started up with an older phone model. I selected
the iPhone X(now an option), shutdown the older simulator device, clicked
the test button again and the iPhone X was up and running my app.

 

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: Was I hallucinating? Totally OT, perhaps relevant

2017-11-08 Thread Ralph DiMola via use-livecode
I have 1 Mac, 1 PC with 4 VMs and 5 mobile devices minimum at my desk. One of 
them kept whistling every so often, it was like a cat call, very creepy. It was 
so quick I could never figure which device or why. Then one day I decided to 
play a word with my wife on one of those scrabble games while working and she 
responded instantly with a word and I heard that d**m whistle. Looked at all 
the devices and found that I had installed and logged into the scrabble game 
back when I first got the tablet and its notification indicator is a whistle. 
Let me tell you I had more than one conspiracy theory going for the better part 
of a year until I put 2 + 2 together the fateful day I decided to goof-off at 
work...

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, November 08, 2017 2:04 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Was I hallucinating? Totally OT, perhaps relevant

Well if it's spyware, why would they announce themselves?

Bob S


> On Nov 8, 2017, at 10:51 , prothero--- via use-livecode 
>  wrote:
> 
> Bob,
> No I don’t. But this did get me thinking about the spyware developed to 
> listen in on people’s smart phone microphone without the owner being logged 
> in. Especially by intelligence agencies, but who would be interested in a 
> retire Santa Barbara faculty member. I will get on bitdefender’s list with 
> this question.
> 
> Bill
> 
> William Prothero
> http://es.earthednet.org

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


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

RE: iPhone X or "Apple is just the most annoying company of all time"

2017-11-07 Thread Ralph DiMola via use-livecode
FYI: While doing the iPhone X screen shots for iTunes Connect I realized that 
the iPhone X is much more "portraitity" than any other device I have run 
across. I have some serious re-working to do. The iPhone X aspect ratio is 
something like 19:9 where the iPhone 8 is more-or-less a standard 16:9. Brings 
me back to when I hand filed aperture plates for half-frame-flat movie 
projection.

FYI: iOS developers.

iPhone X Dimensions
Portrait  1125px × 2436px (375pt × 812pt @3x)
Landscape 2436px × 1125px (812pt × 375pt @3x)

I compiled the safe areas in points and pixels for iPhone X:

   Portrait right side up safe area margins:
   Left: 0
   Top: 44 Pts 132 Pixels
   Right: 0
   Bottom: 34 Pts 102 Pixels
   
   Portrait upside down: NOT SUPPORTED
   
   Landscape left/right safe area margins:
   Left: 16 Pts 48 Pixels
   Top: 32 Pts 96 Pixels
   Right: 16 Pts 48 Pixels
   Bottom: 23 Pts 69 Pixels


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



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

RE: Xcode 9.1 support

2017-11-06 Thread Ralph DiMola via use-livecode
This seems to happen if you put a recent SDK(9.0) in LC 8.1.7 and then open
up LC 8.1.2. The newer unsupported SDK in the prefs will be automatically
deleted without warning by 8.1.2.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Ben Rubinstein via use-livecode
Sent: Monday, November 06, 2017 2:05 PM
To: use-livecode@lists.runrev.com
Cc: Ben Rubinstein
Subject: Re: Xcode 9.1 support

On this topic... has anyone else noticed in switching between versions of LC
that it can knock out the settings for selected Xcode?


On 06/11/2017 11:55, panagiotis merakos via use-livecode wrote:
> Hi Henry,
> 
> Xcode 9.1 support will be added in LiveCode 8.1.8 RC-1, which we plan to
> release within this week.
> 
> Best regards,
> Panos
> --
> 
> On Wed, Nov 1, 2017 at 7:03 PM, hlowe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> There has been a serious performance issue (related to OpenGL) with the
iOS
>> simulators under Xcode 9.0, to the point that they are so slow as to be
>> unusable for testing. This has been widely commented on elsewhere and is
>> not
>> an LC-related problem.
>>
>> This issue is now fixed in Xcode 9.1, released today. However LC 8.1.7
>> (stable) does not support Xcode 9.1. When I try to point LC 8.1.7 towards
>> Xcode 9.1 is declines to link, claiming "The chosen folder is not a valid
>> iOS SDK".
>>
>> Do we need an update to obtain compatibility with Xcode 9.1? If so, would
>> it
>> be possible to get this out soon as I have had to  suspend testing of iOS
>> apps under development because of the simulator issues when using Xcode
9.0
>> and 9.0.1.
>>
>> Thanks,
>>
>> Henry
>>
>> Ascriva Healthcare Informatics
>>
>> https://www.ascriva.com


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


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


RE: Xcode 9.1 support

2017-11-06 Thread Ralph DiMola via use-livecode
Panos,

 

Thanks for the update.

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

Phone: 518-636-3998 Ex:11

Cell: 518-796-9332

 

From: panagiotis merakos [mailto:merak...@gmail.com] 
Sent: Monday, November 06, 2017 11:18 AM
To: rdim...@evergreeninfo.net
Cc: How to use LiveCode
Subject: Re: Xcode 9.1 support

 

Hi Ralph,

 

>>>>Will iPhone X users be able to see and install current LC apps from the 
>>>>iStore?

Yes, I don't see a reason why not to.

 

>>>>If so what icon/screenshots will they see?

You mean in the AppStore? I guess the screenshots you would have submitted.

 

>>>>>Also when installed what icons/splash screen will the iPhone X use?

If you don't provide a splash screen for a newer screen size (in your LC app), 
then the OS presumes that your app hasn't been updated to support that screen 
resolution 

and so runs it in a compatibility mode at the largest size you do have a splash 
screen for. You can try it on the iPhone X simulator to see how your app will 
look like.

 

Hope this helps,

Panos

—

 

 

On Mon, Nov 6, 2017 at 4:08 PM, Ralph DiMola  wrote:

Panos,

 

Thanks!

Will iPhone X users be able to see and install current LC apps from the iStore? 
If so what icon/screenshots will they see? Also when installed what 
icons/splash screen will the iPhone X  use?

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: panagiotis merakos [mailto:merak...@gmail.com] 
Sent: Monday, November 06, 2017 11:02 AM
To: rdim...@evergreeninfo.net
Cc: How to use LiveCode


Subject: Re: Xcode 9.1 support

 

Hi Ralph,

 

No, unfortunately 8.1.8 RC-1 will not have support for this. I have filed an 
enhancement request so as we add that in the future.

 

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

 

Best,

Panos

--

 

On Mon, Nov 6, 2017 at 3:37 PM, Ralph DiMola  wrote:

Panos,

Thanks for the update! Will 8.1.8 RC-1 have iOS support for iPhone X icons
and splash screens?

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of panagiotis merakos via use-livecode
Sent: Monday, November 06, 2017 6:55 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: Xcode 9.1 support

Hi Henry,

Xcode 9.1 support will be added in LiveCode 8.1.8 RC-1, which we plan to
release within this week.

Best regards,
Panos
--

On Wed, Nov 1, 2017 at 7:03 PM, hlowe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> There has been a serious performance issue (related to OpenGL) with
> the iOS simulators under Xcode 9.0, to the point that they are so slow
> as to be unusable for testing. This has been widely commented on
> elsewhere and is not an LC-related problem.
>
> This issue is now fixed in Xcode 9.1, released today. However LC 8.1.7
> (stable) does not support Xcode 9.1. When I try to point LC 8.1.7
> towards Xcode 9.1 is declines to link, claiming "The chosen folder is
> not a valid iOS SDK".
>
> Do we need an update to obtain compatibility with Xcode 9.1? If so,
> would it be possible to get this out soon as I have had to  suspend
> testing of iOS apps under development because of the simulator issues
> when using Xcode 9.0 and 9.0.1.
>
> Thanks,
>
> Henry
>
> Ascriva Healthcare Informatics
>
> https://www.ascriva.com
>
>
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 

 

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

RE: Xcode 9.1 support

2017-11-06 Thread Ralph DiMola via use-livecode
Panos,

 

Thanks!

Will iPhone X users be able to see and install current LC apps from the iStore? 
If so what icon/screenshots will they see? Also when installed what 
icons/splash screen will the iPhone X  use?

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

From: panagiotis merakos [mailto:merak...@gmail.com] 
Sent: Monday, November 06, 2017 11:02 AM
To: rdim...@evergreeninfo.net
Cc: How to use LiveCode
Subject: Re: Xcode 9.1 support

 

Hi Ralph,

 

No, unfortunately 8.1.8 RC-1 will not have support for this. I have filed an 
enhancement request so as we add that in the future.

 

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

 

Best,

Panos

--

 

On Mon, Nov 6, 2017 at 3:37 PM, Ralph DiMola  wrote:

Panos,

Thanks for the update! Will 8.1.8 RC-1 have iOS support for iPhone X icons
and splash screens?

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of panagiotis merakos via use-livecode
Sent: Monday, November 06, 2017 6:55 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: Xcode 9.1 support

Hi Henry,

Xcode 9.1 support will be added in LiveCode 8.1.8 RC-1, which we plan to
release within this week.

Best regards,
Panos
--

On Wed, Nov 1, 2017 at 7:03 PM, hlowe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> There has been a serious performance issue (related to OpenGL) with
> the iOS simulators under Xcode 9.0, to the point that they are so slow
> as to be unusable for testing. This has been widely commented on
> elsewhere and is not an LC-related problem.
>
> This issue is now fixed in Xcode 9.1, released today. However LC 8.1.7
> (stable) does not support Xcode 9.1. When I try to point LC 8.1.7
> towards Xcode 9.1 is declines to link, claiming "The chosen folder is
> not a valid iOS SDK".
>
> Do we need an update to obtain compatibility with Xcode 9.1? If so,
> would it be possible to get this out soon as I have had to  suspend
> testing of iOS apps under development because of the simulator issues
> when using Xcode 9.0 and 9.0.1.
>
> Thanks,
>
> Henry
>
> Ascriva Healthcare Informatics
>
> https://www.ascriva.com
>
>
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 

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


RE: Xcode 9.1 support

2017-11-06 Thread Ralph DiMola via use-livecode
Panos,

Thanks for the update! Will 8.1.8 RC-1 have iOS support for iPhone X icons
and splash screens?

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of panagiotis merakos via use-livecode
Sent: Monday, November 06, 2017 6:55 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: Xcode 9.1 support

Hi Henry,

Xcode 9.1 support will be added in LiveCode 8.1.8 RC-1, which we plan to
release within this week.

Best regards,
Panos
--

On Wed, Nov 1, 2017 at 7:03 PM, hlowe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> There has been a serious performance issue (related to OpenGL) with 
> the iOS simulators under Xcode 9.0, to the point that they are so slow 
> as to be unusable for testing. This has been widely commented on 
> elsewhere and is not an LC-related problem.
>
> This issue is now fixed in Xcode 9.1, released today. However LC 8.1.7
> (stable) does not support Xcode 9.1. When I try to point LC 8.1.7 
> towards Xcode 9.1 is declines to link, claiming "The chosen folder is 
> not a valid iOS SDK".
>
> Do we need an update to obtain compatibility with Xcode 9.1? If so, 
> would it be possible to get this out soon as I have had to  suspend 
> testing of iOS apps under development because of the simulator issues 
> when using Xcode 9.0 and 9.0.1.
>
> Thanks,
>
> Henry
>
> Ascriva Healthcare Informatics
>
> https://www.ascriva.com
>
>
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
I wyyy over thought this. This is tested:


SELECT animals.animalnumber, animals.animalname
FROM animals
GROUP BY animals.animalname;

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


-Original Message-
From: Dr. Hawkins [mailto:doch...@gmail.com] 
Sent: Thursday, November 02, 2017 6:49 PM
To: rdim...@evergreeninfo.net
Cc: How to use LiveCode
Subject: Re: results of SPLIT when keys not unique

On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola  wrote:
> Whoops, not tested and I saw an error.
>
> Select mytable.animalname,mytable.animalnumber from (select distinct 
> mytable.animalname from mytable as mytable2) left join mytable on 
> mytable.animalname = mytable2animalname
>

You just shot *way* over my SQL :)

does that last line search for any mytable.animalname that occurs in 
mytable2.animalname?

(and if it's that easy, why in the world isn't DISTINCT ON part of SQLite???

thanks




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


RE: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
Whoops, not tested and I saw an error. 

Select mytable.animalname,mytable.animalnumber from (select distinct
mytable.animalname from mytable as mytable2) left join mytable on
mytable.animalname = mytable2animalname


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: Thursday, November 02, 2017 6:24 PM
To: How to use LiveCode
Cc: Dr. Hawkins
Subject: results of SPLIT when keys not unique

If I use split such that keys are not unique, will that have the effect of
filtering out duplicates?

For example, if I have
  dog 3
  dog 5
  cat 8

and SPLIT it, will I end up with 5 in entry dog?

More specifically, is this a defined behavior, or "just how it currently
works"

I'm trying to find a quick & clean way around SQLite's lack of "DISTINCT
ON"--I need to keep those numbered keys attached to work with, and DISTINCT
alone won't due that.

--
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: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
Would something like this work?

Select mytable.animalname,mytable.animalnumber from (select distinct
mytable.animal from mytable as mytable2) left join mytable on
mytable.animalname = mytable2animalname


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: Thursday, November 02, 2017 6:24 PM
To: How to use LiveCode
Cc: Dr. Hawkins
Subject: results of SPLIT when keys not unique

If I use split such that keys are not unique, will that have the effect of
filtering out duplicates?

For example, if I have
  dog 3
  dog 5
  cat 8

and SPLIT it, will I end up with 5 in entry dog?

More specifically, is this a defined behavior, or "just how it currently
works"

I'm trying to find a quick & clean way around SQLite's lack of "DISTINCT
ON"--I need to keep those numbered keys attached to work with, and DISTINCT
alone won't due that.

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


iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Ralph DiMola via use-livecode
1. iPhone X has rounded corners and an annoying "tab" at the top and the
fact that there is no home button. Users will swipe up from the bottom to
get back to the home page. This may cause an issue for apps with buttons
towards the bottom of the screen.
2. Apps that have an edge-to-edge design will have issues with the rounded
corners. And the "annoying tab" at the top.
3. Developers sites recommend a "Safe Zone". ("Safe Zone" Really??? I
feel I'm back to the 1960s when framing shots for NTSC CRT TVs")

LC should have a Stand Alone Settings option to use only the safe zone for
the X. There should also be a separate "show status bar" options for the X.
This will allow existing apps to render without clipping on the X. We also
need a way to specify ions and splash pages for the X. These items along
with Xcode 9.1 support is needed ASAP. 

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: Announcing our first Livecode app in the iOS App Store

2017-11-02 Thread Ralph DiMola via use-livecode
Congrats! I remember the exhilaration I had after I made it through the
Apple gauntlet.

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 hlowe via use-livecode
Sent: Wednesday, November 01, 2017 3:28 PM
To: use-revolut...@lists.runrev.com
Cc: hlowe
Subject: Announcing our first Livecode app in the iOS App Store

I am excited to announce the release of Ascriva Health Informatics' first
app for iPhone and iPad in the App Store. The app was developed using
Livecode.
Many thanks for the knowledge and support that I have received here as we
worked towards this first product release.

ICD-10-CM is the classification system used to code diagnoses and reasons
for healthcare encounters in the United States. The ICD-10-CM-2018 app
allows healthcare providers to quickly find diagnosis codes, create a
library of frequently-used codes and automatically search the Web for
related information.

To celebrate the launch of the app, it is available for FREE in the App
Store until November 8. 

https://itunes.apple.com/us/app/icd-10-cm-2018/id1296363233

Best wishes,

Henry

https://www.ascriva.com




--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

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


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


RE: Autosaving stacks corrupted on network drives

2017-10-25 Thread Ralph DiMola via use-livecode
True, The stack is not open after it's read into memory. I can see why/why
not this is done from a LC point of view. If the stack is being read in from
a web server it's not possible to lock it. If the file is local/network then
the stack could remain open and locked for write. Other processes could then
open/read it but not save it. This looks like it's been around for a long
time. Could locking stack(s) break existing projects? I vote to lock for
write any open stacks.

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, October 25, 2017 1:13 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Autosaving stacks corrupted on network drives

Okay I think I see what is going on here. A Livecode stack, though it
appears to be open in the IDE, is NOT open from the OS point of view. To
test this, create a new livecode stack, save it, then attempt to delete it
in the OS while it's still open in the IDE. If my theory is correct, you
should have no problem doing so. 

I did this and sure enough, I was able to put the file in the trash, AND
THEN EMPTY IT! But when I saved again in the IDE, it recreated the file. 

Bob S


> On Oct 25, 2017, at 09:26 , Mike Kerner via use-livecode
 wrote:
> 
> Now if what you're suggesting is that the server OS should manage the 
> access process so that you cannot have two simultaneous accesses, I 
> would agree, but my experience has been that it doesn't always work that
way.
> 
> On Wed, Oct 25, 2017 at 12:19 PM, Mike Kerner 
> 
> wrote:
> 
>> I'm saying that it is possible to access the same file from the same 
>> share from multiple machines and leave the file in an indeterminate 
>> or corrupted state, afterwards, especially if both machines accessing 
>> the share are trying to save changes to said file.  The purpose of 
>> the semaphore would be to stop the simultaneous access of the file from
multiple machines.
>> 
>> 
>> On Wed, Oct 25, 2017 at 11:54 AM, Bob Sneidar via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I thought the OS takes care of that. Are we saying that when saving 
>>> to a network share this process of creating the semaphore file does not
happen?
>>> 
>>> Bob S
>>> 
>>> 
>>>> On Oct 24, 2017, at 16:01 , Mike Kerner via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Possible solutions:
>>>> 1) Do what LibreOffice does.  Create an invisible semaphore file 
>>>> that
>>> the
>>>> stack checks for on open.  If it exists, the open is rejected and 
>>>> the
>>> stack
>>>> immediately closes.  This will keep secondary and simultaneous 
>>>> users
>>> from
>>>> getting their grubby paws into the stack before the save/sync is
>>> complete.
>>>> As part of this solution, I would suggest any quit/closeStack event 
>>>> has
>>> a
>>>> built in delay to confirm that the sync/save has completed before
>>> removing
>>>> the semaphore.  This is still tricky as you are at the mercy of the 
>>>> sync/save tool, however, if you're clever, you can use the 
>>>> service's
>>> api to
>>>> check, separately, if the sync/save is complete before you let LC 
>>>> finish closing down.
>>>> 2) Split the data out into a separate data file or better into a
>>> database
>>>> (because most databases use transactions, with greatly minimizes 
>>>> the probability of corruption).
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> 
>> --
>> On the first day, God created the heavens and the Earth On the second 
>> day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>   and did a little diving.
>> And God said, "This is good."
>> 
> 
> 
> 
> --
> On the first day, God created the heavens and the Earth On the second 
> day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is

RE: Need an Applescript Expert

2017-10-23 Thread Ralph DiMola via use-livecode
Shake some dust off from my Acrobat JavaScript days...
I think you will have to open the document. You are in a new instance of
Acrobat without an currently open document.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Bob Sneidar via use-livecode
Sent: Monday, October 23, 2017 6:57 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Need an Applescript Expert

Hi all. 

When populating forms on a Macintosh, I figured out a nice little hack which
allows me to populate a fillable form with values using AppleScript. The
trick is to tell Applescript to tell Acrobat to run a Javascript! Seems a
little convoluted but it works great. 

So I discovered recently that Applescript can run Javascript natively!
Great. I figured I would bypass applescript and pass javascript directly!
But I've run ingo a snag. Here is a quick sample of what works:

tell application "/Applications/Adobe Acrobat DC/Adobe Acrobat.app"
set theScript to "this.getField(\"technotes\").value = \"This is only a
test. \";"
do script theScript
end tell

Don't let the backslash quotes trip you up I am just escapting quote
characters. Now the Javascript version *should* look like this but it does
NOT work!

Acrobat = Application('Adobe Acrobat');
Acrobat.activate();
delay(1);

this.getField("technotes").value = "This is only a test.";

I get an error that this.getField is undefined! Wha??? Why does it work
as an applescript command then??

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: Save file dialogs...

2017-10-23 Thread Ralph DiMola via use-livecode
In Windows you can add a hook into the open/save file dialogs. You get call 
backs for various events including changing the file type. I don’t know about 
Mac/Linux but I would assume the same(but different) facilities exist. 
Accessing the windows hooks would of course require changes to the engine. In 
Windows you can also get a callback when the user clicks the save/open/cancel 
before the dialog is closed.

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Brian Milby via use-livecode
Sent: Monday, October 23, 2017 12:32 PM
To: How to use LiveCode
Cc: Brian Milby
Subject: Re: Save file dialogs...

One option would be to leave the extension off when initially presented to the 
user. Then add the correct extension before saving if the user did not manually 
add one. It is probably a little more complicated than that though... unless 
the user has their OS set to display extensions, they may not be presented with 
them normally. I’m not sure if that is detectable from within LC though.

At least on Mac this would require a change in the engine source to have 
extensions change in the dialog.
On Mon, Oct 23, 2017 at 9:54 AM Paul Dupuis via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> In our application we often provide our customers with the ability to 
> save information in a variety of formats using a code snippet such as:
>
>   put "YourData.txt" into tDefaultFileName
>   put "Save some data as:" into tPrompt
>   put the defaultFolder &slash& tDefaultFileName into tDefaultFilePath
>   put "Plain Text|txt"&cr&"Rich Text|rtf"&cr&"Microsoft Word|docx" 
> into tTypes
>   ask file tPrompt with tDefaultFilePath with type tTypes
>   put it & cr & the result into fld 1
>
> Note that "it" contains the file path and "the result" contains the 
> type selected (Plain Text, Word, RTF, whatever)
>
> It has been pointed out that most other application, on either OSX or 
> Windows, in a save file dialog, dynamically change the file extension 
> when a different type is selected from the save file popup menu. For 
> example, in the above code, if the use is initially presented with 
> "YourData.txt" and "Plain Text" as the type. If the user selected 
> "Microsoft Word" the extension presented in the dialog is not changed 
> to .docx dynamically. This does happen in most other commercial 
> applications (i.e. MS Word).
>
> You do get back the chosen type in the result, but only after the 
> dialog has been closed. You can use this to change the extension after 
> the fact, but apparently not dynamically.
>
> This behavior exists in at least 6.7.11 through 8.1.6 under both OSX 
> and Windows
>
> Questions for the community AND/OR the LiveCode mothership:
>
> 1) Is this a "bug"?
>
> 2) Is there any work around (like a secret callback message) to detect 
> when the popup type menu has been changed to dynamically update the 
> presented file name's extension?
>
> 3) Has anyone else in the community run into this and cares about it 
> or are my customers just being way to picky?
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

Mobile Device Physical Size

2017-10-20 Thread Ralph DiMola via use-livecode
On Richards talk yesterday I brought this up and I am moving it to the list.

Say you have 3 Android devices:
1) Phone sized.
2) Note sized.
3) Tablet sized.
It is entirely possible that these 3 devices have the same(or close) number
x/y of pixels.
How can I determine the physical size of mobile devices? Web browsers are
able to determine the device size or at least a phone vs. tablet. I would
like to change the screen layout based on the physical size.

I can determine a phone vs. tablet for Apple devices because of the limited
number of iOS devices.


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: 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: 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 <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


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


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


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


<    2   3   4   5   6   7   8   9   10   11   >