Re: Make substack a mainstack?

2016-09-26 Thread Alan
Thanks for submitting that Peter.

However... I just tested your recipe, and found that it does actually seem to 
work in that case. I just created a main stack, then a substack, and could 
successfully change the mainstack property of the substack to itself, i.e. to 
move it out into a stack on it's own.

Weird. I wonder what else is going on in my other stack where it doesn't work? 
(This with LC 8.1.0). Perhaps in a stack made with a previous version? No, just 
tried this with a similar stack created in 7.1.

Strangely, now it works in my development stack where it didn't work 
previously. Hmm... perhaps another temporary glitch...? Will report anything if 
I can reproduce it consistently.

Will add this commentary to the bug report.

cheers

Alan

On 27 Sep 2016, at 4:50 am, use-livecode-requ...@lists.runrev.com wrote:

> Date: Mon, 26 Sep 2016 09:01:34 -0700
> From: Peter Bogdanoff 
> 
> Submitted Bug 18491 - Substack no longer can become a mainstack via property 
> inspector
> 
> The Inspector is still wonky. I don?t like how it now only inspects one 
> control. You have to show another inspector to view properties of another 
> control.
> 
> Peter Bogdanoff


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


Dragging Objects on Android

2016-09-26 Thread Sannyasin Brahmanathaswami
Is anyone successfully setting up a UX where the user can drag objects around 
the screen that actually works on Android?
We invested a lot of time, thought and now $ for a developer to carry out the 
vision for a UX that uses "grab me" for tiles on screen … initially for  two 
small puzzle games, one a word/sentence scrabble and another an image puzzle. 
We have (had?) plans for other modules that use grab me. And this user 
interaction is pretty basic to a lot of touch/game interfaces. it's "so old" 
that I never imagined it could fail.
It works great on Desktop and on iOS, but to our dismay, when we tested on 
Android it failed so badly as to be a show stopper.
see:
http://quality.livecode.com/show_bug.cgi?id=18476
Jacque has a test stack there that we developed together… you can try…
The hard code was getting puzzle tiles made dynamically, (tks to Peter Brett's 
tip on cropping  a snapshot…) after that it is a simple matter to attach a 
behavior to each of the tiles (script below)  We tried following mouseMove 
instead of using grab me… but the performance is no better than grab me, on 
Android: basically unusable.
Any insights?
local sDragging
On MouseDown
# don't let user drag an image that was placed successfully:
if the uInPlace of me <> "true" then
set the layer of me to top
-- grab me
put true into sDragging
end if
end MouseDown
on mouseMove x,y
if not sDragging then exit mouseMove
set the loc of me to minMax(the rect of this cd)
glowtile me, word 1 of checkHomeProximity()
end mouseMove
function minMax pRect -- get a point within bounds
if pRect = "" then
put the rect of this card into pRect
end if
put max(item 1 of pRect,min(item 3 of pRect,the mouseh)) into x
put max(item 2 of pRect,min(item 4 of pRect,the mousev)) into y
return x,y
end minMax
on mouseUp
-- outOfFrame
put false into sDragging
put checkHomeProximity() into tIsHome
if word 1 of tIsHome = true then
set the loc of me to the uWordLocation of me
glowtile me, false
set the uInPlace of me to "true"
set the showborder of me to "false"
runpixie
end if
checkCompletion
end mouseUp
on mouseRelease
put false into sDragging
end mouseRelease
## We need to disallow dragging outside the bounds
## of the card:
command outOfFrame
put the rect of this card into tBounds
put the loc of me into tMyLoc
put tMyLoc into tStartLoc
switch
case ( (item 2 of tMyLoc) > (item 4 of tBounds) )
put (item 4 of tBounds -20) into tVaxis
put tVaxis into item 2 of tMyloc
put 1 into tOutOfBoundsFlag
break
case (item 2 of tMyLoc <0)
put 30 into item 2 of tMyloc
put 1 into tOutOfBoundsFlag
break
case ( (item 1 of tMyLoc) > (item 3 of tBounds) )
put item 3 of tBounds-20 into tHaxis
put tHaxis into item 1 of tMyLoc
put 1 into tOutOfBoundsFlag
break
case (item 1 of tMyLoc <0)
put 30 into item 1 of tMyloc
put 1 into tOutOfBoundsFlag
end switch
if tOutOfBoundsFlag = 1 then
set the loc of me to tMyLoc
put 0 into tOutOfBoundsFlat
end if
# MONITOR:
--put tStartLoc & cr & tMyLoc & cr & tBounds
end outOfFrame
function checkHomeProximity # Cause tile to snap to location if close
put the uWordLocation of me into tMyHome
put the abs of (item 1 of the loc of me - item 1 of tMyHome) into tLeftDistance
put the abs of (item 2 of the loc of me - item 2 of tMyHome) into tTopDistance
if (the abs of (item 1 of the loc of me - item 1 of tMyHome) < 20) AND \
(the abs of (item 2 of the loc of me - item 2 of tMyHome) <20) then
return "true"
end if
return false
end checkHomeProximity

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

Re: 8.1.1 RC 1 - iOS Standalone Build Failure

2016-09-26 Thread Sannyasin Brahmanathaswami
Thank Panos… confirmed it works… 

and, good news, 

the initial error complaining that the 
Contents/Tools/Rutime/iOS/Device-10_0/revdb )

# and many other error lines like that; 
# that would go away the second time… 

has gone away… I get a clean build on first go.



 

On 9/26/16, 7:49 AM, "use-livecode on behalf of panagiotis merakos" 
 wrote:

Hi Brahmanathaswami,

