Re: Dropbox in livecode

2013-06-14 Thread Monte Goulding
On 14/06/2013, at 5:05 PM, Monte Goulding wrote: > It's in the github repo for livecode... a folder named lcidl Actually... scratch that... it's on the runrev site as the iOS Externals SDK... but you still need to cherrypick the commit if you want to LCObjectPost... -- M E R Goulding Software

AW: AW: Where to write application data

2013-06-14 Thread Tiemo Hollmann TB
Just FYI: With the kind advice of Runrev I finally found my wanted location. I will store my application files for all users in: specialFolderPath ("sdat") what is: "/Users/Shared/" & "MyCompany/MyAppBundleID/MyFiles" I still have to set the read/write permission for all users to my folders and fil

Re: Dropbox in livecode

2013-06-14 Thread Mike Kerner
Mark: 1) I'm doing it to the web. You could certainly go to your local folder, but that would be difficult on iOS, and I have the desktop app running on a user's machine, so I don't want them having unfettered access to the folder. 2) I have a bunch of users using it with multiple folders that I

Re: Dropbox in livecode

2013-06-14 Thread Guglielmo Braguglia
Hi Mike, sorry for the long silence ... I was out of office for quite long time ... :-) I updated the library with your corrections and with few other corrections ... you can still download from the same link (http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip - /version 1.03/). P

imageData and resizing

2013-06-14 Thread Thomas McGrath III
I'm trying to find a solution to images getting messed up after doubling their size for retina and then trying to set the imageData after they have been resized. The images get messed up with either horizontal lines or color shifts. This works for one image but not for a group of images. As soon

Dare I ask ... Is 'Odin' down again ?

2013-06-14 Thread John Dixon
Anyone confirm that ODIN is down again ? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Dr. Hawkins
On Thu, Jun 13, 2013 at 4:53 PM, Daryl Williams wrote: > If I am understanding correctly you might try using either the netstat or > route commands to find your default gateway, and if there is none then save > things to the local database. doesn't give me the timeout issues again--if the laptop

Re: Dare I ask ... Is 'Odin' down again ?

2013-06-14 Thread Mike Bonner
It appears so. *sigh* On Fri, Jun 14, 2013 at 7:50 AM, John Dixon wrote: > Anyone confirm that ODIN is down again ? > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your >

Re: imageData and resizing

2013-06-14 Thread Paul Hibbert
Thomas, In your script we can't see where "tempimage" comes from or what it contains, so to get this to work I had to change the last line to… set the imageData of image x to the imageData of image x Then it appears to work OK, for me at least. Paul On 2013-06-14, at 6:19 AM, Thomas McGrath I

Re: 6.1

2013-06-14 Thread Peter Haworth
As far as I can tell, everyone who has posted on the forums is on the developers list. In fact, discussing engine/IDE changes on the developer list would certainly get them more visibility than using the forums at the moment; I haven't counted but I doubt there are more than 10 people who have ma

Re: 6.1

2013-06-14 Thread Peter Haworth
Monte, I was just looking at bug # 8884 regarding missing properties and you had a post on there with a huge list of constant declarations for each property of each object. Couldn't that be used as the basis for the propertynames of objecttype? I would also like to suggest that we should think tw

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Daryl Williams
I tested this on my mac laptop with both a wired and wireless interface, running mountain lion, using the following command: $ route get default the result was: 1. with both interfaces up the route command picked the wired interface and reported the gateway was up. 2. unplugged the wired in

Re: Dare I ask ... Is 'Odin' down again ?

2013-06-14 Thread Mark Wieder
Mike Bonner writes: > It appears so. *sigh* This is starting to get annoying. Maybe runrev should outsource hosting to folks who know what they're doing. Or at least learn what the words "redundancy" and "failover" mean. There is absolutely no reason to recommend on-rev hosting to anyone, and s

Re: Dare I ask ... Is 'Odin' down again ?

2013-06-14 Thread Martin Koob
My sites on Odin seems to be working properly. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dare-I-ask-Is-Odin-down-again-tp4666473p4666481.html Sent from the Revolution - User mailing list archive at Nabble.com. __

Re: AW: AW: Where to write application data

2013-06-14 Thread J. Landman Gay
On 6/14/13 5:34 AM, Tiemo Hollmann TB wrote: Just FYI: With the kind advice of Runrev I finally found my wanted location. I will store my application files for all users in: specialFolderPath ("sdat") what is: "/Users/Shared/" & "MyCompany/MyAppBundleID/MyFiles" I still have to set the read/write

