Datagrid in scroller on iOS update speed?

2012-05-01 Thread Ken Corey
Hi All, I've got a datagrid inside of an scroller on iOS. I wouldn't call the datagrid complex, but there are 4 fields, varying height, and the rows are alternately coloured. When it was shown on the screen at 320x480 it was fairly responsive., even on the device. Of course, that looks

Re: Datagrid in scroller on iOS update speed?

2012-05-01 Thread Gerry Orkin
Turn on accelerated rendering :) on preopenstack if the environment is mobile then set the acceleratedRendering of this stack to true end preopenstack Gerry On 01/05/2012, at 4:03 PM, Ken Corey wrote: Are there any tricks for improving the speed of datagrids in scrollers I should

[ANN] Data Grid Helper 1.6.2 supports the iOS native field for editing cells

2012-05-01 Thread zryip theSlug
Dear LiveCode DGH Users, A new update for DGH is now available. In this version: 1. We have improved our iOS script for rendering an iOS field when one edits a cell in a datagrid. A iOS native field supports features such as auto-capitalization, auto-correction and selection point

Re: Datagrid in scroller on iOS update speed?

2012-05-01 Thread Colin Holgate
There was a recent discussion about how having groups inside other groups will lead to poor performance, and that RunRev are looking into a way of defining a group as just being a container. Might that help your case? My guess about it is that the outer group is being handled as a texture, and

PayPal IPN LC

2012-05-01 Thread Richard Miller
Totally stuck on using PayPal's IPN process with LC. It doesn't appear that there is any way to have PayPal send the IPN data to a LC cgi script. Doesn't look like IPN supports cgi. I'd be very happy to have a simple PHP listener script on my server which accepts the initial IPN data and

Re: PayPal IPN LC

2012-05-01 Thread J. Landman Gay
On 5/1/12 9:36 AM, Richard Miller wrote: Totally stuck on using PayPal's IPN process with LC. It doesn't appear that there is any way to have PayPal send the IPN data to a LC cgi script. Doesn't look like IPN supports cgi. It does, I've got the data coming in. The only issue I have is that

Re: PayPal IPN LC

2012-05-01 Thread Richard Miller
Great! That seems to work. Thank you. Richard On 5/1/2012 12:04 PM, J. Landman Gay wrote: On 5/1/12 9:36 AM, Richard Miller wrote: Totally stuck on using PayPal's IPN process with LC. It doesn't appear that there is any way to have PayPal send the IPN data to a LC cgi script. Doesn't look

Re: Tab Enabling/Disabling commands

2012-05-01 Thread Bob Sneidar
This is getting embarrassing. Seems that setting wholeMatches to true prevented finding a tab item that was preceded by a ( which is the disabling character for a menu item. If I can't find it, I can't re-enable it! This should resolve that problem: ON disableTab theTabPanel, theTab IF

Re: Datagrid in scroller on iOS update speed?

2012-05-01 Thread Ken Corey
On 01/05/2012 08:39, Gerry Orkin wrote: Turn on accelerated rendering :) on preopenstack if the environment is mobile then set the acceleratedRendering of this stack to true end preopenstack Hi Gerry, Thanks for writing. On my iPad 2 I couldn't tell much of a response from doing this.

Re: Datagrid in scroller on iOS update speed?

2012-05-01 Thread Ken Corey
On 01/05/2012 13:45, Colin Holgate wrote: There was a recent discussion about how having groups inside other groups will lead to poor performance, and that RunRev are looking into a way of defining a group as just being a container. Might that help your case? Perhaps. I don't know enough to

Re: Datagrid in scroller on iOS update speed?

2012-05-01 Thread Chris Sheffield
Did you make sure to set the layerMode of the scrolling group to scrolling? Sorry to ask the obvious, but want to rule that out. Also, as far as sub groups go, I and others have discovered that a scrolling group *cannot* be nested inside another group if you want good performance. I'm guessing

Re: PayPal IPN LC

