AW: Making the content of LC Server Scripts Safe

2014-05-22 Thread Tiemo Hollmann TB
I think it's not special to LiveCode server scripts. If you communicate from
LiveCode via PHP to a MySQL db, the db credentials are in the PHP files also
"visible". You only can protect you server dir with htaccess from being
ripped. Please correct me, if I am wrong.
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
> von Nakia Brewer
> Gesendet: Donnerstag, 22. Mai 2014 06:31
> An: use-livecode@lists.runrev.com
> Betreff: Making the content of LC Server Scripts Safe
> 
> Afternoon all,
> 
> As I venture down the road of learning what the wonders of LC Server
scripts
> can do I find myself wondering how safe are the content of these scripts.
> Being completely new to Web and Server development it's probably a silly
> question but for example:
> 
> I have a LC Server script that is called from a mobile testing app that
> records the devices location into a MySQL Database using $_GET params.
> In the LC Server Script file resides all my connection details for my
database
> etc.
> 
> So, what stops someone from accidentally stumbling across that URL and
getting
> the content of that file?
> 
> Or am I completely not understanding?
> 
> Sorry in advance :)
> 
> 
> 
> 
> COPYRIGHT / DISCLAIMER: This message and/or including attached files may
> contain confidential proprietary or privileged information. If you are not
the
> intended recipient, you are strictly prohibited from using, reproducing,
> disclosing or distributing the information contained in this email without
> authorisation from WesTrac. If you have received this message in error
please
> contact WesTrac on +61 8 9377 9444. We do not accept liability in
connection
> with computer virus, data corruption, delay, interruption, unauthorised
access
> or unauthorised amendment. We reserve the right to monitor all e-mail
> communications.
> 
> ___
> use-livecode mailing list
> use-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: AW: Making the content of LC Server Scripts Safe

2014-05-22 Thread Nakia Brewer
Okay,

I'll have a google around and see if I can come to understand that method...

Sent from my iPhone

> On 22 May 2014, at 5:07 pm, "Tiemo Hollmann TB"  wrote:
> 
> I think it's not special to LiveCode server scripts. If you communicate from
> LiveCode via PHP to a MySQL db, the db credentials are in the PHP files also
> "visible". You only can protect you server dir with htaccess from being
> ripped. Please correct me, if I am wrong.
> Tiemo
> 
>> -Ursprüngliche Nachricht-
>> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
> Auftrag
>> von Nakia Brewer
>> Gesendet: Donnerstag, 22. Mai 2014 06:31
>> An: use-livecode@lists.runrev.com
>> Betreff: Making the content of LC Server Scripts Safe
>> 
>> Afternoon all,
>> 
>> As I venture down the road of learning what the wonders of LC Server
> scripts
>> can do I find myself wondering how safe are the content of these scripts.
>> Being completely new to Web and Server development it's probably a silly
>> question but for example:
>> 
>> I have a LC Server script that is called from a mobile testing app that
>> records the devices location into a MySQL Database using $_GET params.
>> In the LC Server Script file resides all my connection details for my
> database
>> etc.
>> 
>> So, what stops someone from accidentally stumbling across that URL and
> getting
>> the content of that file?
>> 
>> Or am I completely not understanding?
>> 
>> Sorry in advance :)
>> 
>> 
>> 
>> 
>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may
>> contain confidential proprietary or privileged information. If you are not
> the
>> intended recipient, you are strictly prohibited from using, reproducing,
>> disclosing or distributing the information contained in this email without
>> authorisation from WesTrac. If you have received this message in error
> please
>> contact WesTrac on +61 8 9377 9444. We do not accept liability in
> connection
>> with computer virus, data corruption, delay, interruption, unauthorised
> access
>> or unauthorised amendment. We reserve the right to monitor all e-mail
>> communications.
>> 
>> ___
>> use-livecode mailing list
>> use-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
> 

COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.



___
use-livecode mailing list
use-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: Making the content of LC Server Scripts Safe

2014-05-22 Thread John Craig
A server .lc file is parsed by the server and only it's output is ever 
sent to the browser (not the source code), so the code is safe :)




On 22/05/2014 05:31, Nakia Brewer wrote:

Afternoon all,

As I venture down the road of learning what the wonders of LC Server scripts 
can do I find myself wondering how safe are the content of these scripts.
Being completely new to Web and Server development it's probably a silly 
question but for example:

I have a LC Server script that is called from a mobile testing app that records 
the devices location into a MySQL Database using $_GET params.
In the LC Server Script file resides all my connection details for my database 
etc.

So, what stops someone from accidentally stumbling across that URL and getting 
the content of that file?

Or am I completely not understanding?

Sorry in advance :)




COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.

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

2014-05-22 Thread Phil Jimmieson
Hi Devin,
if you have more than one reference to the same image, then you'd presumably 
have to set all of their filenames to something else, then the old image would 
be removed from the cache, but yes - what I'm doing is just setting the 
filename of the image to empty and then back to the filename of the (now 
modified) image on disk and LiveCode loads that newly modified image into its 
image cache and displays it. I agree that the documentation should say 
something about this - I had no idea that was how this worked and spent a while 
looking for something that would flush the cache etc. etc. before posting here 
and getting the very helpful response from Ben.

On 21 May 2014, at 16:44, Devin Asay  wrote:

> On May 21, 2014, at 8:08 AM, Phil Jimmieson  wrote:
> 
>> Hi Ben,
>> thanks. That works perfectly. No complicated commands or anything.
>> 
>> On 21 May 2014, at 15:01, Benjamin Beaumont  wrote:
>> 
>>> Hi Phil,
>>> 
>>> This was discussed by the team at the time. There is no special handling
>>> for the changing of images currently referenced by the cache. I spoke to
>>> one of the engineers and he suggested unsetting the reference to the image
>>> as the cache will release images that no longer have a reference. Reseting
>>> the filename will cause the image the be recached in it's new form.
>> 
> 
> Phil, Ben,
> 
> Do you mean all you have to do is set the filename property of the image to 
> empty, then set it to the external file reference again? The dictionary ought 
> to be updated, or a note added, to alert users on how to do this.
> 
> Devin
> 
> Devin Asay
> Learn to code with LiveCode University
> http://university.livecode.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

--
Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236
Computer Science Dept., Liverpool University, Ashton Building, Ashton Street
Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
I used to sit on a special medical board... ...but now I use this ointment.





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


System menubar (on right) on Mac

2014-05-22 Thread Bill Vlahos
I it possible to add a menu item on Mac in my LC app in the menu bar on the top 
right of the screen (where the WIFI, clock, volume, etc are)? These menus are 
always available regardless of which application is active.

I want to enable the user to hilite any text on the screen go to that menu item 
and capture the hilited text for my program.

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.
lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)

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


Re: What is the max number of points in vector graphic?

2014-05-22 Thread dunbarx
Alejandro.


I think it is rather 32,767. I made a simple test with a line grc:




on mouseUp
   repeat with y = 100 to 32768
  put "100," & y & return after tList
   end repeat
   set the points of grc 1 to tList
end mouseUp


I get crap if the value is above that number. 


Craig Newman


-Original Message-
From: Alejandro Tejada 
To: use-revolution 
Sent: Wed, May 21, 2014 10:45 pm
Subject: What is the max number of points in vector graphic?


In my informal tests, the max number of points
in a vector graphic is 54,274.

Could anyone confirm this?

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-is-the-max-number-of-points-in-vector-graphic-tp4679840.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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

 
___
use-livecode mailing list
use-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: Making the content of LC Server Scripts Safe

2014-05-22 Thread Devin Asay

On May 21, 2014, at 10:31 PM, Nakia Brewer 
 wrote:

