Re: Checksum via FTP???

2011-09-11 Thread Alex Tweedly
Roger, the problem is that this doesn't protect you from the biggest danger. All this does is download the file again (not desirable if it's a large file), and then compare the md5-digest of the two downloaded copies. While this does protect you against a temporary glitch in one of the

Password protecting a stack in the distribution

2011-09-11 Thread Andrew Henshaw
Hi, Im wondering if anyone can shed some light on the best way to do this! I have built a library stack which Im including in the distribution and selected the 'encrypt with password' option for both the main stack, and this library stack, however when I compile if I go into the package the

Re: Brush Tool in iOS

2011-09-11 Thread Randy Hengst
Now that you mention it, that does ring a bell…. be well, randy - On Sep 10, 2011, at 6:21 PM, Scott Rossi wrote: Recently, Randy Hengst wrote: Has anyone successfully used the brush tool in iOS? Last I heard, painting wasn't working on iOS. Don't recall hearing anything about it

Re: Brush Tool in iOS

2011-09-11 Thread Randy Hengst
Joe, It doesn't work either. be well, randy - On Sep 10, 2011, at 6:27 PM, Joe Lewis Wilkins wrote: Randy, How about the paint bucket? I have an app I'm thinking about converting from OSX to iOS that uses both. TIA, Joe Lewis Wilkins Architect On Sep 10, 2011, at 3:56 PM,

Re: Brush Tool in iOS

2011-09-11 Thread Joe Lewis Wilkins
Randy, Scott, Any idea as to whether this is an Apple limitation or a LC problem? I imagine it is more likely something that Apple hasn't figured out yet, but I've been wrong before! (smile) Guess my project won't be going forward any time soon. BTW, while we're speculating, have anyone heard

Re: Brush Tool in iOS

2011-09-11 Thread John Craig
Hi, Randy. Here's a simple example using a graphic. Just create a new stack, add a line graphic called 'draw', set it's lineSize to 10 then put the following script into the card script. Double click clears the drawing, and each mouseDown starts a new line. :) local sDrawing on

Re: Brush Tool in iOS

2011-09-11 Thread Randy Hengst
Hi John, Well, that is very cool. Thanks for sharing it. be well, randy - On Sep 11, 2011, at 9:02 AM, John Craig wrote: Hi, Randy. Here's a simple example using a graphic. Just create a new stack, add a line graphic called 'draw', set it's lineSize to 10 then put the following

Re: [livecode server] calculating signature for Amazon S3

2011-09-11 Thread Martin Koob
Incase anyone is searching for the answer to this question in the future, The policy document has to be encoded in base64 but then the linebreaks have to be removed before signing it with the secret key with hmac sha1. The answer of how to do remove the line breaks is in the thread Removing

Re: Question About PreOpenStack

2011-09-11 Thread Gregory Lypny
Hi Mark and Jacqueline, The substacks had PreOpenStack handlers that called a library stack and sometimes emptied out some fields, but what they did not have OpenStack handlers. The absence of OpenStack handlers appears to have been the problem because, after the the sub-stack executes its

Re: Checksum via FTP???

2011-09-11 Thread Roger Eller
On Sun, Sep 11, 2011 at 4:43 AM, Alex Tweedly wrote: Roger, the problem is that this doesn't protect you from the biggest danger. All this does is download the file again (not desirable if it's a large file), and then compare the md5-digest of the two downloaded copies. While this does

Re: Question About PreOpenStack

2011-09-11 Thread Mark Schonewille
Hi Gregory, Instead of putting an openStack handler in every substack, it is much easier to move the openStack in your main stack from stack level to card level. If the openStack handler is in a card script, it won't be triggered by opening a substack. -- Best regards, Mark Schonewille

Re: Checksum via FTP???

2011-09-11 Thread Richard Gaskin
Roger Eller wrote: ...so for protecting the initial md5digest, I might store it in a database rather than a file. That could possibly make retrieval of that code more efficient, and also add a protective layer. If someone has sufficient access to modify files on your server, that may

Re: Question About PreOpenStack

2011-09-11 Thread Gregory Lypny
Good stuff. Thank you, Mark. I’ll give that a shot. Regards, Gregory On Sun, Sep 11, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Hi Gregory, Instead of putting an openStack handler in every substack, it is much easier to move the openStack in your main stack from

