Re: IP Calculator Final Version

2015-01-26 Thread Bob Sneidar
Hi Mike. May have spoke too soon. Apparently I need to check for empty octets because apparently this will only sometimes get caught in the error checking. Now I am going to have to *really* go through this. However, if proper values are provided the function works as expected so I would let it

Re: IP Calculator Final Version

2015-01-26 Thread Bob Sneidar
So now I modify the condition to look like this: set the itemdelimiter to "." repeat for each item theOctet in theIPAddress if theOctet is empty or theOctet < 0 or theOctet > 255 then return "ERROR: Each IP Address octet must be a number between 0 and 255. " & \

Re: IP Calculator Final Version

2015-01-26 Thread Bob Sneidar
OK I think I have another script compilation. Given an IP address of 192.168..1 set the itemDelimiter to “.” repeat for each item theOctet in theIPAddress if theOctet <0 or theOctet >255 then return "ERROR: Each IP Address octet must be a number between 0 and 255. " & \

Re: Unicode

2015-01-26 Thread Peter Haworth
Well I guess I spoke too soon :-) When I said I had things working, I meant I could successfully get data from a UTF8 database and display it correctly. I'm now trying to get input from field controls and get it into the database. I found a lorem ipsum generator that would create text in various

Re: IP Calculator Final Version

2015-01-26 Thread Bob Sneidar
Oh thanks Alex I will check for those. I though they would be covered in the part that checks that each octet is a number between 0 and 255. As far as the CIDR depth, it is true that technically you can have a CIDR of 32, but it is not a network that can be used. That would leave no usable addr

Offset and Binary Data

2015-01-26 Thread Alejandro Tejada
Hi Mike, After running your script, using Livecode 7.0.1 under Windows my result is 4,10 Maybe, this could help. Add this line before getting offset: set the casesensitive to true to read in this way: on mouseUp put numtochar(255) & numtochar(216) into tStart -- in Hexadecimal: FFD8 = S

extracting the thumbnail from digital photos?

