LiveCode to eLearning

2016-09-29 Thread William Jamieson
Today I would like to announce that we are going to be setting up a meeting
on Thursday, October 6th, 9am PST to talk about how we can create an
integration between LiveCode and the standardized eLearning compatibility
systems such as xAPI, TinCan, LTI etc.

The goal of this project is to allow LiveCode to be a seamlessly integrated
tool for creating education technology. Most education web platforms abide
by one of these standard protocols, and to create professional education
software, we need to make that bridge too. If we can put our efforts
together once and distribute the labor, all of us will benefit. This will
be an open-source project we can gift to the community when we are
finished. This also allows for future growth and contribution from others
too.

If you would like to be a part of this, then please send me a message @
williamdjamie...@gmail.com and let me know if 1) you would like to
contribute 2) you can attend the meeting, or 3) if you aren't sure but find
the project interesting and would like to stay up to date.

I plan to use Google Hangouts for the meeting and will keep everyone in the
loop via group emails unless everyone has a more preferred method of
communication such as a Slack or Facebook group.

Thank you all for your consideration.

-Will

(PS if the meeting time doesn't work for you please suggest a couple
alternative meeting times that do and we will try to get as many people on
the call as possible. Thank you)

William D Jamieson
Amplifiid Education
Co-Founder
(408) 692-5356
www.amplifiideducation.com
williamdjamie...@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


Re: How to make my app keep running in the bg

2016-09-29 Thread William Prothero
Scott:
I think I’ve got it.
 
mobileLockIdleTimer

Best,
Bill

> On Sep 29, 2016, at 5:46 PM, William Prothero  wrote:
> 
> Scott:
> I use the native sound player to play the sounds. Actually, what I really 
> want to do is to keep the app in the foreground. I play the audio through my 
> wifi and if it goes to background, the wifi gets disconnected and it’s a real 
> pain. A previous version of this app stayed in the foreground. So, perhaps 
> there is some kind of property that will keep an app in the foreground?
> Bill
>> On Sep 29, 2016, at 5:41 PM, Scott Rossi  wrote:
>> 
>> AFAIK, you can't do this on iOS for just a timer.  I was told from someone
>> high up in Apple that the phone will automatically end or reset a
>> backgrounded app after roughly 10 minutes or so (at most).  Audio is a
>> different story, because Apple allows music-playing apps to run when
>> backgrounded, but I imagine you'd need to make use of Apple's native music
>> player for this to work.  I'm not sure if the native LC player qualifies
>> -- have you already tried backgrounding an LC app with the native player
>> running?
>> 
>> Don't expect to fool Apple by enabling a non-music-playing app to keep
>> itself active by playing sound.  I was told this story: Apparently several
>> versions back, Facebook came out with a version of their mobile app which
>> included a player that played silence when backgrounded, as a means to
>> keep itself active.  Apple discovered the behavior and slapped Facebook on
>> the wrist, after which Facebook claimed it was a bug that was introduced
>> by mistake.
>> 
>> It's possible the Apple has changed it policy on this over the last year
>> or so, but I doubt it.  Google may be more forgiving with Android.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> On 9/29/16, 5:16 PM, "use-livecode on behalf of William Prothero"
>> > proth...@earthednet.org> wrote:
>> 
>>> Folks:
>>> I have an app that plays sounds and I donąt want the iPhone to stop
>>> playing them when the phone hibernates. I also have a timer that runs and
>>> I donąt want it to stop after a minute or so.
>>> 
>>> So, how can I keep an app up front and running without constantly
>>> touching the screen?
>>> 
>>> I know there is a way to do this, but how?
>>> Thanks,
>>> Bill
>>> 
>>> 
>>> 
>>> William Prothero, Ph.D.
>>> University of California, Santa Barbara, Emeritus
>>> proth...@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
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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 make my app keep running in the bg

