Corrupted Binaries?

2017-08-24 Thread Dan Friedman via use-livecode
Ok, so I uploaded my app to Apple and this is what I got back:



Dear developer,

We have discovered one or more issues with your recent delivery for 
"myAppName". To process your delivery, the following issues must be corrected:

Invalid Binary - The app contains one or more corrupted binaries. Rebuild the 
app and resubmit.

Once these issues have been corrected, you can then redeliver the corrected 
binary.

Regards,

The App Store team 

---

Anyone know what they might be talking about?   There are no files being copied 
in (“Copy Files” section of the App Settings).Is this because I checked 
“Disable ATS”?

-Dan

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

Re: webP and webM support in LiveCode

2017-08-24 Thread Monte Goulding via use-livecode
Hi Alejandro

webM would require a reasonable size refactor to players because we would need 
to wrap a custom player around the library and then decide which player to use 
depending on the movie file.

webP on the other hand looks like it could be added without any refactoring, 
however, as you can imagine there is a _lot_ of work in adding an image format. 
It could be that such work is justified by the HTML5 project to help with file 
size. Failing that and given there’s a workaround of not using the format I 
imagine it would take a business services contract or an open source 
contribution to get it done. Then there’s considerations like whether adding 
the library to the engine is comparable in size to any savings one might make 
using the format. Not an issue for a browser that displays many websites but 
for us it would make the project a net loss.

Cheers

Monte


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

Re: Site won't load

2017-08-24 Thread Colin Holgate via use-livecode
If this was iOS, Apple don’t allow loading of insecure sites. Are the ones that 
work HTTPS and the ones that don’t HTTP?



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

Re: Site won't load

2017-08-24 Thread Mike Kerner via use-livecode
from
https://developer.apple.com/library/content/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html

App Transport Security

App Transport Security (ATS) enforces best practices in the secure
connections between an app and its back end. ATS prevents accidental
disclosure, provides secure default behavior, and is easy to adopt; it is
also on by default in iOS 9 and OS X v10.11. You should adopt ATS as soon
as possible, regardless of whether you’re creating a new app or updating an
existing one.

If you’re developing a new app, you should use HTTPS exclusively. If you
have an existing app, you should use HTTPS as much as you can right now,
and create a plan for migrating the rest of your app as soon as possible.
In addition, your communication through higher-level APIs needs to be
encrypted using TLS version 1.2 with forward secrecy. If you try to make a
connection that doesn't follow this requirement, an error is thrown. If
your app needs to make a request to an insecure domain, you have to specify
this domain in your app's Info.plist file.


On Thu, Aug 24, 2017 at 5:01 PM, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> You can disable it in the standalone settings(after a warning about the
> apocalypse).
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf Of Dan Friedman via use-livecode
> Sent: Thursday, August 24, 2017 5:01 PM
> To: use-livecode@lists.runrev.com
> Cc: Dan Friedman
> Subject: Re: Site won't load
>
> Monte,
>
> Thank you for the reply!   That works for https://www.livecode.com, but
> not for other sites – including my own!   What is “ATS”?   Are you
> suggesting that LC can only load https sites?
>
> -Dan
>
>
> Try changing to https because... ATS.
>
> > On 25 Aug 2017, at 6:39 am, Dan Friedman via use-livecode  at lists.runrev.com>
> wrote:
> >
> > I’m perplexed!   What could cause a site to not load in a mobile native
> browser? (It fails in the browser widget too).  If I load “google.com”,
> it loads.  If I load “livecode.com” it dosent.  It works in the IDE, but
> not in the simulator or actual device.  It also works on the simulator and
> actual device in Safari.
> >
> > mobileControlSet "webPage",”url”,Error! Hyperlink reference not valid.<
> http://www.google.com%E2%80%9D>   //loads fine
> >
> > mobileControlSet "webPage",”url”,Error! Hyperlink reference not valid.<
> http://www.livecode.com%E2%80%9D>   //fails!  Nothing happens.   Also,
> the ‘result’ is empty.
> >
> > Any thoughts?
> >
> > -Dan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

RE: Site won't load

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

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


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

Monte,

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

-Dan


Try changing to https because... ATS.

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

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


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

Re: Site won't load

2017-08-24 Thread Dan Friedman via use-livecode
Monte,

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

-Dan


Try changing to https because... ATS.

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

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

Re: Site won't load

2017-08-24 Thread Monte Goulding via use-livecode
Try changing to https because... ATS.

> On 25 Aug 2017, at 6:39 am, Dan Friedman via use-livecode 
>  wrote:
> 
> I’m perplexed!   What could cause a site to not load in a mobile native 
> browser? (It fails in the browser widget too).  If I load “google.com”, it 
> loads.  If I load “livecode.com” it dosent.  It works in the IDE, but not in 
> the simulator or actual device.  It also works on the simulator and actual 
> device in Safari.
> 
> mobileControlSet "webPage",”url”,http://www.google.com”   //loads fine
> 
> mobileControlSet "webPage",”url”,http://www.livecode.com”   //fails!  Nothing 
> happens.   Also, the ‘result’ is empty.
> 
> Any thoughts?
> 
> -Dan
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Site won't load

2017-08-24 Thread Dan Friedman via use-livecode
I’m perplexed!   What could cause a site to not load in a mobile native 
browser? (It fails in the browser widget too).  If I load “google.com”, it 
loads.  If I load “livecode.com” it dosent.  It works in the IDE, but not in 
the simulator or actual device.  It also works on the simulator and actual 
device in Safari.

mobileControlSet "webPage",”url”,http://www.google.com”   //loads fine

mobileControlSet "webPage",”url”,http://www.livecode.com”   //fails!  Nothing 
happens.   Also, the ‘result’ is empty.

Any thoughts?

-Dan

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

Re: What's Happening with TactileMedia?

2017-08-24 Thread J. Landman Gay via use-livecode

On 8/24/17 3:10 PM, Mike Kerner via use-livecode wrote:

And I'm guessing that we all just caught the DNS changeover - earlier, if I
went to tactilemedia.com, it came back empty, but now it redirects
correctly.


If he's on DreamHost (and I think he may be) they had a DDoS attack that 
lasted a couple of hours. One of my client's site was unreachable right 
before a big demo was about to begin. Figures.


They're pretty much back online now.

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


Re: Browser widget android local file problem

2017-08-24 Thread J. Landman Gay via use-livecode

On 8/24/17 8:29 AM, Alan via use-livecode wrote:

Any ideas why there's a difference between the resources and documents 
specialFolderPaths?

Why does the "documents" specialFolderPath here start with/data/data/   and the 
resources one start with/data/app/   ??


Like on a desktop machine, the folders are located in different places 
in the file hierarchy. These are actually virtual folders; they don't 
really exist since the whole thing is done in memory.


If you aren't able to get results from the documents folder, I'd have 
the script check first to make sure the file is really there.


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


Re: Search Values of Array in "One Go"

2017-08-24 Thread Bob Sneidar via use-livecode
This will work with any array. It recursively calls itself as it encounters 
arrays within arrays. I agree with Richard that if all you want is one shot at 
an array to find the element(s) you are looking for, then this may (or may not) 
be a cleaner approach, but I think if you are taking multiple passes at 
finding/filtering with an array, this will at least get you there. If filtering 
with multiple passes, remember to put the text of the array in another variable 
 as filter *replaces* the contents of the source variable with the results. 

