Re: Moving to the Cloud. LiveCodeServer on Linux CentoOS vs Ubuntu 11

2015-02-25 Thread Richard Gaskin

I just noticed your subject line says Ubuntu 11.  Why that version?

Ubuntu releases follow a pattern in which new versions are released 
every six months, numbered according to the release date.  For example, 
11.04 was released in April 2011, and 11.10 was released in October 2011.


Every two years the April release is a Long Term Support (LTS) version, 
which will continue getting updates for 5 years.


The interim releases are mostly for those who want the very latest 
features, but have a support cycle lasting only 9 months.


The LTS versions are the most popular choice for server work and 
institutional use, since the five-year support cycle means not having to 
worry about upgrading the OS for up to half a decade.


Right now the two supported LTS versions are 12.04 and 14.04, and you'll 
find those deployed about equally on most hosting services that use 
Ubuntu (including Dreamhost and others; Google uses Ubuntu internally, I 
believe currently based on 12.04, and FWIW Ubuntu has become the most 
popular choice with Amazon and Microsoft Azure platforms).


For new servers I recommend the latest LTS, which is 14.04.  I not only 
use it on both of my VPSes, but also my laptop as well.  Rock solid, 
efficient - an excellent build.


A complete list of the life cycles, with EOL dates, of all Ubuntu builds 
is here:

https://wiki.ubuntu.com/Releases

It would be great if Apple published a list like 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: [OT] Wireless internet in my flat.

2015-02-25 Thread Richmond

On 25/02/15 19:06, William de Smet wrote:

Hi Richmond,

There are/were issues with OSX 10.10 and WiFi.
I never had WiFi problems with OSX 10.10 but when you search the internet
there are a lot of threads about it:
http://www.macworld.co.uk/news/mac-software/mac-os-x-yosemite-wifi-airdrop-fix-update-new-features-bugs-uk-video-10-10-2-3493748/
https://discussions.apple.com/thread/6601075?start=0



Thanks.



greetings,

William



2015-02-25 18:02 GMT+01:00 Richmond richmondmathew...@gmail.com:


On 25/02/15 18:31, kee nethery wrote:


Compare all the variants of 802.11 that your router supports and that
your MacBook Air supports. Could be there is no common 802.11 between them
if your router is really old tech.

Kee



So, what you are saying is that my son's MacBook air is a fussy thing,
while all thise generic devices are just sl*ts :)

And, what is the lesson? Pay more for a MacBook so you then have to pay
more for other things!

Richmond.

  On Feb 25, 2015, at 8:25 AM, Richmond richmondmathew...@gmail.com

wrote:

I have a wired+wireless router connected to my cable modem in my flat.

My Dell Optiplex 745 running Linux is connected via a LAN cable to the
router.

My G3 iMac running Mac OS 9.2.2 is connected via LAN cable.

My G5 iMac running Mac OS 10.4 and 10.5 connects wirelessly.

My wife's laptop (generic rubbish) running Linux connects wirelessly.

My iPad 1 connects wirelessly.

My wife's Android NextBook connects wirelessly.

My wife's Dell Optiplex 760 with wireless dongle connects wirelessly.

My older son's iPad 4 connects wirelessly.

Both of my sons' iPhones connects wirelessly.

My older son's Lenovo laptop running Windows 7 connects wirelessly.

BUT . . . My younger son's MacBook Air running Mac OS 10.10 is UNABLE to
connect wirelessly . . .

Would be glad for any pointers as to why.

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



___
use-livecode mailing list
use-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: [OT] Wireless internet in my flat.

2015-02-25 Thread Richmond

On 25/02/15 19:33, Robert Brenstein wrote:

On 25.02.2015 at 18:25 Uhr +0200 Richmond apparently wrote:

I have a wired+wireless router connected to my cable modem in my flat.

Would be glad for any pointers as to why.

Richmond.


Presumably you checked that there are enough wireless addresses active 
to support all your devices.


RObert



Well, I may be daft, but not that daft.

We turned every single wireless device we had OFF except for my son's 
laptop: no joy.


He was, however, running Mac OS 10.10.0 which had major problems with 
wireless.


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: [OT] Wireless internet in my flat.

2015-02-25 Thread William de Smet
Hi Richmond,

There are/were issues with OSX 10.10 and WiFi.
I never had WiFi problems with OSX 10.10 but when you search the internet
there are a lot of threads about it:
http://www.macworld.co.uk/news/mac-software/mac-os-x-yosemite-wifi-airdrop-fix-update-new-features-bugs-uk-video-10-10-2-3493748/
https://discussions.apple.com/thread/6601075?start=0



greetings,

William



2015-02-25 18:02 GMT+01:00 Richmond richmondmathew...@gmail.com:

 On 25/02/15 18:31, kee nethery wrote:

 Compare all the variants of 802.11 that your router supports and that
 your MacBook Air supports. Could be there is no common 802.11 between them
 if your router is really old tech.

 Kee


 So, what you are saying is that my son's MacBook air is a fussy thing,
 while all thise generic devices are just sl*ts :)

 And, what is the lesson? Pay more for a MacBook so you then have to pay
 more for other things!

 Richmond.

  On Feb 25, 2015, at 8:25 AM, Richmond richmondmathew...@gmail.com
 wrote:

 I have a wired+wireless router connected to my cable modem in my flat.

 My Dell Optiplex 745 running Linux is connected via a LAN cable to the
 router.

 My G3 iMac running Mac OS 9.2.2 is connected via LAN cable.

 My G5 iMac running Mac OS 10.4 and 10.5 connects wirelessly.

 My wife's laptop (generic rubbish) running Linux connects wirelessly.

 My iPad 1 connects wirelessly.

 My wife's Android NextBook connects wirelessly.

 My wife's Dell Optiplex 760 with wireless dongle connects wirelessly.

 My older son's iPad 4 connects wirelessly.

 Both of my sons' iPhones connects wirelessly.

 My older son's Lenovo laptop running Windows 7 connects wirelessly.

 BUT . . . My younger son's MacBook Air running Mac OS 10.10 is UNABLE to
 connect wirelessly . . .

 Would be glad for any pointers as to why.

 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



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

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


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread Richmond

On 25/02/15 18:31, kee nethery wrote:

Compare all the variants of 802.11 that your router supports and that your 
MacBook Air supports. Could be there is no common 802.11 between them if your 
router is really old tech.

Kee



So, what you are saying is that my son's MacBook air is a fussy thing, 
while all thise generic devices are just sl*ts :)


And, what is the lesson? Pay more for a MacBook so you then have to pay 
more for other things!


Richmond.

On Feb 25, 2015, at 8:25 AM, Richmond richmondmathew...@gmail.com wrote:

I have a wired+wireless router connected to my cable modem in my flat.

My Dell Optiplex 745 running Linux is connected via a LAN cable to the router.

My G3 iMac running Mac OS 9.2.2 is connected via LAN cable.

My G5 iMac running Mac OS 10.4 and 10.5 connects wirelessly.

My wife's laptop (generic rubbish) running Linux connects wirelessly.

My iPad 1 connects wirelessly.

My wife's Android NextBook connects wirelessly.

My wife's Dell Optiplex 760 with wireless dongle connects wirelessly.

My older son's iPad 4 connects wirelessly.

Both of my sons' iPhones connects wirelessly.

My older son's Lenovo laptop running Windows 7 connects wirelessly.

BUT . . . My younger son's MacBook Air running Mac OS 10.10 is UNABLE to 
connect wirelessly . . .

Would be glad for any pointers as to why.

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



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


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread kee nethery

 On Feb 25, 2015, at 9:02 AM, Richmond richmondmathew...@gmail.com wrote:
 
 On 25/02/15 18:31, kee nethery wrote:
 Compare all the variants of 802.11 that your router supports and that your 
 MacBook Air supports. Could be there is no common 802.11 between them if 
 your router is really old tech.
 
 Kee
 
 
 So, what you are saying is that my son's MacBook air is a fussy thing, while 
 all thise generic devices are just sl*ts :)
 
 And, what is the lesson? Pay more for a MacBook so you then have to pay more 
 for other things!
 
 Richmond.

No. What I am saying is that WiFi standards continually march forward. Some 
security protocols have been discontinued and abandoned because they are 
totally insecure. MacBook Air might not support old insecure security 
protocols. The 802.11 spec has evolved over the years, faster better, etc. Some 
of the 802.11 specs are so old that newer devices might not support them. Most  
WiFi routers work fine with a MacBook Air but if yours is really old or totally 
insecure, it might be time to upgrade.

The number of WiFi connections is also a possibility.

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


[OT] Wireless internet in my flat.

