Re: scaleFactor strangeness

2015-10-16 Thread Mark Waddingham
On 2015-10-15 19:42, hh wrote: Not really, if you mean affine transform. Translation destroys the wonderful commutativity you have with my proposal: If you interchange objects in the owner path/message path before a target then this has no effect on the total scalefactor of this target. And you

Re: I don't get Quicktime to run under LC 6.7.6

2015-10-16 Thread panagiotis merakos
Hi Tiemo, The previously suggested solution will not work. But in LC 6.7.8 RC1 (released yesterday) you can set the dontuseqt for the player object. So this will work: on preopenstack put the filename of player "myPlayer" into tOldFilename set the filename of player "myPlayer" to empty s

AW: I don't get Quicktime to run under LC 6.7.6

2015-10-16 Thread Tiemo Hollmann TB
Hi Panos, Thanks Panos, but that didn't worked. I found a workaround. If I create a splash stack, where I set dontuseQT to false and go from the splash stack to my real stack then QT works correct. But I didn't found a trick to get it to run in the first stack. I will file a bug. If anybody gets an

Re: I don't get Quicktime to run under LC 6.7.6

2015-10-16 Thread panagiotis merakos
Hi Tiemo, I saw that your reply was on my first comment, which I just confirmed that does not work. But the solutions suggested in my next comment should work. In case you missed it, here it is: In LC 6.7.8 RC1 (released yesterday) you can set the dontuseqt for the player object. So this *will* w

LC8 (dp7) - pretty darn good

2015-10-16 Thread Dave Kilroy
Just thought I'd report back my experiences of using LC8 (dp7) in doing final builds and submission to Google Play Store and iTunesConnect. The IDE in dp7 is for me now workable because so many weirdnesses have been ironed out - still plenty remaining but I can live with them in the knowledge that

AW: I don't get Quicktime to run under LC 6.7.6

2015-10-16 Thread Tiemo Hollmann TB
Thank you Panos, I tested the first approach with 6.7.8 and it works perfectly! Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von panagiotis merakos Gesendet: Freitag, 16. Oktober 2015 11:34 An: How to use LiveCode Betreff: Re

How to Make Computer Programming Ridiculously Easy

2015-10-16 Thread Jana Doughty
Hi All, We have a great new blog post that went up yesterday. It's from community member, Stephen Goldberg, who has put together the top 150 LiveCode programming words to make learning to program with LiveCode (as a beginner) that much easier. Check it out and let Stephen know how he can best upd

Re: CSV again.

2015-10-16 Thread Mike Kerner
Richard, Yes, I understand it was a Pascal Pun, and then in 2012, when this thread originally happened, it became something more, sort of a version pun on a pascal pun, if you will. Rather than posting fixes to the one on your blog, let's go through the "state of the art" and work on that, instead

Re: CSV again.

2015-10-16 Thread Bob Sneidar
Someone wrote a piece years ago about why no one who wanted to maintain his sanity should attempt to write an XML to CSV parser. In the process of writing the piece, his mind degenerated until he was blathering on about non-sensical things. The devil had finished his work on the poor soul. I do

Re: CSV again.

2015-10-16 Thread Alex Tweedly
Hi Mike, thanks for that additional info. I *think* (it's been 3 years) I left them as (i.e. numtochar(29)) because I had some data including normal TAB characters within the cells (!!( and thought was a safer bet - though of course nothing is completely safe. It's then up to the caller to

Re: CSV again.

2015-10-16 Thread Bob Sneidar
But what if the cr or lf or crlf is inside quoted text, meaning it is not a delimiter? Oh, I'm afraid the deflector shield will be quite operational when your friends arrive. Bob S > On Oct 16, 2015, at 08:04 , Alex Tweedly wrote: > > Hi Mike, > > thanks for that additional info. > > I *th

Re: Re: Export snapshot and native controls

2015-10-16 Thread Paul Hibbert
Now I see this is a problem with iOS, I have looked at your bug report and see the same problem in LC 7.1.1 (rc1) and LC 8.0.0 (dp7) when fullScreeMode is set to true. I hope LC can correct this soon for you. Regards, Paul > On 15 Oct 2015, at 21:59, Ludovic THEBAULT > wrote: > > >> Le 15

Re: LC 8 Property Inspector

2015-10-16 Thread Bob Sneidar
You and I are apparently in the minority on that point these days. In fact, we may be the only two people left! ;-) Bob S On Oct 14, 2015, at 01:14 , Mark Waddingham mailto:m...@livecode.com>> wrote: Unfortunately, I don't have much confidence in chaos producing anything in any particularly

Re: LC8 (dp7) - pretty darn good

2015-10-16 Thread Earthednet-wp
Dave, Thank you for this great summary and encouragement for lc8. I'll definitely give it a try soon. This kind of info re strategies for getting apps on mobile, in the store, etc, are really useful. Best, Bill William Prothero http://es.earthednet.org > On Oct 16, 2015, at 2:53 AM, Dave Kilroy

Re: function for greatest object in list less than or equal to a value

2015-10-16 Thread Geoff Canyon
I couldn't find the original code for the offset version, but I took a shot at it and got the following results, with the repeat solution still faster (in 6.7.3): Run Count: 10 Test ID: 1 Looking for greatest value < 5 sort 0.920932 48402 repeat 0.33892 48402 PMB 0.337938 4840

Re: CSV again.

2015-10-16 Thread Mike Kerner
No, the problem isn't that LC use LF and CR for ascii(10) and ignores ascii(13). That's just a personal problem. The problem, here, is that the csv parser handles a naked line and a terminated line differently. If the line is terminated, it parses it one way, and if it is not, it parses it (inco

Re: LC8 (dp7) - pretty darn good

2015-10-16 Thread Peter Haworth
I've been using LC8 quite a bit recently in connection with adding support for widgets in lcstackbrowser. No experience using it for mobile platform but it seems to behave itself quite well on OSX, except. I've had a number of issues when running in debug mode. Red dot breakpoints don't alwa

uncrufting a stack file?

2015-10-16 Thread Dr. Hawkins
Is there any good way to "uncruft" a stack file? I'm thinking in terms of a script that copies pieces from the old stack file to a new file, while somehow keeping the references such as behaviors intact. I am increasingly convinced that there is an evil accumulation of something or another that h

Starting off with LC & Raspberry Pi's

2015-10-16 Thread Earp Robert J.
I’ve been tinkering with my grandkids of late getting them going on basic electronics (H/W) and mousing around with rudimentary programming. I guess I should have thought at the start that the two would get together at some point, but at the beginning it was a case of explaining the fundamental

Re: Starting off with LC & Raspberry Pi's

2015-10-16 Thread Roger Eller
There was a man at the LiveCode LIVE14 conference that brought his pi, and was doing sessions on the subject. I'm sorry but I don't have his name or any contact details. Maybe others who attended might remember. On Oct 16, 2015 1:28 PM, "Earp Robert J." wrote: > I’ve been tinkering with my gran

Re: uncrufting a stack file?

2015-10-16 Thread Geoff Canyon
Any of the various "export this stack as XML/JSON/whatever then reconstitute the stack from same" scripts that have been released over the years would be one way to do this. gc On Fri, Oct 16, 2015 at 1:16 PM, Dr. Hawkins wrote: > Is there any good way to "uncruft" a stack file? > > I'm thinkin

Re: function for greatest object in list less than or equal to a value

2015-10-16 Thread dunbarx
Geoff. My original post: on mouseUp answer findItemLessThanIndex(fld 1,"5") end mouseUp function findItemLessThanIndex tData,tIndex put comma & tIndex after tData sort items of tData numeric return item itemOffset("5",tData) -1 of tData end findItemLessThanIndex Craig

Re: function for greatest object in list less than or equal to a value

2015-10-16 Thread Geoff Canyon
On Fri, Oct 16, 2015 at 2:02 PM, wrote: > Geoff. > > > My original post: > > > > on mouseUp > answer findItemLessThanIndex(fld 1,"5") > end mouseUp > > function findItemLessThanIndex tData,tIndex >put comma & tIndex after tData >sort items of tData numeric >return item itemOffset("

Re: uncrufting a stack file?

2015-10-16 Thread tbodine
Hi, Not sure of your platform or LC version, but perhaps this is relevant: I went through a period of chronic crashes while saving work on a large project that originated two years ago in LC 5.5 and is now in LC 7.1. The crashes were happening on Win 7, LC 7.x (pre 7.1). What helped reduce, but no

Re: Starting off with LC & Raspberry Pi's

2015-10-16 Thread Michael Doub
Earp, Take a look at the Raspberry Pi routines in the MasterLibrary. https://www.dropbox.com/s/4uawi24k2gdwa3q/MasterLibrary.txt?dl=0 There are some I/O routines there. -= Mike On 10/16/15 1:27 PM, Earp Robert J. wrote: I’ve been tinkering with my grandkids of late getting them going on b

Re: Starting off with LC & Raspberry Pi's

2015-10-16 Thread Paul Hibbert
I currently have a LC app running on a RPi connected to an Arduino Uno that controls my Mitsubishi Heat Pump with pre-programmed IR signals. It took a lot of learning to to make it work and during this time I found it was easier to build the IR controller on Arduino due to some restrictions with

Re: Clipboard problem with Word and LC

2015-10-16 Thread J. Landman Gay
On 10/16/2015 12:19 AM, Charles Szasz wrote: I have been struggling with a font/clipboard problem for four days. The following script works great on the Mac (Yosemite) and LC 5.5.5 placing text from a field “preview” onto to a clipboard and then pasted into a word processing document. The type of

Arrays and TextEncode/Decode

2015-10-16 Thread Peter Haworth
I have an array that can contain Unicode characters in either it's keys or key values. I arrayEncode the array and write out to a file. Should I textEncode the keys/values before arrayEncoding the array and then textDecode the keys/values when reading it back in and arrayDecoding it? Pete lcSQL S

Calendar widget?

2015-10-16 Thread William Prothero
I’d like to put in a vote for a calendar widget. I’m programming a calendar popup with datagrid, but it seems a calendar and time picking widget would be generally very useful. Best, Bill William A. Prothero http://es.earthednet.org/ ___ use-liveco

Re: Release: 6.7.8 RC 1 / 7.1.1 RC 1

2015-10-16 Thread Stephen MacLean
I am only seeing the iOS 9.0 Simulator as a target, even though I have all the 8.x simulators installed… xCode 7.0.1 Is this as expected? Best, Steve MacLean > On Oct 15, 2015, at 10:58 AM, Sebastien Nouat > wrote: > > Dear List Members, > > We are pleased to announce the release of LiveC

Re: Arrays and TextEncode/Decode

2015-10-16 Thread Monte Goulding
> On 17 Oct 2015, at 6:03 am, Peter Haworth wrote: > > I have an array that can contain Unicode characters in either it's keys or > key values. I arrayEncode the array and write out to a file. > > Should I textEncode the keys/values before arrayEncoding the array and then > textDecode the keys/

Re: Clipboard problem with Word and LC

2015-10-16 Thread Charles Szasz
Jacque, This clipboard problem also occurs with Microsoft Word on Windows 8. And, paste special in both Open Office and Word does not change the results of pasting into a document on Windows XP and 8. Sent from my iPad ___ use-livecode mailing list

Re: Arrays and TextEncode/Decode

2015-10-16 Thread Peter Haworth
Thanks for reminding me of the different arrayEncode methods in LC 7 and LC prior to 7. Fortunately, this code will only be executed in LC7+, actually only LC8+ so I'm OK with the array encoding. I'm just not sure about the Unicode aspects of this though. Normally, it seems to be the rule that yo

Re: Arrays and TextEncode/Decode

2015-10-16 Thread Monte Goulding
> On 17 Oct 2015, at 6:34 am, Peter Haworth wrote: > > Normally, it > seems to be the rule that you should textEncode data when writing it out to > a file and textDecode it when reading it in from a file. Is that still the > case when the data is arrayEncoded? arrayEncode|Decode packs and unpa

Sockets

2015-10-16 Thread Eric Corbett
I’ve read all the documentation and posts I can find and something still confuses me about sockets… Server computer accept connections on port 12345 with message “readSocket” Client opens socket IP:12345 Client writes to socket IP:12345 Server reads message from client: on readSocket p

Re: CSV again.

2015-10-16 Thread Bob Sneidar
The force is strong with this one. Bob S On Oct 16, 2015, at 09:19 , Mike Kerner mailto:mikeker...@roadrunner.com>> wrote: No, the problem isn't that LC use LF and CR for ascii(10) and ignores ascii(13). That's just a personal problem. The problem, here, is that the csv parser handles a nake

Re: uncrufting a stack file?

2015-10-16 Thread Bob Sneidar
At that point I would consider backing up all your data, buying a new hard drive and starting from scratch with a new OS. Bob S > On Oct 16, 2015, at 10:16 , Dr. Hawkins wrote: > > Is there any good way to "uncruft" a stack file? > > I'm thinking in terms of a script that copies pieces from

Re: Arrays and TextEncode/Decode

2015-10-16 Thread Bob Sneidar
Wouldn't hurt to textEncode/Decode. As long as you are writing our binary it shouldn't matter either way. Bob S On Oct 16, 2015, at 12:34 , Peter Haworth mailto:p...@lcsql.com>> wrote: Thanks for reminding me of the different arrayEncode methods in LC 7 and LC prior to 7. Fortunately, this co

Re: CSV again.

2015-10-16 Thread Alex Tweedly
It's likely (but of course not 100% guaranteed) that those characters have themselves been manipulated in a consistent way by either LC or any other subsystem - i.e. auto-translated or not. Anyone who chooses to use those as genuinely different characters within quoted cells *deserves* to have

Re: Sockets

2015-10-16 Thread Bob Sneidar
use open socket then read from socket with message [callbackmessage]. In your [callback message] handler the it variable will contain the read data. If you don't use the with message form, you run the risk of exceeding the time set in the socketTimeoutInterval, at which point it will return the

Re: CSV again.

2015-10-16 Thread Alex Tweedly
Sorry, Mike, but can you describe what you mean by a "naked" line ? Is it simply one with no line delimiter after it ? i.e. could only happen on the very last line of a file of input ? Could that be solved by a simple test (after the various 'replace' statements) if the last char of pData <

Re: CSV again.

2015-10-16 Thread Alex Tweedly
Duh - replying to myself again :-) It looks as though that's exactly what you do mean - it certainly generates the problems you described earlier. And my one-line additional test would (does in my testing) solve it properly - without it, we don't get a chance to flush "theInsideStringSoFar" to

Re: Sockets

2015-10-16 Thread Dr. Hawkins
On Fri, Oct 16, 2015 at 1:44 PM, Eric Corbett wrote: > Bonus: How do I use the "|[connection id]”? I use an id for open socket > and write to, but the address from the readSocket callback does not contain > an ID. Is this a bug? I use write to… with message… and this handler has > the ID as part

Re: uncrufting a stack file?

2015-10-16 Thread Dr. Hawkins
On Fri, Oct 16, 2015 at 2:54 PM, Bob Sneidar wrote: > At that point I would consider backing up all your data, buying a new hard > drive and starting from scratch with a new OS. Tempting, but . . . This is happening identically, with the same size (3.3mb) partial save file, on a MacBook Pro re

Re: Sockets

2015-10-16 Thread Eric Corbett
Thanks Bob, but it doesn’t quite help. I can use sockets, just not sure how to talk back and forth without having both devices acting like a server. Thanks Dr. Hawkins, I’ll look that up. Does your code have both computers doing an “accept connection on port …”? And is the port different on each

Re: CSV again.

2015-10-16 Thread Mike Kerner
It's safe as long as you remember to remove it at the end of the function On Fri, Oct 16, 2015 at 7:12 PM, Alex Tweedly wrote: > Duh - replying to myself again :-) > > It looks as though that's exactly what you do mean - it certainly > generates the problems you described earlier. And my one-lin

Re: Starting off with LC & Raspberry Pi's

2015-10-16 Thread Mark Wieder
On 10/16/2015 11:31 AM, Paul Hibbert wrote: Q. LC v6.5.1seems to be the latest version of LC that will run on the Pi, which is fine, but is there any likelihood of future releases being made ? As far as I know there is, the LC team have all been pretty busy lately and much of the RPi work wa

Re: Starting off with LC & Raspberry Pi's

2015-10-16 Thread Mark Wieder
On 10/16/2015 10:27 AM, Earp Robert J. wrote: Q. Is there is a better/more appropriate list, than this one, for the subject of LC and Raspberry Pi’s ? Yeah, unfortunately it's the web forum. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode m

Re: Sockets

2015-10-16 Thread Dr. Hawkins
On Fri, Oct 16, 2015 at 5:09 PM, Eric Corbett wrote: > Thanks Dr. Hawkins, I’ll look that up. Does your code have both computers > doing an “accept connection on port …”? And is the port different on each > computer or the same? Maybe I’ll have my answer from a code audit. > Master accepts the c

Looking for SVG Test files

2015-10-16 Thread Alejandro Tejada
Hi All, I have almost complete a rustic parser for SVG gradients, build on top of Ian Macphail's SVGL: http://livecodeshare.runrev.com/stack/112/SVGL For now, this rustic parser just works with Inkscape Optimized SVGs... but I want to know about other kinds of files produced by SVG Editors that y

Re: Looking for SVG Test files

2015-10-16 Thread Richmond
On 17/10/15 07:03, Alejandro Tejada wrote: Hi All, I have almost complete a rustic parser for SVG gradients, build on top of Ian Macphail's SVGL: http://livecodeshare.runrev.com/stack/112/SVGL For now, this rustic parser just works with Inkscape Optimized SVGs... but I want to know about other