Here is the function. Thinking about it, I suppose you could modify this to 
include a filter parameter so that only the keys matching the filter would be 
returned. 

Bob S


function altPrintKeys @pArray, theKeyList
put numtochar(11) into vertTab
put numtochar(30) into altCr
put the keys of pArray into theKeys
sort theKeys numeric

repeat FOR each line theKey in theKeys
put "[" & theKey & "] " after theKeyList
if theKey is not a number then
replace "[" & theKey & "]" WITH "[" & quote & theKey & quote & "]" 
in theKeyList
end if
if pArray[theKey] is an array then
put pArray[theKey] into theTempArray
put altPrintKeys(theTempArray, theKeyList, pFullData) after theText
put empty into the last word of theKeyList
delete the last char of theKeyList
put cr into the last char of theText
else
put "pArray " & the last word of theKeyList into theKeyName
-- put "put " & theKeyName & " into theValue" into theCommand
-- do theCommand
put value(theKeyName) into theValue
replace tab WITH vertTab in theValue
replace return WITH altCr in theValue
put theKeyList & tab & theValue & comma after theText
put empty into the last word of theKeyList
delete the last char of theKeyList
end if
end repeat

return theText
end altPrintKeys

> On Aug 24, 2017, at 12:14 , Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> what about a 2 diminsional array


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


Re: What's Happening with TactileMedia?

2017-08-24 Thread Mike Kerner via use-livecode
And I'm guessing that we all just caught the DNS changeover - earlier, if I
went to tactilemedia.com, it came back empty, but now it redirects
correctly.

On Thu, Aug 24, 2017 at 4:08 PM, Mike Kerner 
wrote:

> There are a bunch of us that keep bugging Scott about doing two things:
> 1) OSS'ing tmc (but the source is unlocked, so if you pay or it, you get
> the source, anyway, and it's pretty easy to read) or
> 2) Making tmc3.  The problem with this is that until components and
> widgets settle down, there is a good chance that any work done on them will
> have to be redone.
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What's Happening with TactileMedia?

2017-08-24 Thread Mike Kerner via use-livecode
There are a bunch of us that keep bugging Scott about doing two things:
1) OSS'ing tmc (but the source is unlocked, so if you pay or it, you get
the source, anyway, and it's pretty easy to read) or
2) Making tmc3.  The problem with this is that until components and widgets
settle down, there is a good chance that any work done on them will have to
be redone.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Search Values of Array in "One Go"

2017-08-24 Thread Richard Gaskin via use-livecode

Bob Sneidar wrote:

> I suppose thinking about it you could arrayencode an array then do a
> search on it

You probably don't want to do that.  I've given a lot of thought to 
methods of indexing large LSON files on disk, and I can find no method 
anywhere near as practical as working with them in their native array 
structure, given their linear, non-indexed LSON format.


Besides, in order to serialize an LC array it needs to be small enough 
to fit into RAM to begin with, so the one thing we know about all LSON 
files is that they fit into RAM nicely. :)


It's been a while since Mark Waddingham generously provided some notes 
in the LSON format (for the older format, which has changed since the 
introduction of Unicode in v7), but IIRC it was roughly:


0x05 -- one-bye header indicating that what follows is an array (now 
0x06 in v7 and later)

  
  NULL <4-byte data length indicator>

There is a different op-code for numbers than for strings (IIRC 0x02 for 
numbers), allowing numbers to use a more compact binary form.


I'm guessing that in addition to the new op-code indicating an array 
type, the former NULL separator between element name and length UINT4 
has been replaced with a preceding length byte, since of course NULLs 
can be part of the Unicode string of the element name.


Nice tidy format, well suited for disk storage and network transfer, but 
looking for things requires linear search in LSON, whereas the 
de-serialized native array form takes advantage of the super-quick 
bucket hash to find a given key.


Much as XQuery works on an in-memory, already-parsed form of XML, 
searching associative arrays in memory will be the way to go.


So looping is both faster to execute and easier to script in array form.

The biggest challenges would be parsing the query expression, and 
generalizing evaluation within the loop(s) to handle the range of query 
options.



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


Re: What's Happening with TactileMedia?

2017-08-24 Thread Roger Guay via use-livecode
Great Idea!!

Roger


> On Aug 24, 2017, at 1:35 PM, Skip Kimpel via use-livecode 
>  wrote:
> 
> I can only dream that they would bring Scott into the folds of the LiveCode
> and make his amazing visual interface components part of the base package.
> It would be win/win for everybody!
> 

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


Re: What's Happening with TactileMedia?

2017-08-24 Thread Skip Kimpel via use-livecode
I can only dream that they would bring Scott into the folds of the LiveCode
and make his amazing visual interface components part of the base package.
It would be win/win for everybody!

SKIP

On Thu, Aug 24, 2017 at 3:30 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sannyasin Brahmanathaswami wrote:
>
> > Scott's web site is offline.
>
> Raney, Rossi, McDonald, or someone else?
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What's Happening with TactileMedia?

2017-08-24 Thread Richard Gaskin via use-livecode

I just wrote:

Sannyasin Brahmanathaswami wrote:

 > Scott's web site is offline.

Raney, Rossi, McDonald, or someone else?


D'oh! Apologies: of course the subject line makes it clear.

FWIW tactilemedia.com seems to work for me with deep links, but going to 
the domain by itself redirects to scottrossi.design


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


Re: Native Mobile Radio Buttons - Focus on Entry Field on Mobile

2017-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
@ Bob  

yes that should work, but I'm using AGdbase lib and it defaults to AND has he 
is off to the annual Brazil JS Party till Wednesday… 

so I ended up giving the user discreet options, which I think is actually 
better.

@ Mike

TMControls2

I don't see this anywhere now…Scott has something that is iOS only on his new 
site… but we need for Android also.

Wow, only 14 extensions at the LC  "store"  

 

On 8/24/17, 5:06 AM, "use-livecode on behalf of Bob Sneidar via use-livecode" 
 wrote:

column1 LIKE '%value1%' OR column2 LIKE '%value2%' OR column3 LIKE 
'%value3%' didn't work for you??

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

Re: What's Happening with TactileMedia?

2017-08-24 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:

> Scott's web site is offline.

Raney, Rossi, McDonald, or someone else?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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


Re: What's Happening with TactileMedia?

2017-08-24 Thread Matthias Rebbe via use-livecode
It seems he just redirected the 1st page. The forum is still available at 
http://www.tactilemedia.com/forums/categories/tmcontrol-dev 


Matthias Rebbe
+49 5741 31
‌matthiasrebbe.eu ‌

> Am 24.08.2017 um 21:15 schrieb Sannyasin Brahmanathaswami via use-livecode 
> >:
> 
> OK great.. found it.
> 
> but I guess we get  his TMControls2 on the LC site.
> 
> 
> 
> 
> On 8/24/17, 9:00 AM, "use-livecode on behalf of Matthias Rebbe via 
> use-livecode"   on behalf of 
> use-livecode@lists.runrev.com > wrote:
> 
>Seems he changed his domain name
>tactilemedia.com   > redirects to http://scottrossi.design/index.html 
>   > without problem here
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Re: Sending a message to users that floats above everything