> Afternoon all,
> 
> As I venture down the road of learning what the wonders of LC Server scripts 
> can do I find myself wondering how safe are the content of these scripts.
> Being completely new to Web and Server development it's probably a silly 
> question but for example:
> 
> I have a LC Server script that is called from a mobile testing app that 
> records the devices location into a MySQL Database using $_GET params.
> In the LC Server Script file resides all my connection details for my 
> database etc.
> 
> So, what stops someone from accidentally stumbling across that URL and 
> getting the content of that file?
> 
> Or am I completely not understanding?
> 
> Sorry in advance :)

As John said .lc files are parsed by the server and only the output is visible 
to the browser. But I'm like you, when storing things like MySQL login 
credentials I'm nervous about saving them in plain text, even in a .lc file. So 
I take the extra step of storing the credentials in an encrypted form in a file 
separate from the .lc script that calls it. Then I have the .lc script read in 
and decrypt the login credentials before logging in to the MySQL server. It may 
be overkill and one extra step, but most hackers go for the low-hanging fruit. 
I figure this makes it harder, so the bad guys will just move on to other 
targets.

My $.02.

Devin

Devin Asay
Learn to code with LiveCode University
http://university.livecode.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: Image cache question

2014-05-22 Thread Devin Asay

On May 22, 2014, at 2:26 AM, Phil Jimmieson 
 wrote:

> Hi Devin,
> if you have more than one reference to the same image, then you'd presumably 
> have to set all of their filenames to something else, then the old image 
> would be removed from the cache, but yes - what I'm doing is just setting the 
> filename of the image to empty and then back to the filename of the (now 
> modified) image on disk and LiveCode loads that newly modified image into its 
> image cache and displays it. I agree that the documentation should say 
> something about this - I had no idea that was how this worked and spent a 
> while looking for something that would flush the cache etc. etc. before 
> posting here and getting the very helpful response from Ben.

I've added a note to the dictionary about removing an image from the cache. It 
is submitted "pending approval". Anyone at RunRev monitoring this nowadays?

Devin

Devin Asay
Learn to code with LiveCode University
http://university.livecode.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: Making the content of LC Server Scripts Safe

2014-05-22 Thread AndyP
Also apart from having the details in separate file, encrypt the file and
place it outside your public html folder, this way no would be able to
stumble onto the file by erm... 'accident'



-
Andy Piddock 


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

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


Your LiveCode Work Desks - New Blog
http://livecodemydesk.blogspot.de/  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Making-the-content-of-LC-Server-Scripts-Safe-tp4679841p4679853.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: System menubar (on right) on Mac

2014-05-22 Thread Trevor DeVore
On Thursday, May 22, 2014, Bill Vlahos  wrote:

> I it possible to add a menu item on Mac in my LC app in the menu bar on
> the top right of the screen (where the WIFI, clock, volume, etc are)? These
> menus are always available regardless of which application is active.
>

Bill,

It requires an external. Email me off-list and I can send you something.

-- 
Trevor DeVore
___
use-livecode mailing list
use-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: Making the content of LC Server Scripts Safe

2014-05-22 Thread Matthias Rebbe | M-R-D

Yes and no. If for what ever reason the lc server engine is not running or 
misconfigured than it could happen that the content of that .lc script will be 
outputted. So the best thing would be, to place the script outside the 
public_html folder as AndyP suggested. You could then create a script within 
the public_html folder which uses the include command to include that "outside" 
script. In case of the lc engine is not running or is misconfigured, then you 
will only see the include… command and not the content of the complete 
"confidential" script.

Regards,

Matthias

Am 22.05.2014 um 10:01 schrieb John Craig :

> A server .lc file is parsed by the server and only it's output is ever sent 
> to the browser (not the source code), so the code is safe :)
> 
> 
> 
> On 22/05/2014 05:31, Nakia Brewer wrote:
>> Afternoon all,
>> 
>> As I venture down the road of learning what the wonders of LC Server scripts 
>> can do I find myself wondering how safe are the content of these scripts.
>> Being completely new to Web and Server development it's probably a silly 
>> question but for example:
>> 
>> I have a LC Server script that is called from a mobile testing app that 
>> records the devices location into a MySQL Database using $_GET params.
>> In the LC Server Script file resides all my connection details for my 
>> database etc.
>> 
>> So, what stops someone from accidentally stumbling across that URL and 
>> getting the content of that file?
>> 
>> Or am I completely not understanding?
>> 
>> Sorry in advance :)
>> 
>> 
>> 
>> 
>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
>> contain confidential proprietary or privileged information. If you are not 
>> the intended recipient, you are strictly prohibited from using, reproducing, 
>> disclosing or distributing the information contained in this email without 
>> authorisation from WesTrac. If you have received this message in error 
>> please contact WesTrac on +61 8 9377 9444. We do not accept liability in 
>> connection with computer virus, data corruption, delay, interruption, 
>> unauthorised access or unauthorised amendment. We reserve the right to 
>> monitor all e-mail communications.
>> 
>> ___
>> use-livecode mailing list
>> use-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: System menubar (on right) on Mac

2014-05-22 Thread Matthias Rebbe | M-R-D
Trevor, 

is this just an offer to Bill or is it possible to also get this external?

Regards,

Matthias


Am 22.05.2014 um 18:04 schrieb Trevor DeVore :

> On Thursday, May 22, 2014, Bill Vlahos  wrote:
> 
>> I it possible to add a menu item on Mac in my LC app in the menu bar on
>> the top right of the screen (where the WIFI, clock, volume, etc are)? These
>> menus are always available regardless of which application is active.
>> 
> 
> Bill,
> 
> It requires an external. Email me off-list and I can send you something.
> 
> -- 
> Trevor DeVore
> ___
> use-livecode mailing list
> use-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: Making the content of LC Server Scripts Safe

2014-05-22 Thread Richard Gaskin

Devin Asay wrote:

> As John said .lc files are parsed by the server and only the output
> is visible to the browser. But I'm like you, when storing things
> like MySQL login credentials I'm nervous about saving them in plain
> text, even in a .lc file. So I take the extra step of storing the
> credentials in an encrypted form in a file separate from the .lc
> script that calls it. Then I have the .lc script read in and decrypt
> the login credentials before logging in to the MySQL server. It may
> be overkill and one extra step, but most hackers go for the
> low-hanging fruit. I figure this makes it harder, so the bad guys
> will just move on to other targets.
>
> My $.02.

Here's another $0.02, raising the total value to $0.04, courtest of Dave 
Cragg, author of libURL and other good stuff:


Whenever practical, it may be useful to store critical data outside the 
web root folder, e.g.:


accountfolder/
encryptedpasswords.txt
   ht-docs/
  .htaccess
  index.lc
  cgi-bin/
livecode-server

The security benefit here is minor, really only protecting the data from 
cases in which Apache fails to handle .htaccess correctly.


Once moved outside the web root, getting that data requires either total 
failure of permissions enforcement by Apache (something I've never 
seen), or complete access to your server (something we see often, 
usually from weak passwords*, and in which case you have bigger issues 
to worry about because everything on your site is completely pwned).


Minor as it is to store data outside the web root, as with all things 
security each little improvement is just one less potential exploit, so 
where there's no downside it's probably worth doing.


As Dave says about moving even the server engine outside web root, "It's 
like the difference between quiche and egg pie!" :)



* Lately I use shared SSH keys for passwordless login to my servers, not 
only for the convenience but also because it allows me to use scp, rsync 
and other Linux utilities from LiveCode.