2016-09-29 Thread William Prothero
Scott:
I use the native sound player to play the sounds. Actually, what I really want 
to do is to keep the app in the foreground. I play the audio through my wifi 
and if it goes to background, the wifi gets disconnected and it’s a real pain. 
A previous version of this app stayed in the foreground. So, perhaps there is 
some kind of property that will keep an app in the foreground?
Bill
> On Sep 29, 2016, at 5:41 PM, Scott Rossi  wrote:
> 
> AFAIK, you can't do this on iOS for just a timer.  I was told from someone
> high up in Apple that the phone will automatically end or reset a
> backgrounded app after roughly 10 minutes or so (at most).  Audio is a
> different story, because Apple allows music-playing apps to run when
> backgrounded, but I imagine you'd need to make use of Apple's native music
> player for this to work.  I'm not sure if the native LC player qualifies
> -- have you already tried backgrounding an LC app with the native player
> running?
> 
> Don't expect to fool Apple by enabling a non-music-playing app to keep
> itself active by playing sound.  I was told this story: Apparently several
> versions back, Facebook came out with a version of their mobile app which
> included a player that played silence when backgrounded, as a means to
> keep itself active.  Apple discovered the behavior and slapped Facebook on
> the wrist, after which Facebook claimed it was a bug that was introduced
> by mistake.
> 
> It's possible the Apple has changed it policy on this over the last year
> or so, but I doubt it.  Google may be more forgiving with Android.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 9/29/16, 5:16 PM, "use-livecode on behalf of William Prothero"
>  proth...@earthednet.org> wrote:
> 
>> Folks:
>> I have an app that plays sounds and I donąt want the iPhone to stop
>> playing them when the phone hibernates. I also have a timer that runs and
>> I donąt want it to stop after a minute or so.
>> 
>> So, how can I keep an app up front and running without constantly
>> touching the screen?
>> 
>> I know there is a way to do this, but how?
>> Thanks,
>> Bill
>> 
>> 
>> 
>> William Prothero, Ph.D.
>> University of California, Santa Barbara, Emeritus
>> proth...@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


___
use-livecode mailing list
use-livecode@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 make my app keep running in the bg

2016-09-29 Thread William Prothero
Scott:
I use the native sound player to play the sounds. Actually, what I really want 
to do is to keep the app in the foreground. I play the audio through my wifi 
and if it goes to background, the wifi gets disconnected and it’s a real pain. 
A previous version of this app stayed in the foreground. So, perhaps there is 
some kind of property that will keep an app in the foreground?
Bill

> On Sep 29, 2016, at 5:41 PM, Scott Rossi  wrote:
> 
> AFAIK, you can't do this on iOS for just a timer.  I was told from someone
> high up in Apple that the phone will automatically end or reset a
> backgrounded app after roughly 10 minutes or so (at most).  Audio is a
> different story, because Apple allows music-playing apps to run when
> backgrounded, but I imagine you'd need to make use of Apple's native music
> player for this to work.  I'm not sure if the native LC player qualifies
> -- have you already tried backgrounding an LC app with the native player
> running?
> 
> Don't expect to fool Apple by enabling a non-music-playing app to keep
> itself active by playing sound.  I was told this story: Apparently several
> versions back, Facebook came out with a version of their mobile app which
> included a player that played silence when backgrounded, as a means to
> keep itself active.  Apple discovered the behavior and slapped Facebook on
> the wrist, after which Facebook claimed it was a bug that was introduced
> by mistake.
> 
> It's possible the Apple has changed it policy on this over the last year
> or so, but I doubt it.  Google may be more forgiving with Android.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 9/29/16, 5:16 PM, "use-livecode on behalf of William Prothero"
>  proth...@earthednet.org> wrote:
> 
>> Folks:
>> I have an app that plays sounds and I donąt want the iPhone to stop
>> playing them when the phone hibernates. I also have a timer that runs and
>> I donąt want it to stop after a minute or so.
>> 
>> So, how can I keep an app up front and running without constantly
>> touching the screen?
>> 
>> I know there is a way to do this, but how?
>> Thanks,
>> Bill
>> 
>> 
>> 
>> William Prothero, Ph.D.
>> University of California, Santa Barbara, Emeritus
>> proth...@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


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

How to make my app keep running in the bg

2016-09-29 Thread William Prothero
Folks:
I have an app that plays sounds and I don’t want the iPhone to stop playing 
them when the phone hibernates. I also have a timer that runs and I don’t want 
it to stop after a minute or so. 

So, how can I keep an app up front and running without constantly touching the 
screen?

I know there is a way to do this, but how?
Thanks,
Bill



William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@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

Re: reloading iOS provisioning profiles etc

2016-09-29 Thread William Prothero
Dave Kilroy:
Dave, your prescription for loading the iOS app really helped a lot!!!

I got the app onto my iPhone is less than an hour and most of that was spent 
making icons. It solves a problem of using very complex software to do a rather 
simple task and it’s so easy to go wrong at any step. It’s the gotchas that are 
critical.