2017-08-24 Thread Richard Gaskin via use-livecode

J. Landman Gay wrote:

> My main point was that intrusive answer dialogs aren't appropriate for
> any OS now, and no mobile platform uses them. There are no native
> substitutes.

I see. Thanks.  I was thinking of Answer as serving two purposes:

a) Immediate notification, often requiring confirmation or other decision

b) Picker for list of short-string options

Use case a) is probably best handled in toasts, but maybe only in some 
cases.  Sometimes a user really needs to know something, to the point 
that it's worth stopping the workflow to require confirmation.


Case b) is of course more appropriately handled with mobile pick lists, 
though it sort of begs the question why the native pick list isn't used 
for such cases.


I suppose there's no way for the engine to determine whether a given 
call to the answer command is case a) or b), so maybe the generic dialog 
isn't a completely useless thing...


BUT...

...since the alternative for use b) is something that can't be used at 
all in the IDE or any desktop app at all, it requires us to write 
forking code to handle it.


Another tediously non-xTalk way of working


> The equivalent for Android is in the Android object library I made
> which is now available for anyone who attended my LC Global session.

For those who didn't, what is it and where it is?

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


Re: What's Happening with TactileMedia?

2017-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
OK great.. found it.

but I guess we get  his TMControls2 on the LC site.


 

On 8/24/17, 9:00 AM, "use-livecode on behalf of Matthias Rebbe via 
use-livecode"  wrote:

Seems he changed his domain name
tactilemedia.com  redirects to 
http://scottrossi.design/index.html  
without problem here



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


Re: Search Values of Array in "One Go"

2017-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
Bob: fascinating

[1] ["addr2"]   ,[1] ["smtppassword"]   none,[1] ["itemail"],[1] 
["contactphone"]   661-257-1177,[1] ["contactonsite"]  false, etc. 

what about a 2 diminsional array



You can see from this format that you can convert to lines and then you can 
filter the lines by key or by value. If you want by key you could filter by 
quote & key & quote. Otherwise for values filter by tab & value. 

The downside would be working with really large arrays because of course 
this loops through every array element to produce a textual representation of 
the array. Still, it's something if you already have an array for one reason or 
another, and you want to search/filter the array for keys or values.

BR: well I am now going back to the dbase, because it was so easy just to pass 
a new query array (name value pairs for the columns to look up) but on android 
the dBase lib and look up is slow on Android.  I wonder if doing something like 
youa re doing with the array that is already in memory would be faster.

I will have to figure out exactly what you are doing first… can you post the 
full functions?

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

Re: Search Values of Array in "One Go"

2017-08-24 Thread Bob Sneidar via use-livecode
I've partially deciphered it. I created a tab delimited table of each 
non-printing character followed by the text between that and the next 
non-printing character. Here is a sample:

12  contactphone
8   
0   
12  661-257-1177
0   
13  contactonsite
8   
0   
5   false
0   
12  contactemail
7   
0   
6   itname
7   
0   

The 12 before the contactphone and the 5 before the false are clearly the 
length of the value. 0 is some kind of delimiter. 8 following contactphone and 
contactonsite appears to mean "what follows is a value" (also preceded by a 
length) and 7 means "empty". 

What is clear before going any further is that a key cannot be discerned from 
this format. At least not very easily. 

Now I wrote a function years ago similar to printKeys() but specifically 
designed so that filter could be used on the result. It produces a comma 
delimited list, each item of which is a tab separated value of the array key 
and the value. It looks like this:

[1] ["addr2"]   ,[1] ["smtppassword"]   none,[1] ["itemail"],[1] 
["contactphone"]   661-257-1177,[1] ["contactonsite"]  false, etc. 

You can see from this format that you can convert to lines and then you can 
filter the lines by key or by value. If you want by key you could filter by 
quote & key & quote. Otherwise for values filter by tab & value. 

The downside would be working with really large arrays because of course this 
loops through every array element to produce a textual representation of the 
array. Still, it's something if you already have an array for one reason or 
another, and you want to search/filter the array for keys or values. 

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


Re: What's Happening with TactileMedia?

2017-08-24 Thread Matthias Rebbe via use-livecode
Seems he changed his domain name
tactilemedia.com  redirects to 
http://scottrossi.design/index.html  
without problem here

Matthias Rebbe
+49 5741 31
‌matthiasrebbe.eu ‌

> Am 24.08.2017 um 20:21 schrieb Sannyasin Brahmanathaswami via use-livecode 
> >:
> 
> Scott's web site is offline.
> 
> Is he ok?
> 
> Via mobile phone
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

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

2017-08-24 Thread Glen Bojsza via use-livecode
Thanks Ralph...I will use this as a guide.

I don't work enough with Xcode ( or Android ) to keep up on the basics.

Glen

On Thu, Aug 24, 2017 at 1:09 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Here's the deal with Sierra and LC 8.1.6
>
> Xcode 8.3.3==> SDK 10.3 Simulator 10.3
> Xcode 7.1.2==> SDK 9.2 Simulator 9.2
> Xcode 6.2==> SDK 8.2 Simulator 8.2
> Xcode 5.1.1==> SDK 7.1 Simulator 7.1
> Xcode 4.6.3==> SDK 6.1 Simulator 6.1
>
> To load all these versions without problems:
>
> 1] Keep only one version of Xcode in the applications folder named
> Xcode.app.
> 2] Create an OldXcodeVersions folder.
> 3] When upgrading:
>   A] Move Xcode.app from applications folder to the OldXcodeVersions folder
> and rename it to Xcode.x.y.app.
>   B] Download the new Xcode from the developer portal.
>   C] Open up downloads and install Xcode into the applications folder..
>   D] Open up the new Xcode.app
>   E] In the LC prefs select...add a new Xcode.
>   F] Add the Xcode that you just moved and renamed in A and B. This give
> you
> access to older SDKs and simulators.
> 4] Never upgrade Xcode.*
> 5] Never install from App Store . *
> 6] Trash any versions of Xcode that were upgrades and re-download them
> fresh
> from developers portal.
> 7] Open the downloaded Xcode versions one at a time named Xcode.app in the
> applications folder and then move to the OldXcodeVersions folder and
> rename.
>
> Repeat 6-7 for each old version you want access to. While installing these
> old versions temporarily move your current xcode.app from the applications
> to a temporary folder until done.
>
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


What's Happening with TactileMedia?

2017-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
Scott's web site is offline.

Is he ok?

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


Re: Search Values of Array in "One Go"

2017-08-24 Thread Bob Sneidar via use-livecode
Okay it's not entirely straight forward. I took a simple array from a datagrid 
with one record and ran this on it:

on mouseUp pButtonNumber
   put the dgData of group "dgsites" into aSiteData
   put arrayencode(aSiteData) into tSiteData
   repeat for each char tChar in tSiteData
  add 1 to tCounter
  if cleanAscii(tChar) is not empty then next repeat
  put tCounter & tab & charToNum(tChar) & cr after tAscii
   end repeat
   set the itemDelimiter to tab
   sort lines of tAscii numeric by item 2 of each
   put tAscii