On dedicated servers (where you have access to sshd.conf), once you have 
your shared keys set up you can take that one step further and 
completely turn off password authentication altogether, making the 
system immune to brute force attacks.


--
 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: Writing to Mum in Glagolitic script

2014-05-22 Thread Richmond

On 21/05/14 22:03, Alejandro Tejada wrote:

Richmond Mathewson-2 wrote

You are asking a lot: for a start, my Devawriter contains
thousands of numToChar statements that have,
for version 7, to be converted to 'what-ever-it-was-I-forgot'.

No. I am asking that you try this in a plain text field
using the Input Method of your OS.


I am afraid you have a misreading of my input method.

My input method involves a huge amount of post-processing after
an end-user presses a key on their keyboard: all that code would have
to be altered prior to it working properly with LC 7.

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: Writing to Mum in Glagolitic script

2014-05-22 Thread Richmond

On 22/05/14 01:59, Devin Asay wrote:

On May 21, 2014, at 11:31 AM, Richmond 
  wrote:


On 21/05/14 18:19, Devin Asay wrote:

Have you tried out the prerelease of LiveCode 7? I'm really curious how your 
projects will work with it. My understanding is that all of the arcane, 
language-specific glyph munging rules are handled transparently (or will be). 
I've fiddled with it a bit with Cyrillic, and one of my students and I 
experimented with Arabic. The results with Cyrillic were perfect (although just 
typing Russian has never been problematic in LC, moving text around and looking 
at chunks of text required lots of hoop-jumping. Arabic and other RTLS still 
have some problems, but they're light years ahead of what we've had before.

These are things we ought to hammer on during the Global Jam Richard announced 
last week. LC 7 I think will be a huge step forward for those of us who use 
Unicode.

Devin,

No, I haven't for 2 reasons:


[snip]


However; "just for fun" (which, in my books at least, is the best reason to do 
this sort of thing<0, if
I can find the time this coming weekend, I will try with my PISMO programs, and 
then, if that works,
at a lter date with my Devawriter.

However; as I understand things the problems associated with languages that do 
not write in a
straightforward RTL or LTR way will not be sorted out; my Devawriter will still 
need all its
sub-routines to arrange letters:

Consider the Sanskrit word "Karma"; I type in k - a - r - m - a and the output 
has to be:

'kamra' (which is read and pronounced 'karma').

Similarly with the word "hindi": I type h - i - n - d - i and the output has to 
do this:

i - h - i - (nd)  where '(nd)' is a "funny letter" (conjunct consonant) formed 
when a 'n' knocks up
against an 'h'.

I have not found the Unicode system in versions of RR/LC from 2 to 6.7  a 
source of difficulty;
in fact, far from it, they have been a source of great joy as I have been able 
to successfully
been able to carry my Sanskrit thing "off".
---

"glyph munging rules" (what a whacked-out phrase; lovely) may be there; but 
certainly not for
Sanskrit unless one uses exactly the half-cocked halant system that others use 
that does not
do the writing system any favours; and certainly not for a writing system that 
has to access thousands of additional characters in the Personal Private Use 
areas of the Unicode system that are specific to
my specialist fonts.

---

Interesting. So it sounds like nobody handles Sanskrit properly. Now, knowing 
next to nothing about Devanagari (the point of Devawriter, right?) I threw 
together a stack in LC 7 DP3 and chose my Devanagari - QWERTY keyboard. Sure 
enough, it types in characters I don't recognize, but I don't see any 
transformations happening in the way you describe. I've probably completely 
missed the point, but I'm interested in what works and what's lacking in LC's 
unicode implementation. Or maybe it's unicode itself that's lacking, if no 
other applications get it right either.

Devin


What you will be getting is Hindi: which is to Sanskrit as Italian is to 
Latin.


The writing system for Hindi is similarly complex: so what computers 
with inbuilt Devanagari

keyboards do is produce an approximation using halants (half-characters).

This is neither proper Hindi nor proper Sanskrit.

Richmond.


Devin Asay
Office of Digital Humanities
Brigham Young University


___
use-livecode mailing list
use-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: Making the content of LC Server Scripts Safe

2014-05-22 Thread John Craig
Ageed - always include your credentials from another file - plenty of 
wise replies!  :)



On 22/05/2014 17:04, Matthias Rebbe | M-R-D wrote:

Yes and no. If for what ever reason the lc server engine is not running or misconfigured than it 
could happen that the content of that .lc script will be outputted. So the best thing would be, to 
place the script outside the public_html folder as AndyP suggested. You could then create a script 
within the public_html folder which uses the include command to include that "outside" 
script. In case of the lc engine is not running or is misconfigured, then you will only see the 
include… command and not the content of the complete "confidential" script.

Regards,

Matthias

Am 22.05.2014 um 10:01 schrieb John Craig :


A server .lc file is parsed by the server and only it's output is ever sent to 
the browser (not the source code), so the code is safe :)



On 22/05/2014 05:31, Nakia Brewer wrote:

Afternoon all,

As I venture down the road of learning what the wonders of LC Server scripts 
can do I find myself wondering how safe are the content of these scripts.
Being completely new to Web and Server development it's probably a silly 
question but for example:

I have a LC Server script that is called from a mobile testing app that records 
the devices location into a MySQL Database using $_GET params.
In the LC Server Script file resides all my connection details for my database 
etc.

So, what stops someone from accidentally stumbling across that URL and getting 
the content of that file?

Or am I completely not understanding?

Sorry in advance :)




COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.

___
use-livecode mailing list
use-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: RELEASE LiveCode 6.6.2 RC4

2014-05-22 Thread Thomas McGrath III
Hello all, I have been away for a little while and am just getting back into LC 
again. Andre coming back and finishing the fbAuth library sparked my creative 
juices again.

Anyway, I was wondering if anyone noticed arrowkey or keyDown not working 
correctly in this build. I downloaded  this tetris stack 
http://livecodegamedeveloper.com/blog/2014-02-10/livecode-tetris.lc from a 
previous thread and noticed that it was not working on my Mac OSX machine. So I 
put in a couple of answer commands but no luck. I then put in a rawKeyDown and 
got it to work using the arrow keys that way.


on arrowKey pKey
 put pKey into sKeyPress
 -- answer sKeyPress
 pass arrowKey
end arrowKey

on keyDown pKey
 if pKey = space then put "space" into sKeyPress
 -- answer sKeyPress
 pass keyDown
end keyDown





on rawKeyDown pKey
 if pKey is 65361 then put "left" into sKeyPress
 if pKey is 65363 then put "right" into sKeyPress
 if pKey is 65362 then put "up" into sKeyPress
 if pKey is 65364 then put "space" into sKeyPress
 --answer pKey
end rawKeyDown


Thanks Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

O
___
use-livecode mailing list
use-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: Making the content of LC Server Scripts Safe

2014-05-22 Thread Martin Baxter
On 22/05/14 16:52, AndyP wrote:
> Also apart from having the details in separate file, encrypt the file
> and place it outside your public html folder, this way no would be
> able to stumble onto the file by erm... 'accident'
> 
> 
> 
> - Andy Piddock

Storing files outside web root is always the recommended solution I
think. But that is not always allowed. In such a case (and assuming your
webserver is Apache), a folder containing includes you want to keep
secret can be protected with an .htaccess file like so:


deny from all


Which bans Apache from serving any files from that folder, but livecode
should still be able to access the contents.

Martin Baxter

___
use-livecode mailing list
use-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: System menubar (on right) on Mac

2014-05-22 Thread Trevor DeVore
On Thursday, May 22, 2014, Matthias Rebbe | M-R-D <
matthias_livecode_150...@m-r-d.de> wrote:

> is this just an offer to Bill or is it possible to also get this external?
>