BTW, I used LC 8.1 (rc1) and XCode 8. My Mac is on 10.11.6. I’m waiting to 
upgrade until I’m assured LC will build and load iOS apps on the new version of 
OSX.

One thing I had to do was first create an appID profile for my app. No biggy. 
After I made the provisioning profile and launched Xcode and looked at it in 
the Preferences:Accounts pane, I had some old profiles and tried to delete 
them, but they didn’t all delete. The right click on the profile line to open 
the enclosing folder was wonderful! I just dragged all my old profiles into the 
trash, figuring to download the ones I needed. But, then the XCode list of 
profiles didn’t show up as downloads. Probably something on the developer site 
didn’t update them, because they did show up and the web site. So, I downloaded 
the profile manually from the developer site and dragged it into the correct 
folder (which I found by right clicking on the Preferences:Accounts profile 
line). It showed up and, to my surprise, it loaded onto my iPhone. Whoopee!

Wow, I’m so happy that now I have a bunch of unplanned time, so I’ll go have a 
glass of wine and drink a toast to you.

Best,
Bill


>> 
>> You can’t force LC to refresh provisioning profiles - LC only uses 
>> provisioning profiles made at the developer portal and stored on you 
>> computer. These are the steps you should consider when adding a new device...
>> 
>> 
>> 
>> At the Developer Portal:
>> 
>> - add your new device’s UDID in the ‘Devices’ section
>> - in the ‘Provisioning Profile’ section edit the provisioning profile of the 
>> app you are interested in - including your new device in the ‘Devices’ box 
>> (this box is a scrolling field so all your devices may not be in view)
>> - click the ‘Generate’ button
>> - do not click the ‘Download’ button
>> 
>> 
>> 
>> On your computer (Keychain Access)
>> 
>> - check the ‘my Certificates’ section for any expired keys/certificates - 
>> zap all non-current ones
>> 
>> 
>> 
>> On your computer (Xcode)
>> 
>> - open Xcode
>> - open ‘Preferences’
>> - open the ‘Accounts’ tab
>> - click on your Apple ID
>> - click on one of the listed ‘team member’ roles (there may only be one)
>> - click the ‘View Details’ button
>> - wait a few seconds for data to refresh
>> - in the upper ‘Signing Identities’ box ensure your certificates are up to 
>> date
>> - in the lower ‘Provisioning Profiles box remove any duplicate Provisioning 
>> Profile by right-clicking them and choosing ‘Move to Trash’
>> - click any showing ‘Download’ buttons showing alongside Provisioning 
>> Profile (and get rid of all duplicate Provisioning Profiles)
>> - tidy up all the profiles in each of your ‘team role’ entries
>> - if you have any remaining profiles you can’t get rid of, right-click one 
>> of the provisioning profiles and select ‘View in Folder’ (this shows you 
>> where profiles are stored locally and you can delete all of them and 
>> download them afresh (close and reopen Xcode preferences to get it to 
>> refresh) - try to ensure that you only have valid provisioning profiles on 
>> your computer - and only one copy of each profile
>> 
>> 
>> 
>> On your computer (LiveCode)
>> 
>> - open LiveCode
>> - open your app
>> - open the ‘Standalone Application Settings’ dialog box
>> - open the iOS tab
>> - find the relevant Provisioning Profile in the ‘Profile’ drop-down (there 
>> should only be a single profile with your app’s name in the list)
>> - save your app
>> - try building an iOS standalone
>> 
>> 
>> 
>> You should now have built a new version of your app that can be installed on 
>> your new device.
>> 
>> 
>> 
>> BTW the reason I recommend not clicking the ‘download’ button on the 
>> Developer Portal is that getting Xcode to do the downloading is neater and 
>> means it’s easier to ensure you only have a single and valid Provisioning 
>> Profile for each of your development apps on your machine for LiveCode to 
>> access
>> 
>> One other thing - I always add “ - development” or “ - distribution” to 
>> profile names so that when it comes to adding the correct one from the 
>> LiveCode drop-down I can be sure I’m adding the correct type of profile…
>> 
>> Kind regards
>> 
>> Dave
>> 
>> 


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

Re: tsneterr ???

2016-09-29 Thread Charles Warwick

Hi Klaus,


both together form a valid pathname, of course!
Anyway I get:
tsneterr: (21) QUOT string not accepted:
DELE /the_above_menitoned/pathname

I see this in a standalone.

And yes I know tsNet is the new external that replaces (more or less) libUrl,
but does it not support DELETE URL XXX? Do I need to use another syntax?


tsNet does support the delete url syntax.  I have tested it here with 
FTP and it works.


The error code (21) indicates that the remote FTP server rejected the 
DELE command that was sent by your standalone.


Can you confirm if the error you are seeing come back includes the 
filename in the path, or just the path?  Do you have permission to 
delete that file on the server?


Regards,

Charles


Any hints welcome, thank you!

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

2016-09-29 Thread Dave Kilroy
Jacque’s AirLaunch

> Is anyone else using testFlight?  What is your favorite way to generate the 
> .ipa file? 
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: corrupted stack

2016-09-29 Thread Mike Kerner
Well, it does not open mine.  I just tried.

On Thu, Sep 29, 2016 at 2:45 PM, mwieder  wrote:

> Richard Gaskin wrote
> > Thanks for filing that report, Mark.
> >
> > Just to clarify:  the issue is limited to saving in legacy format 2.7 or
> > earlier - is that corrrect?
>
> Not entirely. That was one method of getting corrupted stacks,
> but there's another bug report I filed as well where a stack just somehow
> got corrupted. It can no longer be opened with LC8, but apparently
> LC 8.1.1 can deal with it. I have banned LC8 versions from any of my
> computers, but so far LC 8.1.1 seems to be behaving.
>
>
> Richard Gaskin wrote
> > Also:  I'm replying to Mike's post because your original post in this
> > thread does not appear in this month's archive.  How could that be?
> > http://lists.runrev.com/pipermail/use-livecode/2016-September/date.html
>
> Yeah.
> I'm using Nabble to post to the list these days.
> It's more reliable than posting to the list directly, especially after a
> couple
> of weeks of not being able to post or receive list emails.
> My guess is that lists.runrev.com is running on the on-rev system,
> and inherits all the problems that those servers have.
>
>
>
>
>
> -
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/corrupted-stack-tp4703722p4709033.html
> Sent from the Revolution - User mailing list archive at Nabble.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
>



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

2016-09-29 Thread mwieder
Richard Gaskin wrote
> Thanks for filing that report, Mark.
> 
> Just to clarify:  the issue is limited to saving in legacy format 2.7 or 
> earlier - is that corrrect?

Not entirely. That was one method of getting corrupted stacks,
but there's another bug report I filed as well where a stack just somehow
got corrupted. It can no longer be opened with LC8, but apparently
LC 8.1.1 can deal with it. I have banned LC8 versions from any of my
computers, but so far LC 8.1.1 seems to be behaving.


Richard Gaskin wrote
> Also:  I'm replying to Mike's post because your original post in this 
> thread does not appear in this month's archive.  How could that be?
> http://lists.runrev.com/pipermail/use-livecode/2016-September/date.html

Yeah.
I'm using Nabble to post to the list these days.
It's more reliable than posting to the list directly, especially after a
couple
of weeks of not being able to post or receive list emails.
My guess is that lists.runrev.com is running on the on-rev system,
and inherits all the problems that those servers have.





-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/corrupted-stack-tp4703722p4709033.html
Sent from the Revolution - User mailing list archive at Nabble.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: corrupted stack

2016-09-29 Thread Mike Kerner
I sent him a copy of mine, just in case.

On Thu, Sep 29, 2016 at 1:51 PM, Mike Kerner 
wrote:

> well, I'm not saving in legacy format.
>
> On Thu, Sep 29, 2016 at 1:14 PM, Richard Gaskin <
> ambassa...@fourthworld.com> wrote:
>
>> Mike Kerner wrote:
>>
>> > I just ran into this, yesterday.  I don't know if it matters that I
>> > was using glx2 at the time, or not, but it was my foray into using
>> > glx2 in about a year.
>> >
>> > On Sun, Apr 24, 2016 at 12:03 PM, Mark Wieder wrote:
>> >
>> >> On 04/21/2016 08:39 PM, Mark Wieder wrote:
>> >>
>> >>> I just got my first corrupted stack possibly ever.
>> >>>
>> >>
>> >> Yow! It's completely repeatable, so I filed bug 17508.
>>
>> Thanks for filing that report, Mark.
>>
>> Just to clarify:  the issue is limited to saving in legacy format 2.7 or
>> earlier - is that corrrect?
>>
>> Also:  I'm replying to Mike's post because your original post in this
>> thread does not appear in this month's archive.  How could that be?
>> http://lists.runrev.com/pipermail/use-livecode/2016-September/date.html
>>
>> --
>>  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
>>
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>



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


Re: corrupted stack

2016-09-29 Thread Mike Kerner
well, I'm not saving in legacy format.

On Thu, Sep 29, 2016 at 1:14 PM, Richard Gaskin 
wrote:

> Mike Kerner wrote:
>
> > I just ran into this, yesterday.  I don't know if it matters that I
> > was using glx2 at the time, or not, but it was my foray into using
> > glx2 in about a year.
> >
> > On Sun, Apr 24, 2016 at 12:03 PM, Mark Wieder wrote:
> >
> >> On 04/21/2016 08:39 PM, Mark Wieder wrote:
> >>
> >>> I just got my first corrupted stack possibly ever.
> >>>
> >>
> >> Yow! It's completely repeatable, so I filed bug 17508.
>
> Thanks for filing that report, Mark.
>
> Just to clarify:  the issue is limited to saving in legacy format 2.7 or
> earlier - is that corrrect?
>
> Also:  I'm replying to Mike's post because your original post in this
> thread does not appear in this month's archive.  How could that be?
> http://lists.runrev.com/pipermail/use-livecode/2016-September/date.html
>
> --
>  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
>



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


tsneterr ???

2016-09-29 Thread Klaus major-k
Hi friends,

I have a stack that I have been using for years, some simple FTP and HTML 
stuff, 
but with LC 8.1 I get an error when I use:
...
delete URL (zielordner & todel)
...
where "zielordner" is a valid folder on my server, "todel" a valid filename and
both together form a valid pathname, of course!

Anyway I get:
tsneterr: (21) QUOT string not accepted:
DELE /the_above_menitoned/pathname

I see this in a standalone.

And yes I know tsNet is the new external that replaces (more or less) libUrl,
but does it not support DELETE URL XXX? Do I need to use another syntax?

Any hints welcome, thank you!


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

2016-09-29 Thread Richard Gaskin

Mike Kerner wrote:

> I just ran into this, yesterday.  I don't know if it matters that I
> was using glx2 at the time, or not, but it was my foray into using
> glx2 in about a year.
>
> On Sun, Apr 24, 2016 at 12:03 PM, Mark Wieder wrote:
>
>> On 04/21/2016 08:39 PM, Mark Wieder wrote:
>>
>>> I just got my first corrupted stack possibly ever.
>>>
>>
>> Yow! It's completely repeatable, so I filed bug 17508.

Thanks for filing that report, Mark.

Just to clarify:  the issue is limited to saving in legacy format 2.7 or 
earlier - is that corrrect?


Also:  I'm replying to Mike's post because your original post in this 
thread does not appear in this month's archive.  How could that be?

http://lists.runrev.com/pipermail/use-livecode/2016-September/date.html

--
 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: Opening a stack without a .livecode extension

2016-09-29 Thread Richard Gaskin

Graham Samuel wrote:

> Thanks Richard. You're right (of course!), it’s a path problem. But
> it’s a pretty subtle one, since I obtained the path by executing
>  put specialFolderPath("preferences") & “/my preferences" into
> tPrefsPath
>
> Which should have given me a cast iron result. Turns out that this
> produces a path with a redundant slash at the front! I don’t think
> this used to happen. Anyway when I delete the first char of the path,
> then it all works. Perhaps this is a bug - I will try to confirm it
> and isolate it.

If any paths returned from specialFolderPath() end in "/" that should be 
reported so it can be addressed ASAP.  So many things will start to 
break if that's the case, so I'm sure the team would want to jump on 
that quickly.


The recipe should be simple enough, just running this in the Message Box:

  put specialFolderPath("preferences")

If the trailing "/" is there please report it, and if not we'll need to 
figure out how it got there in your script.


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

2016-09-29 Thread mwieder
Probably not glx2 itself, although LC8 did corrupt a build of glx2 and I had
to revert to an archived copy. That's filed as a separated (but maybe
related) bug report, and Panos says it should be fixed with 8.1.1. I haven't
gone back to check that out, but I can also say that 8.1.1 hasn't produced
any corrupted stacks for me. Yet.