Re: 6.1

2013-06-14 Thread Mike Bonner
I read the posts on the forum, and don't have access to the dev list so even though i'm not able to contribute it lets me see some of whats going on to tweak and improve lc. I wouldn't mind the discussions being held on a "list" but if that happens my preference would be a new list so that I can a

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Dar Scott
Just wondering. A thought. Why not try to open the db? Perhaps in the background. If you have an image indicating the db selected, it can have some sort of busy look before one is selected. Or simply use the local db if the remote db is not available at the time of a save. If that works,

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Mike Bonner
if you add the -v switch to what dar suggested (route -v get default) it returns the mac address for the default gateway which you could store as a location. If mac address is ... On Fri, Jun 14, 2013 at 12:10 PM, Dar Scott wrote: > Just wondering. A thought. > > Why not try to open the db?

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Dar Scott
That was Daryl. I suggested arp and ipconfig, but leaned toward ping and maybe a socket test, but if it can be done in the background I like best a direct test of connecting to the db. It is easy to get us confused; just remember, I'm the round hirsute one. Dar On Jun 14, 2013, at 12:16 PM,

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Mike Bonner
Ooops, your text could be twins. No wonder I got confused! Those D's and A's and R's all look alike. On Fri, Jun 14, 2013 at 12:27 PM, Dar Scott wrote: > That was Daryl. I suggested arp and ipconfig, but leaned toward ping and > maybe a socket test, but if it can be done in the background I

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Alex Tweedly
Sorry, I've been offline for a while, so this reply is coming kind of late, but I don't think anything in the subsequent discussion invalidates it. If you don't want to wait a second, you could do (for address 10.0.0.232) -- NB we don't care if this succeeds or not open datagram socket

Re: 6.1

2013-06-14 Thread Monte Goulding
On 15/06/2013, at 2:31 AM, Peter Haworth wrote: > As far as I can tell, everyone who has posted on the forums is on the > developers list. In fact, discussing engine/IDE changes on the developer > list would certainly get them more visibility than using the forums at the > moment; I haven't co

Re: 6.1

2013-06-14 Thread Mark Wieder
Peter Haworth writes: > I would also like to suggest that we should think twice about excluding > synonyms or any other category of property. Excluding them means there's a > brick wall between them and anyone who would like to get them. I'm not > saying they should always be returned, just tha

Re: 6.1

2013-06-14 Thread Peter Haworth
Don't remember but do the forums have RSS feeds? Pete lcSQL Software On Fri, Jun 14, 2013 at 11:07 AM, Mike Bonner wrote: > I read the posts on the forum, and don't have access to the dev list so > even though i'm not able to contribute it lets me see some of whats going

Re: 6.1

2013-06-14 Thread Monte Goulding
On 15/06/2013, at 6:43 AM, Mark Wieder wrote: > 2. what does including synonyms in the list of properties deliver? You > really want "the properties" to return "backcolor" as well as > "backgroundcolor"? With the same value? I don't. Not listing synonyms in the > properties list is not the same

Re: 6.1

2013-06-14 Thread Peter Haworth
On Fri, Jun 14, 2013 at 1:43 PM, Mark Wieder wrote: > Two things I don't get: > > 1. why are you continuing this discussion here instead of in the properties > topic on the forum? > > 2. what does including synonyms in the list of properties deliver? You > really want "the properties" to return "

Re: 6.1

2013-06-14 Thread Warren Samples
On 06/14/2013 04:12 PM, Peter Haworth wrote: do the forums have RSS feeds? There is one feed for the whole forum: http://forums.runrev.com/phpBB2/feed.php ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscrib

Re: 6.1

2013-06-14 Thread J. Landman Gay
On 6/14/13 4:12 PM, Peter Haworth wrote: Don't remember but do the forums have RSS feeds? Yes, they do now. It isn't great but at least you get the messages. You can set it up in the forum prefs. If you decide to respond to a post, you'll end up back on the web site. -- Jacqueline Landman G

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Dar Scott
Cool idea. I wonder though. Will UDP actually trigger arp before the first write? I'm not saying it won't, I'm just surprised. It would be cool it it did. Dar On Jun 14, 2013, at 2:30 PM, Alex Tweedly wrote: > Sorry, I've been offline for a while, so this reply is coming kind of late, >

Re: imageData and resizing