You can get it as well. Just email me off list and let me know which
version of LiveCode you are using.

-- 
Trevor DeVore
___
use-livecode mailing list
use-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] Database Engine Comparison

2014-05-22 Thread l
> on the SQLite mailing list, I came across this comment by Dr Richard Hipp

For reference, I found the comment at
http://readlist.com/lists/sqlite.org/sqlite-users/12/60699.html




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/OT-Database-Engine-Comparison-tp4656716p4679865.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Coda 2 code formatting

2014-05-22 Thread stephen barncard
Is someone out there currently using Coda 2 for livecode server work?

I love the editor but the plugins that enable Livecode code highlighting
seems to be broken with the 2.x improvements. It just won't recognize rev
coding, or iRev documents either.

But the editor, while working on PHP and other documents, is awesome and am
just starting to get into their kind of workflow.

I know there was a new Livecode plugin offered for it by "The Core" on
the forum
back in 
2012,
a 1.1 version, and appears to be the 'newest' version around. I have an
email in to Core but I am no sure he's been on the forum lately.

Was there some kind of extra thing that needs to happen besides dropping
the plugin into the app?

Coda used to use the SubEthaEdit text engine, but checking their site
showed no change in format, so I guess Panic just redesigned the whole text
engine for 2.0

It's a great editor and I want to use it!
*--*
*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: Writing to Mum in Glagolitic script

2014-05-22 Thread Alejandro Tejada
Richmond Mathewson-2 wrote
> I am afraid you have a misreading of my input method.
> My input method involves a huge amount of post-processing after
> an end-user presses a key on their keyboard: all that code would have
> to be altered prior to it working properly with LC 7.

Now I understand. Then, OS input methods are incomplete for
some very specific languages.

Thanks for explaining this.

Al





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Writing-to-Mum-in-Glagolitic-script-tp4679681p4679866.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Writing to Mum in Glagolitic script

2014-05-22 Thread Richmond

On 22/05/14 21:00, Alejandro Tejada wrote:

Richmond Mathewson-2 wrote

I am afraid you have a misreading of my input method.
My input method involves a huge amount of post-processing after
an end-user presses a key on their keyboard: all that code would have
to be altered prior to it working properly with LC 7.

Now I understand. Then, OS input methods are incomplete for
some very specific languages.

Thanks for explaining this.

Al




Alejandro,

I am perfectly happy to send you the code off-list on the understanding 
that you will keep it to yourself

and not do anything with it other than look at how the code works.

Before that, however, I do recommend you download a version for your OS 
from the website;


http://andregarzia.on-rev.com/richmond/dwriterpro.html

[that bit is addressed to anybody who is interested]

and play around with it, and open the Devawriter.ttf font in a font 
editor and have a good look at that.


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: What is the max number of points in vector graphic?

2014-05-22 Thread Alejandro Tejada
Ok. This is the max number for a signed 16-bit integer.
This limit was not included in the list from page 43 of
LiveCode User Guide:

2.2.9  LiveCode Memory Limits

The following table details the memory limits for different types of
LiveCode components. 
Please note that these limits refer to the maximums that may be in use at
any one time. You can 
store additional information on disk or in a database and load it when it is
required. 
 
A note about entries designated as "Unlimited": 
Since each open stack file resides completely in memory, LiveCode stacks
(and all structures 
within a stack) are effectively limited by available memory and by
LiveCode's total address 
space of 4G (4,294,967,296 bytes) on 32-bit systems 
 
Total addressable space  4 GB (on 32-bit systems) 
Maximum length of a line in a field  65,536 characters storage 
No more than 32,786 pixels wide for display 
Maximum size of an object  Unlimited 
Maximum number of objects in a group  Unlimited 
Maximum number of objects on a card  Unlimited 
Maximum number of cards in a stack  Unlimited 
Maximum number of objects in a stack  Unlimited 
 
Maximum length of object names  65,536 characters 
Maximum length of custom property names  255 characters 
Maximum length of command or function names  65,536 characters 
Maximum size of custom properties  Unlimited 
Maximum number of custom properties  Unlimited 
Maximum size of a script  Unlimited 
Maximum size of other properties  64K 
   
Maximum nesting level in control structures  Unlimited 
Maximum level of recursion  Unlimited



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-is-the-max-number-of-points-in-vector-graphic-tp4679840p4679868.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


sloooowww standalone building with many included files

2014-05-22 Thread Chris Sheffield
So I have an app. An iOS app. This app includes lots and lots of small audio 
files (nearly 8500). All those files are in a folder, which is included in the 
Copy Files pane of the standalone build settings. Creating the build works just 
fine, but it takes a very long time. I haven’t kept track exactly, but probably 
close to 10 minutes. Maybe not quite.

Anyway, can anyone think of a way to speed this up? I tried creating my own 
routine to copy that folder into the app bundle in a savingMobileStandalone 
handler. This worked very well as far as the copying goes. I used revCopyFolder 
and it worked great and was very quick. It probably only took about 20 seconds 
to create the build, if that. Unfortunately, it appears that the signing of the 
app takes place *before* what happens in the savingMobileStandalone handler, 
which seems to be invalidating the signature, as the app bundle is being 
modified after the signing. I was able to manually install the app on my device 
and run it just fine, but once I uploaded the build to Testflight for testing 
purposes, no one was able to download and install it successfully from there.

So any thoughts? Or should I create an enhancement request to see if the build 
process can be sped up a bit. Not sure why it takes so long, when revCopyFolder 
is quite fast.

Thanks,
Chris



--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.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: Writing to Mum in Glagolitic script

2014-05-22 Thread Alejandro Tejada
Richmond Mathewson-2 wrote
> I am perfectly happy to send you the code off-list on the understanding 
> that you will keep it to yourself and not do anything with it other than 
> look at how the code works.
> [snip]

You already published your source code. :o
http://runtime-revolution.278305.n4.nabble.com/5000-lines-of-code-td3575168.html

I believe that you could publish more custom text editors
and effectively carve a niche for your unique skills of
Language Teacher and Software Developer.

So, for which language would be your next custom text editor?
http://www.toptenz.net/top-10-invented-languages.php

Al




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Writing-to-Mum-in-Glagolitic-script-tp4679681p4679870.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Writing to Mum in Glagolitic script

2014-05-22 Thread Richmond

On 22/05/14 21:00, Alejandro Tejada wrote:

Richmond Mathewson-2 wrote

I am afraid you have a misreading of my input method.
My input method involves a huge amount of post-processing after
an end-user presses a key on their keyboard: all that code would have
to be altered prior to it working properly with LC 7.

Now I understand. Then, OS input methods are incomplete for
some very specific languages.

Thanks for explaining this.

Al





OS input methods normally go for the lowest common denominator.

For instance, there is no keyboard layout that I am aware of on any 
operating system for
Scots; so one is forced to use an English keyboard layout, at which 
point one cannot find
the letter 'Ȝ' (Hex - 21C) or 'ȝ' (Hex - 21D), which when one wants to 
write 'minȝan' is,

indeed minȝan!

The same goes for dead languages for the very simple fact that 
historically writing systems have

simplified:

Sanskrit using the Devanagari script was a whole load more complicated 
than Hindi with the same,

and Vedic (which predated Sanskrit) was even more difficult.

Old Church Slavonic using the Cyrillic script used an 
alphabet-cum-abugida with about 47 letters
in 3 forms (Capitals, lower-case and combining) while modern Slavic 
languages that use Cyrillic
writing systems use far less and have stopped using combining characters 
and the 30-odd

diacritical marks.