-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/corrupted-stack-tp4703722p4709026.html
Sent from the Revolution - User mailing list archive at Nabble.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: Opening a stack without a .livecode extension

2016-09-29 Thread Graham Samuel
Thanks Richard. You're right (of course!), it’s a path problem. But it’s a 
pretty subtle one, since I obtained the path by executing
 put specialFolderPath("preferences") & “/my preferences" into tPrefsPath

Which should have given me a cast iron result. Turns out that this produces a 
path with a redundant slash at the front! I don’t think this used to happen. 
Anyway when I delete the first char of the path, then it all works. Perhaps 
this is a bug - I will try to confirm it and isolate it.

To clarify, I didn’t create the original preferences stack - that was done by 
Jacque Gay’s Zygodact system.

Cheers

Graham

PS Sorry for the misleading subject line.

> On 29 Sep 2016, at 16:06, Richard Gaskin  wrote:
> 
> Graham wrote:
> 
> > I’ve got a preferences stack which is called something like “my
> > preferences”. It’s not called “my preferences.livecode”. It’s a
> > mainstack, not a substack of any other. The path to the stack is
> > of the form
> >
> > /Users/Graham/Library/Preferences/my preferences
> >
> > If I put the path to the stack in a variable and then try to open it
> > from within another stack, as in
> >
> > go card 1 of stack pathToMyStack
> >
> > It doesn’t open and ‘exists’ says it doesn’t exist - but it can be
> > opened from the IDE.
> 
> I'm assuming by "opened from the IDE" you mean via the File -> Open Stack 
> menu item, yes?
> 
> If so, then it would seem most likely the culprit is the path.
> 
> With any file I/O operations it's helpful to check both the result and the 
> sysError function; the former will let you know something is wrong, and the 
> latter will let the OS tell you exactly what the problem is.
> 
> Try this:
> 
>   go card 1 of stack pathToMyStack
>   if the result is not empty then
>  answer the result & " (&" sysError() &")" & cr \
>& pathToMyStack
>  exit to top
>   end if
> 
> This will tell you:
> - What LiveCode thinks the problem is
> - What the OS thinks the problem is
> - Whether the path looks like what you think it should look like
> 
> sysError will return an integer that reflects the OS error code.  Most OS 
> vendors provide lists of error codes, so if the error isn't obvious from the 
> other feedback in that answer dialog a quick Google search should help you 
> find exactly what you need to resolve it.
> 
> 
> > I thought at first this was because I didn’t include an extension
> > (“.livecode”), but that’s not apparently the issue.
> 
> Yes, LiveCode will open any file in a valid LiveCode stack file regardless of 
> the file name extension.  This is by design, allowing us to use stack files 
> as documents or other persistent storage in our own apps if we like.
> 
> -- 
> 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