end mouseUp

This returns a tab delimited list of position and non-printing ascii characters 
ranging from 0 to 58. What the ascii characters designate is the mystery. Any 
documentation on that? 

Bob S


> On Aug 24, 2017, at 10:50 , Bob Sneidar via use-livecode 
>  wrote:
> 
> I suppose thinking about it you could arrayencode an array then do a search 
> on it, but I am not sure how you would discern the array keys. I'll have to 
> look at the encoded format. At that point if that approach worked, the only 
> advantage to searching a memory based array is you would be skipping the 
> encoding step, and searching the actual array in memory with the engine might 
> be considerably faster than having LC search a text variable. 
> 
> I'll play around with it to see what I can come up with. 
> 
> 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


Re: Sending a message to users that floats above everything

2017-08-24 Thread J. Landman Gay via use-livecode
My main point was that intrusive answer dialogs aren't appropriate for any 
OS now, and no mobile platform uses them. There are no native substitutes.


The equivalent for Android is in the Android object library I made which is 
now available for anyone who attended my LC Global session. If you want to 
make your own, it's basically just a group with appropriately shadowed and 
colored controls, which communicate with the calling handler via dialogData.


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



On August 24, 2017 10:43:24 AM Richard Gaskin via use-livecode 
 wrote:



J. Landman Gay wrote (re. Answer dialogs):

 > If you want native appearance they are inappropriate.

How can they be made HIG conformant?

I guess a follow-on question would be: why are they not?

--
  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: Search Values of Array in "One Go"

2017-08-24 Thread Bob Sneidar via use-livecode
I mentioned a few years ago when arrays first were introduced that there ought 
to be an engine based way to seach arrays for values, returning matching key 
references (not just one but ALL). If you are only interested in certain keys 
you could then filter the results. 

To make this fast for large arrays, you might have to have a way to index the 
arrays, but now we are talking about a memory based database system, and I am 
not sure Livecode arrays are the way to go. It may be enough to be able to do a 
kind of full text search on an array in memory. 

I suppose thinking about it you could arrayencode an array then do a search on 
it, but I am not sure how you would discern the array keys. I'll have to look 
at the encoded format. At that point if that approach worked, the only 
advantage to searching a memory based array is you would be skipping the 
encoding step, and searching the actual array in memory with the engine might 
be considerably faster than having LC search a text variable. 

I'll play around with it to see what I can come up with. 

Bob S


> On Aug 24, 2017, at 09:00 , Richard Gaskin via use-livecode 
>  wrote:
> 
> At my local Linux User Group last year a fella from NASA gave a presentation 
> about a system he'd developed for querying planetary data via URLs.
> 
> The data is huge (basically everything every interplanetary satellite/robot 
> delivers to JPL) and his choice of HDF (Hierarchical Data Format) as the 
> storage base was interesting in itself (imagine a large encoded array but 
> designed for traversal on disk).
> 
> But even more so was his query API.  A thing of beauty.  One-line URLs could 
> be entered in a browser to locate just about anything in the massive HDF 
> store.
> 
> Ultimately it could be seen as a simplified form of XQuery, every bit as 
> elegant and flexible but without the XML-specific cruft (having to account 
> for the mix of elements and attributes).
> 
> Of course this led me to thinking of ways to use this for LC arrays.
> 
> It should be possible to craft a library to allow XQuery-like one-liners to 
> locate anything anywhere in any array.
> 
> It should also be possible to do this in the engine with blindingly-faster 
> efficiency.
> 
> But as a starting point, fleshing out the API in script seemed at least a 
> good first step.
> 
> I do not have the time to pursue it in earnest.  But XQuery is well 
> documented, and a sufficiently-inspired person may be able to come up with a 
> pretty great query system given sufficient time to explore the 
> possibilities...
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web


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


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

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

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

To load all these versions without problems:

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

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


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


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


Re: Search Values of Array in "One Go"

2017-08-24 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:

> OK so let's say user  want sto search "blues"  and I want the UX to
> check *all* columns in the array.  What is the best way to do this?
...
> Is there a more efficient approach?

At my local Linux User Group last year a fella from NASA gave a 
presentation about a system he'd developed for querying planetary data 
via URLs.


The data is huge (basically everything every interplanetary 
satellite/robot delivers to JPL) and his choice of HDF (Hierarchical 
Data Format) as the storage base was interesting in itself (imagine a 
large encoded array but designed for traversal on disk).


But even more so was his query API.  A thing of beauty.  One-line URLs 
could be entered in a browser to locate just about anything in the 
massive HDF store.


Ultimately it could be seen as a simplified form of XQuery, every bit as 
elegant and flexible but without the XML-specific cruft (having to 
account for the mix of elements and attributes).


Of course this led me to thinking of ways to use this for LC arrays.

It should be possible to craft a library to allow XQuery-like one-liners 
to locate anything anywhere in any array.


It should also be possible to do this in the engine with 
blindingly-faster efficiency.


But as a starting point, fleshing out the API in script seemed at least 
a good first step.


I do not have the time to pursue it in earnest.  But XQuery is well 
documented, and a sufficiently-inspired person may be able to come up 
with a pretty great query system given sufficient time to explore the 
possibilities...


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


Re: Thoughts on BLOBs in SQLite

2017-08-24 Thread Jonathan Lynch via use-livecode
The advantage comes if you are displaying the image through a web browser - you 
can put in the URL for the image and let the webview handle concurrent image 
loading.

I still went the other way, for other reasons, but that is one of the 
advantages.

The other is database file size.

Sent from my iPhone

> On Aug 24, 2017, at 10:56 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Tom Glod wrote:
> 
>so I base encode the binary variable and then save it in a text field in
>table. no problems and no bs ever.
> 
> 
> Others do this also. I'm curious from an "uber architecture" point of view, 
> what pros there are to keeping the image data in a base encoded form in the 
> data base versus just keeping a file.jpg on disk?
> 
> 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 Security (was Re: Sending a message to users that floats above everything)

2017-08-24 Thread Mark Waddingham via use-livecode
I must confess I read Jacques post as meaning the Google Play Store (google 
play services are something else - although related).

If the store is now present on that percentage of devices then the problem with 
OS updates more than justifies the recent tightening of the rules of the 
store...

The recent revision essentially mean the OS APIs an app can use are frozen at 
the point of submission - if you use more than that after installation you are 
breaking the rules...

The fact google play can know what OS APIs are used means they can also use 
that knowledge to help guard against exploits - so I suspect unpatched android 
devices are safer than might be thought otherwise... assuming only apps from 
google play are installed, at least.

By the way, the above is mostly speculation based on the recent app guideline 
changes google have made. I'm sure google keep what they actually do internally 
a closely guarded secret, like Apple so no-one knows where the holes are. 
(Sometimes obfuscation is still the best line of defence - if weak).

Warmest Regards,

Mark.

Sent from my iPhone