2013-06-14 Thread J. Landman Gay
On 6/14/13 8:19 AM, Thomas McGrath III wrote: I'm trying to find a solution to images getting messed up after doubling their size for retina and then trying to set the imageData after they have been resized. The images get messed up with either horizontal lines or color shifts. This works for

Re: 6.1

2013-06-14 Thread Mark Wieder
http://forums.runrev.com/viewtopic.php?f=66&t=14818&p=78520#p78520 -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pr

Re: 6.1

2013-06-14 Thread Warren Samples
On 06/14/2013 04:12 PM, Peter Haworth wrote: do the forums have RSS feeds? There is also a subscribe by email feature including digest options. You can subscribe to individual forums at the bottom of each forum page or choose digest options at http://forums.runrev.com/phpBB2/ucp.php?i=20

Re: imageData and resizing

2013-06-14 Thread Mark Schonewille
Hi Tom, This won't work, unless the imageData fit the image rect exactly. To solve this, set the imageData first and then resize. Better yet: don't use imageData but use the original PNG or JPEG data to set the text of the image object. Set the lockLoc to false, then set the text, resize, and

Re: 6.1

2013-06-14 Thread Peter Haworth
On Fri, Jun 14, 2013 at 2:21 PM, Monte Goulding wrote: > I think he's talking about a propertyNames function rather than the > properties. Note that I don't think it's possible to have the propertyNames > and the propertyNames of objectRef... I might look into it but really think > it would be ea

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Alex Tweedly
It does. I wondered also, so I tried it out before I posted - actual code below ... on mouseup open datagram socket to "10.0.0.33:4000" -- NB we don't care if this succeeds or not put shell("arp -a") into t put t end mouseup -- Alex. On 14/06/2013 23:09, Dar Scott wrote: Cool id

Re: 6.1

2013-06-14 Thread Monte Goulding
On 15/06/2013, at 8:43 AM, Peter Haworth wrote: > Another idea i had on this was something similar to the "template" we > have now, so "the propertynamesStack", "the propertyNamesButton", etc. I > know nothing about the engine but would that make it any more feasible? I don't personally li

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Dar Scott
close? platform? (looks OK so far on 10.6) And suppose I'm from Missouri. How do I know it wasn't already there? I tried sudo arp -d -a, but must have done something wrong. I see no change in arp -a. Dar On Jun 14, 2013, at 5:02 PM, Alex Tweedly wrote: > It does. I wondered also, so I

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Dr. Hawkins
On Fri, Jun 14, 2013 at 11:10 AM, Dar Scott wrote: > Why not try to open the db? Perhaps in the background In the background? If I could do livecode things in the background, it would solve nearly *all* of my problems. *Is* there a way to do background things? And now I'm off to learn about t

Re: 6.1

2013-06-14 Thread Peter Haworth
I'm not mad about it either, not surprising since I've never been that keen on the "template" syntax either. It was just a suggestion aimed at some sort of compatibility with existing syntax I've now got my browser hooked into the RSS feed for the forums, which removes one of my issues with u

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Dar Scott
A lot of things can be done in the background using the natural GUI events, the myriad of LiveCode messages and send in time. Most interfaces have a callback scheme to allow this. Event style programming works well with this. Whether you can do that directly with your db interface depends on

Tools for Thinking

2013-06-14 Thread Mark Wieder
Apropos abolutely nothing at all, this came my way this morning: http://kottke.org/13/06/tools-for-thinking -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubs

Re: a *fast* check for whether another machine is on the local network?

2013-06-14 Thread Dar Scott
OK, I have been able to remove one entry from the arp table using this: sudo arp -d 10.20.40.50 inscope en0 The result does not look good. The mouseUp handler does add an entry to the arp table, but it is marked incomplete instead of having an MAC address. It does the same for a computer tha

synonyms

2013-06-14 Thread Peter Haworth
I'm sorry to have to post this somewhat angry post. There's a thread on the engine contributors forum regarding whether it's necessary to return synonyms from the proposed changes to the propertynames function. SInce not everyone reads that forum, I'm posting it here. You can read the prior post

Re: synonyms

2013-06-14 Thread Monte Goulding
On 15/06/2013, at 2:33 PM, Peter Haworth wrote: > I'm sorry to have to post this somewhat angry post. SNIP rest of rant FWIW I decided I no longer had time to think about propertyNames when you persisted in posting here after being told where to post and then said you didn't have time to p