testflight

2016-09-29 Thread Mike Kerner
Is anyone else using testFlight?  What is your favorite way to generate the
.ipa file?

-- 
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: Opening a stack without a .livecode extension

2016-09-29 Thread Richard Gaskin

Graham wrote:

> I’ve got a preferences stack which is called something like “my
> preferences”. It’s not called “my preferences.livecode”. It’s a
> mainstack, not a substack of any other. The path to the stack is
> of the form
>
> /Users/Graham/Library/Preferences/my preferences
>
> If I put the path to the stack in a variable and then try to open it
> from within another stack, as in
>
> go card 1 of stack pathToMyStack
>
> It doesn’t open and ‘exists’ says it doesn’t exist - but it can be
> opened from the IDE.

I'm assuming by "opened from the IDE" you mean via the File -> Open 
Stack menu item, yes?


If so, then it would seem most likely the culprit is the path.

With any file I/O operations it's helpful to check both the result and 
the sysError function; the former will let you know something is wrong, 
and the latter will let the OS tell you exactly what the problem is.


Try this:

   go card 1 of stack pathToMyStack
   if the result is not empty then
  answer the result & " (&" sysError() &")" & cr \
& pathToMyStack
  exit to top
   end if

This will tell you:
- What LiveCode thinks the problem is
- What the OS thinks the problem is
- Whether the path looks like what you think it should look like