> On 24 Aug 2017, at 15:48, Stephen MacLean via use-livecode 
>  wrote:
> 
> 
>> On Aug 24, 2017, at 3:14 AM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> On 8/24/17 12:22 AM, Stephen MacLean via use-livecode wrote:
>>> My point was that unfortunately that only means ~15% of currently active 
>>> Android devices are fairly safe and Bob’s comment, while brief, was fair as 
>>> far as it was concerned. Once Android hits iOS’s ~85% active devices on 
>>> latest version of the os, then it wouldn’t be. I just don’t think that will 
>>> happen anytime soon because of the way the OS is rolled out through 3rd 
>>> parties for the most part.
>> 
>> Actually, I was trying to make the opposite point -- Google Play Services is 
>> now on (at least) 93% of all Android devices. It runs on any Android 
>> regardless of manufacturer or customized OS, provided the device is 
>> authorized to access the Google Play Store. It's had over 5 billion 
>> downloads and is, among other things, the security layer.
>> 
>> https://www.androidcentral.com/genius-google-play-services
>> 
>> It isn't only the "Google-made" phones that are protected, it's almost all 
>> of them now.
>> 
> 
> 
> I think it’s important to understand exactly what Google Play Services is and 
> isn’t. 
> 
> It provides a base API, like Windows .NET, that runs on a variety of Android 
> versions giving developers something common to develop against. Google Play 
> Services can and does update those API’s and also updates Google Apps and 
> components such as WebKit. It also provides malware scanning and blocking 
> similar to Windows Defender, i.e. it is a layer of security
> 
> It does NOT provide core OS security updates. Those are, except for Google’s 
> Pixel and Nexus, incorporated and provided by the manufacturer as a patch 
> level update to the OS. It is not THE security layer for Android, just a part 
> of it. 
> 
> So while 93% of Android devices have a layer of protection, it would be like 
> saying Windows XP or Mac OS X 10.6 or even unpatched Widows 10 or macOS are 
> “protected” because they have a malware scanner/blocker running. Sure, it may 
> blunt some/most of it, but they are still vulnerable. 
> 
> At least with Google Play Services you get updates to some API components 
> like WebKit, although that only starts with Android 5.0. You don’t get that 
> on iOS.
> 
> Also, just like other OS vendors, it’s rolling support. 4.4 is the last 
> supported version for Google Play and Google warns that will change as newer 
> versions come out.
> 
> See https://source.android.com/security/overview/updates-resources 
>  and 
> https://source.android.com/security/bulletin/ 
>  for more details.
> 
> Sorry, this is getting long winded and probably pointless. To me, this isn’t 
> about OS vs OS. You aren’t safe/secure/protected if you don’t fix the 
> underlying problem.
> 
> Best,
> 
> Steve MacLean
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: CouchDB, DayBed, etc.

2017-08-24 Thread Richard Gaskin via use-livecode

pink wrote:

> Daybed's built in local storage system is the save stack, works well
> on all platforms.

Have you considered LSON files (LiveCode encoded arrays)?

Where I used to use stack files for some storage options, I've been 
migrating to LSON with two benefits:


- Being raw data outside of a stack object, I never need to think about 
the IDE's limitation on stack names in memory.


- The syntax for working with the resulting variable is a tad simpler 
than with object properties.


As a collection of nested key-value pairs it would seem LSON is a good 
fit for CouchDB's way of working with data.


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


webP and webM support in LiveCode

2017-08-24 Thread Alejandro Tejada via use-livecode
Hi All,

Now that there is an ongoing thread about storing
bitmap images inside a SQLite BLOB, I just want to
remember that there is an enhancement request
in LiveCode Quality Center for supporting
webP and webM in LiveCode engine.

If webP and webM support in Livecode Engine
could help in your current or future work in this
development platform, please vote for this
enhancement request at the Quality Center:

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

on 2014-05-19, Alejandro wrote:

Although I have posted this request in LiveCode's mail-list,
the Quality Center is the place to discuss it.

Could you include in LiveCode, support for these
modern and updated video, audio and animation
formats: webM and webP?

http://www.webmproject.org/about/
https://developers.google.com/speed/webp/?csw=1

Notice that already, LiveCode displays webM within
revBrowserCef (Chrome Embedded Framework dll).

This request ask for displaying and controling
webM and webP by LiveCode script within a
card or as part of a group, not just within
revBrowserCef via javaScript.

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


Re: Sending a message to users that floats above everything

2017-08-24 Thread Richard Gaskin via use-livecode

J. Landman Gay wrote (re. Answer dialogs):

> If you want native appearance they are inappropriate.

How can they be made HIG conformant?

I guess a follow-on question would be: why are they not?

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


Re: Native Mobile Radio Buttons - Focus on Entry Field on Mobile

2017-08-24 Thread Bob Sneidar via use-livecode
column1 LIKE '%value1%' OR column2 LIKE '%value2%' OR column3 LIKE '%value3%' 
didn't work for you??

Bob S


> On Aug 24, 2017, at 07:50 , Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> # I couldn't get %like% to work across three columns for a single string and 
> this is better anyway


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


Re: Sending a message to users that floats above everything

2017-08-24 Thread Roger Eller via use-livecode
And we all know that iOS malware is the very best that money can buy!  ;-)


On Thu, Aug 24, 2017 at 10:47 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If the malware is good enough, you won't know. ;-)
>
> Bob S
>
>
> > On Aug 24, 2017, at 05:55 , Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I have never experienced any malware attacks, and the
> > device continues to serve me well in compatibility-testing of apps
> created
> > in LiveCode.
> >
> > ~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


Re: Thoughts on BLOBs in SQLite

2017-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
Tom Glod wrote:

so I base encode the binary variable and then save it in a text field in
table. no problems and no bs ever.


Others do this also. I'm curious from an "uber architecture" point of view, 
what pros there are to keeping the image data in a base encoded form in the 
data base versus just keeping a file.jpg on disk?

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


Re: Native Mobile Radio Buttons - Focus on Entry Field on Mobile

2017-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
Mike wrote:
for starters, get scott's tmControls2.  They just look better.

BR: duh of course!


as for the focus, how are you trying to do it?  are you using "focus on"?
"click at the loc of"?

BR: The focus comes into the search field when the custom control slides down… 
cursor is there and key board pops up by hard coding:

focus on fld "searchstring"
select after fld "searchstring"

User can enter text, and then click one of three options like

_Title_Description _ Artists   

# I couldn't get %like% to work across three columns for a single string and 
this is better anyway

As long as the events went  like this

1) type in search string
2) choose radio button for what to search in
3) click the search button

it worked.

But if events went like this:

1) choose a radio button
2) click into field
 # now the keyboard no longer pops up…

OK so I went back and set the "autohilite" to true on a hunch… and OK! now it 
works on iOS and on Android, with a caveat on Android, which possibly is a bug?

1) choose a radio button: Artists

2) click into the field.. # now with autohilite set to true, the keyboard pops 
up
  -- enter "Meena"

3) but now, in the radio button group below, the hilitedbuttons are set to 
empty…"Artists" is de-selected!

4) user gets the message "Select Search In:"  and has to click again on  
"Artists"