2012-05-01 Thread Pierre Sahores
Jacque, Did you try what occurs in modifying your code in the following way : on startup if $REQUEST_METHOD = POST then -- this is the only kind PayPal sends start using stack liburl read from stdin until empty put it into tOrderData if tOrderData is in url (file:paypalLog.txt

Re: The revMenuBar

2012-05-01 Thread Cal Horner
What OS? Sorry Jacqueline, I sometimes forget that there is more than one OS in the world. I'm running the best Windows stalwart. XP. I prefer an operating system of maturity. How wide is it on your monitor? It's an old 19 inch square. Those are the default values for all new stacks I'm

Re: The revMenuBar

2012-05-01 Thread Mark Wieder
Cal Horner calhorner@... writes: So my main problem still stands where in the scripts does the IDE reset the stack size for revMenuBar. Any Ideas? Yep. In the script of card 1 of stack revMenuBar (around line 108) is... if the platform is MacOS then set the decorations of stack

Re: PayPal IPN LC

2012-05-01 Thread J. Landman Gay
On 5/1/12 2:02 PM, Pierre Sahores wrote: The Paypal API should wait for a receipt confirmation response from your script before it quits. Thanks Pierre. I added put ok but it still times out. I don't know what Paypal expects back. The sample PHP scripts I looked at don't respond with

Re: The revMenuBar

2012-05-01 Thread Richmond
On 05/01/2012 10:49 PM, Mark Wieder wrote: Cal Hornercalhorner@... writes: So my main problem still stands where in the scripts does the IDE reset the stack size for revMenuBar. Any Ideas? Yep. In the script of card 1 of stack revMenuBar (around line 108) is... if the platform is MacOS

Re: PayPal IPN LC

2012-05-01 Thread J. Landman Gay
On 5/1/12 3:18 PM, J. Landman Gay wrote: I have tried: 1. Looping through the opensockets and closing each one -- server 500 error BTW, I'm pretty sure this isn't really a script error, I think libURL is exiting to top. Exiting a cgi script throws a signal 11 error. Unfortunately Paypal

Re: PayPal IPN LC

2012-05-01 Thread Terry Judd
On 02/05/2012, at 6:19 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 5/1/12 2:02 PM, Pierre Sahores wrote: The Paypal API should wait for a receipt confirmation response from your script before it quits. Thanks Pierre. I added put ok but it still times out. I don't know what

Re: PayPal IPN LC

2012-05-01 Thread J. Landman Gay
On 5/1/12 4:38 PM, Terry Judd wrote: I agree - I've had a few problems with the POST command over https as well (nothing to do with Paypal). Maybe I should try curl. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: PayPal IPN LC

2012-05-01 Thread Richard Miller
Jacqueline, Have you tried the cgi script with the actual IPN system... not the sandbox? It doesn't appear to work. Richard On 5/1/2012 5:50 PM, J. Landman Gay wrote: On 5/1/12 4:38 PM, Terry Judd wrote: I agree - I've had a few problems with the POST command over https as well (nothing

Using handler local variables of caller

2012-05-01 Thread Dar Scott
I'd like a function to use some variables of the caller without them being passed or being declared as globals. Is there a way to do that? Desktop externals can do that, but I don't see a way for a library in a function to do that. Dar ___

Re: Using handler local variables of caller

2012-05-01 Thread Peter Haworth
Maybe custom properties? Pete lcSQL Software http://www.lcsql.com On Tue, May 1, 2012 at 3:11 PM, Dar Scott d...@swcp.com wrote: I'd like a function to use some variables of the caller without them being passed or being declared as globals. Is there a way to do that? Desktop externals

Re: PayPal IPN LC

2012-05-01 Thread J. Landman Gay
On 5/1/12 4:58 PM, Richard Miller wrote: Jacqueline, Have you tried the cgi script with the actual IPN system... not the sandbox? It doesn't appear to work. No, not yet. Are you logging? Do you get any error messages? -- Jacqueline Landman Gay | jac...@hyperactivesw.com

Re: Using handler local variables of caller

2012-05-01 Thread Bob Sneidar
If the handlers are in the same script, can't you use script local variables? If they are in different scripts, then Peter's suggestion of using properties may be the way to go. Seems like a lot to avoid passing parameters though. Bob On May 1, 2012, at 3:11 PM, Dar Scott wrote: I'd like a

Re: Checking for an internet connectio

2012-05-01 Thread Peter Haworth
Hi Tim, I've been trying this procedure out today and it seems to work just fine, at least on a Mac, even though the man page for ping says it returns zero if successful, not empty and the procedure is treating any non-empty result as failure. Not sure why taht is. Pete lcSQL Software

Re: Checking for an internet connectio

2012-05-01 Thread Peter Haworth
Hi Phil, Up to now, I've been using this on a Mac and it has worked fine as mentioned, despite the apparent discrepancy between between the empty/zero return code that's been mentioned. I tried it on Windows today and found that it was always returning false. Turns out the -t parameter on a Mac

Re: Using handler local variables of caller

2012-05-01 Thread dunbarx
I'm with Bob. When parameters are passed in a normal function call, they are completely local from both ends, and disappear after use. If you need to use values of some kind in order to work at all, and therefore have to extract them from somewhere, like a custom property, can you tell us why

Re: Using handler local variables of caller

2012-05-01 Thread Dar Scott
I want to make a few commands and functions that work like some built-in functions. For example, the built-in commands 'read' and 'ask...' both set 'it'. If I make my own version of 'ask', I'd like for the command to set 'it'. For example, the built-in function 'value()' works in the local

Re: PayPal IPN LC

2012-05-01 Thread Richard Miller
I'd be happy to use a PHP listener script to simply capture the IPN data, respond to PayPal, and store the data to a file, so I can get at it through LC. The following script is the basic PHP script PayPal recommends. The sandbox test environment is happy with it. But the line of code I added

Re: Using handler local variables of caller

2012-05-01 Thread Peter Haworth
I think his original email mentioned that these would be library functions which I assume means they'd be called from outside the library, thus script local variables wouldn't work. 'Tis kind of a strange request though! Pete lcSQL Software http://www.lcsql.com On Tue, May 1, 2012 at 5:03 PM,

Re: PayPal IPN LC

2012-05-01 Thread Monte Goulding
Hi Richard A couple of points: 1. you would want to do stuff with the data after you work out it's verified. 2. rather than dump to a file why not actually call your lc script with any parameters you need from paypal (Actually that might get Jacqueline over her hurdles too) Cheers -- M E R

Re: PayPal IPN LC

2012-05-01 Thread Richard Miller
Hi Monte, This is all territory I have no experience with. Regarding your point #1, I had that line of code there just to see if I could get the data written out... which I can't. I suspect the problem is with permissions. If I use this address for the IPN sender (inside my cgi-bin... where

Re: PayPal IPN LC

2012-05-01 Thread Monte Goulding
Regarding point #2, do you mean to call the cgi script from inside the PHP listener? If so, what does that line of code look like? It's the same as the callback to paypal but with your url. -- M E R Goulding Software development services Bespoke application development for vertical

Apple being Evil, again...

2012-05-01 Thread Andre Garzia
Folks, I want to release Dropbox support for LiveCode soon but it appears that Apple is being evil again. It is rejecting any application that connects to Dropbox. Checkout the thread at: http://forums.dropbox.com/topic.php?id=59350 And that is why I use webOS and Android as my mobile

Re: Apple being Evil, again...

2012-05-01 Thread Monte Goulding
Looks like they are sorting it out. They just need to only allow free account creation if the client is iOS. Cheers Monte On 02/05/2012, at 10:52 AM, Andre Garzia wrote: Folks, I want to release Dropbox support for LiveCode soon but it appears that Apple is being evil again. It is

Re: Apple being Evil, again...

2012-05-01 Thread Dar Scott
A couple days ago I looked at a bunch of PDF readers and most that caught my eye have some sort of dropbox interface. (The weird thing is that I was searching with Safari on the Mac--touching a site here and there--and immediately my iPad got a message through the App Store asking me if I

Re: Apple being Evil, again...

2012-05-01 Thread Thomas McGrath III
That issued was solved by Dropbox for users who use their SDK to access dropbox themselves: Here is a version of the iOS SDK that removes both the Desktop Version link and the create account link: https://www.dropbox.com/s/36domfjo6pz1ulf/dropbox-ios-sdk-1.2.2-b2.tar.gz We're looking for

Re: PayPal IPN LC

2012-05-01 Thread Richard Miller
Monte, Do you mean like the line shown below (==)? If so, it doesn't seem to trigger my cgi script. Again, this PHP stuff is Greek to me. Thanks. Richard // PHP 4.1 // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; file_put_contents(dump.txt, print_r($_POST,

Re: Using handler local variables of caller

2012-05-01 Thread Mark Wieder
Dar- Tuesday, May 1, 2012, 5:14:42 PM, you wrote: I want to make a few commands and functions that work like some built-in functions. For example, the built-in commands 'read' and 'ask...' both set 'it'. If I make my own version of 'ask', I'd like for the command to set 'it'. Setting it

Re: PayPal IPN LC

2012-05-01 Thread Andre Garzia
Guys and Gals, You may want to check https://www.paypal-community.com/t5/About-Settings/Paypal-repeats-identical-IPN-posts/td-p/465559 Cheers andre On Tue, May 1, 2012 at 10:21 PM, Richard Miller w...@together.net wrote: Monte, Do you mean like the line shown below (==)? If so, it doesn't

Re: Apple being Evil, again...

2012-05-01 Thread Andre Garzia
Thomas, There are reports of apps being rejected EVEN AFTER THE SDK CHANGE. It appears that Apple does not want users to be able to create Dropbox accounts from the auth screen which is bogus because they allow such behavior for their iCloud stuff. Damn. I wish Android would dominate the

Re: PayPal IPN LC

2012-05-01 Thread J. Landman Gay
On 5/1/12 7:47 PM, Richard Miller wrote: Hi Monte, This is all territory I have no experience with. Regarding your point #1, I had that line of code there just to see if I could get the data written out... which I can't. I suspect the problem is with permissions. If I use this address for the

Re: Apple being Evil, again...

2012-05-01 Thread Thomas McGrath III
Andre, Brian from DropBox has stated that the apps that were rejected up until 4 hours ago are using the old sdk and not the new one. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On May 1, 2012, at 9:57 PM, Andre Garzia wrote: Thomas, There are reports of apps

Re: Using handler local variables of caller

2012-05-01 Thread Dar Scott
Hi, Mark! You hit the nail on the head. You work with desktop externals, right? They don't have this limitation. Since iOS externals do have the limitation, I'm not going to go that way. Here is a goofy solution: function darzCommand get 123 return put it into it end

Re: Apple being Evil, again...

2012-05-01 Thread Andre Garzia
Thomas, Ok... Lets wait and see what further developments this will have... Cheers andre On Tue, May 1, 2012 at 11:02 PM, Thomas McGrath III mcgra...@mac.comwrote: Andre, Brian from DropBox has stated that the apps that were rejected up until 4 hours ago are using the old sdk and not the

Re: Apple being Evil, again...

2012-05-01 Thread Peter Haworth
Well of course they don't wnat anyone to use Dropbox, or Box.net or Google Drive or any other online cloud storage - it takes people away form iCloud. Is that too cynical? Pete lcSQL Software http://www.lcsql.com On Tue, May 1, 2012 at 6:57 PM, Andre Garzia an...@andregarzia.com wrote:

Re: PayPal IPN LC

2012-05-01 Thread Andre Garzia
Folks, I found some old IPN code I had. It was a part of a online shop software. There are two useful files: ipn.inc - https://gist.github.com/2573122 ipn.irev - https://gist.github.com/2573132 The code above serves as reference material, I am not advocating that the code above is safe or that

Re: PayPal IPN LC

2012-05-01 Thread J. Landman Gay
On 5/1/12 9:35 PM, Andre Garzia wrote: If I remember correctly, you need to output something from your IPN handler. Doing the whole POST stuff is not enough. You need to output something in the CGI or Apache will think it is a 500 error. You can't have 200 OK with no content, so just put ok.

Re: PayPal IPN LC

2012-05-01 Thread J. Landman Gay
On 5/1/12 8:55 PM, Andre Garzia wrote: Guys and Gals, You may want to check https://www.paypal-community.com/t5/About-Settings/Paypal-repeats-identical-IPN-posts/td-p/465559 That's it! That's what's happening. I don't know how you found that post, I've been crawling those forums for days and