Unicode is a brave, and very brave, attempt to be as universal as is 
realistically possible. However
'realistically' possible doesn't mean making space for the set of 
characters used by the Mittani
people who lived in what is now Turkey about 4000 years ago, is 
currently understood by 12 professors

and consists of a library of 40 pages.

Now above-and-beyond the Unicode system: which is, after all, from the 
end user's point of view, nothing more than an ASCII system on steroids 
(one character for one magic number), there is

how those symbols are combined.

Many ancient languages were not written in a way we would call LTR or 
RTL, or even, like modern Chinese can be, from top-to-bottom, but in 
ways which can only, frankly, be termed "bl**dy
awkward". There was, also, very little of what we understand by 
standardisation; both in terms

of what we call spelling, and in the way things were written.

---

Now; if one wants to use Unicode for setting one's menu bar in Modern 
Chinese, Arabic,
Russian and so forth, there is really very little trouble [well, Ha, Ha, 
until one remembers that
most Arabic letters come in 3-4 varaint forms: start-of-word, 
middle-of-word, end-of-word and

standalone]. However, dead languages are "something else".

To expect Livecode to just "DO" dead languages is a completely 
unrealistic expectation. That
is not RunRev's job [right now it seems to be mine]; their job is to 
provide a computer coding
platform, and make it capable of providing interfaces that function in 
modern languages.




The reason why operating systems ONLY provide keyboard layouts for 
living languages is because,
most of the time, all they have to do is map glyphs to the keys on our 
keyboard: they don't have to
contains thousands of twiddly rules for combining those glyphs with 101 
exceptions. The sheer time
and specialist knowledge required to produce a keyboard layout that did, 
say, Sanskrit, authentically
[not forgetting, of course that Unicode does not provide about 90% of 
what is needed to represent

authentic Sanskrit] is not worth the financial return.

If you do not believe that: my Devawriter has taken me about 6 months 
full-time (i.e. 4 years spare
time) to produce (this is of course one doesn't count the time I spent 
teaching myself a working knowledge of the langauge and the mechanics of 
the writing system). So far this effort has brought
me about $350 of which $100 was an extremely kind grant from the Saiva 
Siddhanta Church in Hawaii.


-

Cripes; that was a long flog.

But: I do know what I'm talking about, and it needs to be said so that 
loads of people don't get
"all cheesed off" when they cannot use Livecode with their favourite 
dead language straight out of the box.


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: Writing to Mum in Glagolitic script

2014-05-22 Thread Richmond

On 22/05/14 21:49, Alejandro Tejada wrote:

Richmond Mathewson-2 wrote

I am perfectly happy to send you the code off-list on the understanding
that you will keep it to yourself and not do anything with it other than
look at how the code works.
[snip]

You already published your source code. :o
http://runtime-revolution.278305.n4.nabble.com/5000-lines-of-code-td3575168.html

I believe that you could publish more custom text editors
and effectively carve a niche for your unique skills of
Language Teacher and Software Developer.


There is no money in it.

If I thought there were; I'd be gently downsizing my EFL school and 
closing it in 2 to 3 years

and relying on what you suggest.

Teaching 5-11 year olds English is physically extremely demanding, and 
at 52 I am starting

to wonder how long I will be able to hack it.



So, for which language would be your next custom text editor?


Anglo-Saxon, Gothic, Old High German [they sit naturally together] and 
Runes.



http://www.toptenz.net/top-10-invented-languages.php


Not Klingon: very funny, but I'm not all that interested in what seems a 
bit childish to me.




Al




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: What is the max number of points in vector graphic?

2014-05-22 Thread BNig
Hi Al,

I think Craig ran into a display problem, not a number of points of a
graphic problem. Because the points made the graphic to large.
Similar to maximum of a line. It can hold 65,536 but only display 32768 

I ran into this when vectorizing an image into graphic objects, above 65,536
points it will only display a part of the points. Up to 65,536 it will
display all points; apparently provided they are within the display limit.

Kind regards
Bernd




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-is-the-max-number-of-points-in-vector-graphic-tp4679840p4679873.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: sloooowww standalone building with many included files

2014-05-22 Thread Mike Kerner
You don't think it would have anything to do with signing an app that has
8500 files in it, do you?  I would bet that THAT would take forEVER


On Thu, May 22, 2014 at 2:29 PM, Chris Sheffield wrote:

> So I have an app. An iOS app. This app includes lots and lots of small
> audio files (nearly 8500). All those files are in a folder, which is
> included in the Copy Files pane of the standalone build settings. Creating
> the build works just fine, but it takes a very long time. I haven’t kept
> track exactly, but probably close to 10 minutes. Maybe not quite.
>
> Anyway, can anyone think of a way to speed this up? I tried creating my
> own routine to copy that folder into the app bundle in a
> savingMobileStandalone handler. This worked very well as far as the copying
> goes. I used revCopyFolder and it worked great and was very quick. It
> probably only took about 20 seconds to create the build, if that.
> Unfortunately, it appears that the signing of the app takes place *before*
> what happens in the savingMobileStandalone handler, which seems to be
> invalidating the signature, as the app bundle is being modified after the
> signing. I was able to manually install the app on my device and run it
> just fine, but once I uploaded the build to Testflight for testing
> purposes, no one was able to download and install it successfully from
> there.
>
> So any thoughts? Or should I create an enhancement request to see if the
> build process can be sped up a bit. Not sure why it takes so long, when
> revCopyFolder is quite fast.
>
> Thanks,
> Chris
>
>
>
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



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

Re: Coda 2 code formatting

2014-05-22 Thread Alex Tweedly

Yeah, I'm using that.

I haven't changed anything for a couple of years - so I don't really 
remember what I did back then.

I kind of thought I was using an editor plugin that I got from you :-)

The editor is OK - it gets some things wrong or just 'missing' for LC, 
but gets most coloring and most indenting/control structures done OK. I 
think it fails to colour "else" (or elseif" ??), and has an annoying 
insistence on using its idea of default completion (e.g. 'CR' followed 
by space is auto-completed to 'create', etc.)


Can I send you a copy of any files or anything ?

-- Alex.

On 22/05/2014 18:24, stephen barncard wrote:

Is someone out there currently using Coda 2 for livecode server work?

I love the editor but the plugins that enable Livecode code highlighting
seems to be broken with the 2.x improvements. It just won't recognize rev
coding, or iRev documents either.

But the editor, while working on PHP and other documents, is awesome and am
just starting to get into their kind of workflow.

I know there was a new Livecode plugin offered for it by "The Core" on
the forum
back in 
2012,
a 1.1 version, and appears to be the 'newest' version around. I have an
email in to Core but I am no sure he's been on the forum lately.

Was there some kind of extra thing that needs to happen besides dropping
the plugin into the app?

Coda used to use the SubEthaEdit text engine, but checking their site
showed no change in format, so I guess Panic just redesigned the whole text
engine for 2.0

It's a great editor and I want to use it!
*--*
*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: Writing to Mum in Glagolitic script

2014-05-22 Thread Richmond

On 22/05/14 21:49, Alejandro Tejada wrote:

Richmond Mathewson-2 wrote

I am perfectly happy to send you the code off-list on the understanding
that you will keep it to yourself and not do anything with it other than
look at how the code works.
[snip]

You already published your source code. :o
http://runtime-revolution.278305.n4.nabble.com/5000-lines-of-code-td3575168.html


Things have been somewhat "refined" since then :)

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: sloooowww standalone building with many included files

2014-05-22 Thread Chris Sheffield
I know. You’d think so. But it’s not the signing of the app that takes a long 
time. It’s the copying of the files into the app bundle. At least, that’s the 
step that’s shown in the standalone builder progress dialog. The actual signing 
is quick.