Does that seem right? Shouldn't the hilitedbutton remain "sticky" when the user 
switches focus to, taps into the field? It does on desktop and iOS. It's as if 
on Android, the radio button group is "hearing about" the mouse event outside 
as if it were another radio button and deselecting all buttons in it's group.

Should I report this?






___
use-livecode mailing list
use-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 Security (was Re: Sending a message to users that floats above everything)

2017-08-24 Thread Stephen MacLean via use-livecode

> On Aug 24, 2017, at 3:14 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 8/24/17 12:22 AM, Stephen MacLean via use-livecode wrote:
>> My point was that unfortunately that only means ~15% of currently active 
>> Android devices are fairly safe and Bob’s comment, while brief, was fair as 
>> far as it was concerned. Once Android hits iOS’s ~85% active devices on 
>> latest version of the os, then it wouldn’t be. I just don’t think that will 
>> happen anytime soon because of the way the OS is rolled out through 3rd 
>> parties for the most part.
> 
> Actually, I was trying to make the opposite point -- Google Play Services is 
> now on (at least) 93% of all Android devices. It runs on any Android 
> regardless of manufacturer or customized OS, provided the device is 
> authorized to access the Google Play Store. It's had over 5 billion downloads 
> and is, among other things, the security layer.
> 
> https://www.androidcentral.com/genius-google-play-services
> 
> It isn't only the "Google-made" phones that are protected, it's almost all of 
> them now.
> 


I think it’s important to understand exactly what Google Play Services is and 
isn’t. 

It provides a base API, like Windows .NET, that runs on a variety of Android 
versions giving developers something common to develop against. Google Play 
Services can and does update those API’s and also updates Google Apps and 
components such as WebKit. It also provides malware scanning and blocking 
similar to Windows Defender, i.e. it is a layer of security

It does NOT provide core OS security updates. Those are, except for Google’s 
Pixel and Nexus, incorporated and provided by the manufacturer as a patch level 
update to the OS. It is not THE security layer for Android, just a part of it. 

So while 93% of Android devices have a layer of protection, it would be like 
saying Windows XP or Mac OS X 10.6 or even unpatched Widows 10 or macOS are 
“protected” because they have a malware scanner/blocker running. Sure, it may 
blunt some/most of it, but they are still vulnerable. 

At least with Google Play Services you get updates to some API components like 
WebKit, although that only starts with Android 5.0. You don’t get that on iOS.

Also, just like other OS vendors, it’s rolling support. 4.4 is the last 
supported version for Google Play and Google warns that will change as newer 
versions come out.

See https://source.android.com/security/overview/updates-resources 
 and 
https://source.android.com/security/bulletin/ 
 for more details.

Sorry, this is getting long winded and probably pointless. To me, this isn’t 
about OS vs OS. You aren’t safe/secure/protected if you don’t fix the 
underlying problem.

Best,

Steve MacLean


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

Re: Sending a message to users that floats above everything

2017-08-24 Thread Bob Sneidar via use-livecode
If the malware is good enough, you won't know. ;-)

Bob S


> On Aug 24, 2017, at 05:55 , Roger Eller via use-livecode 
>  wrote:
> 
> I have never experienced any malware attacks, and the
> device continues to serve me well in compatibility-testing of apps created
> in LiveCode.
> 
> ~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


Re: Browser widget android local file problem

2017-08-24 Thread Jonathan Lynch via use-livecode
Hi Alan - setting the htmltext of the widget works fine for me. My map data 
comes from Bing. What is going wrong when you do that?

Sent from my iPhone

> On Aug 24, 2017, at 9:29 AM, Alan via use-livecode 
>  wrote:
> 
> Am having a problem loading a local file that displays a Google map on the 
> Android emulator. LC 8.1.6.
> 
> I was also having a problem with local HTML files in general, but got that 
> going. Using the same method for a dynamically created map document, located 
> in the specialfolderpath("documents") folder doesn't seem to work. See below 
> for code that doesn't work followed by code that works.
> 
> 1. Code that doesn't work is (using a file from the "documents" 
> specialFolder):
> ---
>   put specialFolderPath("documents") & slash & "MAP.html" into tMapFile
>-- tMapFile = /data/data/com.scruffmonkey.echidnaCSI/files/MAP.html   -- 
> Why is the path /data/data/...  and not /data/app/...  as in the next example?
>   if the platform contains "android" then
>set the url of widget "myMap" to tMapFile
>   else
>put fileConvertToFileURL(tMapFile) into tURL
>set the url of widget "myMap" to (tURL)
>   end if
> ---
> 
> 
> 2. While code that works is (using a file from the resources folder):
> ---
>  put specialFolderPath("resources") & "/data/fun_facts.html" into tFile
> -- tFile = 
> /data/app/com.scruffmonkey.echidnaCSI-2/base.apk/data/fun_facts.html
>  if the platform contains "android" then
> set the url of widget "infoscroll" to (tFile)
>  else
> put fileConvertToFileURL(tFile) into tURL
> set the url of widget "infoscroll" to (tURL)
>  end if
> ---
> 
> 
> Any ideas why there's a difference between the resources and documents 
> specialFolderPaths?
> 
> Why does the "documents" specialFolderPath here start with /data/data/  and 
> the resources one start with /data/app/  ??
> 
> I've also tried setting the HTMLText of the widget but that also doesn't seem 
> to work.
> 
> Help please! :-)
> 
> cheers
> 
> Alan
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Thoughts on BLOBs in SQLite

2017-08-24 Thread Bob Sneidar via use-livecode
Ahhh yes. I remember the first time Hypercard corrupted one of my stacks. It 
was like learning my girlfriend cheated on me for the first time. And then to 
discover that Hypercard was going to regularly corrupt my stacks was like 
learning she was a prostitute in her spare time! The disappointment was 
palpable. 

Bob S


> On Aug 23, 2017, at 19:07 , Alejandro Tejada via use-livecode 
>  wrote:
> 
> "Each time you delete a card, background, field, or button, the space
>  it occupied stays in the stack as unusable space called free space.
>  As you work on a stack, it can accumulate a substantial amount of
>  free space -- and the more free space a stack has, the slower it
>  runs and the larger it is. There's also a better chance that your
>  stack will become corrupted (meaning unusable) if you let the free
>  space get out of hand."
> 
> Al


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


Re: Entitlements file are invalid...what does LC set?

2017-08-24 Thread Glen Bojsza via use-livecode
Never mind...I had a difference between my Bundle ID and Internal ID...I
fixed it from my Provisioning Profile and everything works!

Glen

On Thu, Aug 24, 2017 at 9:14 AM, Glen Bojsza  wrote:

> I updated my system to the following:
>
> Sierra 10.12.6
> Xcode 8.3.3
> Livecode Community 8.1.6
>
> I can build an iOS app with no errors BUT when I go to install it on my
> iPad I get the following Xcode error:
>
> *The executable was signed with invalid entitlements*.
> The entitlements specified in your application’s Code Signing Entitlements
> file are invalid, not permitted, or do not match those specified in your
> provisioning profile. (0xE8008016)
>
> I don't know if this is a bug in LC or an Apple Xcode / Provisioning issue.
>
> Has anyone experienced this error while using Livecode?
>
> regards,
>
> Glen
>
___
use-livecode mailing list
use-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 android local file problem