sysError will return an integer that reflects the OS error code.  Most 
OS vendors provide lists of error codes, so if the error isn't obvious 
from the other feedback in that answer dialog a quick Google search 
should help you find exactly what you need to resolve it.



> I thought at first this was because I didn’t include an extension
> (“.livecode”), but that’s not apparently the issue.

Yes, LiveCode will open any file in a valid LiveCode stack file 
regardless of the file name extension.  This is by design, allowing us 
to use stack files as documents or other persistent storage in our own 
apps if we like.


--
 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: [OT] Looking for a statistic

2016-09-29 Thread Roger Eller
On Sep 28, 2016 1:25 PM, "Richard Gaskin" 
wrote:
>
> Recent metrics suggest that on mobile devices users spend about 80% of
their time in apps, with only 20% in their phone's browser:

Depending on which browser a user prefers, and whether it supports
user-agent spoofing, even the mobile stats are likely off by a small
margin.  I like Dolphin Browser, which on my Android tablet I set it to
"Desktop" to force the full site to display.  It can pretend to be an
iPhone or iPad as well, and the resulting page displayed is different.
Interestingly enough, when in Desktop mode, the headers are saying my
browser is Safari.  Again, this is on Android, so nothing is real,
statistically speaking.  ;-)

~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


Opening a stack from an OSX library