2015-02-25 Thread Richmond

I have a wired+wireless router connected to my cable modem in my flat.

My Dell Optiplex 745 running Linux is connected via a LAN cable to the 
router.


My G3 iMac running Mac OS 9.2.2 is connected via LAN cable.

My G5 iMac running Mac OS 10.4 and 10.5 connects wirelessly.

My wife's laptop (generic rubbish) running Linux connects wirelessly.

My iPad 1 connects wirelessly.

My wife's Android NextBook connects wirelessly.

My wife's Dell Optiplex 760 with wireless dongle connects wirelessly.

My older son's iPad 4 connects wirelessly.

Both of my sons' iPhones connects wirelessly.

My older son's Lenovo laptop running Windows 7 connects wirelessly.

BUT . . . My younger son's MacBook Air running Mac OS 10.10 is UNABLE to 
connect wirelessly . . .


Would be glad for any pointers as to why.

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: [OT] Wireless internet in my flat.

2015-02-25 Thread kee nethery
Compare all the variants of 802.11 that your router supports and that your 
MacBook Air supports. Could be there is no common 802.11 between them if your 
router is really old tech.

Kee


 On Feb 25, 2015, at 8:25 AM, Richmond richmondmathew...@gmail.com wrote:
 
 I have a wired+wireless router connected to my cable modem in my flat.
 
 My Dell Optiplex 745 running Linux is connected via a LAN cable to the router.
 
 My G3 iMac running Mac OS 9.2.2 is connected via LAN cable.
 
 My G5 iMac running Mac OS 10.4 and 10.5 connects wirelessly.
 
 My wife's laptop (generic rubbish) running Linux connects wirelessly.
 
 My iPad 1 connects wirelessly.
 
 My wife's Android NextBook connects wirelessly.
 
 My wife's Dell Optiplex 760 with wireless dongle connects wirelessly.
 
 My older son's iPad 4 connects wirelessly.
 
 Both of my sons' iPhones connects wirelessly.
 
 My older son's Lenovo laptop running Windows 7 connects wirelessly.
 
 BUT . . . My younger son's MacBook Air running Mac OS 10.10 is UNABLE to 
 connect wirelessly . . .
 
 Would be glad for any pointers as to why.
 
 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


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread Robert Brenstein

On 25.02.2015 at 18:25 Uhr +0200 Richmond apparently wrote:

I have a wired+wireless router connected to my cable modem in my flat.

Would be glad for any pointers as to why.

Richmond.


Presumably you checked that there are enough wireless addresses 
active to support all your devices.


RObert

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


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread Richmond

On 25/02/15 20:08, kee nethery wrote:

On Feb 25, 2015, at 9:02 AM, Richmond richmondmathew...@gmail.com wrote:

On 25/02/15 18:31, kee nethery wrote:

Compare all the variants of 802.11 that your router supports and that your 
MacBook Air supports. Could be there is no common 802.11 between them if your 
router is really old tech.

Kee


So, what you are saying is that my son's MacBook air is a fussy thing, while all thise 
generic devices are just sl*ts :)

And, what is the lesson? Pay more for a MacBook so you then have to pay more 
for other things!

Richmond.

No. What I am saying is that WiFi standards continually march forward. Some 
security protocols have been discontinued and abandoned because they are 
totally insecure. MacBook Air might not support old insecure security 
protocols. The 802.11 spec has evolved over the years, faster better, etc. Some 
of the 802.11 specs are so old that newer devices might not support them. Most  
WiFi routers work fine with a MacBook Air but if yours is really old or totally 
insecure, it might be time to upgrade.

The number of WiFi connections is also a possibility.

Kee



Well, I bought my router 2 years ago: not cutting edge, but not ancient 
either.


As my son who has the MacBook is now back in the States at University I 
cannot really try
out anything (short of popping round the corner and buying a MacBook, 
ho, ho) until he

is back here in July.

However, he was running Mac OS 10.10.0 which had buckets of wifi probs. 
So let's hope that was the problem.


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: [OT] Wireless internet in my flat.

2015-02-25 Thread Mike Bonner
You could do a roundabout.  Install virtualbox and a linux virtual machine,
and see if the linux machine can use connect to the wifi.  Sneaker net and
a stick to do it.  Assuming you can get it to recognize the apple wifi
device, and connect successfully, you'll know that the hardware itself
isn't flaky. Plus, though I've never done it, you can probably get the air
to use the virtual machine as its gateway.  (because everyone wants to be
forced to run 2 OS's just to get internet)  Or

If you can find  a mac compatible wifi stick (they have short profile wifi
sticks that you can leave in without fear of breaking them off)  perhaps
that would work.  Not always easy to get one working on a mac.

On Wed, Feb 25, 2015 at 12:23 PM, Richmond richmondmathew...@gmail.com
wrote:

 On 25/02/15 21:13, Phil Davis wrote:

 Hi Richmond,

 One possibility I see no one has yet mentioned:

 When my network starts misbehaving, I often start the troubleshooting
 process by unplugging the router, waiting a few seconds, then plugging it
 back in. The effect is usually quite restorative! Just a shot-in-the-dark
 thought.

 Phil


 I wouldn't be asking this question now, when the problem first occurred
 inthe first week of January if I thought I hadn't
 covered all the obvious possibilities.

 I am inclined to belive the Mac OS 10.10.0 wireless bug story.


 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


matchText question

2015-02-25 Thread Michael Doub
Am I doing something really crazy here?  There is no way that the result 
will be true.   Replace the  hhh   with */ and you still get true 
but it is not doing the capture.   Replace the  hhh  with function 
foo and you get an expected response.


Should I even expect alternatives to be supported?

-= Mike


on mouseUp
put (?i)^\s*(\-\-\s+begin)\s+(\w+)*+|  \
 ^\s*(on)\s+(\w+)*+|  \
 ^\s*(function)\s+(\w+)*+|  \
 ^\s*(command)\s+(\w+)*+|  \
 ^\s*(private\s+function)\s+(\w+)*+|  \
 ^\s*(private\s+command)\s+(\w+)*+|  \
 ^\s*(\/\*\s+include)*+|  \
  ^\s*(\*\/)*+ \
 into expr
get MatchText( hhh 
,expr,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14)

   answer it  cr  r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14
end mouseUp

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


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread Phil Davis

Hi Richmond,

One possibility I see no one has yet mentioned:

When my network starts misbehaving, I often start the troubleshooting 
process by unplugging the router, waiting a few seconds, then plugging 
it back in. The effect is usually quite restorative! Just a 
shot-in-the-dark thought.


Phil



On 2/25/15 8:25 AM, Richmond wrote:

I have a wired+wireless router connected to my cable modem in my flat.

My Dell Optiplex 745 running Linux is connected via a LAN cable to the 
router.


My G3 iMac running Mac OS 9.2.2 is connected via LAN cable.

My G5 iMac running Mac OS 10.4 and 10.5 connects wirelessly.

My wife's laptop (generic rubbish) running Linux connects wirelessly.

My iPad 1 connects wirelessly.

My wife's Android NextBook connects wirelessly.

My wife's Dell Optiplex 760 with wireless dongle connects wirelessly.

My older son's iPad 4 connects wirelessly.

Both of my sons' iPhones connects wirelessly.

My older son's Lenovo laptop running Windows 7 connects wirelessly.

BUT . . . My younger son's MacBook Air running Mac OS 10.10 is UNABLE 
to connect wirelessly . . .


Would be glad for any pointers as to why.

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



--
Phil Davis


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


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread Richmond

On 25/02/15 21:13, Phil Davis wrote:

Hi Richmond,

One possibility I see no one has yet mentioned:

When my network starts misbehaving, I often start the troubleshooting 
process by unplugging the router, waiting a few seconds, then plugging 
it back in. The effect is usually quite restorative! Just a 
shot-in-the-dark thought.


Phil



I wouldn't be asking this question now, when the problem first occurred 
inthe first week of January if I thought I hadn't

covered all the obvious possibilities.

I am inclined to belive the Mac OS 10.10.0 wireless bug story.

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: [OT] Wireless internet in my flat.

2015-02-25 Thread Mike Bonner
Its probably not the answer, but if you seem to get a connect, but can't
get anywhere, it may be horking the dhcp request.  If you do get a connect,
check your ip and see if its valid. If it is, see if you can ping by IP,
first of the router, then of an outside server 199.190.151.2 should work,
its a dns server in wyoming.  If one works, but the other does not, confirm
the default gateway is set correctly.

If your ip isn't valid, set it by hand and see if that will work.  ( on
windows machines, when dhcp/bootp fail, they tend to default to
169.xx.xx.xx ip numbers, not sure about macs)