2017-08-24 Thread Alan via use-livecode
Am having a problem loading a local file that displays a Google map on the 
Android emulator. LC 8.1.6.

I was also having a problem with local HTML files in general, but got that 
going. Using the same method for a dynamically created map document, located in 
the specialfolderpath("documents") folder doesn't seem to work. See below for 
code that doesn't work followed by code that works.

1. Code that doesn't work is (using a file from the "documents" specialFolder):
---
   put specialFolderPath("documents") & slash & "MAP.html" into tMapFile
-- tMapFile = /data/data/com.scruffmonkey.echidnaCSI/files/MAP.html   
-- Why is the path /data/data/...  and not /data/app/...  as in the next 
example?
   if the platform contains "android" then
set the url of widget "myMap" to tMapFile
   else
put fileConvertToFileURL(tMapFile) into tURL
set the url of widget "myMap" to (tURL)
   end if
---


2. While code that works is (using a file from the resources folder):
---
  put specialFolderPath("resources") & "/data/fun_facts.html" into tFile
 -- tFile = 
/data/app/com.scruffmonkey.echidnaCSI-2/base.apk/data/fun_facts.html
  if the platform contains "android" then
 set the url of widget "infoscroll" to (tFile)
  else
 put fileConvertToFileURL(tFile) into tURL
 set the url of widget "infoscroll" to (tURL)
  end if
---


Any ideas why there's a difference between the resources and documents 
specialFolderPaths?

Why does the "documents" specialFolderPath here start with /data/data/  and the 
resources one start with /data/app/  ??

I've also tried setting the HTMLText of the widget but that also doesn't seem 
to work.

Help please! :-)

cheers

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


Entitlements file are invalid...what does LC set?

2017-08-24 Thread Glen Bojsza via use-livecode
I updated my system to the following:

Sierra 10.12.6
Xcode 8.3.3
Livecode Community 8.1.6

I can build an iOS app with no errors BUT when I go to install it on my
iPad I get the following Xcode error:

*The executable was signed with invalid entitlements*.
The entitlements specified in your application’s Code Signing Entitlements
file are invalid, not permitted, or do not match those specified in your
provisioning profile. (0xE8008016)

I don't know if this is a bug in LC or an Apple Xcode / Provisioning issue.

Has anyone experienced this error while using Livecode?

regards,

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

Re: Sending a message to users that floats above everything

2017-08-24 Thread Roger Eller via use-livecode
On Thu, Aug 24, 2017 at 9:01 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Jonathan wrote:
> > I hate to hide the map just for something like adjusting the range at
> which one can see markers.
>
> You could make a snapshot of the map, gray it out and use the image as
> background (everything else hidden).
>
>
Grape minds...
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending a message to users that floats above everything

2017-08-24 Thread Roger Eller via use-livecode
On Thu, Aug 24, 2017 at 7:18 AM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I hate to hide the map just for something like adjusting the range at
> which one can see markers.
>
> That said, yours is probably the best currently available solution. It
> would be easy to hide and show the current group as needed.
>
> Sent from my iPhone


As J. demonstrated in LC Global, you can dim the background stuff before
displaying a dialog.  Yours is slightly different because of the map in the
browser, so what if you had a "generic map" image that is super minecraft
pixelated to display in its place?  Just hide the group that contains the
browser, and reveal the generic pixelated image beneath it.

~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


Re: Sending a message to users that floats above everything

2017-08-24 Thread hh via use-livecode
> Jonathan wrote:
> I hate to hide the map just for something like adjusting the range at which 
> one can see markers.

You could make a snapshot of the map, gray it out and use the image as 
background (everything else hidden).
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending a message to users that floats above everything

2017-08-24 Thread Roger Eller via use-livecode
On Thu, Aug 24, 2017 at 3:14 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 8/24/17 12:22 AM, Stephen MacLean via use-livecode wrote:
>
>> My point was that unfortunately that only means ~15% of currently active
>> Android devices are fairly safe and Bob’s comment, while brief, was fair as
>> far as it was concerned. Once Android hits iOS’s ~85% active devices on
>> latest version of the os, then it wouldn’t be. I just don’t think that will
>> happen anytime soon because of the way the OS is rolled out through 3rd
>> parties for the most part.
>>
>
> Actually, I was trying to make the opposite point -- Google Play Services
> is now on (at least) 93% of all Android devices. It runs on any Android
> regardless of manufacturer or customized OS, provided the device is
> authorized to access the Google Play Store. It's had over 5 billion
> downloads and is, among other things, the security layer.
>
> https://www.androidcentral.com/genius-google-play-services
>
> It isn't only the "Google-made" phones that are protected, it's almost all
> of them now.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>

This is very true.  My old China made tablet running Android 4.1.1 (no os
update has ever been available for it), continues to update Google Play
Services regularly.  I have never experienced any malware attacks, and the
device continues to serve me well in compatibility-testing of apps created
in LiveCode.

~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

Little OT: PHP script needed

2017-08-24 Thread Klaus major-k via use-livecode
Hi friends,

sorry for posting this to this list, but it is a bit of an emergency...
Anyone available for writing a little PHP script I can post things to?

Requirements for the script, it needs to:
1. Receive a PDF file and maybe a password I can post to the server 
additionally. 

2. save the PDF file under the name (ref_number).pdf in a directory of our 
choice

3. Return the string OK back to our app/my script, so I know the file is on the 
server.

4. send an email to the user with the URL to the just saved PDF file.
This may require a lookup: posted ref_number -> username and mail address from 
a database

Please write to me personally, will forward the mail to my client.

Thank you for your attention. 


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


Re: is IMAP or POP3 supported with tsNet?

2017-08-24 Thread Stephen MacLean via use-livecode
Thanks Charles, looking forward to those docs when done.

Best,

Steve MacLean

> On Aug 24, 2017, at 6:05 AM, Charles Warwick via use-livecode 
>  wrote:
> 
> 
> On 24/08/2017 6:40 AM, Monte Goulding via use-livecode wrote:
>>> On 24 Aug 2017, at 1:06 am, Stephen MacLean via use-livecode 
>>>  wrote:
>>> 
>>> Don’t think it is, based on what’s in the dictionary, but thought I would 
>>> ask: is IMAP or POP3 supported with tsNet?
>>> 
>>> I know CURL does, but don’t know if it’s been added to tsNet.
>> Short answer yes. Long answer Charles is going to write some docs or a demo 
>> to explain how to do it. Not sure on the ETA of that.
> 
> IMAP and POP3 support in tsNet under Linux is only available in tsNet 1.3.0+ 
> which will be bundled with the next LC release.
> 
> All other platforms have had support for those protocols for a while.  I hope 
> to have some documentation available in the next two weeks.
> 
> Regards,
> 
> Charles
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



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

Re: Sending a message to users that floats above everything

2017-08-24 Thread Jonathan Lynch via use-livecode
I hate to hide the map just for something like adjusting the range at which one 
can see markers.

That said, yours is probably the best currently available solution. It would be 
easy to hide and show the current group as needed.

Sent from my iPhone