2016-09-29 Thread Graham Samuel
I just sent this mail under the wrong subject - please ignore that version! G

I’ve got a preferences stack which is called something like “my preferences”. 
It’s not called “my preferences.livecode”. It’s a mainstack, not a substack of 
any other. The path to the stack is of the form

/Users/Graham/Library/Preferences/my preferences

If I put the path to the stack in a variable and then try to open it from 
within another stack, as in

go card 1 of stack pathToMyStack

It doesn’t open and ‘exists’ says it doesn’t exist - but it can be opened from 
the IDE.

If I do the same experiment outside my Library folder, it seems to be OK.

I thought at first this was because I didn’t include an extension 
(“.livecode”0, but that’s not apparently the issue.

The Dictionary entry for ‘go' says:

> If you specify a file path or http URL, the command opens the main stack of 
> the specified stack file.

Can anyone explain what’s happening?

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] Looking for a statistic

2016-09-29 Thread Mike Kerner
There are other ways that the stats can be gleaned - protocol headers, for
one, but you have to find someone who is collecting them and is sharing the
info.

On Wed, Sep 28, 2016 at 7:16 PM, Terry Judd 
wrote:

> Hi Richard - I think you may struggle to find that number, and even if you
> do I’d question how useful it is, particularly if it is based on
> self-reports. You really need to use ‘spyware’ to capture this sort of data
> accurately and there are probably only a small number of people doing this
> legitimately and on large enough a scale to be able to report what you’re
> after. I only know of relatively small scale stuff related to students’ use
> of computers, and even that is a few years old now.
>
>
>
> Terry...
>
>
>
> On 29/09/2016 7:16 am, "use-livecode on behalf of Richard Gaskin" <
> use-livecode-boun...@lists.runrev.com on behalf of
> ambassa...@fourthworld.com> wrote:
>
>
>
> Given the breadth of workflows the desktop supports, a single stat may
>
> not be possible to find.  But hopefully I'll be able to turn up an
>
> average somewhere.
>
>
>
> Terry Judd  | Senior Lecturer in Medical Education
> Department of Medical Education education>
> The University of Melbourne
> M: 0435 961 594  |  E: terry.j...@unimelb.edu.au >
> Publications XC5s6wwJ=en>
>
>
> ___
> use-livecode mailing list
> use-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

Opening a stack without a .livecode extension

2016-09-29 Thread Graham Samuel
I’ve got a preferences stack which is called something like “my preferences”. 
It’s not called “my preferences.livecode”. It’s a mainstack, not a substack of 
any other. The path to the stack is of the form

/Users/Graham/Library/Preferences/my preferences

If I put the path to the stack in a variable and then try to open it from 
within another stack, as in

go card 1 of stack pathToMyStack

It doesn’t open and ‘exists’ says it doesn’t exist - but it can be opened from 
the IDE.

If I do the same experiment outside my Library folder, it seems to be OK.