Re: Question About PreOpenStack

2011-09-11 Thread Gregory Lypny
Hi Craig, I had posted this right (see below) after you in message 21. On reflection, the behaviour makes sense, and so does Mark’s suggestion that I move the main stack’s OpenStack handler to the card script. Gregory Hi Mark and Jacqueline, The substacks had PreOpenStack handlers that

Re: Checksum via FTP???

2011-09-11 Thread Roger Eller
On Sun, Sep 11, 2011 at 2:22 PM, Richard Gaskin wrote: Roger Eller wrote: ...so for protecting the initial md5digest, I might store it in a database rather than a file. That could possibly make retrieval of that code more efficient, and also add a protective layer. If someone has

Re: Checksum via FTP???

2011-09-11 Thread Richard Gaskin
Roger Eller wrote: On Sun, Sep 11, 2011 at 2:22 PM, Richard Gaskin wrote: Databases are handy for working with very large data stores, esp. where you need relationality but for simple things like a checksum value for a file, Mark Weider's suggestion is probably the simplest and most

Re: Question About PreOpenStack

2011-09-11 Thread dunbarx
Gregory. Glad to see you have worked it out. It is a subtle danger, that other messages can insinuate themselves into what we try to contain in what we believe is a well defined situation. This is especially true with the very similar open/preOpen and stack/card messages. Craig Newman

Re: List of handlers

2011-09-11 Thread zryip theSlug
On Sat, Sep 10, 2011 at 4:47 PM, Andre Garzia an...@andregarzia.com wrote: Hi Andre, Is revavailablehandlers available on a standalone? (Just curious...) Not sure of the usage we could have with that, but revavailablehandlers not working in a standalone. Best regards, -- -Zryip TheSlug-

UTF-8

2011-09-11 Thread Ray Horsley
Hi all. Does Livecode have a way to handle UTF-8 encoding and decoding? Ray Horsley LinkIt! Software ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: List of handlers

2011-09-11 Thread Geoff Canyon Rev
This doesn't work with block comments, but this is what I used in revNavigator: put the script of tID into tText put empty into tMenuText repeat for each line L in tText     if word 1 of L is among the items of on,function,getprop,setprop then put L cr after tMenuText end repeat

Re: UTF-8

2011-09-11 Thread Mark Schonewille
Hi Ray, Yes. To display UTF8, you need to convert it to UTF16 before setting the unicodeText of a field. You can also convert the unicodeText of a field to UTF8 before writing it to a file. The functions are -- convert from UTF8 to UTF16 uniEncode(myUTF8,UTF8) -- convert from UTF16 to UTF8

Re: List of handlers

2011-09-11 Thread Mark Schonewille
Geoff, Try this: put token 1 to -1 of the script of tID into tText put empty into tMenuText repeat for each line L in tText if word 1 of L is among the items of on,function,getprop,setprop,command,private then put L cr after tMenuText end repeat -- Best regards, Mark Schonewille

Re: UTF-8

2011-09-11 Thread Ray Horsley
Mark, Many thanks for this help. I believe my challenge is that my encoded text is actually wrapped in html. For example, after setting the htmlText of a field, this: divobject type=text/html data=passages/3167.htm//divspan class=class1bRead the following line from the

Re: Password protecting a stack in the distribution

2011-09-11 Thread J. Landman Gay
On 9/11/11 4:17 AM, Andrew Henshaw wrote: Hi, Im wondering if anyone can shed some light on the best way to do this! I have built a library stack which Im including in the distribution and selected the 'encrypt with password' option for both the main stack, and this library stack, however

Feeling hemmed-in by the name space?

2011-09-11 Thread Charlie
I've never been quite sure how to participate in the use-livecode digest so I'll give this email address a try. I see discussions lately about the fact that Live-Code has used the best part of the English language for reserved words. I've built a compiler which is a shell over

[ANN] DropTools 1.2

2011-09-11 Thread Ken Ray
I've just released and upgrade to the DropTools Palette; version 1.2 has a few bug fixes in it plus tighter integration with the LiveCode IDE, allowing you to display the Inspector palette for various DropTools by option-double-clicking a control or through the right-click (or control-click)