This error happens because in your existing stack you have set the min ios
version to iOS 5.1.1, which is not supported in LC 8.1.1 RC1. Just set the
minimum iOS version to 6.0 in the standalone app settings for iOS, and the
error will disappear.

Best
Panos

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

[ANN] This Week in LiveCode 52

2016-09-26 Thread Alejandro Tejada
Hi All,

Richard Gaskin wrote:

> Of particular interest to me was this item:
> Research presented at ICER2016 showed lower overall cognitive
> load for LiveCode developers
> http://dl.acm.org/citation.cfm?doid=2960310.2960321
> Unfortunately that article is behind the ACM's paywall.
> Anyone here know if that article is also available through a
> publicly-accessible source?

When I was suscribed to ISTE and IEEE, one of the most useful services
they offered was access to many paywalled libraries and documents.

Unfortunately, the Special Interest Group (SIG) that I choose in ISTE
was mostly inactive: HyperSIG

Alejandro

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


Re: "Command" as control structure?

2016-09-26 Thread Dr. Hawkins
On Sun, Sep 25, 2016 at 1:49 PM, Mike Bonner  wrote:

> I don't think there is a difference, though I use command for my handlers
>

I started doing that a while back, but have gotten rid of them.

if I search for "on commandName", it catches both functions and commands .
. .


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


The Achilles heel of Android and iOS

2016-09-26 Thread Alejandro Tejada
Hi All,

Thanks for sharing many
interesting points of view.

On Sat Sep 24 2016, Kay C Lan wrote:

> And you wonder why people are so eager to go out
> and buy the latest and greatest when they can't even
> tell the difference with what they've already got.
> It's not about the phone/shoes/handbag/car, it's about
> the perception of 'the haves' vs 'the have nots'.

If computer technology has become just another
fashion item that buys status, then I understand
how this technological era would comes to an end:
A Popular Phone App, with a zero day
vulnerability...

On Sun Sep 25 2016, Matt Maier wrote:

> Of the two skills, engineering and sales,
> it's the sales skill that's more generally useful
> (provided there are other humans around).
> If an engineer does good engineering
> they STILL have to find a salesman.
> If a salesman does good sales they don't
> necessarily even need a real product
> or service at all.

Good point. This brings to my memory a
conversation about Japan where this
visitor remarked surprised that all middleman
(or salesman) that he visited there while doing
business, were extremely wealthy. The words
that he used was "A life of extravagant luxury"

If you think about it, this is expected because
all Industrial Japanese Products (including mass
media phenomenon like games, movies, music,
etc) have been sold by middlemen, not directly
by their creators.

In USA, the pattern is the same and some of
the richest companies are Middlemen too:
Walmart, Amazon, Google and many more
make their fortune selling other people's creations
and products.

Alejandro

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


Re: [ANN] This Week in LiveCode 52

2016-09-26 Thread mwieder
Chortle.



-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-This-Week-in-LiveCode-52-tp4708927p4708954.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: [ANN] This Week in LiveCode 52

2016-09-26 Thread Richard Gaskin

Peter Bogdanoff wrote:

> The article PDF in question has this:
>
> "Permission to make digital or hard copies of all or part of this
> work for personal or classroom use is granted without fee provided
> that copies are not made or distributed for profit or commercial
> advantage and that copies bear this notice and the full citation on
> the first page.”
>
> So, here it is, but don’t sell it:
>
> https://www.dropbox.com/s/qy0fkopkung80wy/mason2016.pdf?dl=0

Thank you, Peter.

--
 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: iOS font issue - iPhone 6 + 6S not using custom font

2016-09-26 Thread Scott Rossi
Not sure if anyone has responded to this, but yes it has been a problem
for some time.

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


Custom fonts display correctly on devices, but not in certain simulators.


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/22/16, 8:07 PM, "use-livecode on behalf of Alan"
 wrote:

>Has anyone else seen a custom font (imported using the Copy Files part of
>Standalone builder) not being used in iPhone 6 and 6S, but it works ok
>with anything earlier?  This is on Simulator 8.2.
>
>Strange that there's this anomaly, isn't it?
>
>Using LC 8.1.
>
>cheers
>
>Alan
>--
>Alan Stenhouse
>alanstenho...@hotmail.com
>
>Check out our apps on the App Store:
>
>BeatSpeak - the multilingual talking metronome
>EV-Point - Find your nearest Electric Vehicle Recharge Station.
>Re-Collections - Make your family history come to life. Every picture
>tells your story.
>
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: [ANN] This Week in LiveCode 52

2016-09-26 Thread Peter Bogdanoff
The article PDF in question has this:

"Permission to make digital or hard copies of all or part of this work for 
personal or classroom use is granted without fee provided that copies are not 
made or distributed for profit or commercial advantage and that copies bear 
this notice and the full citation on the first page.”

So, here it is, but don’t sell it:

https://www.dropbox.com/s/qy0fkopkung80wy/mason2016.pdf?dl=0


On Sep 26, 2016, at 12:02 PM, Peter TB Brett  wrote:

> On 26/09/2016 18:32, Richard Gaskin wrote:
>> Good update, Peter.  Happy anniversary.
>> 
>> Of particular interest to me was this item:
>> 
>>  Research presented at ICER2016 showed lower overall cognitive
>>  load for LiveCode developers
>>  http://dl.acm.org/citation.cfm?doid=2960310.2960321
>> 
>> Unfortunately that article is behind the ACM's paywall.
>> 
>> Anyone here know if that article is also available through a
>> publicly-accessible source?
> 
> It was available a couple of weeks ago.
> 
> Now, online copyright infringement is a terrible thing, and so I very 
> strongly recommend that you do not visit https://moscow.sci-hub.ac/, and 
> don't type "Flipping the Assessment of Cognitive Load: Why and How" into its 
> search box, and _definitely_ don't click the button with a picture of a key 
> next to it.
> 
> After all, anyone would agree that the amount that academic publishers charge 
> for access to the articles they publish is totally reasonable, considering 
> that the great costs of getting researchers to write papers (for free) and 
> getting other researchers to review them (also for free).
> 
> So I strongly recommend that you go ahead and pay the very modest $15 that 
> the ACM are asking for.  How else than by charging for each and every 
> download of every publication can they further their stated purpose of "... 
> serving both professional and public interests by fostering the open 
> interchange of information..."?
> 
> 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


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


Re: Make substack a mainstack?

2016-09-26 Thread Richard Gaskin

Peter Bogdanoff wrote:

> Except when you use the Object menu and inspect card or stack (which
> shows the inspector), then select an object with the edit tool and
> choose “Inspect object,” then you get another inspector. They start
> to pile up…
>
> This is the basis of this bug report:
> http://quality.livecode.com/show_bug.cgi?id=18291

Agreed, it'll be good to see all means of opening the PI open it with 
the lock set to false by default.


But for now, as soon as you have any Inspector open click the lock icon 
to unlock it and you're golden.


So inspect a stack click anywhere other than a control.  To inspect a 
card double-click anywhere other than a control.


--
 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: Make substack a mainstack?

2016-09-26 Thread Peter Bogdanoff
Yes, I see that.

Except when you use the Object menu and inspect card or stack (which shows the 
inspector), then select an object with the edit tool and choose “Inspect 
object,” then you get another inspector. They start to pile up…

This is the basis of this bug report:
http://quality.livecode.com/show_bug.cgi?id=18291

Peter

On Sep 26, 2016, at 10:16 AM, Richard Gaskin  wrote:

> Peter Bogdanoff wrote:
> 
> > The Inspector is still wonky. I don’t like how it now only inspects
> > one control. You have to show another inspector to view properties
> > of another control.
> 
> The Inspector still has the lock icon it's had for many versions, which keeps 
> it locked to a specific object.  When turned off it dynamically changes with 
> changes to the selected objects.
> 
> The only change in v8 is that now when the Inspector is opened from the 
> right-click menu in the Project Browser it opens with the lock set by 
> default, whereas in other contexts the default is that the lock is off:
> http://quality.livecode.com/show_bug.cgi?id=18423
> 
> Just open the Inspector by either double-clicking an object or selecting the 
> Inspector when right-clicking on the object with the pointer tool active and 
> it'll open in the default unlocked state you're accustomed to.
> 
> If you open it from the PB and the lock is set, click the lock icon to resume 
> that dynamic behavior.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: ANN: new glx2 script editor now on line

2016-09-26 Thread mwieder
Indeed. I think that would be an excellent place to start.



-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-new-glx2-script-editor-now-on-line-tp4708283p4708948.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: "Command" as control structure?

2016-09-26 Thread Peter Bogdanoff
Thanks Jeanne, that makes sense.


On Sep 26, 2016, at 9:53 AM, Jeanne A. E. DeVoto  
wrote:

> At 1:20 PM -0700 9/25/2016, Peter Bogdanoff wrote:
>> I see that "command" is a synonym of "on" in LC script.
>> 
>> Is using "command" rather than "on" a purely style preference?
>> 
>> I see in the old LiveCode dictionary:
>>  The command synonym, along with the ability to declare private handlers 
>> was added in LiveCode 2.8.1
>> 
>> Why? Is this something to do with the message path?
> 
> 
> Some people prefer to use "on" for handlers of built-in messages, and 
> "command" to designate custom-written commands:
> 
>   on mouseUp
>  -- do some stuff when the mouse is clicked
>   end mouseUp
> 
>  command myCommandHere
> -- do my stuff
>  end myCommandHere
> 
> It's just a style preference - as far as I know, it has no effect on how 
> handlers run - but it can be convenient for differentiating between the two 
> types of handlers.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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-26 Thread William Prothero
Whoops! Thanked the wrong person.

Thanks, DAVE.
Best,
Bill

> On Sep 26, 2016, at 12:18 PM, William Prothero  wrote:
> 
> Ben:
> Thanks so much for the procedure. I’ll try it out in a day or two and give 
> feedback.
> Best,
> bill
> 
>> On Sep 26, 2016, at 2:22 AM, Dave Kilroy  wrote:
>> 
>> Hi Ben
>> 
>> 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
>> 
>> 
>> 
>>> After adding a new device to my registered set in my Apple developer 
>>> account, 
>>> how can I get LC to recognise it? 
>>> 
>>> I go through this every now and then, conduct a lot of superstitious 
>>> rituals, 
>>> eventually I get there.. but I never know how. 
>>> 
>>> I've launched Xcode, used it to build an app to the device, which caused it 
>>> to 
>>> say that there was a problem and offer to fix it. Now Xcode can build to 
>>> the 
>>> new device, but LiveCode still not. 
>>> 
>>> The message (when I ask Xcode to add the newly built app to the device) is 
>>> 
>>>   The executable was signed with invalid entitlements. 
>>> 
>>>   The entitlements specified in your application’s Code Signing 
>>> Entitlements file do not match those specified in your 
>>>   provisioning profile. (0xE8008016). 
>>> 
>>> 
>>> In LC, I've selected a different provisioning profile, selected the 
>>> original 
>>> one again, quit and restarted LC, turned to face east, hailed cthulhu, 
>>> etc... 
>>> all the usual things... still no luck. 
>>> 
>>> So, how do I force LC to refresh the provisioning profiles, or otherwise to 
>>> build an app which can be installed on a new device? 
>>> 
>>> Secondary question: how do I get LC to stop seeing every old profile I've 
>>> ever 
>>> had (many with the same name) in the "Profile" popup on the iOS tab of the 
>>> Standalone Settings window? 
>> 
>> TIA, 
>> 
>> Ben 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, 

Re: [ANN] This Week in LiveCode 52

2016-09-26 Thread Peter TB Brett

On 26/09/2016 18:32, Richard Gaskin wrote:

Good update, Peter.  Happy anniversary.

Of particular interest to me was this item:

  Research presented at ICER2016 showed lower overall cognitive
  load for LiveCode developers
  http://dl.acm.org/citation.cfm?doid=2960310.2960321

Unfortunately that article is behind the ACM's paywall.

Anyone here know if that article is also available through a
publicly-accessible source?


It was available a couple of weeks ago.

Now, online copyright infringement is a terrible thing, and so I very 
strongly recommend that you do not visit https://moscow.sci-hub.ac/, and 
don't type "Flipping the Assessment of Cognitive Load: Why and How" into 
its search box, and _definitely_ don't click the button with a picture 
of a key next to it.


After all, anyone would agree that the amount that academic publishers 
charge for access to the articles they publish is totally reasonable, 
considering that the great costs of getting researchers to write papers 
(for free) and getting other researchers to review them (also for free).


So I strongly recommend that you go ahead and pay the very modest $15 
that the ACM are asking for.  How else than by charging for each and 
every download of every publication can they further their stated 
purpose of "... serving both professional and public interests by 
fostering the open interchange of information..."?


 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


Re: 8.1.1 RC 1 - iOS Standalone Build Failure

2016-09-26 Thread panagiotis merakos
Hi Brahmanathaswami,

This error happens because in your existing stack you have set the min ios
version to iOS 5.1.1, which is not supported in LC 8.1.1 RC1. Just set the
minimum iOS version to 6.0 in the standalone app settings for iOS, and the
error will disappear.

Best
Panos
--
On 26 Sep 2016 20:26, "Sannyasin Brahmanathaswami"  wrote:

> I tried a build for iOS yesterday with 8.1.1 RC1 and was informed my xCode
> was behind… OK.. downloaded xCode 8--> LC prefs-> picked it, got green
> light, for current xCode and iOS 10 simulators -- all good to go.
>
> Tried a build.. as has been happening for the past 2 months, every time I
> build the first attempt fails with a long error message about not finding
> the arm files… then you try again and the build succeeds.
>
> This time we had the same behavior: first attempt to build throws the same
> error list, but then on the second attempt I get this  never-before-seen msg
>
> linking for arm (armv7) failed with Id:
> Library not found for -lcrt1.3.1o
> clang: error: linker command failed with
> exit code 1 (use -v to see invocation)
>
> 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: [ANN] This Week in LiveCode 52

2016-09-26 Thread Richard Gaskin

Peter wrote:


Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #52 here: https://goo.gl/nhk41W

Special anniversary edition, because TWiL is 1 year old!


Good update, Peter.  Happy anniversary.

Of particular interest to me was this item:

  Research presented at ICER2016 showed lower overall cognitive
  load for LiveCode developers
  http://dl.acm.org/citation.cfm?doid=2960310.2960321

Unfortunately that article is behind the ACM's paywall.

Anyone here know if that article is also available through a 
publicly-accessible source?


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


8.1.1 RC 1 - iOS Standalone Build Failure

2016-09-26 Thread Sannyasin Brahmanathaswami
I tried a build for iOS yesterday with 8.1.1 RC1 and was informed my xCode was 
behind… OK.. downloaded xCode 8--> LC prefs-> picked it, got green light, for 
current xCode and iOS 10 simulators -- all good to go.

Tried a build.. as has been happening for the past 2 months, every time I build 
the first attempt fails with a long error message about not finding the arm 
files… then you try again and the build succeeds.

This time we had the same behavior: first attempt to build throws the same 
error list, but then on the second attempt I get this  never-before-seen msg

linking for arm (armv7) failed with Id:
Library not found for -lcrt1.3.1o
clang: error: linker command failed with
exit code 1 (use -v to see invocation)

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: ANN: new glx2 script editor now on line

2016-09-26 Thread Mike Kerner
Sorry, I get all the threads jumbled.  I had previously proposed a session
with Edinburgh to review the inyards of the IDE and the SE to make it
easier for more of us to get involved in working on it.  This is a good
example of why that might be a good idea.

On Mon, Sep 26, 2016 at 1:10 PM, Richard Gaskin 
wrote:

> Mike Kerner wrote:
>
> > On Mon, Sep 26, 2016 at 10:29 AM, Richard Gaskin wrote:
> >> For these reasons it may be helpful to consider a path forward
> >> like the one Bernd chose:  pick one feature, work with the core
> >> team to implement it, and submit that pull request, then move
> >> on to the next feature.
> >>
> >> This will help ensure that each new feature is robustly implemented
> >> before we move on to the next one, and along the way each new
> >> feature multiplies the knowledge of the IDE landscape so each
> >> subsequent opportunity becomes ever easier.
> >>
> >> As things progress we may even find someone in our community with
> >> the intersection of interest, time, and ability to begin drafting
> >> a guide to working on the IDE, making the work ever easier for
> >> others as well.
> >>
> >> Of the features listed above ("theming, folding, breadcrumbs,
> >> folders"), which of those has both the highest value to the user
> >> and/or is the easiest to implement?
> >
> > It would be easier to answer the question after the session...
>
> Indeed it may.  What is the question, and what is the session?
>
>
> --
>  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


Re: Make substack a mainstack?

2016-09-26 Thread Richard Gaskin

Peter Bogdanoff wrote:

> The Inspector is still wonky. I don’t like how it now only inspects
> one control. You have to show another inspector to view properties
> of another control.

The Inspector still has the lock icon it's had for many versions, which 
keeps it locked to a specific object.  When turned off it dynamically 
changes with changes to the selected objects.


The only change in v8 is that now when the Inspector is opened from the 
right-click menu in the Project Browser it opens with the lock set by 
default, whereas in other contexts the default is that the lock is off:

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

Just open the Inspector by either double-clicking an object or selecting 
the Inspector when right-clicking on the object with the pointer tool 
active and it'll open in the default unlocked state you're accustomed to.


If you open it from the PB and the lock is set, click the lock icon to 
resume that dynamic behavior.


--
 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: ANN: new glx2 script editor now on line

2016-09-26 Thread Richard Gaskin

Mike Kerner wrote:

> On Mon, Sep 26, 2016 at 10:29 AM, Richard Gaskin wrote:
>> For these reasons it may be helpful to consider a path forward
>> like the one Bernd chose:  pick one feature, work with the core
>> team to implement it, and submit that pull request, then move
>> on to the next feature.
>>
>> This will help ensure that each new feature is robustly implemented
>> before we move on to the next one, and along the way each new
>> feature multiplies the knowledge of the IDE landscape so each
>> subsequent opportunity becomes ever easier.
>>
>> As things progress we may even find someone in our community with
>> the intersection of interest, time, and ability to begin drafting
>> a guide to working on the IDE, making the work ever easier for
>> others as well.
>>
>> Of the features listed above ("theming, folding, breadcrumbs,
>> folders"), which of those has both the highest value to the user
>> and/or is the easiest to implement?
>
> It would be easier to answer the question after the session...

Indeed it may.  What is the question, and what is the session?

--
 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: "Command" as control structure?

2016-09-26 Thread Jeanne A. E. DeVoto

At 1:20 PM -0700 9/25/2016, Peter Bogdanoff wrote:

I see that "command" is a synonym of "on" in LC script.

Is using "command" rather than "on" a purely style preference?

I see in the old LiveCode dictionary:
	The command synonym, along with the ability to declare 
private handlers was added in LiveCode 2.8.1


Why? Is this something to do with the message path?



Some people prefer to use "on" for handlers of built-in messages, and 
"command" to designate custom-written commands:


   on mouseUp
  -- do some stuff when the mouse is clicked
   end mouseUp

  command myCommandHere
 -- do my stuff
  end myCommandHere

It's just a style preference - as far as I know, it has no effect on 
how handlers run - but it can be convenient for differentiating 
between the two types of handlers.


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


Re: Make substack a mainstack?

2016-09-26 Thread Paul Dupuis
I would consider the removal of that feature (the ability to change the
mainstack of a substack - including to itself) from the IDE a "bug". Has
anyone filed a bug report on this?

On 9/26/2016 11:38 AM, Peter Bogdanoff wrote:
> I had that same experience. The Inspector no longer allows you to change a 
> stack from being a substack.
>
> Peter
>
> On Sep 26, 2016, at 7:36 AM, Mike Bonner  wrote:
>
>> You can also do it from the message box.-- set the mainstack of stack
>> "mystack" to "mystack"
>>
>>
>> On Mon, Sep 26, 2016 at 8:12 AM, Richard Gaskin 
>> wrote:
>>
>>> Alan wrote:
>>>
 Using LC 8.1, if I get the stack properties for a sub-stack, I can no
 longer set the substacks mainStack property to be itself - i.e.
 making it an independent stack. This used to be possible in previous
 versions.

 Is this a bug or is there another method of doing it these days?
>>> Everything in the IDE is scripted, so anything you've seen the IDE do is
>>> something you can also do.
>>>
>>> If you clone a substack it'll create a new copy with no filename attached
>>> to it.  You can then delete the original, rename the clone, and use
>>> File->Save, which will prompt you to set a file name for it.
>>>
>>> You may also be able to use the mainstack stack property for that.
>>>
>>> --
>>> Richard Gaskin
>>> Fourth World Systems
>>> Software Design and Development for the Desktop, Mobile, and the Web
>>> 
>>> ambassa...@fourthworld.comhttp://www.FourthWorld.com
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


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


Re: Make substack a mainstack?

2016-09-26 Thread Peter Bogdanoff
Submitted Bug 18491 - Substack no longer can become a mainstack via property 
inspector

The Inspector is still wonky. I don’t like how it now only inspects one 
control. You have to show another inspector to view properties of another 
control.

Peter Bogdanoff


On Sep 26, 2016, at 8:38 AM, Peter Bogdanoff  wrote:

> I had that same experience. The Inspector no longer allows you to change a 
> stack from being a substack.
> 
> Peter
> 
> On Sep 26, 2016, at 7:36 AM, Mike Bonner  wrote:
> 
>> You can also do it from the message box.-- set the mainstack of stack
>> "mystack" to "mystack"
>> 
>> 
>> On Mon, Sep 26, 2016 at 8:12 AM, Richard Gaskin 
>> wrote:
>> 
>>> Alan wrote:
>>> 
 Using LC 8.1, if I get the stack properties for a sub-stack, I can no
 longer set the substacks mainStack property to be itself - i.e.
 making it an independent stack. This used to be possible in previous
 versions.
 
 Is this a bug or is there another method of doing it these days?
>>> 
>>> Everything in the IDE is scripted, so anything you've seen the IDE do is
>>> something you can also do.
>>> 
>>> If you clone a substack it'll create a new copy with no filename attached
>>> to it.  You can then delete the original, rename the clone, and use
>>> File->Save, which will prompt you to set a file name for it.
>>> 
>>> You may also be able to use the mainstack stack property for that.
>>> 
>>> --
>>> Richard Gaskin
>>> Fourth World Systems
>>> Software Design and Development for the Desktop, Mobile, and the Web
>>> 
>>> ambassa...@fourthworld.comhttp://www.FourthWorld.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Make substack a mainstack?

2016-09-26 Thread Peter Bogdanoff
I had that same experience. The Inspector no longer allows you to change a 
stack from being a substack.

Peter

On Sep 26, 2016, at 7:36 AM, Mike Bonner  wrote:

> You can also do it from the message box.-- set the mainstack of stack
> "mystack" to "mystack"
> 
> 
> On Mon, Sep 26, 2016 at 8:12 AM, Richard Gaskin 
> wrote:
> 
>> Alan wrote:
>> 
>>> Using LC 8.1, if I get the stack properties for a sub-stack, I can no
>>> longer set the substacks mainStack property to be itself - i.e.
>>> making it an independent stack. This used to be possible in previous
>>> versions.
>>> 
>>> Is this a bug or is there another method of doing it these days?
>> 
>> Everything in the IDE is scripted, so anything you've seen the IDE do is
>> something you can also do.
>> 
>> If you clone a substack it'll create a new copy with no filename attached
>> to it.  You can then delete the original, rename the clone, and use
>> File->Save, which will prompt you to set a file name for it.
>> 
>> You may also be able to use the mainstack stack property for that.
>> 
>> --
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> 
>> ambassa...@fourthworld.comhttp://www.FourthWorld.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: ANN: new glx2 script editor now on line

2016-09-26 Thread Mike Kerner
It would be easier to answer the question after the session...

On Mon, Sep 26, 2016 at 10:29 AM, Richard Gaskin  wrote:

> Mike Kerner wrote:
>
> > On Sat, Sep 24, 2016 at 2:10 PM, Mark Wieder wrote:
> >
> >> On 09/24/2016 06:17 AM, Mike Kerner wrote:
> >>
> >>> So what would it take to get a bunch of glx2's features rolled into
> >>> the SE so we have one SE instead of two?  Theming, folding,
> >>> breadcrumbs, folders, revisions all are things that would be good
> >>> to add to the SE, and it would make it more compelling to have a
> >>> single SE project.
> >>
> >> Well, I see that Bernd has issued a pull request for code folding,
> >> so that should be on its way soon. And the glx2 script editor is
> >> totally open source, so feel free to grab and use any code in there.
> >>
> >
> > The problem is that without understanding it, we're going to be at a
> > distinct time disadvantage.  I just went through that trying to fix a
> > couple of things in the documentation rendering, this week.  I spent
> > a lot of hours having to learn how it worked, because nobody else
> > knew.
>
> If nobody else knew, nobody else could have documented that knowledge. :)
>
> Given the SE's central role in the IDE, it's an exciting prospect for
> community contribution.  And given the nature of its role, it's also one of
> the more complex components in the IDE, and one which is in nearly
> continual flux as the core team continues working on it in each version.
>
> For these reasons it may be helpful to consider a path forward like the
> one Bernd chose:  pick one feature, work with the core team to implement
> it, and submit that pull request, then move on to the next feature.
>
> This will help ensure that each new feature is robustly implemented before
> we move on to the next one, and along the way each new feature multiplies
> the knowledge of the IDE landscape so each subsequent opportunity becomes
> ever easier.
>
> As things progress we may even find someone in our community with the
> intersection of interest, time, and ability to begin drafting a guide to
> working on the IDE, making the work ever easier for others as well.
>
> Of the features listed above ("theming, folding, breadcrumbs, folders"),
> which of those has both the highest value to the user and/or is the easiest
> to implement?
>
> --
>  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


Re: Make substack a mainstack?

2016-09-26 Thread Mike Bonner
You can also do it from the message box.-- set the mainstack of stack
"mystack" to "mystack"


On Mon, Sep 26, 2016 at 8:12 AM, Richard Gaskin 
wrote:

> Alan wrote:
>
> > Using LC 8.1, if I get the stack properties for a sub-stack, I can no
> > longer set the substacks mainStack property to be itself - i.e.
> > making it an independent stack. This used to be possible in previous
> > versions.
> >
> > Is this a bug or is there another method of doing it these days?
>
> Everything in the IDE is scripted, so anything you've seen the IDE do is
> something you can also do.
>
> If you clone a substack it'll create a new copy with no filename attached
> to it.  You can then delete the original, rename the clone, and use
> File->Save, which will prompt you to set a file name for it.
>
> You may also be able to use the mainstack stack property for that.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: new glx2 script editor now on line

2016-09-26 Thread Richard Gaskin

Mike Kerner wrote:

> On Sat, Sep 24, 2016 at 2:10 PM, Mark Wieder wrote:
>
>> On 09/24/2016 06:17 AM, Mike Kerner wrote:
>>
>>> So what would it take to get a bunch of glx2's features rolled into
>>> the SE so we have one SE instead of two?  Theming, folding,
>>> breadcrumbs, folders, revisions all are things that would be good
>>> to add to the SE, and it would make it more compelling to have a
>>> single SE project.
>>
>> Well, I see that Bernd has issued a pull request for code folding,
>> so that should be on its way soon. And the glx2 script editor is
>> totally open source, so feel free to grab and use any code in there.
>>
>
> The problem is that without understanding it, we're going to be at a
> distinct time disadvantage.  I just went through that trying to fix a
> couple of things in the documentation rendering, this week.  I spent
> a lot of hours having to learn how it worked, because nobody else
> knew.

If nobody else knew, nobody else could have documented that knowledge. :)

Given the SE's central role in the IDE, it's an exciting prospect for 
community contribution.  And given the nature of its role, it's also one 
of the more complex components in the IDE, and one which is in nearly 
continual flux as the core team continues working on it in each version.


For these reasons it may be helpful to consider a path forward like the 
one Bernd chose:  pick one feature, work with the core team to implement 
it, and submit that pull request, then move on to the next feature.


This will help ensure that each new feature is robustly implemented 
before we move on to the next one, and along the way each new feature 
multiplies the knowledge of the IDE landscape so each subsequent 
opportunity becomes ever easier.


As things progress we may even find someone in our community with the 
intersection of interest, time, and ability to begin drafting a guide to 
working on the IDE, making the work ever easier for others as well.


Of the features listed above ("theming, folding, breadcrumbs, folders"), 
which of those has both the highest value to the user and/or is the 
easiest to implement?


--
 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: How to stop LoveCode running in Edit mode

2016-09-26 Thread Richard Gaskin

Keith Clarke wrote:

> Thanks Richard & Alan for the response. It looks like a plugin is
> responsible for this strange behaviour...
>
> Richard - great and comprehensive background information on some of
> the things going on in LiveCode 'under the hood'.

Glad that was useful.

Do you know which plugin it was?

If there's reason to believe it may be one particular plugin, it would 
be enormously helpful to the author if you could run a quick test with 
all of your plugins present except that one and see if the problem goes 
away. If the problem recurs after you've put it back you've found the 
culprit.


