AW: want you error expertise

2012-02-17 Thread Tiemo Hollmann TB
Hi Malte, I don't use HTMLText in this case, but good to know Thanks Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] Im Auftrag von Malte Brill Gesendet: Donnerstag, 16. Februar 2012 19:38 An:

RE: Valentina 5 Platform Announced; Reports, Valentina Studio forPostgre, Valentina DB and SQLite

2012-02-17 Thread Lynn Fredricks
I know this is sort of off-topic, but will you be supporting Python at any point? If a bunch of customers request it, its possible; anyone else? Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database

AW: want you error expertise

2012-02-17 Thread Tiemo Hollmann TB
Hi Ruslan, not BEFORE Valentina_Init, but WHILE Valentina_Init. This is the last executed statement, so I couldn't set the debug level in the next statement. LiveCode produced a crashlog at exact this statement, but with no other information The windows system crash log just shows some generic

Re: Valentina 5 Platform Announced; Reports, Valentina Studio forPostgre, Valentina DB and SQLite

2012-02-17 Thread Ruslan Zasukhin
On 2/17/12 10:29 AM, Lynn Fredricks lfredri...@proactive-intl.com wrote: I know this is sort of off-topic, but will you be supporting Python at any point? If a bunch of customers request it, its possible; anyone else? Yes this is possible actually, than more that we have got here develop

Strategies for debugging in the iOS Simulator

2012-02-17 Thread Graham Samuel
Having reached the point where I can run an app in the simulator, I can't find any way of getting any results out of it, apart from adding various displays, 'answer' statements and the like - in other words, I have to distort my app in order to debug it. This is sad, since at this stage the app

Re: [OT] OS X's Gatekeeper

2012-02-17 Thread Ken Corey
On 16/02/2012 21:25, François Chaplais wrote: Richard, Gatekeeper can be configured to download anything you like, if you like. For now. I do love my iPad, but my biggest heartache with it is that apps that I would like to have free and unfettered access can't (Codea is a great example).

Re: Valentina 5 Platform Announced; Reports, Valentina Studio forPostgre, Valentina DB and SQLite

2012-02-17 Thread Bernard Devlin
Ruslan, Python does have classes. I noticed from when I looked at the Ruby PHP valentina libraries, that they seemed to do much less than the V4REV library. I assume that is the difference between what you mention below with A and B. I'm very glad that V4REV does have so many ways to work with

Re: Math problem

2012-02-17 Thread Kay C Lan
On Tue, Feb 14, 2012 at 6:09 AM, Bob Sneidar b...@twft.com wrote: Hey there it is! I was looking for a strictly mathematical method but that will do nicely. Not sure how Paul's response could be the answer as it seems to miss an important step. --take the difference in pIncrement units,

Sound in the iOS Simulator

2012-02-17 Thread Graham Samuel
I had a couple of statements in my iOS app: play xylo.aif wait until the sound is done Works fine in the IDE, but never reaches 'done' status in the simulator - 'the sound' returns the file name, or exactly //xylo.aif This value is (I think) what LC is expected to return on iOS with a sound

[OT] OS X's Gatekeeper

2012-02-17 Thread Malte Brill
Gatekeeper can be configured to download anything you like, if you like. The main Problem here is that most people won't. Most users never ever change the default settings. So my prediction is: If you create Mac Software (and soon windows too), it is Sign or die, App store or die If that is

OS X Mountain Lion: the end of Carbon... ?

2012-02-17 Thread René Micout
I red that with Mountain Lion, Apple is preparing to abandon most of the Carbon API... What happens to LiveCode which is a Carbon application ? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: [ANN] ExtTextInputMode external

2012-02-17 Thread Mark Schonewille
Hi, Perhaps I should explain a little more, because some people seem to think this feature was already available in LiveCode. Currently, livecode has functions to retrieve the the current language settings of the iPhone. With iphonePreferredLanguages, you can find out which language to use if

Re: [OT] OS X's Gatekeeper

2012-02-17 Thread Bernard Devlin
Thank gnu for Linux. Bernard On Fri, Feb 17, 2012 at 9:34 AM, Ken Corey k...@kencorey.com wrote: Companies are yearning for total control, for better or worse. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Next iOS question - why is my app so slow?

2012-02-17 Thread Graham Samuel
Well, I was fleetingly pleased with myself that I got my first iOS app installed and running on my iPad 2. It didn't last. The thing runs as though wading through glue - MUCH slower than on my Mac (a not particularly new MacBook) and even slower even than on the simulator. The amount of

Re: Next iOS question - why is my app so slow?

2012-02-17 Thread Ken Corey
On 17/02/2012 13:34, Graham Samuel wrote: Well, I was fleetingly pleased with myself that I got my first iOS app installed and running on my iPad 2. It didn't last. The thing runs as though wading through glue - MUCH slower than on my Mac (a not particularly new MacBook) and even slower even

Re: [OT] OS X's Gatekeeper

2012-02-17 Thread Roger Eller
On Fri, Feb 17, 2012 at 7:23 AM, Bernard Devlin wrote: Thank gnu for Linux. Bernard On Fri, Feb 17, 2012 at 9:34 AM, Ken Corey k...@kencorey.com wrote: Companies are yearning for total control, for better or worse. Nobody is safe. The latest incarnation of MacBook Pro hardware WILL NOT

Re: AW: want you error expertise

2012-02-17 Thread Ruslan Zasukhin
On 2/17/12 10:38 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: Hi Tiemo, not BEFORE Valentina_Init, but WHILE Valentina_Init. This is the last executed statement, so I couldn't set the debug level in the next statement. LiveCode produced a crashlog at exact this statement, but with no

Re: [OT] OS X's Gatekeeper

2012-02-17 Thread Richard Gaskin
Roger Eller wrote: Nobody is safe. The latest incarnation of MacBook Pro hardware WILL NOT boot a live CD of any Linux distro. We tried 10 different ones including Ubuntu, Debian, Suse, Slackware, Mint, and other less-known distros. So, Apple is blocking bootloaders too. Looks like Apple's

Re: OS X Mountain Lion: the end of Carbon... ?

2012-02-17 Thread Ken Ray
On Feb 17, 2012, at 5:23 AM, René Micout wrote: I red that with Mountain Lion, Apple is preparing to abandon most of the Carbon API... What happens to LiveCode which is a Carbon application ? They said at the last conference that they were planning on focusing on a move to Cocoa as soon as

Re: Strategies for debugging in the iOS Simulator

2012-02-17 Thread Chris Sheffield
Graham, Debugging is a bit of a pain still. No doubt about that. However, it can be made a bit easier by using simple put commands in combination with the Console application. All put statements will output to the console. I find that a little easier to deal with than a bunch of answer

Re: Sound in the iOS Simulator

2012-02-17 Thread Chris Sheffield
Graham, There was a bug at one point that would cause a hang because the sound would never return done. But I thought it had been fixed. Not sure in which version of LiveCode, however. Which version are you using? Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Feb 17,

Re: Next iOS question - why is my app so slow?

2012-02-17 Thread Chris Sheffield
Without seeing any code, I would advise looking at the acceleratedRendering and layerMode properties if you haven't already. These might make a difference when moving objects. Honestly, though, I'm not sure if they apply to dragging or not. I haven't personally done anything like that. Maybe

Re: [ANN] ExtTextInputMode external

2012-02-17 Thread Thomas McGrath III
Mark, This is awesome. Thank you. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Feb 16, 2012, at 11:50 PM, Mark Schonewille wrote: Hi, Because I'm doing a lot with RTL and East Asian languages lately and things may go wrong if the user of my software uses the

Re: [ANN] ExtTextInputMode external

2012-02-17 Thread Mark Schonewille
You're welcome :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 17 feb 2012, at

AW: AW: want you error expertise

2012-02-17 Thread Tiemo Hollmann TB
Hi Ruslan, I didn't tested it in the IDE, I tested in a standalone environment and removed the files from my app folder of the standalone. Thanks Tiemo I tried to remove the Valentina dlls on my computer with interesting results. Removing all these folders and Dlls just didn't

Strange Tooltip behavior

2012-02-17 Thread Pete
I have some code that sets the tooltip of a control to either some text or empty depending on a condition. If the code to set the tooltip to empty is executed, the tooltip is still displayed with its previous values. How can I get rid of the tooltip? -- Pete Molly's Revenge

Re: OS X Mountain Lion: the end of Carbon... ?

2012-02-17 Thread Pete
Does moving to Cocoa mean we get all the missing Mac native controls? Pete On Fri, Feb 17, 2012 at 7:01 AM, Ken Ray k...@sonsothunder.com wrote: On Feb 17, 2012, at 5:23 AM, René Micout wrote: I red that with Mountain Lion, Apple is preparing to abandon most of the Carbon API... What

Re: [OT] OS X's Gatekeeper

2012-02-17 Thread Ken Corey
On 17/02/2012 14:59, Richard Gaskin wrote: Looks like Apple's message is clear: if you want to run Linux you'll need to buy your computer from System 76 or ZaReason. Thanks for the tip, Apple. ;) Looking at their site this morning it seems System 76 just refreshed their line... Interesting.

Re: Math problem

2012-02-17 Thread Geoff Canyon Rev
Obviously you could do this inline, but then it wouldn't be reusable. I'd go with a function: function roundUp x,i -- rounds x up to the next i return ((x - .1) div i + 1) * i end roundUp function test T1,T2 -- returns the difference between two times in seconds -- rounded up to

Re: Sound in the iOS Simulator

2012-02-17 Thread Graham Samuel
IMHO the bug is still there. I'm using LC 5.0.2, running under MacOS Lion 10.7.3. The Simulator is version 5.0 (272) - the hang occurred in the simulator and the device (forgot to say that before). In fact even after I took the test out, I have not yet got my app to make a sound on my device

Re: Next iOS question - why is my app so slow?

2012-02-17 Thread Graham Samuel
Chris, this is fantastic! Despite years of LC/Rev scripting, I had never heard of either of the properties you mention, and now I've read a bit more about them I really don't understand them much - presumably there must be a payoff between using static and dynamic layerModes, or the engine

Re: OS X Mountain Lion: the end of Carbon... ?

2012-02-17 Thread René Micout
Le 17 févr. 2012 à 16:01, Ken Ray a écrit : They said at the last conference that they were planning on focusing on a move to Cocoa as soon as possible - so I'm figuring that by the time Apple abandons Carbon, RunRev will have shifted LiveCode to Cocoa... Thank you Ken a good news ! Le

Re: Next iOS question - why is my app so slow?

2012-02-17 Thread Mike Bonner
I believe the layermode (static, dynamic, scrolling) can be set before build and will retain their state. Pretty sure the acceleratedrendering must be set at runtime as you mention. On Fri, Feb 17, 2012 at 10:24 AM, Graham Samuel livf...@mac.com wrote: Chris, this is fantastic! Despite years

Re: Strategies for debugging in the iOS Simulator

2012-02-17 Thread Graham Samuel
Chris, what a fount of knowledge you are! Again, I hadn't realised the Console Application existed - in fact at the time of writing I haven't found it yet, but I dare say I will soon. It is mentioned once in the iOS Deployment Notes and AFAIK nowhere else (tho it might be buried in a lesson

Saving a font as a custom property

2012-02-17 Thread Lars Brehmer
I have been fooling around with revFontLoad in Windows for quite a while now with varying degrees of succes, nostly very little. I found an old post that suggested saving the font as a custom property, and then when the application loads, saves that custom property as its original font. So far

Re: OS X Mountain Lion: the end of Carbon... ?

2012-02-17 Thread Tim Jones
There are only a couple of specifically deprecated items and there are very specific replacements for them in the remaining Carbon APIs. Carbon is still with us. If you are a registered Apple developer, check out the discussion forums for specifics. However, please don't take what I'm saying

Re: Saving a font as a custom property

2012-02-17 Thread Mark Schonewille
Hi Lars, The save command is only for stacks. You need to use the write or put URL command. Make sure to open the file for binary write or start the URL with bin file. An easier way might be to use Installer Maker to include your fonts with your software and have them installed correctly.

Re: Saving a font as a custom property

2012-02-17 Thread Klaus on-rev
Hi Lars, Am 17.02.2012 um 18:33 schrieb Lars Brehmer: I have been fooling around with revFontLoad in Windows for quite a while now with varying degrees of succes, nostly very little. I found an old post that suggested saving the font as a custom property, and then when the application

Re: Saving a font as a custom property

2012-02-17 Thread François Chaplais
does it work if you save the font as a file first (using the URL scheme, for instance?) François Le 17 févr. 2012 à 18:33, Lars Brehmer a écrit : I have been fooling around with revFontLoad in Windows for quite a while now with varying degrees of succes, nostly very little. I found an old

Re: [OT] OS X's Gatekeeper

2012-02-17 Thread Tim Jones
Actually, thank Linus Torvalds for Linux. If you have the drive, it is possible to build a Linus system with no GNU tools and code - in that case, thank the FreeBSD guys. Speaking of which, how about a LiveCode version for FreeBSD? Tim On Feb 17, 2012, at 5:23 AM, Bernard Devlin wrote:

Re: [OT] OS X's Gatekeeper

2012-02-17 Thread Mike Bonner
I'm not positive, but didn't Andre get livecode running on bsd by installing some linux binary support libraries or some such? Or maybe it was livecode server that was beaten into submission I forget. On Fri, Feb 17, 2012 at 11:13 AM, Tim Jones tolis...@me.com wrote: Actually, thank Linus

Re: [OT] OS X's Gatekeeper

2012-02-17 Thread Tim Jones
It is possible to get Linux apps running using the Linux compatibility libs, but I'm thinking more in a native manner. Tim On Feb 17, 2012, at 11:38 AM, Mike Bonner wrote: I'm not positive, but didn't Andre get livecode running on bsd by installing some linux binary support libraries or some

Re: Saving a font as a custom property

2012-02-17 Thread Marty Knapp
Lars, Here's a couple of routines I use that may help you: on saveFont answer file Choose a font to embed: if it is emtpy then exit to top set itemDel to / set the uFontName of this stack to last item of it --save the name set the uEmbeddedFont of this stack to URL (binfile: it)

Re: Math problem

2012-02-17 Thread Peter M. Brigham, MD
On Feb 17, 2012, at 12:20 PM, Geoff Canyon Rev wrote: function roundUp x,i -- rounds x up to the next i return ((x - .1) div i + 1) * i end roundUp Works except for values like 4.1. Try this instead. It's a sort of a trick to avoid using a conditional construction, though the

Re: Mac OS X 10.8!

2012-02-17 Thread Richmond
On 02/16/2012 11:19 PM, Richard Gaskin wrote: Richmond wrote: I wonder what is going to happen, when, at last, Apple hits system 11 . . . will there be any cats left? Of course 'Slugworth' (pace Charlie and the Chocolate Factory), aka Shuttleworth, nicked Ocelot while the late Steve Jobs (may

Re: Strange Tooltip behavior

2012-02-17 Thread dunbarx
Pete, I don't see this at all. I set up a simple condition that either sets the toolTip of a button to some text or empty. If the condition is met, I get the tooltip, If not I get empty, that is to say, no tooltip showing. Craig Newman -Original Message- From: Pete

Re: Any in-house corporate developers?

2012-02-17 Thread Alejandro Tejada
Hi Michael, Michael Chean wrote So what about source control, any applicability here. Are Diffs possible Chipp Walters from Altuit published the software named Magic Carpet. http://lists.runrev.com/pipermail/use-livecode/2004-August/042850.html Hey all, just thought I'd let you know we

Re: Any in-house corporate developers?

2012-02-17 Thread Bob Sneidar
Well hey howdy! I should check this out. Bob On Feb 17, 2012, at 1:19 PM, Alejandro Tejada wrote: Hi Michael, Michael Chean wrote So what about source control, any applicability here. Are Diffs possible Chipp Walters from Altuit published the software named Magic Carpet.

Limiting scope of Visual Effect command

2012-02-17 Thread tbodine
Hi all. Can the visual effect command apply the effect just to the area of the screen that has changed during a lock screen operation? I want to reveal the answer to a question by changing the text of a button label, then make it appear to the user that the answer has flipped up. Right now, the

Re: Math problem

2012-02-17 Thread Paul Dupuis
Well Bob, here is one more: -- countTheHour with NO IF statements, proper rounding, and a single calculation line -- pIncrement is in seconds, so 900 equals 15 minutes increments. The default (by the max function) is 1 minute (60 seconds) -- 1 second in 1 hour is 1/3600 or 0.000278, so the

Re: Using DropBox for Faster Mobile Development

2012-02-17 Thread Michael Doub
I am trying to take your concept and make it a bit more generic but I feel like I must be in the Friday blues. I am stuck on syntax or I am loosing my mind. Probably the latter. ;-) Rather than go to the stack directly I wanted to pick up the url from the first line of a text file so it is

RE: Limiting scope of Visual Effect command

2012-02-17 Thread John Dixon
Have a read at p.12 of the 5.0.2 release notes regarding the changes made for displaying visual effects. I would image that you are going to be interested in :- lock screen for visual effect [in rect] Can the visual effect command apply the effect just to the area of the screen that has

RE: Limiting scope of Visual Effect command

2012-02-17 Thread tbodine
Thanks Paul and John. Those suggestions were very helpful! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Limiting-scope-of-Visual-Effect-command-tp4398554p4398634.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: Math problem

2012-02-17 Thread Bob Sneidar
Thanks for that Paul! Bob On Feb 17, 2012, at 2:03 PM, Paul Dupuis wrote: Well Bob, here is one more: -- countTheHour with NO IF statements, proper rounding, and a single calculation line -- pIncrement is in seconds, so 900 equals 15 minutes increments. The default (by the max function)

Re: Math problem

2012-02-17 Thread Geoff Canyon Rev
My original function took the number to be rounded and the increment to round up to, so I think your version would become: function roundUp x,i -- rounds x up to the next i return x div i * i + item itemoffset((x mod i 0),true,false) of (i,0) end roundUp On Fri, Feb 17, 2012 at 1:49 PM, Peter

Re: Using DropBox for Faster Mobile Development

2012-02-17 Thread Scott Rossi
I would be surprised if you could get this to work as DropBox states specifically that you cannot link to folders in your Public folder: https://www.dropbox.com/help/16 While you can't link to folders in your Public folder, you can link to files within sub-folders That said, you could generate a

Re: Math problem

2012-02-17 Thread Bob Sneidar
OK now you are just showing off! :-) Bob On Feb 17, 2012, at 3:39 PM, Geoff Canyon Rev wrote: My original function took the number to be rounded and the increment to round up to, so I think your version would become: function roundUp x,i -- rounds x up to the next i return x div i * i +

Re: Using DropBox for Faster Mobile Development

2012-02-17 Thread mikedoub
I am linking to files, not folders. Statements 1 and 2 are doing exactly what is expected. Only the third statement with the correct URL in the variable is not working. The following works just fine: go URL http://dl.dropbox.com/u/4379494/LiveCode/test.livecode; Where the following does

Re: Using DropBox for Faster Mobile Development

2012-02-17 Thread Michael Doub
Ah Ha!! I found a non printable character in the url that is being pulled out of the first line of the file. -= Mike On 02/17/2012, at 6:50 PM, Scott Rossi wrote: I would be surprised if you could get this to work as DropBox states specifically that you cannot link to folders in your

Bizarre behaviour! (was: Saving a font as a custom property)

2012-02-17 Thread Lars Brehmer
First of all, thank you very much Mark for this: Hi Lars, The save command is only for stacks. You need to use the write or put URL command. Make sure to open the file for binary write or start the URL with bin file. I now have my fonts stored as custom properties, and when the stack or

Re: Bizarre behaviour! (was: Saving a font as a custom property)

2012-02-17 Thread Mark Schonewille
Hi Lars, If you have a close look at the htmlText property, you might notice some important differences when you switch font sizes. It is possible that at one particular size no font size is given at all or perhaps even the font information is missing completely. You might try to set the

Bizarre behaviour! (was: Saving a font as a custom property)

2012-02-17 Thread Lars Brehmer
I just noticed a few typos that made this post hard to understand correctly, so here it is again. First of all, thank you very much Mark for this: Hi Lars, The save command is only for stacks. You need to use the write or put URL command. Make sure to open the file for binary write or

Re: Any in-house corporate developers?

2012-02-17 Thread Michael Chean
Thanks Alejandro, but I'm not too enthusiastic about the idea of using a proprietary tool. I use svn mostly here, so some solution like this would be good. In a corporate environment something like this is pretty much a necessity. ___ use-livecode

Re: Math problem

2012-02-17 Thread Kay C Lan
Guys I thought I'd speed test these. Unfortunately I don't have the time to figure out exactly how Geoff's amended version of Peter's solution actually works in this case; rounding 1.1 to 1.25, 3.3 to 3.5. I can get it to work with whole numbers, but not 0.25 increments as per the OP. The

Re: Any in-house corporate developers?

2012-02-17 Thread Bob Sneidar
Hi Michael. As you may have deduced by now, Livecode is a bit of an odd duck in the development world. Most of the tools people are used to working with would not apply here. It's just a different way of doing things. I have likened it before to the difference between having all the raw

Re: [OT] HyperCard and the Interactive Web

2012-02-17 Thread Alejandro Tejada
Hi Bob, slylabs13 wrote I think back then there was such a distain for anything Macintosh in the PC world, that anyone faced with the decision about whether or not to include in a history of computing, Hypercard as a precursor to ALL Hypertext based systems would be inclined to decline.

Re: Math problem

2012-02-17 Thread Bob Sneidar
This is beginning to look Disturbingly like regex! Sent from my iPad On Feb 17, 2012, at 7:13 PM, Peter M. Brigham, MD pmb...@gmail.com wrote: On Feb 17, 2012, at 6:39 PM, Geoff Canyon Rev wrote: My original function took the number to be rounded and the increment to round up to, so I

Re: Math problem

2012-02-17 Thread Peter M. Brigham, MD
Well, there's something wrong with the K solution and the Paul solution. Stepping through the script with the debugger, for the first line of tStore, the difference between tEndTime and tStartTime = 7974 (I inserted a temp variable tTemp = tEndTime - tStartTime so I could see what was going

Re: Any in-house corporate developers?

2012-02-17 Thread Alejandro Tejada
Hi Michael, If I understood well, these messages from January 2011, talk about recreating binary stacks from XML sources. This should be similar to compiling binaries from text sources. Ask to Mark Wieder about his livecode software for Version Control...

6 Is A Mystery Number

2012-02-17 Thread Scott Rossi
The answer to life may be 42, but my question is: 6? The setup: I create a new scrolling field, fill it with a bunch of text, and drag the scrollbar all the way down, setting the field to its max vertical scroll. When I compare the formattedHeight of the field minus its physical height with the

Re: 6 Is A Mystery Number

2012-02-17 Thread Howard Bornstein
If you change the font size significantly, does that change your fudgefactor? -- Regards, Howard Bornstein --- www.designeq.com mmm, fudge. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: 6 Is A Mystery Number

2012-02-17 Thread Scott Rossi
Recently, Howard Bornstein wrote: If you change the font size significantly, does that change your fudgefactor? Nope. No setting I can find changes the difference. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___

Re: 6 Is A Mystery Number

2012-02-17 Thread Bob Sneidar
In most cultures that subscribe to some form of numerology, 6 is the number of man. Man made Livecode. Man uses Livecode. Man floats. What else floats? Sticks float. What else do we do with sticks? We burn them. What else do we burn? WITCHES!!! BURN THE WITCH! Bob On Feb 17, 2012, at