On May 22, 2014, at 1:39 PM, Mike Kerner  wrote:

> You don't think it would have anything to do with signing an app that has
> 8500 files in it, do you?  I would bet that THAT would take forEVER
> 
> 
> On Thu, May 22, 2014 at 2:29 PM, Chris Sheffield 
> wrote:
> 
>> So I have an app. An iOS app. This app includes lots and lots of small
>> audio files (nearly 8500). All those files are in a folder, which is
>> included in the Copy Files pane of the standalone build settings. Creating
>> the build works just fine, but it takes a very long time. I haven’t kept
>> track exactly, but probably close to 10 minutes. Maybe not quite.
>> 
>> Anyway, can anyone think of a way to speed this up? I tried creating my
>> own routine to copy that folder into the app bundle in a
>> savingMobileStandalone handler. This worked very well as far as the copying
>> goes. I used revCopyFolder and it worked great and was very quick. It
>> probably only took about 20 seconds to create the build, if that.
>> Unfortunately, it appears that the signing of the app takes place *before*
>> what happens in the savingMobileStandalone handler, which seems to be
>> invalidating the signature, as the app bundle is being modified after the
>> signing. I was able to manually install the app on my device and run it
>> just fine, but once I uploaded the build to Testflight for testing
>> purposes, no one was able to download and install it successfully from
>> there.
>> 
>> So any thoughts? Or should I create an enhancement request to see if the
>> build process can be sped up a bit. Not sure why it takes so long, when
>> revCopyFolder is quite fast.
>> 
>> Thanks,
>> Chris
>> 
>> 
>> 
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Windows 8 and 8.1

2014-05-22 Thread Richmond

Do Livecode standalones work on Winodws 8 and 8.1?

And, if so, can you tell me what is the earliest version of Livecode that
produces standalones that work on these systems?

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: Windows 8 and 8.1

2014-05-22 Thread Paul Dupuis
On 5/22/2014 4:03 PM, Richmond wrote:
> Do Livecode standalones work on Winodws 8 and 8.1?
>
> And, if so, can you tell me what is the earliest version of Livecode that
> produces standalones that work on these systems?
>

I am not sure what the earliest is, but we have Standalones built under
LC 4.6.4 running fine under Windows 8 and 8.1 (also build under LC
5.0.2, 5.5.5, and various 6.x versions)

___
use-livecode mailing list
use-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: Windows 8 and 8.1

2014-05-22 Thread Richmond

On 22/05/14 23:07, Paul Dupuis wrote:

On 5/22/2014 4:03 PM, Richmond wrote:

Do Livecode standalones work on Winodws 8 and 8.1?

And, if so, can you tell me what is the earliest version of Livecode that
produces standalones that work on these systems?


I am not sure what the earliest is, but we have Standalones built under
LC 4.6.4 running fine under Windows 8 and 8.1 (also build under LC
5.0.2, 5.5.5, and various 6.x versions)

___



Thanks for that.

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: Windows 8 and 8.1

2014-05-22 Thread larry

I built a standalone with the old Rev 2.9 that works fine on Windows 8.
I'm not 100% sure if it works on 8.1, but I think so (I think one of my sons 
has 8.1)

Hope that helps!

- Original Message - 
From: "Richmond" 

To: "How to use LiveCode" 
Sent: Thursday, May 22, 2014 2:03 PM
Subject: Windows 8 and 8.1



Do Livecode standalones work on Winodws 8 and 8.1?

And, if so, can you tell me what is the earliest version of Livecode that
produces standalones that work on these systems?

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: Windows 8 and 8.1

2014-05-22 Thread Richmond

On 22/05/14 23:19, la...@significantplanet.org wrote:

I built a standalone with the old Rev 2.9 that works fine on Windows 8.
I'm not 100% sure if it works on 8.1, but I think so (I think one of 
my sons has 8.1)

Hope that helps!



That's marvellous.

I have a friend who runs Windows 8.1, and will phone him to ask
if he minds if I can test run a standalone on his rig at the weekend.

I have a professor (of Old Slavic) who wants my PISMO and runs
Windows 8.1.

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: What is the max number of points in vector graphic?

2014-05-22 Thread dunbarx
Bernd may just have got this right.


The list of points goes negative  after 32767 if I place a higher upper limit 
in the repeat loop. I guess something "wrapped" around the max. Here is the 
handler:




on mouseUp
   repeat with y = 1 to 5
  put "100," & y & return after temp
   end repeat
   set the points of grc 1 to temp
   put the points of grc 1 into temp1
end mouseUp


Now if you look at the point list, right at the middle, we get an inflection 
point (Hermann? You there?):



100,32758
100,32759
100,32760
100,32761
100,32762
100,32763
100,32764
100,32765
100,32766
100,32767
100,-32768
100,-32767
100,-32766
100,-32765
100,-32764
100,-32763
100,-32762
100,-32761



Odd...



Craig









-Original Message-
From: BNig 
To: use-revolution 
Sent: Thu, May 22, 2014 3:14 pm
Subject: Re: What is the max number of points in vector graphic?


Hi Al,

I think Craig ran into a display problem, not a number of points of a
graphic problem. Because the points made the graphic to large.
Similar to maximum of a line. It can hold 65,536 but only display 32768 

I ran into this when vectorizing an image into graphic objects, above 65,536
points it will only display a part of the points. Up to 65,536 it will
display all points; apparently provided they are within the display limit.

Kind regards
Bernd




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-is-the-max-number-of-points-in-vector-graphic-tp4679840p4679873.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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

 
___
use-livecode mailing list
use-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: Windows 8 and 8.1

2014-05-22 Thread Roger Eller
I believe anything we make that works in Windows 7 should also work in
Windows 8 or 8.1.  It's amazing how far computing has come in such a short
time.  I wish full computer OS' had been available on tablets sooner
though.  Would have made mobile apps easier to build, imho.

http://www.amazon.com/Dell-Venue-Pro-Tablet-Windows/dp/B00FEE7B1I/

http://www.youtube.com/watch?v=WQbZP1Qkxyg


On Thu, May 22, 2014 at 4:03 PM, Richmond wrote:

> Do Livecode standalones work on Winodws 8 and 8.1?
>
> And, if so, can you tell me what is the earliest version of Livecode that
> produces standalones that work on these systems?
>
> 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: Windows 8 and 8.1

2014-05-22 Thread Mark Schonewille

Hi,

I have quite a few apps, built with Revolution 2.x, 3.x, and 4.x and 
LiveCode 4.x, 5.x and 6.x and they all seem to work. Once in a while, 
there is a version that won't run at all, but most versions of RR and LC 
work on every major Windows version, including Win XP, Win Vista, 7, 8 
and 8.1.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 5/22/2014 22:19, la...@significantplanet.org wrote:

I built a standalone with the old Rev 2.9 that works fine on Windows 8.
I'm not 100% sure if it works on 8.1, but I think so (I think one of my
sons has 8.1)
Hope that helps!

- Original Message - From: "Richmond" 
To: "How to use LiveCode" 
Sent: Thursday, May 22, 2014 2:03 PM
Subject: Windows 8 and 8.1



Do Livecode standalones work on Winodws 8 and 8.1?

And, if so, can you tell me what is the earliest version of Livecode that
produces standalones that work on these systems?

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: Windows 8 and 8.1

2014-05-22 Thread Richmond

Thank you Paul Depuis, Larry, Roger Eller and Mark Schonewille

for your help.

I found that one can download a 90-day developer version of Windows 8.1 
for free,
did that just now, installed it in VMware Player and ran my standalone, 
and am extremely happy

to say that it worked.