If the connect just fails then..  You don't have mac address filtering on
right?  You might turn off all security momentarily and see if it will do a
plain vanilla connect.

On Wed, Feb 25, 2015 at 11:11 AM, Richmond richmondmathew...@gmail.com
wrote:

 On 25/02/15 20:08, kee nethery wrote:

 On Feb 25, 2015, at 9:02 AM, Richmond richmondmathew...@gmail.com
 wrote:

 On 25/02/15 18:31, kee nethery wrote:

 Compare all the variants of 802.11 that your router supports and that
 your MacBook Air supports. Could be there is no common 802.11 between them
 if your router is really old tech.

 Kee

  So, what you are saying is that my son's MacBook air is a fussy thing,
 while all thise generic devices are just sl*ts :)

 And, what is the lesson? Pay more for a MacBook so you then have to pay
 more for other things!

 Richmond.

 No. What I am saying is that WiFi standards continually march forward.
 Some security protocols have been discontinued and abandoned because they
 are totally insecure. MacBook Air might not support old insecure security
 protocols. The 802.11 spec has evolved over the years, faster better, etc.
 Some of the 802.11 specs are so old that newer devices might not support
 them. Most  WiFi routers work fine with a MacBook Air but if yours is
 really old or totally insecure, it might be time to upgrade.

 The number of WiFi connections is also a possibility.

 Kee


 Well, I bought my router 2 years ago: not cutting edge, but not ancient
 either.

 As my son who has the MacBook is now back in the States at University I
 cannot really try
 out anything (short of popping round the corner and buying a MacBook, ho,
 ho) until he
 is back here in July.

 However, he was running Mac OS 10.10.0 which had buckets of wifi probs. So
 let's hope that was the problem.

 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


Re: matchText question

2015-02-25 Thread Mike Bonner
Try this instead..
put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
 ^\s*(on)\s+(\w+).*+|  \
 ^\s*(function)\s+(\w+).*+|  \
 ^\s*(command)\s+(\w+).*+|  \
 ^\s*(private\s+function)\s+(\w+).*+|  \
 ^\s*(private\s+command)\s+(\w+).*+|  \
 ^\s*(\/\*\s+include).*+|   \
  ^\s*(\*\/).*+ \
 into expr

You are using an * to match anything, but for some reason it seems to be
messing things up.  If you add the . (period) before it to match any char,
then the asterisk knows what its matching any number of.  (impressive
sentence ending there)

Have tested a little, it seems to solve it, though i'm not sure why.

On Wed, Feb 25, 2015 at 12:45 PM, Michael Doub miked...@gmail.com wrote:

 Am I doing something really crazy here?  There is no way that the result
 will be true.   Replace the  hhh   with */ and you still get true but
 it is not doing the capture.   Replace the  hhh  with function foo and
 you get an expected response.

 Should I even expect alternatives to be supported?

 -= Mike


 on mouseUp
 put (?i)^\s*(\-\-\s+begin)\s+(\w+)*+|  \
  ^\s*(on)\s+(\w+)*+|  \
  ^\s*(function)\s+(\w+)*+|  \
  ^\s*(command)\s+(\w+)*+|  \
  ^\s*(private\s+function)\s+(\w+)*+|  \
  ^\s*(private\s+command)\s+(\w+)*+|  \
  ^\s*(\/\*\s+include)*+|  \
   ^\s*(\*\/)*+ \
  into expr
 get MatchText( hhh ,expr,r1,r2,r3,r4,r5,r6,r7,
 r8,r9,r10,r11,r12,r13,r14)
answer it  cr  r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14
 end mouseUp

 ___
 use-livecode mailing list
 use-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: matchText question

2015-02-25 Thread Peter Haworth
Good catch.  I think the * in the original version referred to \w+ so
that's probably what messed it up.

On Wed Feb 25 2015 at 12:30:15 PM Mike Bonner bonnm...@gmail.com wrote:

 Try this instead..
 put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
  ^\s*(on)\s+(\w+).*+|  \
  ^\s*(function)\s+(\w+).*+|  \
  ^\s*(command)\s+(\w+).*+|  \
  ^\s*(private\s+function)\s+(\w+).*+|  \
  ^\s*(private\s+command)\s+(\w+).*+|  \
  ^\s*(\/\*\s+include).*+|   \
   ^\s*(\*\/).*+ \
  into expr

 You are using an * to match anything, but for some reason it seems to be
 messing things up.  If you add the . (period) before it to match any char,
 then the asterisk knows what its matching any number of.  (impressive
 sentence ending there)

 Have tested a little, it seems to solve it, though i'm not sure why.

 On Wed, Feb 25, 2015 at 12:45 PM, Michael Doub miked...@gmail.com wrote:

  Am I doing something really crazy here?  There is no way that the result
  will be true.   Replace the  hhh   with */ and you still get true but
  it is not doing the capture.   Replace the  hhh  with function foo
 and
  you get an expected response.
 
  Should I even expect alternatives to be supported?
 
  -= Mike
 
 
  on mouseUp
  put (?i)^\s*(\-\-\s+begin)\s+(\w+)*+|  \
   ^\s*(on)\s+(\w+)*+|  \
   ^\s*(function)\s+(\w+)*+|  \
   ^\s*(command)\s+(\w+)*+|  \
   ^\s*(private\s+function)\s+(\w+)*+|  \
   ^\s*(private\s+command)\s+(\w+)*+|  \
   ^\s*(\/\*\s+include)*+|  \
^\s*(\*\/)*+ \
   into expr
  get MatchText( hhh ,expr,r1,r2,r3,r4,r5,r6,r7,
  r8,r9,r10,r11,r12,r13,r14)
 answer it  cr  r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14
  end mouseUp
 
  ___
  use-livecode mailing list
  use-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: matchText question

2015-02-25 Thread Michael Doub

Thanks Mike and Peter.   This seems to have addressed the issue.

-= Mike


On 2/25/15 4:09 PM, Peter Haworth wrote:

Good catch.  I think the * in the original version referred to \w+ so
that's probably what messed it up.

On Wed Feb 25 2015 at 12:30:15 PM Mike Bonner bonnm...@gmail.com wrote:


Try this instead..
 put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
  ^\s*(on)\s+(\w+).*+|  \
  ^\s*(function)\s+(\w+).*+|  \
  ^\s*(command)\s+(\w+).*+|  \
  ^\s*(private\s+function)\s+(\w+).*+|  \
  ^\s*(private\s+command)\s+(\w+).*+|  \
  ^\s*(\/\*\s+include).*+|   \
   ^\s*(\*\/).*+ \
  into expr

You are using an * to match anything, but for some reason it seems to be
messing things up.  If you add the . (period) before it to match any char,
then the asterisk knows what its matching any number of.  (impressive
sentence ending there)

Have tested a little, it seems to solve it, though i'm not sure why.

On Wed, Feb 25, 2015 at 12:45 PM, Michael Doub miked...@gmail.com wrote:


Am I doing something really crazy here?  There is no way that the result
will be true.   Replace the  hhh   with */ and you still get true but
it is not doing the capture.   Replace the  hhh  with function foo

and

you get an expected response.

Should I even expect alternatives to be supported?

-= Mike


on mouseUp
 put (?i)^\s*(\-\-\s+begin)\s+(\w+)*+|  \
  ^\s*(on)\s+(\w+)*+|  \
  ^\s*(function)\s+(\w+)*+|  \
  ^\s*(command)\s+(\w+)*+|  \
  ^\s*(private\s+function)\s+(\w+)*+|  \
  ^\s*(private\s+command)\s+(\w+)*+|  \
  ^\s*(\/\*\s+include)*+|  \
   ^\s*(\*\/)*+ \
  into expr
 get MatchText( hhh ,expr,r1,r2,r3,r4,r5,r6,r7,
r8,r9,r10,r11,r12,r13,r14)
answer it  cr  r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14
end mouseUp

___
use-livecode mailing list
use-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: matchText question

2015-02-25 Thread stephen barncard
On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com wrote:

 Try this instead..
 put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
  ^\s*(on)\s+(\w+).*+|  \
  ^\s*(function)\s+(\w+).*+|  \
  ^\s*(command)\s+(\w+).*+|  \
  ^\s*(private\s+function)\s+(\w+).*+|  \
  ^\s*(private\s+command)\s+(\w+).*+|  \
  ^\s*(\/\*\s+include).*+|   \
   ^\s*(\*\/).*+ \
  into expr


breaking down and displaying complex REGEX this way is very helpful.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
use-livecode mailing list
use-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 splash screen