> On Aug 24, 2017, at 6:00 AM, hh via use-livecode 
>  wrote:
> 
> Jonathan wrote:
>> What is the best way to send a message to users that floats above
>> everything else, including browser widgets?
>> ...
>> Would it be possible in LCB to make a float-above-everything (including
>> browser) dialog?
> 
> Didn't read the whole huge thread, so in case it is not already said:
> 
> Floating above everything else is easy if everything else is invisible.
> So why not hide everything else and display a beautiful custom dialog?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Native Mobile Radio Buttons - Focus on Entry Field on Mobile

2017-08-24 Thread Mike Kerner via use-livecode
for starters, get scott's tmControls2.  They just look better.
as for the focus, how are you trying to do it?  are you using "focus on"?
 "click at the loc of"?

On Thu, Aug 24, 2017 at 12:58 AM, Sannyasin Brahmanathaswami via
use-livecode  wrote:

>
> OK I successfully built a little custom Control which is a searchform that
> dynamically changes out some options depending on the class of audio being
> viewed by the user..
>
> Pretty straight forward, a search fields, some radio buttons for what to
> search in and then two other sets of radio buttons that only appear for
> music/songs with genre and theme, got the search working. Works great on
> desktop, very slick…
>
> Deployed to mobile and while it works on iOS and My Nexus, the radio
> buttons look pretty awful, like some ancient Motif boxes when touched.
>
> What options do we have to native mobile radio buttons?
>
> Also when I click a radio button I cannot return focus back to the search
> field
>
>
> UI has:
> --
>
> [_ ]  # fld [searchstring]   [search button here a SVG
> widget]
>
>
> Search in: (a label)
>
> __Title__Subtitle  _Description   # 3 radio buttons
>
>
> on mobile, when I click on one of these radio buttons, then I can no
> longer click back into the field to enter text.
>
> missing something simple there. I can enter text and then click a radio
> button and the search works as on desktop.
>
>
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: is IMAP or POP3 supported with tsNet?

2017-08-24 Thread Charles Warwick via use-livecode


On 24/08/2017 6:40 AM, Monte Goulding via use-livecode wrote:

On 24 Aug 2017, at 1:06 am, Stephen MacLean via use-livecode 
 wrote:

Don’t think it is, based on what’s in the dictionary, but thought I would ask: 
is IMAP or POP3 supported with tsNet?

I know CURL does, but don’t know if it’s been added to tsNet.

Short answer yes. Long answer Charles is going to write some docs or a demo to 
explain how to do it. Not sure on the ETA of that.


IMAP and POP3 support in tsNet under Linux is only available in tsNet 
1.3.0+ which will be bundled with the next LC release.


All other platforms have had support for those protocols for a while.  I 
hope to have some documentation available in the next two weeks.


Regards,

Charles


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

Re: Sending a message to users that floats above everything

2017-08-24 Thread hh via use-livecode
Jonathan wrote:
> What is the best way to send a message to users that floats above
> everything else, including browser widgets?
> ...
> Would it be possible in LCB to make a float-above-everything (including
> browser) dialog?

Didn't read the whole huge thread, so in case it is not already said:

Floating above everything else is easy if everything else is invisible.
So why not hide everything else and display a beautiful custom dialog?


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


Re: Sending a message to users that floats above everything

2017-08-24 Thread Jonathan Lynch via use-livecode
Would it be possible in LCB to make a float-above-everything (including 
browser) dialog?

Sent from my iPhone

> On Aug 24, 2017, at 4:49 AM, Keith Martin via use-livecode 
>  wrote:
> 
>> On 21 Aug 2017, at 18:53, J. Landman Gay via use-livecode wrote:
>> 
>> If you want native appearance they are inappropriate.
> 
> Ah, a slightly different thing to what I first assumed. Answer dialogs as a 
> concept have an important place, of course. But yes, non-standard 
> UI/appearance for stuff that *should* be standard is Just Wrong.
> 
> k
> 
> 
> ---
> 
> Keith Martin
> Senior Lecturer, LCC (University of the Arts London)
> Technical Editor, MacUser magazine (1997-2015)
> http://PanoramaPhotographer.com
> http://thatkeith.com
> +44 (0)7909541365
> 
> ---
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Sending a message to users that floats above everything

2017-08-24 Thread Keith Martin via use-livecode

On 21 Aug 2017, at 18:53, J. Landman Gay via use-livecode wrote:


If you want native appearance they are inappropriate.


Ah, a slightly different thing to what I first assumed. Answer dialogs 
as a concept have an important place, of course. But yes, non-standard 
UI/appearance for stuff that *should* be standard is Just Wrong.


k


---

Keith Martin
Senior Lecturer, LCC (University of the Arts London)
Technical Editor, MacUser magazine (1997-2015)
http://PanoramaPhotographer.com
http://thatkeith.com
+44 (0)7909541365

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


Re: Sending a message to users that floats above everything

2017-08-24 Thread J. Landman Gay via use-livecode

On 8/24/17 12:22 AM, Stephen MacLean via use-livecode wrote:

My point was that unfortunately that only means ~15% of currently active 
Android devices are fairly safe and Bob’s comment, while brief, was fair as far 
as it was concerned. Once Android hits iOS’s ~85% active devices on latest 
version of the os, then it wouldn’t be. I just don’t think that will happen 
anytime soon because of the way the OS is rolled out through 3rd parties for 
the most part.


Actually, I was trying to make the opposite point -- Google Play 
Services is now on (at least) 93% of all Android devices. It runs on any 
Android regardless of manufacturer or customized OS, provided the device 
is authorized to access the Google Play Store. It's had over 5 billion 
downloads and is, among other things, the security layer.


https://www.androidcentral.com/genius-google-play-services

It isn't only the "Google-made" phones that are protected, it's almost 
all of them now.


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

Re: CouchDB, DayBed, etc.

2017-08-24 Thread Peter W A Wood via use-livecode
Alex 

> On 23 Aug 2017, at 22:28, Alex Tweedly via use-livecode 
>  wrote:
> 
> With the exception of a couple of things that basically scraped data off some 
> web pages, every app I've done in the last couple of years (all for personal 
> use by myself or friends - I'm a hobbyist) have shared one characteristic : 
> they have local storage, and that data is subsequently synched to "the cloud" 
> to be shared with other devices/users, or at the very least backed-up to the 
> cloud (i.e. my on-rev or HostM server account).
> 
> I haven't yet done anything on mobile - but because of where I live and other 
> circumstances, even for laptops I *need* to have things work without an 
> Internet connection and synch up when available.
> 
> This doesn't seem to fit well with, say, CouchDB; the REST API lets me do 
> great things when I talk to the server - but when working locally I have to 
> forego all those features, and, for instance, revert to an array which I 
> 'manually' search / filter / etc.

You can easily run CouchDB on a laptop or PC. There is a little more admin that 
SQLite but not very much. One of the strengths of CouchDB is it’s database 
synchronisation (one-way or both-ways) - 
http://docs.couchdb.org/en/2.1.0/replication/index.html 
.

There is also a mobile embedded Couchbase that should sync with CouchDB - 
https://developer.couchbase.com/mobile  
- I guess that would need a LiveCode Builder wrapper before it could be 
accessed from LiveCode.

Peter
 


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