No one wants to ship plugins that create mystifying time sinks for its 
users. A quick note about incompatibility with a particular version will 
be very helpful for the plugin author.


Given that v8 is for the most part purely a superset of capabilities 
with few (if any) truly deprecated tokens, incompatibilities unique to 
the current version are rare.  But if the plugin is doing something 
unusual, such as relying on undocumented calls internal to the IDE, 
those are adventurous decisions a plugin author will anticipate may need 
revision from time to time, and your bug report to the plugin author 
will no doubt be most welcome.


--
 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: Make substack a mainstack?

2016-09-26 Thread Richard Gaskin

Alan wrote:

> Using LC 8.1, if I get the stack properties for a sub-stack, I can no
> longer set the substacks mainStack property to be itself - i.e.
> making it an independent stack. This used to be possible in previous
> versions.
>
> Is this a bug or is there another method of doing it these days?

Everything in the IDE is scripted, so anything you've seen the IDE do is 
something you can also do.


If you clone a substack it'll create a new copy with no filename 
attached to it.  You can then delete the original, rename the clone, and 
use File->Save, which will prompt you to set a file name for it.


You may also be able to use the mainstack stack property for that.

--
 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: reloading iOS provisioning profiles etc

2016-09-26 Thread Ralph DiMola
Rant==>Apple's eco system make me nuts.

Ben,

After you add the device on your developer account:
1) Select the new device and regenerate the provisioning profile in your 
developer account.
2) Open Xcode and go to prefs and on the "Accounts" tab click on your account 
and click the your team on the right.
3) Click "View Details"
4) The updated provisioning profile should have a download button.
5) There will now be duplicate provisioning profiles. To avoid confusion seeing 
duplicate provisioning profiles in LC, right click to old one(s) and delete 
them.
6) Open LC.
7) You will see that there is no longer a provisioning profile selected.
8) Select the provisioning profile and you should be good to go.



Ralph DiMola
IT Director
Evergreen Information Services


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Ben Rubinstein
Sent: Sunday, September 25, 2016 6:54 PM
To: Use LiveCode
Subject: reloading iOS provisioning profiles etc

After adding a new device to my registered set in my Apple developer account, 
how can I get LC to recognise it?

I go through this every now and then, conduct a lot of superstitious rituals, 
eventually I get there.. but I never know how.

I've launched Xcode, used it to build an app to the device, which caused it to 
say that there was a problem and offer to fix it. Now Xcode can build to the 
new device, but LiveCode still not.

The message (when I ask Xcode to add the newly built app to the device) is

The executable was signed with invalid entitlements.

The entitlements specified in your application’s Code Signing
Entitlements file do not match those specified in your
provisioning profile. (0xE8008016).


In LC, I've selected a different provisioning profile, selected the original 
one again, quit and restarted LC, turned to face east, hailed cthulhu, etc... 
all the usual things... still no luck.

So, how do I force LC to refresh the provisioning profiles, or otherwise to 
build an app which can be installed on a new device?

Secondary question: how do I get LC to stop seeing every old profile I've ever 
had (many with the same name) in the "Profile" popup on the iOS tab of the 
Standalone Settings window?

TIA,

Ben

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


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

[ANN] This Week in LiveCode 52

2016-09-26 Thread Peter TB Brett

Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

   Read issue #52 here: https://goo.gl/nhk41W

   Special anniversary edition, because TWiL is 1 year old!

This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project.  New issues will be
released weekly on Mondays.  We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.

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


Re: How to extract specific columns/line items from a CSV file?

2016-09-26 Thread Peter TB Brett



On 20/09/2016 21:16, Keith Clarke wrote:

Hi folks, I’ve a large number of sizeable CSV files from each of
which I need to extract just 2 or 3 specific columns. Creating nested
iterations through every item in every line seems somewhat
inefficient - as does loading each full file into memory - so I feel
I must be missing a trick here.

Does Livecode support any elegant way of directly manipulating or
‘querying’ (like SQL) delimited data, to extract numbered (or named)
columns/items - such as 1(Id), 3(Name) & 15(Summary) - from in each
line from a CSV container or direct from a file/URL?


I would probably just use Mike Kerner's libraries:
https://github.com/macMikey/csvToText

  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