2015-02-25 Thread PystCat
Yes and you’re going to laugh… Do a screen grab of your splash screen and set 
that as your splash screen under the iOS settings on LC.  When the app starts 
on the device, it will show that graphic and then immediately go to your actual 
splash screen…  You won’t see it happen.

Paul


 On Feb 25, 2015, at 5:48 PM, Richard Miller w...@together.net wrote:
 
 I am just finishing up an iOS app. Having a bit of an issue with the splash 
 screen/startup process.
 
 Many of the iOS apps on my phone start up by immediately showing a splash 
 screen and then transitioning to the first main screen. From the moment I 
 start up the icon, there is no black screen or white screen. There is only a 
 splash screen and then the main screen. This looks clean.
 
 With my LC app, I set the first card of my stack to be the splash screen, 
 which then transitions to the first main screen. If I then avoid setting a 
 splash screen in the application settings area, when the app first starts, I 
 see a black screen for about a second or two, then the first card of the 
 stack, followed shortly thereafter by the main screen. I can't seem to 
 eliminate that initial black screen. This is not as clean a start up process 
 as I see with other iOS apps.
 
 If I do set a splash screen in the application settings area, the app starts 
 up by immediately showing that screen, but then transitions briefly to a 
 black screen, followed by the first card of my stack and then the main 
 screen. Again, I can't seem to eliminate that black screen.
 
 Is there a way to eliminate it?
 
 Thanks,
 Richard Miller
 
 ___
 use-livecode mailing list
 use-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

greyed lockText box for table in group?

2015-02-25 Thread Dr. Hawkins
I have a table in a group that may summoned to assist the user.  The
group is normally hidden, and has its backroundBehavior set.

When made visible, the fields may be typed into.

The regular fields all work, but this simple table is locked.

And when I go to the property inspector, the lockText button is both
checked and greyed.

The group has no locktext set, and the other fields can all be used.

dontWrap is also locked  greyed.

Focusable, focusborder, visible, showhilite, and showborder are all set.

basic table and cell editing are set, cell formatting is not.

I don't understand what can be happening here:  as I understand things,
only the group  properties should be inherited, and they should be capable
of being overridden.

What else can cause this behavior?

(the group is placed on several cards, but not with sharedText, and is not
part of another group.)
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: matchText question

2015-02-25 Thread Michael Doub
if any one is interested.   I did this hoping that it would speed up my 
parsing.  As it turns out my original version was faster.   The original 
had 8 separate matchTexts with straight forward expresions, where the 
last version had 2 matchtexts with expressions lots of alternatives.


Original:  1620 millisec
Latest: 1641 millisec

For the curious: 
https://www.dropbox.com/s/20j4iy4oomrr12c/Parser.livecode?dl=0


Thanks again for everyone's help.

-= Mike



On 2/25/15 6:52 PM, Mike Bonner wrote:

   ^\s*(/\*).* \ works, if you're trying to match opening /*