My standalone was built using Livecode 4.5.

http://technet.microsoft.com/en-us/evalcenter/hh699156.aspx

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: What is the max number of points in vector graphic?

2014-05-22 Thread Richard Gaskin

dunbarx wrote:

> The list of points goes negative  after 32767 if I place a higher
> upper limit in the repeat loop.

Hmmthat number has the scent of QuickDraw, or perhaps the deprecated 
Carbon APIs used in QD's absence.


A few of LC's limitations aren't internal to the engine, but evident 
only on specific platforms where the OS has the limit.


Anyone here in a position to test that to see if it's still an issue in 
v6.7dp?


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


iOS: Check for Internet Connection?

2014-05-22 Thread Rick Harrison
Hi there,

Is there a way to invisibly check if an
iPhone has an active internet connection?

I’d rather do that if possible than have
to ask the user if he/she is presently
connected to the internet.  I thought
I would toggle some of the capabilities
of my iOS app on or off depending on
whether or not an internet connection
is currently available.

Suggestions?  Ideas?

Thanks,

Rick
___
use-livecode mailing list
use-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: Check for Internet Connection?

2014-05-22 Thread Colin Holgate
At the time that you need the Internet, do that asynchronously, and if it 
fails, they don’t have Internet.
___
use-livecode mailing list
use-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: Check for Internet Connection?

2014-05-22 Thread Rick Harrison
Hi Colin,

Yes, I get that, but which LiveCode statement is best for that?
If one searches the LiveCode dictionary the term asynchronously
does not come up. Launch URL? or something else?

Thanks,

Rick

On May 22, 2014, at 5:50 PM, Colin Holgate  wrote:

> At the time that you need the Internet, do that asynchronously, and if it 
> fails, they don’t have Internet.


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


LiveCode Global Jam kicks off in a few hours!

2014-05-22 Thread Richard Gaskin
The LiveCode community's first Global Jam is almost here, our chance to 
come together as a community to help deliver the best version of 
LiveCode ever, 7.0.


All the details are in RevNet - in the LiveCode IDE, choose 
Development->Plugins->GoRevNet



The LiveCode Global Jam features three live video chats:

Friday, May 23, 10AM GMT (UK)
Kickoff Q&A with LiveCode Product Manager Ben Beaumont
https://plus.google.com/events/cch2r065jmkceqcp0bti69lpgg4

Friday, May 23, 6PM GMT (UK)
"Ask Me Anything" - Q&A with RunRev CEO Kevin Miller
https://plus.google.com/events/ca0u3quncv2abaommapeuvkofb4

Saturday, May 24, 9AM PDT (California)
Discuss documentation and other projects with LiveCode Community Manager 
Richard Gaskin

https://plus.google.com/u/0/events/ci23ektkcabjlhkolmh0lt60778


Test Fest! - Download LiveCode 7.0 here and start testing:
http://downloads.livecode.com/livecode/

Discuss your findings in the Global Jam forum:
http://forums.runrev.com/viewforum.php?f=89

Need help pinning down a bug recipe?  The Testing Support forum will be 
monitored throughout the Global Jam by volunteers to help:

http://forums.runrev.com/viewforum.php?f=90

Real-time bug fixes!
RunRev is devoting much of their engineering staff to fixing bugs as 
they come in.


Thanks in advance for all the effort from the community during this 
Global Jam to make LiveCode 7 the solid reference platform we can all 
build on going forward.


--
 Richard Gaskin
 LiveCode Community Manager
 rich...@livecode.org

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


Re: What is the max number of points in vector graphic?

2014-05-22 Thread BNig
Craig,


> The list of points goes negative  after 32767

nice finding. You can simplify the test

on mouseUp
   repeat with i = 32767 to 32770
  put 100, i & cr after tCollect
   end repeat
   delete last char of tCollect
   set the points of grc 1 to tCollect
   put the points of grc 1 into field 1
end mouseUp

gives you 

100,32767
100,-32768
100,-32767
100,-32766

kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-is-the-max-number-of-points-in-vector-graphic-tp4679840p4679892.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: What is the max number of points in vector graphic?

2014-05-22 Thread BNig
Richard Gaskin wrote
> dunbarx wrote:
> 
>  > The list of points goes negative  after 32767 if I place a higher
>  > upper limit in the repeat loop.
> 
> Hmmthat number has the scent of QuickDraw, or perhaps the deprecated 
> Carbon APIs used in QD's absence.
> 
> A few of LC's limitations aren't internal to the engine, but evident 
> only on specific platforms where the OS has the limit.
> 
> Anyone here in a position to test that to see if it's still an issue in 
> v6.7dp?
> 
> -- 
>   Richard Gaskin

LC 6.7 dp4 is the same, as it is for 7.0 dp3

100,32767
100,-32768
100,-32767
100,-32766

Kind regards
Bernd




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-is-the-max-number-of-points-in-vector-graphic-tp4679840p4679893.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: iOS: Check for Internet Connection?

2014-05-22 Thread Colin Holgate
Took me a little while to track it down! Use the load command. You can say:

load URL “url to a small text file” with message handlername

You would have a handler, “handlername”, and that would either get the file or 
get an error.
___
use-livecode mailing list
use-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: Coda 2 code formatting

2014-05-22 Thread stephen barncard
On Thu, May 22, 2014 at 12:59 PM, Alex Tweedly  wrote:

> Can I send you a copy of any files or anything ?
>
> -- Alex.
>

does this mean you are the mysterious "The Core"  ??

I'd love to have a version of the plugin that works with iRev files
somehow..

I hacked together a code formatter for the old version of Coda (before 2.0)
out of the shell of a Lasso version... it never was quite right.. sounds
like you have that version ( I posted it on the SubHedEdit site.)

I'd be happy if I could get 2.o to work that well.

*--*
*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: Check for Internet Connection?

2014-05-22 Thread Gerry Orkin
There are commands for this. See the dictionary for 
"iphoneSetReachabilityTarget" and "reachabilityChanged. 

This is what I do. Start with this at the top of your stack script:

 global internetAvailable   

Then on openstack call this:

  iphoneSetReachabilityTarget  "google.com"

Have this in your stack script too:

on reachabilityChanged  hostNameOrAddress, reachabilityInfo
  global internetAvailable
  put reachabilityInfo into internetAvailable
end reachabilityChanged

That keeps a global variable updated with the current status of the connection. 
When I want to check for the current status I call this:

on internetCheck
 switch
case internetAvailable is empty
  answer "There doesn't appear to be an internet connection. Please try 
again later."
  exit to top
  break

case  "reachable" is among the items of internetAvailable and "is cell" 
is not among the items of internetAvailable  
  exit internetCheck -- there's an active wifi connection
  break
  
case internetAvailable contains "is cell"  
  answer "There's no wifi available. Use mobile data?" With "Yes" or 
"No"
  if it = "Yes" then
-- do whatever you need here
exit internetCheck
  else
exit internetCheck
  end if
  break
  end switch
end internetCheck
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is the max number of points in vector graphic?

2014-05-22 Thread Alejandro Tejada
Hi Bernd,


BNig wrote
> I think Craig ran into a display problem, not a number of points 
> of a graphic problem. Because the points made the graphic too 
> large. Similar to maximum of a line. It can hold 65,536 but only 
> display 32768
> I ran into this when vectorizing an image into graphic objects, 
> above 65,536 points it will only display a part of the points. 
> Up to 65,536 it will display all points; apparently provided they 
> are within the display limit.

I noticed that LiveCode 7.0 dp3 CRASH (just Quit) after
clicking the button "Outerglow"
Confirmed. This happens everytime in LC 7 dp2 and dp3.