I thought at first this was because I didn’t include an extension 
(“.livecode”0, but that’s not apparently the issue.

The Dictionary entry for ‘go' says:

> If you specify a file path or http URL, the command opens the main stack of 
> the specified stack file.

Can anyone explain what’s happening?

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

Re: LC 8.1.1. rc1 thinks I'm rich!

2016-09-29 Thread Graham Samuel
Thanks Monte for your instant reply! The way I normally do development is to 
load my splash stack into the IDE, and when I’m ready to test, send a ‘startup’ 
message via the message box. I don’t expect the IDE to fire startup on my 
behalf. This means that I can start a test within the IDE whenever I want, but 
in my standalone the ‘startup’ will always be there to get my app going.

I don’t think I had this problem in any earlier version of LC. Maybe I should 
suppress messages before loading my stack into the IDE, but again I don’t 
remember having to do that before.

As you suggest it, I will report this.

Cheers

Graham

> On 29 Sep 2016, at 10:15, Monte Goulding  wrote:
> 
> Graham
> 
> Does your stack either not handle startup or pass startup? In either of those 
> cases the home stack startup script is probably being run again. So there’s 
> an easy workaround for you: don’t pass startup or make sure you handle it. 
> But it would be good if you also reported this because unarguably the home 
> stack startup script should be protected by a sentinel from running multiple 
> times.
> 
> Cheers
> 
> Monte
> 
>> On 29 Sep 2016, at 6:55 PM, Graham Samuel  wrote:
>> 
>> Just installed 8.1.1rc1. I have an Indy licence, which it acknowledges. I 
>> then open a stack I’m working on and try to send it a message via the 
>> message box:
>> 
>> send startup to cd 1 of stack “mystack”
>> 
>> The window warning that the Indy license is only valid for organisations 
>> with a turnover of $500K or less reappears, and I can’t dismiss it or get it 
>> to go into the background - although I can look at scripts, quit etc.
>> 
>> I tried re-licensing LiveCode with exactly the same result. I tried 
>> correcting the message (should have put quotes around ‘startup’) - same 
>> result.
>> 
>> Has anyone else seen this - is it a bug? How does LC ‘know’ that I’ve got a 
>> big turnover (I haven’t)?
>> 
>> Should I report this?
>> 
>> Graham
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: LC 8.1.1. rc1 thinks I'm rich!

2016-09-29 Thread Monte Goulding
Graham

Does your stack either not handle startup or pass startup? In either of those 
cases the home stack startup script is probably being run again. So there’s an 
easy workaround for you: don’t pass startup or make sure you handle it. But it 
would be good if you also reported this because unarguably the home stack 
startup script should be protected by a sentinel from running multiple times.

Cheers

Monte

> On 29 Sep 2016, at 6:55 PM, Graham Samuel  wrote:
> 
> Just installed 8.1.1rc1. I have an Indy licence, which it acknowledges. I 
> then open a stack I’m working on and try to send it a message via the message 
> box:
> 
> send startup to cd 1 of stack “mystack”
> 
> The window warning that the Indy license is only valid for organisations with 
> a turnover of $500K or less reappears, and I can’t dismiss it or get it to go 
> into the background - although I can look at scripts, quit etc.
> 
> I tried re-licensing LiveCode with exactly the same result. I tried 
> correcting the message (should have put quotes around ‘startup’) - same 
> result.
> 
> Has anyone else seen this - is it a bug? How does LC ‘know’ that I’ve got a 
> big turnover (I haven’t)?
> 
> Should I report this?
> 
> 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

LC 8.1.1. rc1 thinks I'm rich!

2016-09-29 Thread Graham Samuel
Just installed 8.1.1rc1. I have an Indy licence, which it acknowledges. I then 
open a stack I’m working on and try to send it a message via the message box:

send startup to cd 1 of stack “mystack”

The window warning that the Indy license is only valid for organisations with a 
turnover of $500K or less reappears, and I can’t dismiss it or get it to go 
into the background - although I can look at scripts, quit etc.

I tried re-licensing LiveCode with exactly the same result. I tried correcting 
the message (should have put quotes around ‘startup’) - same result.

Has anyone else seen this - is it a bug? How does LC ‘know’ that I’ve got a big 
turnover (I haven’t)?

Should I report this?

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

Re: Help Adding Cookie support to libURL

2016-09-29 Thread Peter TB Brett

On 29/09/2016 02:30, Trevor DeVore wrote:

Hey gang,

I've been going through a customized version of libURL that I've
distributed with the GLX App Framework for years and incorporating the
changes into libURL. Some additions are new features while others are bug
fixes. Some changes have been merged in already and others I'm finishing
up.

Writing bug reports, coming up with tests, and reviewing the code takes a
bit of time and there is one feature that I don't have time to finish up at
the moment. I'm looking for someone to help out with seamless cookie
support. I'm looking for someone who might be able to take what I've done
and finish it up so that it can be included with LiveCode. I wrote enough
code to make it work for my projects back in the day but it needs some work
still before it can be distributed with LiveCode.

Here is the current pull request:

https://github.com/livecode/livecode/pull/4561

Peter has done an initial review and made some comments. If anyone here
loves a good RFC and wants to update the code to make sure it is compliant
please let me know.


Hi Trevor,

Thank you very much for your hard work over the last few days to get 
your many excellent changes upstream.  It's definitely going to make a 
significant improvement to libURL.


I hope someone else from the community has the opportunity to finish off 
the cookie management feature for you!


  Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

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