Re: How to stop LoveCode running in Edit mode

2016-09-26 Thread Mike Bonner
With the exception of the datagrid helper (I think thats the only one)  the
others are part of the distribution.  It sounds like the datagrid helper is
installed in livcodes system plugin folder.  On windows the plugins folder
is at C:\Program Files (x86)\RunRev\LiveCode Community 8.1\Plugins  On a
mac, if I recall correctly, you would need to dig into the .app bundle to
find it.

On Mon, Sep 26, 2016 at 1:24 AM, Keith Clarke  wrote:

> Thanks for the tip, Mark.
>
> If one empties or renames one's Plugins folder in this way, should it
> empty the IDE’s Plugins menu, as I still see Data Grid Helper, GoLiveNet,
> RegExBuilder, revApplicationOverview, revExample, RevNavigator,
> revSmartSave, revTabRuler and SmartProperties. These don’t all look like
> core, LiveCode-supplied code, so I wonder how they are getting into this
> list and I wonder if I need to purge any of them?
> Best,
> Keith..
>
> > On 25 Sep 2016, at 17:15, Mark Wieder  wrote:
> >
> > On 09/25/2016 04:31 AM, Keith Clarke wrote:
> >
> >> Am I correct to assume that a clean LiveCode installation would have
> the Plugins folder empty?
> >
> > When I need to test without third-party plugins I just rename the
> Plugins folder to something like Pluginsx, do my testing, and revert to the
> original Plugins folder name.
> >
> > --
> > Mark Wieder
> > ahsoftw...@gmail.com
> >
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: itemOffset still not working

2016-09-26 Thread Peter TB Brett

On 23/09/2016 23:16, Bob Sneidar wrote:

put rContactRecord ["contacttype"] into tContactType -- verified is
"|it|" set the itemdelimiter to "|" set wholematches to true put
itemoffset(pType, tContactType) into tOffset -- verified pType is
"it" tOffset contains 0

I also used literals as in put itemoffset("it","|it|") into tOffset
tOffset still contains 0.

I tries using commas with the default itemdelimiter that doesn't
work. I replaced "|" with cr and used lineOffset that doesn't work.

Finally, I DELETED THE FIRST VERTICAL BAR AND THAT WORKED!

So this bug is about having an empty first item/line. In this case
offset will always return 0. Not good.

Yes I have submitted a bug report. I will update it, but hopefully I
can keep this from biting anyone else in the butt. It is also going
to make it really difficult to do LIKE queries on list columns.
Hopefully this gets fixed soon, because I depend on this kind of list
queries a LOT.


Hi Bob,

Your bug report is http://quality.livecode.com/show_bug.cgi?id=18343.
We've already got a fix for it, but unfortunately the fix wasn't quite
in time for the 8.1.1 cut off.  It will be included in 8.1.2.

  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


Re: reloading iOS provisioning profiles etc

2016-09-26 Thread Dave Kilroy
Hi Ben

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



> After adding a new device to my registered set in my Apple developer account, 
> how can I get LC to recognise it? 
> 
> I go through this every now and then, conduct a lot of superstitious rituals, 
> eventually I get there.. but I never know how. 
> 
> I've launched Xcode, used it to build an app to the device, which caused it 
> to 
> say that there was a problem and offer to fix it. Now Xcode can build to the 
> new device, but LiveCode still not. 
> 
> The message (when I ask Xcode to add the newly built app to the device) is 
> 
> The executable was signed with invalid entitlements. 
> 
> The entitlements specified in your application’s Code Signing 
>   Entitlements file do not match those specified in your 
> provisioning profile. (0xE8008016). 
> 
> 
> In LC, I've selected a different provisioning profile, selected the original 
> one again, quit and restarted LC, turned to face east, hailed cthulhu, etc... 
> all the usual things... still no luck. 
> 
> So, how do I force LC to refresh the provisioning profiles, or otherwise to 
> build an app which can be installed on a new device? 
> 
> Secondary question: how do I get LC to stop seeing every old profile I've 
> ever 
> had (many with the same name) in the "Profile" popup on the iOS tab of the 
> Standalone Settings window? 

TIA, 

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

Re: How to stop LoveCode running in Edit mode

2016-09-26 Thread Keith Clarke
Thanks for the tip, Mark. 

If one empties or renames one's Plugins folder in this way, should it empty the 
IDE’s Plugins menu, as I still see Data Grid Helper, GoLiveNet, RegExBuilder, 
revApplicationOverview, revExample, RevNavigator, revSmartSave, revTabRuler and 
SmartProperties. These don’t all look like core, LiveCode-supplied code, so I 
wonder how they are getting into this list and I wonder if I need to purge any 
of them?
Best,
Keith..

> On 25 Sep 2016, at 17:15, Mark Wieder  wrote:
> 
> On 09/25/2016 04:31 AM, Keith Clarke wrote:
> 
>> Am I correct to assume that a clean LiveCode installation would have the 
>> Plugins folder empty?
> 
> When I need to test without third-party plugins I just rename the Plugins 
> folder to something like Pluginsx, do my testing, and revert to the original 
> Plugins folder name.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: "\n" appearing in Unicode

2016-09-26 Thread AndyP
Have a look at this post..it may help.

http://forums.livecode.com/viewtopic.php?f=12=27797=145730=converting+mysql+to+sqlite#p145730

  





-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/n-appearing-in-Unicode-tp4708916p4708921.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


Make substack a mainstack?

2016-09-26 Thread Alan
Using LC 8.1, if I get the stack properties for a sub-stack, I can no longer 
set the substacks mainStack property to be itself - i.e. making it an 
independent stack. This used to be possible in previous versions.

Is this a bug or is there another method of doing it these days?

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