http://livecode.com/developers/api/6.0.2/property/outerGlow/

I will keep testing with 6.7 dp4

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/What-is-the-max-number-of-points-in-vector-graphic-tp4679840p4679897.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: LiveCode Global Jam kicks off in a few hours!

2014-05-22 Thread Alejandro Tejada
Excellent! 

Please, record the Hangouts, so those who could not be present
watch the video.

Thanks in advance!

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LiveCode-Global-Jam-kicks-off-in-a-few-hours-tp4679891p4679898.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


RE: sloooowww standalone building with many included files

2014-05-22 Thread Ralph DiMola
Mike,

I found that zipping them up and doing an unzip on first launch was the best 
compromise. I have an unzip function that will replicate a directory tree if 
you're interested. It works for Android and iOS.

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 
Mike Kerner
Sent: Thursday, May 22, 2014 3:39 PM
To: How to use LiveCode
Subject: Re: slwww standalone building with many included files

You don't think it would have anything to do with signing an app that has
8500 files in it, do you?  I would bet that THAT would take forEVER


On Thu, May 22, 2014 at 2:29 PM, Chris Sheffield wrote:

> So I have an app. An iOS app. This app includes lots and lots of small 
> audio files (nearly 8500). All those files are in a folder, which is 
> included in the Copy Files pane of the standalone build settings. 
> Creating the build works just fine, but it takes a very long time. I 
> haven’t kept track exactly, but probably close to 10 minutes. Maybe not quite.
>
> Anyway, can anyone think of a way to speed this up? I tried creating 
> my own routine to copy that folder into the app bundle in a 
> savingMobileStandalone handler. This worked very well as far as the 
> copying goes. I used revCopyFolder and it worked great and was very 
> quick. It probably only took about 20 seconds to create the build, if that.
> Unfortunately, it appears that the signing of the app takes place 
> *before* what happens in the savingMobileStandalone handler, which 
> seems to be invalidating the signature, as the app bundle is being 
> modified after the signing. I was able to manually install the app on 
> my device and run it just fine, but once I uploaded the build to 
> Testflight for testing purposes, no one was able to download and 
> install it successfully from there.
>
> So any thoughts? Or should I create an enhancement request to see if 
> the build process can be sped up a bit. Not sure why it takes so long, 
> when revCopyFolder is quite fast.
>
> Thanks,
> Chris
>
>
>
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



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


___
use-livecode mailing list
use-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: Check for Internet Connection?

2014-05-22 Thread Rick Harrison
Hi Colin & Gerry,

This is exactly what I need!

iPhoneSetReachabilityTarget,
is a little obscure to search for
though isn’t it?  Why didn’t they
name it iPhoneCheckForInternetConnection?  LOL

Thanks!

Rick

On May 22, 2014, at 8:21 PM, Gerry Orkin  wrote:

> There are commands for this. See the dictionary for 
> "iphoneSetReachabilityTarget" and "reachabilityChanged. 
> 
> This is what I do. Start with this at the top of your stack script:
> 
> global internetAvailable  
> 
> Then on openstack call this:
> 
>  iphoneSetReachabilityTarget  "google.com"
> 
> Have this in your stack script too:
> 
> on reachabilityChanged  hostNameOrAddress, reachabilityInfo
>  global internetAvailable
>  put reachabilityInfo into internetAvailable
> end reachabilityChanged
> 
> That keeps a global variable updated with the current status of the 
> connection. When I want to check for the current status I call this:
> 
> on internetCheck
> switch
>case internetAvailable is empty
>  answer "There doesn't appear to be an internet connection. Please 
> try again later."
>  exit to top
>  break
> 
>case  "reachable" is among the items of internetAvailable and "is 
> cell" is not among the items of internetAvailable  
>  exit internetCheck -- there's an active wifi connection
>  break
> 
>case internetAvailable contains "is cell"  
>  answer "There's no wifi available. Use mobile data?" With "Yes" or 
> "No"
>  if it = "Yes" then
>-- do whatever you need here
>exit internetCheck
>  else
>exit internetCheck
>  end if
>  break
>  end switch
> end internetCheck
> ___
> use-livecode mailing list
> use-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: Check for Internet Connection?

2014-05-22 Thread Gerry Orkin
Happy I could help :)

g


On 23 May 2014, at 1:30 pm, Rick Harrison  wrote:

> This is exactly what I need!

___
use-livecode mailing list
use-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] Database Engine Comparison

2014-05-22 Thread Kay C Lan
So I wonder why On-Rev dropped PostgreSQL as a default inclusion. I
believe you can still request to have PostgreSQL as part of your
install, but if the licensing terms are so good and it works so
flawlessly it begs the question as to what is the downside that caused
RunRev to pull it.

On Tue, Oct 30, 2012 at 6:06 PM, Pierre Sahores  
wrote:
> I use it (PostgreSQL) since 1996 and it never gave me any problem or 
> difficulty. No one crash on any config i had to set up in 17 years (Linux, 
> Solaris, OS X). Just one of the best ACID-RDBMS ever, far before Oracle or 
> Sybase… and BSD2 licensed !
>
> Le 29 oct. 2012 à 22:25, Lynn Fredricks a écrit :
>
>>> Postgres also has better licensing terms too. If there's a
>>> choice then use Postgres. The biggest problem with Postgres
>>> is I usually use MySQL workbench for db design. If anyone
>>> knows an equivalent db design tool that does SQLite schema
>>> export then I'm keen to hear about it.
>>
>> Postgre licensing doesn't have the developer gotchas of MySQL. It is
>> relatively worry free.
>>
>> Best regards,
>>
>> Lynn Fredricks
>> President
>> Paradigma Software
>> http://www.paradigmasoft.com
>>
>> Valentina SQL Server: The Ultra-fast, Royalty Free Database Server
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> --
> Pierre Sahores
> mobile : 06 03 95 77 70
> www.sahores-conseil.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Re: [OT] Database Engine Comparison

2014-05-22 Thread Shawn Blc
On-Rev is still offering PostgreSQL databases.  At least on pancake they
are ;)



On Fri, May 23, 2014 at 1:06 AM, Kay C Lan  wrote:

> So I wonder why On-Rev dropped PostgreSQL as a default inclusion. I
> believe you can still request to have PostgreSQL as part of your
> install, but if the licensing terms are so good and it works so
> flawlessly it begs the question as to what is the downside that caused
> RunRev to pull it.
>
> On Tue, Oct 30, 2012 at 6:06 PM, Pierre Sahores 
> wrote:
> > I use it (PostgreSQL) since 1996 and it never gave me any problem or
> difficulty. No one crash on any config i had to set up in 17 years (Linux,
> Solaris, OS X). Just one of the best ACID-RDBMS ever, far before Oracle or
> Sybase… and BSD2 licensed !
> >
> > Le 29 oct. 2012 à 22:25, Lynn Fredricks a écrit :
> >
> >>> Postgres also has better licensing terms too. If there's a
> >>> choice then use Postgres. The biggest problem with Postgres
> >>> is I usually use MySQL workbench for db design. If anyone
> >>> knows an equivalent db design tool that does SQLite schema
> >>> export then I'm keen to hear about it.
> >>
> >> Postgre licensing doesn't have the developer gotchas of MySQL. It is
> >> relatively worry free.
> >>
> >> Best regards,
> >>
> >> Lynn Fredricks
> >> President
> >> Paradigma Software
> >> http://www.paradigmasoft.com
> >>
> >> Valentina SQL Server: The Ultra-fast, Royalty Free Database Server
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> > --
> > Pierre Sahores
> > mobile : 06 03 95 77 70
> > www.sahores-conseil.com
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode