Re: Update on Android and OpenGL in Froyo

2011-12-26 Thread Andre Garzia
Jacque, Thank you very much for the heads up. Do you know if we can set minimum version on the Android Market? For games, the software renderer might not be enough. It may be better not to allow software on 2.2.1 then allow it and have bad performance. Cheers andre On Mon, Dec 26, 2011 at 4:27

Re: Thanks to Scott Rossi

2011-12-26 Thread Richard Gaskin
Roger Eller wrote: I think this is the newsletter you seek. http://www.runrev.com/newsletter/december/issue125/ http://www.runrev.com/newsletter/december/issue125/newsletter3.php Thanks for the links. Unfortunately, those going directly to the newsletter index at

Re: Thanks to Scott Rossi

2011-12-26 Thread Andre Garzia
On Mon, Dec 26, 2011 at 1:23 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Is this an opportunity for RevIgniter to help make a CMS that's less work to keep current than whatever RunRev is currently using? I support this idea! It is time for RunRev to use LiveCodeServer in more places

Re: OT: Decrypting PHP preg_replace Strings

2011-12-26 Thread Richard Gaskin
Sivakatirswami wrote: We have hackers on our web server getting in thru one Domain... I think there is a whole in WordPress. ... I can't wait until move our site over to RevIgniter; I think it will be much more secure! Well, at least with injection attacks from buffer overruns, according to

Re: OT: Decrypting PHP preg_replace Strings

2011-12-26 Thread Andre Garzia
On Mon, Dec 26, 2011 at 1:40 PM, Richard Gaskin ambassa...@fourthworld.comwrote: For example, SQL injection is a common vulnerability, and PHP provides a function to sanitize data going into the DB. Any of you have a similar LiveCode function to sanitize data? For some years, I've requested

Keeping stacks on-screen

2011-12-26 Thread Richmond
Here's a fairly Quick-n-Dirty script which will do the magic if pasted into the stack script of any stack that is going wandering: on moveStack put the short name of this stack into THSTK if the left of stack THSTK (item 1 of the screenRect) then set loc of stack THSTK to the

Re: Update on Android and OpenGL in Froyo

2011-12-26 Thread J. Landman Gay
On 12/26/11 9:13 AM, Andre Garzia wrote: Jacque, Thank you very much for the heads up. Do you know if we can set minimum version on the Android Market? For games, the software renderer might not be enough. It may be better not to allow software on 2.2.1 then allow it and have bad performance.

Smooth change in size of a stack

2011-12-26 Thread Pete
What is the technique for making a change in stack height a smooth transition? Not a very good descriptions I guess but as an example, I'm looking at what happens in the Tools palette when you go back and forth between the various tabs. Thanks, -- Pete Molly's Revenge

Re: Update on Android and OpenGL in Froyo

2011-12-26 Thread Andre Garzia
On Mon, Dec 26, 2011 at 3:26 PM, J. Landman Gay jac...@hyperactivesw.comwrote: Yes, you can specify in the Android Manifest a minimum version and also which features the device must have to be compatible (i.e., cameras, GPS, etc.). If the user doesn't have a compatible device, the market won't

Re: Trouble with button icon images

2011-12-26 Thread Pete
HI Jacque, Just one more follow up to this. When the standalone is built, does it include all the images in the library or just the ones that are referenced in the application? The library I created has around 700 icons in it and I only use perhaps a dozen or so in any one application. Thank,

Crashing Ubuntu 11.10 with LC 4.5

2011-12-26 Thread Richmond
I suppose I had better start with a confession: Having been in dependency hell for about 2 months I have installed UBUNTU 11.10 on my main machine and am running Unity 2D on it. If one uses Avant Window Navigator one can very nearly avoid all the bumf that comes along with Unity. Still fairly

Re: Keeping stacks on-screen

2011-12-26 Thread Colin Holgate
These first two entries should be and not . Might explain your other problem too. On Dec 26, 2011, at 12:10 PM, Richmond wrote: on moveStack put the short name of this stack into THSTK if the left of stack THSTK (item 1 of the screenRect) then set loc of stack THSTK to the

Re: OT: Decrypting PHP preg_replace Strings

2011-12-26 Thread Mark Wieder
Jacque- Sunday, December 25, 2011, 10:43:29 PM, you wrote: My hosting provider, JaguarPC, just released this notice four days ago. Sounds like a similar thing. I upgraded my on-rev Wordpress installation to 3.3 last week. No problems with the upgrade, so I recommend it. -- -Mark Wieder

Re: Keeping stacks on-screen

2011-12-26 Thread Richmond
On 12/26/2011 07:55 PM, Colin Holgate wrote: These first two entries should be and not. You're right there. Might explain your other problem too. On Dec 26, 2011, at 12:10 PM, Richmond wrote: on moveStack put the short name of this stack into THSTK if the left of stack THSTK

Re: OT: Decrypting PHP preg_replace Strings

2011-12-26 Thread Pierre Sahores
Le 26 déc. 2011 à 16:40, Richard Gaskin a écrit : Sivakatirswami wrote: We have hackers on our web server getting in thru one Domain... I think there is a whole in WordPress. ... I can't wait until move our site over to RevIgniter; I think it will be much more secure! Any of you

RE: Point at which speaking is stopped?

2011-12-26 Thread FlexibleLearning
I do not believe this is available, nor can I think of a reliable way to determine the stop point. Unless the 'reading' is converted to an audio file (which probably does not suit your purposes or you would be already implementing one) and the use of callbacks is implemented. You may have to

Re: Point at which speaking is stopped?

2011-12-26 Thread Mike Bonner
The only way I can think of is to speak individual words rather than a block of text. This way you can cycle through words, each with its own revspeak and can monitor where in the text you are at every moment. This also obviates the need for a stop. Just quit sending words to revspeak. Since

Re: Point at which speaking is stopped?

2011-12-26 Thread Roger Eller
On Mon, Dec 26, 2011 at 2:11 PM, Mike Bonner wrote: The only way I can think of is to speak individual words rather than a block of text. This way you can cycle through words, each with its own revspeak and can monitor where in the text you are at every moment. That's a good idea, but it may

Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-26 Thread Mark Wieder
Richmond- Monday, December 26, 2011, 9:49:39 AM, you wrote: Still fairly cheesed-off with Unity, GNOME 3 and the fact that there has been no consideration for those who like GNOME 2 (after all, why not just keep it in the repositiories as an option?). I spent about two weeks with Gnome 3 on

Re: Point at which speaking is stopped?