2015-01-26 Thread Alejandro Tejada
Hi, This script works in LiveCode 7.0.1 under Windows: (Notice that I am using byte instead of char as recommended in release notes and, unlike Ubuntu, I have to set the casesensitive to true to make it work) First, download this 8 MB image that contains two thumbnails (320x240 and 160x120): (th

Re: semi-OT: TestFlight.com beta testing closing

2015-01-26 Thread Mike Kerner
There is also hockeyApp, but I'm not aware of anyone trying to make it work with LC On Mon, Jan 26, 2015 at 3:38 PM, Chris Sheffield wrote: > Thanks, Colin. This may help. > > In the Runtime folder of the LiveCode application bundle, if you drill > down into iOS -> Device-[whatever], there is an

Re: Server performance issues: Dreamhost only?

2015-01-26 Thread Warren Samples
On 01/26/2015 03:28 PM, Warren Samples wrote: Have any of you seen order-of-magnitude speed loss when running LiveCode Server on any host other than Dreamhost? Not at webfaction It may be relevant to note that all LC Server versions I have installed are 32bit, including LC 7. webfaction

Re: Server performance issues: Dreamhost only?

2015-01-26 Thread Warren Samples
On 01/26/2015 01:08 PM, Richard Gaskin wrote: We've seen reports of serious performance issues with running LiveCode Server 7.x on Dreamhost. I'm working with Peter Brett at RunRev to try to resolve these, and there's one detail that would be very useful to know: While we see relatively minor s

Re: semi-OT: TestFlight.com beta testing closing

2015-01-26 Thread Chris Sheffield
Thanks, Colin. This may help. In the Runtime folder of the LiveCode application bundle, if you drill down into iOS -> Device-[whatever], there is an Entitlements.xcent file. I’m assuming this is where that same key could be added. However, there’s also a StoreEntitlements.xcent, with the same c

Re: IP Calculator Final Version

2015-01-26 Thread Alex Tweedly
On 26/01/2015 15:47, Bob Sneidar wrote: Hi all. Mike Doub has offered to include this in the MasterLibrary, so I went through and added what I think is fairly comprehensive error checking to make sure that bogus input values return a descriptive error message. If any of you feel so inclined,

Re: semi-OT: TestFlight.com beta testing closing

2015-01-26 Thread Colin Holgate
With Adobe AIR you have added this to the app descriptor XML: That then ends up in the embedded provisioning profile. Not sure of the steps for LiveCode. Test Flight’s URL is https://www.testflightapp.com/ , but as you say, it closes on Feb 26th. If you have a

Server performance issues: Dreamhost only?

2015-01-26 Thread Richard Gaskin
We've seen reports of serious performance issues with running LiveCode Server 7.x on Dreamhost. I'm working with Peter Brett at RunRev to try to resolve these, and there's one detail that would be very useful to know: While we see relatively minor speed differences on the desktop, running Li

Re: changing layer within a group by script/ speed of "start editing"

2015-01-26 Thread Geoff Canyon
set relayergroupedcontrols to true set the layer of to On Sun, Jan 25, 2015 at 7:30 PM, Scott Rossi wrote: > Try locking the screen before doing any object relayering. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > On Jan 25, 2015, at 5:19 PM, Dr. Hawkins w

Re: 7.0.2 RC1 Crashes and Corrupts Stack Files

2015-01-26 Thread Ray
Exactly - this is actually under two different bug reports now, #14437 and #14449. I realized after adding to the 2nd report that I'm also not able to 'see' Quicktime movies, even in 6.5.2, when assigning a new Source to a player. Hopefully all these things will be addressed when the team at

Re: IP Calculator Final Version

2015-01-26 Thread Michael Doub
Here is the version of the MasterLibrary (version 22) with Bob's IP Calculator integrated. https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 Enjoy... Mike On 1/26/15 10:47 AM, Bob Sneidar wrote: Hi all. Mike Doub has offered to include this in the MasterLibrary, so I

Re: 7.0.2 RC1 Crashes and Corrupts Stack Files

2015-01-26 Thread Peter Haworth
Seems like most of the problems with the player control have been in LC 7 but I'm seeing issues in 6.7. Hard hang in circumstances I haven't quite nailed down yet. Command-period doesn't work and have to force quit. Pete lcSQL Software Home of lcStackBrowser

Re: Unicode

2015-01-26 Thread Peter Haworth
On Mon, Jan 26, 2015 at 3:42 AM, Fraser Gordon wrote: > One way of looking at things is that all external interfaces (files, > processes, etc) return binary data and you need to do something to turn > that into text (textDecode) and you need to turn your text into binary data > when writing to th

semi-OT: TestFlight.com beta testing closing

2015-01-26 Thread Chris Sheffield
Just thought I’d throw this out there. Sounds like Apple is killing the TestFlight.com beta testing site in favor of their newer TestFlight service. http://www.idownloadblog.com/2015/01/26/apple-closing-old-beta-testing-test-flight/

Re: Unicode

2015-01-26 Thread Devin Asay
On Jan 26, 2015, at 4:42 AM, Fraser Gordon wrote: > > On 26 Jan 2015, at 02:15, Peter Haworth wrote: > >> Thanks Peter. If that's the case, I'm not seeing much in the way of a >> coding advantage over pre 7.0. Sounds like using textEncode/textDecode >> instaed of uniencode/unidecode? > > A

Re: Getting the scroll and clickloc of a browser object

2015-01-26 Thread Bob Sneidar
Except replace the question mark with the correct quote mark. I think Scott’s email app is replacing standard quotes with smart quotes which are getting lost in the translation. Bob S On Jan 24, 2015, at 13:00 , Michael Julian Lew mailto:micha...@unimelb.edu.au>> wrote: If you?re using a bro

IP Calculator Final Version

2015-01-26 Thread Bob Sneidar
Hi all. Mike Doub has offered to include this in the MasterLibrary, so I went through and added what I think is fairly comprehensive error checking to make sure that bogus input values return a descriptive error message. If any of you feel so inclined, please try to make it fail using incorrec

Re: Unicode

2015-01-26 Thread Fraser Gordon
On 26 Jan 2015, at 02:15, Peter Haworth wrote: > Thanks Peter. If that's the case, I'm not seeing much in the way of a > coding advantage over pre 7.0. Sounds like using textEncode/textDecode > instaed of uniencode/unidecode? Assuming you have UTF-8 encoded data from a source outside LiveCode