comments.
If you're trying to match lines that start with * thats a different story.
\* matches asterisk.  /\* matches /*
If you want to grab the whole comment line move the .* inside the parens.
Not sure what the include line you're trying to match should look like
either, something funky up there, but without seeing what you need to
match, its hard to figure out.

On Wed, Feb 25, 2015 at 4:31 PM, Mike Bonner bonnm...@gmail.com wrote:


Hey, correct me if i'm wrong, but \w+ is a geedy word grab right?  Which
should grab to the end if the line.. Seems like the .*+ wouldn't even be
necessary... Yep, just checked. Its not. The only part I can't get to work
is the last line for /*.  Not sure what it is i'm not seeing.

On Wed, Feb 25, 2015 at 3:53 PM, Mike Bonner bonnm...@gmail.com wrote:


Yes, it was to me too. Though, I did end up breaking it down into singles
and they all behaved the same, which made it easier to take a WAG.  Less
wild than it would have otherwise been. Find the thing that's the same for
each part, and decide if its broke.

On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:


On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com
wrote:


Try this instead..
 put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
  ^\s*(on)\s+(\w+).*+|  \
  ^\s*(function)\s+(\w+).*+|  \
  ^\s*(command)\s+(\w+).*+|  \
  ^\s*(private\s+function)\s+(\w+).*+|  \
  ^\s*(private\s+command)\s+(\w+).*+|  \
  ^\s*(\/\*\s+include).*+|   \
   ^\s*(\*\/).*+ \
  into expr


breaking down and displaying complex REGEX this way is very helpful.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
use-livecode mailing list
use-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: matchText question

2015-02-25 Thread Michael Doub

Whew,   it is now:

Original: 449
Latest:487  on 7.0.2 ( rc2)

and
Original: 121
Latest:138  on 6.6.4

This is the difference between   repeat with i = 1 to whatever and 
repeat for each line i in whatever.  Wow!


-= Mike


On 2/25/15 7:38 PM, Mike Bonner wrote:

Wow, thats awful.

On Wed, Feb 25, 2015 at 5:27 PM, Michael Doub miked...@gmail.com wrote:


Yuck... I just tried this on 7.0.2 (rc2)

Original:  11184
Latest: 11321


On 2/25/15 7:23 PM, Michael Doub wrote:


if any one is interested.   I did this hoping that it would speed up my
parsing.  As it turns out my original version was faster.   The original
had 8 separate matchTexts with straight forward expresions, where the last
version had 2 matchtexts with expressions lots of alternatives.

Original:  1620 millisec
Latest: 1641 millisec

For the curious: https://www.dropbox.com/s/20j4iy4oomrr12c/Parser.
livecode?dl=0

Thanks again for everyone's help.

-= Mike



On 2/25/15 6:52 PM, Mike Bonner wrote:


^\s*(/\*).* \ works, if you're trying to match opening /*
comments.
If you're trying to match lines that start with * thats a different
story.
\* matches asterisk.  /\* matches /*
If you want to grab the whole comment line move the .* inside the parens.
Not sure what the include line you're trying to match should look like
either, something funky up there, but without seeing what you need to
match, its hard to figure out.

On Wed, Feb 25, 2015 at 4:31 PM, Mike Bonner bonnm...@gmail.com wrote:

  Hey, correct me if i'm wrong, but \w+ is a geedy word grab right?  Which

should grab to the end if the line.. Seems like the .*+ wouldn't even be
necessary... Yep, just checked. Its not. The only part I can't get to
work
is the last line for /*.  Not sure what it is i'm not seeing.

On Wed, Feb 25, 2015 at 3:53 PM, Mike Bonner bonnm...@gmail.com
wrote:

  Yes, it was to me too. Though, I did end up breaking it down into

singles
and they all behaved the same, which made it easier to take a WAG.
Less
wild than it would have otherwise been. Find the thing that's the same
for
each part, and decide if its broke.

On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

  On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com

wrote:

  Try this instead..

  put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
   ^\s*(on)\s+(\w+).*+|  \
   ^\s*(function)\s+(\w+).*+|  \
   ^\s*(command)\s+(\w+).*+|  \
   ^\s*(private\s+function)\s+(\w+).*+|  \
   ^\s*(private\s+command)\s+(\w+).*+|  \
   ^\s*(\/\*\s+include).*+|   \
^\s*(\*\/).*+ \
   into expr

  breaking down and displaying complex REGEX this way is very helpful.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



  ___

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



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


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




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


QT and LC 5.5.5; Which LC should I update to?

2015-02-25 Thread Charles Szasz

I am currently using 5.5 to make Mac apps that do not employ QT. I am also 
started using App Wrapper 3. I noticed that each app that I code signed for the 
Mac I have to always to designate not to include QT as an exec.  

I received emails from Sam Rowland, the creator of App Wrapper about this 
problem. He pointed out that the version of LC (5.5.5) has QT wired into this 
version.  He suggested that since QT has been depreciated in OS X and depends 
on Carbon that this will crash Mac apps. Although I have yet to have an app 
crash on Mavericks, which I used for development, I am concerned about this 
issue.

So here is my question:  Which LC version should I update to that is stable and 
does not depend on Carbon? Again, I am not interested in QT or AV Foundation 
since I do not use these in my apps.


Sent from my iPad
___
use-livecode mailing list
use-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: Best way to get started in mobile (mainly iOS) development?

2015-02-25 Thread Roger Guay
Colin Holgate’s Book, LiveCode Mobile Development.

Roger


 On Feb 25, 2015, at 8:35 PM, Geoff Canyon gcan...@gmail.com wrote:
 
 For those who have already made the trek, what's the best resource to get
 from I can happily build a desktop app to I can happily build a mobile
 app?
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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

RE: iOS splash screen

2015-02-25 Thread Ralph DiMola
I don't see the black screen flash. I am using an iPod 5 iOS 8.1.3 and iPad
2 iOS 8.1.3.
I make the splash screen in the standalone setting the same as the stack's
splash screen card.
I open the main card from the opencard handler in the splash screen card.
I use my own re-sizing library.

Mac Book OS X 10.9.5
Xcode 6.1.1
LC 6.7.2

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Richard Miller
Sent: Wednesday, February 25, 2015 5:49 PM
To: How to use LiveCode
Subject: iOS splash screen

I am just finishing up an iOS app. Having a bit of an issue with the splash
screen/startup process.

Many of the iOS apps on my phone start up by immediately showing a splash
screen and then transitioning to the first main screen. From the moment I
start up the icon, there is no black screen or white screen. There is only a
splash screen and then the main screen. This looks clean.

With my LC app, I set the first card of my stack to be the splash screen,
which then transitions to the first main screen. If I then avoid setting a
splash screen in the application settings area, when the app first starts, I
see a black screen for about a second or two, then the first card of the
stack, followed shortly thereafter by the main screen. I can't seem to
eliminate that initial black screen. This is not as clean a start up process
as I see with other iOS apps.

If I do set a splash screen in the application settings area, the app starts
up by immediately showing that screen, but then transitions briefly to a
black screen, followed by the first card of my stack and then the main
screen. Again, I can't seem to eliminate that black screen.

Is there a way to eliminate it?

Thanks,
Richard Miller

___
use-livecode mailing list
use-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: matchText question

2015-02-25 Thread Mark Wieder
Mike-

Wednesday, February 25, 2015, 11:45:21 AM, you wrote:

 Am I doing something really crazy here?

Depends maybe on what you're trying to do. If you're looking for a
list of handlers in a script, here's what I use:

function getHandlersList pScript
  local tHandlers
  filter pScript with end*
  repeat for each line tLine in pScript
put word 2 of tLine  cr after tHandlers
  end repeat
  return tHandlers
end getHandlersList

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

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.


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


Best way to get started in mobile (mainly iOS) development?

2015-02-25 Thread Geoff Canyon
For those who have already made the trek, what's the best resource to get
from I can happily build a desktop app to I can happily build a mobile
app?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread Mark Wieder
Richmond-

Wednesday, February 25, 2015, 10:07:32 AM, you wrote:

 Well, I may be daft, but not that daft.

 We turned every single wireless device we had OFF except for my son's
 laptop: no joy.

 He was, however, running Mac OS 10.10.0 which had major problems with
 wireless.

Nonetheless, whenever I'm faced with a situation like that, I'm always
the first suspect... I take it that (more daft suggestions follow)

the mac air has wireless is turned on
the mac air can see wireless networks, just not connect
the air can connect via a wired connection
the air's wireless connection is set to use dhcp
the router is broadcasting ssid

if you open the network control panel, do you see a wireless signal
and there is just no ip address? or is there no wireless carrier?

but, as you have noticed, 10.10.0 is outdated (*never* load the first
release of anything), and you might be well served by using a wired
connection to update the operating system and then trying the wireless
connection again.

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

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.


___
use-livecode mailing list
use-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: matchText question

2015-02-25 Thread Richard Gaskin

Mark Wieder wrote:


Mike-

Wednesday, February 25, 2015, 11:45:21 AM, you wrote:


Am I doing something really crazy here?


Depends maybe on what you're trying to do. If you're looking for a
list of handlers in a script, here's what I use:

function getHandlersList pScript
  local tHandlers
  filter pScript with end*
  repeat for each line tLine in pScript
put word 2 of tLine  cr after tHandlers
  end repeat
  return tHandlers
end getHandlersList


One more way:

get the revAvailableHandlers of tSomeObject

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and 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: Moving to the Cloud. LiveCodeServer on Linux CentoOS vs Ubuntu 11

2015-02-25 Thread Simon Smith
Hi

Digital Ocean has a one click install for Lamp, that installs Ubuntu 14.04
along with php / mysql / apache.

I have not played to much with optimizing all the settings, but there will
be a few things you will have to tweak in apache to get everything running
correctly.

I imagine there will be a bit you can tweak on mysql aswell - depending on
what you will be running.

You will also have to handle hardening the server along with setting a
firewall.

Think I am still running 6.7, I tried upgrading it awhile ago and ran into
a few problems (it was either session or post / get variables - cant
remember) I would suggest trying the latest version, if there are any
problems it takes only a moment to down grade.

Simon


On Wed, Feb 25, 2015 at 5:21 PM, Richard Gaskin ambassa...@fourthworld.com
wrote:

 I just noticed your subject line says Ubuntu 11.  Why that version?

 Ubuntu releases follow a pattern in which new versions are released every
 six months, numbered according to the release date.  For example, 11.04 was
 released in April 2011, and 11.10 was released in October 2011.

 Every two years the April release is a Long Term Support (LTS) version,
 which will continue getting updates for 5 years.

 The interim releases are mostly for those who want the very latest
 features, but have a support cycle lasting only 9 months.

 The LTS versions are the most popular choice for server work and
 institutional use, since the five-year support cycle means not having to
 worry about upgrading the OS for up to half a decade.

 Right now the two supported LTS versions are 12.04 and 14.04, and you'll
 find those deployed about equally on most hosting services that use Ubuntu
 (including Dreamhost and others; Google uses Ubuntu internally, I believe
 currently based on 12.04, and FWIW Ubuntu has become the most popular
 choice with Amazon and Microsoft Azure platforms).

 For new servers I recommend the latest LTS, which is 14.04.  I not only
 use it on both of my VPSes, but also my laptop as well.  Rock solid,
 efficient - an excellent build.

 A complete list of the life cycles, with EOL dates, of all Ubuntu builds
 is here:
 https://wiki.ubuntu.com/Releases

 It would be great if Apple published a list like 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




-- 

*Simon Smith*
*seo, online marketing, web development*

w. http://www.simonsmith.co
m. +27 83 306 7862
___
use-livecode mailing list
use-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 version of MasterLibrary

2015-02-25 Thread Jim Lambert
Michael,

thank you for this.

Jim Lambert

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


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread Jim Lambert

 Richmond wrote:
 my son who has the MacBook is now back in the States at University

Hi Richmond,

Does he have problems connecting to WiFi at the University? Or anywhere else 
other than your home?
if not, perhaps there’s a clue.

Jim Lambert
___
use-livecode mailing list
use-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: greyed lockText box for table in group?

2015-02-25 Thread Mike Bonner
wait, I mean you can still use it as if its a table field, but its strange
to use it that way.  You have to change a bunch of things to get it back to
being a regular field. (I think its possible to do that, but i've never
tried, seeing no purpose)

On Wed, Feb 25, 2015 at 5:45 PM, Mike Bonner bonnm...@gmail.com wrote:

 Since its a table field, the dontlock and don'twrap are that way on
 purpose. To edit a cell in a simple table,  click, and it'll pop up an edit
 field. Its supposed to be that way. There are a bunch of settings required
 to get it to behave this way, if you want to change how this works, go to
 the table pane and take the check out of basic table object viola' those
 are ungreyed, At this point you can use it as a regular old field, but its
 a bit strange to use it that way.



 On Wed, Feb 25, 2015 at 5:07 PM, Dr. Hawkins doch...@gmail.com wrote:

 I have a table in a group that may summoned to assist the user.  The
 group is normally hidden, and has its backroundBehavior set.

 When made visible, the fields may be typed into.

 The regular fields all work, but this simple table is locked.

 And when I go to the property inspector, the lockText button is both
 checked and greyed.

 The group has no locktext set, and the other fields can all be used.

 dontWrap is also locked  greyed.

 Focusable, focusborder, visible, showhilite, and showborder are all set.

 basic table and cell editing are set, cell formatting is not.

 I don't understand what can be happening here:  as I understand things,
 only the group  properties should be inherited, and they should be capable
 of being overridden.

 What else can cause this behavior?

 (the group is placed on several cards, but not with sharedText, and is not
 part of another group.)
 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



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


Re: matchText question

2015-02-25 Thread Michael Doub

Yuck... I just tried this on 7.0.2 (rc2)

Original:  11184
Latest: 11321

On 2/25/15 7:23 PM, Michael Doub wrote:
if any one is interested.   I did this hoping that it would speed up 
my parsing.  As it turns out my original version was faster.   The 
original had 8 separate matchTexts with straight forward expresions, 
where the last version had 2 matchtexts with expressions lots of 
alternatives.


Original:  1620 millisec
Latest: 1641 millisec

For the curious: 
https://www.dropbox.com/s/20j4iy4oomrr12c/Parser.livecode?dl=0


Thanks again for everyone's help.

-= Mike



On 2/25/15 6:52 PM, Mike Bonner wrote:

   ^\s*(/\*).* \ works, if you're trying to match opening /*
comments.
If you're trying to match lines that start with * thats a different 
story.

\* matches asterisk.  /\* matches /*
If you want to grab the whole comment line move the .* inside the 
parens.

Not sure what the include line you're trying to match should look like
either, something funky up there, but without seeing what you need to
match, its hard to figure out.

On Wed, Feb 25, 2015 at 4:31 PM, Mike Bonner bonnm...@gmail.com wrote:

Hey, correct me if i'm wrong, but \w+ is a geedy word grab right?  
Which
should grab to the end if the line.. Seems like the .*+ wouldn't 
even be
necessary... Yep, just checked. Its not. The only part I can't get 
to work

is the last line for /*.  Not sure what it is i'm not seeing.

On Wed, Feb 25, 2015 at 3:53 PM, Mike Bonner bonnm...@gmail.com 
wrote:


Yes, it was to me too. Though, I did end up breaking it down into 
singles
and they all behaved the same, which made it easier to take a WAG.  
Less
wild than it would have otherwise been. Find the thing that's the 
same for

each part, and decide if its broke.

On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:


On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com
wrote:


Try this instead..
 put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
  ^\s*(on)\s+(\w+).*+|  \
  ^\s*(function)\s+(\w+).*+|  \
  ^\s*(command)\s+(\w+).*+|  \
  ^\s*(private\s+function)\s+(\w+).*+|  \
  ^\s*(private\s+command)\s+(\w+).*+|  \
  ^\s*(\/\*\s+include).*+|   \
   ^\s*(\*\/).*+ \
  into expr


breaking down and displaying complex REGEX this way is very helpful.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




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

http://lists.runrev.com/mailman/listinfo/use-livecode






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


iOS splash screen

2015-02-25 Thread Richard Miller

I am just finishing up an iOS app. Having a bit of an issue with the splash 
screen/startup process.

Many of the iOS apps on my phone start up by immediately showing a splash 
screen and then transitioning to the first main screen. From the moment I start 
up the icon, there is no black screen or white screen. There is only a splash 
screen and then the main screen. This looks clean.

With my LC app, I set the first card of my stack to be the splash screen, which 
then transitions to the first main screen. If I then avoid setting a splash 
screen in the application settings area, when the app first starts, I see a 
black screen for about a second or two, then the first card of the stack, 
followed shortly thereafter by the main screen. I can't seem to eliminate that 
initial black screen. This is not as clean a start up process as I see with 
other iOS apps.

If I do set a splash screen in the application settings area, the app starts up 
by immediately showing that screen, but then transitions briefly to a black 
screen, followed by the first card of my stack and then the main screen. Again, 
I can't seem to eliminate that black screen.

Is there a way to eliminate it?

Thanks,
Richard Miller

___
use-livecode mailing list
use-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: matchText question

2015-02-25 Thread Peter Haworth
You can even include comments preceded by # if use (?x) as a mode
modifier at the start of the regex.

On Wed Feb 25 2015 at 2:53:43 PM Mike Bonner bonnm...@gmail.com wrote:

 Yes, it was to me too. Though, I did end up breaking it down into singles
 and they all behaved the same, which made it easier to take a WAG.  Less
 wild than it would have otherwise been. Find the thing that's the same for
 each part, and decide if its broke.

 On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:

  On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com
 wrote:
 
   Try this instead..
   put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
^\s*(on)\s+(\w+).*+|  \
^\s*(function)\s+(\w+).*+|  \
^\s*(command)\s+(\w+).*+|  \
^\s*(private\s+function)\s+(\w+).*+|  \
^\s*(private\s+command)\s+(\w+).*+|  \
^\s*(\/\*\s+include).*+|   \
 ^\s*(\*\/).*+ \
into expr
  
 
  breaking down and displaying complex REGEX this way is very helpful.
 
  *--*
  *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
  ___
  use-livecode mailing list
  use-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: matchText question

2015-02-25 Thread Mike Bonner
Wow, thats awful.

On Wed, Feb 25, 2015 at 5:27 PM, Michael Doub miked...@gmail.com wrote:

 Yuck... I just tried this on 7.0.2 (rc2)

 Original:  11184
 Latest: 11321


 On 2/25/15 7:23 PM, Michael Doub wrote:

 if any one is interested.   I did this hoping that it would speed up my
 parsing.  As it turns out my original version was faster.   The original
 had 8 separate matchTexts with straight forward expresions, where the last
 version had 2 matchtexts with expressions lots of alternatives.

 Original:  1620 millisec
 Latest: 1641 millisec

 For the curious: https://www.dropbox.com/s/20j4iy4oomrr12c/Parser.
 livecode?dl=0

 Thanks again for everyone's help.

 -= Mike



 On 2/25/15 6:52 PM, Mike Bonner wrote:

^\s*(/\*).* \ works, if you're trying to match opening /*
 comments.
 If you're trying to match lines that start with * thats a different
 story.
 \* matches asterisk.  /\* matches /*
 If you want to grab the whole comment line move the .* inside the parens.
 Not sure what the include line you're trying to match should look like
 either, something funky up there, but without seeing what you need to
 match, its hard to figure out.

 On Wed, Feb 25, 2015 at 4:31 PM, Mike Bonner bonnm...@gmail.com wrote:

  Hey, correct me if i'm wrong, but \w+ is a geedy word grab right?  Which
 should grab to the end if the line.. Seems like the .*+ wouldn't even be
 necessary... Yep, just checked. Its not. The only part I can't get to
 work
 is the last line for /*.  Not sure what it is i'm not seeing.

 On Wed, Feb 25, 2015 at 3:53 PM, Mike Bonner bonnm...@gmail.com
 wrote:

  Yes, it was to me too. Though, I did end up breaking it down into
 singles
 and they all behaved the same, which made it easier to take a WAG.
 Less
 wild than it would have otherwise been. Find the thing that's the same
 for
 each part, and decide if its broke.

 On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:

  On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com
 wrote:

  Try this instead..
  put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
   ^\s*(on)\s+(\w+).*+|  \
   ^\s*(function)\s+(\w+).*+|  \
   ^\s*(command)\s+(\w+).*+|  \
   ^\s*(private\s+function)\s+(\w+).*+|  \
   ^\s*(private\s+command)\s+(\w+).*+|  \
   ^\s*(\/\*\s+include).*+|   \
^\s*(\*\/).*+ \
   into expr

  breaking down and displaying complex REGEX this way is very helpful.

 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 use-livecode mailing list
 use-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: matchText question

2015-02-25 Thread Mike Bonner
Yes, it was to me too. Though, I did end up breaking it down into singles
and they all behaved the same, which made it easier to take a WAG.  Less
wild than it would have otherwise been. Find the thing that's the same for
each part, and decide if its broke.

On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com wrote:

  Try this instead..
  put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
   ^\s*(on)\s+(\w+).*+|  \
   ^\s*(function)\s+(\w+).*+|  \
   ^\s*(command)\s+(\w+).*+|  \
   ^\s*(private\s+function)\s+(\w+).*+|  \
   ^\s*(private\s+command)\s+(\w+).*+|  \
   ^\s*(\/\*\s+include).*+|   \
^\s*(\*\/).*+ \
   into expr
 

 breaking down and displaying complex REGEX this way is very helpful.

 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 use-livecode mailing list
 use-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: matchText question

2015-02-25 Thread Mike Bonner
Hey, correct me if i'm wrong, but \w+ is a geedy word grab right?  Which
should grab to the end if the line.. Seems like the .*+ wouldn't even be
necessary... Yep, just checked. Its not. The only part I can't get to work
is the last line for /*.  Not sure what it is i'm not seeing.

On Wed, Feb 25, 2015 at 3:53 PM, Mike Bonner bonnm...@gmail.com wrote:

 Yes, it was to me too. Though, I did end up breaking it down into singles
 and they all behaved the same, which made it easier to take a WAG.  Less
 wild than it would have otherwise been. Find the thing that's the same for
 each part, and decide if its broke.

 On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:

 On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com wrote:

  Try this instead..
  put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
   ^\s*(on)\s+(\w+).*+|  \
   ^\s*(function)\s+(\w+).*+|  \
   ^\s*(command)\s+(\w+).*+|  \
   ^\s*(private\s+function)\s+(\w+).*+|  \
   ^\s*(private\s+command)\s+(\w+).*+|  \
   ^\s*(\/\*\s+include).*+|   \
^\s*(\*\/).*+ \
   into expr
 

 breaking down and displaying complex REGEX this way is very helpful.

 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 use-livecode mailing list
 use-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: greyed lockText box for table in group?

2015-02-25 Thread Mike Bonner
Since its a table field, the dontlock and don'twrap are that way on
purpose. To edit a cell in a simple table,  click, and it'll pop up an edit
field. Its supposed to be that way. There are a bunch of settings required
to get it to behave this way, if you want to change how this works, go to
the table pane and take the check out of basic table object viola' those
are ungreyed, At this point you can use it as a regular old field, but its
a bit strange to use it that way.



On Wed, Feb 25, 2015 at 5:07 PM, Dr. Hawkins doch...@gmail.com wrote:

 I have a table in a group that may summoned to assist the user.  The
 group is normally hidden, and has its backroundBehavior set.

 When made visible, the fields may be typed into.

 The regular fields all work, but this simple table is locked.

 And when I go to the property inspector, the lockText button is both
 checked and greyed.

 The group has no locktext set, and the other fields can all be used.

 dontWrap is also locked  greyed.

 Focusable, focusborder, visible, showhilite, and showborder are all set.

 basic table and cell editing are set, cell formatting is not.

 I don't understand what can be happening here:  as I understand things,
 only the group  properties should be inherited, and they should be capable
 of being overridden.

 What else can cause this behavior?

 (the group is placed on several cards, but not with sharedText, and is not
 part of another group.)
 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Open application when file double clicked

2015-02-25 Thread Howard Bornstein
Richard,

Could you (with Bernd's permission) kindly post the code that made this all
work correctly?

Thanks.

On Tue, Feb 24, 2015 at 3:30 PM, Richard Gaskin ambassa...@fourthworld.com
wrote:

 Even weirder:

 Offlist Bernd kindly sent an example of a stack similar to what's
 described below, but it works flawlessly.

 The only significant difference I could find was that his uses a custom
 document type, while I had use txt.

 So I went back to my test app, changed the document type from txt to a
 custom one, and now I get the odoc events both when files are dropped on
 the app to launch it and while the app is already running.

 This seems like a bug in the Finder more than LiveCode, some oddity in how
 AE works with well known file types.

 Since there doesn't appear to be any problem at all, I'm closing my bug
 report.

 And since there doesn't appear to be any problem at all, how did we wind
 up here?


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



 Wierdness abounds:

 I made a standalone with this card script:

 on startup
 insert script of btn fs into front
 end startup


 This script in a button fs:

 on appleEvent
 put the params cr  the executionContexts crcr after fld 1
 pass appleEvent
 end appleEvent

 And that same script in the stack.

 When I double-click the resulting app, I see:

 appleEvent aevt,oapp,
 button id 1007 of card id 1002 of stack /Users/rg/Desktop/ae tester/ae
 tester/ae tester.app/Contents/MacOS/ae tester,appleEvent,2

 appleEvent aevt,oapp,
 stack /Users/rg/Desktop/ae tester/ae tester/ae
 tester.app/Contents/MacOS/ae tester,appleEvent,2


 When I launch the app by dropping a text file onto it (I'd set it up to
 use TEXT/txt files) I get:

 appleEvent aevt,odoc,
 button id 1007 of card id 1002 of stack /Users/rg/Desktop/ae tester/ae
 tester/ae tester copy.app/Contents/MacOS/ae tester,appleEvent,2

 appleEvent aevt,odoc,
 stack /Users/rg/Desktop/ae tester/ae tester/ae tester
 copy.app/Contents/MacOS/ae tester,appleEvent,2

 But I get no oapp when I launch the app with a document, and I get no
 odoc when I launch the app without one.

 I've searched the LC scripts and this issue is different from the older
 one I'd experienced, since the other one was consistent and caused by a
 rev script.

 This one appears to be engine-level, in which only the first Apple event
 is processed, and subsequent ones ignored.

 Can anyone confirm this before I update my bug report?

 --
   Richard Gaskin
   Fourth World Systems
   Software Design and Development for the Desktop, Mobile, and the Web
   
   Ambassador at 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




-- 
Regards,

Howard Bornstein
---
www.designeq.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: Moving to the Cloud. LiveCodeServer on Linux CentoOS vs Ubuntu 11

2015-02-25 Thread Richard Gaskin

Simon Smith wrote:

Digital Ocean has a one click install for Lamp, that installs Ubuntu 14.04
along with php / mysql / apache.

I have not played to much with optimizing all the settings, but there will
be a few things you will have to tweak in apache to get everything running
correctly.


The first thing Brahmanathaswami will want to do is set up his shared 
keys, and Digital Ocean has a good tutorial on that:

https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2

Like many of us he's been looking for something he can use in LC to 
automate publishing securely, and rsync is so much smarter and more 
flexible than SFTP that for team members it's the way to go for 
publishing tasks with LC.


And since he's using a VPS he can take it one step further: once he's 
confirmed the key is working he can turn off password login altogether, 
eliminating all brute force attacks and trimming his log monitoring 
significantly - in that tutorial it's the optional Step Four near the 
bottom.



Think I am still running 6.7, I tried upgrading it awhile ago and ran into
a few problems (it was either session or post / get variables - cant
remember) I would suggest trying the latest version, if there are any
problems it takes only a moment to down grade.


Please keep us posted if you find any issues with v7.

So far the only issues I've seen are with boot times on Dreamhost 
servers, and they have engineers looking into that.


If we find anything LiveCode-related I'm sure the team at RunRev would 
want to jump on it.


--
 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: Open application when file double clicked

2015-02-25 Thread Richard Gaskin

The only code is what I'd posted in the message you replied to.

The only change was setting a custom file type (xXx) where I had 
previously used txt in the Standalone Builder.


Since then it seem Peter's found the original cause of the issue, so at 
this time it seems everything's working as expected.


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



Howard Bornstein wrote:

Richard,

Could you (with Bernd's permission) kindly post the code that made this all
work correctly?

Thanks.

On Tue, Feb 24, 2015 at 3:30 PM, Richard Gaskin ambassador at fourthworld.com
wrote:


Even weirder:

Offlist Bernd kindly sent an example of a stack similar to what's
described below, but it works flawlessly.

The only significant difference I could find was that his uses a custom
document type, while I had use txt.

So I went back to my test app, changed the document type from txt to a
custom one, and now I get the odoc events both when files are dropped on
the app to launch it and while the app is already running.

This seems like a bug in the Finder more than LiveCode, some oddity in how
AE works with well known file types.

Since there doesn't appear to be any problem at all, I'm closing my bug
report.

And since there doesn't appear to be any problem at all, how did we wind
up here?


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




Wierdness abounds:

I made a standalone with this card script:

on startup
insert script of btn fs into front
end startup


This script in a button fs:

on appleEvent
put the params cr  the executionContexts crcr after fld 1
pass appleEvent
end appleEvent

And that same script in the stack.

When I double-click the resulting app, I see:

appleEvent aevt,oapp,
button id 1007 of card id 1002 of stack /Users/rg/Desktop/ae tester/ae
tester/ae tester.app/Contents/MacOS/ae tester,appleEvent,2

appleEvent aevt,oapp,
stack /Users/rg/Desktop/ae tester/ae tester/ae
tester.app/Contents/MacOS/ae tester,appleEvent,2


When I launch the app by dropping a text file onto it (I'd set it up to
use TEXT/txt files) I get:

appleEvent aevt,odoc,
button id 1007 of card id 1002 of stack /Users/rg/Desktop/ae tester/ae
tester/ae tester copy.app/Contents/MacOS/ae tester,appleEvent,2

appleEvent aevt,odoc,
stack /Users/rg/Desktop/ae tester/ae tester/ae tester
copy.app/Contents/MacOS/ae tester,appleEvent,2

But I get no oapp when I launch the app with a document, and I get no
odoc when I launch the app without one.

I've searched the LC scripts and this issue is different from the older
one I'd experienced, since the other one was consistent and caused by a
rev script.

This one appears to be engine-level, in which only the first Apple event
is processed, and subsequent ones ignored.

Can anyone confirm this before I update my bug report?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  
  Ambassador at 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: matchText question

2015-02-25 Thread Mike Bonner
  ^\s*(/\*).* \ works, if you're trying to match opening /*
comments.
If you're trying to match lines that start with * thats a different story.
\* matches asterisk.  /\* matches /*
If you want to grab the whole comment line move the .* inside the parens.
Not sure what the include line you're trying to match should look like
either, something funky up there, but without seeing what you need to
match, its hard to figure out.

On Wed, Feb 25, 2015 at 4:31 PM, Mike Bonner bonnm...@gmail.com wrote:

 Hey, correct me if i'm wrong, but \w+ is a geedy word grab right?  Which
 should grab to the end if the line.. Seems like the .*+ wouldn't even be
 necessary... Yep, just checked. Its not. The only part I can't get to work
 is the last line for /*.  Not sure what it is i'm not seeing.

 On Wed, Feb 25, 2015 at 3:53 PM, Mike Bonner bonnm...@gmail.com wrote:

 Yes, it was to me too. Though, I did end up breaking it down into singles
 and they all behaved the same, which made it easier to take a WAG.  Less
 wild than it would have otherwise been. Find the thing that's the same for
 each part, and decide if its broke.

 On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:

 On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner bonnm...@gmail.com
 wrote:

  Try this instead..
  put (?i)^\s*(\-\-\s+begin)\s+(\w+).*+|  \
   ^\s*(on)\s+(\w+).*+|  \
   ^\s*(function)\s+(\w+).*+|  \
   ^\s*(command)\s+(\w+).*+|  \
   ^\s*(private\s+function)\s+(\w+).*+|  \
   ^\s*(private\s+command)\s+(\w+).*+|  \
   ^\s*(\/\*\s+include).*+|   \
^\s*(\*\/).*+ \
   into expr
 

 breaking down and displaying complex REGEX this way is very helpful.

 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




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


Re: iOS splash screen

2015-02-25 Thread Richard Miller
I tried this, as noted below. I still see a black screen briefly _after_ 
the first splash screen shows... at least on my iPhone 6+.




On 2/25/15 6:40 PM, PystCat wrote:

Yes and you’re going to laugh… Do a screen grab of your splash screen and set 
that as your splash screen under the iOS settings on LC.  When the app starts 
on the device, it will show that graphic and then immediately go to your actual 
splash screen…  You won’t see it happen.

Paul



On Feb 25, 2015, at 5:48 PM, Richard Miller w...@together.net wrote:

I am just finishing up an iOS app. Having a bit of an issue with the splash 
screen/startup process.

Many of the iOS apps on my phone start up by immediately showing a splash 
screen and then transitioning to the first main screen. From the moment I start 
up the icon, there is no black screen or white screen. There is only a splash 
screen and then the main screen. This looks clean.

With my LC app, I set the first card of my stack to be the splash screen, which 
then transitions to the first main screen. If I then avoid setting a splash 
screen in the application settings area, when the app first starts, I see a 
black screen for about a second or two, then the first card of the stack, 
followed shortly thereafter by the main screen. I can't seem to eliminate that 
initial black screen. This is not as clean a start up process as I see with 
other iOS apps.

If I do set a splash screen in the application settings area, the app starts up 
by immediately showing that screen, but then transitions briefly to a black 
screen, followed by the first card of my stack and then the main screen. Again, 
I can't seem to eliminate that black screen.

Is there a way to eliminate it?

Thanks,
Richard Miller

___
use-livecode mailing list
use-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: Moving to the Cloud. LiveCodeServer on Linux CentoOS vs Ubuntu 11

2015-02-25 Thread Brahmanathaswami

Thanks, Richard/Simon:

Thanks for the encouragement... knowing that it should go well helps 
with the job (these migrations are tedious)


1) It's Digital Ocean we're moving to... two other sites run by the 
business team (minimela.com and hhe-online.org) are already over on 
Digital Ocean and they are extremely happy with it. Lighting fast (but 
the sites are very light weight)


2) Ubuntu 11   I don't know what I'm talking about (hehe)... If Simon 
says they are up to 14.* then that's what it will be. I've got all 
tweaks to httpd conf very well documented so setting up the new web 
service I hope will go smoothly. It's easy with VirtualMin/WebMin -- the 
dream machine of web server control panels IMHO  (having used Plesk, 
Ensim, Cpanel... all of which drove me nuts)


3) Just installed keys on the current server yesterday.. really cool !

4) I'll test with the latest LC server 7... What does it offer on the 
server that is significant over 6.* ? Unicode is becoming increasing 
important... but I think all that is in 6.7...


4) Papaya fresh yogurt, breakfast with Expresso with fresh Jersey cream 
and free fabulous vegetarian lunch awaits you here on Kauai if you want 
to come over and help me with the migration. I might even be able to get 
you free lodging within 5 minutes of our place. (Do you need a break?)


This will be my 8th server migration in 20 years since we first moved 
onto a machine in Honolulu in 1995 and it looks like it will be the 
easiest. (VirtualMin makes it easy)


Our target to complete migration by May 19... so we are giving our 
selves plenty of time.  I'll be spinning up 16GB ram 8 Core 320GB (or 
more) SSD instance at Digital Ocean any day now, happy to get off this 
dedicated server at GoGrid. Last year it had a file system error and I 
was sweating for 15 hours (longest outage in 20 years)  as tech kept 
running fsck until finally in the middle of the night it finished and we 
got a prompt! I never want to go thru that again.


Cheers from perfect weather Kauai

Actually we are going thru an very uncharacteristic drought by we don't 
miss all the mold and mud of the usual Kauai winter.


BR



Richard Gaskin wrote:


The first thing Brahmanathaswami will want to do is set up his shared 
keys, and Digital Ocean has a good tutorial on that:

https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2


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


[Datagrid] How to change an objects owner from a Datagrid to a Card

2015-02-25 Thread Kay C Lan
My first real play with Datagrids and I have to say I'm very impressed.
After sorting out the display and getting the first set of data into the DG
(which all went very smoothly - much better than expected) I went to
implement a Next and Previous buttons to move through chunks of data. To do
this I duplicated the Next and Previous btns on a different Card and then
using the Project Browser dragged the duplicates, one at a time, to the
Card with the DG. Unfortunately, for reasons I can't explain, the Previous
btn ended up on the Card, but the Next btn ended up as part of the DG.

I've now spent quite a lot of time trying to drag the Next btn out of the DG
and onto the Card but with no success. The 'owner' is a read only property
and there is no hint on how to scriptually achieve a change of ownership.

I'm looking at the Menu - Object - Ungroup Selected with fear and boding.
Foolishly I didn't start my DG experiment with 2 fields and an image as per
the online Lesson, but with 56 fields and some graphics in a rather complex
split level display. Looking at the Application/Project Browser I see there
are A LOT of objects associated with my DG that I didn't put there. So
admitting I have no clue as to the internal workings of the DG the last
thing I want to do is Ungroup Selected and have it all break.

Any help very much appreciated.
___
use-livecode mailing list
use-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 splash screen

2015-02-25 Thread Scott Morrow
Ralph,
I don’t know if this will help in your case but I had a similar sounding 
problem in one of my iOS apps. The problem seemed dependent on  actions (and a 
visual effect) that happened during the openCard handler. When I used send in 
time to call these events the black flash went away. In my case waiting 10 
milliseconds made the problem intermittent.  100 milliseconds seems to have 
cured it. Exactly what the problem was I never (unfortunately) bothered to 
discover.

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email sc...@elementarysoftware.com
office 1-800-615-0867
--





 On Feb 25, 2015, at 5:56 PM, Ralph DiMola rdim...@evergreeninfo.net wrote:
 
 I don't see the black screen flash. I am using an iPod 5 iOS 8.1.3 and iPad
 2 iOS 8.1.3.
 I make the splash screen in the standalone setting the same as the stack's
 splash screen card.
 I open the main card from the opencard handler in the splash screen card.
 I use my own re-sizing library.
 
 Mac Book OS X 10.9.5
 Xcode 6.1.1
 LC 6.7.2
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
 Of Richard Miller
 Sent: Wednesday, February 25, 2015 5:49 PM
 To: How to use LiveCode
 Subject: iOS splash screen
 
 I am just finishing up an iOS app. Having a bit of an issue with the splash
 screen/startup process.
 
 Many of the iOS apps on my phone start up by immediately showing a splash
 screen and then transitioning to the first main screen. From the moment I
 start up the icon, there is no black screen or white screen. There is only a
 splash screen and then the main screen. This looks clean.
 
 With my LC app, I set the first card of my stack to be the splash screen,
 which then transitions to the first main screen. If I then avoid setting a
 splash screen in the application settings area, when the app first starts, I
 see a black screen for about a second or two, then the first card of the
 stack, followed shortly thereafter by the main screen. I can't seem to
 eliminate that initial black screen. This is not as clean a start up process
 as I see with other iOS apps.
 
 If I do set a splash screen in the application settings area, the app starts
 up by immediately showing that screen, but then transitions briefly to a
 black screen, followed by the first card of my stack and then the main
 screen. Again, I can't seem to eliminate that black screen.
 
 Is there a way to eliminate it?
 
 Thanks,
 Richard Miller
 
 ___
 use-livecode mailing list
 use-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