Re: use-livecode Digest, Vol 172, Issue 22

2018-01-15 Thread Brian Milby via use-livecode
Here is a function for Windows that will replace  with  and include
" " for multiple spaces.  It retains the other formatting.  (It won't
catch paragraph level formatting as is though.)  So if you are copying
code, this could be used to clean it for paste as rich text:

*on* mouseUp
   *local* tFormat, tClipboard
   *lock* clipboard
   *put* "HTML Format" into tFormat
   *put* the rawClipboardData[tFormat] into tClipboard
   *replace* "" with "" in tClipboard
   *replace* "" with "" in tClipboard
   *replace* "  " with "  " in tClipboard
   *replace* "  " with "  " in tClipboard
   *set* the itemdel to ":"
   *put* format("%10d", offset(">   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: Android devpt on Mac OS -- your setup?

2018-01-15 Thread Nicolas Cueto via use-livecode
Can now test on Android device from Mac. Hooray.

Thanks, Andrew. But went with what LC recommends. Kind of.

--
Nicolas Cueto

On 15 January 2018 at 22:50, Andrew Bell via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> ::: Mac OS version :::
>>
> 10.11.5 on MBP
> 10.12.6 on iMac
> school IT just forced me to update the iMac to 10.13.2 but I haven't
> compiled anything since then (thanks Apple for not backwards applying
> Meltdown/Spectre patches)
>
>
> ::: LC version(s) :::
>>
> 8.1.8 Business until the pesky "could not open module" bug crept into my
> stack. Now I'm using 9dp11 (I feel like this is dg2 related, but can't
> pinpoint that so it may be fake news)
>
>
> ::: Java JDK :::
>>
> 1.8.0_121 on MBP
> It's a holiday and the school is closed so I can't comment on the iMac,
> but since that was a clean install about 3 months ago the process is pretty
> fresh. I had to do something funky to get the JDK, and I think it was
> this... https://www.ihash.eu/2015/11/how-to-install-java-jre-8-on-ma
> c-os-x-10-11-el-capitan/
>
>
> ::: Android SDK :::
>>
>> That LC lesson advices the full Android Studio for LC post-8.1.5. Do you
>> agree?
>>
> I'm pretty sure that's the only way now. The old method didn't have a
> flashy interface (not that Android Studio does either, or is intuitive) but
> seemed to work fine for my needs.
>
>
> ::: Android SDK platform :::
>>
>> Again, that LC lesson advices the Android 4.0.3 package. Yes?
>>
> I think 4.0.3 is a must, but for some reason I also think that 4.2 and/or
> 4.2.2 was a critical breakthrough for me when I first setup this system
> about 2 years ago.
>
>
> --Andrew Bell
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Mac path to Android SDK?

2018-01-15 Thread Mark Wieder via use-livecode

On 01/15/2018 04:55 PM, Ralph DiMola via use-livecode wrote:


You also need to install JRE and JDK from the Oracle site. JDK 1.8.0 has
been working well for me.


Although note that OpenJDK works just as well and avoids the Oracle 
unpleasantness.


http://openjdk.java.net/

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


RE: Mac path to Android SDK?

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

Point LC Mobile Prefs to the folder you unzipped it to.
You should then be able to build an Android app.


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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Nicolas Cueto via use-livecode
Sent: Monday, January 15, 2018 6:37 PM
To: How to use LiveCode
Cc: Nicolas Cueto
Subject: Mac path to Android SDK?

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

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

Thank you.

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


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


Mac path to Android SDK?

2018-01-15 Thread Nicolas Cueto via use-livecode
To configure Mobile prefs on Mac, where might the Android SDK be?

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

Thank you.

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


Re: Naive Question time again

2018-01-15 Thread Tom Glod via use-livecode
i'm curious why you need to know that

On Mon, Jan 15, 2018 at 3:49 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 1/15/18 1:03 PM, Richmond Mathewson via use-livecode wrote:
>
>> When a new version (dp, rc, stable) of LiveCode is released how much of
>> the
>> change from the previous version resides in the engine and how much in
>> the IDE
>> (i.e. the collection of stacks starting with rev associated with the
>> engine?
>>
>
> That info is in the Release Notes, bugs and additions to the engine and
> IDE are listed in separate sections.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Naive Question time again

2018-01-15 Thread J. Landman Gay via use-livecode

On 1/15/18 1:03 PM, Richmond Mathewson via use-livecode wrote:

When a new version (dp, rc, stable) of LiveCode is released how much of the
change from the previous version resides in the engine and how much in 
the IDE
(i.e. the collection of stacks starting with rev associated with the 
engine?


That info is in the Release Notes, bugs and additions to the engine and 
IDE are listed in separate sections.


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

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


Re: Naive Question time again

2018-01-15 Thread Brian Milby via use-livecode
I’m not sure that is an easy one to answer in a short email. In GitHub, the
IDE is a sub-project so most of the changes there are separated out. The
dictionary content is in the main repo though as are the extensions
(widgets/libraries). Some things require updates to both projects like the
SVG compiled drawing support. Some things are just fixed on one side.

I’ve not looked back to the beginning of 9 to see how much was split
between the 2 parts though.

Sounds like something interesting to look at though. I’ll see if I can put
anything meaningful together.
On Mon, Jan 15, 2018 at 1:04 PM Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> When a new version (dp, rc, stable) of LiveCode is released how much of the
> change from the previous version resides in the engine and how much in
> the IDE
> (i.e. the collection of stacks starting with rev associated with the
> engine?
>
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Naive Question time again

2018-01-15 Thread Richmond Mathewson via use-livecode

When a new version (dp, rc, stable) of LiveCode is released how much of the
change from the previous version resides in the engine and how much in 
the IDE

(i.e. the collection of stacks starting with rev associated with the engine?

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


Re: [Somewhat OT] Mac Code Signing - can anyone explain?

2018-01-15 Thread Ron Metzker via use-livecode
Hi Graham,

The keys have a date time stamp in them that is encrypted. That is how it knows 
which one to use. DO NOT delete your old keys. It uses them in case you have to 
rebuild an old application that has already been signed.

I have never done this for iOS, so don’t have any knowledge of How iOS works 
though I can point you to the documents that Apple provides. Xcode takes care 
of MacOS. 

Code signing

https://developer.apple.com/support/developer-id/

https://developer.apple.com/library/content/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html

https://developer.apple.com/library/content/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919


Best Regards,
Ron

> On Jan 15, 2018, at 2:00 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I wrote an earlier mail on this subject. Good thing nobody replied, since I 
> more or less worked it out myself. I have now generated a couple of 
> certificates (app and installer), so I should be able to do the code signing. 
> However, in my Keychain Access under “My Certificates” I have a lot of 
> folders all with the same name - com.apple.kerberos.kdc - each containing a 
> file (key) with the same name again! How am I supposed to distinguish one 
> from another, or don’t I have to? The Apple Developer Portal warns me to keep 
> copies of my certificates and public and private keys, but I don’t see how to 
> find out which ones I generated just now and which ones are just old.
> 
> It would be great to hear from someone who knows.
> 
> 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

dg2 performance issues

2018-01-15 Thread Andrew Bell via use-livecode
I'm experiencing a big degradation in performance with dg2. I have a  
datagrid with a 224x119 image and two text fields. Slow scrolling  
using dg1 (8.1.8) is silky smooth but slow scrolling using dg2 (9dp11)  
is jittery at slow speeds. This isn't as noticeable with faster whip  
scrolls but looks jerky when just perusing. Am I missing a setting  
somewhere?


Same stack code, compiled with different engines:
https://midwestcoastmedia.com/files/dg1_scroll.mp4
https://midwestcoastmedia.com/files/dg2_scroll.mp4

So I don't seem ungrateful I would like to say that I LOVE that the  
old clunky looking default scroll indicator is gone. Thanks!


--Andrew Bell


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

2018-01-15 Thread panagiotis merakos via use-livecode
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 #112 here: https://goo.gl/KxWK1g

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.


-- 
Panagiotis Merakos 
LiveCode Software Developer

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


Re: Android devpt on Mac OS -- your setup?

2018-01-15 Thread Andrew Bell via use-livecode



::: Mac OS version :::

10.11.5 on MBP
10.12.6 on iMac
school IT just forced me to update the iMac to 10.13.2 but I haven't  
compiled anything since then (thanks Apple for not backwards applying  
Meltdown/Spectre patches)




::: LC version(s) :::
8.1.8 Business until the pesky "could not open module" bug crept into  
my stack. Now I'm using 9dp11 (I feel like this is dg2 related, but  
can't pinpoint that so it may be fake news)




::: Java JDK :::

1.8.0_121 on MBP
It's a holiday and the school is closed so I can't comment on the  
iMac, but since that was a clean install about 3 months ago the  
process is pretty fresh. I had to do something funky to get the JDK,  
and I think it was this...  
https://www.ihash.eu/2015/11/how-to-install-java-jre-8-on-mac-os-x-10-11-el-capitan/




::: Android SDK :::

That LC lesson advices the full Android Studio for LC post-8.1.5. Do you
agree?
I'm pretty sure that's the only way now. The old method didn't have a  
flashy interface (not that Android Studio does either, or is  
intuitive) but seemed to work fine for my needs.




::: Android SDK platform :::

Again, that LC lesson advices the Android 4.0.3 package. Yes?
I think 4.0.3 is a must, but for some reason I also think that 4.2  
and/or 4.2.2 was a critical breakthrough for me when I first setup  
this system about 2 years ago.



--Andrew Bell



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


Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-15 Thread Dave Kilroy via use-livecode
Hi all - this is how I arrange my screens (also pretty much how they are
physically)

 

I'm running a 2014 15" mbp on High Sierra and my two external monitors are
the special LG 5k ones (with thunderbolt 2 to 3 adapters). No dead spots as
regards mouse movements or clicks

The only thing I find I need to do as regards LC is if I have the big
monitors attached and have previously used LC with only the mbp screen, I
need to right-click the LC icon on the dock, choose options and set the desk
space to 'display 1' before setting it to 'display 3' (where I usually place
my LC). I also need to give the script editor a bit of TLC if the previous
time I opened it was on the mbp screen

set the topleft of stack "revNewScriptEditor 1" to 200,200
set the loc of stack "revNewScriptEditor 1" to the screenloc

These commands in the message box usually reveal the script editor (in the
mbp screen) which I just then drag over, the next time I open LC the script
editor knows where to be and everything is ok. Err occasionally even message
box stuff won't reveal the script editor, in which case I save the app I'm
working on anyway, close and restart LC and it's sorted itself out.

PS: I don't have the tops of the monitors aligned so that mouse movements
between my mbp screen and the big screens doesn't involve a vertical 'jump'
in screen space 



-
"The first 90% of the task takes 90% of the time, and the last 10% takes the 
other 90% of the time."
Peter M. Brigham 
--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

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


15. AW: Code Signing Blues (Tiemo Hollmann TB)

2018-01-15 Thread Martin Meili via use-livecode
Hi Tiemo
Watch these two videos. As far as for me (not a pro but a real hobbyist), they 
did the trick. Before following the recipes, I opened KEYCHAIN and deleted any 
profile having to do with iOs signing and installing. After having "a clean 
keychain", I managed to execute a Certificate Signing Request and to set up the 
App ID & Provisioning Profiles. Make also sure you've got the correct 
xcode-version going with your LC version (you can look this information up on 
LC site).
https://m.youtube.com/watch?v=3XHj8W8qz5w
https://m.youtube.com/watch?v=HlRI30F6-Ek

Kind regards
Martin

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


AW: [Somewhat OT] Mac Code Signing - can anyone explain?

2018-01-15 Thread Tiemo Hollmann TB via use-livecode
Sorry my reply was for your first post. For your second post, I am always 
unsure myself, cause this is a job you only do once a couple of years.
I *think*, you could delete all the messed up certificates and download the one 
you need once. But this is not a recepie!, just my unproven thoughts. Probably 
somebody else can confirm or warn of this procedure.
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Graham Samuel via use-livecode
Gesendet: Montag, 15. Januar 2018 11:01
An: How to use LiveCode 
Cc: Graham Samuel 
Betreff: [Somewhat OT] Mac Code Signing - can anyone explain?

I wrote an earlier mail on this subject. Good thing nobody replied, since I 
more or less worked it out myself. I have now generated a couple of 
certificates (app and installer), so I should be able to do the code signing. 
However, in my Keychain Access under “My Certificates” I have a lot of folders 
all with the same name - com.apple.kerberos.kdc - each containing a file (key) 
with the same name again! How am I supposed to distinguish one from another, or 
don’t I have to? The Apple Developer Portal warns me to keep copies of my 
certificates and public and private keys, but I don’t see how to find out which 
ones I generated just now and which ones are just old.

It would be great to hear from someone who knows.

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

AW: Code Signing Blues

2018-01-15 Thread Tiemo Hollmann TB via use-livecode
Hi Graham,

log into you developer.apple.com account
go to Certificates, Identifiers & Profiles
Select the wanted certificate on the right side (one click)
Click Download

That should do it to get them on you new machine

Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Graham Samuel via use-livecode
Gesendet: Sonntag, 14. Januar 2018 17:48
An: How to use LiveCode 
Cc: Graham Samuel 
Betreff: Code Signing Blues

A couple of years ago, I got a lot of advice on this list about code signing 
Mac apps that are not being distributed via the Mac App Store, and I got some 
of it working. Trying to revive that knowledge and working with a different 
computer, I seem to have come unstuck at stage one, which is the generation of 
a valid certificate. I am a registered Apple developer, but I don’t understand 
how I ever got a proper Certification Authority to talk to, or indeed what 
happened to the certificate(s) I had then. There doesn’t seem to be much 
relevant in my Keychain, and wading through XCode when all you know is LC is a 
bit like being taught Hungarian as a foreign language (THFL - or the 
equivalent).

Can anyone give me just a little clue as to how to get my cert? After that, I 
think I know how to use AppWrapper, and indeed I’ve got a nifty LC script from 
Trevor deVore that  might do the actual signing - but no certificate, no joy.

I’d appreciate any help.

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

[Somewhat OT] Mac Code Signing - can anyone explain?

2018-01-15 Thread Graham Samuel via use-livecode
I wrote an earlier mail on this subject. Good thing nobody replied, since I 
more or less worked it out myself. I have now generated a couple of 
certificates (app and installer), so I should be able to do the code signing. 
However, in my Keychain Access under “My Certificates” I have a lot of folders 
all with the same name - com.apple.kerberos.kdc - each containing a file (key) 
with the same name again! How am I supposed to distinguish one from another, or 
don’t I have to? The Apple Developer Portal warns me to keep copies of my 
certificates and public and private keys, but I don’t see how to find out which 
ones I generated just now and which ones are just old.

It would be great to hear from someone who knows.

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