2011-12-26 Thread Mike Bonner
Yeah, word by word its horrible. Sentence by sentence is cool, or even check for several things. Read from sentence start to either period, comma, exclamation, question mark, or end of line. (though if revspeak is smart enough to know that comma indicates a pause then ignore commas.) On Mon, Dec

Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-26 Thread Richmond
On 12/26/2011 09:35 PM, Mark Wieder wrote: Richmond- Monday, December 26, 2011, 9:49:39 AM, you wrote: Still fairly cheesed-off with Unity, GNOME 3 and the fact that there has been no consideration for those who like GNOME 2 (after all, why not just keep it in the repositiories as an

Re: Smooth change in size of a stack

2011-12-26 Thread Marty Knapp
Hey Pete, Eric Chatonet had a stack named Modifying Card Dimensions that showed how to do that (I thought) but in trying it just now on LC 5 it doesn't seem to work. And I noticed that his www.SoSmartSoftware.com web site is no longer up (sadly, he passed away a few years ago). I have the

Re: Point at which speaking is stopped?

2011-12-26 Thread Mike Bonner
Yep, in simplest form its not to bad. I put a bunch of text into a field then to read it, set the itemdelimter to . put the field text into a variable and replaced ? with ?. same with ! replaced with !. (to ensure we still retain punctuation tone changes) So the following script placed in a

Re: Smooth change in size of a stack

2011-12-26 Thread Pete
Thanks Marty. I haven't moved to 5.0 yet (seems like too many niggling problems) so I'd love to get the stack. Could you send it to my email? Pete On Mon, Dec 26, 2011 at 12:08 PM, Marty Knapp martykn...@comcast.netwrote: Hey Pete, Eric Chatonet had a stack named Modifying Card Dimensions

Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-26 Thread Andre Garzia
On Mon, Dec 26, 2011 at 5:35 PM, Mark Wieder mwie...@ahsoftware.net wrote: You *do* have your root and home partitions separate, right? I don't but I have OCD level rsync between the machines... I really should place home in another partition, the only time I do this is with freebsd. --

Re: Crashing Ubuntu 11.10 with LC 4.5

2011-12-26 Thread Peter Alcibiades
Stay with Ubuntu for now, but install fluxbox and see if it still happens. At least you'll know if its Ubuntu or Gnome3. Once you have got used to Fluxbox, its astonishing how little use you have for a window manager, desktop, all that bloat. I preferr flux to openbox mainly because the virtual

Re: Trouble with button icon images

2011-12-26 Thread J. Landman Gay
On 12/26/11 11:35 AM, Pete wrote: HI Jacque, Just one more follow up to this. When the standalone is built, does it include all the images in the library or just the ones that are referenced in the application? The library I created has around 700 icons in it and I only use perhaps a dozen or

Re: Point at which speaking is stopped?

2011-12-26 Thread Roger Eller
On Mon, Dec 26, 2011 at 3:21 PM, Mike Bonner wrote: The example isn't great, there are some issues with it but its close at least. On Mon, Dec 26, 2011 at 1:09 PM, Mike Bonner wrote: Yep, in simplest form its not to bad. I put a bunch of text into a field then to read it, set the

revOpenDatabase Problem

2011-12-26 Thread Pete
Using revOpenDatabase to open an sqlite database using a file that is not an sqlite database return an integer as if the database was successfully opened. Any subsequent db accesses fail of course but I wonder why revOpenDatabase doesn't return an error? -- Pete Molly's Revenge

Re: revOpenDatabase Problem

2011-12-26 Thread Mike Bonner
My guess is that it doesn't check for a valid schema/format but that it is only establishing a file handle which is successful. Then it should fail with an error on actual attempt to use. On Mon, Dec 26, 2011 at 2:33 PM, Pete p...@mollysrevenge.com wrote: Using revOpenDatabase to open an sqlite

Re: Smooth change in size of a stack

2011-12-26 Thread Marty Knapp
OK - sent a bit ago as an email attachment. Let me know if you didn't get it, I'll post it somewhere that you can download it. Marty Thanks Marty. I haven't moved to 5.0 yet (seems like too many niggling problems) so I'd love to get the stack. Could you send it to my email? Pete On Mon, Dec

Re: revOpenDatabase Problem

2011-12-26 Thread Pete
I think that's probably true. I'm trying to figure out how to to tell if a real sqlite database was opened. The first access to the db fails but the error is Undefined SQLite error which is not very specific! This is in an app where the user can select an sqlite db so I'm at the mercy of what

Re: Smooth change in size of a stack

2011-12-26 Thread Pete
Got it Marty, thanks. I'll check it out in the next couple of hours. Pete On Mon, Dec 26, 2011 at 1:56 PM, Marty Knapp martykn...@comcast.net wrote: OK - sent a bit ago as an email attachment. Let me know if you didn't get it, I'll post it somewhere that you can download it. Marty Thanks

Re: revOpenDatabase Problem

2011-12-26 Thread Mike Bonner
Hmm. don't have time to test it right this sec, but isn't an sqlite file pretty much a regular old text file? If so, it might be possible to open for read, read the first however much and check the file for validity. (even if its binary, surely there is a way to determine if its really an sqlite

Re: revOpenDatabase Problem

2011-12-26 Thread Andre Garzia
Pete, Try the following query: SELECT name FROM sqlite_master WHERE type IN ('table','view') AND name NOT LIKE 'sqlite_%' UNION ALL SELECT name FROM sqlite_temp_master WHERE type IN ('table','view') ORDER BY 1 It should return the tables in the database, if there are no tables, then, there is

Re: revOpenDatabase Problem

2011-12-26 Thread Mike Bonner
Here, look here under 1.2 database header. http://www.sqlite.org/fileformat2.html Looks like the first 16 bytes of the header are what you are looking for which are of course the first 16 bytes of the file. Should be quick and easy to grab those bytes and determine if the file is sqlite or not.

Re: Smooth change in size of a stack

2011-12-26 Thread Pete
Hi Marty, I think this is working OK after I got past a misunderstanding on my part. I had expeced the current card dimensions to change if I changed the value in the height and width fields but I think those values are just used by the changeWindowSize handler when a card is opened. Anyway I

Re: revOpenDatabase Problem

2011-12-26 Thread Pete
Thanks Andre and Mike. Mike - thanks for the link. You're right, that works just fine. First 16 characters must be SQLite format 3 plus a nul if it's an SQLite file. LC probably ought to be checking for that but that's OK. On Mon, Dec 26, 2011 at 2:09 PM, Mike Bonner bonnm...@gmail.com wrote:

Re: Point at which speaking is stopped?

2011-12-26 Thread Jim Hurley
Mike, Ingenious. Works like a charm. Thank you. There will be problems, as I have discovered in an other app I am working on in parsing sentences. The period has multiple uses besides a sentence delimiter, for example in abbreviations and in decimal numbers. These can be parsed out however.

Re: Point at which speaking is stopped? and ANN: Text to Speech

2011-12-26 Thread Jim Hurley
Roger, It is even better for proofreading. I have put my Text to Speech up on the web. Run this in the message box. go url http://www.jamesphurley.com/TextToSpeech.rev; Jim Hurley Roger Eller wrote: I like it! I used your post as the text to read aloud via your script. With a little

Re: Point at which speaking is stopped?

2011-12-26 Thread Mike Bonner
Might watch the code I used to toggle on and off (assuming you used that part) Not sure that portion is thought out very well, and as you say things will crop up, but glad its working well enough as a starting point that you can tweak to fit your needs. Hope your new year is a good one! On Mon,

Strange Datagrid Behavior

2011-12-26 Thread Pete
I have two datagrids on a card. When the user clicks on an option menu on the card, the datagrids are populated with information in two different formats, at least that's what's supposed to happen. I do this by setting the dgText of each datagrid to the value of a variable. When I set the

Re: 5.0.2 startup woes

2011-12-26 Thread Fred Moyer
On Dec 26, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: I reported this to support. Did you too ? Else, please do it ;-) Yes, I have reported it. Thanks Pierre ___ use-livecode mailing list use-livecode@lists.runrev.com Please