From gcanyon at gmail.com Sat Nov 1 00:32:51 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 31 Oct 2014 23:32:51 -0500 Subject: (Arbitrarily) Long-Division Script In-Reply-To: <3F774EA0-2ADD-48B1-A5AF-6D3D57BBB57B@semperuna.com> References: <3F774EA0-2ADD-48B1-A5AF-6D3D57BBB57B@semperuna.com> Message-ID: I've created similar routines in the past. Are you saying you do or don't want to allow for arbitrarily-large divisors? a pseudo-code algo for divisors that LC can handle: 1. remove the decimal points, remembering where they were 2. get the length of the divisor 3. grab that many characters from the dividend as the working dividend 4. if the working dividend is larger than the divisor, divide it by the divisor to find the quotient and remainder (new working dividend) and put the quotient after the final quotient 5. put the next character from the dividend after the working dividend and return to (4) until you run out of dividend 6. figure out where the decimal point goes and insert it for divisors that LC can't handle, (4) becomes: 4. if the working dividend is larger than the divisor, use your bignum subtraction to repeatedly subtract the divisor from the working dividend to find the quotient and remainder (new working dividend) and put the quotient after the final quotient On Thu, Oct 30, 2014 at 7:51 PM, Igor de Oliveira Couto wrote: > Hi all, > > I wanted to develop a library to allow me to perform basic maths (add, > subtract, multiply, divide) with arbitrarily long numbers in LiveCode. My > requirements are simple: > > - integers and floating-point numbers must be supported as all operands in > all operations, to an arbitrarily large number of decimal cases > > - speed is NOT an issue: performances can safely be relatively slow, as it > is unlikely that it?ll need to perform hundreds of thousands of operations > per second > > - accuracy IS an issue: needless to say, all operations must provide > *accurate* and *reliable* results, regardless of how many decimal cases are > used > > It proved relatively easy to do the addition, multiplication and > subtraction operations in LiveCode. I followed the ?pen-and-paper? > algorithm, and it all seems to be working really well - I?m happy to > provide anybody with a copy of the scripts off-list, if you wish (just send > me an email directly). I?m stuck, however, trying to implement DIVISION. > There does not seem to be an ?easy? pen-and-paper algorithm that would > support arbitrarily large numbers with unknown number of decimal cases. > > Most long-division algorithm seems to expect that the number being divided > can be of an arbitrarily length, but they expect that the divisor (the > number we are dividing BY) is going to be low enough, so that the person > making the division will ?know? instinctively how many times it would ?fit? > into the number being divided. These algorithms are not recommended once we > start dealing with divisor of 3 digits or more. There does not seem to be > an algorithm that would allow us to procede ?digit-by-digit? with the > division, as can be done with addition/subtraction/multiplication? Or is > there? > > Searching Google and Wikipedia has yielded articles about using bitwise > operations, or complex mathematical theory, both of which are beyond me. Is > there a Math Wiz in this list, who could give us a layman?s explantion of > an algorithm that could be used? Any help would be much appreciated! > > Kindest regards to all, > > -- > Igor Couto > Sydney, Australia > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sat Nov 1 00:34:25 2014 From: coiin at verizon.net (Colin Holgate) Date: Sat, 01 Nov 2014 00:34:25 -0400 Subject: Hmmm... In-Reply-To: <54540DFF.3020109@fourthworld.com> References: <8D1C36C8C297DDA-11B0-26DCB@webmail-vd002.sysops.aol.com> <54540DFF.3020109@fourthworld.com> Message-ID: <872C79F5-DE7C-4160-89FD-593C6A375109@verizon.net> In the early days of multimedia it helped if you were Bill, Dan, or Bob. You gave some examples for Bill and Dan (and there?s Dan Winkler). On the Bob side there was Bob Stein and Bob Abel. I met those two for the first time together, and to save confusion we called Bob Stein ?Bob? and Bob Abel ?Robert?. From gcanyon at gmail.com Sat Nov 1 00:35:47 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 31 Oct 2014 23:35:47 -0500 Subject: (Arbitrarily) Long-Division Script In-Reply-To: References: <3F774EA0-2ADD-48B1-A5AF-6D3D57BBB57B@semperuna.com> Message-ID: FYI, here's my original bignum multiplier: function bigTimes X,Y if char 1 of X is "-" then put "-" into leadChar delete char 1 of X end if if char 1 of Y is "-" then if leadChar is "-" then put empty into leadChar else put "-" into leadChar delete char 1 of Y end if put (3 + length(X)) div 4 * 4 into XL put char 1 to XL - length(X) of "000" before X put (3 + length(Y)) div 4 * 4 into YL put char 1 to YL - length(y) of "000" before y repeat with N = XL + YL down to 9 step -4 repeat with M = max(4,N - YL) to min(XL,N - 4) step 4 add (char M - 3 to M of X) * (char N - M - 3 to N - M of Y) to S end repeat put char -4 to -1 of S before R delete char -4 to -1 of S end repeat if S is 0 then put empty into S return leadChar & S & R end bigTimes On Fri, Oct 31, 2014 at 11:32 PM, Geoff Canyon wrote: > I've created similar routines in the past. Are you saying you do or don't > want to allow for arbitrarily-large divisors? > > a pseudo-code algo for divisors that LC can handle: > > 1. remove the decimal points, remembering where they were > 2. get the length of the divisor > 3. grab that many characters from the dividend as the working dividend > 4. if the working dividend is larger than the divisor, divide it by the > divisor to find the quotient and remainder (new working dividend) and put > the quotient after the final quotient > 5. put the next character from the dividend after the working dividend and > return to (4) until you run out of dividend > 6. figure out where the decimal point goes and insert it > > for divisors that LC can't handle, (4) becomes: > > 4. if the working dividend is larger than the divisor, use your bignum > subtraction to repeatedly subtract the divisor from the working dividend to > find the quotient and remainder (new working dividend) and put the quotient > after the final quotient > > > On Thu, Oct 30, 2014 at 7:51 PM, Igor de Oliveira Couto < > igor at semperuna.com> wrote: > >> Hi all, >> >> I wanted to develop a library to allow me to perform basic maths (add, >> subtract, multiply, divide) with arbitrarily long numbers in LiveCode. My >> requirements are simple: >> >> - integers and floating-point numbers must be supported as all operands >> in all operations, to an arbitrarily large number of decimal cases >> >> - speed is NOT an issue: performances can safely be relatively slow, as >> it is unlikely that it?ll need to perform hundreds of thousands of >> operations per second >> >> - accuracy IS an issue: needless to say, all operations must provide >> *accurate* and *reliable* results, regardless of how many decimal cases are >> used >> >> It proved relatively easy to do the addition, multiplication and >> subtraction operations in LiveCode. I followed the ?pen-and-paper? >> algorithm, and it all seems to be working really well - I?m happy to >> provide anybody with a copy of the scripts off-list, if you wish (just send >> me an email directly). I?m stuck, however, trying to implement DIVISION. >> There does not seem to be an ?easy? pen-and-paper algorithm that would >> support arbitrarily large numbers with unknown number of decimal cases. >> >> Most long-division algorithm seems to expect that the number being >> divided can be of an arbitrarily length, but they expect that the divisor >> (the number we are dividing BY) is going to be low enough, so that the >> person making the division will ?know? instinctively how many times it >> would ?fit? into the number being divided. These algorithms are not >> recommended once we start dealing with divisor of 3 digits or more. There >> does not seem to be an algorithm that would allow us to procede >> ?digit-by-digit? with the division, as can be done with >> addition/subtraction/multiplication? Or is there? >> >> Searching Google and Wikipedia has yielded articles about using bitwise >> operations, or complex mathematical theory, both of which are beyond me. Is >> there a Math Wiz in this list, who could give us a layman?s explantion of >> an algorithm that could be used? Any help would be much appreciated! >> >> Kindest regards to all, >> >> -- >> Igor Couto >> Sydney, Australia >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > From bogus@does.not.exist.com Sat Nov 1 10:13:18 2014 From: bogus@does.not.exist.com () Date: Sat, 01 Nov 2014 14:13:18 -0000 Subject: No subject Message-ID: From jacques.hausser at unil.ch Sat Nov 1 06:06:05 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 1 Nov 2014 11:06:05 +0100 Subject: 6.7.1 RC1 uncomment In-Reply-To: References: <46C780B3-17D1-4820-B6C3-899A1C1CA241@btinternet.com> Message-ID: <40BFD99A-C6AA-4AB1-8E97-7137D1C849AA@unil.ch> Sorry, I was not on the good version of LiveCode - I can confirm. The shortcut for uncomment doesn?t work (except it highlights the menu) Jacques > Le 1 nov. 2014 ? 10:41, Jacques Hausser a ?crit : > > Hi Terry, > > It works without problems here (I-Mac 2012, Yosemite) > > Jacques > >> Le 1 nov. 2014 ? 10:28, Terence Heaford a ?crit : >> >> I have just been editing/commenting/uncommenting a script and the uncomment shortcut does not seem to work (command_) on my Mac. >> >> The menu highlights in the menubar but nothing happens in the script. >> >> Can someone please verify this please. >> >> I am using Yosemite. >> >> >> >> All the best >> >> Terry >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From ffgrohmann at gmail.com Sat Nov 1 06:18:48 2014 From: ffgrohmann at gmail.com (Friedrich F. Grohmann) Date: Sat, 1 Nov 2014 18:18:48 +0800 Subject: card id not valid In-Reply-To: <007f01cff5b6$9e4097c0$dac1c740$@FlexibleLearning.com> References: <007f01cff5b6$9e4097c0$dac1c740$@FlexibleLearning.com> Message-ID: Thanks for your response. So far, indeed, I've reshuffled the cards by setting the number and never had a problem. This strange situation arose when I wrote a script to move a larger number of cards to the end of the stack and then tried to reconnect the moved cards by their new ids to a button script. The really weird part is that in a number of cases it works more or less, but for other cards the id shown in the card inspector is not recognized at all. I have copies of the stack, so not everything is lost, but I just wonder how such a scenario is possible and whether the situation could be remedied. Thanks, Fritz On Sat, Nov 1, 2014 at 5:31 PM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > Sounds peculiar, unless the defaultStack has changed. > > Rather copy and paste to re-order the cards, have you tried setting the > number of the card instead? This will retain the original card ID for > continued navigation by ID. > > Hugh Senior > FLCo > > > Friedrich F. Grohmann wrote > > I've run into a strange problem with a stack. After changing the order of a > few cards (by way of copy/paste) a number of the involved cards will not > respond to "go card id xxx". The card inspector clearly indicates both name > and number of those cards. However, if I try to proceed to the card by its > id, the message box tells me "No such card". If it's "go cd yyy" and yyy is > the number of the card, no problem. > > I'm working with Livecode 5.5.4 and the stack involved has served me for a > number of years so I don't think it is a problem of the version itself. > > Any suggestion how this could be solved? > > Thanks, > Fritz > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacques.hausser at unil.ch Sat Nov 1 07:07:56 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 1 Nov 2014 12:07:56 +0100 Subject: 6.7.1 RC1 uncomment In-Reply-To: <40BFD99A-C6AA-4AB1-8E97-7137D1C849AA@unil.ch> References: <46C780B3-17D1-4820-B6C3-899A1C1CA241@btinternet.com> <40BFD99A-C6AA-4AB1-8E97-7137D1C849AA@unil.ch> Message-ID: Eh, it?s worse ! Several shortcuts don?t work - or work only the first time: e.g. command-E, command-K, command-0, command-9? and it?s the same with 7.0.1 Somebody already posted a bug report (13836). > Le 1 nov. 2014 ? 11:06, Jacques Hausser a ?crit : > > Sorry, I was not on the good version of LiveCode - I can confirm. The shortcut for uncomment doesn?t work (except it highlights the menu) > > Jacques > >> Le 1 nov. 2014 ? 10:41, Jacques Hausser a ?crit : >> >> Hi Terry, >> >> It works without problems here (I-Mac 2012, Yosemite) >> >> Jacques >> >>> Le 1 nov. 2014 ? 10:28, Terence Heaford a ?crit : >>> >>> I have just been editing/commenting/uncommenting a script and the uncomment shortcut does not seem to work (command_) on my Mac. >>> >>> The menu highlights in the menubar but nothing happens in the script. >>> >>> Can someone please verify this please. >>> >>> I am using Yosemite. >>> >>> >>> >>> All the best >>> >>> Terry >>> From effendi at wanadoo.fr Sat Nov 1 08:34:53 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 1 Nov 2014 13:34:53 +0100 Subject: Card ID not valid Message-ID: <55C8073D-0F95-4763-8665-8C15FC192676@wanadoo.fr> Hi from Beautiful Brittany, After more than 15 years with Hypercard and more than 10 with LiveCode, I have NEVER used the reference Card ID. If I want to sort my cards (in dozens and dozens) of my data stacks, I have a field in each card which is an ID which I use to control card positioning my stack. I don?t even know the rules governing Card ID numbering, and ?cos I have no control over it, I don?t use it. Never had any problems !! Just trash the idea of Card ID and go to a mechanism you can control 100%. My 2 centimes ??. -Francis From admin at FlexibleLearning.com Sat Nov 1 09:20:59 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 1 Nov 2014 13:20:59 -0000 Subject: card id not valid Message-ID: <000101cff5d6$ae77b180$0b671480$@FlexibleLearning.com> I can only suggest the obvious... - Double-check the id against the inspector using the message box: "put the id of this cd", "put there is a cd id [xxxx]" etc - Re-launch LC in case of digital indigestion - Revert to backup and move the cards using number rather than cut/paste - Worst case scenario, manually set re-set the card ids using "set the id of this cd to xxxx", but can be error prone without extreme caution! At least you have a backup so not all is lost, which is good. Hugh Senior FLCo Friedrich F. Grohmann wrote: Thanks for your response. So far, indeed, I've reshuffled the cards by setting the number and never had a problem. This strange situation arose when I wrote a script to move a larger number of cards to the end of the stack and then tried to reconnect the moved cards by their new ids to a button script. The really weird part is that in a number of cases it works more or less, but for other cards the id shown in the card inspector is not recognized at all. I have copies of the stack, so not everything is lost, but I just wonder how such a scenario is possible and whether the situation could be remedied. Thanks, Fritz On Sat, Nov 1, 2014 at 5:31 PM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > Sounds peculiar, unless the defaultStack has changed. > > Rather copy and paste to re-order the cards, have you tried setting > the number of the card instead? This will retain the original card ID > for continued navigation by ID. > > Hugh Senior > FLCo From t.heaford at btinternet.com Sat Nov 1 09:48:28 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 1 Nov 2014 13:48:28 +0000 Subject: 6.7.1 RC1 uncomment In-Reply-To: References: <46C780B3-17D1-4820-B6C3-899A1C1CA241@btinternet.com> <40BFD99A-C6AA-4AB1-8E97-7137D1C849AA@unil.ch> Message-ID: Thanks All the best Terry > On 01 Nov 2014, at 11:07, Jacques Hausser wrote: > > Eh, it?s worse ! > Several shortcuts don?t work - or work only the first time: e.g. command-E, command-K, command-0, command-9? and it?s the same with 7.0.1 > Somebody already posted a bug report (13836). > > >> Le 1 nov. 2014 ? 11:06, Jacques Hausser a ?crit : >> >> Sorry, I was not on the good version of LiveCode - I can confirm. The shortcut for uncomment doesn?t work (except it highlights the menu) >> >> Jacques >> >>> Le 1 nov. 2014 ? 10:41, Jacques Hausser a ?crit : >>> >>> Hi Terry, >>> >>> It works without problems here (I-Mac 2012, Yosemite) >>> >>> Jacques >>> >>>> Le 1 nov. 2014 ? 10:28, Terence Heaford a ?crit : >>>> >>>> I have just been editing/commenting/uncommenting a script and the uncomment shortcut does not seem to work (command_) on my Mac. >>>> >>>> The menu highlights in the menubar but nothing happens in the script. >>>> >>>> Can someone please verify this please. >>>> >>>> I am using Yosemite. >>>> >>>> >>>> >>>> All the best >>>> >>>> Terry >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Sat Nov 1 10:01:23 2014 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 1 Nov 2014 14:01:23 +0000 Subject: Hmmm... In-Reply-To: <5453EB2F.6010005@fourthworld.com> References: <5453EB2F.6010005@fourthworld.com> Message-ID: Such discussions crop up on Hacker News every year or so. They lament the passing of Hypercard; then show no interest in hearing that Metacard/Livecode carried on that tradition, with a living product for the past 22 years. It is very odd. I've given up commenting on such discussions. Bernard On Fri, Oct 31, 2014 at 8:03 PM, Richard Gaskin wrote: > Anyone else stumble across this recent discussion looking for something > akin to "The HyperCard Legacy"? > > > > Nice to see some LiveCode comments there. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Sat Nov 1 10:20:22 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 01 Nov 2014 15:20:22 +0100 Subject: card id not valid In-Reply-To: References: <007f01cff5b6$9e4097c0$dac1c740$@FlexibleLearning.com> Message-ID: <0C490D5B-AFBC-43A2-8240-1B7E26257FD0@mac.com> The Inspector does not show the ID of cards by default, it only pretends to do it, by using "card id xxxx" as default name. If you change the name, you can see the "real" id appear on top of the inspector window. This is done in the IDE with a script and might possibly be confused in your case (that'd be an IDE bug). But maybe you are simply looking at the name of the Card, but assume it's actually the ID, when it isn't anymore? Relevant here is that the card ID can be set by script (but no one should ever do that, it's only meant for people who want to recreate stacks from scratch, that's also why it's not documented). So maybe you accidentally change the ID instead of the layer of the card in your script? Try this in the multi line message box, or a button, to see the real ID's of your cards, independent of weird IDE behaviours and other, similar pitfalls: repeat with x = 1 to the number of cards put the ID of card x & cr after theResult end repeat put theResult On 01 Nov 2014, at 11:18, Friedrich F. Grohmann wrote: > Thanks for your response. > > So far, indeed, I've reshuffled the cards by setting the number and never > had a problem. This strange situation arose when I wrote a script to move a > larger number of cards to the end of the stack and then tried to reconnect > the moved cards by their new ids to a button script. The really weird part > is that in a number of cases it works more or less, but for other cards the > id shown in the card inspector is not recognized at all. > > I have copies of the stack, so not everything is lost, but I just wonder > how such a scenario is possible and whether the situation could be > remedied. > > Thanks, > Fritz > > > > On Sat, Nov 1, 2014 at 5:31 PM, FlexibleLearning.com < > admin at flexiblelearning.com> wrote: > >> Sounds peculiar, unless the defaultStack has changed. >> >> Rather copy and paste to re-order the cards, have you tried setting the >> number of the card instead? This will retain the original card ID for >> continued navigation by ID. >> >> Hugh Senior >> FLCo >> >> >> Friedrich F. Grohmann wrote >> >> I've run into a strange problem with a stack. After changing the order of a >> few cards (by way of copy/paste) a number of the involved cards will not >> respond to "go card id xxx". The card inspector clearly indicates both name >> and number of those cards. However, if I try to proceed to the card by its >> id, the message box tells me "No such card". If it's "go cd yyy" and yyy is >> the number of the card, no problem. >> >> I'm working with Livecode 5.5.4 and the stack involved has served me for a >> number of years so I don't think it is a problem of the version itself. >> >> Any suggestion how this could be solved? >> >> Thanks, >> Fritz >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Nov 1 11:12:25 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Nov 2014 08:12:25 -0700 Subject: Hmmm... In-Reply-To: References: <5453EB2F.6010005@fourthworld.com> <5453EF92.5050600@gmail.com> Message-ID: On Fri, Oct 31, 2014 at 3:34 PM, Bob Sneidar wrote: > Agreed, but Supercard suffered from early instability and general > interface kludginess. I was a Supercard guy for a long time, but got > sidetracked with other things. Still, I was stifled by the same issue I had > with Hypercard: I wanted to create databases of many thousands of records, > and there was no good way to do that without XCMD?s that turned out to be > too unreliable for commercial use. > I used (and still have!) 1.5. I used no externals or XCMDS. My datasets were small enough that they just hung around in the cards. This time around, it only looks like that, as I'm using databases. The downside was that I made a new stack for each client by duplicating the most recent, so changes/improvements didn't affect earlier cases . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ffgrohmann at gmail.com Sat Nov 1 12:27:51 2014 From: ffgrohmann at gmail.com (Friedrich F. Grohmann) Date: Sun, 2 Nov 2014 00:27:51 +0800 Subject: card id not valid In-Reply-To: <0C490D5B-AFBC-43A2-8240-1B7E26257FD0@mac.com> References: <007f01cff5b6$9e4097c0$dac1c740$@FlexibleLearning.com> <0C490D5B-AFBC-43A2-8240-1B7E26257FD0@mac.com> Message-ID: Thanks to all kind souls who responded. Bj?rnke's explanation helped a lot and, indeed, I assumed the displayed name was actually the ID since so far it never failed me. Again, thanks a lot. Best, Fritz On Sat, Nov 1, 2014 at 10:20 PM, Bj?rnke von Gierke wrote: > The Inspector does not show the ID of cards by default, it only pretends > to do it, by using "card id xxxx" as default name. If you change the name, > you can see the "real" id appear on top of the inspector window. This is > done in the IDE with a script and might possibly be confused in your case > (that'd be an IDE bug). But maybe you are simply looking at the name of the > Card, but assume it's actually the ID, when it isn't anymore? > > Relevant here is that the card ID can be set by script (but no one should > ever do that, it's only meant for people who want to recreate stacks from > scratch, that's also why it's not documented). So maybe you accidentally > change the ID instead of the layer of the card in your script? > > Try this in the multi line message box, or a button, to see the real ID's > of your cards, independent of weird IDE behaviours and other, similar > pitfalls: > > repeat with x = 1 to the number of cards > put the ID of card x & cr after theResult > end repeat > put theResult > > > On 01 Nov 2014, at 11:18, Friedrich F. Grohmann > wrote: > > > Thanks for your response. > > > > So far, indeed, I've reshuffled the cards by setting the number and never > > had a problem. This strange situation arose when I wrote a script to > move a > > larger number of cards to the end of the stack and then tried to > reconnect > > the moved cards by their new ids to a button script. The really weird > part > > is that in a number of cases it works more or less, but for other cards > the > > id shown in the card inspector is not recognized at all. > > > > I have copies of the stack, so not everything is lost, but I just wonder > > how such a scenario is possible and whether the situation could be > > remedied. > > > > Thanks, > > Fritz > > > > > > > > On Sat, Nov 1, 2014 at 5:31 PM, FlexibleLearning.com < > > admin at flexiblelearning.com> wrote: > > > >> Sounds peculiar, unless the defaultStack has changed. > >> > >> Rather copy and paste to re-order the cards, have you tried setting the > >> number of the card instead? This will retain the original card ID for > >> continued navigation by ID. > >> > >> Hugh Senior > >> FLCo > >> > >> > >> Friedrich F. Grohmann wrote > >> > >> I've run into a strange problem with a stack. After changing the order > of a > >> few cards (by way of copy/paste) a number of the involved cards will not > >> respond to "go card id xxx". The card inspector clearly indicates both > name > >> and number of those cards. However, if I try to proceed to the card by > its > >> id, the message box tells me "No such card". If it's "go cd yyy" and > yyy is > >> the number of the card, no problem. > >> > >> I'm working with Livecode 5.5.4 and the stack involved has served me > for a > >> number of years so I don't think it is a problem of the version itself. > >> > >> Any suggestion how this could be solved? > >> > >> Thanks, > >> Fritz > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Nov 1 13:32:36 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Nov 2014 10:32:36 -0700 Subject: are all of the 7 releaces/rc this buggy??? Message-ID: I've once again ventured into a newer version of livecode, and once again am being hit by arbitrary changes/missing parts. I re-enabled the code to allow pixelscaling (which took doing, as I'm on a mac/Yosemite, and the key command to uncomment doesn't work), only to be greeted with the message, stack "mcp": execution error at line 10046 (pixelScale: the pixelScale property cannot be set on this platform), char 26 Really? Hmm, cmd-m to get the message box back doesn't work properly, either. Coming from 5.5, the IDE's performance can best be described as a slug. Constant visually noticeable waits while it redraws the red dots? I understand the desire to have more of the system in livecode itself, but performance has to count for *something!* And I'm constantly ending up with open tabs in the editor for interface elements, such as (at the moment) Button "File" and Field "Entry" (and I don't even know what the latter even means!) And now the editor itself seems to have crashed. No, wait. It's just that livecode is ignoring input. It doesn't show as unresponive in the force-quit window, and the finder can still bring a window to the front when clicked upon, but it's dead. This is dp- grade, not rc-, let alone an actual release. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Nov 1 13:34:48 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 01 Nov 2014 10:34:48 -0700 Subject: Recipe for errant menu hilite? Message-ID: <545519B8.8070402@fourthworld.com> I have an app in which after calling any modal dialog from a menu (ask, answer, or custom), when the dialog is done the menu remains hilited. This is only on Mac, and I've only seen this in v6.7 and later. Problem is that this is a complex app so it's unsuitable for a bug report, and I've been unable to make an isolated test stack that reproduces it. Anyone else here seen menus remain hilited after the command they triggered has completed? If so let's compare notes so we can get this addressed in v6.7.1. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Nov 1 13:54:13 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 01 Nov 2014 10:54:13 -0700 Subject: Progress info from wget or curl? Message-ID: <54551E45.4080505@fourthworld.com> When using shell to call something like wget or curl, normally we just get the final output, so if those programs provide any progress feedback when run in Terminal it's lost on us. But it would be really nice to be able to get that info - anyone here know a way? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Sat Nov 1 15:46:03 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 1 Nov 2014 12:46:03 -0700 Subject: stack property editor "drifted" in 7.0.1-rc1 Message-ID: Upon reopening a stack property editor, the body had "drifted". (to a negative vertical value relative to the window) On clicking a surviving box, it popped up the popup well above the window: http://dochawk.org/badStackDialog.png -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Nov 1 15:54:54 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 01 Nov 2014 12:54:54 -0700 Subject: stack property editor "drifted" in 7.0.1-rc1 In-Reply-To: References: Message-ID: <54553A8E.3020204@fourthworld.com> http://quality.runrev.com/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pmbrig at gmail.com Sat Nov 1 17:40:50 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 1 Nov 2014 17:40:50 -0400 Subject: card id not valid In-Reply-To: References: Message-ID: <0F565C52-EBB0-42DB-A34A-1C658E7DC06F@gmail.com> On Nov 1, 2014, at 5:13 AM, Friedrich F. Grohmann wrote: > I've run into a strange problem with a stack. After changing the order of a > few cards (by way of copy/paste) a number of the involved cards will not > respond to "go card id xxx". The card inspector clearly indicates both name > and number of those cards. However, if I try to proceed to the card by its > id, the message box tells me "No such card". If it's "go cd yyy" and yyy is > the number of the card, no problem. > > I'm working with Livecode 5.5.4 and the stack involved has served me for a > number of years so I don't think it is a problem of the version itself. > > Any suggestion how this could be solved? I may be mistaken but I believe when you paste a card, or any control in fact, it gets given a new ID. You'll have to refer to the card by name. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From todd at geistinteractive.com Sat Nov 1 19:34:00 2014 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 1 Nov 2014 16:34:00 -0700 Subject: text has moved in standalones Message-ID: Hello, Why are my text labels not in the same place after I build a standalone. It seems like they all move slightly. Whats the trick? Thanks Todd From dunbarx at aol.com Sat Nov 1 19:43:40 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 1 Nov 2014 19:43:40 -0400 Subject: text has moved in standalones In-Reply-To: References: Message-ID: <8D1C444CC837FF6-3118-35822@webmail-m293.sysops.aol.com> Hi. Do you mean the loc has changed? Only label fields? Craig Newman -----Original Message----- From: Todd Geist To: use-revolution at lists.runrev.com Revolution Sent: Sat, Nov 1, 2014 7:35 pm Subject: text has moved in standalones Hello, Why are my text labels not in the same place after I build a standalone. It seems like they all move slightly. Whats the trick? Thanks Todd _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From todd at geistinteractive.com Sat Nov 1 21:21:28 2014 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 1 Nov 2014 18:21:28 -0700 Subject: text labels changed in standalone Message-ID: Hello, Why are my text labels not in the same place after I build a standalone. It seems like they all move slightly. Whats the trick? Thanks From todd at geistinteractive.com Sun Nov 2 01:09:24 2014 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 1 Nov 2014 22:09:24 -0700 Subject: revHHTP Message-ID: hello, I am looking for a copy of the http server written in LiveCode. it was called revHTTP, and before that it was mcHTTP anyone have a copy? Thanks Todd From mwieder at ahsoftware.net Sun Nov 2 01:53:16 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Nov 2014 05:53:16 +0000 (UTC) Subject: Progress info from wget or curl? References: <54551E45.4080505@fourthworld.com> Message-ID: Richard Gaskin writes: > > When using shell to call something like wget or curl, normally we just > get the final output, so if those programs provide any progress feedback > when run in Terminal it's lost on us. > > But it would be really nice to be able to get that info - anyone here > know a way? > FWIW, here are the command args I use with wget (watch linewrap): /usr/local/bin/wget --no-check-certificate --config=/etc/wgetrc -O- --content-on-error -o /dev/null but I prefer to use httpie and only resort to wget or curl if I need to send client certificates (I need this often, and httpie doesn't yet support them in a stable release). -- Mark Wieder ahsoftware at gmail.com From gerry.orkin at gmail.com Sun Nov 2 01:58:35 2014 From: gerry.orkin at gmail.com (Gerry) Date: Sun, 02 Nov 2014 05:58:35 +0000 Subject: 6.7.1 RC1 uncomment References: <46C780B3-17D1-4820-B6C3-899A1C1CA241@btinternet.com> <40BFD99A-C6AA-4AB1-8E97-7137D1C849AA@unil.ch> Message-ID: Same for 7.0 for me. I've found so many issues with that version...sigh... On Sun, 2 Nov 2014 at 12:48 am, Terence Heaford wrote: > Thanks > > All the best > > Terry > > > On 01 Nov 2014, at 11:07, Jacques Hausser > wrote: > > > > Eh, it's worse ! > > Several shortcuts don't work - or work only the first time: e.g. > command-E, command-K, command-0, command-9... and it's the same with 7.0.1 > > Somebody already posted a bug report (13836). > > > > > >> Le 1 nov. 2014 ? 11:06, Jacques Hausser a > ?crit : > >> > >> Sorry, I was not on the good version of LiveCode - I can confirm. The > shortcut for uncomment doesn't work (except it highlights the menu) > >> > >> Jacques > >> > >>> Le 1 nov. 2014 ? 10:41, Jacques Hausser a > ?crit : > >>> > >>> Hi Terry, > >>> > >>> It works without problems here (I-Mac 2012, Yosemite) > >>> > >>> Jacques > >>> > >>>> Le 1 nov. 2014 ? 10:28, Terence Heaford a > ?crit : > >>>> > >>>> I have just been editing/commenting/uncommenting a script and the > uncomment shortcut does not seem to work (command_) on my Mac. > >>>> > >>>> The menu highlights in the menubar but nothing happens in the script. > >>>> > >>>> Can someone please verify this please. > >>>> > >>>> I am using Yosemite. > >>>> > >>>> > >>>> > >>>> All the best > >>>> > >>>> Terry > >>>> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sun Nov 2 03:52:42 2014 From: livfoss at mac.com (Graham Samuel) Date: Sun, 02 Nov 2014 09:52:42 +0100 Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 Message-ID: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> I am not much of a Windows user, but I have a cross-platform app for both Mac and Windows. This works fine on both platforms except that every time (I do mean every time) I start the thing on Windows, I get a warning message from "User Account Control" asking if I want "... the following program from an unknown publisher to make changes to this computer". Well of course the answer is 'yes', but how can I make myself known to the Windows machine as a known publisher? Is it some ritual I have to go through with Microsoft (I expect it is)? I don't want the paying users of this program to have to go through this warning, but I have absolutely no idea how to stop it. Can anyone point me to an idiot-proof explanation about what I have to do? TIA Graham From dave at applicationinsight.com Sun Nov 2 04:39:10 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 2 Nov 2014 01:39:10 -0800 (PST) Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> Message-ID: <1414921150765-4685316.post@n4.nabble.com> Hi Graham In order to keep Windows UAC happy you need to code sign your app (and installer if you use one) with a certificate authorised by a third party (such as Verisign) I found getting set up to do this a pain in the **** because to get your third party certificate you have to prove your identity to them - not so bad if you are an individual but if you want to have the name of your business appear as the 'publisher' then it can take a bit more hassle. Then when you get your certificate (and have paid your money), you get to download it - but it will only work on the machine you ordered the certificate from so be careful! Once it's installed properly I use a Microsoft tool such as signtool.exe to sign each .exe or .dll file as needed Basically it's a lot of hassle (but necessary if you want your software to appear professional on Windows) and people do come unstuck (for example the only-working-on-one-machine issue and there is no way to reset the certificate's password) so research carefully before you start and don't expect to get it all done and dusted without effort. Good luck! Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Legitimising-a-developer-as-a-publisher-in-Windows-7-tp4685315p4685316.html Sent from the Revolution - User mailing list archive at Nabble.com. From guglielmo at braguglia.ch Sun Nov 2 07:09:32 2014 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Sun, 02 Nov 2014 13:09:32 +0100 Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> Message-ID: <54561EFC.5020102@braguglia.ch> Hi, have a look here : http://codesigning.ksoftware.net ... is quite cheap (... probably one of the cheapest) and work very well (I use it for several years) ;) Guglielmo > Graham Samuel > 2 Nov 2014 09:52 am > I am not much of a Windows user, but I have a cross-platform app for > both Mac and Windows. This works fine on both platforms except that > every time (I do mean every time) I start the thing on Windows, I get > a warning message from "User Account Control" asking if I want "... > the following program from an unknown publisher to make changes to > this computer". Well of course the answer is 'yes', but how can I make > myself known to the Windows machine as a known publisher? Is it some > ritual I have to go through with Microsoft (I expect it is)? I don't > want the paying users of this program to have to go through this > warning, but I have absolutely no idea how to stop it. > > Can anyone point me to an idiot-proof explanation about what I have to do? > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Sun Nov 2 08:17:27 2014 From: livfoss at mac.com (Graham Samuel) Date: Sun, 02 Nov 2014 14:17:27 +0100 Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <54561EFC.5020102@braguglia.ch> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> Message-ID: <4B2B2767-4182-40D6-8239-6A70EFF3C9EB@mac.com> Thanks to you Guglielmo and to Dave Kilroy. My particular pain in the proverbial is that this program is being developed and tested in three countries (England, France and the US). Up to now this didn't matter at all, thanks to the internet and Dropbox, but now we will have to think carefully about which machine to use... anyway what you have told me is an excellent start. Graham > On 2 Nov 2014, at 13:09, Guglielmo Braguglia wrote: > > Hi, > have a look here : http://codesigning.ksoftware.net ... is quite cheap (... probably one of the cheapest) and work very well (I use it for several years) ;) > > Guglielmo > >> Graham Samuel >> 2 Nov 2014 09:52 am >> I am not much of a Windows user, but I have a cross-platform app for both Mac and Windows. This works fine on both platforms except that every time (I do mean every time) I start the thing on Windows, I get a warning message from "User Account Control" asking if I want "... the following program from an unknown publisher to make changes to this computer". Well of course the answer is 'yes', but how can I make myself known to the Windows machine as a known publisher? Is it some ritual I have to go through with Microsoft (I expect it is)? I don't want the paying users of this program to have to go through this warning, but I have absolutely no idea how to stop it. >> >> Can anyone point me to an idiot-proof explanation about what I have to do? >> >> TIA >> >> Graham >> ______________________________________________ From dave at applicationinsight.com Sun Nov 2 10:08:10 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 2 Nov 2014 07:08:10 -0800 (PST) Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <4B2B2767-4182-40D6-8239-6A70EFF3C9EB@mac.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> <4B2B2767-4182-40D6-8239-6A70EFF3C9EB@mac.com> Message-ID: <1414940890554-4685319.post@n4.nabble.com> Hi Graham - just realised I gave you some bad advice! I use "signcode.exe" rather than "signtool.exe" (which is a similar but different tool) > Once it's installed properly I use a Microsoft tool such as signtool.exe > to sign each .exe or .dll file as needed ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Legitimising-a-developer-as-a-publisher-in-Windows-7-tp4685315p4685319.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Nov 2 10:31:15 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 02 Nov 2014 16:31:15 +0100 Subject: Android app doesn't retrieve file names after modifying and recompiling package Message-ID: <54564E43.1070205@economy-x-talk.com> Hi, Because I have to display Vimeo videos in a project of mine for Android, I followed the instructions at http://quality.runrev.com/show_bug.cgi?id=10267 to decompile my app, change the manifest file, recompile the app, and sign it. Unfortinately, the resulting apk is worse than the original. I have "updated" an old Mac to Mac OS X 10.7.5. I have installed JDK 1.7.0_72 on this Mac. I'm trying use a LiveCode standalone application on my old Android tablet with Android version 2.3.3. The unmodified standalone, built with the option "sign for development only" runs fine on my tablet, but video won't display. First, I built the app for Android, using LiveCode 6.6.2 for Windows. Then I copied it over to my Mac. I used $ java -jar apktool.jar decode /Volumes/Macintosh\ HD/Users/Mark/Desktop/apk\ tool/MyApp.apk app to decompile the apk file. It appeared in a folder with the name "app" in my Home directory, with sub directories: app AndroidManifest.xml apktool.yml assets/ doc/ links.txt pic/ vid/ Demos/ Examples/ Other/ Simple Animation.mp4 Vimeo Pro Example.html Tutorials/ SQL.html build/ lib/ res/ smali/ The contents of the assets folder is included by LiveCode's standalone builder. I created all of these files and folders during project development. The folders in the vid folder contain several HTML files and one mp4 file. I have listed only a few of the html files in the file tree. I changed the AndroidManifest.xml by replacing the line with After this, I rebuilt the app, using apktool again. I used sudo, because here http://quality.runrev.com/show_bug.cgi?id=10267 it said I had to use sudo: $ sudo java -jar /Volumes/Macintosh\ HD/Users/Mark/Desktop/apk\ tool/apktool_1.5.2.jar b -a /Volumes/Macintosh\ HD/Developer/android-s-d-k-mac_x86/platform-tools/aapt It appears that if you use sudo once, you have to use sudo all the time. So, now I had to sign it using $ sudo jarsigner -verbose -sigalg SHAwithRSA -digestalg SHA1 -keystore /Volumes/Macintosh\ HD/Users/Mark/app/dist/MyApp.apk myalias I verified that it was signed and changed the name of the file then aligned the file /Volumes/Macintosh HD/Users/Mark/app/dist/MyApp.apk to /Volumes/Macintosh HD/Users/Mark/app/dist/MyApp_unaligned.apk I aligend the file using $ zipalign -v 4 /Volumes/Macintosh\ HD/Users/Mark/app/dist/MyApp_unaligned.apk /Volumes/Macintosh\ HD/Users/Mark/app/dist/MyApp.apk This file should work on my Android tablet. I'm able to start and run the file, but my app doesn't see any of the files in the subfolders of folder vid/, except for Simple Animation.mp4. However, it _does_ notice that there are files. A repeat loop that checks all folders in folder vid/ for files creates a list, but the lines in the list are empty, one line for each file, meaning that it can't figure out what the name of the files is. Needless to say, I checked that all files are included in the new apk file. What may cause this? If you wonder about the file paths: I started my Mac from an external disk and used the files on the internal disk. So, /Volumes/Macintosh HD isn't the system disk here. You can also read this at or at http://qery.us/hv0 where I have posted a test file or at http://stackoverflow.com/q/26700856/807423 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From blueback09 at gmail.com Sun Nov 2 10:47:21 2014 From: blueback09 at gmail.com (Matt Maier) Date: Sun, 2 Nov 2014 07:47:21 -0800 Subject: datagrid loses formatting when the window resizes Message-ID: So I've got a datagrid form with a couple fields in the row template. It displays just fine when it updates. However, if I resize the window by dragging the borders the stuff inside the datagrid suddenly repositions itself. If I drag the left or right sides of the window, some of the first fields in the template move or disappear, but some of them don't. If I drag the other side some more move/disappear. If I drag the top/bottom of the window both fields in the template move/disappear in every row. Same for using the maximize/minimize buttons. If I click the button that updates the datagrid it displays properly again until I resize the window. Any ideas? Thanks, Matt From ambassador at fourthworld.com Sun Nov 2 11:55:09 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 02 Nov 2014 08:55:09 -0800 Subject: revHHTP In-Reply-To: References: Message-ID: <545661ED.1050708@fourthworld.com> Todd Geist wrote: > I am looking for a copy of the http server written in LiveCode. > it was called revHTTP, and before that it was mcHTTP > > anyone have a copy? There have been a few floating around over the years. The first was made by Dr. Raney himself as a way of demonstrating robust socket communications, posted at metacard.com as mchttd.mc back before the turn of the century. Fun as it was when it first came out, over time browsers have become more strict in what they expect in HTTP headers, so that original stack no longer works as-is. Several years ago Andre Garzia wrote a much-expanded version of that, which may be the one you're referring to. If it's still around it may be at his site, but I don't believe it's maintained any longer, and Andre recommends using Apache and NginX for serious development. Given that LiveCode doesn't yet support threading, I generally agree with Andre: Apache does a good job of juggling multiple simultaneous requests by spawning new instances of itself, and spawning new instances of any CGIs it may use, like LiveCode Server. This sort of parallelism through multi-processing is important in a production environment where simultaneous requests are inevitable and cannot afford to be queued. However, not every useful environment is for production of publicly-accessible works. :) I have a VPS and a local server I use only for distributed processing and exploratory development, and along with other tools (I may be able to share my LiveHive project within a few weeks; more on that later), while most of my communications with those machines is through SSH (sharing keys opens up so many interesting LiveCode opportunities with unusually strong security) I've sometimes found it handy to have an HTTP interface available on those systems for private purposes where I or one of my automated systems are the only users. In those cases. mchttpd.mc would be useful if only it output proper headers. So with Andre's permission I backported his header function to mchttpd.mc, and have posted it to my site under a new name to distinguish the revision: You're welcome to use it, modify it, and share it. I've discussed the revised version with Dr. Raney and at his request it's available under MIT license. Since LiveCode is single-threaded, the range of applicable use-cases as a socket daemon is limited. It will never bee Apache, and Apache is so useful and flexible, and has such a vast supporting ecosystem of learning materials and extensions, it's rare that we truly need anything else. Moreover, LiveCode Server as a CGI under Apache is a great way to get the best of what each brings to the table. Multi-processing may carry a bit more overhead than multi-threading but not as much as one might think, and is so absolutely discrete that it's much easier to code for, and in some contexts more secure. In fact, the overhead with LC is roughly on par in my testing with similar use of PHP, Python, or other scripting engines. And given that we can so easily make purpose-built stuff I find many instances where LiveCode Server-based solutions are more scalable than similar but much more generalized (hence larger) PHP-based systems like Drupal or Joomla. All that said, you have an adventurous mind and there's no telling what you're up to. :) The updated mchttpd may be a good fit. I'd be interested in hearing what you wind up doing with it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From livfoss at mac.com Sun Nov 2 11:56:06 2014 From: livfoss at mac.com (Graham Samuel) Date: Sun, 02 Nov 2014 17:56:06 +0100 Subject: Inserting a character (LC 7.0.1) Message-ID: Suppose a user is keying some characters into a string, and I want to insert an additional character (let's say it's in a variable called 'myChar') by program (from a palette, for example). This is probably very very obvious, but I can't hack it. I can do if "field" is in the focusedObject then put myChar after the focusedObject end if But of course 'after' ignores the position of the insertion point. I can't see how to bring the insertion point into it. I have tried using 'the selectedChunk', and basically anything with the word 'chunk' embedded in it, but to no avail. The clickLoc I suppose does give coordinates in pixels but it is not really to do with chunks. Really I want it to be possible to script put myChar after the insertionPoint of the focusedObject but there is no such property. It must be obvious, but I don't see it. Feeling particularly stupid, even for a Sunday afternoon. TIA for any advice. Graham From livfoss at mac.com Sun Nov 2 11:57:06 2014 From: livfoss at mac.com (Graham Samuel) Date: Sun, 02 Nov 2014 17:57:06 +0100 Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <1414940890554-4685319.post@n4.nabble.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> <4B2B2767-4182-40D6-8239-6A70EFF3C9EB@mac.com> <1414940890554-4685319.post@n4.nabble.com> Message-ID: <084CA2D8-FB81-43ED-95EA-857C449273E9@mac.com> OK, noted. Graham > On 2 Nov 2014, at 16:08, Dave Kilroy wrote: > > Hi Graham - just realised I gave you some bad advice! I use "signcode.exe" > rather than "signtool.exe" (which is a similar but different tool) > > >> Once it's installed properly I use a Microsoft tool such as signtool.exe >> to sign each .exe or .dll file as needed > > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Legitimising-a-developer-as-a-publisher-in-Windows-7-tp4685315p4685319.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Nov 2 11:59:25 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 02 Nov 2014 08:59:25 -0800 Subject: Progress info from wget or curl? In-Reply-To: References: Message-ID: <545662ED.3040808@fourthworld.com> Mark Wieder wrote: > Richard Gaskin writes >> >> When using shell to call something like wget or curl, normally we >> just get the final output, so if those programs provide any >> progress feedback when run in Terminal it's lost on us. >> >> But it would be really nice to be able to get that info - anyone >> here know a way? > > FWIW, here are the command args I use with wget (watch linewrap): > > /usr/local/bin/wget --no-check-certificate --config=/etc/wgetrc -O- > --content-on-error -o /dev/null > > but I prefer to use httpie and only resort to wget or curl if I need > to send client certificates (I need this often, and httpie doesn't > yet support them in a stable release). At the risk of appearing even more ignorant than I am, I'm apparently just thick-headed enough that I still don't understand the key aspect I'm hoping to find: The options for displaying progress in the terminal work well, but how can we call that from LiveCode to obtain that progress info periodically while the command is executing from the "shell" function? Is there a way to use "open process" for that? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bodine at bodinetraininggames.com Sun Nov 2 11:56:24 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Sun, 2 Nov 2014 08:56:24 -0800 (PST) Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <54561EFC.5020102@braguglia.ch> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> Message-ID: <1414947384765-4685326.post@n4.nabble.com> Hi, Yes, codesigning on Windows is what you need. It used to be a bigger PITA, but it's easier now -- and easier than Apple's approach to codesgining -- if you use the company Guglielmo mentioned for a discounted certificate and the free codesigning tool, ksign, that they provide. I have used ksoftware for many years. What makes me a loyal customer is if you have any trouble the owner of the company jumps right in to help. One other thing on Windows... if your installer requires Administrator Rights to install, then that gives your application a higher level of trust by Windows. (Translation: Fewer nuisance messages for the user.) Good luck! Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Legitimising-a-developer-as-a-publisher-in-Windows-7-tp4685315p4685326.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobsneidar at iotecdigital.com Sun Nov 2 12:12:18 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 2 Nov 2014 17:12:18 +0000 Subject: (Arbitrarily) Long-Division Script In-Reply-To: References: <3F774EA0-2ADD-48B1-A5AF-6D3D57BBB57B@semperuna.com> Message-ID: <32B8F8DA-8256-4000-91AA-5FFA39CDD854@iotecdigital.com> Thanks Geoff! Bob S > On Oct 31, 2014, at 21:35 , Geoff Canyon wrote: > > FYI, here's my original bignum multiplier: > > function bigTimes X,Y > if char 1 of X is "-" then > put "-" into leadChar > delete char 1 of X > end if > if char 1 of Y is "-" then > if leadChar is "-" then put empty into leadChar else put "-" into leadChar > delete char 1 of Y > end if > put (3 + length(X)) div 4 * 4 into XL > put char 1 to XL - length(X) of "000" before X > put (3 + length(Y)) div 4 * 4 into YL > put char 1 to YL - length(y) of "000" before y > repeat with N = XL + YL down to 9 step -4 > repeat with M = max(4,N - YL) to min(XL,N - 4) step 4 > add (char M - 3 to M of X) * (char N - M - 3 to N - M of Y) to S > end repeat > put char -4 to -1 of S before R > delete char -4 to -1 of S > end repeat > if S is 0 then put empty into S > return leadChar & S & R > end bigTimes > > > > On Fri, Oct 31, 2014 at 11:32 PM, Geoff Canyon wrote: > >> I've created similar routines in the past. Are you saying you do or don't >> want to allow for arbitrarily-large divisors? >> >> a pseudo-code algo for divisors that LC can handle: >> >> 1. remove the decimal points, remembering where they were >> 2. get the length of the divisor >> 3. grab that many characters from the dividend as the working dividend >> 4. if the working dividend is larger than the divisor, divide it by the >> divisor to find the quotient and remainder (new working dividend) and put >> the quotient after the final quotient >> 5. put the next character from the dividend after the working dividend and >> return to (4) until you run out of dividend >> 6. figure out where the decimal point goes and insert it >> >> for divisors that LC can't handle, (4) becomes: >> >> 4. if the working dividend is larger than the divisor, use your bignum >> subtraction to repeatedly subtract the divisor from the working dividend to >> find the quotient and remainder (new working dividend) and put the quotient >> after the final quotient >> >> >> On Thu, Oct 30, 2014 at 7:51 PM, Igor de Oliveira Couto < >> igor at semperuna.com> wrote: >> >>> Hi all, >>> >>> I wanted to develop a library to allow me to perform basic maths (add, >>> subtract, multiply, divide) with arbitrarily long numbers in LiveCode. My >>> requirements are simple: >>> >>> - integers and floating-point numbers must be supported as all operands >>> in all operations, to an arbitrarily large number of decimal cases >>> >>> - speed is NOT an issue: performances can safely be relatively slow, as >>> it is unlikely that it?ll need to perform hundreds of thousands of >>> operations per second >>> >>> - accuracy IS an issue: needless to say, all operations must provide >>> *accurate* and *reliable* results, regardless of how many decimal cases are >>> used >>> >>> It proved relatively easy to do the addition, multiplication and >>> subtraction operations in LiveCode. I followed the ?pen-and-paper? >>> algorithm, and it all seems to be working really well - I?m happy to >>> provide anybody with a copy of the scripts off-list, if you wish (just send >>> me an email directly). I?m stuck, however, trying to implement DIVISION. >>> There does not seem to be an ?easy? pen-and-paper algorithm that would >>> support arbitrarily large numbers with unknown number of decimal cases. >>> >>> Most long-division algorithm seems to expect that the number being >>> divided can be of an arbitrarily length, but they expect that the divisor >>> (the number we are dividing BY) is going to be low enough, so that the >>> person making the division will ?know? instinctively how many times it >>> would ?fit? into the number being divided. These algorithms are not >>> recommended once we start dealing with divisor of 3 digits or more. There >>> does not seem to be an algorithm that would allow us to procede >>> ?digit-by-digit? with the division, as can be done with >>> addition/subtraction/multiplication? Or is there? >>> >>> Searching Google and Wikipedia has yielded articles about using bitwise >>> operations, or complex mathematical theory, both of which are beyond me. Is >>> there a Math Wiz in this list, who could give us a layman?s explantion of >>> an algorithm that could be used? Any help would be much appreciated! >>> >>> Kindest regards to all, >>> >>> -- >>> Igor Couto >>> Sydney, Australia >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Nov 2 12:13:39 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Nov 2014 09:13:39 -0800 Subject: Progress info from wget or curl? In-Reply-To: <545662ED.3040808@fourthworld.com> References: <545662ED.3040808@fourthworld.com> Message-ID: <391009733865.20141102091339@ahsoftware.net> Richard- Sunday, November 2, 2014, 8:59:25 AM, you wrote: > > /usr/local/bin/wget --no-check-certificate --config=/etc/wgetrc -O- > > --content-on-error -o /dev/null > The options for displaying progress in the terminal work well, but how > can we call that from LiveCode to obtain that progress info periodically > while the command is executing from the "shell" function? get shell("/usr/local/bin/wget ... in particular, the -O- error will give you the info that normally just goes to the screen. I use the --content-on-error argument to receive information even if wget runs into an error, and the -o /dev/null argument is because wget has an annoying habit of putting "..." into the output stream as a means of telling you it's still working. If you're getting the wget output as above then the "..." gets mixed in with the data, and the -o option sends the status data to /dev/null. try "wget --help" for a dizzying list of options > Is there a way to use "open process" for that? Probably, but shell does the job quite well. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From bobsneidar at iotecdigital.com Sun Nov 2 12:14:39 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 2 Nov 2014 17:14:39 +0000 Subject: Card ID not valid In-Reply-To: <55C8073D-0F95-4763-8665-8C15FC192676@wanadoo.fr> References: <55C8073D-0F95-4763-8665-8C15FC192676@wanadoo.fr> Message-ID: Unless you need to manipulate behaviors, there is no need. However, once you wade in on that, you are essentially bound to do so. Bob S > On Nov 1, 2014, at 05:34 , Francis Nugent Dixon wrote: > > Hi from Beautiful Brittany, > > After more than 15 years with Hypercard and more than 10 > with LiveCode, I have NEVER used the reference Card ID. > If I want to sort my cards (in dozens and dozens) of my data > stacks, I have a field in each card which is an ID which I use > to control card positioning my stack. I don?t even know the > rules governing Card ID numbering, and ?cos I have no control > over it, I don?t use it. > > Never had any problems !! Just trash the idea of Card ID > and go to a mechanism you can control 100%. > > My 2 centimes ??. > > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Nov 2 12:37:13 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 2 Nov 2014 10:37:13 -0700 Subject: Progress info from wget or curl? In-Reply-To: <391009733865.20141102091339@ahsoftware.net> References: <545662ED.3040808@fourthworld.com> <391009733865.20141102091339@ahsoftware.net> Message-ID: You might try launching the shell in the background.. if it returns immediately when you do that, I am not where I can try. If that's the case, for the -O option, rather than going to /dev/null, point it to a file in tmp, and do a periodic check of that file. (I think this will work, but again, I can't try it) I really wish that open process (on mac) would let you work with shell commands rather than as just a glorified launcher. On linux, not sure if you can do the interactive thing or not with open process. (another thing to try) IF you can with open process, still not sure it will do what you want. IIRC wget does some funky terminal stuff to give the appearance of a more interactive display that might not work well when read live, but that's where the options come in I think. You can probably suppress the ....... stuff and perhaps force more useful information? (might also be needed for the dumping to a file method..) Wish I could try things but life seldom cooperates lately! Also, OT: Richard.. I have some petroglyph photos here if you're interested. Also can link you up with a lady here (the photographer) who can show you locations for tons of them. If you're interested for your pursuit of archaeological protection, or just interested period, let me know. On Sun, Nov 2, 2014 at 10:13 AM, Mark Wieder wrote: > Richard- > > Sunday, November 2, 2014, 8:59:25 AM, you wrote: > > > > /usr/local/bin/wget --no-check-certificate --config=/etc/wgetrc -O- > > > --content-on-error -o /dev/null > > > The options for displaying progress in the terminal work well, but how > > can we call that from LiveCode to obtain that progress info periodically > > while the command is executing from the "shell" function? > > get shell("/usr/local/bin/wget ... > > in particular, the -O- error will give you the info that normally just > goes to the screen. I use the --content-on-error argument to receive > information even if wget runs into an error, and the -o /dev/null > argument is because wget has an annoying habit of putting "..." into > the output stream as a means of telling you it's still working. If > you're getting the wget output as above then the "..." gets mixed in > with the data, and the -o option sends the status data to /dev/null. > > try "wget --help" for a dizzying list of options > > > Is there a way to use "open process" for that? > > Probably, but shell does the job quite well. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Sun Nov 2 12:52:14 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 2 Nov 2014 17:52:14 +0000 Subject: 6.7.1 RC1 uncomment In-Reply-To: References: <46C780B3-17D1-4820-B6C3-899A1C1CA241@btinternet.com> <40BFD99A-C6AA-4AB1-8E97-7137D1C849AA@unil.ch> Message-ID: <9F6FCF48-82E0-4003-B18E-147A5A2893A2@iotecdigital.com> I am sticking with 6.7 for now. That seems to still be stable. Bob S > On Nov 1, 2014, at 22:58 , Gerry wrote: > > Same for 7.0 for me. I've found so many issues with that version...sigh... > On Sun, 2 Nov 2014 at 12:48 am, Terence Heaford > wrote: > >> Thanks >> >> All the best >> >> Terry >> >>> On 01 Nov 2014, at 11:07, Jacques Hausser >> wrote: >>> >>> Eh, it's worse ! >>> Several shortcuts don't work - or work only the first time: e.g. >> command-E, command-K, command-0, command-9... and it's the same with 7.0.1 >>> Somebody already posted a bug report (13836). >>> >>> >>>> Le 1 nov. 2014 ? 11:06, Jacques Hausser a >> ?crit : >>>> >>>> Sorry, I was not on the good version of LiveCode - I can confirm. The >> shortcut for uncomment doesn't work (except it highlights the menu) >>>> >>>> Jacques >>>> >>>>> Le 1 nov. 2014 ? 10:41, Jacques Hausser a >> ?crit : >>>>> >>>>> Hi Terry, >>>>> >>>>> It works without problems here (I-Mac 2012, Yosemite) >>>>> >>>>> Jacques >>>>> >>>>>> Le 1 nov. 2014 ? 10:28, Terence Heaford a >> ?crit : >>>>>> >>>>>> I have just been editing/commenting/uncommenting a script and the >> uncomment shortcut does not seem to work (command_) on my Mac. >>>>>> >>>>>> The menu highlights in the menubar but nothing happens in the script. >>>>>> >>>>>> Can someone please verify this please. >>>>>> >>>>>> I am using Yosemite. >>>>>> >>>>>> >>>>>> >>>>>> All the best >>>>>> >>>>>> Terry >>>>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Nov 2 13:19:05 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Nov 2014 12:19:05 -0600 Subject: Inserting a character (LC 7.0.1) In-Reply-To: References: Message-ID: Use "the selection" : put myChar after the selection On November 2, 2014 10:56:06 AM CST, Graham Samuel wrote: > > if "field" is in the focusedObject then > put myChar after the focusedObject > end if > >But of course 'after' ignores the position of the insertion point. I >can't see how to bring the insertion point into it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun Nov 2 14:52:12 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 02 Nov 2014 11:52:12 -0800 Subject: Progress info from wget or =?UTF-8?Q?curl=3F?= Message-ID: <8c0a0e3be6b30c4c975ad2d6cfcbb9e6@fourthworld.com> Mark Wieder wrote: > Richard- > >> Sunday, November 2, 2014, 8:59:25 AM, you wrote: >> >> > /usr/local/bin/wget --no-check-certificate --config=/etc/wgetrc -O- >> > --content-on-error -o /dev/null >> >> The options for displaying progress in the terminal work well, but how >> can we call that from LiveCode to obtain that progress info >> periodically >> while the command is executing from the "shell" function? > > get shell("/usr/local/bin/wget ... > > in particular, the -O- error will give you the info that normally just > goes to the screen. I use the --content-on-error argument to receive > information even if wget runs into an error, and the -o /dev/null > argument is because wget has an annoying habit of putting "..." into > the output stream as a means of telling you it's still working. If > you're getting the wget output as above then the "..." gets mixed in > with the data, and the -o option sends the status data to /dev/null. > > try "wget --help" for a dizzying list of options I must be slow this morning, because I can still only get shell to return with the final output from the command, the successfully-downloaded file, and my best effort at experimenting with wget's options still never yields anything from LiveCode's shell function except at the very end after wget completes. This is more or less what I would expect, given how the shell function works. I had just hoped there might be some way to get periodic progress callbacks during lengthy transfers. For my immediate needs it's not much of an issue: this is for use with smaller files one server will be transferring to another, so without humans involved it's not necessary to provide progress info during the transfer. But I've been so impressed with the performance of wget and curl that I'm considering replacing some libURL stuff in GUI apps with them, provided I can find a way to provide download feedback for the user. Thanks for your help just the same. Much appreciated. -- Richard Gaskin Fourth World Systems From monte at sweattechnologies.com Sun Nov 2 14:55:01 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 3 Nov 2014 06:55:01 +1100 Subject: Progress info from wget or curl? In-Reply-To: <391009733865.20141102091339@ahsoftware.net> References: <545662ED.3040808@fourthworld.com> <391009733865.20141102091339@ahsoftware.net> Message-ID: On 3 Nov 2014, at 4:13 am, Mark Wieder wrote: >> Is there a way to use "open process" for that? > > Probably, but shell does the job quite well. How would you get the progress periodically using shell? Open process and a read loop with a short wait in it will do the trick. Cheers Monte From livfoss at mac.com Sun Nov 2 15:25:54 2014 From: livfoss at mac.com (Graham Samuel) Date: Sun, 02 Nov 2014 21:25:54 +0100 Subject: Inserting a character (LC 7.0.1) In-Reply-To: References: Message-ID: <447ABC31-7ADB-40AE-8259-C74C32A21589@mac.com> Thanks Jacque, as I didn't think anything had been selected, I never thought of 'the selection'. In fact the LC dictionary says > The selection is a reference to the currently selected text. Which doesn't seem to accord with a flashing cursor in a text string and nothing highlighted, i.e. nothing selected - but there it is. Thanks again - I can move on. Graham > On 2 Nov 2014, at 19:19, J. Landman Gay wrote: > > Use "the selection" : > > put myChar after the selection > > > On November 2, 2014 10:56:06 AM CST, Graham Samuel wrote: >> >> if "field" is in the focusedObject then >> put myChar after the focusedObject >> end if >> >> But of course 'after' ignores the position of the insertion point. I >> can't see how to bring the insertion point into it. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Nov 2 16:09:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Nov 2014 15:09:58 -0600 Subject: Inserting a character (LC 7.0.1) In-Reply-To: <447ABC31-7ADB-40AE-8259-C74C32A21589@mac.com> References: <447ABC31-7ADB-40AE-8259-C74C32A21589@mac.com> Message-ID: <54569DA6.2060503@hyperactivesw.com> On 11/2/2014, 2:25 PM, Graham Samuel wrote: > Thanks Jacque, as I didn't think anything had been selected, I never thought of 'the selection'. In fact the LC dictionary says > >> >The selection is a reference to the currently selected text. > Which doesn't seem to accord with a flashing cursor in a text string and nothing highlighted, i.e. nothing selected - but there it is. I thought it was under "selection" but it turns out the explanation is under "selectedChunk": "If no text is selected but the text insertion point is in a field, the startChar is the character after the insertion point, and the endChar is the character before the insertion point. In this case, the endChar is one less than the startChar." I think it should be in both places. "Selection" is easier to work with than parsing the selectedChunk and putting new text after word 2 of it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Nov 2 17:26:51 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Nov 2014 14:26:51 -0800 Subject: Progress info from wget or curl? In-Reply-To: <8c0a0e3be6b30c4c975ad2d6cfcbb9e6@fourthworld.com> References: <8c0a0e3be6b30c4c975ad2d6cfcbb9e6@fourthworld.com> Message-ID: <1106187808.20141102142651@ahsoftware.net> Richard- Sunday, November 2, 2014, 11:52:12 AM, you wrote: > I must be slow this morning, because I can still only get shell to > return with the final output from the command, the > successfully-downloaded file, and my best effort at experimenting with > wget's options still never yields anything from LiveCode's shell > function except at the very end after wget completes. No, it's me being caffeine-deprived and jet-lagged from the time change. I missed that you want progress reports on the fly. Try opening the process for neither, as non-intuitive as that sounds. > But I've been so impressed with the performance of wget and curl that > I'm considering replacing some libURL stuff in GUI apps with them, > provided I can find a way to provide download feedback for the user. wget has the disadvantage of only supporting GETs and POSTs. Curl will do better, but has some annoying cross-platform differences. Httpie does a better job and has a more intuitive syntax than curl, but it doesn't yet support client certificates in a stable release. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From livfoss at mac.com Sun Nov 2 17:47:39 2014 From: livfoss at mac.com (Graham Samuel) Date: Sun, 02 Nov 2014 23:47:39 +0100 Subject: Inserting a character (LC 7.0.1) In-Reply-To: <54569DA6.2060503@hyperactivesw.com> References: <447ABC31-7ADB-40AE-8259-C74C32A21589@mac.com> <54569DA6.2060503@hyperactivesw.com> Message-ID: <59A0DBAC-2D81-40A7-8A20-173865AB722F@mac.com> Thanks again - it's all a bit too clever for its own good, IMHO. A nice convention like "the insertionPoint" would be easier. Still, nobody is going to change the language just for me... I am now struggling with doing this insertion business in Unicode. Turns out you can't just paste a Unicode character into a LiveCode script on a PC if say you want to test against it, as in if myChar = "$" where instead of $ you want some Unicode character copied from a web page or something like that. You may even see the character on the screen, but when you close LiveCode and reopen the stack in new activation of LC, that glyph is replaced by "?". It seems you have to use numToCodePoint and its inverse. But I am still exploring... Graham > On 2 Nov 2014, at 22:09, J. Landman Gay wrote: > > On 11/2/2014, 2:25 PM, Graham Samuel wrote: >> Thanks Jacque, as I didn't think anything had been selected, I never thought of 'the selection'. In fact the LC dictionary says >> >>> >The selection is a reference to the currently selected text. >> Which doesn't seem to accord with a flashing cursor in a text string and nothing highlighted, i.e. nothing selected - but there it is. > > I thought it was under "selection" but it turns out the explanation is under "selectedChunk": > > "If no text is selected but the text insertion point is in a field, the startChar is the character after the insertion point, and the endChar is the character before the insertion point. In this case, the endChar is one less than the startChar." > > I think it should be in both places. "Selection" is easier to work with than parsing the selectedChunk and putting new text after word 2 of it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun Nov 2 17:56:34 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 3 Nov 2014 09:56:34 +1100 Subject: Progress info from wget or curl? In-Reply-To: <1106187808.20141102142651@ahsoftware.net> References: <8c0a0e3be6b30c4c975ad2d6cfcbb9e6@fourthworld.com> <1106187808.20141102142651@ahsoftware.net> Message-ID: On 3 Nov 2014, at 9:26 am, Mark Wieder wrote: > Try > opening the process for neither The point of open process for neither (the for neither is actually extra unnecessary typing) is that you are opening the process for neither read nor write. He needs open process for read. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jhurley0305 at sbcglobal.net Sun Nov 2 18:01:42 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 2 Nov 2014 15:01:42 -0800 Subject: Opening a stack stored in dropbox's public folder In-Reply-To: References: Message-ID: <15022380-A894-4801-A577-B1359949DEF0@sbcglobal.net> There was a time when this worked, but not now. I put go url "https://dl.dropboxusercontent.com/ ....etc." And I get "no such card" If I put the Dropbox's public link into the address line of Safari I get a list of the scripts, so I know the link is OK, Doesn't this work any more in RR? Jim From livfoss at mac.com Sun Nov 2 18:25:00 2014 From: livfoss at mac.com (Graham Samuel) Date: Mon, 03 Nov 2014 00:25:00 +0100 Subject: Palettes and the selectedObject Message-ID: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> Another probably dumb question. If I am keying in a field in an ordinary stack window and I stop to do something on a palette, I had hoped that the focusedObject would remain in the ordinary stack - however it turns out that the focusedObject is now the visible card of the palette. Does this mean that the previous focusedObject is lost and thus I can't use a palette to do an insertion in the field in the ordinary stack? Looks like it. But programs like Apple's Keyboard Viewer do it, and I suppose there must be stuff like that on Windows. The question is, is there a way to do it in LC? I know I can tell if a field loses focus (e.g. from a focusOut message), but by then of course the focusedObject will be somewhere else, by definition. Graham From capellan2000 at gmail.com Sun Nov 2 19:11:54 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Nov 2014 19:11:54 -0500 Subject: Its time to revive HyperCard Message-ID: >From Slashdot: http://developers.slashdot.org/story/14/10/31/2358211/its-time-to-revive-hypercard As always, comments are a must read in Slashdot. Al From mwieder at ahsoftware.net Sun Nov 2 20:07:41 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Nov 2014 17:07:41 -0800 Subject: Progress info from wget or curl? In-Reply-To: References: <8c0a0e3be6b30c4c975ad2d6cfcbb9e6@fourthworld.com> <1106187808.20141102142651@ahsoftware.net> Message-ID: <19915837578.20141102170741@ahsoftware.net> Monte- Sunday, November 2, 2014, 2:56:34 PM, you wrote: > The point of open process for neither (the for neither is > actually extra unnecessary typing) is that you are opening the > process for neither read nor write. He needs open process for read. Ah. Right you are. I forgot that Richard only wanted status info. Richard- what is it you're trying to do? I go out of my way to avoid the wget status information, that's why I'm sending it off to /dev/null. Otherwise it gets mixed in with my returned data. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From gerry.orkin at gmail.com Sun Nov 2 22:16:04 2014 From: gerry.orkin at gmail.com (Gerry) Date: Mon, 03 Nov 2014 03:16:04 +0000 Subject: Opening a stack stored in dropbox's public folder References: <15022380-A894-4801-A577-B1359949DEF0@sbcglobal.net> Message-ID: Yeah that happens here too. Bugger. I have an app out there that relies on this. On Mon Nov 03 2014 at 10:01:57 AM Jim Hurley wrote: > There was a time when this worked, but not now. > > I put > > go url "https://dl.dropboxusercontent.com/ ....etc." > > And I get "no such card" > > If I put the Dropbox's public link into the address line of Safari I get a > list of the scripts, so I know the link is OK, > Doesn't this work any more in RR? > > Jim > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Sun Nov 2 23:39:52 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 2 Nov 2014 23:39:52 -0500 Subject: Palettes and the selectedObject In-Reply-To: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> References: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> Message-ID: <8D1C53757BB39E8-3118-3AF41@webmail-m293.sysops.aol.com> Not dumb at all. Here is a kluge, but there is a problem with it, that is, making the returned focus stick. This was solved in a thread a while back (that I was part of, but cannot remember how we did it, nor find the thread) With a few fields on a card, place this in the stack script: on exitField if "field" is in the target then set the lastFocus of this stack to "field" && the short name of the target end if end exitfield on closeField exitField end closeField on resumeStack if "field" is in the lastFocus of this stack then focus on field the lastFocus of this stack wait 10 with messages focus on nothing wait 10 with messages select after text of field the lastFocus of this stack end if end resumeStack You can see all sorts of stuff happening in the correct field, but focus does not stick. Those silly lines are just tests I tried to make focus stick. I am interested in how we once solved this little issue. Anyway, add that to the kluge, and it should work. I am sure this can be done other ways, like with "focusOut" for example. On another note,if you place this in a button on the card: focus on fid 1 Focus sticks. Well, of course. The issue, as before, was making the focus stick with a more "distant" action, rather than "locally", that is, while the card is already in front. Now I am the one asking the dumb question... Craig Newman -----Original Message----- From: Graham Samuel To: How to use LiveCode Sent: Sun, Nov 2, 2014 6:25 pm Subject: Palettes and the selectedObject Another probably dumb question. If I am keying in a field in an ordinary stack window and I stop to do something on a palette, I had hoped that the focusedObject would remain in the ordinary stack - however it turns out that the focusedObject is now the visible card of the palette. Does this mean that the previous focusedObject is lost and thus I can't use a palette to do an insertion in the field in the ordinary stack? Looks like it. But programs like Apple's Keyboard Viewer do it, and I suppose there must be stuff like that on Windows. The question is, is there a way to do it in LC? I know I can tell if a field loses focus (e.g. from a focusOut message), but by then of course the focusedObject will be somewhere else, by definition. Graham _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Nov 3 01:11:59 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 03 Nov 2014 00:11:59 -0600 Subject: Opening a stack stored in dropbox's public folder In-Reply-To: <15022380-A894-4801-A577-B1359949DEF0@sbcglobal.net> References: <15022380-A894-4801-A577-B1359949DEF0@sbcglobal.net> Message-ID: Are you using an old link? I had a similar failure recently and found out that Dropbox had changed the link. I coded in the new one and it worked again. It was a little disconcerting that they'd do that. On November 2, 2014 5:01:42 PM CST, Jim Hurley wrote: >There was a time when this worked, but not now. > >I put > > go url "https://dl.dropboxusercontent.com/ ....etc." > >And I get "no such card" > >If I put the Dropbox's public link into the address line of Safari I >get a list of the scripts, so I know the link is OK, >Doesn't this work any more in RR? > >Jim > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From selander at tkf.att.ne.jp Mon Nov 3 05:09:06 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Mon, 03 Nov 2014 19:09:06 +0900 Subject: Inserting a character (LC 7.0.1) In-Reply-To: <59A0DBAC-2D81-40A7-8A20-173865AB722F@mac.com> References: <447ABC31-7ADB-40AE-8259-C74C32A21589@mac.com> <54569DA6.2060503@hyperactivesw.com> <59A0DBAC-2D81-40A7-8A20-173865AB722F@mac.com> Message-ID: <54575442.3050602@tkf.att.ne.jp> Graham, I was getting that problem, too, and not just in the script -- but field labels, names, etc. However, the stack I was using I had been doing various tests in, including using v7, saving in the old format, re-open in an older LC, then again in v7, etc. Lots of 'wrecked' characters replaced by "??." However, when I made a fresh stack in v7 and continued to only save it and open it in v7, then all those problems went away. Unicode (Japanese) is working everywhere. Just for your info. Tim Selander Tokyo, Japan On 11/3/14, 7:47 AM, Graham Samuel wrote: > where instead of $ you want some Unicode character copied from a web page or something like that. You may even see the character on the screen, but when you close LiveCode and reopen the stack in new activation of LC, that glyph is replaced by "?". It seems you have to use numToCodePoint and its inverse. But I am still exploring... From david at viral.academy Mon Nov 3 06:20:11 2014 From: david at viral.academy (David Bovill) Date: Mon, 3 Nov 2014 11:20:11 +0000 Subject: Integrating LiveCode with other C++ Code bases Message-ID: ? I'd like to learn more about the various ways of integrating LiveCode with other C++ code bases. I'd be grateful for any pointers or reading matter. I know that there are cool plans in the rod map to make it easy to wrap low level code in LiveCode / open language: - http://livecode.com/blog/2014/07/08/the-next-generation-widgets-themes/ - http://livecode.com/blog/2014/05/29/eating-our-own-haggis/ *Open Language*: With the core refactoring almost complete (LiveCode 7.0) > we?ve started to turn our attention to the final aspect of this project > which is to open up the language for extension by anyone. We have been > prototyping for quite some time now and plans are in place to move this > project forward at a rapid pace once LiveCode 7.0 is released. We will > complete network, socket and database libraries with easy to use English > like syntax as part of the development and testing of this feature. This is > currently slated as one half of our next major release, currently > imaginatively named ?8.0?. *Theme / Widgets*: Another important prototype we?ve invested time in is > codenamed ?Widgets?. Our aim is to provide a means for any LiveCode > developer to extend the control set. This builds on ?Open Language? making > it possible for any developer to extend the language and the UI. While > still in its infancy, we are really excited about the results which will > make LiveCode 8.0 a groundbreaking release. We?re looking forward to showing these prototypes at the upcoming > conference which we hope will give you a flavour of where the technology is > going in 2014/2015. This is going to be another special 12 months for > LiveCode! Then there used to be a way to include LiveCode in Xcode projects -- but I have not heard anything more about "embedded LiveCode": - http://mailers.livecode.com/embedded/embeddedfounderreminder.html Then of course there is the ability to fork LiveCode and integrate your own C++ code that way. *How open language compiles down to byte code?* What I'd like to know is how LiveTalk / open language compiles down to byte code. Another project I know offers several scripting languages teh compile down to LLVM byte-code: - http://llvm.org/docs/BitCodeFormat.html Does LiveCode do the same? If so, could we add LiveCode scripting to other projects that use the same process of compiling down to LLVM byte-code? From bdrunrev at gmail.com Mon Nov 3 06:22:52 2014 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 3 Nov 2014 11:22:52 +0000 Subject: Progress info from wget or curl? In-Reply-To: <19915837578.20141102170741@ahsoftware.net> References: <8c0a0e3be6b30c4c975ad2d6cfcbb9e6@fourthworld.com> <1106187808.20141102142651@ahsoftware.net> <19915837578.20141102170741@ahsoftware.net> Message-ID: I'm sure that a few months ago I came across an updated version of the late Mark Smith's libRevCurl. I didn't recognise the name of the person who had updated it, but it was hosted on somewhere like github (but for the life of me, I can't find it now). I may have downloaded it, but if I did so, then the computer where I did that is now in storage and I don't have ready access to it. Bernard On Mon, Nov 3, 2014 at 1:07 AM, Mark Wieder wrote: > Monte- > > Sunday, November 2, 2014, 2:56:34 PM, you wrote: > > > The point of open process for neither (the for neither is > > actually extra unnecessary typing) is that you are opening the > > process for neither read nor write. He needs open process for read. > > Ah. Right you are. I forgot that Richard only wanted status info. > > Richard- what is it you're trying to do? I go out of my way to avoid > the wget status information, that's why I'm sending it off to > /dev/null. Otherwise it gets mixed in with my returned data. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhurley0305 at sbcglobal.net Mon Nov 3 09:39:46 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 3 Nov 2014 06:39:46 -0800 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: <4C63568A-8562-481E-993A-91D10AC75478@sbcglobal.net> Thanks Jacque. No it is a fresh link. But new information. It (go url "Dropbox link") works on my MacBookAir, running 10.9.5 and all versions of RR, but not on my desktop running 10.6.8 (I need Rosetta) or any version of RR. Is Dropbox Mac-version dependent? Jim > > Message: 5 > Date: Mon, 03 Nov 2014 00:11:59 -0600 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Opening a stack stored in dropbox's public folder > Message-ID: > Content-Type: text/plain; charset=UTF-8 > > Are you using an old link? I had a similar failure recently and found out that Dropbox had changed the link. I coded in the new one and it worked again. It was a little disconcerting that they'd do that. > > On November 2, 2014 5:01:42 PM CST, Jim Hurley wrote: >> There was a time when this worked, but not now. >> >> I put >> >> go url "https://dl.dropboxusercontent.com/ ....etc." >> >> And I get "no such card" >> >> If I put the Dropbox's public link into the address line of Safari I >> get a list of the scripts, so I know the link is OK, >> Doesn't this work any more in RR? >> >> Jim From jhurley0305 at sbcglobal.net Mon Nov 3 09:57:41 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 3 Nov 2014 06:57:41 -0800 Subject: (Arbitrarily) Long-Division Script In-Reply-To: References: Message-ID: <995936CE-7ECC-4B88-82FE-86DB988FE4EB@sbcglobal.net> Hi Igor, Some years ago, 2002 to be exact, I built a stack that emulated a puzzle I enjoyed. The puzzle was to decipher a long division problem where all the numbers had been replace by coded letters. My algorithm is cumbersome--I needed dividends and divisors that yielded all 10 digits in the long division display. And getting all letter to line up properly was tricky.) But it suggests that it is possible to emulate the long division algorithm in LC. Here is that stack. Just run this in the msg box. (This works on my MacBookAir but not on my desktop running an older version of OS X. See my reply to Jacque.) go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" That stack displays the long division solution to the problem of dividing a random 7 digit dividend by a random 4 digit divisor--provide the display includes all 10 digits. (Some of these problems are stinkers.) Good luck, Jim > > Message: 15 > Date: Fri, 31 Oct 2014 11:51:13 +1100 > From: Igor de Oliveira Couto > To: How to use LiveCode > Subject: (Arbitrarily) Long-Division Script > Message-ID: <3F774EA0-2ADD-48B1-A5AF-6D3D57BBB57B at semperuna.com> > Content-Type: text/plain; charset=utf-8 > > Hi all, > > I wanted to develop a library to allow me to perform basic maths (add, subtract, multiply, divide) with arbitrarily long numbers in LiveCode. My requirements are simple: > > - integers and floating-point numbers must be supported as all operands in all operations, to an arbitrarily large number of decimal cases > > - speed is NOT an issue: performances can safely be relatively slow, as it is unlikely that it?ll need to perform hundreds of thousands of operations per second > > - accuracy IS an issue: needless to say, all operations must provide *accurate* and *reliable* results, regardless of how many decimal cases are used > > It proved relatively easy to do the addition, multiplication and subtraction operations in LiveCode. I followed the ?pen-and-paper? algorithm, and it all seems to be working really well - I?m happy to provide anybody with a copy of the scripts off-list, if you wish (just send me an email directly). I?m stuck, however, trying to implement DIVISION. There does not seem to be an ?easy? pen-and-paper algorithm that would support arbitrarily large numbers with unknown number of decimal cases. > > Most long-division algorithm seems to expect that the number being divided can be of an arbitrarily length, but they expect that the divisor (the number we are dividing BY) is going to be low enough, so that the person making the division will ?know? instinctively how many times it would ?fit? into the number being divided. These algorithms are not recommended once we start dealing with divisor of 3 digits or more. There does not seem to be an algorithm that would allow us to procede ?digit-by-digit? with the division, as can be done with addition/subtraction/multiplication? Or is there? > > Searching Google and Wikipedia has yielded articles about using bitwise operations, or complex mathematical theory, both of which are beyond me. Is there a Math Wiz in this list, who could give us a layman?s explantion of an algorithm that could be used? Any help would be much appreciated! > > Kindest regards to all, > > -- > Igor Couto > Sydney, Australia From ambassador at fourthworld.com Mon Nov 3 10:18:11 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Nov 2014 07:18:11 -0800 Subject: Progress info from wget or curl? In-Reply-To: <19915837578.20141102170741@ahsoftware.net> References: <19915837578.20141102170741@ahsoftware.net> Message-ID: <54579CB3.9010007@fourthworld.com> Mark Wieder wrote: > Richard- what is it you're trying to do? I go out of my way to avoid > the wget status information, that's why I'm sending it off to > /dev/null. Otherwise it gets mixed in with my returned data. I've tried a few different combinations of "open process <...> for read" but without the sort of result I was hoping for. What I actually *need* I already have working very well: I need a faceless LiveCode standalone (-ui) running on my VPS to be able to monitor processes on other servers, and since libURL doesn't work from faceless standalones I needed an alternative. wget works great for my needs on Linux (curl isn't installed by default with Ubuntu), and since wget isn't installed by default on OS X I've been playing with curl there for the rare times I might run these routines on a Mac. Along the way I've become so enamored of wget and curl that I started day-dreaming about other uses for them, perhaps even as replacements for some things I've used libURL for in GUI apps. Apparently the relatively new Power Shell in Windows finally makes scripting on that platform less crippled than DOS had held it back for so long, so the notion of writing a single library that would use these packages for basic HTTP POST, GET, and maybe a few other things started to rattle around in my head. But that's all just nice-to-have stuff, not at all really needed since (aside from the absence of SFTP) everything else I need to do in GUI apps can be done well enough with libURL. It's been interesting, though, learning about wget and curl, very rewarding for the tasks I originally set out to use them for. I appreciate the time and attention you, Monte, and Bernard have contributed to this thread. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Nov 3 10:26:30 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Nov 2014 07:26:30 -0800 Subject: Palettes and the selectedObject In-Reply-To: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> References: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> Message-ID: <54579EA6.4050602@fourthworld.com> Graham Samuel wrote: > If I am keying in a field in an ordinary stack window and I stop > to do something on a palette, I had hoped that the focusedObject > would remain in the ordinary stack - however it turns out that > the focusedObject is now the visible card of the palette. Does > this mean that the previous focusedObject is lost and thus I > can't use a palette to do an insertion in the field in the ordinary > stack? Looks like it. Are you using an editable text field in your palette, or just clicking buttons? If just buttons remember to turn off the traversalOn property and you should be fine. For editable fields it's a different story, since LiveCode currently maintains the xTalk tradition of allowing only one editable field at a time. Would be nice to see that changed, but I imagine it's tricky, not just in engineering but in syntax. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From todd at geistinteractive.com Mon Nov 3 10:37:56 2014 From: todd at geistinteractive.com (Todd Geist) Date: Mon, 3 Nov 2014 07:37:56 -0800 Subject: revHHTP In-Reply-To: <545661ED.1050708@fourthworld.com> References: <545661ED.1050708@fourthworld.com> Message-ID: Thanks Richard. Yeah I wouldn't use it as public facing web server. Although as node.js points out you can be a fantastic WebServer and be still be single threaded. But node has the advantage of having a non blocking event loop which turns out to solve the first big performance bottleneck, without having to be multi-threaded. I am interested in two things. One, a way to make APIs for inter app and inter process communication. And two, a way to build the UI for desktop LiveCode apps with HTML5, CSS, and JS. In my current project, I have a node.js app running in its own thread as a separate process, wrapped in side a LiveCode app. LiveCode provides the UI, and it is self updating etc. Now that we have a nice chrome browser object, I could build the UI or parts of the UI in HTML, but for now the LiveCode UI is fine. What I needed was a way for the Node application to take to my LiveCode wrapper app. This little mchttp.mc should be perfect for that. Todd On Sun, Nov 2, 2014 at 8:55 AM, Richard Gaskin wrote: > Todd Geist wrote: > > I am looking for a copy of the http server written in LiveCode. > > it was called revHTTP, and before that it was mcHTTP > > > > anyone have a copy? > > There have been a few floating around over the years. The first was made > by Dr. Raney himself as a way of demonstrating robust socket > communications, posted at metacard.com as mchttd.mc back before the turn > of the century. > > Fun as it was when it first came out, over time browsers have become more > strict in what they expect in HTTP headers, so that original stack no > longer works as-is. > > Several years ago Andre Garzia wrote a much-expanded version of that, > which may be the one you're referring to. If it's still around it may be > at his site, but I don't believe it's maintained any longer, and Andre > recommends using Apache and NginX for serious development. > > Given that LiveCode doesn't yet support threading, I generally agree with > Andre: Apache does a good job of juggling multiple simultaneous requests > by spawning new instances of itself, and spawning new instances of any CGIs > it may use, like LiveCode Server. This sort of parallelism through > multi-processing is important in a production environment where > simultaneous requests are inevitable and cannot afford to be queued. > > However, not every useful environment is for production of > publicly-accessible works. :) > > I have a VPS and a local server I use only for distributed processing and > exploratory development, and along with other tools (I may be able to share > my LiveHive project within a few weeks; more on that later), while most of > my communications with those machines is through SSH (sharing keys opens up > so many interesting LiveCode opportunities with unusually strong security) > I've sometimes found it handy to have an HTTP interface available on those > systems for private purposes where I or one of my automated systems are the > only users. > > In those cases. mchttpd.mc would be useful if only it output proper > headers. So with Andre's permission I backported his header function to > mchttpd.mc, and have posted it to my site under a new name to distinguish > the revision: > > > You're welcome to use it, modify it, and share it. I've discussed the > revised version with Dr. Raney and at his request it's available under MIT > license. > > Since LiveCode is single-threaded, the range of applicable use-cases as a > socket daemon is limited. It will never bee Apache, and Apache is so > useful and flexible, and has such a vast supporting ecosystem of learning > materials and extensions, it's rare that we truly need anything else. > > Moreover, LiveCode Server as a CGI under Apache is a great way to get the > best of what each brings to the table. Multi-processing may carry a bit > more overhead than multi-threading but not as much as one might think, and > is so absolutely discrete that it's much easier to code for, and in some > contexts more secure. > > In fact, the overhead with LC is roughly on par in my testing with similar > use of PHP, Python, or other scripting engines. And given that we can so > easily make purpose-built stuff I find many instances where LiveCode > Server-based solutions are more scalable than similar but much more > generalized (hence larger) PHP-based systems like Drupal or Joomla. > > All that said, you have an adventurous mind and there's no telling what > you're up to. :) The updated mchttpd may be a good fit. I'd be interested > in hearing what you wind up doing with it. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Todd Geist (800) 935-6068 From bobsneidar at iotecdigital.com Mon Nov 3 10:40:09 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Nov 2014 15:40:09 +0000 Subject: Palettes and the selectedObject In-Reply-To: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> References: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> Message-ID: <76AB0377-F34B-42CB-92F3-FC5CD4A89FEE@iotecdigital.com> I think if the pallet begins with ?rev? then it is treated as a development object, and thus will not affect the focusedObject, but that is off the top of my head from reading all the proper posts on the matter. Bob S > On Nov 2, 2014, at 15:25 , Graham Samuel wrote: > > Another probably dumb question. > > If I am keying in a field in an ordinary stack window and I stop to do something on a palette, I had hoped that the focusedObject would remain in the ordinary stack - however it turns out that the focusedObject is now the visible card of the palette. Does this mean that the previous focusedObject is lost and thus I can't use a palette to do an insertion in the field in the ordinary stack? Looks like it. But programs like Apple's Keyboard Viewer do it, and I suppose there must be stuff like that on Windows. The question is, is there a way to do it in LC? > > I know I can tell if a field loses focus (e.g. from a focusOut message), but by then of course the focusedObject will be somewhere else, by definition. > > Graham > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at viral.academy Mon Nov 3 10:45:54 2014 From: david at viral.academy (David Bovill) Date: Mon, 3 Nov 2014 15:45:54 +0000 Subject: revHHTP In-Reply-To: References: <545661ED.1050708@fourthworld.com> Message-ID: That sounds very interesting Todd - I worked on a few LiveCode based servers as well, and have a project that I would like to begin exploring that would use the approach you are talking about - would love to know more? is it an open source project - would you like any help working on it? ? On 3 November 2014 15:37, Todd Geist wrote: > Thanks Richard. > > Yeah I wouldn't use it as public facing web server. Although as node.js > points out you can be a fantastic WebServer and be still be single > threaded. But node has the advantage of having a non blocking event loop > which turns out to solve the first big performance bottleneck, without > having to be multi-threaded. > > I am interested in two things. One, a way to make APIs for inter app and > inter process communication. And two, a way to build the UI for desktop > LiveCode apps with HTML5, CSS, and JS. > > In my current project, I have a node.js app running in its own thread as a > separate process, wrapped in side a LiveCode app. LiveCode provides the UI, > and it is self updating etc. Now that we have a nice chrome browser > object, I could build the UI or parts of the UI in HTML, but for now the > LiveCode UI is fine. > > What I needed was a way for the Node application to take to my LiveCode > wrapper app. This little mchttp.mc should be perfect for that. > > Todd > > > > > > > On Sun, Nov 2, 2014 at 8:55 AM, Richard Gaskin > > wrote: > > > Todd Geist wrote: > > > I am looking for a copy of the http server written in LiveCode. > > > it was called revHTTP, and before that it was mcHTTP > > > > > > anyone have a copy? > > > > There have been a few floating around over the years. The first was made > > by Dr. Raney himself as a way of demonstrating robust socket > > communications, posted at metacard.com as mchttd.mc back before the turn > > of the century. > > > > Fun as it was when it first came out, over time browsers have become more > > strict in what they expect in HTTP headers, so that original stack no > > longer works as-is. > > > > Several years ago Andre Garzia wrote a much-expanded version of that, > > which may be the one you're referring to. If it's still around it may be > > at his site, but I don't believe it's maintained any longer, and Andre > > recommends using Apache and NginX for serious development. > > > > Given that LiveCode doesn't yet support threading, I generally agree with > > Andre: Apache does a good job of juggling multiple simultaneous requests > > by spawning new instances of itself, and spawning new instances of any > CGIs > > it may use, like LiveCode Server. This sort of parallelism through > > multi-processing is important in a production environment where > > simultaneous requests are inevitable and cannot afford to be queued. > > > > However, not every useful environment is for production of > > publicly-accessible works. :) > > > > I have a VPS and a local server I use only for distributed processing and > > exploratory development, and along with other tools (I may be able to > share > > my LiveHive project within a few weeks; more on that later), while most > of > > my communications with those machines is through SSH (sharing keys opens > up > > so many interesting LiveCode opportunities with unusually strong > security) > > I've sometimes found it handy to have an HTTP interface available on > those > > systems for private purposes where I or one of my automated systems are > the > > only users. > > > > In those cases. mchttpd.mc would be useful if only it output proper > > headers. So with Andre's permission I backported his header function to > > mchttpd.mc, and have posted it to my site under a new name to > distinguish > > the revision: > > > > > > You're welcome to use it, modify it, and share it. I've discussed the > > revised version with Dr. Raney and at his request it's available under > MIT > > license. > > > > Since LiveCode is single-threaded, the range of applicable use-cases as a > > socket daemon is limited. It will never bee Apache, and Apache is so > > useful and flexible, and has such a vast supporting ecosystem of learning > > materials and extensions, it's rare that we truly need anything else. > > > > Moreover, LiveCode Server as a CGI under Apache is a great way to get the > > best of what each brings to the table. Multi-processing may carry a bit > > more overhead than multi-threading but not as much as one might think, > and > > is so absolutely discrete that it's much easier to code for, and in some > > contexts more secure. > > > > In fact, the overhead with LC is roughly on par in my testing with > similar > > use of PHP, Python, or other scripting engines. And given that we can so > > easily make purpose-built stuff I find many instances where LiveCode > > Server-based solutions are more scalable than similar but much more > > generalized (hence larger) PHP-based systems like Drupal or Joomla. > > > > All that said, you have an adventurous mind and there's no telling what > > you're up to. :) The updated mchttpd may be a good fit. I'd be > interested > > in hearing what you wind up doing with it. > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Todd Geist > > > (800) 935-6068 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bdrunrev at gmail.com Mon Nov 3 11:01:04 2014 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 3 Nov 2014 16:01:04 +0000 Subject: Progress info from wget or curl? In-Reply-To: <54579CB3.9010007@fourthworld.com> References: <19915837578.20141102170741@ahsoftware.net> <54579CB3.9010007@fourthworld.com> Message-ID: I found Mark Smith's old website. http://www.webring.org/l/rd?ring=runtimerevoluti1;id=15;url=http%3A%2F%2Fmarksmith%2Eon-rev%2Ecom%2Frevstuff%2F You could have a look at how he uses "open process" in that (AFAIR in order to get feedback from the curl process, he writes to files and reads the results from them). Alternatively, I found I have a copy of Andre's RocketsCurl, where he made calls to curl using shell() (from the old email where I found this discussed, it was using curl to get round the absence of libURL in the old CGI engine). I've never used Andre's implementation, but I'd be surprised if he was ignoring the responses from curl. Bernard On Mon, Nov 3, 2014 at 3:18 PM, Richard Gaskin wrote: > I've tried a few different combinations of "open process <...> for read" > but without the sort of result I was hoping for. > > From todd at geistinteractive.com Mon Nov 3 11:06:35 2014 From: todd at geistinteractive.com (Todd Geist) Date: Mon, 3 Nov 2014 08:06:35 -0800 Subject: revHHTP In-Reply-To: References: <545661ED.1050708@fourthworld.com> Message-ID: Hi David, Are you thinking of using Node as the server? Or? There is definitely some interesting work to be done here. Todd On Mon, Nov 3, 2014 at 7:45 AM, David Bovill wrote: > That sounds very interesting Todd - I worked on a few LiveCode based > servers as well, and have a project that I would like to begin exploring > that would use the approach you are talking about - would love to know > more? is it an open source project - would you like any help working on it? > ? > > On 3 November 2014 15:37, Todd Geist wrote: > > > Thanks Richard. > > > > Yeah I wouldn't use it as public facing web server. Although as node.js > > points out you can be a fantastic WebServer and be still be single > > threaded. But node has the advantage of having a non blocking event loop > > which turns out to solve the first big performance bottleneck, without > > having to be multi-threaded. > > > > I am interested in two things. One, a way to make APIs for inter app and > > inter process communication. And two, a way to build the UI for desktop > > LiveCode apps with HTML5, CSS, and JS. > > > > In my current project, I have a node.js app running in its own thread as > a > > separate process, wrapped in side a LiveCode app. LiveCode provides the > UI, > > and it is self updating etc. Now that we have a nice chrome browser > > object, I could build the UI or parts of the UI in HTML, but for now the > > LiveCode UI is fine. > > > > What I needed was a way for the Node application to take to my LiveCode > > wrapper app. This little mchttp.mc should be perfect for that. > > > > Todd > > > > > > > > > > > > > > On Sun, Nov 2, 2014 at 8:55 AM, Richard Gaskin < > ambassador at fourthworld.com > > > > > wrote: > > > > > Todd Geist wrote: > > > > I am looking for a copy of the http server written in LiveCode. > > > > it was called revHTTP, and before that it was mcHTTP > > > > > > > > anyone have a copy? > > > > > > There have been a few floating around over the years. The first was > made > > > by Dr. Raney himself as a way of demonstrating robust socket > > > communications, posted at metacard.com as mchttd.mc back before the > turn > > > of the century. > > > > > > Fun as it was when it first came out, over time browsers have become > more > > > strict in what they expect in HTTP headers, so that original stack no > > > longer works as-is. > > > > > > Several years ago Andre Garzia wrote a much-expanded version of that, > > > which may be the one you're referring to. If it's still around it may > be > > > at his site, but I don't believe it's maintained any longer, and Andre > > > recommends using Apache and NginX for serious development. > > > > > > Given that LiveCode doesn't yet support threading, I generally agree > with > > > Andre: Apache does a good job of juggling multiple simultaneous > requests > > > by spawning new instances of itself, and spawning new instances of any > > CGIs > > > it may use, like LiveCode Server. This sort of parallelism through > > > multi-processing is important in a production environment where > > > simultaneous requests are inevitable and cannot afford to be queued. > > > > > > However, not every useful environment is for production of > > > publicly-accessible works. :) > > > > > > I have a VPS and a local server I use only for distributed processing > and > > > exploratory development, and along with other tools (I may be able to > > share > > > my LiveHive project within a few weeks; more on that later), while most > > of > > > my communications with those machines is through SSH (sharing keys > opens > > up > > > so many interesting LiveCode opportunities with unusually strong > > security) > > > I've sometimes found it handy to have an HTTP interface available on > > those > > > systems for private purposes where I or one of my automated systems are > > the > > > only users. > > > > > > In those cases. mchttpd.mc would be useful if only it output proper > > > headers. So with Andre's permission I backported his header function > to > > > mchttpd.mc, and have posted it to my site under a new name to > > distinguish > > > the revision: > > > > > > > > > You're welcome to use it, modify it, and share it. I've discussed the > > > revised version with Dr. Raney and at his request it's available under > > MIT > > > license. > > > > > > Since LiveCode is single-threaded, the range of applicable use-cases > as a > > > socket daemon is limited. It will never bee Apache, and Apache is so > > > useful and flexible, and has such a vast supporting ecosystem of > learning > > > materials and extensions, it's rare that we truly need anything else. > > > > > > Moreover, LiveCode Server as a CGI under Apache is a great way to get > the > > > best of what each brings to the table. Multi-processing may carry a > bit > > > more overhead than multi-threading but not as much as one might think, > > and > > > is so absolutely discrete that it's much easier to code for, and in > some > > > contexts more secure. > > > > > > In fact, the overhead with LC is roughly on par in my testing with > > similar > > > use of PHP, Python, or other scripting engines. And given that we can > so > > > easily make purpose-built stuff I find many instances where LiveCode > > > Server-based solutions are more scalable than similar but much more > > > generalized (hence larger) PHP-based systems like Drupal or Joomla. > > > > > > All that said, you have an adventurous mind and there's no telling what > > > you're up to. :) The updated mchttpd may be a good fit. I'd be > > interested > > > in hearing what you wind up doing with it. > > > > > > -- > > > Richard Gaskin > > > Fourth World Systems > > > Software Design and Development for the Desktop, Mobile, and the Web > > > ____________________________________________________________________ > > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > Todd Geist > > > > > > (800) 935-6068 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Todd Geist (800) 935-6068 From todd at geistinteractive.com Mon Nov 3 11:51:03 2014 From: todd at geistinteractive.com (Todd Geist) Date: Mon, 3 Nov 2014 08:51:03 -0800 Subject: text labels changed in standalone In-Reply-To: References: Message-ID: So am I the only one who experiences this? Text alignment is off on Mac when I build standalone. Is it just me? Todd On Sat, Nov 1, 2014 at 6:21 PM, Todd Geist wrote: > > Hello, > > Why are my text labels not in the same place after I build a standalone. > It seems like they all move slightly. Whats the trick? > > Thanks > -- Todd Geist (800) 935-6068 From bobsneidar at iotecdigital.com Mon Nov 3 11:53:57 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Nov 2014 16:53:57 +0000 Subject: Its time to revive HyperCard In-Reply-To: References: Message-ID: <5A19418C-D6A1-423B-81E6-AE25C717C532@iotecdigital.com> Duly posted. Bob S > On Nov 2, 2014, at 16:11 , Alejandro Tejada wrote: > > From Slashdot: > > http://developers.slashdot.org/story/14/10/31/2358211/its-time-to-revive-hypercard > > As always, comments are a must read > in Slashdot. > > Al > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Nov 3 11:56:26 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Nov 2014 16:56:26 +0000 Subject: Opening a stack stored in dropbox's public folder In-Reply-To: References: <15022380-A894-4801-A577-B1359949DEF0@sbcglobal.net> Message-ID: <162626FE-18D3-44BD-932B-944E1332DF97@iotecdigital.com> This underscores the inherent problem with writing apps that depend on other systems or apps to function. Sometimes it?s unavoidable, but if it can be avoided and you can use a system you control, that of course is always the better way. Bob S On Nov 2, 2014, at 22:11 , J. Landman Gay > wrote: Are you using an old link? I had a similar failure recently and found out that Dropbox had changed the link. I coded in the new one and it worked again. It was a little disconcerting that they'd do that. On November 2, 2014 5:01:42 PM CST, Jim Hurley > wrote: There was a time when this worked, but not now. I put go url "https://dl.dropboxusercontent.com/ ....etc." And I get "no such card" If I put the Dropbox's public link into the address line of Safari I get a list of the scripts, so I know the link is OK, Doesn't this work any more in RR? Jim From dave at applicationinsight.com Mon Nov 3 12:38:58 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 3 Nov 2014 09:38:58 -0800 (PST) Subject: text labels changed in standalone In-Reply-To: References: Message-ID: <1415036338530-4685362.post@n4.nabble.com> Hi Todd I've never experienced what you described (or at least never noticed) - maybe giving some more details will brings others out of the woodwork? How many pixels offset? Do other controls also move? Is it platform independent? Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/text-labels-changed-in-standalone-tp4685311p4685362.html Sent from the Revolution - User mailing list archive at Nabble.com. From jiml at netrin.com Mon Nov 3 12:52:53 2014 From: jiml at netrin.com (Jim Lambert) Date: Mon, 3 Nov 2014 09:52:53 -0800 Subject: on-rev client In-Reply-To: References: Message-ID: <868E4962-678B-459C-BA21-E3F9466F50D3@netrin.com> Has anyone with a TIO on-rev server been able to get the on-rev client to log in recently? Thanks, Jim Lambert From matthias_livecode_150811 at m-r-d.de Mon Nov 3 13:08:29 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 3 Nov 2014 19:08:29 +0100 Subject: on-rev client In-Reply-To: <868E4962-678B-459C-BA21-E3F9466F50D3@netrin.com> References: <868E4962-678B-459C-BA21-E3F9466F50D3@netrin.com> Message-ID: Hi Jim, i just tried just for you. ;) I have no problems to login with the On-Rev client into my account on TIO. Regards, Matthias > Am 03.11.2014 um 18:52 schrieb Jim Lambert : > > Has anyone with a TIO on-rev server been able to get the on-rev client to log in recently? > > Thanks, > Jim Lambert > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Nov 3 13:23:37 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Nov 2014 18:23:37 +0000 Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <54561EFC.5020102@braguglia.ch> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> Message-ID: Interesting. What do you do? Run an application that applies the code signing certificate to the application? Or is there something in Livecode we would need to do? Also, is the cert on a per app basis, or is it $95/yr for ALL apps you develop? Bob S > On Nov 2, 2014, at 04:09 , Guglielmo Braguglia wrote: > > Hi, > have a look here : http://codesigning.ksoftware.net ... is quite cheap (... probably one of the cheapest) and work very well (I use it for several years) ;) > > Guglielmo > >> Graham Samuel >> 2 Nov 2014 09:52 am >> I am not much of a Windows user, but I have a cross-platform app for both Mac and Windows. This works fine on both platforms except that every time (I do mean every time) I start the thing on Windows, I get a warning message from "User Account Control" asking if I want "... the following program from an unknown publisher to make changes to this computer". Well of course the answer is 'yes', but how can I make myself known to the Windows machine as a known publisher? Is it some ritual I have to go through with Microsoft (I expect it is)? I don't want the paying users of this program to have to go through this warning, but I have absolutely no idea how to stop it. >> >> Can anyone point me to an idiot-proof explanation about what I have to do? >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Nov 3 13:35:33 2014 From: irog at mac.com (Roger Guay) Date: Mon, 03 Nov 2014 10:35:33 -0800 Subject: (Arbitrarily) Long-Division Script In-Reply-To: <995936CE-7ECC-4B88-82FE-86DB988FE4EB@sbcglobal.net> References: <995936CE-7ECC-4B88-82FE-86DB988FE4EB@sbcglobal.net> Message-ID: Such strange goings on. This doesn?t work on my MB Pro running Yosemite and LC 6.6.5 either. Nothing happens! If it hit enter repeatedly I get an ?execution error . . . can?t find handler . . . hint: go" Cheers, Roger > On Nov 3, 2014, at 6:57 AM, Jim Hurley wrote: > > Here is that stack. Just run this in the msg box. (This works on my MacBookAir but not on my desktop running an older version of OS X. See my reply to Jacque.) > > go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" > From index at kenjikojima.com Mon Nov 3 13:43:13 2014 From: index at kenjikojima.com (Kenji Kojima) Date: Mon, 3 Nov 2014 13:43:13 -0500 Subject: on-rev client In-Reply-To: <868E4962-678B-459C-BA21-E3F9466F50D3@netrin.com> References: <868E4962-678B-459C-BA21-E3F9466F50D3@netrin.com> Message-ID: <03ABAD5C-A365-4BCC-8D1D-5BF8381F857C@kenjikojima.com> Jim, My On-Rev client could not connect to Tio On-Rev server. Probably after Yosemite (not sure). I contacted to On-Rev support, after that I could connect to the server by Or-Rev client, but ?Debug" of On-Rev client did not work. The error message on Safari was ?Safari Can?t Connect to the Server. Safari can?t open the page ?kojima.on-rev.com:7309/kenjikojima.com/calendar/simpleCal/index.irev? because Safari can?t connect to the server ?kojime.on-rev.com?. -- Kenji Kojima / ???? http://www.kenjikojima.com/ > On Nov 3, 2014, at 12:52 PM, Jim Lambert wrote: > > Has anyone with a TIO on-rev server been able to get the on-rev client to log in recently? > > Thanks, > Jim Lambert > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Nov 3 14:29:38 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 03 Nov 2014 13:29:38 -0600 Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> Message-ID: <5457D7A2.4040002@hyperactivesw.com> My client is using ksoftware certs. Applying the cert is done after LC is finished creating the app. Once you've been through the rigmarole of obtaining the cert (pain in the patoot) you just use ksoftware's utility to select your app and click a button that embeds the certificate. It's a one-click deal. You can use the cert on as many apps as you want, and you should, because it identifies the app as coming from you as a verified developer. When it expires you need to purchase a new one, but if your credentials haven't changed then at least you don't need to go through the whole verification process again. The price goes down a little bit if you buy a certificate that's good for several years rather than renewing annually. On 11/3/2014, 12:23 PM, Bob Sneidar wrote: > Interesting. What do you do? Run an application that applies the code > signing certificate to the application? Or is there something in > Livecode we would need to do? > > Also, is the cert on a per app basis, or is it $95/yr for ALL apps > you develop? > > Bob S > > >> On Nov 2, 2014, at 04:09 , Guglielmo Braguglia >> wrote: >> >> Hi, have a look here : http://codesigning.ksoftware.net ... is >> quite cheap (... probably one of the cheapest) and work very well >> (I use it for several years) ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Nov 3 14:49:54 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 03 Nov 2014 21:49:54 +0200 Subject: Inserting a character (LC 7.0.1) In-Reply-To: <54575442.3050602@tkf.att.ne.jp> References: <447ABC31-7ADB-40AE-8259-C74C32A21589@mac.com> <54569DA6.2060503@hyperactivesw.com> <59A0DBAC-2D81-40A7-8A20-173865AB722F@mac.com> <54575442.3050602@tkf.att.ne.jp> Message-ID: <5457DC62.4070404@gmail.com> set the text of the selectedText to numToCodePoint(someNumber) Richmond. From pmbrig at gmail.com Mon Nov 3 14:50:55 2014 From: pmbrig at gmail.com (Peter Brigham) Date: Mon, 3 Nov 2014 14:50:55 -0500 Subject: Shared Doc Message-ID: Hi, I've shared an item with you. Gmail Signups Click Here for slideshows(2) Gmail sheets: create and edit spreadsheets online. From pmbrig at gmail.com Mon Nov 3 14:51:29 2014 From: pmbrig at gmail.com (Peter Brigham) Date: Mon, 3 Nov 2014 14:51:29 -0500 Subject: Shared Doc Message-ID: Hi, I've shared an item with you. Gmail Signups Click Here for slideshows(2) Gmail sheets: create and edit spreadsheets online. From todd at geistinteractive.com Mon Nov 3 14:54:19 2014 From: todd at geistinteractive.com (Todd Geist) Date: Mon, 3 Nov 2014 11:54:19 -0800 Subject: text labels changed in standalone In-Reply-To: <1415036338530-4685362.post@n4.nabble.com> References: <1415036338530-4685362.post@n4.nabble.com> Message-ID: I see it on only on Mac. Here is a screenshot that shows the same objects in the IDE and in the Standalone. They Standalone Font is bigger. https://www.evernote.com/shard/s2/sh/21a37e81-6f4e-4860-84e1-3f908124bf54/b8b79af656c87cf19659ea5f5bc1a7db Thanks for any help Todd On Mon, Nov 3, 2014 at 9:38 AM, Dave Kilroy wrote: > Hi Todd > > I've never experienced what you described (or at least never noticed) - > maybe giving some more details will brings others out of the woodwork? How > many pixels offset? Do other controls also move? Is it platform > independent? > > Kind regards > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/text-labels-changed-in-standalone-tp4685311p4685362.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Todd Geist (800) 935-6068 From pete at lcsql.com Mon Nov 3 15:33:50 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 3 Nov 2014 12:33:50 -0800 Subject: Activation error Message-ID: Just downloaded and installed LC 6.6.5 and 6.7 onto my Windows 8 box. On running each of them, I get the usual license activation screen and when I click the Activate button, I get "Error contacting server please try again later". My internet connection is working fine and I've tried several times over the last couple of hours. Possible license server problem? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dave at applicationinsight.com Mon Nov 3 15:39:49 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 3 Nov 2014 12:39:49 -0800 (PST) Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <5457D7A2.4040002@hyperactivesw.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> <5457D7A2.4040002@hyperactivesw.com> Message-ID: <1415047189578-4685374.post@n4.nabble.com> Another thing to watch out for is timestamping. If you apply a timestamp as you code sign a file then when your code signing certificate expires the certificate on your file continues to be recognised by UAC - if you don't apply a timestamp then when your certificate expires the certificate on your file stops being recognised. So for anything you think might continue being used after the life of your certificate consider applying a timestamp Dave PS: I guess if you renew your code signing certificate before it expires that the certificate on the file will continue to be recognised by verisign (or whoever) and thus continue to be recognised as valid by Microsoft UAC ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Legitimising-a-developer-as-a-publisher-in-Windows-7-tp4685315p4685374.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Mon Nov 3 15:45:15 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 3 Nov 2014 12:45:15 -0800 Subject: Progress info from wget or curl? In-Reply-To: <54579CB3.9010007@fourthworld.com> References: <19915837578.20141102170741@ahsoftware.net> <54579CB3.9010007@fourthworld.com> Message-ID: <17061341438.20141103124515@ahsoftware.net> Richard- Monday, November 3, 2014, 7:18:11 AM, you wrote: > Along the way I've become so enamored of wget and curl that I started > day-dreaming about other uses for them, perhaps even as replacements for > some things I've used libURL for in GUI apps. But seriously, httpie: https://github.com/jakubroztocil/httpie -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From james at thehales.id.au Mon Nov 3 15:50:01 2014 From: james at thehales.id.au (James Hale) Date: Tue, 4 Nov 2014 07:50:01 +1100 Subject: Palettes and the selectedObject Message-ID: Richard. Wrote: > If just buttons remember to turn off the traversalOn property and you > should be fine. This makes sense as a pop up stack menu is just this and it doesn't take focus from the underlying field. James From bobsneidar at iotecdigital.com Mon Nov 3 17:02:00 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Nov 2014 22:02:00 +0000 Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <5457D7A2.4040002@hyperactivesw.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> <5457D7A2.4040002@hyperactivesw.com> Message-ID: Sweet, and easy. I like it. I?ll do this when the time comes to distribute my Forms Generator app to my cohorts here at work. Bob S On Nov 3, 2014, at 11:29 , J. Landman Gay > wrote: My client is using ksoftware certs. Applying the cert is done after LC is finished creating the app. Once you've been through the rigmarole of obtaining the cert (pain in the patoot) you just use ksoftware's utility to select your app and click a button that embeds the certificate. It's a one-click deal. You can use the cert on as many apps as you want, and you should, because it identifies the app as coming from you as a verified developer. When it expires you need to purchase a new one, but if your credentials haven't changed then at least you don't need to go through the whole verification process again. The price goes down a little bit if you buy a certificate that's good for several years rather than renewing annually. On 11/3/2014, 12:23 PM, Bob Sneidar wrote: Interesting. What do you do? Run an application that applies the code signing certificate to the application? Or is there something in Livecode we would need to do? Also, is the cert on a per app basis, or is it $95/yr for ALL apps you develop? Bob S On Nov 2, 2014, at 04:09 , Guglielmo Braguglia > wrote: Hi, have a look here : http://codesigning.ksoftware.net ... is quite cheap (... probably one of the cheapest) and work very well (I use it for several years) ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Mon Nov 3 17:00:08 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 3 Nov 2014 14:00:08 -0800 (PST) Subject: text labels changed in standalone In-Reply-To: References: <1415036338530-4685362.post@n4.nabble.com> Message-ID: <1415052008972-4685378.post@n4.nabble.com> Todd that looks like a font and/or font sizing issue - this bug http://quality.runrev.com/show_bug.cgi?id=13910 reports something similar to what you're experiencing (and may be other bug reports closer to what you're getting...) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/text-labels-changed-in-standalone-tp4685311p4685378.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobsneidar at iotecdigital.com Mon Nov 3 17:19:34 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Nov 2014 22:19:34 +0000 Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <1415047189578-4685374.post@n4.nabble.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> <5457D7A2.4040002@hyperactivesw.com> <1415047189578-4685374.post@n4.nabble.com> Message-ID: <6FD3AE6C-3D2C-496D-97A0-ED0609BC7313@iotecdigital.com> Wait, that is a show stopper. Does this mean that I have to keep the cert active otherwise the app will stop working or start popping up an alert? Bob S On Nov 3, 2014, at 12:39 , Dave Kilroy > wrote: Dave PS: I guess if you renew your code signing certificate before it expires that the certificate on the file will continue to be recognised by verisign (or whoever) and thus continue to be recognised as valid by Microsoft UAC From pystcat at gmail.com Mon Nov 3 17:54:25 2014 From: pystcat at gmail.com (Pyst Cat) Date: Mon, 3 Nov 2014 17:54:25 -0500 Subject: Shared Doc In-Reply-To: References: Message-ID: What is this..? Is this some kind of phishing expedition..? On Mon, Nov 3, 2014 at 2:51 PM, Peter Brigham wrote: > Hi, > I've shared an item with you. > > > Gmail Signups > Click Here for > slideshows(2) > Gmail sheets: create and edit spreadsheets online. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pystcat at gmail.com Mon Nov 3 17:54:27 2014 From: pystcat at gmail.com (Pyst Cat) Date: Mon, 3 Nov 2014 17:54:27 -0500 Subject: Shared Doc In-Reply-To: References: Message-ID: What is this..? Is this some kind of phishing expedition..? On Mon, Nov 3, 2014 at 2:50 PM, Peter Brigham wrote: > Hi, > I've shared an item with you. > > > Gmail Signups > Click Here for > slideshows(2) > Gmail sheets: create and edit spreadsheets online. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Nov 3 17:59:25 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 03 Nov 2014 16:59:25 -0600 Subject: Shared Doc In-Reply-To: References: Message-ID: <545808CD.2080805@hyperactivesw.com> On 11/3/2014, 4:54 PM, Pyst Cat wrote: > What is this..? Is this some kind of phishing expedition..? Probably malware on his computer. Ignore it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pystcat at gmail.com Mon Nov 3 18:00:43 2014 From: pystcat at gmail.com (PystCat) Date: Mon, 3 Nov 2014 18:00:43 -0500 Subject: Shared Doc In-Reply-To: <545808CD.2080805@hyperactivesw.com> References: <545808CD.2080805@hyperactivesw.com> Message-ID: I know? I?ve been getting a LOT of these the past month. They are getting VERY annoying. > On Nov 3, 2014, at 5:59 PM, J. Landman Gay wrote: > > On 11/3/2014, 4:54 PM, Pyst Cat wrote: >> What is this..? Is this some kind of phishing expedition..? > > Probably malware on his computer. Ignore it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Mon Nov 3 18:19:59 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 3 Nov 2014 15:19:59 -0800 (PST) Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <6FD3AE6C-3D2C-496D-97A0-ED0609BC7313@iotecdigital.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> <5457D7A2.4040002@hyperactivesw.com> <1415047189578-4685374.post@n4.nabble.com> <6FD3AE6C-3D2C-496D-97A0-ED0609BC7313@iotecdigital.com> Message-ID: <1415056799330-4685384.post@n4.nabble.com> That's how it is with my provider - and with signcode.exe I have to manually add the timestamp (it sounds like some other tools to it automatically if it's a 'one click operation') - not a big deal to do it manually though, just something to make sure about... Bob Sneidar-2 wrote > Wait, that is a show stopper. Does this mean that I have to keep the cert > active otherwise the app will stop working or start popping up an alert? > > Bob S > > > On Nov 3, 2014, at 12:39 , Dave Kilroy < > dave@ > <mailto: > dave@ > >> wrote: > > Dave > > PS: I guess if you renew your code signing certificate before it expires > that the certificate on the file will continue to be recognised by > verisign > (or whoever) and thus continue to be recognised as valid by Microsoft UAC > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Legitimising-a-developer-as-a-publisher-in-Windows-7-tp4685315p4685384.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobsneidar at iotecdigital.com Mon Nov 3 19:30:23 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Nov 2014 00:30:23 +0000 Subject: Shared Doc In-Reply-To: References: Message-ID: <00629AAC-87FC-4B33-B7AB-EFCA96BD0840@iotecdigital.com> Bear in mind there is a new Ransomware going around. Do NOT click any links. Bob S > On Nov 3, 2014, at 14:54 , Pyst Cat wrote: > > What is this..? Is this some kind of phishing expedition..? > > On Mon, Nov 3, 2014 at 2:50 PM, Peter Brigham wrote: > >> Hi, >> I've shared an item with you. >> >> >> Gmail Signups >> Click Here for >> slideshows(2) >> Gmail sheets: create and edit spreadsheets online. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at viral.academy Mon Nov 3 19:32:10 2014 From: david at viral.academy (David Bovill) Date: Tue, 4 Nov 2014 00:32:10 +0000 Subject: revHHTP In-Reply-To: References: <545661ED.1050708@fourthworld.com> Message-ID: On 3 November 2014 16:06, Todd Geist wrote: > Hi David, > > Are you thinking of using Node as the server? Or? > First it is just an interesting environment to explore Javascript and LiveCode interaction - for teaching, for inter process communication, and also because there is a lot of useful code in the Node.js world we could use. > There is definitely some interesting work to be done here. > From david at viral.academy Mon Nov 3 19:47:59 2014 From: david at viral.academy (David Bovill) Date: Tue, 4 Nov 2014 00:47:59 +0000 Subject: Integrating LiveCode with other C++ Code bases In-Reply-To: References: Message-ID: And where is the code in the liveCode Github repository that is involved in parsing and compiling the LiveCode scripts? On 3 November 2014 11:20, David Bovill wrote: > ? > I'd like to learn more about the various ways of integrating LiveCode with > other C++ code bases. I'd be grateful for any pointers or reading matter. > > I know that there are cool plans in the rod map to make it easy to wrap > low level code in LiveCode / open language: > > - > http://livecode.com/blog/2014/07/08/the-next-generation-widgets-themes/ > - http://livecode.com/blog/2014/05/29/eating-our-own-haggis/ > > > *Open Language*: With the core refactoring almost complete (LiveCode 7.0) >> we?ve started to turn our attention to the final aspect of this project >> which is to open up the language for extension by anyone. We have been >> prototyping for quite some time now and plans are in place to move this >> project forward at a rapid pace once LiveCode 7.0 is released. We will >> complete network, socket and database libraries with easy to use English >> like syntax as part of the development and testing of this feature. This is >> currently slated as one half of our next major release, currently >> imaginatively named ?8.0?. > > *Theme / Widgets*: Another important prototype we?ve invested time in is >> codenamed ?Widgets?. Our aim is to provide a means for any LiveCode >> developer to extend the control set. This builds on ?Open Language? making >> it possible for any developer to extend the language and the UI. While >> still in its infancy, we are really excited about the results which will >> make LiveCode 8.0 a groundbreaking release. > > We?re looking forward to showing these prototypes at the upcoming >> conference which we hope will give you a flavour of where the technology is >> going in 2014/2015. This is going to be another special 12 months for >> LiveCode! > > > Then there used to be a way to include LiveCode in Xcode projects -- but I > have not heard anything more about "embedded LiveCode": > > - http://mailers.livecode.com/embedded/embeddedfounderreminder.html > > Then of course there is the ability to fork LiveCode and integrate your > own C++ code that way. > > *How open language compiles down to byte code?* > What I'd like to know is how LiveTalk / open language compiles down to > byte code. Another project I know offers several scripting languages teh > compile down to LLVM byte-code: > > - http://llvm.org/docs/BitCodeFormat.html > > Does LiveCode do the same? If so, could we add LiveCode scripting to other > projects that use the same process of compiling down to LLVM byte-code? > From todd at geistinteractive.com Mon Nov 3 21:37:25 2014 From: todd at geistinteractive.com (Todd Geist) Date: Mon, 3 Nov 2014 18:37:25 -0800 Subject: revHHTP In-Reply-To: References: <545661ED.1050708@fourthworld.com> Message-ID: On Mon, Nov 3, 2014 at 4:32 PM, David Bovill wrote: > > also because there is a lot of useful code in the Node.js world we could > use. > Yes there is :-). I got an HTTP server going based on the code that Richard provided. Actually I kind of started over. once I got the basics from the mcHTTT.mc stack, I realized I wanted to go in a little bit of a different direction. I wanted something a bit more modular, with a router and a middleware stack. Also I didn't need static file serving. Again I was surprised by just how little code it takes to get something done in LiveCode. I'll get it up on github ASAP. As for the node stuff... It's not tough to get something working. I'll also try to get an example of that up on github as well. Todd From larry at significantplanet.org Mon Nov 3 23:08:06 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 3 Nov 2014 21:08:06 -0700 Subject: corrupted stack message Message-ID: <49259E1446E54520B3DF53A3DEA4D7ED@userd204a4d61c> I keep getting this message: There was a problem opening that stack; stack is corrupted, check for ~ backup file Luckily I did have the stack backed up. I copied my backup to the folder (6.1.1 on Windows XP) and made a few changes. Then I saved the stack. When I went to reopen my new stack I got the same message. Any advice? TIA Larry From gerry.orkin at gmail.com Tue Nov 4 04:56:03 2014 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 04 Nov 2014 09:56:03 +0000 Subject: Opening a stack stored in dropbox's public fold References: <4C63568A-8562-481E-993A-91D10AC75478@sbcglobal.net> Message-ID: My link is new, my Mac is running Yosemite. Still doesn't work. g On Tue Nov 04 2014 at 1:40:34 AM Jim Hurley wrote: > Thanks Jacque. No it is a fresh link. > > But new information. It (go url "Dropbox link") works on my MacBookAir, > running 10.9.5 and all versions of RR, but not on my desktop running 10.6.8 > (I need Rosetta) or any version of RR. > > Is Dropbox Mac-version dependent? > > From fischer.th at aon.at Tue Nov 4 08:41:54 2014 From: fischer.th at aon.at (Thomas Fischer) Date: Tue, 4 Nov 2014 14:41:54 +0100 Subject: Problems with external functions since vers. 6.7 Message-ID: <1782E5B0-70C7-4F7E-9A91-D37FF9F57CAA@aon.at> Hello, I haven?t followed this list closely, so please excuse me if this topic has been covered already. I have some external functions I have programmed for Revolution a long time ago, following Mark Waddingham?s recipe. They work flawlessly up to Version 6.6.3 of LiveCode. Now they?re broken ? or rather, they break LiveCode. Calling some of seems to work fine, but some crash LiveCode 6.7 and 7.0 immediately. Has there been a change in the external interface? Is there any information on what I have to change to make them work again? Or ist this a bug in LiveCode? Best regards Thomas Fischer From bvg at mac.com Tue Nov 4 09:00:04 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 04 Nov 2014 15:00:04 +0100 Subject: corrupted stack message In-Reply-To: <49259E1446E54520B3DF53A3DEA4D7ED@userd204a4d61c> References: <49259E1446E54520B3DF53A3DEA4D7ED@userd204a4d61c> Message-ID: <4689BBFF-103B-4129-94D9-A2F8FC7FD659@mac.com> What LC version are you using to save, and what version to open it afterwards? This message often pops up when you open a stack saved with a newer stackFileVersion in an older LC version, one that doesn't "know" the new version. So if you save a stack with LC 7, and then try to open it with 6, then you'll get this message. Apparently a more friendly message was just added to the codebase, so future versions of LC should be more clear about stacks which got saved in a newer version. If this is the case, there's also a toggle in the settings, under "files & "memory": "Preserve stack file version on stacks saved in legacy format" If however this is not the problem then, I suggest you send both the corrupted and the original versions of the stack to support at runrev.com, so they can find and remove whatever bug causes your stack to be corrupted. On 04 Nov 2014, at 05:08, larry at significantplanet.org wrote: > I keep getting this message: > > There was a problem opening that stack; > stack is corrupted, check for ~ backup file > > > Luckily I did have the stack backed up. I copied my backup to the folder (6.1.1 on Windows XP) and made a few changes. Then I saved the stack. > When I went to reopen my new stack I got the same message. > > Any advice? > > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From christer at mindcrea.com Tue Nov 4 09:01:23 2014 From: christer at mindcrea.com (=?iso-8859-1?Q?Pyyhti=E4_Christer?=) Date: Tue, 4 Nov 2014 16:01:23 +0200 Subject: Fit text in a field Message-ID: <50E47472-2E5A-461A-BEB9-DE8E5B56E7B1@mindcrea.com> Is there a known way of fitting a specific (variable from case to case) text string into a field with a definition of the font and min&max text size? The other parameter would be wrap/no-wrap to tell you want just a one-liner. For multi-liner, anyone been coding in hyphenation algorithm (for English) in LC? rgds From klaus at major-k.de Tue Nov 4 09:05:59 2014 From: klaus at major-k.de (Klaus major-k) Date: Tue, 4 Nov 2014 15:05:59 +0100 Subject: text labels changed in standalone In-Reply-To: References: <1415036338530-4685362.post@n4.nabble.com> Message-ID: <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> Hi Todd, > Am 03.11.2014 um 20:54 schrieb Todd Geist : > > I see it on only on Mac. > Here is a screenshot that shows the same objects in the IDE and in the > Standalone. They Standalone Font is bigger. > https://www.evernote.com/shard/s2/sh/21a37e81-6f4e-4860-84e1-3f908124bf54/b8b79af656c87cf19659ea5f5bc1a7db > Thanks for any help did you actually SET the textfont and textsize for your stack/card/objects? If not then the standalone w stack will inherit whatever from the engine, which might cause the visual glitch? Just a thought, since this happened to me before :-D > Todd Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From david at viral.academy Tue Nov 4 09:09:28 2014 From: david at viral.academy (David Bovill) Date: Tue, 4 Nov 2014 14:09:28 +0000 Subject: revHHTP In-Reply-To: References: <545661ED.1050708@fourthworld.com> Message-ID: Great... put it up early before it's finished :) ? On 4 November 2014 02:37, Todd Geist wrote: > On Mon, Nov 3, 2014 at 4:32 PM, David Bovill wrote: > > > > also because there is a lot of useful code in the Node.js world we could > > use. > > > > Yes there is :-). > > > I got an HTTP server going based on the code that Richard provided. > Actually I kind of started over. once I got the basics from the mcHTTT.mc > stack, I realized I wanted to go in a little bit of a different direction. > I wanted something a bit more modular, with a router and a middleware > stack. Also I didn't need static file serving. > > Again I was surprised by just how little code it takes to get something > done in LiveCode. > > I'll get it up on github ASAP. > > As for the node stuff... It's not tough to get something working. I'll > also try to get an example of that up on github as well. > > Todd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From todd at geistinteractive.com Tue Nov 4 10:08:19 2014 From: todd at geistinteractive.com (Todd Geist) Date: Tue, 4 Nov 2014 07:08:19 -0800 Subject: revHHTP In-Reply-To: References: <545661ED.1050708@fourthworld.com> Message-ID: Oh its a long way from finished :-) Todd On Tue, Nov 4, 2014 at 6:09 AM, David Bovill wrote: > Great... put it up early before it's finished :) > ? > > On 4 November 2014 02:37, Todd Geist wrote: > > > On Mon, Nov 3, 2014 at 4:32 PM, David Bovill > wrote: > > > > > > also because there is a lot of useful code in the Node.js world we > could > > > use. > > > > > > > Yes there is :-). > > > > > > I got an HTTP server going based on the code that Richard provided. > > Actually I kind of started over. once I got the basics from the mcHTTT.mc > > stack, I realized I wanted to go in a little bit of a different > direction. > > I wanted something a bit more modular, with a router and a middleware > > stack. Also I didn't need static file serving. > > > > Again I was surprised by just how little code it takes to get something > > done in LiveCode. > > > > I'll get it up on github ASAP. > > > > As for the node stuff... It's not tough to get something working. I'll > > also try to get an example of that up on github as well. > > > > Todd > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Todd Geist (800) 935-6068 From todd at geistinteractive.com Tue Nov 4 10:09:25 2014 From: todd at geistinteractive.com (Todd Geist) Date: Tue, 4 Nov 2014 07:09:25 -0800 Subject: text labels changed in standalone In-Reply-To: <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> Message-ID: Thanks Klaus and Dave. Between the two of these I think we are on to something Todd On Tue, Nov 4, 2014 at 6:05 AM, Klaus major-k wrote: > Hi Todd, > > > Am 03.11.2014 um 20:54 schrieb Todd Geist : > > > > I see it on only on Mac. > > Here is a screenshot that shows the same objects in the IDE and in the > > Standalone. They Standalone Font is bigger. > > > https://www.evernote.com/shard/s2/sh/21a37e81-6f4e-4860-84e1-3f908124bf54/b8b79af656c87cf19659ea5f5bc1a7db > > Thanks for any help > > did you actually SET the textfont and textsize for your stack/card/objects? > > If not then the standalone w stack will inherit whatever from the engine, > which might cause the visual glitch? > > Just a thought, since this happened to me before :-D > > > Todd > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Todd Geist (800) 935-6068 From bobsneidar at iotecdigital.com Tue Nov 4 10:32:50 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Nov 2014 15:32:50 +0000 Subject: corrupted stack message In-Reply-To: <49259E1446E54520B3DF53A3DEA4D7ED@userd204a4d61c> References: <49259E1446E54520B3DF53A3DEA4D7ED@userd204a4d61c> Message-ID: <4431B476-F402-45BB-99FF-9904F61B5913@iotecdigital.com> Zip up your corrupt stack and send it in to quality at livecode.com along with any support files necessary to run the stack. Bob S On Nov 3, 2014, at 20:08 , larry at significantplanet.org wrote: I keep getting this message: There was a problem opening that stack; stack is corrupted, check for ~ backup file Luckily I did have the stack backed up. I copied my backup to the folder (6.1.1 on Windows XP) and made a few changes. Then I saved the stack. When I went to reopen my new stack I got the same message. Any advice? TIA Larry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Nov 4 10:37:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Nov 2014 15:37:15 +0000 Subject: Fit text in a field In-Reply-To: <50E47472-2E5A-461A-BEB9-DE8E5B56E7B1@mindcrea.com> References: <50E47472-2E5A-461A-BEB9-DE8E5B56E7B1@mindcrea.com> Message-ID: <02EEC9EE-5631-40C5-94B7-53D460FDBCF6@iotecdigital.com> If you are wanting a way to automate all this you will probably have to code it yourself. I would suggest using the properties of the object, then having a command in the card or stack that sets the properties of the object and then puts the string into the field. Bob S > On Nov 4, 2014, at 06:01 , Pyyhti? Christer wrote: > > Is there a known way of fitting a specific (variable from case to case) text string into a field with a definition of the font and min&max text size? The other parameter would be wrap/no-wrap to tell you want just a one-liner. For multi-liner, anyone been coding in hyphenation algorithm (for English) in LC? > > rgds > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Tue Nov 4 10:46:26 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 4 Nov 2014 07:46:26 -0800 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: Hi Gerry, You say your link doesn?t work on your Mac. My link works on my Mac. But does my link work on your Mac? Does this open a stack when run in your msg box? go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? Jim > Message: 21 > Date: Tue, 04 Nov 2014 09:56:03 +0000 > From: Gerry > To: How to use LiveCode > Subject: Re: Opening a stack stored in dropbox's public fold > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > My link is new, my Mac is running Yosemite. Still doesn't work. > > g > > > On Tue Nov 04 2014 at 1:40:34 AM Jim Hurley > wrote: > >> Thanks Jacque. No it is a fresh link. >> >> But new information. It (go url "Dropbox link") works on my MacBookAir, >> running 10.9.5 and all versions of RR, but not on my desktop running 10.6.8 >> (I need Rosetta) or any version of RR. >> >> Is Dropbox Mac-version dependent? >> >> > From bobsneidar at iotecdigital.com Tue Nov 4 10:59:16 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Nov 2014 15:59:16 +0000 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: I get Message execution error: Error description: Handler: can't find handler Hint: go bob s > On Nov 4, 2014, at 07:46 , Jim Hurley wrote: > > Hi Gerry, > > You say your link doesn?t work on your Mac. > > My link works on my Mac. > > But does my link work on your Mac? > Does this open a stack when run in your msg box? > > go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? > > Jim From bobsneidar at iotecdigital.com Tue Nov 4 11:04:36 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Nov 2014 16:04:36 +0000 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: <0595F7AA-1052-40ED-9A50-E2658C89B85B@iotecdigital.com> If I try to go to the parent folder in Firefox with the URL https://dl.dropboxusercontent.com/u/47044230/ I get: Error (400) Something went wrong. Don't worry, your files are still safe and the Dropboxers have been notified. Check out our Help Center and forums for help, or head back to home. Bob S > On Nov 4, 2014, at 07:59 , Bob Sneidar wrote: > > I get > > Message execution error: > Error description: Handler: can't find handler > Hint: go > > bob s > > >> On Nov 4, 2014, at 07:46 , Jim Hurley wrote: >> >> Hi Gerry, >> >> You say your link doesn?t work on your Mac. >> >> My link works on my Mac. >> >> But does my link work on your Mac? >> Does this open a stack when run in your msg box? >> >> go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? >> >> Jim > From bobsneidar at iotecdigital.com Tue Nov 4 11:15:17 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Nov 2014 16:15:17 +0000 Subject: Linked Lists Message-ID: Hi all. I often need a stack where I have two list fields where I need to link the lines in one field to lines in another. An example would be having a list of fields on a form linked to a list of columns in a database table. I could code this myself of course, but I am struggling about the UI. I?ve seen various ways of doing this, but I?m hoping someone has come up with a more elegant way of doing it. I?ve been known to put money in people?s Paypal accounts. :-) It needs to link and unlink with some king of visual indication that a link exists. It needs to output a list of those links as well. A nice touch would be a function to auto link like lines. Bob S From th.douez at gmail.com Tue Nov 4 11:19:10 2014 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 4 Nov 2014 17:19:10 +0100 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: Hi, Copy/paste in script editor doesn't work, but retyping the url make this works in a button script: on mouseUp get URL "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" -- "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? go IT end mouseUp Thierry 2014-11-04 16:46 GMT+01:00 Jim Hurley : > Hi Gerry, > > You say your link doesn?t work on your Mac. > > My link works on my Mac. > > But does my link work on your Mac? > Does this open a stack when run in your msg box? > > go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? > > Jim ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From ethanlish at gmail.com Tue Nov 4 11:36:02 2014 From: ethanlish at gmail.com (ethanlish at gmail.com) Date: Tue, 04 Nov 2014 08:36:02 -0800 (PST) Subject: iOS stand alone settings Message-ID: <1415118961848.7976075d@Nodemailer> All, Is there a function or object that can be used to query an applications attributes like the version number set on the stand-alone application settings screen? E ? Ethan at Lish.net240.876.1389 From pete at lcsql.com Tue Nov 4 11:54:14 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 4 Nov 2014 08:54:14 -0800 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: Hi Jim, Took the liberty of trying this on my Mac and it opened the stack just fine. OSX 10.7.4, LC 6.6.2 Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Nov 4, 2014 at 7:46 AM, Jim Hurley wrote: > Hi Gerry, > > You say your link doesn?t work on your Mac. > > My link works on my Mac. > > But does my link work on your Mac? > Does this open a stack when run in your msg box? > > go url " > https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? > > Jim > > > Message: 21 > > Date: Tue, 04 Nov 2014 09:56:03 +0000 > > From: Gerry > > To: How to use LiveCode > > Subject: Re: Opening a stack stored in dropbox's public fold > > Message-ID: > > < > CAAxhhFEF6ebSWu-sK7z6kp1vnoJTLEy+feqi9MXJRfz50D3z1w at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > My link is new, my Mac is running Yosemite. Still doesn't work. > > > > g > > > > > > On Tue Nov 04 2014 at 1:40:34 AM Jim Hurley > > wrote: > > > >> Thanks Jacque. No it is a fresh link. > >> > >> But new information. It (go url "Dropbox link") works on my MacBookAir, > >> running 10.9.5 and all versions of RR, but not on my desktop running > 10.6.8 > >> (I need Rosetta) or any version of RR. > >> > >> Is Dropbox Mac-version dependent? > >> > >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Nov 4 12:12:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 11:12:46 -0600 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: <38E51F90-6466-4D2E-9283-867CFAB83046@hyperactivesw.com> Were you using LC 7? I wonder if it was trying to make unicode out of the URL when you pasted it. On November 4, 2014 10:19:10 AM CST, Thierry Douez wrote: >Hi, > >Copy/paste in script editor doesn't work, >but retyping the url make this works in a button script: > >on mouseUp >get URL >"https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" >-- >"https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? > go IT >end mouseUp > > >Thierry > >2014-11-04 16:46 GMT+01:00 Jim Hurley : >> Hi Gerry, >> >> You say your link doesn?t work on your Mac. >> >> My link works on my Mac. >> >> But does my link work on your Mac? >> Does this open a stack when run in your msg box? >> >> go url >"https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? >> >> Jim > > >------------------------------------------------ >Thierry Douez - http://sunny-tdz.com >Maker of sunnYperl - sunnYmidi - sunnYmage > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Tue Nov 4 12:13:45 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Nov 2014 09:13:45 -0800 Subject: scrollbars for a stack? Message-ID: My application generates pdf full pages (it has to; the forms are specified by the courts, and the program is to prepare them) Some of the text can be small (remember, I can't change that!), so I have coded to use scaleFactor to allow zooming. On even a 15" screen, this will rapidly create a stack taller than the screen. In other cases, someone might simply want to zoom yet use less screenspace. Currently, the rendering is done by placing the groups on card 1 of the output stack. It would seem simpler to simply slap scrollbars onto the stack, and let the user scroll when desired--but this doesn't seem to be a supported feature of livecode, unless I've missed something. The cleanest (least dirty?) way I see to achieve this at the moment is to create yet another group containing all of my display groups, and resize that group each time the window resizes. Or is there a better way? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Nov 4 12:14:24 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Nov 2014 09:14:24 -0800 Subject: two-fingered scrolling on mac Message-ID: I've noticed that I can use the normal mac two-fingered scrolling in (at least) the dictionary. Is there a way to enable this for my own fields & groups? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Nov 4 12:15:40 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Nov 2014 09:15:40 -0800 Subject: Fit text in a field In-Reply-To: <50E47472-2E5A-461A-BEB9-DE8E5B56E7B1@mindcrea.com> References: <50E47472-2E5A-461A-BEB9-DE8E5B56E7B1@mindcrea.com> Message-ID: On Tue, Nov 4, 2014 at 6:01 AM, Pyyhti? Christer wrote: > Is there a known way of fitting a specific (variable from case to case) > text string into a field with a definition of the font and min&max text > size? The other parameter would be wrap/no-wrap to tell you want just a > one-liner. For multi-liner, anyone been coding in hyphenation algorithm > (for English) in LC? Look at the formattedTextWidth property. If nothing else, you can calculate point sizes in a hidden field until you find the best fit. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mkoob at rogers.com Tue Nov 4 12:14:41 2014 From: mkoob at rogers.com (Martin Koob) Date: Tue, 4 Nov 2014 09:14:41 -0800 (PST) Subject: Problems with external functions since vers. 6.7 In-Reply-To: <1782E5B0-70C7-4F7E-9A91-D37FF9F57CAA@aon.at> References: <1782E5B0-70C7-4F7E-9A91-D37FF9F57CAA@aon.at> Message-ID: <1415121281356-4685411.post@n4.nabble.com> There is a bug with LC 6.7 http://quality.runrev.com/show_bug.cgi?id=13875 that affects certain externals. It is marked as awaiting build. This fix was not in the LC 6.7.1-rc1 build. Hopefully rc2 is out soon. It seems this bug may have been the result of another bug fix that affected externals http://quality.runrev.com/show_bug.cgi?id=13721. Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-with-external-functions-since-vers-6-7-tp4685391p4685411.html Sent from the Revolution - User mailing list archive at Nabble.com. From th.douez at gmail.com Tue Nov 4 12:20:42 2014 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 4 Nov 2014 18:20:42 +0100 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: <38E51F90-6466-4D2E-9283-867CFAB83046@hyperactivesw.com> References: <38E51F90-6466-4D2E-9283-867CFAB83046@hyperactivesw.com> Message-ID: > Were you using LC 7? I wonder if it was trying to make unicode out of the URL when you pasted it. Try only once with LC 6.7 - Mavericks (10.9.5) HTH, Thierry > On November 4, 2014 10:19:10 AM CST, Thierry Douez wrote: >>Hi, >> >>Copy/paste in script editor doesn't work, >>but retyping the url make this works in a button script: >> >>on mouseUp >>get URL >>"https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" >>-- >>"https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? >> go IT >>end mouseUp >> From rdimola at evergreeninfo.net Tue Nov 4 12:38:58 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 4 Nov 2014 12:38:58 -0500 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: <004001cff856$36f84570$a4e8d050$@net> Works here. LC 6.7.1 RC 1 Windows XP SP 3 OSX 10.9.5 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jim Hurley Sent: Tuesday, November 04, 2014 10:46 AM To: use-livecode at lists.runrev.com Subject: Re: Opening a stack stored in dropbox's public fold Hi Gerry, You say your link doesn't work on your Mac. My link works on my Mac. But does my link work on your Mac? Does this open a stack when run in your msg box? go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" Jim > Message: 21 > Date: Tue, 04 Nov 2014 09:56:03 +0000 > From: Gerry > To: How to use LiveCode > Subject: Re: Opening a stack stored in dropbox's public fold > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > My link is new, my Mac is running Yosemite. Still doesn't work. > > g > > > On Tue Nov 04 2014 at 1:40:34 AM Jim Hurley > > wrote: > >> Thanks Jacque. No it is a fresh link. >> >> But new information. It (go url "Dropbox link") works on my >> MacBookAir, running 10.9.5 and all versions of RR, but not on my >> desktop running 10.6.8 (I need Rosetta) or any version of RR. >> >> Is Dropbox Mac-version dependent? >> >> > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Nov 4 12:56:36 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Nov 2014 09:56:36 -0800 Subject: Opening a stack stored in dropbox's public fold Message-ID: Jim Hurley wrote: > My link works on my Mac. > > But does my link work on your Mac? > Does this open a stack when run in your msg box? > > go url > "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" Works on Ubuntu. -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Tue Nov 4 12:55:40 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 04 Nov 2014 19:55:40 +0200 Subject: Shared Doc In-Reply-To: References: <545808CD.2080805@hyperactivesw.com> Message-ID: <5459131C.4060509@gmail.com> On 04/11/14 01:00, PystCat wrote: > I know? I?ve been getting a LOT of these the past month. They are getting VERY annoying. I was stupid and responded to it and it blocked my access to my gmail account. Richmond. From pystcat at gmail.com Tue Nov 4 12:58:33 2014 From: pystcat at gmail.com (PystCat) Date: Tue, 4 Nov 2014 12:58:33 -0500 Subject: Shared Doc In-Reply-To: <5459131C.4060509@gmail.com> References: <545808CD.2080805@hyperactivesw.com> <5459131C.4060509@gmail.com> Message-ID: Ouch! So they tried your login quickly and changed it on you. Maybe you can contact Google somehow..? > On Nov 4, 2014, at 12:55 PM, Richmond wrote: > >> On 04/11/14 01:00, PystCat wrote: >> I know? I?ve been getting a LOT of these the past month. They are getting VERY annoying. > > I was stupid and responded to it and it blocked my access to my gmail account. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Tue Nov 4 13:16:22 2014 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 4 Nov 2014 13:16:22 -0500 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: <4C63568A-8562-481E-993A-91D10AC75478@sbcglobal.net> Message-ID: <61717F86-D188-4149-8210-45910A230BC4@gmail.com> Are you making sure that you replace the www with dl and drop the parameters. For an example with a dummy link: https://www.dropbox.com/s/f2sh6vdvbcody68/test.livecode?dl=0 goes to https://dl.dropbox.com/s/f2sh6vdvbcody68/test.livecode Regards, Mike On Nov 4, 2014, at 4:56 AM, Gerry wrote: > My link is new, my Mac is running Yosemite. Still doesn't work. > > g > > > On Tue Nov 04 2014 at 1:40:34 AM Jim Hurley > wrote: > >> Thanks Jacque. No it is a fresh link. >> >> But new information. It (go url "Dropbox link") works on my MacBookAir, >> running 10.9.5 and all versions of RR, but not on my desktop running 10.6.8 >> (I need Rosetta) or any version of RR. >> >> Is Dropbox Mac-version dependent? >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Tue Nov 4 13:20:47 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 4 Nov 2014 18:20:47 -0000 Subject: Image fill question Message-ID: <001401cff85c$0f768920$2e639b60$@FlexibleLearning.com> I have a 10px x 10px image. There is a 1px black border with a colour fill. How do I set the colour fill of the image using an arbitrary RGB value? It needs to be a mathematical approach setting the pixel data directly (taking and applying a screen shot of a graphic is going to be too slow). I've tried all sorts and failed miserably... Can anyone help with this challenge? Hugh Senior FLCo From bodine at bodinetraininggames.com Tue Nov 4 13:28:57 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Tue, 4 Nov 2014 10:28:57 -0800 (PST) Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <1415056799330-4685384.post@n4.nabble.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> <5457D7A2.4040002@hyperactivesw.com> <1415047189578-4685374.post@n4.nabble.com> <6FD3AE6C-3D2C-496D-97A0-ED0609BC7313@iotecdigital.com> <1415056799330-4685384.post@n4.nabble.com> Message-ID: <1415125737786-4685419.post@n4.nabble.com> Looking at the kSign UI, it says "All signatures are timestamped by Comodo's timestamp server" (Comodo being the organization that issues the certificate you buy through ksoftware.) In other words, the timestamp process is seamless if you use the kSign tool. One last point -- you need to codesign your standalone exe, plus any dlls, externals or helper apps that your standalone uses. Then, as the last steps, build and codesign your installer. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Legitimising-a-developer-as-a-publisher-in-Windows-7-tp4685315p4685419.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Nov 4 13:34:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 12:34:27 -0600 Subject: Fit text in a field In-Reply-To: <50E47472-2E5A-461A-BEB9-DE8E5B56E7B1@mindcrea.com> References: <50E47472-2E5A-461A-BEB9-DE8E5B56E7B1@mindcrea.com> Message-ID: <54591C33.1090906@hyperactivesw.com> On 11/4/2014, 8:01 AM, Pyyhti? Christer wrote: > Is there a known way of fitting a specific (variable from case to > case) text string into a field with a definition of the font and > min&max text size? The other parameter would be wrap/no-wrap to tell > you want just a one-liner. For multi-liner, anyone been coding in > hyphenation algorithm (for English) in LC? Basically you have to just brute-force your way through it one test at a time. Set the templateField to the font and wrap settings as needed. Put the text into it and check the formattedwidth and formattedheight. If it's bigger than the max or smaller than the min, adjust the text size and try it again. Lock messages to make it a little faster. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 4 13:38:20 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 12:38:20 -0600 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: <0595F7AA-1052-40ED-9A50-E2658C89B85B@iotecdigital.com> References: <0595F7AA-1052-40ED-9A50-E2658C89B85B@iotecdigital.com> Message-ID: <54591D1C.8090608@hyperactivesw.com> On 11/4/2014, 10:04 AM, Bob Sneidar wrote: > If I try to go to the parent folder in Firefox with the > URL https://dl.dropboxusercontent.com/u/47044230/ I get: > > Error (400) That's to be expected. Unless you're the owner, you can't view the source folder of the link. But I'm surprised you get a 400 instead of a permissions error. I just tried the url and the stack loads and opens okay for me in 6.6.5 and 6.7.1 rc 1, on Mavericks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 4 13:42:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 12:42:02 -0600 Subject: iOS stand alone settings In-Reply-To: <1415118961848.7976075d@Nodemailer> References: <1415118961848.7976075d@Nodemailer> Message-ID: <54591DFA.2060806@hyperactivesw.com> On 11/4/2014, 10:36 AM, ethanlish at gmail.com wrote: > Is there a function or object that can be used to query an > applications attributes like the version number set on the > stand-alone application settings screen? A standalone mainstack can be queried like any other stack, so a script can just read the contents of that field. That assumes the script is in a stack that is opened in the standalone, or in a script that is part of the standalone. If you are looking to see if another app can read the fields, it can't; at least, not directly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 4 13:49:12 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 12:49:12 -0600 Subject: Shared Doc In-Reply-To: References: <545808CD.2080805@hyperactivesw.com> <5459131C.4060509@gmail.com> Message-ID: <54591FA8.30901@hyperactivesw.com> Oh boy. Richmond, if you are using the same password anywhere else, change it immediately on the other accounts (and make them all different.) Then contact Google and see what they can do. On 11/4/2014, 11:58 AM, PystCat wrote: > Ouch! So they tried your login quickly and changed it on you. Maybe > you can contact Google somehow..? > >> On Nov 4, 2014, at 12:55 PM, Richmond >> wrote: >> >>> On 04/11/14 01:00, PystCat wrote: I know? I?ve been getting a LOT >>> of these the past month. They are getting VERY annoying. >> >> I was stupid and responded to it and it blocked my access to my >> gmail account. >> >> Richmond. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 4 13:50:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 12:50:47 -0600 Subject: two-fingered scrolling on mac In-Reply-To: References: Message-ID: <54592007.10909@hyperactivesw.com> On 11/4/2014, 11:14 AM, Dr. Hawkins wrote: > I've noticed that I can use the normal mac two-fingered scrolling in (at > least) the dictionary. > > Is there a way to enable this for my own fields & groups? > I think it's the same keycodes as the scrollwheel on a mouse: on rawKeyDown pKey switch pKey case 65309 set the vScroll of me to the vScroll of me - 30 break case 65308 set the vScroll of me to the vScroll of me + 30 break case 65311 set the hScroll of me to the hScroll of me - 30 break case 65310 set the hScroll of me to the hScroll of me +30 break default pass rawKeyDown end switch end rawKeyDown -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at FlexibleLearning.com Tue Nov 4 13:52:23 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 4 Nov 2014 18:52:23 -0000 Subject: Shared Doc Message-ID: <001501cff860$79254bf0$6b6fe3d0$@FlexibleLearning.com> I also hold my hand up to responding to what I thought was a valid post, then realised the phishing scam and managed to re-set my gmail and yahoo passwords in time. Wishing the world would play nicely, Hugh Senior FLCo > On Nov 4, 2014, at 12:55 PM, Richmond wrote: > >> On 04/11/14 01:00, PystCat wrote: >> I know? I?ve been getting a LOT of these the past month. They are getting VERY annoying. > > I was stupid and responded to it and it blocked my access to my gmail account. > > Richmond. From m.schonewille at economy-x-talk.com Tue Nov 4 14:04:33 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 04 Nov 2014 20:04:33 +0100 Subject: [ANN] Graphic Button updated and ExtDocMaker released Message-ID: <54592341.2050901@economy-x-talk.com> Hi, Yesterday, I had to deliver documentation for a small project and I decided to use an old tool of mine, which generates documentation from my scripts automatically. The customer asked me to to add extensive comments to the scripts, to I thought I could use these comments to make the docs. Today I improved the tool a little and added it to the sponsored download section of my company's website. It is a really simple tool and it hardly requires any special way of scripting. All you need to know is that comments in /* and */ immediately preceding a handler, without white line, are assumed to be descriptions of that handler. In-line comments are added in a separate paragraph for each handler. Probably it is much more clear if you look at the pictures. Have a look at http://www3.economy-x-talk.com/file.php?node=extdocmaker and let me know what you think of it. I have also updated the Graphic Gradient Button, which you can find at http://www3.economy-x-talk.com/file.php?node=graphic-gradient-button The button now uses the extStatus instead of the status property. I'm a little sad that I don't have complete freedom about handler names like I had in HyperCard, but I guess we've to deal with it. I have also changed a little glitch, which prevented resizing of the small version of the buttons. The buttons now work as expected again. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From jacque at hyperactivesw.com Tue Nov 4 14:11:36 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 13:11:36 -0600 Subject: Shared Doc In-Reply-To: <001501cff860$79254bf0$6b6fe3d0$@FlexibleLearning.com> References: <001501cff860$79254bf0$6b6fe3d0$@FlexibleLearning.com> Message-ID: <545924E8.5030201@hyperactivesw.com> On 11/4/2014, 12:52 PM, FlexibleLearning.com wrote: > I also hold my hand up to responding to what I thought was a valid post, > then realised the phishing scam and managed to re-set my gmail and yahoo > passwords in time. I've set up my accounts to receive all email as text-only, so it is easy to see where any URL really goes. If you use Thunderbird as I do, there is a marvelous extension that allows you to toggle between text and html. On those fairly rare occasions when an email is html-only, I just hit the button and it displays correctly. This has saved me more times than I can count. Anyone who's interested can go to Thunderbird's add-ons page and search for "Allow HTML Temp". It's a godsend. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pystcat at gmail.com Tue Nov 4 14:12:53 2014 From: pystcat at gmail.com (PystCat) Date: Tue, 4 Nov 2014 14:12:53 -0500 Subject: Shared Doc In-Reply-To: <545924E8.5030201@hyperactivesw.com> References: <001501cff860$79254bf0$6b6fe3d0$@FlexibleLearning.com> <545924E8.5030201@hyperactivesw.com> Message-ID: Thanks? On to Thunderbird?. > On Nov 4, 2014, at 2:11 PM, J. Landman Gay wrote: > > On 11/4/2014, 12:52 PM, FlexibleLearning.com wrote: >> I also hold my hand up to responding to what I thought was a valid post, >> then realised the phishing scam and managed to re-set my gmail and yahoo >> passwords in time. > > I've set up my accounts to receive all email as text-only, so it is easy to see where any URL really goes. If you use Thunderbird as I do, there is a marvelous extension that allows you to toggle between text and html. On those fairly rare occasions when an email is html-only, I just hit the button and it displays correctly. This has saved me more times than I can count. > > Anyone who's interested can go to Thunderbird's add-ons page and search for "Allow HTML Temp". It's a godsend. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Nov 4 14:16:52 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 13:16:52 -0600 Subject: Image fill question In-Reply-To: <001401cff85c$0f768920$2e639b60$@FlexibleLearning.com> References: <001401cff85c$0f768920$2e639b60$@FlexibleLearning.com> Message-ID: <54592624.6090503@hyperactivesw.com> On 11/4/2014, 12:20 PM, FlexibleLearning.com wrote: > I have a 10px x 10px image. There is a 1px black border with a colour fill. > > How do I set the colour fill of the image using an arbitrary RGB value? > > It needs to be a mathematical approach setting the pixel data directly > (taking and applying a screen shot of a graphic is going to be too slow). > > I've tried all sorts and failed miserably... Can anyone help with this > challenge? If this is a new image object or an image with a solid fill already, I'd be inclined to do it the non-techy way. Have a script set the brushcolor to the RGB you want. Choose the bucket tool. Get the topleft of the image, add 1 or 2 pixels to each item of it, and do a "click at x,y". Choose the browse tool. Should work, if I understand what you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Nov 4 14:45:12 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 04 Nov 2014 14:45:12 -0500 Subject: two-fingered scrolling on mac In-Reply-To: <54592007.10909@hyperactivesw.com> References: <54592007.10909@hyperactivesw.com> Message-ID: The two finger scrolling works in 6.7 on fields, without any script (unless perhaps there?s a global script taking care of it?). Jacque?s script doesn?t seem to work, at least not on groups. From th.douez at gmail.com Tue Nov 4 14:48:50 2014 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 4 Nov 2014 20:48:50 +0100 Subject: Image fill question In-Reply-To: <001401cff85c$0f768920$2e639b60$@FlexibleLearning.com> References: <001401cff85c$0f768920$2e639b60$@FlexibleLearning.com> Message-ID: Hi Hugh, Quick and dirty but seems to work... -- I assume your original image is already 10x10 -- next 2 lines: 0, R, G and Blue put numtochar(0) & numtochar(178) & numtochar(150) & numtochar(255) into myColor put numtochar(0) & numtochar(0) & numtochar(0) & numtochar(0) into myBorderColor repeat with i=0 to 99 if i < 10 then get myBorderColor else if i > 90 then get myBorderColor else if i mod 10 is 0 then get myBorderColor else if i mod 10 is 9 then get myBorderColor else get myColor put IT after T end repeat set the imageData of image 1 to T Is it fast enough? Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2014-11-04 19:20 GMT+01:00 FlexibleLearning.com : > I have a 10px x 10px image. There is a 1px black border with a colour fill. > > How do I set the colour fill of the image using an arbitrary RGB value? > > It needs to be a mathematical approach setting the pixel data directly > (taking and applying a screen shot of a graphic is going to be too slow). > > I've tried all sorts and failed miserably... Can anyone help with this > challenge? > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Nov 4 14:53:49 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 04 Nov 2014 11:53:49 -0800 Subject: Image fill question In-Reply-To: <54592624.6090503@hyperactivesw.com> References: <001401cff85c$0f768920$2e639b60$@FlexibleLearning.com> <54592624.6090503@hyperactivesw.com> Message-ID: Here is a technique I use to fill an image with a solid color. on mouseUp put long id of img 1 into pImage --- THE TARGET IMAGE put "255,0,0" into pColor --- THE RGB COLOR fillImageWithColor pImage, pColor end mouseUp command fillImageWithColor pImage, pColor put binaryEncode("CCCC",0,item 1 of pColor,item 2 of pColor,item 3 of pColor) into theData repeat (width of pImage * height of pImage) put theData after theColorData end repeat set imageData of pImage to theColorData end fillImageWithColor Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On 11/4/2014, 12:20 PM, FlexibleLearning.com wrote: >> I have a 10px x 10px image. There is a 1px black border with a colour fill. >> >> How do I set the colour fill of the image using an arbitrary RGB value? >> >> It needs to be a mathematical approach setting the pixel data directly >> (taking and applying a screen shot of a graphic is going to be too slow). >> >> I've tried all sorts and failed miserably... Can anyone help with this >> challenge? > From pete at lcsql.com Tue Nov 4 14:58:46 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 4 Nov 2014 11:58:46 -0800 Subject: Shared Doc In-Reply-To: <54591FA8.30901@hyperactivesw.com> References: <545808CD.2080805@hyperactivesw.com> <5459131C.4060509@gmail.com> <54591FA8.30901@hyperactivesw.com> Message-ID: This might very well be followed by a demand form money to reveal whatever they changed the password to. Hopefully Google will be able to help. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Nov 4, 2014 at 10:49 AM, J. Landman Gay wrote: > Oh boy. Richmond, if you are using the same password anywhere else, change > it immediately on the other accounts (and make them all different.) Then > contact Google and see what they can do. > > On 11/4/2014, 11:58 AM, PystCat wrote: > >> Ouch! So they tried your login quickly and changed it on you. Maybe >> you can contact Google somehow..? >> >> On Nov 4, 2014, at 12:55 PM, Richmond >>> wrote: >>> >>> On 04/11/14 01:00, PystCat wrote: I know? I?ve been getting a LOT >>>> of these the past month. They are getting VERY annoying. >>>> >>> >>> I was stupid and responded to it and it blocked my access to my >>> gmail account. >>> >>> Richmond. >>> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Nov 4 15:02:22 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Nov 2014 12:02:22 -0800 Subject: Image fill question Message-ID: <1f6c0be7d08d9388b8f29f42db686578@fourthworld.com> Hugh Senior wrote: > I have a 10px x 10px image. There is a 1px black border with a colour > fill. > > How do I set the colour fill of the image using an arbitrary RGB value? > > It needs to be a mathematical approach setting the pixel data directly > (taking and applying a screen shot of a graphic is going to be too > slow). If you need to change it often you could take the lazy approach: just make the portion you want to change transparent, and group the image with a rectangle graphic beneath it. -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From todd at geistinteractive.com Tue Nov 4 15:02:54 2014 From: todd at geistinteractive.com (Todd Geist) Date: Tue, 4 Nov 2014 12:02:54 -0800 Subject: revHHTP In-Reply-To: References: <545661ED.1050708@fourthworld.com> Message-ID: I put the code on github https://github.com/toddgeist/lchttpd there is an example file and a movie to watch. It is very incomplete, but I think it is in a state where people could start to plat with it. Please post bugs to the issue tracker on github. https://github.com/toddgeist/lchttpd/issues. (Richard, if you wouldn't mind letting me now how to properly credit you in the Readme, that would be great :-) ) Thanks Todd On Tue, Nov 4, 2014 at 7:08 AM, Todd Geist wrote: > Oh its a long way from finished :-) > > Todd > > On Tue, Nov 4, 2014 at 6:09 AM, David Bovill wrote: > >> Great... put it up early before it's finished :) >> ? >> >> On 4 November 2014 02:37, Todd Geist wrote: >> >> > On Mon, Nov 3, 2014 at 4:32 PM, David Bovill >> wrote: >> > > >> > > also because there is a lot of useful code in the Node.js world we >> could >> > > use. >> > > >> > >> > Yes there is :-). >> > >> > >> > I got an HTTP server going based on the code that Richard provided. >> > Actually I kind of started over. once I got the basics from the >> mcHTTT.mc >> > stack, I realized I wanted to go in a little bit of a different >> direction. >> > I wanted something a bit more modular, with a router and a middleware >> > stack. Also I didn't need static file serving. >> > >> > Again I was surprised by just how little code it takes to get something >> > done in LiveCode. >> > >> > I'll get it up on github ASAP. >> > >> > As for the node stuff... It's not tough to get something working. I'll >> > also try to get an example of that up on github as well. >> > >> > Todd >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Todd Geist > > > (800) 935-6068 > -- Todd Geist (800) 935-6068 From pmbrig at gmail.com Tue Nov 4 15:17:28 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 4 Nov 2014 15:17:28 -0500 Subject: Palettes and the selectedObject In-Reply-To: <54579EA6.4050602@fourthworld.com> References: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> <54579EA6.4050602@fourthworld.com> Message-ID: On Nov 3, 2014, at 10:26 AM, Richard Gaskin wrote: > Graham Samuel wrote: > > If I am keying in a field in an ordinary stack window and I stop > > to do something on a palette, I had hoped that the focusedObject > > would remain in the ordinary stack - however it turns out that > > the focusedObject is now the visible card of the palette. Does > > this mean that the previous focusedObject is lost and thus I > > can't use a palette to do an insertion in the field in the ordinary > > stack? Looks like it. > > Are you using an editable text field in your palette, or just clicking buttons? > > If just buttons remember to turn off the traversalOn property and you should be fine. > > For editable fields it's a different story, since LiveCode currently maintains the xTalk tradition of allowing only one editable field at a time. Would be nice to see that changed, but I imagine it's tricky, not just in engineering but in syntax. My workaround is to put the following into the script of the field in the palette stack: local theFocusedObj on mouseenter put the long id of the focusedObject into theFocusedObj pass mouseenter end mouseenter Then you can use theFocusedObj for whatever you need in your mouseup or closefield scripts. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From chipp at chipp.com Tue Nov 4 16:01:35 2014 From: chipp at chipp.com (Chipp Walters) Date: Tue, 4 Nov 2014 15:01:35 -0600 Subject: Major Bug in 6.7? Message-ID: When building a standalone, command-Q *or* selecting *Quit* from the menubar won?t quit the app. Try it in a simple stack: 1. Create Stack 2. Save as standalone 3. Launch and try to Quit I?ve tested in earlier versions of LC and it works as expected. In 6.7 it seems *NOT* to work. Chipp Walters ? From jacque at hyperactivesw.com Tue Nov 4 16:01:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Nov 2014 15:01:58 -0600 Subject: two-fingered scrolling on mac In-Reply-To: References: <54592007.10909@hyperactivesw.com> Message-ID: <54593EC6.6060209@hyperactivesw.com> On 11/4/2014, 1:45 PM, Colin Holgate wrote: > The two finger scrolling works in 6.7 on fields, without any script > (unless perhaps there?s a global script taking care of it?). Jacque?s > script doesn?t seem to work, at least not on groups. That's good to know. Thanks. I didn't actually test it, it just seemed like the logical thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at icloud.com Tue Nov 4 16:54:51 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 04 Nov 2014 14:54:51 -0700 Subject: Major Bug in 6.7? In-Reply-To: References: Message-ID: I?ve also seen this happen in the IDE, but I haven?t been able to figure out what triggers it. Scary that it?s getting passed on to standalones. Strangely enough, if I right/ctrl-click on the LC icon in the Dock, and select Quit, LC closes normally. I don?t have to force quit. Wonder if a standalone will quit the same way? I?ll keep a closer eye on it and see if I can figure out exactly what?s causing the behavior. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > On Nov 4, 2014, at 2:01 PM, Chipp Walters wrote: > > When building a standalone, command-Q *or* selecting *Quit* from the > menubar won?t quit the app. Try it in a simple stack: > > 1. Create Stack > 2. Save as standalone > 3. Launch and try to Quit > > I?ve tested in earlier versions of LC and it works as expected. In 6.7 it > seems *NOT* to work. > > Chipp Walters > ? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Tue Nov 4 17:07:55 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 5 Nov 2014 09:07:55 +1100 Subject: revHHTP In-Reply-To: References: <545661ED.1050708@fourthworld.com> Message-ID: <5DEDFBB6-2338-4C92-B855-4178066B48B2@sweattechnologies.com> On 5 Nov 2014, at 7:02 am, Todd Geist wrote: > I put the code on github > > https://github.com/toddgeist/lchttpd Yay for another FOSS lcVCS project on GitHub! If we keep this up the Ohloh folks might eventually get around to merging in my pull request adding livecode as a recognised language ;-) Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Tue Nov 4 17:32:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 4 Nov 2014 14:32:52 -0800 Subject: Chained Behaviors Message-ID: Happy to say I found a use for chained behavior at last! However I'm using it in a utility that could be used with any version of LC. Does anyone recall when chained behaviors were introduced? I'd be OK with stating that the utility is compatible with a versions of LC after a certain release as long as they date back a reasonable distance. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dave at applicationinsight.com Tue Nov 4 17:47:47 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 4 Nov 2014 14:47:47 -0800 (PST) Subject: [OT?] Legitimising a developer as a 'publisher' in Windows 7 In-Reply-To: <1415125737786-4685419.post@n4.nabble.com> References: <88FD134A-C9CE-49EF-A676-3D7EBBA2F837@mac.com> <54561EFC.5020102@braguglia.ch> <5457D7A2.4040002@hyperactivesw.com> <1415047189578-4685374.post@n4.nabble.com> <6FD3AE6C-3D2C-496D-97A0-ED0609BC7313@iotecdigital.com> <1415056799330-4685384.post@n4.nabble.com> <1415125737786-4685419.post@n4.nabble.com> Message-ID: <1415141267299-4685442.post@n4.nabble.com> Good points Tom - and if you include an uninstaller don't forget to sign that too ... ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Legitimising-a-developer-as-a-publisher-in-Windows-7-tp4685315p4685442.html Sent from the Revolution - User mailing list archive at Nabble.com. From userev at canelasoftware.com Tue Nov 4 18:01:48 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 4 Nov 2014 15:01:48 -0800 Subject: Major Bug in 6.7? In-Reply-To: References: Message-ID: <27EE26B4-D944-45F1-B5D4-4A9A48067698@canelasoftware.com> On Nov 4, 2014, at 1:01 PM, Chipp Walters wrote: > When building a standalone, command-Q *or* selecting *Quit* from the > menubar won?t quit the app. Try it in a simple stack: > > 1. Create Stack > 2. Save as standalone > 3. Launch and try to Quit > > I?ve tested in earlier versions of LC and it works as expected. In 6.7 it > seems *NOT* to work. I have seen it hang on wait 30 ticks with messages when I try to quit. Have not tried to make a sample stack out of the issue to report to RunRev though. -Mark From dave at applicationinsight.com Tue Nov 4 17:59:51 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 4 Nov 2014 14:59:51 -0800 (PST) Subject: Chained Behaviors In-Reply-To: References: Message-ID: <1415141991817-4685444.post@n4.nabble.com> Hi Pete It looks like they appeared in LC 6.1 http://newsletters.livecode.com/july/issue152/newsletter1.php ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Chained-Behaviors-tp4685441p4685444.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobsneidar at iotecdigital.com Tue Nov 4 18:16:52 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Nov 2014 23:16:52 +0000 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: <070CA27F-B944-4065-90CD-11975B1FBCFF@iotecdigital.com> Ya works for me in a button. Just not in the message box. Dunno why. Bob S > On Nov 4, 2014, at 08:19 , Thierry Douez wrote: > > Hi, > > Copy/paste in script editor doesn't work, > but retyping the url make this works in a button script: > > on mouseUp > get URL "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" > -- "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? > go IT > end mouseUp > > > Thierry > > 2014-11-04 16:46 GMT+01:00 Jim Hurley : >> Hi Gerry, >> >> You say your link doesn?t work on your Mac. >> >> My link works on my Mac. >> >> But does my link work on your Mac? >> Does this open a stack when run in your msg box? >> >> go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? >> >> Jim > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Nov 4 18:18:04 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Nov 2014 23:18:04 +0000 Subject: Shared Doc In-Reply-To: <001501cff860$79254bf0$6b6fe3d0$@FlexibleLearning.com> References: <001501cff860$79254bf0$6b6fe3d0$@FlexibleLearning.com> Message-ID: Run away! Run away from the colored text!!! Bob S On Nov 4, 2014, at 10:52 , FlexibleLearning.com > wrote: I also hold my hand up to responding to what I thought was a valid post, then realised the phishing scam and managed to re-set my gmail and yahoo passwords in time. Wishing the world would play nicely, Hugh Senior FLCo From pete at lcsql.com Tue Nov 4 18:42:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 4 Nov 2014 15:42:10 -0800 Subject: Chained Behaviors In-Reply-To: <1415141991817-4685444.post@n4.nabble.com> References: <1415141991817-4685444.post@n4.nabble.com> Message-ID: Thanks Dave. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Nov 4, 2014 at 2:59 PM, Dave Kilroy wrote: > Hi Pete > > It looks like they appeared in LC 6.1 > http://newsletters.livecode.com/july/issue152/newsletter1.php > > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Chained-Behaviors-tp4685441p4685444.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From chipp at chipp.com Tue Nov 4 18:44:32 2014 From: chipp at chipp.com (Chipp Walters) Date: Tue, 4 Nov 2014 17:44:32 -0600 Subject: Major Bug in 6.7? In-Reply-To: References: Message-ID: I should mention I'm on Mac Yosemite. Chipp Walters On Tue, Nov 4, 2014 at 3:01 PM, Chipp Walters wrote: > When building a standalone, command-Q *or* selecting *Quit* from the > menubar won?t quit the app. Try it in a simple stack: > > 1. Create Stack > 2. Save as standalone > 3. Launch and try to Quit > > I?ve tested in earlier versions of LC and it works as expected. In 6.7 it > seems *NOT* to work. > > Chipp Walters > ? > From richmondmathewson at gmail.com Wed Nov 5 01:16:23 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Nov 2014 08:16:23 +0200 Subject: Shared Doc In-Reply-To: References: <545808CD.2080805@hyperactivesw.com> <5459131C.4060509@gmail.com> Message-ID: <5459C0B7.9010009@gmail.com> On 04/11/14 19:58, PystCat wrote: > Ouch! So they tried your login quickly and changed it on you. Maybe you can contact Google somehow..? > >> On Nov 4, 2014, at 12:55 PM, Richmond wrote: >> >>> On 04/11/14 01:00, PystCat wrote: >>> I know? I?ve been getting a LOT of these the past month. They are getting VERY annoying. >> I was stupid and responded to it and it blocked my access to my gmail account. >> >> Richmond. >> >> >> I managed to reset the password via my other e-mail account; otherwise I wouldn't have posted that message yesterday. Luckily my gmail account has not been used to send out messages offering millions of bucks from Nigerian ladies . . . LOL. Richmond. From richmondmathewson at gmail.com Wed Nov 5 01:18:03 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Nov 2014 08:18:03 +0200 Subject: Shared Doc In-Reply-To: <545924E8.5030201@hyperactivesw.com> References: <001501cff860$79254bf0$6b6fe3d0$@FlexibleLearning.com> <545924E8.5030201@hyperactivesw.com> Message-ID: <5459C11B.4090607@gmail.com> On 04/11/14 21:11, J. Landman Gay wrote: > On 11/4/2014, 12:52 PM, FlexibleLearning.com wrote: >> I also hold my hand up to responding to what I thought was a valid post, >> then realised the phishing scam and managed to re-set my gmail and yahoo >> passwords in time. > > I've set up my accounts to receive all email as text-only, so it is > easy to see where any URL really goes. If you use Thunderbird as I do, > there is a marvelous extension that allows you to toggle between text > and html. On those fairly rare occasions when an email is html-only, I > just hit the button and it displays correctly. This has saved me more > times than I can count. > > Anyone who's interested can go to Thunderbird's add-ons page and > search for "Allow HTML Temp". It's a godsend. > Super: I use Thunderbird, but I didn't know about that add-on. Richmond. From pmbrig at gmail.com Wed Nov 5 09:34:08 2014 From: pmbrig at gmail.com (Peter Brigham) Date: Wed, 5 Nov 2014 09:34:08 -0500 Subject: Shared Doc In-Reply-To: References: <545808CD.2080805@hyperactivesw.com> Message-ID: It surely is malware -- a number of people in my address book have gotten this message. I am very sorry for the annoyance. This is the very first time in 20 years on the Mac I've had a problem with my machine getting hijacked. It looks as if this originates from google Docs, which I have never used, but someone recently sent me a link to a google Doc file, which I opened. I wonder if this somehow triggered something? Anyone using google Docs who knows something about this, I'd appreciate some insight. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mon, Nov 3, 2014 at 6:00 PM, PystCat wrote: > I know? I?ve been getting a LOT of these the past month. They are getting > VERY annoying. > > > > On Nov 3, 2014, at 5:59 PM, J. Landman Gay > wrote: > > > > On 11/3/2014, 4:54 PM, Pyst Cat wrote: > >> What is this..? Is this some kind of phishing expedition..? > > > > Probably malware on his computer. Ignore it. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Wed Nov 5 10:21:20 2014 From: pmbrig at gmail.com (Peter Brigham) Date: Wed, 5 Nov 2014 10:21:20 -0500 Subject: scrollbars for a stack? In-Reply-To: References: Message-ID: Here's one solution, no scrollbars but allows scrolling using the scrollwheel or two-finger touchpad scrolling if available. Put the following into the card script of your stack (or the stack script if more than one card): on rawkeydown what put the top of stack "myStack" into t if what = 65308 then -- scroll down set the top of stack "myStack" to t-12 -- adjust the parameter as desired else if what = 65309 then -- scroll up set the top of stack "myStack" to t+12 else pass rawkeydown end if end rawkeydown -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Tue, Nov 4, 2014 at 12:13 PM, Dr. Hawkins wrote: > My application generates pdf full pages (it has to; the forms are specified > by the courts, and the program is to prepare them) > > > Some of the text can be small (remember, I can't change that!), so I have > coded to use scaleFactor to allow zooming. On even a 15" screen, this will > rapidly create a stack taller than the screen. In other cases, someone > might simply want to zoom yet use less screenspace. > > Currently, the rendering is done by placing the groups on card 1 of the > output stack. It would seem simpler to simply slap scrollbars onto the > stack, and let the user scroll when desired--but this doesn't seem to be a > supported feature of livecode, unless I've missed something. > > The cleanest (least dirty?) way I see to achieve this at the moment is to > create yet another group containing all of my display groups, and resize > that group each time the window resizes. > > Or is there a better way? > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Wed Nov 5 10:26:54 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 5 Nov 2014 10:26:54 -0500 Subject: Can revMail include formatting (bold, italics, etc.) in message body? Message-ID: I have tried html tags. No luck. ~Roger From admin at FlexibleLearning.com Wed Nov 5 10:40:58 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Wed, 5 Nov 2014 15:40:58 -0000 Subject: Image fill question Message-ID: <001c01cff90e$e67cf140$b376d3c0$@FlexibleLearning.com> Thierry, Scott... Thank you both. Clear and concise. Since I need the black border, I will use Thiery's custom routine (added bonus points for arbitrary border color!), but for a generic solution for any arbitrary sized image where fill-only is required, Scott's is faster as it has no internal custom switch requirements. Both solutions show us how imageData can be constructed. Gotta love this list! Best regards, Hugh Senior FLCo For the record: The Challenge: "Fill a 10x10 image with an arbitrary solid color and a 1px black border." [1] Thierry Douez solution... -- I assume your original image is already 10x10 -- next 2 lines: 0, R, G and Blue put numtochar(0) & numtochar(178) & numtochar(150) & numtochar(255) into myColor put numtochar(0) & numtochar(0) & numtochar(0) & numtochar(0) into myBorderColor repeat with i=0 to 99 if i < 10 then get myBorderColor else if i > 90 then get myBorderColor else if i mod 10 is 0 then get myBorderColor else if i mod 10 is 9 then get myBorderColor else get myColor put IT after T end repeat set the imageData of image 1 to T [2] Scott Rossi solution... on mouseUp put long id of img 1 into pImage --- THE TARGET IMAGE put "255,0,0" into pColor --- THE RGB COLOR fillImageWithColor pImage, pColor end mouseUp command fillImageWithColor pImage, pColor put binaryEncode("CCCC",0,item 1 of pColor,item 2 of pColor,item 3 of pColor) into theData repeat (width of pImage * height of pImage) put theData after theColorData end repeat set imageData of pImage to theColorData end fillImageWithColor From henshaw at me.com Wed Nov 5 11:11:02 2014 From: henshaw at me.com (Andrew Henshaw) Date: Wed, 05 Nov 2014 16:11:02 +0000 Subject: Problems with externals when building for iOS8 In-Reply-To: <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> Message-ID: Is anyone having problems with externals when building for iOS8 or 8.1? I seem to be hitting my head against a brick all. I have the latest xCode 6.1 installed, and ive tried building with Livecode 6.5, 6.7 and 7.0 with the same result everytime. Taking a very basic app with just one button and compile and run in the simulator and everything is fine, but then put an external (eg mergext) in a folder, and include that folder in the apps package and the app then bombs immediately after the splash screen. Ive tried all combinations I can think of, and its happening on both my macs. Any ideas what I could be doing wrong? Andy From pmbrig at gmail.com Wed Nov 5 11:20:15 2014 From: pmbrig at gmail.com (Peter Brigham) Date: Wed, 5 Nov 2014 11:20:15 -0500 Subject: Fwd: Shared Doc In-Reply-To: References: <545808CD.2080805@hyperactivesw.com> Message-ID: Ah, found out something about this: >From McAfee: ----- The Google Docs phishing scam is a textbook example: it aims to trick you into handing over sensitive login details, and it does exceptionally well . The scam starts with an email referring to an ?important document? stored on Google Docs. Clicking on the link in this message will take you to what appears to be a Google Docs login page?but it?s not. This fake login page allows scammers to collect your username and password for their own malicious use. Unfortunately for Gmail users, the page in this case is remarkably convincing?emulating Google?s typical login page. And here?s the clincher: because this scam is hosted on Google?s servers (the scam is, after all, a public folder on Google Drive) it effectively sidesteps one of the more reliable ways to detect a phishing scam. Generally speaking, phishing URLs are one or two characters different from the official website that they?re masquerading as. To top things off, because the scammers were hosting this attack on Google?s servers, the URL appears to be secure. This attack on Google Doc users is especially troubling as Google uses a single login across all of their services. If the scammers successfully obtained login credentials for your Google Docs, they?d also be able to access your email, Chrome browsing history (including searches), YouTube account, and perhaps even be able to make purchases through the Google Play store if you?ve previously registered your payment information. Despite the sophistication of this scam, there?s light at the end of the tunnel. After its discovery earlier this week, Google has successfully removed the phishing pages. They?ve also stated that their ?abuse team is working to prevent this kind of spoofing from happening again.? ----- I have changed my google password. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig ---------- Forwarded message ---------- From: Peter Brigham Date: Wed, Nov 5, 2014 at 9:34 AM Subject: Re: Shared Doc To: How to use LiveCode It surely is malware -- a number of people in my address book have gotten this message. I am very sorry for the annoyance. This is the very first time in 20 years on the Mac I've had a problem with my machine getting hijacked. It looks as if this originates from google Docs, which I have never used, but someone recently sent me a link to a google Doc file, which I opened. I wonder if this somehow triggered something? Anyone using google Docs who knows something about this, I'd appreciate some insight. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mon, Nov 3, 2014 at 6:00 PM, PystCat wrote: > I know? I?ve been getting a LOT of these the past month. They are getting > VERY annoying. > > > > On Nov 3, 2014, at 5:59 PM, J. Landman Gay > wrote: > > > > On 11/3/2014, 4:54 PM, Pyst Cat wrote: > >> What is this..? Is this some kind of phishing expedition..? > > > > Probably malware on his computer. Ignore it. > From dochawk at gmail.com Wed Nov 5 12:30:35 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 5 Nov 2014 09:30:35 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? Message-ID: I am suddenly seeing (with disastrous results) 7.0.1-RC1 ignore an "open invisible card foo of stack bar" command. This in turn causes the formattedHeight to quietly return 0. I've stepped through the code, then set the vis to true, and seen it fail. I've even added a line to open without the invisible, and that is ignored as well. Is anyone else seeing this? It's in a block of lock messages push card open invisible cd scLst["S"] of stack "rawForms" pop card unlock messages which has worked for a very long time in 5.5.4 -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Wed Nov 5 12:43:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 5 Nov 2014 09:43:52 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: Not likely as this has been working but check "the result" after the open statement to see if some sort of error occurred. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Nov 5, 2014 at 9:30 AM, Dr. Hawkins wrote: > I am suddenly seeing (with disastrous results) 7.0.1-RC1 ignore an "open > invisible card foo of stack bar" command. This in turn causes the > formattedHeight to quietly return 0. > > I've stepped through the code, then set the vis to true, and seen it fail. > > I've even added a line to open without the invisible, and that is ignored > as well. > > Is anyone else seeing this? > > It's in a block of > > lock messages > push card > open invisible cd scLst["S"] of stack "rawForms" > pop card > unlock messages > > which has worked for a very long time in 5.5.4 > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Nov 5 12:52:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 05 Nov 2014 19:52:15 +0200 Subject: Major Bug in 6.7? In-Reply-To: References: Message-ID: <545A63CF.2010908@gmail.com> On 05/11/14 01:44, Chipp Walters wrote: > I should mention I'm on Mac Yosemite. > > Chipp Walters > > > On Tue, Nov 4, 2014 at 3:01 PM, Chipp Walters wrote: > >> When building a standalone, command-Q *or* selecting *Quit* from the >> menubar won?t quit the app. Try it in a simple stack: >> >> 1. Create Stack >> 2. Save as standalone >> 3. Launch and try to Quit >> >> I?ve tested in earlier versions of LC and it works as expected. In 6.7 it >> seems *NOT* to work. >> >> Chipp Walters >> ? >> >> Confirmed on Linux (Ubuntu Studio 14.10): Ctrl-Q does nothing. I had to send a 'kill' signal to get the standalone to quit. Richmond. From jiml at netrin.com Wed Nov 5 12:55:31 2014 From: jiml at netrin.com (Jim Lambert) Date: Wed, 5 Nov 2014 09:55:31 -0800 Subject: Image fill question In-Reply-To: References: Message-ID: Hugh wrote: > The Challenge: > "Fill a 10x10 image with an arbitrary solid color and a 1px black border." > The Solution: Don?t use an image use a graphic. ;) Jim Lambert From gcanyon at gmail.com Wed Nov 5 13:06:53 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 5 Nov 2014 12:06:53 -0600 Subject: Major Bug in 6.7? In-Reply-To: References: Message-ID: On Tue, Nov 4, 2014 at 5:44 PM, Chipp Walters wrote: > I should mention I'm on Mac Yosemite. Also on Yosemite/6.7. Same here. From dochawk at gmail.com Wed Nov 5 13:35:27 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 5 Nov 2014 10:35:27 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: On Wed, Nov 5, 2014 at 9:43 AM, Peter Haworth wrote: > Not likely as this has been working but check "the result" after the open > statement to see if some sort of error occurred. > (ck is a simple routine to log/put messages. Here it is effectively a 1 argument put) ck srcCd & cr & the long name of srcCd & cr & exists(srcCd) card scD_1207 of stack rawForms card "scD_1207" of stack "rawForms" of stack "/Users/hawk/dhbk/1411/141105/dochawkbk.141105b.livecode" true open invisible srcCd ck the result no such card Huh? The same result if I don't use the "invisible" -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Wed Nov 5 13:46:03 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Nov 2014 12:46:03 -0600 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: <545A706B.20401@hyperactivesw.com> On 11/5/2014, 12:35 PM, Dr. Hawkins wrote: > On Wed, Nov 5, 2014 at 9:43 AM, Peter Haworth wrote: > >> Not likely as this has been working but check "the result" after the open >> statement to see if some sort of error occurred. >> > > (ck is a simple routine to log/put messages. Here it is effectively a 1 > argument put) > > ck srcCd & cr & the long name of srcCd & cr & exists(srcCd) > > card scD_1207 of stack rawForms > card "scD_1207" of stack "rawForms" of stack > "/Users/hawk/dhbk/1411/141105/dochawkbk.141105b.livecode" > true > > open invisible srcCd > ck the result > > no such card > > Huh? > > The same result if I don't use the "invisible" > What happens if you use "go" instead of "open"? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed Nov 5 14:09:44 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 5 Nov 2014 11:09:44 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: Maybe some sort of de-referencing problem? What happens if you: go card "scD_1207" of stack "rawForms" Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Nov 5, 2014 at 10:35 AM, Dr. Hawkins wrote: > On Wed, Nov 5, 2014 at 9:43 AM, Peter Haworth wrote: > > > Not likely as this has been working but check "the result" after the open > > statement to see if some sort of error occurred. > > > > (ck is a simple routine to log/put messages. Here it is effectively a 1 > argument put) > > ck srcCd & cr & the long name of srcCd & cr & exists(srcCd) > > card scD_1207 of stack rawForms > card "scD_1207" of stack "rawForms" of stack > "/Users/hawk/dhbk/1411/141105/dochawkbk.141105b.livecode" > true > > open invisible srcCd > ck the result > > no such card > > Huh? > > The same result if I don't use the "invisible" > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From userev at canelasoftware.com Wed Nov 5 15:33:32 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 5 Nov 2014 12:33:32 -0800 Subject: Major Bug in 6.7? In-Reply-To: References: Message-ID: <04AF05A6-6A6B-4AC3-922A-FB7E70E430D5@canelasoftware.com> On Nov 5, 2014, at 10:06 AM, Geoff Canyon wrote: > On Tue, Nov 4, 2014 at 5:44 PM, Chipp Walters wrote: > >> I should mention I'm on Mac Yosemite. > > > Also on Yosemite/6.7. Same here. It is all related to: http://quality.runrev.com/show_bug.cgi?id=13836 Best regards, Mark Talluto livecloud.io canelasoftware.com From monte at sweattechnologies.com Wed Nov 5 17:49:02 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 6 Nov 2014 09:49:02 +1100 Subject: Problems with externals when building for iOS8 In-Reply-To: References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> Message-ID: <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> On 6 Nov 2014, at 3:11 am, Andrew Henshaw wrote: > Is anyone having problems with externals when building for iOS8 or 8.1? > > I seem to be hitting my head against a brick all. I have the latest xCode 6.1 installed, and ive tried building with Livecode 6.5, 6.7 and 7.0 with the same result everytime. > > Taking a very basic app with just one button and compile and run in the simulator and everything is fine, but then put an external (eg mergext) in a folder, and include that folder in the apps package and the app then bombs immediately after the splash screen. > > Ive tried all combinations I can think of, and its happening on both my macs. Any ideas what I could be doing wrong? Are you having the issue with a particular external or all of them? I haven't had any reports like this. I'm not sure if including a folder or including the lcext file directly would make any difference. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From vclement at gmail.com Wed Nov 5 18:06:58 2014 From: vclement at gmail.com (Vaughn Clement) Date: Wed, 5 Nov 2014 16:06:58 -0700 Subject: Problems with externals when building for iOS8 In-Reply-To: <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> Message-ID: Hi Monte On the Apple forum there is a discussion on the app bombing at startup. I have apps that have been online for years doing this in IOS 8.1. I know Apple is aware of this because there are so many people complaining about the App Store and their apps crashing. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * On Target Solutions LLC Website: http://www.ontargetsolutions.biz Email: ontargetsolutions at yahoo.com Skype: vaughn.clement FaceTime: vclement at gmail.com Ph. 928-254-9062 On Wed, Nov 5, 2014 at 3:49 PM, Monte Goulding wrote: > > On 6 Nov 2014, at 3:11 am, Andrew Henshaw wrote: > > > Is anyone having problems with externals when building for iOS8 or 8.1? > > > > I seem to be hitting my head against a brick all. I have the latest > xCode 6.1 installed, and ive tried building with Livecode 6.5, 6.7 and > 7.0 with the same result everytime. > > > > Taking a very basic app with just one button and compile and run in the > simulator and everything is fine, but then put an external (eg mergext) in > a folder, and include that folder in the apps package and the app then > bombs immediately after the splash screen. > > > > Ive tried all combinations I can think of, and its happening on both my > macs. Any ideas what I could be doing wrong? > > > Are you having the issue with a particular external or all of them? I > haven't had any reports like this. I'm not sure if including a folder or > including the lcext file directly would make any difference. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Wed Nov 5 18:11:44 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 6 Nov 2014 10:11:44 +1100 Subject: Problems with externals when building for iOS8 In-Reply-To: References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> Message-ID: <7606F192-547B-461F-B20F-81CC464B93E8@sweattechnologies.com> On 6 Nov 2014, at 10:06 am, Vaughn Clement wrote: > On the Apple forum there is a discussion on the app bombing at startup. I > have apps that have been online for years doing this in IOS 8.1. I know > Apple is aware of this because there are so many people complaining about > the App Store and their apps crashing. It will be interesting to find out more. I would have had more reports by now if it were a widespread problem with either LC or my externals. Indeed my tests seem to be working fine. It could be a problem with one particular one though. I have some that are only used by a few people. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jhurley0305 at sbcglobal.net Wed Nov 5 20:11:15 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Wed, 5 Nov 2014 17:11:15 -0800 Subject: Opening a stack stored in dropbox's public fold In-Reply-To: References: Message-ID: <0F8B759F-5A8F-4393-A3A8-DE84843904DC@sbcglobal.net> This is all very strange. Pity. So nice to have this community resource as a ready means of exchanging stacks directly, without the intermediary of revOnline Browser. Do we have any idea where the source of the problems lies? Is it with Dropbox or LiveCode or Apple? Why would it work for some and not others? Does this suggest an Apple problem; problem with Windows or Mac, or with OS in either? Why would it work in a button, but not in the msg box? Does this suggest a LiveCode issue, and not an OS issue? Thanks to all who helped. Jim > > Message: 25 > Date: Tue, 4 Nov 2014 23:16:52 +0000 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: Opening a stack stored in dropbox's public fold > Message-ID: <070CA27F-B944-4065-90CD-11975B1FBCFF at iotecdigital.com> > Content-Type: text/plain; charset="utf-8" > > Ya works for me in a button. Just not in the message box. Dunno why. > > Bob S > > >> On Nov 4, 2014, at 08:19 , Thierry Douez wrote: >> >> Hi, >> >> Copy/paste in script editor doesn't work, >> but retyping the url make this works in a button script: >> >> on mouseUp >> get URL "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode" >> -- "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? >> go IT >> end mouseUp >> >> >> Thierry >> >> 2014-11-04 16:46 GMT+01:00 Jim Hurley : >>> Hi Gerry, >>> >>> You say your link doesn?t work on your Mac. >>> >>> My link works on my Mac. >>> >>> But does my link work on your Mac? >>> Does this open a stack when run in your msg box? >>> >>> go url "https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? >>> >>> Jim >> >> >> ------------------------------------------------ >> Thierry Douez - http://sunny-tdz.com >> Maker of sunnYperl - sunnYmidi - sunnYmage >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Wed Nov 5 20:13:59 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 5 Nov 2014 17:13:59 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: On Wed, Nov 5, 2014 at 11:09 AM, Peter Haworth wrote: > go card "scD_1207" of stack "rawForms" > Apparently, it's the quotes. 5.5.4 could handle this without quotes; 7.0 cannot. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Wed Nov 5 21:55:45 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 5 Nov 2014 18:55:45 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: I'd say that's a bug. It's good practice to use quotes around card and stack names but unless there are any characters in those names like spaces, etc, it shouldn't cause a problem without them. Maybe another side effect of Unicode in 7.0 Have you tried it in 6.6 or 6.7? If it works on those releases, I'd report it as a 7.0 bug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Nov 5, 2014 at 5:13 PM, Dr. Hawkins wrote: > On Wed, Nov 5, 2014 at 11:09 AM, Peter Haworth wrote: > > > go card "scD_1207" of stack "rawForms" > > > > Apparently, it's the quotes. 5.5.4 could handle this without quotes; 7.0 > cannot. > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rolf.kocherhans at id.uzh.ch Thu Nov 6 01:44:51 2014 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Thu, 6 Nov 2014 07:44:51 +0100 Subject: Major Bug in 6.7 In-Reply-To: References: Message-ID: Hello Chipp I made a bug report already ! Cheers Rolf > Am 05.11.2014 um 12:00 schrieb use-livecode-request at lists.runrev.com: > > When building a standalone, command-Q *or* selecting *Quit* from the > menubar won?t quit the app. Try it in a simple stack: > > 1. Create Stack > 2. Save as standalone > 3. Launch and try to Quit > > I?ve tested in earlier versions of LC and it works as expected. In 6.7 it > seems *NOT* to work. > > Chipp Walters From scott at elementarysoftware.com Thu Nov 6 01:53:24 2014 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 5 Nov 2014 22:53:24 -0800 Subject: scrollbars for a stack? In-Reply-To: References: Message-ID: <871C754D-0227-46C4-A352-EA1448D615BC@elementarysoftware.com> Is the user viewing a pdf or is it LiveCode controls (fields and such)? If it isn?t a pdf then they should be able to view things in any form since it hasn?t been rendered for the court yet. Couldn?t it all be placed into a group, set the group to the rect of the stack, put scroll bars on the group and then the user can scroll through things at an easy to read size. Put the text into a different format (out of view) when rendering to print as a pdf. Or I may completely misunderstand the issue :- ) Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ > On Nov 4, 2014, at 9:13 AM, Dr. Hawkins wrote: > > My application generates pdf full pages (it has to; the forms are specified > by the courts, and the program is to prepare them) > > > Some of the text can be small (remember, I can't change that!), so I have > coded to use scaleFactor to allow zooming. On even a 15" screen, this will > rapidly create a stack taller than the screen. In other cases, someone > might simply want to zoom yet use less screenspace. > > Currently, the rendering is done by placing the groups on card 1 of the > output stack. It would seem simpler to simply slap scrollbars onto the > stack, and let the user scroll when desired--but this doesn't seem to be a > supported feature of livecode, unless I've missed something. > > The cleanest (least dirty?) way I see to achieve this at the moment is to > create yet another group containing all of my display groups, and resize > that group each time the window resizes. > > Or is there a better way? > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Thu Nov 6 04:35:18 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Nov 2014 04:35:18 -0500 Subject: Changing the defaults of a datagrid Message-ID: <98CCA9AF-64AA-4ABB-A42B-E9676E92A91E@gmail.com> Hello, I am starting a project that will use several datagrids. Is there a way to change the default settings such as the text, font, color etc so any new datagrids have the new settings? This would save me doing it manually for each new datagrid. thanks, Glen From zryip.theslug at gmail.com Thu Nov 6 05:12:58 2014 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 6 Nov 2014 11:12:58 +0100 Subject: Changing the defaults of a datagrid In-Reply-To: <98CCA9AF-64AA-4ABB-A42B-E9676E92A91E@gmail.com> References: <98CCA9AF-64AA-4ABB-A42B-E9676E92A91E@gmail.com> Message-ID: Glen, DGH can help you. Define your first datagrid with the settings you need then prepare the others datagrid with no settings. 1. In the DGH properties palette open the Mimetism topic 2. Select the first datagrid (the one with all the settings) and put it in the "Cloning chambers" by using the 3 dots buttons. 3. Select a datagrid with no settings and click on the clone button ("Properties and template" label). This will apply the properties (color, text, font, etc) and template from the first datagrid to the selected datagrid 4. Select another datagrid and click onto the "Clone" button again 5. Repeat 4. for each datagrid to customize. Best Regards, On Thu, Nov 6, 2014 at 10:35 AM, Glen Bojsza wrote: > Hello, > > I am starting a project that will use several datagrids. > > Is there a way to change the default settings such as the text, font, color etc so any new datagrids have the new settings? > > This would save me doing it manually for each new datagrid. > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From matthias_livecode_150811 at m-r-d.de Thu Nov 6 05:50:49 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 6 Nov 2014 11:50:49 +0100 Subject: Changing the defaults of a datagrid In-Reply-To: References: <98CCA9AF-64AA-4ABB-A42B-E9676E92A91E@gmail.com> Message-ID: <9BC0D0DE-F174-4311-8EC5-4C79D6B6CA13@m-r-d.de> Hi Zryip, although i am not the original poster, i have some questions about that procedure. I tried it here with LC 6.6.x and i am not able to clone the settings according your instructions. Clicking on the 3 dots button shows me very shortly 2 buttons (Add in Chamber... and Remove). That is so quick that i am not able to press any of that buttons. If i select the 2nd datagrid the button "Clone" is still greyed out. Btw.: where do i find information about this cloning feature or maybe other hidden features of DGH. This cloning thing is something i could have used in the past, if i just had known about it. Regards, Matthias > Am 06.11.2014 um 11:12 schrieb zryip theSlug : > > Glen, > > DGH can help you. > > Define your first datagrid with the settings you need then prepare the > others datagrid with no settings. > > 1. In the DGH properties palette open the Mimetism topic > 2. Select the first datagrid (the one with all the settings) and put > it in the "Cloning chambers" by using the 3 dots buttons. > 3. Select a datagrid with no settings and click on the clone button > ("Properties and template" label). This will apply the properties > (color, text, font, etc) and template from the first datagrid to the > selected datagrid > 4. Select another datagrid and click onto the "Clone" button again > 5. Repeat 4. for each datagrid to customize. > > > Best Regards, > > On Thu, Nov 6, 2014 at 10:35 AM, Glen Bojsza wrote: >> Hello, >> >> I am starting a project that will use several datagrids. >> >> Is there a way to change the default settings such as the text, font, color etc so any new datagrids have the new settings? >> >> This would save me doing it manually for each new datagrid. >> >> thanks, >> >> Glen >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From henshaw at me.com Thu Nov 6 06:35:25 2014 From: henshaw at me.com (Andrew Henshaw) Date: Thu, 06 Nov 2014 11:35:25 +0000 Subject: Problems with externals when building for iOS8 In-Reply-To: <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> Message-ID: <3CE4DA2B-DC01-4B49-BEDE-BB9DC657BC88@me.com> Its all of them Mone, I cant figure it out at all. Last night I wiped my Macbook and reinstalled Yosemite, Livecode and xCode from the appstore, then created a basic app which worked, then added an external (answercolor) and it bombed. I guess I must be doing something wrong somewhere so Ill keep trying as the externals have been great so far. I was wondering if it might be the simulator as ive not tested on a real device. Andy > > Are you having the issue with a particular external or all of them? I haven't had any reports like this. I'm not sure if including a folder or including the lcext file directly would make any difference. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From henshaw at me.com Thu Nov 6 06:40:26 2014 From: henshaw at me.com (Andrew Henshaw) Date: Thu, 06 Nov 2014 11:40:26 +0000 Subject: Problems with externals when building for iOS8 In-Reply-To: <7606F192-547B-461F-B20F-81CC464B93E8@sweattechnologies.com> References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> <7606F192-547B-461F-B20F-81CC464B93E8@sweattechnologies.com> Message-ID: <4D2AC18B-4F48-4442-B4B6-FF4DC32A746B@me.com> Hi Monte, You were spot on with the including a folder rather than a file. Selecting each external file individually to include seems to work, it was selecting a folder that caused the problem. From richmondmathewson at gmail.com Thu Nov 6 08:23:11 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 06 Nov 2014 15:23:11 +0200 Subject: Get Happy with LiveCode 7 Message-ID: <545B763F.2030600@gmail.com> Not yet. Richmond. From gbojsza at gmail.com Thu Nov 6 09:13:54 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Nov 2014 09:13:54 -0500 Subject: Changing the sort icon in a datagrid Message-ID: Hello, I was hoping someone can tell me how to change the Icon Image used by the datagrid sortarrow button. I have modified the colors of the datagrid to adhere to a theme for the project and the current icon image is too dark to be noticed so I want to replace it with one in the standard library or an image of my own. thanks, Glen From klaus at major-k.de Thu Nov 6 10:15:01 2014 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Nov 2014 16:15:01 +0100 Subject: LC 6.7 click on behavior in project browser does nothing Message-ID: <243E70D8-0D58-4D13-9461-31067D239949@major-k.de> Hi all, before i create another bug report, see subject. In earlier versions one could click on the "behavior" badge in the project browser and the behavior script would open. This does not seem to work in LC 6.7 anymore? Only the object script itself can be opened this way! Anyone else experience this? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Thu Nov 6 10:25:44 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Nov 2014 07:25:44 -0800 Subject: LC 6.7 click on behavior in project browser does nothing In-Reply-To: <243E70D8-0D58-4D13-9461-31067D239949@major-k.de> References: <243E70D8-0D58-4D13-9461-31067D239949@major-k.de> Message-ID: <545B92F8.2050702@fourthworld.com> Klaus major-k wrote: > before i create another bug report, see subject. > > In earlier versions one could click on the "behavior" badge in the > project browser and the behavior script would open. > > This does not seem to work in LC 6.7 anymore? > Only the object script itself can be opened this way! > > Anyone else experience this? What string shows in the tooltip when you hover over the behavior script indicator? Possibly related: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Thu Nov 6 10:34:57 2014 From: klaus at major-k.de (Klaus major-k) Date: Thu, 6 Nov 2014 16:34:57 +0100 Subject: LC 6.7 click on behavior in project browser does nothing In-Reply-To: <545B92F8.2050702@fourthworld.com> References: <243E70D8-0D58-4D13-9461-31067D239949@major-k.de> <545B92F8.2050702@fourthworld.com> Message-ID: <4482F720-6D1F-4FDA-9B98-CC78AE585ECB@major-k.de> Hi Richard, > Am 06.11.2014 um 16:25 schrieb Richard Gaskin : > > Klaus major-k wrote: >> before i create another bug report, see subject. >> In earlier versions one could click on the "behavior" badge in the >> project browser and the behavior script would open. >> This does not seem to work in LC 6.7 anymore? >> Only the object script itself can be opened this way! >> Anyone else experience this? > What string shows in the tooltip when you hover over the behavior script indicator? Oooops!? It reads: Behavior: button "HorizontalScrollBArBeehavior" of stack "rGridEngine" of stack "C:/Elanor/Desktop/Loop Server.livecode" Well, that's not me nor my machine, I promise! :-D > Possibly related: > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From dochawk at gmail.com Thu Nov 6 11:00:22 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 6 Nov 2014 08:00:22 -0800 Subject: scrollbars for a stack? In-Reply-To: <871C754D-0227-46C4-A352-EA1448D615BC@elementarysoftware.com> References: <871C754D-0227-46C4-A352-EA1448D615BC@elementarysoftware.com> Message-ID: On Wed, Nov 5, 2014 at 10:53 PM, Scott Morrow wrote: > Is the user viewing a pdf or is it LiveCode controls (fields and such)? They're viewing in livecode controls, whose content they can edit. > If it isn?t a pdf then they should be able to view things in any form > since it hasn?t been rendered for the court yet. Couldn?t it all be placed > into a group, set the group to the rect of the stack, put scroll bars on > the group and then the user can scroll through things at an easy to read > size. that's my working plan, yes > Put the text into a different format (out of view) when rendering to print > as a pdf. Or I may completely misunderstand the issue :- ) I don't even need to go that far; it can stay in view. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From david at viral.academy Thu Nov 6 11:02:04 2014 From: david at viral.academy (David Bovill) Date: Thu, 6 Nov 2014 16:02:04 +0000 Subject: LiveCode and learning C++ Message-ID: ? Greetings folks. I know most LiveCoders don't need to get down low and dirty into C++ - and then there is the new low level LiveCode stuff, and open language... is there a better place to hangout and ask questions about this? I'm learning :) From mikedoub at gmail.com Thu Nov 6 11:19:34 2014 From: mikedoub at gmail.com (Mike Doub) Date: Thu, 06 Nov 2014 11:19:34 -0500 Subject: ANN: MasterLibrary Message-ID: <545B9F96.7070006@gmail.com> Hello all. I assume that most of you have collected scripts over the years and have created many versions of libraries. Well, I finally got around to organizing the set that I had collected. What may be different, is that I did it in such a way as you can select the routines that you want, push a button and it copies the selected routines and and any required routines into the stack of your choosing. Instant customized library! I have never been a fan of dragging around libraries when I only needed one or two routines so I find this a lot more effective than cutting and pasted and then discovering that one routine that I missed. I really appreciate the folks on this list, a lot of their contributions are included within the library and I have done my best to give credit where so much credit is due. Thank you all. Lately I have seen a number of comments about dropbox issues. I am planing on providing updates so I hope that this works. ;-) Enjoy... Regards, Mike https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 PS feedback and new contributions are welcome. ;-) From ethanlish at gmail.com Thu Nov 6 11:23:50 2014 From: ethanlish at gmail.com (ethanlish at gmail.com) Date: Thu, 06 Nov 2014 11:23:50 -0500 Subject: iOS stand alone settings In-Reply-To: <54591DFA.2060806@hyperactivesw.com> References: <1415118961848.7976075d@Nodemailer> <54591DFA.2060806@hyperactivesw.com> Message-ID: <545BA096.6070907@gmail.com> Thanks for the response. Any pointers to where I can locate or discover the object name? I am looking to move away from having two version numbers; - one on the stand-alone setting screen and - one in the application setting screen Since the stand-alone setting version value is required by the compiler, i would like to have the application settings screen just query the standalone value and present it to the user in the application context Thanks in advance, E On 11/4/14 1:42 PM, J. Landman Gay wrote: > On 11/4/2014, 10:36 AM, ethanlish at gmail.com wrote: >> Is there a function or object that can be used to query an >> applications attributes like the version number set on the >> stand-alone application settings screen? > > A standalone mainstack can be queried like any other stack, so a script > can just read the contents of that field. That assumes the script is in > a stack that is opened in the standalone, or in a script that is part of > the standalone. If you are looking to see if another app can read the > fields, it can't; at least, not directly. > From mikedoub at gmail.com Thu Nov 6 11:33:33 2014 From: mikedoub at gmail.com (Mike Doub) Date: Thu, 06 Nov 2014 11:33:33 -0500 Subject: LiveCode and learning C++ In-Reply-To: References: Message-ID: <545BA2DD.2000308@gmail.com> I am interested in this as well. I hope there is some place. ;-) -= Mike On 11/6/14 11:02 AM, David Bovill wrote: > ? > Greetings folks. I know most LiveCoders don't need to get down low and > dirty into C++ - and then there is the new low level LiveCode stuff, and > open language... is there a better place to hangout and ask questions about > this? > > I'm learning :) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Nov 6 12:37:58 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Nov 2014 09:37:58 -0800 Subject: ANN: MasterLibrary In-Reply-To: <545B9F96.7070006@gmail.com> References: <545B9F96.7070006@gmail.com> Message-ID: Hi Mike, That is an excellent concept, thank you! I haven't fully examined the scripts yet but did come across one runtime error at line 240 if card LibMgr. The error occurred because "stack x" is password protected. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 6, 2014 at 8:19 AM, Mike Doub wrote: > Hello all. I assume that most of you have collected scripts over the > years and have created many versions of libraries. Well, I finally got > around to organizing the set that I had collected. What may be different, > is that I did it in such a way as you can select the routines that you > want, push a button and it copies the selected routines and and any > required routines into the stack of your choosing. Instant customized > library! I have never been a fan of dragging around libraries when I only > needed one or two routines so I find this a lot more effective than cutting > and pasted and then discovering that one routine that I missed. > > I really appreciate the folks on this list, a lot of their contributions > are included within the library and I have done my best to give credit > where so much credit is due. Thank you all. > > Lately I have seen a number of comments about dropbox issues. I am > planing on providing updates so I hope that this works. ;-) > > Enjoy... > > Regards, > Mike > > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > PS feedback and new contributions are welcome. ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Nov 6 12:52:17 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Nov 2014 11:52:17 -0600 Subject: iOS stand alone settings In-Reply-To: <545BA096.6070907@gmail.com> References: <1415118961848.7976075d@Nodemailer> <54591DFA.2060806@hyperactivesw.com> <545BA096.6070907@gmail.com> Message-ID: <545BB551.8060101@hyperactivesw.com> On 11/6/2014, 10:23 AM, ethanlish at gmail.com wrote: > > Thanks for the response. Any pointers to where I can locate or discover > the object name? > > I am looking to move away from having two version numbers; > - one on the stand-alone setting screen and > - one in the application setting screen > > Since the stand-alone setting version value is required by the compiler, > i would like to have the application settings screen just query the > standalone value and present it to the user in the application context I see, I misunderstood you the first time. The easiest way to keep track of the version number in a standalone is to store it as a custom property somewhere and retrieve it as needed. I usually store it as a custom property of the main stack. There are ways to read the plist file on an OS X app, but no good way to find it in a Windows or mobile app. Storing it yourself is much easier. The standalone builder does keep a record of the versions and other app settings as part of the stack properties, but those are not retained in the built standalone so you can't get them there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ethanlish at gmail.com Thu Nov 6 13:41:18 2014 From: ethanlish at gmail.com (ethanlish at gmail.com) Date: Thu, 06 Nov 2014 13:41:18 -0500 Subject: LiveCode and learning C++ In-Reply-To: <545BA2DD.2000308@gmail.com> References: <545BA2DD.2000308@gmail.com> Message-ID: <545BC0CE.9090309@gmail.com> Is this the context of you questions? LiveCode Widgets Preview ( http://youtu.be/yn-l2-GHos8 ) Looks very cool. Is there a projected product release date for new feature set? E On 11/6/14 11:33 AM, Mike Doub wrote: > I am interested in this as well. I hope there is some place. ;-) > > -= Mike > > > On 11/6/14 11:02 AM, David Bovill wrote: >> ? >> Greetings folks. I know most LiveCoders don't need to get down low and >> dirty into C++ - and then there is the new low level LiveCode stuff, and >> open language... is there a better place to hangout and ask questions >> about >> this? >> >> I'm learning :) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From userev at canelasoftware.com Thu Nov 6 13:44:20 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 6 Nov 2014 10:44:20 -0800 Subject: iOS stand alone settings In-Reply-To: <545BA096.6070907@gmail.com> References: <1415118961848.7976075d@Nodemailer> <54591DFA.2060806@hyperactivesw.com> <545BA096.6070907@gmail.com> Message-ID: <0FD38DE7-1844-4F2D-9109-3FFB7A0CDBF0@canelasoftware.com> On Nov 6, 2014, at 8:23 AM, ethanlish at gmail.com wrote: > Thanks for the response. Any pointers to where I can locate or discover the object name? > > I am looking to move away from having two version numbers; > - one on the stand-alone setting screen and > - one in the application setting screen > > Since the stand-alone setting version value is required by the compiler, i would like to have the application settings screen just query the standalone value and present it to the user in the application context > > > Thanks in advance, > E Here is a method we have been favoring in our studio. This could be modified in a lot of ways to store another value. The best part is that it is automatically managed. You would then recall the custom property value and put it into the appropriate field or display. on saveStackRequest set the uBuildDate of me to csi_VerboseTime() pass saveStackRequest end saveStackRequest function csi_VerboseTime --YYYY-MM-DD HH:MM:SS.### (ISO 8601) set the numberFormat to "00." set the itemdel to "/" return ((word 4 of the internet english date & "-" & (item 1 of the short english date)+0 & "-" & (item 2 of the short english date)+0 && \ word 5 of the internet english date & "." & char -3 to -1 of the milliseconds)) end csi_VerboseTime Best regards, Mark Talluto livecloud.io canelasoftware.com From mikedoub at gmail.com Thu Nov 6 13:54:59 2014 From: mikedoub at gmail.com (Mike Doub) Date: Thu, 06 Nov 2014 13:54:59 -0500 Subject: ANN: MasterLibrary In-Reply-To: References: <545B9F96.7070006@gmail.com> Message-ID: <545BC403.6040602@gmail.com> Thanks Peter, Good Catch. I never even thought about password protected stacks. As soon as I figure out how to tell if a stack is protected, I will put out an update. Regards, Mike On 11/6/14 12:37 PM, Peter Haworth wrote: > Hi Mike, > That is an excellent concept, thank you! > > I haven't fully examined the scripts yet but did come across one runtime > error at line 240 if card LibMgr. The error occurred because "stack x" is > password protected. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Thu, Nov 6, 2014 at 8:19 AM, Mike Doub wrote: > >> Hello all. I assume that most of you have collected scripts over the >> years and have created many versions of libraries. Well, I finally got >> around to organizing the set that I had collected. What may be different, >> is that I did it in such a way as you can select the routines that you >> want, push a button and it copies the selected routines and and any >> required routines into the stack of your choosing. Instant customized >> library! I have never been a fan of dragging around libraries when I only >> needed one or two routines so I find this a lot more effective than cutting >> and pasted and then discovering that one routine that I missed. >> >> I really appreciate the folks on this list, a lot of their contributions >> are included within the library and I have done my best to give credit >> where so much credit is due. Thank you all. >> >> Lately I have seen a number of comments about dropbox issues. I am >> planing on providing updates so I hope that this works. ;-) >> >> Enjoy... >> >> Regards, >> Mike >> >> >> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 >> >> PS feedback and new contributions are welcome. ;-) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Thu Nov 6 14:31:19 2014 From: mikedoub at gmail.com (Mike Doub) Date: Thu, 06 Nov 2014 14:31:19 -0500 Subject: ANN: MasterLibrary In-Reply-To: <545BC403.6040602@gmail.com> References: <545B9F96.7070006@gmail.com> <545BC403.6040602@gmail.com> Message-ID: <545BCC87.1040803@gmail.com> Version 5 is now available. It checks to see if a stack is password protected and if so, it ignore it. -= Mike On 11/6/14 1:54 PM, Mike Doub wrote: > Thanks Peter, > > Good Catch. I never even thought about password protected stacks. > As soon as I figure out how to tell if a stack is protected, I will > put out an update. > > Regards, > Mike > > > On 11/6/14 12:37 PM, Peter Haworth wrote: >> Hi Mike, >> That is an excellent concept, thank you! >> >> I haven't fully examined the scripts yet but did come across one runtime >> error at line 240 if card LibMgr. The error occurred because "stack >> x" is >> password protected. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> On Thu, Nov 6, 2014 at 8:19 AM, Mike Doub wrote: >> >>> Hello all. I assume that most of you have collected scripts over the >>> years and have created many versions of libraries. Well, I finally >>> got >>> around to organizing the set that I had collected. What may be >>> different, >>> is that I did it in such a way as you can select the routines that you >>> want, push a button and it copies the selected routines and and any >>> required routines into the stack of your choosing. Instant customized >>> library! I have never been a fan of dragging around libraries when >>> I only >>> needed one or two routines so I find this a lot more effective than >>> cutting >>> and pasted and then discovering that one routine that I missed. >>> >>> I really appreciate the folks on this list, a lot of their >>> contributions >>> are included within the library and I have done my best to give credit >>> where so much credit is due. Thank you all. >>> >>> Lately I have seen a number of comments about dropbox issues. I am >>> planing on providing updates so I hope that this works. ;-) >>> >>> Enjoy... >>> >>> Regards, >>> Mike >>> >>> >>> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 >>> >>> PS feedback and new contributions are welcome. ;-) >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Thu Nov 6 14:34:53 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 6 Nov 2014 19:34:53 +0000 Subject: ANN: MasterLibrary In-Reply-To: <545BC403.6040602@gmail.com> References: <545B9F96.7070006@gmail.com> <545BC403.6040602@gmail.com> Message-ID: <06041E65-4F8A-4E55-A9D4-09159AC902B2@byu.edu> On Nov 6, 2014, at 11:54 AM, Mike Doub wrote: > Thanks Peter, > > Good Catch. I never even thought about password protected stacks. As soon as I figure out how to tell if a stack is protected, I will put out an update. > Mike, I ran into the same thing. I just added an IF-THEN to the get_other_stacks function: if the password of stack x is empty then if the script of stack x is empty or \ lineoffset ("-- Library Routines Below", the script of stack x) <> 0 then put x & return after thelist end if end if HTH Devin Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Thu Nov 6 14:36:52 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 6 Nov 2014 19:36:52 +0000 Subject: ANN: MasterLibrary In-Reply-To: <545BCC87.1040803@gmail.com> References: <545B9F96.7070006@gmail.com> <545BC403.6040602@gmail.com> <545BCC87.1040803@gmail.com> Message-ID: <0E5E8E54-0E31-4F0A-B866-07D9E7AB5F7A@byu.edu> On Nov 6, 2014, at 12:31 PM, Mike Doub wrote: > Version 5 is now available. It checks to see if a stack is password protected and if so, it ignore it. You beat me to it, I see. :) Devin Devin Asay Office of Digital Humanities Brigham Young University From mikedoub at gmail.com Thu Nov 6 14:40:37 2014 From: mikedoub at gmail.com (Mike Doub) Date: Thu, 06 Nov 2014 14:40:37 -0500 Subject: ANN: MasterLibrary In-Reply-To: <0E5E8E54-0E31-4F0A-B866-07D9E7AB5F7A@byu.edu> References: <545B9F96.7070006@gmail.com> <545BC403.6040602@gmail.com> <545BCC87.1040803@gmail.com> <0E5E8E54-0E31-4F0A-B866-07D9E7AB5F7A@byu.edu> Message-ID: <545BCEB5.601@gmail.com> I am glad you all picked up on this. I suspect that a lot of folks might run into this, so I wanted to fix it quickly. I just don't have many password protected stacks, so I did not hit it myself. -= Mike On 11/6/14 2:36 PM, Devin Asay wrote: > On Nov 6, 2014, at 12:31 PM, Mike Doub wrote: > >> Version 5 is now available. It checks to see if a stack is password protected and if so, it ignore it. > You beat me to it, I see. :) > > Devin > > Devin Asay > Office of Digital Humanities > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Nov 6 15:06:14 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 6 Nov 2014 15:06:14 -0500 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: <002001cff9fd$1eeb4150$5cc1c3f0$@net> It is a bug but.....another reason to use Strict Compilation Mode. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Wednesday, November 05, 2014 9:56 PM To: How to use LiveCode Subject: Re: 7.0.1-RC1 selectively not obeying "open card in script? I'd say that's a bug. It's good practice to use quotes around card and stack names but unless there are any characters in those names like spaces, etc, it shouldn't cause a problem without them. Maybe another side effect of Unicode in 7.0 Have you tried it in 6.6 or 6.7? If it works on those releases, I'd report it as a 7.0 bug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Nov 5, 2014 at 5:13 PM, Dr. Hawkins wrote: > On Wed, Nov 5, 2014 at 11:09 AM, Peter Haworth wrote: > > > go card "scD_1207" of stack "rawForms" > > > > Apparently, it's the quotes. 5.5.4 could handle this without quotes; > 7.0 cannot. > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Thu Nov 6 15:06:55 2014 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 6 Nov 2014 21:06:55 +0100 Subject: Changing the defaults of a datagrid In-Reply-To: <9BC0D0DE-F174-4311-8EC5-4C79D6B6CA13@m-r-d.de> References: <98CCA9AF-64AA-4ABB-A42B-E9676E92A91E@gmail.com> <9BC0D0DE-F174-4311-8EC5-4C79D6B6CA13@m-r-d.de> Message-ID: Matthias, The window opened by the 3 dots button should float over the DGH palette window and wait for your click. Is DGH installed in your plugin folder? You have to click on the "Add in Chamber" button to have the "Clone" buttons enabled when selecting another datagrid. Will also create a new lesson for using this feature. The cloning feature was announced with DGH 1.2.0 on this list, in a youtube video, on my website, in the version notes inside the DGH documentation and was quickly described in a revUp newsletter. I do not know the Strategy to inform the DGH users about what was added in the plugin, but I do not think we have hidden features in DGH. At last the features I have unlocked so far... Some topics (such as the database topic) are hidden because I'm not satisfied by the result, but this is not the subject. May the "Mimetism" word is not appropriated for describing the feature? I'm open to suggestions for changing the topic name. We are not cloning exactly the datagrid. We are applying the same properties from a datagrid to another, so the target datagrid is someway, "mimicking" the source datagrid. http://en.wikipedia.org/wiki/Mimicry Mimetism is a synonym for mimicry. Best Regards, On Thu, Nov 6, 2014 at 11:50 AM, Matthias Rebbe | M-R-D wrote: > Hi Zryip, > > although i am not the original poster, i have some questions about that procedure. > > I tried it here with LC 6.6.x and i am not able to clone the settings according your instructions. > > Clicking on the 3 dots button shows me very shortly 2 buttons (Add in Chamber... and Remove). > That is so quick that i am not able to press any of that buttons. > > If i select the 2nd datagrid the button "Clone" is still greyed out. > > Btw.: where do i find information about this cloning feature or maybe other hidden features of DGH. > This cloning thing is something i could have used in the past, if i just had known about it. > > Regards, > > Matthias > > >> Am 06.11.2014 um 11:12 schrieb zryip theSlug : >> >> Glen, >> >> DGH can help you. >> >> Define your first datagrid with the settings you need then prepare the >> others datagrid with no settings. >> >> 1. In the DGH properties palette open the Mimetism topic >> 2. Select the first datagrid (the one with all the settings) and put >> it in the "Cloning chambers" by using the 3 dots buttons. >> 3. Select a datagrid with no settings and click on the clone button >> ("Properties and template" label). This will apply the properties >> (color, text, font, etc) and template from the first datagrid to the >> selected datagrid >> 4. Select another datagrid and click onto the "Clone" button again >> 5. Repeat 4. for each datagrid to customize. >> >> >> Best Regards, >> >> On Thu, Nov 6, 2014 at 10:35 AM, Glen Bojsza wrote: >>> Hello, >>> >>> I am starting a project that will use several datagrids. >>> >>> Is there a way to change the default settings such as the text, font, color etc so any new datagrids have the new settings? >>> >>> This would save me doing it manually for each new datagrid. >>> >>> thanks, >>> >>> Glen >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> Zryip TheSlug >> http://www.aslugontheroad.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From pete at lcsql.com Thu Nov 6 15:26:16 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Nov 2014 12:26:16 -0800 Subject: ANN: MasterLibrary In-Reply-To: <545BC403.6040602@gmail.com> References: <545B9F96.7070006@gmail.com> <545BC403.6040602@gmail.com> Message-ID: I'll see if I can dig up the handler I use to check it out and prompt for the password... then I can donate it! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 6, 2014 at 10:54 AM, Mike Doub wrote: > Thanks Peter, > > Good Catch. I never even thought about password protected stacks. As > soon as I figure out how to tell if a stack is protected, I will put out an > update. > > Regards, > Mike > > > On 11/6/14 12:37 PM, Peter Haworth wrote: > >> Hi Mike, >> That is an excellent concept, thank you! >> >> I haven't fully examined the scripts yet but did come across one runtime >> error at line 240 if card LibMgr. The error occurred because "stack x" is >> password protected. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> >> On Thu, Nov 6, 2014 at 8:19 AM, Mike Doub wrote: >> >> Hello all. I assume that most of you have collected scripts over the >>> years and have created many versions of libraries. Well, I finally got >>> around to organizing the set that I had collected. What may be >>> different, >>> is that I did it in such a way as you can select the routines that you >>> want, push a button and it copies the selected routines and and any >>> required routines into the stack of your choosing. Instant customized >>> library! I have never been a fan of dragging around libraries when I >>> only >>> needed one or two routines so I find this a lot more effective than >>> cutting >>> and pasted and then discovering that one routine that I missed. >>> >>> I really appreciate the folks on this list, a lot of their contributions >>> are included within the library and I have done my best to give credit >>> where so much credit is due. Thank you all. >>> >>> Lately I have seen a number of comments about dropbox issues. I am >>> planing on providing updates so I hope that this works. ;-) >>> >>> Enjoy... >>> >>> Regards, >>> Mike >>> >>> >>> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 >>> >>> PS feedback and new contributions are welcome. ;-) >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From zryip.theslug at gmail.com Thu Nov 6 15:52:03 2014 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 6 Nov 2014 21:52:03 +0100 Subject: Changing the sort icon in a datagrid In-Reply-To: References: Message-ID: Glen, You can use the "ascending sort icon" and "descending sort icon" properties of the datagrid control: set the dgProps["ascending sort icon"] of grp "datagrid 1" to x set the dgProps["descending sort icon"] of grp "datagrid 1" to y Place the images in the first card of the datagrid template stack to have them available for all the datagrids in your project. Best Regards, On Thu, Nov 6, 2014 at 3:13 PM, Glen Bojsza wrote: > Hello, > > I was hoping someone can tell me how to change the Icon Image used by the > datagrid sortarrow button. > > I have modified the colors of the datagrid to adhere to a theme for the > project and the current icon image is too dark to be noticed so I want to > replace it with one in the standard library or an image of my own. > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From gbojsza at gmail.com Thu Nov 6 16:03:10 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Nov 2014 16:03:10 -0500 Subject: Changing the sort icon in a datagrid In-Reply-To: References: Message-ID: Excellent. Thanks for working this out. Glen On Thu, Nov 6, 2014 at 3:52 PM, zryip theSlug wrote: > Glen, > > You can use the "ascending sort icon" and "descending sort icon" > properties of the datagrid control: > > set the dgProps["ascending sort icon"] of grp "datagrid 1" to x > set the dgProps["descending sort icon"] of grp "datagrid 1" to y > > Place the images in the first card of the datagrid template stack to > have them available for all the datagrids in your project. > > > Best Regards, > > On Thu, Nov 6, 2014 at 3:13 PM, Glen Bojsza wrote: > > Hello, > > > > I was hoping someone can tell me how to change the Icon Image used by the > > datagrid sortarrow button. > > > > I have modified the colors of the datagrid to adhere to a theme for the > > project and the current icon image is too dark to be noticed so I want to > > replace it with one in the standard library or an image of my own. > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Nov 6 16:18:44 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Nov 2014 15:18:44 -0600 Subject: libURLsetVerification Message-ID: <545BE5B4.30900@hyperactivesw.com> My client has just received a report from a user who got an error about a self-signed certificate in the certificate chain at depth 3. This is the first one of these we've seen out of hundreds of users operating the app almost daily over the last several months. The app has libURLSetVerification set to false and shouldn't be enforcing any validation. So, some questions: 1. The app was compiled with LC 6.6.4. Is anyone aware of any libURL issues with that version? 2. The error occured after a POST to a server and the POST did not complete. Would the error be due to the server trying to validate, or from my app? The server has a valid signed cert. 3. Is it possible for a one-off error like this to occur for any other reason? Could a depth 3 error be from a cert on the user's computer? They're running Windows, if it matters. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Nov 6 16:30:24 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Nov 2014 15:30:24 -0600 Subject: libURLsetSSLVerification In-Reply-To: <545BE5B4.30900@hyperactivesw.com> References: <545BE5B4.30900@hyperactivesw.com> Message-ID: <545BE870.3090609@hyperactivesw.com> Sorry, that should say "libURLSetSSLVerification". It's correct in the code. On 11/6/2014, 3:18 PM, J. Landman Gay wrote: > My client has just received a report from a user who got an error about > a self-signed certificate in the certificate chain at depth 3. This is > the first one of these we've seen out of hundreds of users operating the > app almost daily over the last several months. > > The app has libURLSetVerification set to false and shouldn't be > enforcing any validation. So, some questions: > > 1. The app was compiled with LC 6.6.4. Is anyone aware of any libURL > issues with that version? > > 2. The error occured after a POST to a server and the POST did not > complete. Would the error be due to the server trying to validate, or > from my app? The server has a valid signed cert. > > 3. Is it possible for a one-off error like this to occur for any other > reason? Could a depth 3 error be from a cert on the user's computer? > They're running Windows, if it matters. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Thu Nov 6 16:37:53 2014 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 6 Nov 2014 19:37:53 -0200 Subject: revHHTP In-Reply-To: <5DEDFBB6-2338-4C92-B855-4178066B48B2@sweattechnologies.com> References: <545661ED.1050708@fourthworld.com> <5DEDFBB6-2338-4C92-B855-4178066B48B2@sweattechnologies.com> Message-ID: Friends, I haven't touched this in ages. I have a couple gigs on a folder called "RunRev Source" here and there was a RevHTTP folder there. There is a lot of non-working half baked goodies in that folder but I think that the main httpd.rev file should work ok. https://www.dropbox.com/s/0636wl30z4btg1u/RevHTTP.zip?dl=0 Have fun and send me feedback. Also, a disclaimer: You should not host any public facing thing using this server. Its a research, hobbie, toy thing. It can't answer more than one request at a time and this will kill things for public access. Even so, people have used this or variations of this source in production for their internal stuff and were happy with it. My advise: Go with nginx + livecodeserver. Cheers On Tue, Nov 4, 2014 at 8:07 PM, Monte Goulding wrote: > > On 5 Nov 2014, at 7:02 am, Todd Geist wrote: > > > I put the code on github > > > > https://github.com/toddgeist/lchttpd > > Yay for another FOSS lcVCS project on GitHub! If we keep this up the Ohloh > folks might eventually get around to merging in my pull request adding > livecode as a recognised language ;-) > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Thu Nov 6 16:39:15 2014 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 6 Nov 2014 19:39:15 -0200 Subject: OT: How to serve a 8GB download? In-Reply-To: <005101cff520$edd08ca0$c971a5e0$@de> References: <005101cff520$edd08ca0$c971a5e0$@de> Message-ID: Tiemo, I would use bittorrent to serve this file or some public hosting thing where I didn't pay for traffic. 8gb downloads pile up pretty quickly. cheers On Fri, Oct 31, 2014 at 1:39 PM, Tiemo Hollmann TB wrote: > Hello, > > I have a LC application, which has a total size of about 8GB (including a > bunch of videos). Usually it is distributed via DVD-DL. > > If I would like to serve it as a download on my webserver, how should I > package it? Should I just create a single 8GB zip file, or should I split > it > in several zip files - is there a tool, which would automate it that all > related zip files are download one after the other and combined after > download? Or what would be an appropriate approach for such a big file? No > user credentials, no payment is necessary, just a link to the download. > > Has anybody experiences with this matter? > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From pete at lcsql.com Thu Nov 6 16:58:57 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Nov 2014 13:58:57 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: <002001cff9fd$1eeb4150$5cc1c3f0$@net> References: <002001cff9fd$1eeb4150$5cc1c3f0$@net> Message-ID: Didn't want to get into that, but so true. I spent an hour yesterday trying to track down a bug that turned out to be caused by a misspelled variable name. I had turned off Strict Compile Mode temporarily because of the "name shadows another variable" bug which still hasn't been fixed and causes me to quit and restart LC probably 6 times a day. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 6, 2014 at 12:06 PM, Ralph DiMola wrote: > It is a bug but.....another reason to use Strict Compilation Mode. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Peter Haworth > Sent: Wednesday, November 05, 2014 9:56 PM > To: How to use LiveCode > Subject: Re: 7.0.1-RC1 selectively not obeying "open card in script? > > I'd say that's a bug. It's good practice to use quotes around card and > stack names but unless there are any characters in those names like spaces, > etc, it shouldn't cause a problem without them. > > Maybe another side effect of Unicode in 7.0 Have you tried it in 6.6 or > 6.7? If it works on those releases, I'd report it as a 7.0 bug. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Wed, Nov 5, 2014 at 5:13 PM, Dr. Hawkins wrote: > > > On Wed, Nov 5, 2014 at 11:09 AM, Peter Haworth wrote: > > > > > go card "scD_1207" of stack "rawForms" > > > > > > > Apparently, it's the quotes. 5.5.4 could handle this without quotes; > > 7.0 cannot. > > > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Thu Nov 6 17:08:28 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 7 Nov 2014 09:08:28 +1100 Subject: Problems with externals when building for iOS8 In-Reply-To: <4D2AC18B-4F48-4442-B4B6-FF4DC32A746B@me.com> References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> <7606F192-547B-461F-B20F-81CC464B93E8@sweattechnologies.com> <4D2AC18B-4F48-4442-B4B6-FF4DC32A746B@me.com> Message-ID: <3F5DE601-FCC3-48BA-A3B5-5F2D821980F0@sweattechnologies.com> On 6 Nov 2014, at 10:40 pm, Andrew Henshaw wrote: > You were spot on with the including a folder rather than a file. Ah good. I'm glad you're sorted ;-) Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dave.cragg at lacscentre.co.uk Thu Nov 6 17:45:30 2014 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 6 Nov 2014 22:45:30 +0000 Subject: libURLsetVerification In-Reply-To: <545BE5B4.30900@hyperactivesw.com> References: <545BE5B4.30900@hyperactivesw.com> Message-ID: <5DE94682-8BED-4423-8F74-F4CD29469F61@lacscentre.co.uk> Jacques, Does you application do anything that might reset local variables in libUrl. For example, using resetAll or libUrlResetAll. In that case, if libURLSetSSLVerification is not set again, I think subsequent secure sockets will have verification set to true. Cheers Dave On 6 Nov 2014, at 21:18, J. Landman Gay wrote: > My client has just received a report from a user who got an error about a self-signed certificate in the certificate chain at depth 3. This is the first one of these we've seen out of hundreds of users operating the app almost daily over the last several months. > > The app has libURLSetVerification set to false and shouldn't be enforcing any validation. So, some questions: > > 1. The app was compiled with LC 6.6.4. Is anyone aware of any libURL issues with that version? > > 2. The error occured after a POST to a server and the POST did not complete. Would the error be due to the server trying to validate, or from my app? The server has a valid signed cert. > > 3. Is it possible for a one-off error like this to occur for any other reason? Could a depth 3 error be from a cert on the user's computer? They're running Windows, if it matters. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pystcat at gmail.com Thu Nov 6 18:03:19 2014 From: pystcat at gmail.com (PystCat) Date: Thu, 6 Nov 2014 18:03:19 -0500 Subject: mobileComposeMail - Yosemite - LC 6.6.5 - iOS 8.1 - Bug..? Message-ID: I have an app that determines if you are on an iPad or an iPhone and will go to the appropriate card. I have the SAME code on both cards to send an email: mobileComposeMail theSubj,,,,theNote,?" It works fine on the iPad but won?t do anything for the iPhone? Has anyone else encountered this problem?? Thanks Paul From jacque at hyperactivesw.com Thu Nov 6 18:11:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Nov 2014 17:11:45 -0600 Subject: libURLsetVerification In-Reply-To: <5DE94682-8BED-4423-8F74-F4CD29469F61@lacscentre.co.uk> References: <545BE5B4.30900@hyperactivesw.com> <5DE94682-8BED-4423-8F74-F4CD29469F61@lacscentre.co.uk> Message-ID: <999ED3C1-F67B-481B-B5D0-30DB003FFAE6@hyperactivesw.com> It does do a reset if enough attempts fail. Thanks Dave, that must be what's happening. On November 6, 2014 4:45:30 PM CST, Dave Cragg wrote: >Jacques, > >Does you application do anything that might reset local variables in >libUrl. For example, using resetAll or libUrlResetAll. In that case, if >libURLSetSSLVerification is not set again, I think subsequent secure >sockets will have verification set to true. > >Cheers >Dave > > >On 6 Nov 2014, at 21:18, J. Landman Gay >wrote: > >> My client has just received a report from a user who got an error >about a self-signed certificate in the certificate chain at depth 3. >This is the first one of these we've seen out of hundreds of users >operating the app almost daily over the last several months. >> >> The app has libURLSetVerification set to false and shouldn't be >enforcing any validation. So, some questions: >> >> 1. The app was compiled with LC 6.6.4. Is anyone aware of any libURL >issues with that version? >> >> 2. The error occured after a POST to a server and the POST did not >complete. Would the error be due to the server trying to validate, or >from my app? The server has a valid signed cert. >> >> 3. Is it possible for a one-off error like this to occur for any >other reason? Could a depth 3 error be from a cert on the user's >computer? They're running Windows, if it matters. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at viral.academy Thu Nov 6 18:13:32 2014 From: david at viral.academy (David Bovill) Date: Thu, 6 Nov 2014 23:13:32 +0000 Subject: LiveCode and learning C++ In-Reply-To: <545BC0CE.9090309@gmail.com> References: <545BA2DD.2000308@gmail.com> <545BC0CE.9090309@gmail.com> Message-ID: Yes - there should have been some update at the conference I guess - but I couldn't get there. The only sources of info I have so far are the blog posts =, these videos, and the GitHub repo.... Can anyone advise / help / suggest places for further reading? ? On 6 November 2014 18:41, ethanlish at gmail.com wrote: > Is this the context of you questions? > LiveCode Widgets Preview ( http://youtu.be/yn-l2-GHos8 ) > > Looks very cool. > > Is there a projected product release date for new feature set? > > E > > On 11/6/14 11:33 AM, Mike Doub wrote: > >> I am interested in this as well. I hope there is some place. ;-) >> >> -= Mike >> >> >> On 11/6/14 11:02 AM, David Bovill wrote: >> >>> ? >>> Greetings folks. I know most LiveCoders don't need to get down low and >>> dirty into C++ - and then there is the new low level LiveCode stuff, and >>> open language... is there a better place to hangout and ask questions >>> about >>> this? >>> >>> I'm learning :) >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Nov 6 18:15:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Nov 2014 15:15:52 -0800 Subject: Changing the sort icon in a datagrid In-Reply-To: References: Message-ID: Thanks for that info zryip. I don't see those properties listed in the Datagrid Manual or under the dgProps custom Property Set in the IDE Inspector for a datagrid. In fact, they're not even there if I get the customProperties["dgProps"] of a datagrid I know that's not your responsibility but it seems like this is another area of documentation that is not being kept up to date. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 6, 2014 at 12:52 PM, zryip theSlug wrote: > Glen, > > You can use the "ascending sort icon" and "descending sort icon" > properties of the datagrid control: > > set the dgProps["ascending sort icon"] of grp "datagrid 1" to x > set the dgProps["descending sort icon"] of grp "datagrid 1" to y > > Place the images in the first card of the datagrid template stack to > have them available for all the datagrids in your project. > > > Best Regards, > > On Thu, Nov 6, 2014 at 3:13 PM, Glen Bojsza wrote: > > Hello, > > > > I was hoping someone can tell me how to change the Icon Image used by the > > datagrid sortarrow button. > > > > I have modified the colors of the datagrid to adhere to a theme for the > > project and the current icon image is too dark to be noticed so I want to > > replace it with one in the standard library or an image of my own. > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pderocco at ix.netcom.com Thu Nov 6 18:43:45 2014 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Thu, 6 Nov 2014 15:43:45 -0800 Subject: LiveCode and learning C++ In-Reply-To: <545BC0CE.9090309@gmail.com> References: <545BA2DD.2000308@gmail.com> <545BC0CE.9090309@gmail.com> Message-ID: <5FD8401B1D1D4BCDB3C3DDC5ECBEA363@PAULD> > From: ethanlish at gmail.com > > Is this the context of you questions? > LiveCode Widgets Preview ( http://youtu.be/yn-l2-GHos8 ) > > Looks very cool. > > Is there a projected product release date for new feature set? I'll add another question to anyone who might know: The video indicates that you can wrap "any" OS API. Does that mean that callbacks are seamlessly integrated into the LC messaging architecture? That's always been the sticking point for me when writing externals. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From monte at sweattechnologies.com Thu Nov 6 18:59:30 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 7 Nov 2014 10:59:30 +1100 Subject: LiveCode and learning C++ In-Reply-To: <5FD8401B1D1D4BCDB3C3DDC5ECBEA363@PAULD> References: <545BA2DD.2000308@gmail.com> <545BC0CE.9090309@gmail.com> <5FD8401B1D1D4BCDB3C3DDC5ECBEA363@PAULD> Message-ID: On 7 Nov 2014, at 10:43 am, Paul D. DeRocco wrote: > The video indicates that you can wrap "any" OS API. Does that mean that > callbacks are seamlessly integrated into the LC messaging architecture? > That's always been the sticking point for me when writing externals. I don't know for sure but my expectation is if you need callbacks or delegates or blocks or listeners depending on your language then you would implement some code in that language. I'm not really expecting much more than a more developed lcidl compiler with perhaps a UI that makes it feel like there's no code generation and compilation step going on in the background. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From matthias_livecode_150811 at m-r-d.de Thu Nov 6 19:11:11 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Fri, 7 Nov 2014 01:11:11 +0100 Subject: Changing the defaults of a datagrid In-Reply-To: References: <98CCA9AF-64AA-4ABB-A42B-E9676E92A91E@gmail.com> <9BC0D0DE-F174-4311-8EC5-4C79D6B6CA13@m-r-d.de> Message-ID: <50A1F342-7C47-4269-9B65-594245FFC91A@m-r-d.de> Hi Zryip, first of all my question about hidden features was not intended as criticism. Please excuse if this seemed. I know DGH as a really powerful tool which saved me much time in past. > Am 06.11.2014 um 21:06 schrieb zryip theSlug : > > Matthias, > > The window opened by the 3 dots button should float over the DGH > palette window and wait for your click. Is DGH installed in your > plugin folder? But it didn?t here. It opened and closed immediately. But now i found the culprit. I am using lcTaskList plugin. And if that plugin is already open then the window closes immediately after opening. If one is fast, i mean really fast, one is able to press the "Add in Chamber" button before the window closes again. But closing the plugin lcTastList fixes this behaviour and the window stays open until one clicks a button. So it seems something in lcTaskList forces the window to close. It works here now as you described and the mimetism feature is a real time saver. So again, please excuse if you feel offended. It was not my intention. Regards, Matthias > > Best Regards, > > On Thu, Nov 6, 2014 at 11:50 AM, Matthias Rebbe | M-R-D > wrote: >> Hi Zryip, >> >> although i am not the original poster, i have some questions about that procedure. >> >> I tried it here with LC 6.6.x and i am not able to clone the settings according your instructions. >> >> Clicking on the 3 dots button shows me very shortly 2 buttons (Add in Chamber... and Remove). >> That is so quick that i am not able to press any of that buttons. >> >> If i select the 2nd datagrid the button "Clone" is still greyed out. >> >> Btw.: where do i find information about this cloning feature or maybe other hidden features of DGH. >> This cloning thing is something i could have used in the past, if i just had known about it. >> >> Regards, >> >> Matthias >> >> >>> Am 06.11.2014 um 11:12 schrieb zryip theSlug : >>> >>> Glen, >>> >>> DGH can help you. >>> >>> Define your first datagrid with the settings you need then prepare the >>> others datagrid with no settings. >>> >>> 1. In the DGH properties palette open the Mimetism topic >>> 2. Select the first datagrid (the one with all the settings) and put >>> it in the "Cloning chambers" by using the 3 dots buttons. >>> 3. Select a datagrid with no settings and click on the clone button >>> ("Properties and template" label). This will apply the properties >>> (color, text, font, etc) and template from the first datagrid to the >>> selected datagrid >>> 4. Select another datagrid and click onto the "Clone" button again >>> 5. Repeat 4. for each datagrid to customize. >>> >>> >>> Best Regards, >>> >>> On Thu, Nov 6, 2014 at 10:35 AM, Glen Bojsza wrote: >>>> Hello, >>>> >>>> I am starting a project that will use several datagrids. >>>> >>>> Is there a way to change the default settings such as the text, font, color etc so any new datagrids have the new settings? >>>> >>>> This would save me doing it manually for each new datagrid. >>>> >>>> thanks, >>>> >>>> Glen >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> -- >>> Zryip TheSlug >>> http://www.aslugontheroad.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Nov 6 20:04:00 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 6 Nov 2014 20:04:00 -0500 Subject: mobileComposeMail - Yosemite - LC 6.6.5 - iOS 8.1 - Bug..? In-Reply-To: References: Message-ID: <003301cffa26$b77bf850$2673e8f0$@net> I have not had this problem. I'm using LC 6.6.5 and just tested on iOS 8.02 Mavericks/Xcode 6.1. How do you determine iPad/iPhone? Do you use resolution? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: livecode-dev [mailto:livecode-dev-bounces at lists.runrev.com] On Behalf Of PystCat Sent: Thursday, November 06, 2014 6:03 PM To: use-revolution at lists.runrev.com; LiveCode Developer List Subject: mobileComposeMail - Yosemite - LC 6.6.5 - iOS 8.1 - Bug..? I have an app that determines if you are on an iPad or an iPhone and will go to the appropriate card. I have the SAME code on both cards to send an email: mobileComposeMail theSubj,,,,theNote,?" It works fine on the iPad but won?t do anything for the iPhone? Has anyone else encountered this problem?? Thanks Paul _______________________________________________ livecode-dev mailing list livecode-dev at lists.runrev.com http://lists.runrev.com/mailman/listinfo/livecode-dev From dochawk at gmail.com Thu Nov 6 20:31:51 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 6 Nov 2014 17:31:51 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: <002001cff9fd$1eeb4150$5cc1c3f0$@net> References: <002001cff9fd$1eeb4150$5cc1c3f0$@net> Message-ID: On Thu, Nov 6, 2014 at 12:06 PM, Ralph DiMola wrote: > It is a bug but.....another reason to use Strict Compilation Mode. > This is happening *in* that mode; it doesn't catch it. The card & stack combo are built from known names; apparently LC7 is treating a word in the middle of a string as a variable name instead of a literal. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From gbojsza at gmail.com Thu Nov 6 20:31:40 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 6 Nov 2014 20:31:40 -0500 Subject: ToolTip properties Message-ID: Has anyone figured out how to set tooltip properties? Text style and background? thanks, Glen From dochawk at gmail.com Thu Nov 6 20:34:16 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 6 Nov 2014 17:34:16 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: <002001cff9fd$1eeb4150$5cc1c3f0$@net> Message-ID: On Thu, Nov 6, 2014 at 1:58 PM, Peter Haworth wrote: > I had turned off Strict Compile Mode temporarily because of the "name > shadows another variable" bug which still hasn't been fixed and causes me > to quit and restart LC probably 6 times a day. > That was the primary reason I stayed with 5.5 so long; it's not nearly as bad as in 6. 7 doesn't seem to be quite as bad as 6, but is still horrible. And then there are the IDE freezes. And while I'm griping, having to kill livecode and restart over a red dot in the script of a stack opened as modal should be long, long, gone (instead, it's far worse than in 5, where at least sometimes you could control-command-click your way out of it. But keyboard commands rarely work in 7 . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Thu Nov 6 21:17:57 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 6 Nov 2014 18:17:57 -0800 Subject: ToolTip properties In-Reply-To: References: Message-ID: I think they're fixed unless you roll your own tooltip dialog Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 6, 2014 at 5:31 PM, Glen Bojsza wrote: > Has anyone figured out how to set tooltip properties? > > Text style and background? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri Nov 7 01:59:58 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 7 Nov 2014 17:59:58 +1100 Subject: [ANN] mergCL 2.0 iBeacon, visits & OS X! Message-ID: <372F60EF-3CCB-47FC-9918-5F6F8BE81E3E@sweattechnologies.com> Hi LiveCoders Today I'm releasing mergCL 2.0. This is a major upgrade of the mergExt Core Location external for iOS and now OS X and introduces iBeacon monitoring and the broadcasting your device as an iBeacon and the new visits feature in iOS 8 so your app can find out when a user visits one of their regular locations and even be woken up in the background. The OS X build support significant change notifications on 10.8 and region monitoring on 10.9. Find out more at mergExt.com Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From admin at FlexibleLearning.com Fri Nov 7 02:51:18 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 7 Nov 2014 07:51:18 -0000 Subject: ANN: MasterLibrary Message-ID: <003601cffa5f$9e6b8f40$db42adc0$@FlexibleLearning.com> Here you go... Try Get the script of stack pStk Put false into isProtected Catch tErr Put true into isProtected End try Hugh Senior FLCo Peter Haworth wrote: I'll see if I can dig up the handler I use to check it out and prompt for the password... then I can donate it! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 6, 2014 at 10:54 AM, Mike Doub wrote: > Thanks Peter, > > Good Catch. I never even thought about password protected stacks. As > soon as I figure out how to tell if a stack is protected, I will put out an > update. > > Regards, > Mike From toolbook at kestner.de Fri Nov 7 03:20:29 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Nov 2014 09:20:29 +0100 Subject: Windows RT Message-ID: <001801cffa63$b14ccb20$13e66160$@de> A customer asked me, if my desktop product would also run on tablets. I told him yes, if it is a tablet with Microsoft Windows system. He bought a surface 2 exclusively for my product (with Windows 8.1 RT) and now complains me, that he wasted his money for the tablet because my product isn't compatible with Microsoft Windows 8.1 RT. I have defined my system requirements, but I think I can't defined all NOTs, not for Windows RT, not for UNIX, not for Blackberry, not for . On the other hand it really isn't easy to differentiate all these specs for a non computer addicted customer. How do you handle these issues in your commercial products? Tiemo From m.schonewille at economy-x-talk.com Fri Nov 7 04:11:45 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 07 Nov 2014 10:11:45 +0100 Subject: Windows RT In-Reply-To: <001801cffa63$b14ccb20$13e66160$@de> References: <001801cffa63$b14ccb20$13e66160$@de> Message-ID: <545C8CD1.5060705@economy-x-talk.com> Hi, Please define "compatible". Does your customer say it doesn't even start up? Or does he say he it starts up but he can't work with it? What happens if he attaches a mouse and a keyboard to his device? AFAIK the MS Surface Pro 2 and Pro 3 have standard, yet slow, Intel processors, which run normal versions of Windows Pro. This processor is also used in cheap netbooks. This tablet should be able to run LiveCode standalones --but I haven't tried it. Tablets with Windows RT use an ARM processor, which is incompatible with LiveCode, meaning that a standalone won't even start. You gave your customer correct information: Livecode runs on Windows tablets, but you didn't tell him that it doesn't run on Windows RT tablets. Just tell your customers that Windows tablets must have an Intel processor. Currently, LiveCode runs on: - Apple computers with Mac OS X 10.6 or later - Almost any other Mac (depending on your version of LiveCode) - Windows computers and tablets with Intel processors (the minimum required version for Windows seems to be XP SP2) - Raspberry Pi (with ARM processor) - Android (with ARM processor) - iPhone 3 and iPad, using iOS 4 and later. (I'm not sure if iOS 3 will work). Usually, in these cases I tell my customers: try it and let me know if it works :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 11/7/2014 09:20, Tiemo Hollmann TB wrote: > A customer asked me, if my desktop product would also run on tablets. I told > him yes, if it is a tablet with Microsoft Windows system. He bought a > surface 2 exclusively for my product (with Windows 8.1 RT) and now complains > me, that he wasted his money for the tablet because my product isn't > compatible with Microsoft Windows 8.1 RT. > > I have defined my system requirements, but I think I can't defined all NOTs, > not for Windows RT, not for UNIX, not for Blackberry, not for . On the other > hand it really isn't easy to differentiate all these specs for a non > computer addicted customer. > > How do you handle these issues in your commercial products? > > Tiemo > From toolbook at kestner.de Fri Nov 7 04:33:01 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Nov 2014 10:33:01 +0100 Subject: AW: Windows RT In-Reply-To: <545C8CD1.5060705@economy-x-talk.com> References: <001801cffa63$b14ccb20$13e66160$@de> <545C8CD1.5060705@economy-x-talk.com> Message-ID: <003201cffa6d$d3d62600$7b827200$@de> Hi Mark, confusingly the surface 2 has an ARM processor (with Windows 8.1 RT) and the surface 3 has an intel processor (with Windows 8.1) So my LC App doesn't even start on the surface 2. I will think about the spec "Intel", though I am not sure if the standard dummy customer knows or cares anything about processor specs. Btw. I never again specify "... or later" since Apple changed his directory specs and rights in 10.7 and my product wasn't compatible anymore. The times "Macs are always compatible" is history for me. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mark Schonewille > Gesendet: Freitag, 7. November 2014 10:12 > An: How to use LiveCode > Betreff: Re: Windows RT > > Hi, > > Please define "compatible". Does your customer say it doesn't even start up? > Or does he say he it starts up but he can't work with it? What happens if he > attaches a mouse and a keyboard to his device? > > AFAIK the MS Surface Pro 2 and Pro 3 have standard, yet slow, Intel > processors, which run normal versions of Windows Pro. This processor is also > used in cheap netbooks. This tablet should be able to run LiveCode standalones > --but I haven't tried it. > > Tablets with Windows RT use an ARM processor, which is incompatible with > LiveCode, meaning that a standalone won't even start. > > You gave your customer correct information: Livecode runs on Windows tablets, > but you didn't tell him that it doesn't run on Windows RT tablets. Just tell > your customers that Windows tablets must have an Intel processor. > > Currently, LiveCode runs on: > - Apple computers with Mac OS X 10.6 or later > - Almost any other Mac (depending on your version of LiveCode) > - Windows computers and tablets with Intel processors (the minimum required > version for Windows seems to be XP SP2) > - Raspberry Pi (with ARM processor) > - Android (with ARM processor) > - iPhone 3 and iPad, using iOS 4 and later. > (I'm not sure if iOS 3 will work). > > Usually, in these cases I tell my customers: try it and let me know if it > works :-) > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 11/7/2014 09:20, Tiemo Hollmann TB wrote: > > A customer asked me, if my desktop product would also run on tablets. > > I told him yes, if it is a tablet with Microsoft Windows system. He > > bought a surface 2 exclusively for my product (with Windows 8.1 RT) > > and now complains me, that he wasted his money for the tablet because > > my product isn't compatible with Microsoft Windows 8.1 RT. > > > > I have defined my system requirements, but I think I can't defined all > > NOTs, not for Windows RT, not for UNIX, not for Blackberry, not for . > > On the other hand it really isn't easy to differentiate all these > > specs for a non computer addicted customer. > > > > How do you handle these issues in your commercial products? > > > > Tiemo > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Nov 7 04:44:45 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 07 Nov 2014 10:44:45 +0100 Subject: AW: Windows RT In-Reply-To: <003201cffa6d$d3d62600$7b827200$@de> References: <001801cffa63$b14ccb20$13e66160$@de> <545C8CD1.5060705@economy-x-talk.com> <003201cffa6d$d3d62600$7b827200$@de> Message-ID: <545C948D.4040107@economy-x-talk.com> Hi Tiemo, I can buy this MS Surface Pro 2 in a store in my city http://www.mycom.nl/tablets-e-readers/windows-tablet/433918/microsoft-surface-pro-2-i5-256gb#specificaties and it has an Intel processor. Perhaps there are a Surface 2 with ARM and a Surface Pro 2 with Intel, bit I haven't seen one with an ARM processor. "And later..." always means up to this date. You could include the date of writing in your specs, but users may not know when an operating system was available. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 11/7/2014 10:33, Tiemo Hollmann TB wrote: > Hi Mark, > confusingly the surface 2 has an ARM processor (with Windows 8.1 RT) and the > surface 3 has an intel processor (with Windows 8.1) So my LC App doesn't > even start on the surface 2. > I will think about the spec "Intel", though I am not sure if the standard > dummy customer knows or cares anything about processor specs. > Btw. I never again specify "... or later" since Apple changed his directory > specs and rights in 10.7 and my product wasn't compatible anymore. The times > "Macs are always compatible" is history for me. > Tiemo From toolbook at kestner.de Fri Nov 7 05:06:36 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Nov 2014 11:06:36 +0100 Subject: AW: AW: Windows RT In-Reply-To: <545C948D.4040107@economy-x-talk.com> References: <001801cffa63$b14ccb20$13e66160$@de> <545C8CD1.5060705@economy-x-talk.com> <003201cffa6d$d3d62600$7b827200$@de> <545C948D.4040107@economy-x-talk.com> Message-ID: <003301cffa72$84af9930$8e0ecb90$@de> Thanks for the info Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mark Schonewille > Gesendet: Freitag, 7. November 2014 10:45 > An: How to use LiveCode > Betreff: Re: AW: Windows RT > > Hi Tiemo, > > I can buy this MS Surface Pro 2 in a store in my city > > http://www.mycom.nl/tablets-e-readers/windows-tablet/433918/microsoft-surfac e- > pro-2-i5-256gb#specificaties > > and it has an Intel processor. Perhaps there are a Surface 2 with ARM and a > Surface Pro 2 with Intel, bit I haven't seen one with an ARM processor. > > "And later..." always means up to this date. You could include the date of > writing in your specs, but users may not know when an operating system was > available. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 11/7/2014 10:33, Tiemo Hollmann TB wrote: > > Hi Mark, > > confusingly the surface 2 has an ARM processor (with Windows 8.1 RT) > > and the surface 3 has an intel processor (with Windows 8.1) So my LC > > App doesn't even start on the surface 2. > > I will think about the spec "Intel", though I am not sure if the > > standard dummy customer knows or cares anything about processor specs. > > Btw. I never again specify "... or later" since Apple changed his > > directory specs and rights in 10.7 and my product wasn't compatible > > anymore. The times "Macs are always compatible" is history for me. > > Tiemo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Nov 7 05:16:20 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Nov 2014 11:16:20 +0100 Subject: AW: AW: Windows RT In-Reply-To: <545C948D.4040107@economy-x-talk.com> References: <001801cffa63$b14ccb20$13e66160$@de> <545C8CD1.5060705@economy-x-talk.com> <003201cffa6d$d3d62600$7b827200$@de> <545C948D.4040107@economy-x-talk.com> Message-ID: <003401cffa73$e0d0d840$a27288c0$@de> To confuse mostly all customers there are obviosly two Surface 2, the standard 2 with ARM: http://www.microsoft.com/surface/de-de/products/surface-2 And the pro 2 with intel. I think of my dummy customers, who often even can't answer me if they have Windows or anything else, not to mention which version. Poor customers. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mark Schonewille > Gesendet: Freitag, 7. November 2014 10:45 > An: How to use LiveCode > Betreff: Re: AW: Windows RT > > Hi Tiemo, > > I can buy this MS Surface Pro 2 in a store in my city > > http://www.mycom.nl/tablets-e-readers/windows-tablet/433918/microsoft-surfac e- > pro-2-i5-256gb#specificaties > > and it has an Intel processor. Perhaps there are a Surface 2 with ARM and a > Surface Pro 2 with Intel, bit I haven't seen one with an ARM processor. > > "And later..." always means up to this date. You could include the date of > writing in your specs, but users may not know when an operating system was > available. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 11/7/2014 10:33, Tiemo Hollmann TB wrote: > > Hi Mark, > > confusingly the surface 2 has an ARM processor (with Windows 8.1 RT) > > and the surface 3 has an intel processor (with Windows 8.1) So my LC > > App doesn't even start on the surface 2. > > I will think about the spec "Intel", though I am not sure if the > > standard dummy customer knows or cares anything about processor specs. > > Btw. I never again specify "... or later" since Apple changed his > > directory specs and rights in 10.7 and my product wasn't compatible > > anymore. The times "Macs are always compatible" is history for me. > > Tiemo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Fri Nov 7 07:20:59 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 7 Nov 2014 13:20:59 +0100 Subject: LiveCode - Where, How, and with Who ? Message-ID: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> Hi from Beautiful Brittany, As a fervent user of LiveCode for some years now, I keep on asking myself the question ?Who uses LiveCode, and why ?? I don?t know whether Company Policy would prohibit divulging such delicate information, but I would love to know the impact of LiveCode on the computer community as a whole. I don?t expect precise and confidential data as an answer, but MAYBE LiveCode officials could give us some idea ??.. 1 - Paying Livecode Users for fun 2 - Paying LiveCode users for commercial purposes 3 - Breakdown of LiveCode users by Version 4 - The impact of ?Free? liveCode upon the community (great idea, but ?. does it work, commercially ?) Maybe percentages would be acceptable, rather than numbers ? I personally talk about LiveCode to my buddies, but find that few are ever interested in ?programming?, often because they think it is too complicated, or else they have no obvious reason to program. So we (I mean ?US?) may be strange beasts that others would call ?geeks?, when I personally do not think that we are. Perhaps we are all ?ex? programmers, ?ex? analysts, or at least ?ex? (or current) computer personnel ? ?Un monde ? part?, as the French would say ? Are my questions too close to the bone ? Do they fall on stony ground ? Is there anybody out there who is interested, like me ? Is it such a closely guarded secret that we, as faithful users of LiveCode can not see where we stand ?After all, it?s only another computer app. Or is it ? ?? With bated breath ??. -Francis From sc at sahores-conseil.com Fri Nov 7 07:26:57 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 7 Nov 2014 13:26:57 +0100 Subject: LiveCode - Where, How, and with Who ? In-Reply-To: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> Message-ID: <642E9014-ED24-4091-8FBD-0E751DA8A500@sahores-conseil.com> Please, add my vote to this ! Le 7 nov. 2014 ? 13:20, Francis Nugent Dixon a ?crit : > Hi from Beautiful Brittany, > > As a fervent user of LiveCode for some years now, I keep on asking > myself the question ?Who uses LiveCode, and why ?? > I don?t know whether Company Policy would prohibit divulging such > delicate information, but I would love to know the impact of LiveCode > on the computer community as a whole. > I don?t expect precise and confidential data as an answer, but MAYBE > LiveCode officials could give us some idea ??.. > > 1 - Paying Livecode Users for fun > 2 - Paying LiveCode users for commercial purposes > 3 - Breakdown of LiveCode users by Version > 4 - The impact of ?Free? liveCode upon the community > (great idea, but ?. does it work, commercially ?) > > Maybe percentages would be acceptable, rather than numbers ? > > I personally talk about LiveCode to my buddies, but find that few > are ever interested in ?programming?, often because they think it is > too complicated, or else they have no obvious reason to program. > So we (I mean ?US?) may be strange beasts that others would call > ?geeks?, when I personally do not think that we are. > Perhaps we are all ?ex? programmers, ?ex? analysts, or at least ?ex? > (or current) computer personnel ? ?Un monde ? part?, as the French > would say ? > > Are my questions too close to the bone ? Do they fall on stony ground ? > Is there anybody out there who is interested, like me ? > Is it such a closely guarded secret that we, as faithful users of LiveCode > can not see where we stand ?After all, it?s only another computer app. > Or is it ? ?? > > With bated breath ??. > > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From ethanlish at gmail.com Fri Nov 7 07:50:48 2014 From: ethanlish at gmail.com (Ethan Lish) Date: Fri, 07 Nov 2014 04:50:48 -0800 (PST) Subject: Transparent welcome overlay Message-ID: <1415364647487.d318e727@Nodemailer> Anyone have a LiveCode example of a iOS transparent?overlay?welcome screen. ?These first run welcome screens have become the de facto standard in iOS showing users how to get started. A sample / example or control or plugin would be great Thanks in advance, Ethan ? Ethan at Lish.net240.876.1389 From dave at applicationinsight.com Fri Nov 7 08:09:19 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 7 Nov 2014 05:09:19 -0800 (PST) Subject: LiveCode - Where, How, and with Who ? In-Reply-To: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> Message-ID: <1415365759121-4685533.post@n4.nabble.com> Hi Francis I think this is a great idea - just a few days ago I was answering a concern of a potential client, who as part of wanting to know that LiveCode was a valid choice as a platform, wanted to know how many people (especially professional programmers) were using it Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Where-How-and-with-Who-tp4685530p4685533.html Sent from the Revolution - User mailing list archive at Nabble.com. From dixonja at hotmail.co.uk Fri Nov 7 08:49:42 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 7 Nov 2014 13:49:42 +0000 Subject: LiveCode - Where, How, and with Who ? In-Reply-To: <1415365759121-4685533.post@n4.nabble.com> References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr>, <1415365759121-4685533.post@n4.nabble.com> Message-ID: > I think this is a great idea - just a few days ago I was answering a concern > of a potential client, who as part of wanting to know that LiveCode was a > valid choice as a platform, wanted to know how many people (especially > professional programmers) were using it So, Dave ... how did you answer this question ? From jacques.hausser at unil.ch Fri Nov 7 09:26:12 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 7 Nov 2014 15:26:12 +0100 Subject: LiveCode - Where, How, and with Who ? In-Reply-To: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> Message-ID: <83B69B57-CB68-4E76-B327-CE11868A88BD@unil.ch> Hi Francis A first indication is the number of people credited for supporting the open source version in the about box: 868. (= number of items of the last line of fld ?Credit? of cd 1 of stack ?revAbout?) Jacques > Le 7 nov. 2014 ? 13:20, Francis Nugent Dixon a ?crit : > > Hi from Beautiful Brittany, > > As a fervent user of LiveCode for some years now, I keep on asking > myself the question ?Who uses LiveCode, and why ?? > I don?t know whether Company Policy would prohibit divulging such > delicate information, but I would love to know the impact of LiveCode > on the computer community as a whole. > I don?t expect precise and confidential data as an answer, but MAYBE > LiveCode officials could give us some idea ??.. > > 1 - Paying Livecode Users for fun > 2 - Paying LiveCode users for commercial purposes > 3 - Breakdown of LiveCode users by Version > 4 - The impact of ?Free? liveCode upon the community > (great idea, but ?. does it work, commercially ?) > > Maybe percentages would be acceptable, rather than numbers ? > > I personally talk about LiveCode to my buddies, but find that few > are ever interested in ?programming?, often because they think it is > too complicated, or else they have no obvious reason to program. > So we (I mean ?US?) may be strange beasts that others would call > ?geeks?, when I personally do not think that we are. > Perhaps we are all ?ex? programmers, ?ex? analysts, or at least ?ex? > (or current) computer personnel ? ?Un monde ? part?, as the French > would say ? > > Are my questions too close to the bone ? Do they fall on stony ground ? > Is there anybody out there who is interested, like me ? > Is it such a closely guarded secret that we, as faithful users of LiveCode > can not see where we stand ?After all, it?s only another computer app. > Or is it ? ?? > > With bated breath ??. > > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From vclement at gmail.com Fri Nov 7 10:17:19 2014 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 7 Nov 2014 08:17:19 -0700 Subject: iTunes Apps Crashing in IOS 8 Message-ID: Hi All There are many apps that started to crash in iTunes due to the release of IOS 8. https://devforums.apple.com/message/1046451#1046451 The link above is the IOS developer forum link where one of the discussions is ongoing about app crashes. I had a customer contact me today because one of my apps on his device with IOS 8 will not open and crashes. I read other discussions where developers are seeing crashes and did not realize the scope of this issue. If anyone has any knowledge if Apple is working to fix the bug, can you tell us what is happening and when it might be fixed? The discussion above is asking about bug reports and the lack of same from Apple's reporting system. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * On Target Solutions LLC Website: http://www.ontargetsolutions.biz Email: ontargetsolutions at yahoo.com Skype: vaughn.clement FaceTime: vclement at gmail.com Ph. 928-254-9062 From henshaw at me.com Fri Nov 7 11:49:42 2014 From: henshaw at me.com (Andrew Henshaw) Date: Fri, 07 Nov 2014 16:49:42 +0000 Subject: Scaling an app for iPhone 6 In-Reply-To: <4D2AC18B-4F48-4442-B4B6-FF4DC32A746B@me.com> References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> <7606F192-547B-461F-B20F-81CC464B93E8@sweattechnologies.com> <4D2AC18B-4F48-4442-B4B6-FF4DC32A746B@me.com> Message-ID: With the latest updates, I have gone through an app and stripped it out to just the single @1x resolution and let Livecode do the work to scale it up for the iPhone 5. This works perfectly, with all the images etc all appearing in the right places. However when I test the same on an iPhone 6 or 6 simulator the stack gets scaled up, but only to the iPhone 5 dimensions leaving a black bar to the left and bottom, and the @2x images are used. The result of thescreenpixels is 2, I would have expected 3. Am I missing something or is this a bug? Andy From pete at lcsql.com Fri Nov 7 12:46:02 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Nov 2014 09:46:02 -0800 Subject: Menu question Message-ID: Let's say you have a list of stacks and their substacks in a menu. For example: StackA --> StackA1 StackA2 StackB --> StackB1 StackB2 I'm trying to find a menu type that will items in the above format and allow me to choose either a main stack or a substack Option menu and combobox don't work since they don't allow cascading items. Pulldown, cascade, and popup menus allow cascading but only allow you to select the last item in any given cascade, a substack in this case. It doesn't look like there's a way to do this with a standard menu type? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dixonja at hotmail.co.uk Fri Nov 7 13:17:14 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 7 Nov 2014 18:17:14 +0000 Subject: working screenrect Message-ID: If I make a stack at 320 x 480 Choose 'Device > iPhone 4s' from the 'Hardware' menu then :- put the item 3 to 4 of the effective working screenRect into fld 1 returns 0,0,320,480... this is expected. I change the Device to 'iPhone 5s' from the 'Hardware' menu and 0,0,320,568 is returned... this too is expected... However the same 0,0,320,568 is returned if I choose iPhone 6 or iPhone 6 plus from the 'Hardware' menu... Anyone else seeing this ?... Anyone got a fix so I could know which iPhone the stack is running on ? thanks From jacque at hyperactivesw.com Fri Nov 7 13:57:29 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Nov 2014 12:57:29 -0600 Subject: Menu question In-Reply-To: References: Message-ID: <545D1619.8050804@hyperactivesw.com> On 11/7/2014, 11:46 AM, Peter Haworth wrote: > Let's say you have a list of stacks and their substacks in a menu. For > example: > > StackA --> StackA1 > StackA2 > StackB --> StackB1 > StackB2 > > I'm trying to find a menu type that will items in the above format and > allow me to choose either a main stack or a substack > > Option menu and combobox don't work since they don't allow cascading items. > > Pulldown, cascade, and popup menus allow cascading but only allow you to > select the last item in any given cascade, a substack in this case. > > It doesn't look like there's a way to do this with a standard menu type? I think you'll have to fake it by adding some characters in front of the substack names, and then stripping those off when you want to actually use the names in a script. Nonbreaking spaces might work and would give the appearance of an indent. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Nov 7 14:03:13 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Nov 2014 11:03:13 -0800 Subject: [OT] OSX 10.9 Message-ID: Trying to get hold of a copy of OSX 10.9 but all I can find now is 10.10. Anyone know of a place I can get 10.9? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From roger.e.eller at sealedair.com Fri Nov 7 14:12:14 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 7 Nov 2014 14:12:14 -0500 Subject: [OT] OSX 10.9 In-Reply-To: References: Message-ID: Look in your Applications folder. Do you see "Install OS X Mavericks.app"? Is this the machine that downloaded it from the App store? ~Roger On Fri, Nov 7, 2014 at 2:03 PM, Peter Haworth wrote: > Trying to get hold of a copy of OSX 10.9 but all I can find now is 10.10. > Anyone know of a place I can get 10.9? > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Fri Nov 7 14:45:08 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 07 Nov 2014 12:45:08 -0700 Subject: [OT] OSX 10.9 In-Reply-To: References: Message-ID: <49F9080E-7ECF-4EE5-8B18-D6C594A6356E@icloud.com> Peter, If possible, simply log in to the Mac app store and go to Purchases. It should be listed there. If not, it may be possible to download it directly from the Mac Dev Center. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > On Nov 7, 2014, at 12:03 PM, Peter Haworth wrote: > > Trying to get hold of a copy of OSX 10.9 but all I can find now is 10.10. > Anyone know of a place I can get 10.9? > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Nov 7 14:59:42 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Nov 2014 11:59:42 -0800 Subject: Menu question In-Reply-To: <545D1619.8050804@hyperactivesw.com> References: <545D1619.8050804@hyperactivesw.com> Message-ID: Hi Jacque, That's what I've been doing up to now but if there is a large number of stacks open and/or they have lots of substacks, the option menu choices get really long and hard to locate what you want. What I was hoping to do is simply list the main stacks when the menu is clicked so it will be a fairly short list, then expand to show the substacks when the mouse is over a main stack name. Anyway, it's looking like there isn;t a way to do what I want so will have to see if I can cobble something together. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 7, 2014 at 10:57 AM, J. Landman Gay wrote: > On 11/7/2014, 11:46 AM, Peter Haworth wrote: > >> Let's say you have a list of stacks and their substacks in a menu. For >> example: >> >> StackA --> StackA1 >> StackA2 >> StackB --> StackB1 >> StackB2 >> >> I'm trying to find a menu type that will items in the above format and >> allow me to choose either a main stack or a substack >> >> Option menu and combobox don't work since they don't allow cascading >> items. >> >> Pulldown, cascade, and popup menus allow cascading but only allow you to >> select the last item in any given cascade, a substack in this case. >> >> It doesn't look like there's a way to do this with a standard menu type? >> > > I think you'll have to fake it by adding some characters in front of the > substack names, and then stripping those off when you want to actually use > the names in a script. Nonbreaking spaces might work and would give the > appearance of an indent. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From effendi at wanadoo.fr Fri Nov 7 15:10:42 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 7 Nov 2014 21:10:42 +0100 Subject: Where, How, and with Who ? Message-ID: <8DD42638-4EED-4282-956D-5CE2F9F05A5B@wanadoo.fr> Hi, from Beautiful Brittany, I don?t believe it - I must be Psychic !. Today, at 12:00 I sent my mail, ?Where, How, and with Who ?? and at 16:04, I got an officicial LiveCode mail, saying ?Who Are You? ?, obviously under preparation for some time. Well, Heather, I am gabberflasted ??? ?.. and I will tell you who I am, and what I do with LiveCode, if you promise to return statistics to us all ??.. -Francis From henshaw at me.com Fri Nov 7 15:20:30 2014 From: henshaw at me.com (Andrew Henshaw) Date: Fri, 07 Nov 2014 20:20:30 +0000 Subject: Scaling an app for iPhone 6 In-Reply-To: References: <1415036338530-4685362.post@n4.nabble.com> <7D2BEA7B-948F-4EDD-9324-95E620C1F29C@major-k.de> <47532BB3-B236-4E21-8E7B-7BDBE66E2C18@sweattechnologies.com> <7606F192-547B-461F-B20F-81CC464B93E8@sweattechnologies.com> <4D2AC18B-4F48-4442-B4B6-FF4DC32A746B@me.com> Message-ID: <09006DF4-7A17-48CE-91F7-4FB585AD39D7@me.com> Found the issue (I think). Everything scales correctly for the iPhone 6, until you add a splash screen image. After that it shows the better splash, then flashes and shows the iPhone 5 splash and proceeds to load the app at iPhone 5 screen resolution. Ive posted a report on the bug system so this can be investigated. In the meantime Ill leave the splash screen off. > On 7 Nov 2014, at 16:49, Andrew Henshaw wrote: > > With the latest updates, I have gone through an app and stripped it out to just the single @1x resolution and let Livecode do the work to scale it up for the iPhone 5. This works perfectly, with all the images etc all appearing in the right places. > > However when I test the same on an iPhone 6 or 6 simulator the stack gets scaled up, but only to the iPhone 5 dimensions leaving a black bar to the left and bottom, and the @2x images are used. The result of thescreenpixels is 2, I would have expected 3. > > Am I missing something or is this a bug? > > Andy > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Fri Nov 7 15:33:21 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 7 Nov 2014 22:33:21 +0200 Subject: How safe and feasable is it ? Message-ID: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> Hi list Here's something I've had in mind for quite some time. Let's say you have an app built with LC that you send to various users as standalones with regular updates. What if all the most important functions of that app were gathered as handlers in the main stack script for instance, and at every startup, a script would check with a remote server for a possible update of that script, and dowload the new version (if any) to replace the old one with a simple "set script of this stack to myVar" ? The standalone could be a simple front end with all the most important objects, and therefore would weight slightly less than the complete app, and above all would need to be downloaded only once by end users who would not have to worry about versions and updates. At first glance this looks like a convenient way to update existing functions, add new ones, manage different settings among users, etc. But what about safety ? Is there a way to encrypt the main script while it is downloaded at startup so that it can't be caught by some sniffer ? And is there any other crucial security issue that didn't cross my mind ? Thanks jbv From heather at runrev.com Fri Nov 7 15:41:59 2014 From: heather at runrev.com (Heather Laine) Date: Fri, 7 Nov 2014 20:41:59 +0000 Subject: Where, How, and with Who ? In-Reply-To: <8DD42638-4EED-4282-956D-5CE2F9F05A5B@wanadoo.fr> References: <8DD42638-4EED-4282-956D-5CE2F9F05A5B@wanadoo.fr> Message-ID: <37607C0E-CB26-4019-BDBD-DD8C68A923E1@runrev.com> :) I will, I promise. I can see I hit a resonant note with this article, I've never had so many replies! Keep them coming folks, and I'll have some interesting stats for the next newsletter! Regards, Heather On 7 Nov 2014, at 20:10, Francis Nugent Dixon wrote: > > Hi, from Beautiful Brittany, > > I don?t believe it - I must be Psychic !. Today, at 12:00 I sent my mail, > ?Where, How, and with Who ?? and at 16:04, I got an officicial LiveCode > mail, saying ?Who Are You? ?, obviously under preparation for some time. > > Well, Heather, I am gabberflasted ??? > > ?.. and I will tell you who I am, and what I do with LiveCode, if you > promise to return statistics to us all ??.. > > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Heather Laine Customer Services Manager http://www.livecode.com/ From pete at lcsql.com Fri Nov 7 16:22:25 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Nov 2014 13:22:25 -0800 Subject: How safe and feasable is it ? In-Reply-To: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> References: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> Message-ID: Don't think you can set the script of a running app. Maybe put all the handlers into a separate library stack, password protected, and when your main app detects an update it stops using the library stack, installs the update, then starts using it again. Pete lcSQL Software On Nov 7, 2014 12:33 PM, wrote: > Hi list > > Here's something I've had in mind for quite some time. > Let's say you have an app built with LC that you send to > various users as standalones with regular updates. > What if all the most important functions of that app were > gathered as handlers in the main stack script for instance, and > at every startup, a script would check with a remote server > for a possible update of that script, and dowload the new > version (if any) to replace the old one with a simple > "set script of this stack to myVar" ? > The standalone could be a simple front end with all the > most important objects, and therefore would weight slightly > less than the complete app, and above all would need to > be downloaded only once by end users who would not have > to worry about versions and updates. > At first glance this looks like a convenient way to update > existing functions, add new ones, manage different settings > among users, etc. > But what about safety ? Is there a way to encrypt the main > script while it is downloaded at startup so that it can't be > caught by some sniffer ? And is there any other crucial > security issue that didn't cross my mind ? > > Thanks > jbv > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Nov 7 16:28:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Nov 2014 13:28:06 -0800 Subject: [OT] OSX 10.9 In-Reply-To: <49F9080E-7ECF-4EE5-8B18-D6C594A6356E@icloud.com> References: <49F9080E-7ECF-4EE5-8B18-D6C594A6356E@icloud.com> Message-ID: Thanks Roger and Chris. I should explain, I'm still on 10.7.4 and looking to upgrade to 10.9, never got the update for 10.8 or 10.9. Now that 10.10 is out, I don;t see anything except that on the App Store but I may not be looking hard enough. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 7, 2014 at 11:45 AM, Chris Sheffield wrote: > Peter, > > If possible, simply log in to the Mac app store and go to Purchases. It > should be listed there. If not, it may be possible to download it directly > from the Mac Dev Center. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > On Nov 7, 2014, at 12:03 PM, Peter Haworth wrote: > > > > Trying to get hold of a copy of OSX 10.9 but all I can find now is 10.10. > > Anyone know of a place I can get 10.9? > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikedoub at gmail.com Fri Nov 7 16:31:16 2014 From: mikedoub at gmail.com (Mike Doub) Date: Fri, 07 Nov 2014 16:31:16 -0500 Subject: How safe and feasable is it ? In-Reply-To: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> References: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> Message-ID: <545D3A24.4080600@gmail.com> Here is what I use all of the time. The concept is much simpler that what you were proposing. There is a single app, which is the engine and all of the livecode libraries linked to it. This is deployed once, unless there is a new engine with features you want to use. ie livecode 6.0 to 7.0 The app fetches an index file, that contain all of the links to the other available stacks. I have it set up such that each is a separate application from the users perspective. The user doubleclicks on the app/stack and it gets loaded. I have thought about saving the stacks locally for when the user was not connected to the internet, but none of my users have asked for that capability. That would not be hard to add. Security wise, just set the password on the stack. You can certainly add on your own encryption if you want. Here is the code to the WHOLE app! on opencard set itemdel to tab put url "https://dl.dropbox.com/s/~~~~/Index.txt" into AppList set the dgText of grp "AppPicker" to Applist -- 2 items per line, the url to the stack and the text that the user sees end opencard on mousedoubleup set the itemdel to tab put the dgHilitedLines of grp "AppPicker" into tLine put the dgDataOfLine[tLine] of grp "AppPicker" into tData put tData["theLink"] into tURL go to URL tURL end mousedoubleup on CloseStackRequest answer "Are you sure you want to quit?" with "No way" or "OK" if it = "OK" then ## close stack: quit end if ## no other action neccessary end CloseStackRequest On 11/7/14 3:33 PM, jbv at souslelogo.com wrote: > Hi list > > Here's something I've had in mind for quite some time. > Let's say you have an app built with LC that you send to > various users as standalones with regular updates. > What if all the most important functions of that app were > gathered as handlers in the main stack script for instance, and > at every startup, a script would check with a remote server > for a possible update of that script, and dowload the new > version (if any) to replace the old one with a simple > "set script of this stack to myVar" ? > The standalone could be a simple front end with all the > most important objects, and therefore would weight slightly > less than the complete app, and above all would need to > be downloaded only once by end users who would not have > to worry about versions and updates. > At first glance this looks like a convenient way to update > existing functions, add new ones, manage different settings > among users, etc. > But what about safety ? Is there a way to encrypt the main > script while it is downloaded at startup so that it can't be > caught by some sniffer ? And is there any other crucial > security issue that didn't cross my mind ? > > Thanks > jbv > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Fri Nov 7 17:17:16 2014 From: gerry.orkin at gmail.com (Gerry) Date: Fri, 07 Nov 2014 22:17:16 +0000 Subject: working screenrect References: Message-ID: I asked this a few weeks ago. No answer. Gerry On Sat, 8 Nov 2014 at 5:17 am, John Dixon wrote: > If I make a stack at 320 x 480 > Choose 'Device > iPhone 4s' from the 'Hardware' menu then :- > > put the item 3 to 4 of the effective working screenRect into fld 1 > > returns 0,0,320,480... this is expected. I change the Device to 'iPhone > 5s' from the 'Hardware' menu and 0,0,320,568 is returned... this too is > expected... However the same 0,0,320,568 is returned if I choose iPhone 6 > or iPhone 6 plus from the 'Hardware' menu... > > Anyone else seeing this ?... Anyone got a fix so I could know which iPhone > the stack is running on ? > > thanks > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Fri Nov 7 17:18:35 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 07 Nov 2014 15:18:35 -0700 Subject: [OT] OSX 10.9 In-Reply-To: References: <49F9080E-7ECF-4EE5-8B18-D6C594A6356E@icloud.com> Message-ID: Hmm, if that?s the case, I?m not really sure. When I log into the Mac Dev Center, I see a button to download 10.9, which jumps me to the Mac App Store, but that may only be because I already have in the past. It used to be that you could go to the Other Downloads section and find disk images for past versions of OS X, but I don?t think those are even available anymore. The 10.9.x updates are all there, but not the full install that I can see? > On Nov 7, 2014, at 2:28 PM, Peter Haworth wrote: > > Thanks Roger and Chris. I should explain, I'm still on 10.7.4 and looking > to upgrade to 10.9, never got the update for 10.8 or 10.9. Now that 10.10 > is out, I don;t see anything except that on the App Store but I may not be > looking hard enough. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Fri, Nov 7, 2014 at 11:45 AM, Chris Sheffield > wrote: > >> Peter, >> >> If possible, simply log in to the Mac app store and go to Purchases. It >> should be listed there. If not, it may be possible to download it directly >> from the Mac Dev Center. >> >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >>> On Nov 7, 2014, at 12:03 PM, Peter Haworth wrote: >>> >>> Trying to get hold of a copy of OSX 10.9 but all I can find now is 10.10. >>> Anyone know of a place I can get 10.9? >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Nov 7 17:28:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Nov 2014 16:28:45 -0600 Subject: [OT] OSX 10.9 In-Reply-To: References: <49F9080E-7ECF-4EE5-8B18-D6C594A6356E@icloud.com> Message-ID: <545D479D.6070602@hyperactivesw.com> According to MacWorld, "If you do not have a copy of Mavericks in your download history then you need to ask another person to lend you a copy (by asking them to sign in to the App Store on your computer)." Know anyone near you who already has Mavericks? On 11/7/2014, 4:18 PM, Chris Sheffield wrote: > Hmm, if that?s the case, I?m not really sure. When I log into the Mac Dev Center, I see a button to download 10.9, which jumps me to the Mac App Store, but that may only be because I already have in the past. It used to be that you could go to the Other Downloads section and find disk images for past versions of OS X, but I don?t think those are even available anymore. The 10.9.x updates are all there, but not the full install that I can see? > > >> On Nov 7, 2014, at 2:28 PM, Peter Haworth wrote: >> >> Thanks Roger and Chris. I should explain, I'm still on 10.7.4 and looking >> to upgrade to 10.9, never got the update for 10.8 or 10.9. Now that 10.10 >> is out, I don;t see anything except that on the App Store but I may not be >> looking hard enough. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> On Fri, Nov 7, 2014 at 11:45 AM, Chris Sheffield >> wrote: >> >>> Peter, >>> >>> If possible, simply log in to the Mac app store and go to Purchases. It >>> should be listed there. If not, it may be possible to download it directly >>> from the Mac Dev Center. >>> >>> Chris >>> >>> >>> -- >>> Chris Sheffield >>> Read Naturally, Inc. >>> www.readnaturally.com >>> >>>> On Nov 7, 2014, at 12:03 PM, Peter Haworth wrote: >>>> >>>> Trying to get hold of a copy of OSX 10.9 but all I can find now is 10.10. >>>> Anyone know of a place I can get 10.9? >>>> Pete >>>> lcSQL Software >>>> Home of lcStackBrowser and >>>> SQLiteAdmin >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dave at applicationinsight.com Fri Nov 7 17:24:34 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 7 Nov 2014 14:24:34 -0800 (PST) Subject: LiveCode - Where, How, and with Who ? In-Reply-To: References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> <1415365759121-4685533.post@n4.nabble.com> Message-ID: <1415399074375-4685555.post@n4.nabble.com> Hi John In my reply didn't use any numbers (didn't think of Jacque's idea of citing the number of coders who supported the open source project). I relied on the visible Runrev community; pointing my potential client to the forum and this mailing list, asking him to note how active both are and suggested he look at the subject titles and quality of responses - and it would be evident that many used Livecode for a living, and that there was a deep well of expertise in the platform. As to whether this approach worked - still to early to say but I THINK it was enough to convince him :) Since then I see that RunRev's latest newsletter has a "who are you" item which I hope will give us all some numbers and insight which we can use in the future Kind regards Dave John Dixon wrote >> I think this is a great idea - just a few days ago I was answering a >> concern >> of a potential client, who as part of wanting to know that LiveCode was a >> valid choice as a platform, wanted to know how many people (especially >> professional programmers) were using it > > So, Dave ... how did you answer this question ? > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Where-How-and-with-Who-tp4685530p4685555.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Nov 7 17:33:17 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Nov 2014 16:33:17 -0600 Subject: How safe and feasable is it ? In-Reply-To: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> References: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> Message-ID: <545D48AD.7070601@hyperactivesw.com> On 11/7/2014, 2:33 PM, jbv at souslelogo.com wrote: > Hi list > > Here's something I've had in mind for quite some time. > Let's say you have an app built with LC that you send to > various users as standalones with regular updates. > What if all the most important functions of that app were > gathered as handlers in the main stack script for instance, and > at every startup, a script would check with a remote server > for a possible update of that script, and dowload the new > version (if any) to replace the old one with a simple > "set script of this stack to myVar" ? > The standalone could be a simple front end with all the > most important objects, and therefore would weight slightly > less than the complete app, and above all would need to > be downloaded only once by end users who would not have > to worry about versions and updates. > At first glance this looks like a convenient way to update > existing functions, add new ones, manage different settings > among users, etc. > But what about safety ? Is there a way to encrypt the main > script while it is downloaded at startup so that it can't be > caught by some sniffer ? And is there any other crucial > security issue that didn't cross my mind ? There's the part about standalones not being able to save themselves to disk. To make this work, the scripts would have to be in a separate stack that is put in use. If you're doing that, you may as well just download the whole stack and overwrite the old one. The only advantage to getting just the script itself would be if the stack is very large due to images or other content, and the only change is in the script. Then it would be faster to just get the text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Nov 7 17:39:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Nov 2014 16:39:47 -0600 Subject: LiveCode - Where, How, and with Who ? In-Reply-To: <1415399074375-4685555.post@n4.nabble.com> References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> <1415365759121-4685533.post@n4.nabble.com> <1415399074375-4685555.post@n4.nabble.com> Message-ID: <545D4A33.5030001@hyperactivesw.com> On 11/7/2014, 4:24 PM, Dave Kilroy wrote: > In my reply didn't use any numbers (didn't think of Jacque's idea of citing > the number of coders who supported the open source project). While I'd love to take credit for all good ideas, this was the other Jacque* -- the one with the "s" after his name. I always do a double-take whenever he posts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dave at applicationinsight.com Fri Nov 7 17:57:33 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 7 Nov 2014 14:57:33 -0800 (PST) Subject: LiveCode - Where, How, and with Who ? In-Reply-To: <545D4A33.5030001@hyperactivesw.com> References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> <1415365759121-4685533.post@n4.nabble.com> <1415399074375-4685555.post@n4.nabble.com> <545D4A33.5030001@hyperactivesw.com> Message-ID: <1415401053230-4685558.post@n4.nabble.com> Yes sorry about that both of you 'J' people - once I posted I realised the inverted comma was in the wrong place :( J. Landman Gay wrote > On 11/7/2014, 4:24 PM, Dave Kilroy wrote: >> In my reply didn't use any numbers (didn't think of Jacque's idea of >> citing >> the number of coders who supported the open source project). > > While I'd love to take credit for all good ideas, this was the other > Jacque* -- the one with the "s" after his name. I always do a > double-take whenever he posts. > > -- > Jacqueline Landman Gay | > jacque@ > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Where-How-and-with-Who-tp4685530p4685558.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Fri Nov 7 18:08:00 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 7 Nov 2014 15:08:00 -0800 (PST) Subject: working screenrect In-Reply-To: References: Message-ID: <1415401680479-4685559.post@n4.nabble.com> John you're doing better than me - for iPhone I can't get the simulator to display anything except 4s (Yosemite using LC 6.5, 6.7 and 7.0) - and the simulator keyboard never fires either - but on a device things (so far) appear as they are supposed to... Dave John Dixon wrote > However the same 0,0,320,568 is returned if I choose iPhone 6 or iPhone 6 > plus from the 'Hardware' menu... ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/working-screenrect-tp4685539p4685559.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Fri Nov 7 21:01:30 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 7 Nov 2014 21:01:30 -0500 Subject: LiveCode - Where, How, and with Who ? Message-ID: <4F3A22FE-5C7A-40FE-B611-24F96116D1B8@gmail.com> On Nov 7, 2014, at 8:49 AM, John Dixon wrote: >> I think this is a great idea - just a few days ago I was answering a concern >> of a potential client, who as part of wanting to know that LiveCode was a >> valid choice as a platform, wanted to know how many people (especially >> professional programmers) were using it > > So, Dave ... how did you answer this question ? Perhaps point them to this: http://livecode.com/wp-content/uploads/2013/04/USGS-Landsat7-ForestryApp-livecode-case-study.pdf The Landsat 7 satellite management system uses LiveCode. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Fri Nov 7 21:04:28 2014 From: pmbrig at gmail.com (Peter Brigham) Date: Fri, 7 Nov 2014 21:04:28 -0500 Subject: 7.0.1-RC1 selectively not obeying "open card in script? Message-ID: On Nov 6, 2014, at 4:58 PM, Peter Haworth wrote: > I spent an hour yesterday trying to track down a bug that turned out to be > caused by a misspelled variable name. I don't use explicit variables, so I avoid misspelling variable names by using Jaques' scriptPaint handler. Put this into a universal (frontscript) library script, so it's available everywhere in LC: on controlkeydown which if which = space and the shiftkey is down then put the long name of the target into targRef if "field" is not in targRef then pass controlkeydown if "revNewScriptEditor" is not in targRef then pass controlkeydown put the mouseText into the selection else pass controlkeydown end if end controlkeydown Then just set the insertion point in a script and hover over a variable name and hit the spacebar (with control + shift) and the variable name is copied over for you. Adjust the modifier keys as needed -- in my workflow I use control-shift- for all my scripting shortcuts. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Fri Nov 7 21:59:42 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Nov 2014 20:59:42 -0600 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: <14F0D7F7-54B2-4350-9454-7E3280C3073B@hyperactivesw.com> Yeah, well, it all breaks in LiveCode 6.7. Which is a huge bummer because I've relied on that handler for years and it's second nature now. Not only did the name of the editor field change, which is easily fixed, but the control key, among others, no longer triggers. On November 7, 2014 8:04:28 PM CST, Peter Brigham wrote: >On Nov 6, 2014, at 4:58 PM, Peter Haworth wrote: > >> I spent an hour yesterday trying to track down a bug that turned out >to be >> caused by a misspelled variable name. > >I don't use explicit variables, so I avoid misspelling variable names >by using Jaques' scriptPaint handler. Put this into a universal >(frontscript) library script, so it's available everywhere in LC: > >on controlkeydown which > if which = space and the shiftkey is down then > put the long name of the target into targRef > if "field" is not in targRef then pass controlkeydown > if "revNewScriptEditor" is not in targRef then pass controlkeydown > put the mouseText into the selection > else > pass controlkeydown > end if >end controlkeydown > >Then just set the insertion point in a script and hover over a variable >name and hit the spacebar (with control + shift) and the variable name >is copied over for you. Adjust the modifier keys as needed -- in my >workflow I use control-shift- for all my scripting shortcuts. > >-- Peter > >Peter M. Brigham >pmbrig at gmail.com >http://home.comcast.net/~pmbrig >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Nov 7 22:09:20 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Nov 2014 19:09:20 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: I tried that. I just prefer declaring all variables and not have to bother with extra key modifiers while typing. I guess there'll never be a group agreement on the use of explicit variables, i's just a matter of personal preference. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 7, 2014 at 6:04 PM, Peter Brigham wrote: > On Nov 6, 2014, at 4:58 PM, Peter Haworth wrote: > > > I spent an hour yesterday trying to track down a bug that turned out to > be > > caused by a misspelled variable name. > > I don't use explicit variables, so I avoid misspelling variable names by > using Jaques' scriptPaint handler. Put this into a universal (frontscript) > library script, so it's available everywhere in LC: > > on controlkeydown which > if which = space and the shiftkey is down then > put the long name of the target into targRef > if "field" is not in targRef then pass controlkeydown > if "revNewScriptEditor" is not in targRef then pass controlkeydown > put the mouseText into the selection > else > pass controlkeydown > end if > end controlkeydown > > Then just set the insertion point in a script and hover over a variable > name and hit the spacebar (with control + shift) and the variable name is > copied over for you. Adjust the modifier keys as needed -- in my workflow I > use control-shift- for all my scripting shortcuts. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Nov 7 22:11:54 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 7 Nov 2014 19:11:54 -0800 Subject: [OT] OSX 10.9 In-Reply-To: <545D479D.6070602@hyperactivesw.com> References: <49F9080E-7ECF-4EE5-8B18-D6C594A6356E@icloud.com> <545D479D.6070602@hyperactivesw.com> Message-ID: My son would probably be a good candidate :-) Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 7, 2014 at 2:28 PM, J. Landman Gay wrote: > According to MacWorld, "If you do not have a copy of Mavericks in your > download history then you need to ask another person to lend you a copy (by > asking them to sign in to the App Store on your computer)." > > back-mavericks-from-yosemite-3581872/> > > Know anyone near you who already has Mavericks? > > > On 11/7/2014, 4:18 PM, Chris Sheffield wrote: > >> Hmm, if that?s the case, I?m not really sure. When I log into the Mac Dev >> Center, I see a button to download 10.9, which jumps me to the Mac App >> Store, but that may only be because I already have in the past. It used to >> be that you could go to the Other Downloads section and find disk images >> for past versions of OS X, but I don?t think those are even available >> anymore. The 10.9.x updates are all there, but not the full install that I >> can see? >> >> >> On Nov 7, 2014, at 2:28 PM, Peter Haworth wrote: >>> >>> Thanks Roger and Chris. I should explain, I'm still on 10.7.4 and >>> looking >>> to upgrade to 10.9, never got the update for 10.8 or 10.9. Now that >>> 10.10 >>> is out, I don;t see anything except that on the App Store but I may not >>> be >>> looking hard enough. >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> >>> On Fri, Nov 7, 2014 at 11:45 AM, Chris Sheffield >> > >>> wrote: >>> >>> Peter, >>>> >>>> If possible, simply log in to the Mac app store and go to Purchases. It >>>> should be listed there. If not, it may be possible to download it >>>> directly >>>> from the Mac Dev Center. >>>> >>>> Chris >>>> >>>> >>>> -- >>>> Chris Sheffield >>>> Read Naturally, Inc. >>>> www.readnaturally.com >>>> >>>> On Nov 7, 2014, at 12:03 PM, Peter Haworth wrote: >>>>> >>>>> Trying to get hold of a copy of OSX 10.9 but all I can find now is >>>>> 10.10. >>>>> Anyone know of a place I can get 10.9? >>>>> Pete >>>>> lcSQL Software >>>>> Home of lcStackBrowser and >>>>> SQLiteAdmin >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> >>>> subscription preferences: >>>> >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From simon at asato-media.com Fri Nov 7 22:14:16 2014 From: simon at asato-media.com (Simon) Date: Fri, 7 Nov 2014 19:14:16 -0800 (PST) Subject: iOS stand alone settings In-Reply-To: <545BB551.8060101@hyperactivesw.com> References: <1415118961848.7976075d@Nodemailer> <54591DFA.2060806@hyperactivesw.com> <545BA096.6070907@gmail.com> <545BB551.8060101@hyperactivesw.com> Message-ID: <1415416456276-4685565.post@n4.nabble.com> Hi Jacque, "The standalone builder does keep a record of the versions and other app settings as part of the stack properties..." So, is there a way to record CFBundleVersion 7.5.7 during the save as standalone for iOS mobile? Sure, I get save it as a custom property, just how to read it? Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-stand-alone-settings-tp4685405p4685565.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Nov 8 01:25:11 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Nov 2014 00:25:11 -0600 Subject: [OT] OSX 10.9 In-Reply-To: References: <49F9080E-7ECF-4EE5-8B18-D6C594A6356E@icloud.com> <545D479D.6070602@hyperactivesw.com> Message-ID: <1125C289-29F5-421F-AB27-84BB4613FFE2@hyperactivesw.com> Aha. I knew sons had to be good for something. On November 7, 2014 9:11:54 PM CST, Peter Haworth wrote: >My son would probably be a good candidate :-) > >Pete >lcSQL Software >Home of lcStackBrowser and >SQLiteAdmin > >On Fri, Nov 7, 2014 at 2:28 PM, J. Landman Gay > >wrote: > >> According to MacWorld, "If you do not have a copy of Mavericks in >your >> download history then you need to ask another person to lend you a >copy (by >> asking them to sign in to the App Store on your computer)." >> >> > back-mavericks-from-yosemite-3581872/> >> >> Know anyone near you who already has Mavericks? >> >> >> On 11/7/2014, 4:18 PM, Chris Sheffield wrote: >> >>> Hmm, if that?s the case, I?m not really sure. When I log into the >Mac Dev >>> Center, I see a button to download 10.9, which jumps me to the Mac >App >>> Store, but that may only be because I already have in the past. It >used to >>> be that you could go to the Other Downloads section and find disk >images >>> for past versions of OS X, but I don?t think those are even >available >>> anymore. The 10.9.x updates are all there, but not the full install >that I >>> can see? >>> >>> >>> On Nov 7, 2014, at 2:28 PM, Peter Haworth wrote: >>>> >>>> Thanks Roger and Chris. I should explain, I'm still on 10.7.4 and >>>> looking >>>> to upgrade to 10.9, never got the update for 10.8 or 10.9. Now >that >>>> 10.10 >>>> is out, I don;t see anything except that on the App Store but I may >not >>>> be >>>> looking hard enough. >>>> >>>> Pete >>>> lcSQL Software >>>> Home of lcStackBrowser >and >>>> SQLiteAdmin >>>> >>>> On Fri, Nov 7, 2014 at 11:45 AM, Chris Sheffield >>>> > >>>> wrote: >>>> >>>> Peter, >>>>> >>>>> If possible, simply log in to the Mac app store and go to >Purchases. It >>>>> should be listed there. If not, it may be possible to download it >>>>> directly >>>>> from the Mac Dev Center. >>>>> >>>>> Chris >>>>> >>>>> >>>>> -- >>>>> Chris Sheffield >>>>> Read Naturally, Inc. >>>>> www.readnaturally.com >>>>> >>>>> On Nov 7, 2014, at 12:03 PM, Peter Haworth >wrote: >>>>>> >>>>>> Trying to get hold of a copy of OSX 10.9 but all I can find now >is >>>>>> 10.10. >>>>>> Anyone know of a place I can get 10.9? >>>>>> Pete >>>>>> lcSQL Software >>>>>> Home of lcStackBrowser >and >>>>>> SQLiteAdmin >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> >>>>> subscription preferences: >>>>> >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dixonja at hotmail.co.uk Sat Nov 8 03:37:40 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 8 Nov 2014 08:37:40 +0000 Subject: working screenrect In-Reply-To: <1415401680479-4685559.post@n4.nabble.com> References: , <1415401680479-4685559.post@n4.nabble.com> Message-ID: > John you're doing better than me - for iPhone I can't get the simulator to > display anything except 4s (Yosemite using LC 6.5, 6.7 and 7.0) - and the > simulator keyboard never fires either - but on a device things (so far) > appear as they are supposed to... > > Dave Well, it is a show stopper for developing an iPhone app that you would like to run on all the iPhones from the 4s through to the 6 plus... unless of course, pockets are deep enough to have all four of the current iPhones sitting next to your Mac...:-( The screenRect function is not working in the simulator... be well From scott at elementarysoftware.com Sat Nov 8 03:58:29 2014 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 8 Nov 2014 00:58:29 -0800 Subject: iOS stand alone settings In-Reply-To: <1415416456276-4685565.post@n4.nabble.com> References: <1415118961848.7976075d@Nodemailer> <54591DFA.2060806@hyperactivesw.com> <545BA096.6070907@gmail.com> <545BB551.8060101@hyperactivesw.com> <1415416456276-4685565.post@n4.nabble.com> Message-ID: Hello Simon, ?> I have a locked field that, when clicked, manages version numbers ?> for iOS mobile builds ?> put your new version number into tNewVersion ?> then update the standalone builder and your own customProperty ?> at the same time ?> assume ?main? is the name of your mainstack -- update the internal version set the uVersionNumber of stack "main" to tNewVersion -- update this field so I can see the current version put tNewVersion into me -- update the revStandaloneSettings set the customPropertySet of stack "main" to "cRevStandaloneSettings" put "ios,bundle version" into tVersionCustomProp set the tVersionCustomProp of stack "main" to tNewVersion save stack "main" set the customPropertySet of stack "main" to empty -- clean up -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ > On Nov 7, 2014, at 7:14 PM, Simon wrote: > > Hi Jacque, > > "The standalone builder does keep a record of the versions and other app > settings as part of the stack properties..." > > So, is there a way to record > CFBundleVersion > 7.5.7 > during the save as standalone for iOS mobile? > > Sure, I get save it as a custom property, just how to read it? > > Simon From dave at applicationinsight.com Sat Nov 8 04:45:14 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 8 Nov 2014 01:45:14 -0800 (PST) Subject: working screenrect In-Reply-To: References: <1415401680479-4685559.post@n4.nabble.com> Message-ID: <1415439914515-4685569.post@n4.nabble.com> I'm not quite at the stage where it is essential to check on iPhone 6 etc so am going on trust for the moment - I had been expecting another release from LiveCode on Friday which would fix these bugs - but there must have been a hiccup - am now hoping the release will appear Monday... I currently have a 4s, if they don't fix it soon I'll have to get a 2nd hand iPhone 5 (never mind a 6) for testing purposes - ho hum John Dixon wrote > Well, it is a show stopper for developing an iPhone app that you would > like to run on all the iPhones from the 4s through to the 6 plus... unless > of course, pockets are deep enough to have all four of the current iPhones > sitting next to your Mac...:-( ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/working-screenrect-tp4685539p4685569.html Sent from the Revolution - User mailing list archive at Nabble.com. From ethanlish at gmail.com Sat Nov 8 09:31:09 2014 From: ethanlish at gmail.com (Ethan Lish) Date: Sat, 08 Nov 2014 06:31:09 -0800 (PST) Subject: Remote stack Message-ID: <1415457068384.5dfbd409@Nodemailer> How can one control the cache or force the reload of a remote stack? Using the algorithm defined in this lesson http://lessons.runrev.com/m/4071/l/78702-opening-a-stack-from-the-server When the client is restarted it does not reload the changed stack from the server E ? Ethan at Lish.net240.876.1389 From bobsneidar at iotecdigital.com Sat Nov 8 10:32:21 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 8 Nov 2014 15:32:21 +0000 Subject: LiveCode - Where, How, and with Who ? In-Reply-To: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> Message-ID: <8080D978-6E8F-4168-BAF4-F189AD1742F2@iotecdigital.com> This has been addressed on this list before. Different people have different views. I don?t think LC will ever be one of the major development platforms. I believe the general reasons that C++ and Java developers generally do not want to learn LC are first that LC does not give the developer that kind of fine control over the UI. LC is a constructor set of predefined pieces. You can modify the pieces to a large degree to fit you needs, but you essentially have to work with the pieces you are given. Developers are used to making their own pieces, so to speak. Secondly, developers imagine the learning curve to be as difficult as what they know now. It?s the same reason people don?t want to switch rom Mac to Windows of vis versa. Another reason is that there are a number of things it cannot do, such as accelerated 3D graphics for example. And I for one hope they never try. That would be wasted money and time IMHO. Other things that it can do, it cannot do as quickly as the other languages, if that matters. Sometimes it does, sometimes it doesn?t. There is also the self propagating problem that there aren?t enough LC developers to make it an attractive development system to present to the purchasing agent. And in the number one spot?. Developers need to be able to produce apps that other developers are going to be able to work with and update, and for multiple people to be able to develop the same app at the same time. Okay that?s two things. But the point is, there are TONS of out of work C++ developers to be hired. Same with Java. LC? Not so much. Because of these reasons LC will not be able to woo these ?professional? developers over any time soon. What is LC then? Simple really. It?s what Hypercard used to be. Software Development for the Rest of Us. I can develop great robust apps in a very reasonable time frame, for the company internally, for education, and ever for specialized retail. I will not however be producing the next Microsoft Office or Adobe product. I can live with that. I think there is a HUGE market for this kind of software development, but the cost of getting the word out is very substantial. Anyone wanna crowd source that?? :-) Otherwise we all need to be more proactive in being ambassadors for the product. It may be that at some point we will reach a critical mass and it will take off like wildfire, but for now, it is what it is. Bob S > On Nov 7, 2014, at 07:20 , Francis Nugent Dixon wrote: > > Hi from Beautiful Brittany, > > As a fervent user of LiveCode for some years now, I keep on asking > myself the question ?Who uses LiveCode, and why ?? > I don?t know whether Company Policy would prohibit divulging such > delicate information, but I would love to know the impact of LiveCode > on the computer community as a whole. > I don?t expect precise and confidential data as an answer, but MAYBE > LiveCode officials could give us some idea ??.. > > 1 - Paying Livecode Users for fun > 2 - Paying LiveCode users for commercial purposes > 3 - Breakdown of LiveCode users by Version > 4 - The impact of ?Free? liveCode upon the community > (great idea, but ?. does it work, commercially ?) > > Maybe percentages would be acceptable, rather than numbers ? > > I personally talk about LiveCode to my buddies, but find that few > are ever interested in ?programming?, often because they think it is > too complicated, or else they have no obvious reason to program. > So we (I mean ?US?) may be strange beasts that others would call > ?geeks?, when I personally do not think that we are. > Perhaps we are all ?ex? programmers, ?ex? analysts, or at least ?ex? > (or current) computer personnel ? ?Un monde ? part?, as the French > would say ? > > Are my questions too close to the bone ? Do they fall on stony ground ? > Is there anybody out there who is interested, like me ? > Is it such a closely guarded secret that we, as faithful users of LiveCode > can not see where we stand ?After all, it?s only another computer app. > Or is it ? ?? > > With bated breath ??. > > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sat Nov 8 10:35:48 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 8 Nov 2014 15:35:48 +0000 Subject: Menu question In-Reply-To: References: Message-ID: <44B83AAB-AA3D-4ADB-A61C-945FF1698704@iotecdigital.com> Actually, this is quite a non-standard way of accessing menus in OS X and in Windows. BUT? you *CAN* Right click a parent menu and do something with it in a standard Menu. I think I would venture down that path. Someone gave me a few handlers a while back where I was able to modify the standard Contextual Menu behavior to insert my own items and then act upon them. Not sure if it would apply here, but you might want to go down that rabbit hole and see where it leads. Bob S > On Nov 7, 2014, at 12:46 , Peter Haworth wrote: > > Let's say you have a list of stacks and their substacks in a menu. For > example: > > StackA --> StackA1 > StackA2 > StackB --> StackB1 > StackB2 > > I'm trying to find a menu type that will items in the above format and > allow me to choose either a main stack or a substack > > Option menu and combobox don't work since they don't allow cascading items. > > Pulldown, cascade, and popup menus allow cascading but only allow you to > select the last item in any given cascade, a substack in this case. > > It doesn't look like there's a way to do this with a standard menu type? > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sat Nov 8 10:41:03 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 8 Nov 2014 15:41:03 +0000 Subject: How safe and feasable is it ? In-Reply-To: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> References: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> Message-ID: <4007DDA5-7A29-4E6C-BAE7-A8FB3B5E828B@iotecdigital.com> It would be better to just download the updated app, have a handler in the preOpenStack that quits the prior app, with user permission of course, then run the new stack normally. Replacing components gets dicey. It is feasible however if you design the app as a splash stack monistic first because the actual stacks in the apps are normal substacks that you *should* be able to replace at will. Bob S > On Nov 7, 2014, at 15:33 , jbv at souslelogo.com wrote: > > Hi list > > Here's something I've had in mind for quite some time. > Let's say you have an app built with LC that you send to > various users as standalones with regular updates. > What if all the most important functions of that app were > gathered as handlers in the main stack script for instance, and > at every startup, a script would check with a remote server > for a possible update of that script, and dowload the new > version (if any) to replace the old one with a simple > "set script of this stack to myVar" ? > The standalone could be a simple front end with all the > most important objects, and therefore would weight slightly > less than the complete app, and above all would need to > be downloaded only once by end users who would not have > to worry about versions and updates. > At first glance this looks like a convenient way to update > existing functions, add new ones, manage different settings > among users, etc. > But what about safety ? Is there a way to encrypt the main > script while it is downloaded at startup so that it can't be > caught by some sniffer ? And is there any other crucial > security issue that didn't cross my mind ? > > Thanks > jbv > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sat Nov 8 10:42:11 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 8 Nov 2014 15:42:11 +0000 Subject: How safe and feasable is it ? In-Reply-To: <545D48AD.7070601@hyperactivesw.com> References: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> <545D48AD.7070601@hyperactivesw.com> Message-ID: <0DC01794-7327-4237-B224-1511A71390B1@iotecdigital.com> What she said. :-) On Nov 7, 2014, at 17:33 , J. Landman Gay > wrote: On 11/7/2014, 2:33 PM, jbv at souslelogo.com wrote: Hi list Here's something I've had in mind for quite some time. Let's say you have an app built with LC that you send to various users as standalones with regular updates. What if all the most important functions of that app were gathered as handlers in the main stack script for instance, and at every startup, a script would check with a remote server for a possible update of that script, and dowload the new version (if any) to replace the old one with a simple "set script of this stack to myVar" ? The standalone could be a simple front end with all the most important objects, and therefore would weight slightly less than the complete app, and above all would need to be downloaded only once by end users who would not have to worry about versions and updates. At first glance this looks like a convenient way to update existing functions, add new ones, manage different settings among users, etc. But what about safety ? Is there a way to encrypt the main script while it is downloaded at startup so that it can't be caught by some sniffer ? And is there any other crucial security issue that didn't cross my mind ? There's the part about standalones not being able to save themselves to disk. To make this work, the scripts would have to be in a separate stack that is put in use. If you're doing that, you may as well just download the whole stack and overwrite the old one. The only advantage to getting just the script itself would be if the stack is very large due to images or other content, and the only change is in the script. Then it would be faster to just get the text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sat Nov 8 10:49:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 8 Nov 2014 15:49:15 +0000 Subject: LiveCode - Where, How, and with Who ? In-Reply-To: <8080D978-6E8F-4168-BAF4-F189AD1742F2@iotecdigital.com> References: <0C5FD50E-BE3A-4593-91B2-C2D11C3A7F94@wanadoo.fr> <8080D978-6E8F-4168-BAF4-F189AD1742F2@iotecdigital.com> Message-ID: I may have misread the question. But still relevant I think. Bob S On Nov 8, 2014, at 10:32 , Bob Sneidar > wrote: This has been addressed on this list before. Different people have different views. I don?t think LC will ever be one of the major development platforms. From dochawk at gmail.com Sat Nov 8 11:19:56 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 8 Nov 2014 08:19:56 -0800 Subject: print card to pdf seems to fail in all cases if from in 7.0.1-RC1 Message-ID: Yes another thing that has worked for years failing silently. As near as I can tell, once printing to a pdf (open printing to pdf "abc.pdf"), if from/to is specified, the result is "printing failed" in all circumstances. Can anyone else verify this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sat Nov 8 13:11:37 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Nov 2014 12:11:37 -0600 Subject: iOS stand alone settings In-Reply-To: <1415416456276-4685565.post@n4.nabble.com> References: <1415118961848.7976075d@Nodemailer> <54591DFA.2060806@hyperactivesw.com> <545BA096.6070907@gmail.com> <545BB551.8060101@hyperactivesw.com> <1415416456276-4685565.post@n4.nabble.com> Message-ID: <545E5CD9.1050705@hyperactivesw.com> On 11/7/2014, 9:14 PM, Simon wrote: > Hi Jacque, > > "The standalone builder does keep a record of the versions and other app > settings as part of the stack properties..." > > So, is there a way to record > CFBundleVersion > 7.5.7 > during the save as standalone for iOS mobile? > > Sure, I get save it as a custom property, just how to read it? The standalone settings are saved in the mainstack as a custom property set named "cRevStandaloneSettings". You can view those by turning on Livecode UI Elements in Lists and changing the current custom property set. To access it from a script use: get the cRevStandaloneSettings["iOS,"] of this stack If you do this from a savingStandalone handler though, the changes won't be saved to the stack. I actually do it the other way around. I have a setProp handler for cVersion which sets the standalone settings to match. I just use the message box to "set the cVersion of this stack to x.x.x" and the version I want to use is set as the custom property, and also saved in the standalone settings so it will be used the next time I do a build. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Nov 8 13:15:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 8 Nov 2014 10:15:10 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: <14F0D7F7-54B2-4350-9454-7E3280C3073B@hyperactivesw.com> References: <14F0D7F7-54B2-4350-9454-7E3280C3073B@hyperactivesw.com> Message-ID: Editor field name changed? Thanks for that, need to update lcStackBrowser. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 7, 2014 at 6:59 PM, J. Landman Gay wrote: > Yeah, well, it all breaks in LiveCode 6.7. Which is a huge bummer because > I've relied on that handler for years and it's second nature now. Not only > did the name of the editor field change, which is easily fixed, but the > control key, among others, no longer triggers. > > On November 7, 2014 8:04:28 PM CST, Peter Brigham > wrote: > >On Nov 6, 2014, at 4:58 PM, Peter Haworth wrote: > > > >> I spent an hour yesterday trying to track down a bug that turned out > >to be > >> caused by a misspelled variable name. > > > >I don't use explicit variables, so I avoid misspelling variable names > >by using Jaques' scriptPaint handler. Put this into a universal > >(frontscript) library script, so it's available everywhere in LC: > > > >on controlkeydown which > > if which = space and the shiftkey is down then > > put the long name of the target into targRef > > if "field" is not in targRef then pass controlkeydown > > if "revNewScriptEditor" is not in targRef then pass controlkeydown > > put the mouseText into the selection > > else > > pass controlkeydown > > end if > >end controlkeydown > > > >Then just set the insertion point in a script and hover over a variable > >name and hit the spacebar (with control + shift) and the variable name > >is copied over for you. Adjust the modifier keys as needed -- in my > >workflow I use control-shift- for all my scripting shortcuts. > > > >-- Peter > > > >Peter M. Brigham > >pmbrig at gmail.com > >http://home.comcast.net/~pmbrig > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Nov 8 14:08:05 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Nov 2014 11:08:05 -0800 Subject: Speaking of unicode... Message-ID: <89487503434.20141108110805@ahsoftware.net> http://qz.com/292364/why-you-probably-wont-understand-the-web-of-the-future/ -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Sat Nov 8 14:17:39 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Nov 2014 13:17:39 -0600 Subject: Remote stack In-Reply-To: <1415457068384.5dfbd409@Nodemailer> References: <1415457068384.5dfbd409@Nodemailer> Message-ID: <545E6C53.9000106@hyperactivesw.com> On 11/8/2014, 8:31 AM, Ethan Lish wrote: > How can one control the cache or force the reload of a remote stack? > > Using the algorithm defined in this lesson > http://lessons.runrev.com/m/4071/l/78702-opening-a-stack-from-the-server > > > > When the client is restarted it does not reload the changed stack from the server My project was having the same problem and it turns out that the user's ISP was caching the files. If you wait long enough (usually 24 hours, but it varies by company) their cache is cleared and you get the updated file the next time you retrieve it. You might be able to add a timestamp to the request, which makes it look like a different file to the cache: put "http://www.domain.com/file.jpg?timestamp=" & the seconds into tURL go stack url tURL -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat Nov 8 16:29:46 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 8 Nov 2014 13:29:46 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: On Wed, Nov 5, 2014 at 6:55 PM, Peter Haworth wrote: > I'd say that's a bug. It's good practice to use quotes around card and > stack names but unless there are any characters in those names like spaces, > etc, it shouldn't cause a problem without them. > The more I think about this, the more serious of a bug it appears. Consider the innocuous, put "stack " and the short name of this stack into myStack This will produce something like stack someStack And then later open myStack This is a rather drastic change in how LiveCode works. For decades, open aString would take that string, if a single item such as a variable, as a literal. That is apparently no longer the case; the unquoted words of aString, such as whatever the value of "myStack" is, are now apparently being processed *again*. This breaks code, and there is no reason to expect an arbitrarily named variable to even *be* around. On top of that, when there is no variable of a name, the word is supposed to be processed as string; this has been the case since hypercard. While I am quite aware of the value of being able to point one variable at another, this is just half-cocked (and would be even if it wasn't breaking defined behavior. And this is breaking production code I use on a daily basis. *Bug 13972* - open card treats string as variable breaking old code (edit ) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From simon at asato-media.com Sat Nov 8 16:25:39 2014 From: simon at asato-media.com (Simon) Date: Sat, 8 Nov 2014 13:25:39 -0800 (PST) Subject: iOS stand alone settings In-Reply-To: <545E5CD9.1050705@hyperactivesw.com> References: <1415118961848.7976075d@Nodemailer> <54591DFA.2060806@hyperactivesw.com> <545BA096.6070907@gmail.com> <545BB551.8060101@hyperactivesw.com> <1415416456276-4685565.post@n4.nabble.com> <545E5CD9.1050705@hyperactivesw.com> Message-ID: <1415481939976-4685582.post@n4.nabble.com> Perfect Jacque! Exactly what I was looking for. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-stand-alone-settings-tp4685405p4685582.html Sent from the Revolution - User mailing list archive at Nabble.com. From simon at asato-media.com Sat Nov 8 17:18:16 2014 From: simon at asato-media.com (Simon) Date: Sat, 8 Nov 2014 14:18:16 -0800 (PST) Subject: iOS stand alone settings In-Reply-To: References: <1415118961848.7976075d@Nodemailer> <54591DFA.2060806@hyperactivesw.com> <545BA096.6070907@gmail.com> <545BB551.8060101@hyperactivesw.com> <1415416456276-4685565.post@n4.nabble.com> Message-ID: <1415485096161-4685583.post@n4.nabble.com> Thank you as well Scott! Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-stand-alone-settings-tp4685405p4685583.html Sent from the Revolution - User mailing list archive at Nabble.com. From johnpatten at me.com Sat Nov 8 19:05:50 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Sat, 08 Nov 2014 16:05:50 -0800 Subject: Colin's Book on Mobile Development - Webscraper Question? Message-ID: <8CA39E9C-D3D6-4C12-8E61-4A464CFD1B64@me.com> Hi All, I finally had a chance to begin looking at Colin?s book on Mobile Development with LiveCode. There are some nice examples in his book. I had a question about the WebScraper example. I downloaded the most recent copy of the stack from the Packt publishing site. The images on the Media card do not appear. It looks like only a grayish rectangle of the size of the image appears. Anybody know why this might be the case? Thank you! John Patten From bonnmike at gmail.com Sat Nov 8 19:42:44 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 8 Nov 2014 17:42:44 -0700 Subject: Remote stack In-Reply-To: <545E6C53.9000106@hyperactivesw.com> References: <1415457068384.5dfbd409@Nodemailer> <545E6C53.9000106@hyperactivesw.com> Message-ID: Like the timestamp, you can just tack on a # and the milliseconds to each request. http://whatever.url.com/mystack.livecode#134513461 Same theory, it always looks like a new hit due to the #1235124561 (At least I think it works with just a figmentary anchor) On Sat, Nov 8, 2014 at 12:17 PM, J. Landman Gay wrote: > On 11/8/2014, 8:31 AM, Ethan Lish wrote: > >> How can one control the cache or force the reload of a remote stack? >> >> Using the algorithm defined in this lesson >> http://lessons.runrev.com/m/4071/l/78702-opening-a-stack-from-the-server >> >> >> >> When the client is restarted it does not reload the changed stack from >> the server >> > > My project was having the same problem and it turns out that the user's > ISP was caching the files. If you wait long enough (usually 24 hours, but > it varies by company) their cache is cleared and you get the updated file > the next time you retrieve it. > > You might be able to add a timestamp to the request, which makes it look > like a different file to the cache: > > put "http://www.domain.com/file.jpg?timestamp=" & the seconds into tURL > go stack url tURL > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From johnpatten at me.com Sat Nov 8 19:59:48 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Sat, 08 Nov 2014 16:59:48 -0800 Subject: Colin's Book on Mobile Development - Webscraper Question? In-Reply-To: <8CA39E9C-D3D6-4C12-8E61-4A464CFD1B64@me.com> References: <8CA39E9C-D3D6-4C12-8E61-4A464CFD1B64@me.com> Message-ID: <824EB055-5273-4756-809E-E6BF0F6C0285@me.com> Stepped away for a while, came back, and tried a: put url pMediaFile into omg ?MediaImage? instead of: set the filename of image the number of images to ?mediaImage? The put url pMediaFile ? worked. :) > On Nov 8, 2014, at 4:05 PM, JOHN PATTEN wrote: > > Hi All, > > I finally had a chance to begin looking at Colin?s book on Mobile Development with LiveCode. There are some nice examples in his book. > > I had a question about the WebScraper example. I downloaded the most recent copy of the stack from the Packt publishing site. The images on the Media card do not appear. It looks like only a grayish rectangle of the size of the image appears. Anybody know why this might be the case? > > Thank you! > > John Patten > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sat Nov 8 19:59:44 2014 From: mikedoub at gmail.com (Mike Doub) Date: Sat, 08 Nov 2014 19:59:44 -0500 Subject: MasterLibrary update... Message-ID: <545EBC80.1020704@gmail.com> Just a few improvements for your pleasure. Regards, Mike https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 Release 6 * Added release notes. * fixed bug where so refreshing of the available stacks is only done when cd "Libmgr" is active. * Included library routines that will send email via the PostMark mail service: https://postmarkapp.com/ Unfortunately this is bare bones support, but it will get you started. * Added a double check to verify that you are inserting the scripts into the intended stack. Guess how I found this one. ;-) From pete at lcsql.com Sat Nov 8 20:13:51 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 8 Nov 2014 17:13:51 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: <14F0D7F7-54B2-4350-9454-7E3280C3073B@hyperactivesw.com> References: <14F0D7F7-54B2-4350-9454-7E3280C3073B@hyperactivesw.com> Message-ID: On Fri, Nov 7, 2014 at 6:59 PM, J. Landman Gay wrote: > Not only did the name of the editor field change, Hi Jacque, Just looked into this as it would affect one of my products but I see the same name for the editor field in 6.6 and 6.7 = "Script". This is in group Editor of card Main of stack revNewScriptEditor 1. Am I missing something? Thanks Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From mwieder at ahsoftware.net Sat Nov 8 20:43:58 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Nov 2014 17:43:58 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: <14F0D7F7-54B2-4350-9454-7E3280C3073B@hyperactivesw.com> Message-ID: <141511256126.20141108174358@ahsoftware.net> Pete- Saturday, November 8, 2014, 5:13:51 PM, you wrote: > Just looked into this as it would affect one of my products but I see the > same name for the editor field in 6.6 and 6.7 = "Script". This is in group > Editor of card Main of stack revNewScriptEditor 1. Am I missing something? Yeah, you had me worried there. That's what I'm seeing as well. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Sat Nov 8 21:48:31 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Nov 2014 20:48:31 -0600 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: <14F0D7F7-54B2-4350-9454-7E3280C3073B@hyperactivesw.com> Message-ID: <545ED5FF.3030309@hyperactivesw.com> On 11/8/2014, 7:13 PM, Peter Haworth wrote: > On Fri, Nov 7, 2014 at 6:59 PM, J. Landman Gay > wrote: > >> Not only did the name of the editor field change, > > > Hi Jacque, > Just looked into this as it would affect one of my products but I see the > same name for the editor field in 6.6 and 6.7 = "Script". This is in group > Editor of card Main of stack revNewScriptEditor 1. Am I missing something? It must have changed earlier, it used to be "editor field". I get my versions mixed up sometimes. Sorry about the scare. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Sun Nov 9 04:57:36 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 9 Nov 2014 17:57:36 +0800 Subject: 1001 Things to do with LiveCode Message-ID: Even though there hasn?t been a new entry for a long time, there are still between 50 and 100 visits to the 1001 Things to do with LiveCode site everyday. After a long hiatus, I have posted a new entry today featuring a client/server calendaring and time recording application. I?m sure that many of you have developed lots of interesting apps in LiveCode since the KickStarter campaign. Your apps deserve a few moments in the spotlight, why not send me some brief details, a screenshot or two and I?ll do the rest. Peter http://livecode1001.blogspot.com From henshaw at me.com Sun Nov 9 07:56:35 2014 From: henshaw at me.com (Andrew Henshaw) Date: Sun, 09 Nov 2014 12:56:35 +0000 Subject: mobilePickPhoto - User error, simulator error or Livecode bug? In-Reply-To: References: Message-ID: <897A6C1E-3D6D-4685-A277-E8102A0B80FF@me.com> Another oddity ive come across while trying to update some old apps. The code? mobilePickPhoto tSource, tMaxHeight,tMaxHeight put the result into tResult used to work, but now it returns nothing whatever is selected in the simulator, tested with Livecode 6.6.5, 6.7 and 7. Is this something to do with my code, the simulator or perhaps another little LC bug? From henshaw at me.com Sun Nov 9 08:02:16 2014 From: henshaw at me.com (Andrew Henshaw) Date: Sun, 09 Nov 2014 13:02:16 +0000 Subject: mobilePickPhoto - User error, simulator error or Livecode bug? In-Reply-To: <897A6C1E-3D6D-4685-A277-E8102A0B80FF@me.com> References: <897A6C1E-3D6D-4685-A277-E8102A0B80FF@me.com> Message-ID: <5FA452B1-98FF-4D42-BD44-F79E975B7DAF@me.com> Please ignore this, it?s user error, sorry for taking up your time. Andy > On 9 Nov 2014, at 12:56, Andrew Henshaw wrote: > > Another oddity ive come across while trying to update some old apps. > > The code? > > mobilePickPhoto tSource, tMaxHeight,tMaxHeight > put the result into tResult > > used to work, but now it returns nothing whatever is selected in the simulator, tested with Livecode 6.6.5, 6.7 and 7. > > Is this something to do with my code, the simulator or perhaps another little LC bug? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ethanlish at gmail.com Sun Nov 9 10:36:25 2014 From: ethanlish at gmail.com (Ethan Lish) Date: Sun, 09 Nov 2014 07:36:25 -0800 (PST) Subject: Remote stack In-Reply-To: References: Message-ID: <1415547385119.9ee135df@Nodemailer> Excellent! ?This did the trick. Thanks? E ? Ethan at Lish.net240.876.1389 On Sat, Nov 8, 2014 at 7:43 PM, Mike Bonner wrote: > Like the timestamp, you can just tack on a # and the milliseconds to each > request. http://whatever.url.com/mystack.livecode#134513461 > Same theory, it always looks like a new hit due to the #1235124561 (At > least I think it works with just a figmentary anchor) > On Sat, Nov 8, 2014 at 12:17 PM, J. Landman Gay > wrote: >> On 11/8/2014, 8:31 AM, Ethan Lish wrote: >> >>> How can one control the cache or force the reload of a remote stack? >>> >>> Using the algorithm defined in this lesson >>> http://lessons.runrev.com/m/4071/l/78702-opening-a-stack-from-the-server >>> >>> >>> >>> When the client is restarted it does not reload the changed stack from >>> the server >>> >> >> My project was having the same problem and it turns out that the user's >> ISP was caching the files. If you wait long enough (usually 24 hours, but >> it varies by company) their cache is cleared and you get the updated file >> the next time you retrieve it. >> >> You might be able to add a timestamp to the request, which makes it look >> like a different file to the cache: >> >> put "http://www.domain.com/file.jpg?timestamp=" & the seconds into tURL >> go stack url tURL >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjb at robelko.com Sun Nov 9 11:04:28 2014 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 9 Nov 2014 17:04:28 +0100 Subject: Failing to produce multiple-page PDF Message-ID: I am trying to print cards from different stacks using open printing to pdf file to produce a PDF file programmatically. When I use the print card of stack format, I get a PDF file with one page for each card as expected. However, when I use the printing into a rectangle format, I get a PDF file with only a single page. It seems that all cards are printed onto the same page, so mostly objects from the last card printed are visible. Furthermore, the card objects seem to be moved and resized in the output. Is that a bug or a limitation or do I have to do something extra to produce multiple cards? I tried the community version of LiveCode 6.5 and 6.7 with the same result. When I print cards while setting the printingscale to anything else than 1, I get multiple pages in the PDF file but the location of some images is wrong and some are partly cut off. RObert From dochawk at gmail.com Sun Nov 9 11:24:43 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 9 Nov 2014 08:24:43 -0800 Subject: Failing to produce multiple-page PDF In-Reply-To: References: Message-ID: On Sun, Nov 9, 2014 at 8:04 AM, Robert Brenstein wrote: > However, when I use the printing into a rectangle format, I get a PDF file > with only a single page. It seems that all cards are printed onto the same > page, so mostly objects from the last card printed are visible. > Furthermore, the card objects seem to be moved and resized in the output. > > A code snippet would help. > Is that a bug or a limitation or do I have to do something extra to > produce multiple cards? I tried the community version of LiveCode 6.5 and > 6.7 with the same result. > I routinely print into a defined area in both 5.5 and 7.0. Printing *from* an area is utterly broken in 7. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rjb at robelko.com Sun Nov 9 11:46:38 2014 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 9 Nov 2014 17:46:38 +0100 Subject: Failing to produce multiple-page PDF In-Reply-To: References: Message-ID: On 09.11.2014 at 8:24 Uhr -0800 Dr. Hawkins apparently wrote: >On Sun, Nov 9, 2014 at 8:04 AM, Robert Brenstein wrote: > >> However, when I use the printing into a rectangle format, I get a PDF file >> with only a single page. It seems that all cards are printed onto the same >> page, so mostly objects from the last card printed are visible. >> Furthermore, the card objects seem to be moved and resized in the output. >> > > A code snippet would help. > works open printing to PDF vPdfFilePath repeat for each word vTemplate in kTemplateList put templateStackName(gProjectCache[vTemplate]["value"]) into vStackName print card 1 of stack vStackName end repeat close printing prints all cards onto the same page: open printing to PDF vPdfFilePath repeat for each word vTemplate in kTemplateList put templateStackName(gProjectCache[vTemplate]["value"]) into vStackName put the height of stack vStackName into vCardHeight put the width of stack vStackName into vCardWidth put trunc((vPrintWidth/vCardWidth)*vCardHeight) into vPrintHeight put vPageRect into vPrintRect put vPrintHeight+(item 2 of vPageRect) into item 4 of vPrintRect print card 1 of stack vStackName into vPrintRect end repeat close printing RObert From jbv at souslelogo.com Sun Nov 9 12:35:32 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sun, 9 Nov 2014 19:35:32 +0200 Subject: How safe and feasable is it ? In-Reply-To: <4007DDA5-7A29-4E6C-BAE7-A8FB3B5E828B@iotecdigital.com> References: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> <4007DDA5-7A29-4E6C-BAE7-A8FB3B5E828B@iotecdigital.com> Message-ID: Hi list Thank everyone for your answers. If anyone is interested, I just made some tests : I have an app used by various realtors spread around the country. They all have an identical set of pratices imposed by law, and evolutions of the law lead to regular updates of the app. At the same time, each one has some specific ways of doing certain things, determined by the geography of their area, or by their clients... Therefore, each update of the app is specific for every realtor is a headache, since it needs to include new evolutions of the law, while keeping the specific functions & settings of everyone. Of course, downloading stacks from a simple front-end crossed my mind, but for the coder it's still the same headache of maintening a different app for each client. I also need to say that the app is a 1 card stack, and it allways needs a remote connection to a server to be used. The test I made consists in downloading the script of the main card from a preopenstack handler. The idea is to have all specific functions of each realtor as a set of handlers in the stack script, while all functions that need regular updates are gathered in the card script. The size of the card script is about 130 Kb; once compressed and base64 encoded, it only weights 20Kb and can be downloaded at every app startup in a blink. But my original question remains : how safe is it ? Unlike a stack, a script can't be password protected... I guess I'll have to build my own encryption protocol... Thanks jbv > It would be better to just download the updated app, have a handler in the > preOpenStack that quits the prior app, with user permission of course, > then run the new stack normally. Replacing components gets dicey. > > It is feasible however if you design the app as a splash stack monistic > first because the actual stacks in the apps are normal substacks that you > *should* be able to replace at will. > > Bob S > From bvlahos at mac.com Sun Nov 9 13:29:20 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 09 Nov 2014 10:29:20 -0800 Subject: How safe and feasable is it ? In-Reply-To: References: <78dedf123cde97fb0efadd3f67e8d607.squirrel@185.8.104.234> <4007DDA5-7A29-4E6C-BAE7-A8FB3B5E828B@iotecdigital.com> Message-ID: JBV, Encryption is not that hard. Check out my encryption demo stack in RevOnLine. You could encrypt the script(s) before you unload them and decrypt the scripts in the standalone which would have the decryption parameters and be password protected itself. The scripts would be encrypted when uploading to the server, on the server, and downloading from the server. The only time they would be unprotected is when your standalone decrypts it in memory. Having said that I would suggest the path of making it a password protected stack that you are downloading with the scripts. It is very easy to do and you can put as many scripts in it as you want. This is how InfoWallet works. Standalone (you distribute) + Program stack (downloads) + User Data Stacks (where user data is). Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) > On Nov 9, 2014, at 9:35 AM, jbv at souslelogo.com wrote: > > But my original question remains : how safe is it ? Unlike a stack, a script > can't be password protected... I guess I'll have to build my own encryption > protocol... > > Thanks > jbv From ambassador at fourthworld.com Sun Nov 9 17:16:05 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 Nov 2014 14:16:05 -0800 Subject: How safe and feasable is it ? In-Reply-To: References: Message-ID: <545FE7A5.2000705@fourthworld.com> jbv wrote: > But my original question remains : how safe is it ? Unlike a stack, > a script can't be password protected... ...but a stack file can be comprised of nothing but a stack object with a script in it. > I guess I'll have to build my own encryption protocol... LiveCode has many very serious encryption options built in - check out the encrypt and decrypt commands. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From zryip.theslug at gmail.com Sun Nov 9 18:52:03 2014 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 10 Nov 2014 00:52:03 +0100 Subject: Changing the defaults of a datagrid In-Reply-To: <50A1F342-7C47-4269-9B65-594245FFC91A@m-r-d.de> References: <98CCA9AF-64AA-4ABB-A42B-E9676E92A91E@gmail.com> <9BC0D0DE-F174-4311-8EC5-4C79D6B6CA13@m-r-d.de> <50A1F342-7C47-4269-9B65-594245FFC91A@m-r-d.de> Message-ID: Hi Matthias, I'm taking all remarks as opportunities to improve myself and my products, so I was not offended 8-) This was not the first time a DGH user was not aware of a DGH's feature, so I will work on a different strategy for informing users about what my products are doing. As promised, here is a link to a new DGH lesson: http://lessons.runrev.com/m/4068/l/277255-how-do-i-apply-the-properties-of-a-datagrid-to-another-datagrid Best Regards, On Fri, Nov 7, 2014 at 1:11 AM, Matthias Rebbe | M-R-D wrote: > Hi Zryip, > > first of all my question about hidden features was not intended as criticism. > Please excuse if this seemed. > I know DGH as a really powerful tool which saved me much time in past. > > >> Am 06.11.2014 um 21:06 schrieb zryip theSlug : >> >> Matthias, >> >> The window opened by the 3 dots button should float over the DGH >> palette window and wait for your click. Is DGH installed in your >> plugin folder? > But it didn?t here. It opened and closed immediately. > > But now i found the culprit. I am using lcTaskList plugin. And if that plugin is already open then > the window closes immediately after opening. If one is fast, i mean really fast, one is able to press the > "Add in Chamber" button before the window closes again. > > But closing the plugin lcTastList fixes this behaviour and the window stays open until one clicks a button. > So it seems something in lcTaskList forces the window to close. > > It works here now as you described and the mimetism feature is a real time saver. > > So again, please excuse if you feel offended. It was not my intention. > > Regards, > > Matthias > > > > >> >> Best Regards, >> >> On Thu, Nov 6, 2014 at 11:50 AM, Matthias Rebbe | M-R-D >> wrote: >>> Hi Zryip, >>> >>> although i am not the original poster, i have some questions about that procedure. >>> >>> I tried it here with LC 6.6.x and i am not able to clone the settings according your instructions. >>> >>> Clicking on the 3 dots button shows me very shortly 2 buttons (Add in Chamber... and Remove). >>> That is so quick that i am not able to press any of that buttons. >>> >>> If i select the 2nd datagrid the button "Clone" is still greyed out. >>> >>> Btw.: where do i find information about this cloning feature or maybe other hidden features of DGH. >>> This cloning thing is something i could have used in the past, if i just had known about it. >>> >>> Regards, >>> >>> Matthias >>> >>> >>>> Am 06.11.2014 um 11:12 schrieb zryip theSlug : >>>> >>>> Glen, >>>> >>>> DGH can help you. >>>> >>>> Define your first datagrid with the settings you need then prepare the >>>> others datagrid with no settings. >>>> >>>> 1. In the DGH properties palette open the Mimetism topic >>>> 2. Select the first datagrid (the one with all the settings) and put >>>> it in the "Cloning chambers" by using the 3 dots buttons. >>>> 3. Select a datagrid with no settings and click on the clone button >>>> ("Properties and template" label). This will apply the properties >>>> (color, text, font, etc) and template from the first datagrid to the >>>> selected datagrid >>>> 4. Select another datagrid and click onto the "Clone" button again >>>> 5. Repeat 4. for each datagrid to customize. >>>> >>>> >>>> Best Regards, >>>> >>>> On Thu, Nov 6, 2014 at 10:35 AM, Glen Bojsza wrote: >>>>> Hello, >>>>> >>>>> I am starting a project that will use several datagrids. >>>>> >>>>> Is there a way to change the default settings such as the text, font, color etc so any new datagrids have the new settings? >>>>> >>>>> This would save me doing it manually for each new datagrid. >>>>> >>>>> thanks, >>>>> >>>>> Glen >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> -- >>>> Zryip TheSlug >>>> http://www.aslugontheroad.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> Zryip TheSlug >> http://www.aslugontheroad.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From livfoss at mac.com Sun Nov 9 19:01:09 2014 From: livfoss at mac.com (Graham Samuel) Date: Mon, 10 Nov 2014 00:01:09 +0000 Subject: Palettes and the selectedObject In-Reply-To: <54579EA6.4050602@fourthworld.com> References: <80ACB550-19F4-4F96-8C9E-F838D2D41CB8@mac.com> <54579EA6.4050602@fourthworld.com> Message-ID: Going back to this issue, I tried Richard?s suggestion and it didn?t work in LC 7.0.1. I isolated the problem in a little stack and reported it as a bug (13958), but it?s not yet confirmed. I believe I detected an anomaly in the IDE and a different one in a standalone, but they are probably different aspects of a single issue. Just in case anyone?s interested. Graham > On 3 Nov 2014, at 15:26, Richard Gaskin wrote: > > Graham Samuel wrote: > > If I am keying in a field in an ordinary stack window and I stop > > to do something on a palette, I had hoped that the focusedObject > > would remain in the ordinary stack - however it turns out that > > the focusedObject is now the visible card of the palette. Does > > this mean that the previous focusedObject is lost and thus I > > can't use a palette to do an insertion in the field in the ordinary > > stack? Looks like it. > > Are you using an editable text field in your palette, or just clicking buttons? > > If just buttons remember to turn off the traversalOn property and you should be fine. > > For editable fields it's a different story, since LiveCode currently maintains the xTalk tradition of allowing only one editable field at a time. Would be nice to see that changed, but I imagine it's tricky, not just in engineering but in syntax. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Sun Nov 9 19:11:36 2014 From: kee at kagi.com (kee nethery) Date: Sun, 9 Nov 2014 16:11:36 -0800 Subject: How safe and feasable is it ? In-Reply-To: <545FE7A5.2000705@fourthworld.com> References: <545FE7A5.2000705@fourthworld.com> Message-ID: <7C12035A-93B1-4C1C-A882-0BBC34A990A1@kagi.com> > > I guess I'll have to build my own encryption protocol... > > LiveCode has many very serious encryption options built in - check out the encrypt and decrypt commands. I have an app that passes private data from it to me. If you were to do the same (except you are going from you to your app): Create a public/private key. Embedded the public key in your app and use it to decrypt the symmetrical key used for the encryption of the actual data. (A public/private key encodes with one key, and decodes with another.) Create a hash of the stack (or script). Basically get a fingerprint of the file before you start encrypting it. Use that fingerprint to make sure that when your stack decrypts it, you got what you were sending. Create a unique key for each stack (or script) that you plan to encrypt. Encode the stack (or script) with a symmetrical algorithm using that key. (A symmetrical algorithm has the same key used to encode and decode.) Symmetrical algorithms are much faster than public/private algorithms. Convert the symmetrically encrypted data to base64. Makes it simple ASCII characters. Take the symmetrical key, the hash, and the file name, combine into a set of structured data, and encrypt that data using your private public/private key (the key that only lives on your computer). This is a small set of data and it will encrypt quickly. Convert the public/private key encrypted data to base64. Combine the two base64 sets of data into a single structured text file. Zip that text file and send it to your receiving stack. Your receiving stack would have your public key embedded in it. When it grabs the zipped up file it reverses the process: unzip the file, pull the two base64 sets of data apart, un-base64 both sets of data, use the public key to decrypt the symmetrical key, hash, and end result file name decrypt the stack (or script) data, name the file correctly, fingerprint the data compare to the fingerprint you created and sent with the file you received If the fingerprints match, use the file. Not sure which algorithms are recommended these days. Know that MD5 is not recommended. You can pick really big keys since the symmetrical algorithm is quick and the public/private algorithm will be working on a very tiny set of data. Kee Nethery From andre at andregarzia.com Sun Nov 9 21:41:22 2014 From: andre at andregarzia.com (Andre Alves Garzia) Date: Mon, 10 Nov 2014 00:41:22 -0200 Subject: [TEASER] Book about LiveCode Application Architecture Message-ID: <546025D2.3080309@andregarzia.com> Hey Friends, I've been writing a little book about LiveCode application architecture. Before you get too happy the book is not ready. Right now I am basically dumping all the content into the correct place and then I will do a second pass reviewing and fixing it. The book will be a commercial initiative but it will be cheap, depending on how many pages we're looking for a USD 15 or USD 10 eBook. I am looking to have something close to 100 or less pages. My dream is to have 80 pages so that people can absorb the content easily. As a teaser I am sharing an unedited copy of some of the initial chapters to gather feedback. https://www.dropbox.com/s/b8b311dlbrbvspt/livecodeapparchitecture-sample-preview.pdf?dl=0 If you would like to buy this book in the future and want to let me know, then you can go to: https://leanpub.com/livecodeapparchitecture/ And fill the interest form. This will allow me to gauge interest and decide how much time I want to invest in this. My plan is to ship an early release (aka beta book) as soon as the controllers and views chapter is done and then evolve the book after that. Cheers andre From brahma at hindu.org Sun Nov 9 23:06:01 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Sun, 09 Nov 2014 18:06:01 -1000 Subject: Setting the Unicode text of a field from JSON converted to array Message-ID: <546039A9.5070900@hindu.org> in LC 6.6.2, Mac OS X Maveriks, calling data from MySQL dBase on our web server into a desktop thin client. I have a field that is being set to unicode... the default font is Lucida Grande, which supports Tamil. I'm on a mac: if I paste Inaimathi (Tamil Unicode font) into the field, the Tamil script appears as expected, if I go to PHPMy Admin log into our webserver and look at a field with lyrics and copy and paste into my livecodes stack (or email or pages) it all works... I get Tamil script but if I fetch that same field as JSON... I get raw unicode from our web serve (the use case is lyrics for songs) and put it into var tJSON I get something like this which I can push to the message box: put tJSON [ {"lyrics_id":"1", "song_title":"Anbar Anbathu", "original_script":"\u0b85\u0ba9\u0bcd\u0baa\u0bb0\u0ba9\u0bcd\u0baa\u0ba4\u0bc1 \r\n\r\n\u0b85\u0ba9\u0bcd\u0baa\u0bb0\u0ba9\u0bcd\u0baa\u0ba4\u0bc1 \u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\u0b86\u0b9a\u0bc8\u0baf\u0bb1\u0bcd\u0bb1\u0ba4\u0bc1 \u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\u0b87\u0ba9\u0bcd\u0baa\u0bae\u0baf\u0bae\u0ba4\u0bc1 \u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\u0b88\u0b9a\u0ba9\u0bc1\u0baf\u0bbf\u0bb0\u0bcd\u0ba4\u0bca\u0bb1\u0bc1\u0b9e\u0bcd \u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\r\n\u0bae\u0bc1\u0ba9\u0bcd\u0baa\u0bbf\u0ba9\u0bcd \u0b85\u0bb1\u0bcd\u0bb1\u0ba4\u0bc1 [snip] u0bb0\u0bc2\u0baa\u0b9e\u0bcd \u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\u0bb5\u0bbf\u0ba3\u0bcd\u0ba3\u0bbf\u0b9f\u0ba4\u0bcd\u0ba4\u0ba4\u0bc1 \u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\u0bb5\u0bc7\u0ba4\u0bae\u0bbe\u0ba9\u0ba4\u0bc1 \u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\r\n\u0bae\u0b9f\u0bcd\u0b9f\u0bbf\u0bb2\u0bbe\u0ba4\u0ba4\u0bc1 \u0b9a\u0bbf\u0bb5", "transliteration":"Anbar Anbathu\r\n\r\nanbar anbathu sivasivasiva\r\naasaiy attrathu sivasivasiva\r\ninbamayam athu sivasivasiva\r\neesan uyirthorum sivasivasiva\r\n\r\nmun pin attrathu sivasivasiva\r\nmohnam muthalathu sivasivasiva\r\nthanvayathathu sivasivasiva\r\nsarva vallapam sivasivasiva\r\n\r\nponniratthathu sivasivasiva\r\npohk illaathathu sivasivasiva\r\nen idatthathu sivasivasiva\r\nengum ullathu sivasivasiva\r\n\r\nman idatthathu sivasivasiva\r\nmanthira roopam sivasivasiva\r\nvin idatthathu sivasivasiva\r\nveytham aanathu sivasivasiva\r\n\r\nmattilaathathu sivasivasiva\r\nmangai pangathu sivasivasiva\r\nmuttilaathathu sivasivasiva\r\nmoovar aavathu sivasivasiva\r\n\r\nkittonaathathu sivasivasiva\r\nkirupay ullathu sivasivasiva\r\nettil aanathu sivasivasiva\r\neygam aanathu sivasivasiva\r\n\r\nannaiy aavathu sivasivasiva\r\nappan aavathu sivasivasiva\r\nmunnaiyullathu sivasivasiva\r\nmunivar pugal.vathu sivasivasiva\r\n\r\nennai aalvathu sivasivasiva\r\neduttha thiruvadi sivasivasiva\r\npinnai en pil.ai sivasivasiva\r\npeythaapeytham sivasivasiva\r\n\r\n", "literal_translation":null, "production_notes":null } ] so far so good...Now bhow to get strings like: \u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\r\n\u0bae\u0bc1\u0ba9\u0bcd\u0baa\u0bbf\u0ba9\u0bcd \u0b85\u0bb1\u0bcd\u0bb1\u0ba4\u0bc1 to appear as Tamil in the same liveCode field where I can paste it...and get proper script? Now.. I have included libJSON (Mark Smith) in my stack and if I take the above and do this: put jsonToArray(tJSON, true) into tLyricsA put tLyricsA[1] into sLyricsA # OK now the among the keys are one "original_script", which as you can see above is coming in as raw unicode... # but put sLyricsA["original_script"] into tContent put tContent things get strange: I get this in the msg box ?????????? ?????????? ?????? ???????? ?????? ????????? ?????? ????????????? ?????? [snip, more garbage) and if I do: set the text of field "lyrics" to unidecode(tContent, "utf8") we get this in the field: ?????????????????????????????????????????? ??????????????????????? So... to test and remove the JSONtoARRay function out of the equation... I made this little button, then copy the unicode "\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\r\n\u0bae\u0bc1\u0ba9\u0bcd\u0baa\u0bbf\u0ba9\u0bcd \u0b8 etc" to my clipboard on mouseUp put the clipboardData["text"] into tContent set the unicodetext of fld "lyrics" to unidecode((tContent,"utf8") #outputs garbage: ???????????? set the unicodetext of fld "lyrics" to uniencode(tContent,"utf8") # returns the clipboard untouched: "\u0b85\u0ba9\u0bcd\u0baa\u0bb0\u0ba9\u0bcd\u0baa\u0ba4\u0bc1...etc" What am I doing wrong? Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From monte at sweattechnologies.com Sun Nov 9 23:27:14 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 10 Nov 2014 15:27:14 +1100 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: <546039A9.5070900@hindu.org> References: <546039A9.5070900@hindu.org> Message-ID: <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> On 10 Nov 2014, at 3:06 pm, Brahmanathaswami wrote: > set the text of field "lyrics" to unidecode(tContent, "utf8") ^ should be uniEncode(tContent,"utf8") because tContent is utf8 encoded... at least I assume it is from the Mark Smith lib... I use mergJSON because it's much much much faster... BTW I'm not sure why your server is escaping all the unicode characters instead of just sending utf8. It's bloating your data unnecessarily. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Sun Nov 9 23:29:19 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 10 Nov 2014 15:29:19 +1100 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> Message-ID: On 10 Nov 2014, at 3:27 pm, Monte Goulding wrote: > > On 10 Nov 2014, at 3:06 pm, Brahmanathaswami wrote: > >> set the text of field "lyrics" to unidecode(tContent, "utf8") > > ^ should be uniEncode(tContent,"utf8") because tContent is utf8 encoded... at least I assume it is from the Mark Smith lib... I use mergJSON because it's much much much faster... Woops.. sent too quick. You should be setting the unicodeText rather than the text... otherwise you would want to do something like uniDecode( uniEncode(tContent,"UTF8"),"ANSI") > > BTW I'm not sure why your server is escaping all the unicode characters instead of just sending utf8. It's bloating your data unnecessarily. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From brahma at hindu.org Mon Nov 10 00:06:34 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Sun, 09 Nov 2014 19:06:34 -1000 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> Message-ID: <546047DA.4010100@hindu.org> i tried that already: case "original_script" set the unicodetext of field "lyrics" to uniencode(tContent, "utf8") break but still get garble ?? ?? 555  555 ? 555 [snip] Where does one get mergeJSON? BR Monte Goulding wrote: >> > On 10 Nov 2014, at 3:06 pm, Brahmanathaswami wrote: >> > >>> >> set the text of field "lyrics" to unidecode(tContent, "utf8") >> > >> > ^ should be uniEncode(tContent,"utf8") because tContent is utf8 encoded... at least I assume it is from the Mark Smith lib... I use mergJSON because it's much much much faster... > > Woops.. sent too quick. You should be setting the unicodeText rather than the text... otherwise you would want to do something like uniDecode( uniEncode(tContent,"UTF8"),"ANSI") >> > >> > BTW I'm not sure why your server is escaping all the unicode characters instead of just sending utf8. It's bloating your data unnecessarily. >> > >> > Cheers >> > >> > Monte From monte at sweattechnologies.com Mon Nov 10 00:14:44 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 10 Nov 2014 16:14:44 +1100 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: <546047DA.4010100@hindu.org> References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> Message-ID: On 10 Nov 2014, at 4:06 pm, Brahmanathaswami wrote: > i tried that already: > > case "original_script" > set the unicodetext of field "lyrics" to uniencode(tContent, "utf8") > break Hmm... If tContent is UTF8 text then that should work fine. I vaguely recall some folks mentioning some unicode related issues with the Mark Smith libs that there was a fix floating around for. > Where does one get mergeJSON? From mergExt.com Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From brahma at hindu.org Mon Nov 10 00:28:19 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Sun, 09 Nov 2014 19:28:19 -1000 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> Message-ID: <54604CF3.1050806@hindu.org> OK... i registered on your site and downloaded the mergJSON-GPL-1.0.10.zip shutting down for the day... will test it tomorrow. Thanks! Aloha! from Kauai! Monte Goulding wrote: > On 10 Nov 2014, at 4:06 pm, Brahmanathaswami wrote: > >> > i tried that already: >> > >> > case "original_script" >> > set the unicodetext of field "lyrics" to uniencode(tContent, "utf8") >> > break > > Hmm... If tContent is UTF8 text then that should work fine. I vaguely recall some folks mentioning some unicode related issues with the Mark Smith libs that there was a fix floating around for. > >> > Where does one get mergeJSON? > > > From mergExt.com From stephenREVOLUTION2 at barncard.com Mon Nov 10 03:07:59 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 10 Nov 2014 00:07:59 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade Message-ID: Dreamhost has suddenly decided to 'upgrade' its OS to UBUNTU. So all of my sites that use Livecode server now fail with an error. I have been using the htaccess method for many years... This htaccess file used to allow both php and livecode to co-exist: Options +ExecCGI FollowSymLinks AddHandler livecode-script .lc .irev AddHandler php5-script php htm html DirectoryIndex index.irev index.lc index.html index.php dir.irev video.irev audio.irev gallery.irev ## index.php Action livecode-script /cgi-bin/livecode-server/livecode-community-server Now only php will work, and the above .htaccess file has to be removed for it to work. This appears to have something to do with using PHP-5.3 .... Does anyone have an idea how to get this to work ? thanks in advance. sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From mike at hoburne.com Mon Nov 10 03:15:47 2014 From: mike at hoburne.com (HO Mike Frampton) Date: Mon, 10 Nov 2014 08:15:47 +0000 Subject: MasterLibrary update... In-Reply-To: <545EBC80.1020704@gmail.com> References: <545EBC80.1020704@gmail.com> Message-ID: <9689564BA09CB44D8FD19F85E7902D8D0116BA482C8D@CCM.hoburnegroup.com> Hi Mike, Great stack - just wanted to say thanks :) Mike Mike Frampton MIAP Manager of Network Systems Tel: 01425 277661 Email: mike at hoburne.com Web: www.hoburne.com This message and any attachments may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. The Hoburne Group does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Hoburne Group unless otherwise specifically stated Hoburne Ltd. is a limited company registered in England and Wales. Registered number: 1102096. Registered office: 261 Lymington Road, Highcliffe, Christchurch, Dorset, BH23 5EE, United Kingdom. -----Original Message----- From: Mike Doub [mailto:mikedoub at gmail.com] Sent: 09 November 2014 01:00 To: How To use LiveCode use LiveCode Subject: MasterLibrary update... Just a few improvements for your pleasure. Regards, Mike https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 Release 6 * Added release notes. * fixed bug where so refreshing of the available stacks is only done when cd "Libmgr" is active. * Included library routines that will send email via the PostMark mail service: https://postmarkapp.com/ Unfortunately this is bare bones support, but it will get you started. * Added a double check to verify that you are inserting the scripts into the intended stack. Guess how I found this one. ;-) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From palcibiades-first at yahoo.co.uk Mon Nov 10 03:56:32 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 10 Nov 2014 00:56:32 -0800 (PST) Subject: [TEASER] Book about LiveCode Application Architecture In-Reply-To: <546025D2.3080309@andregarzia.com> References: <546025D2.3080309@andregarzia.com> Message-ID: <1415609791999-4685613.post@n4.nabble.com> Yes, I will buy it. Would be nice in e-book form, but either way. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/TEASER-Book-about-LiveCode-Application-Architecture-tp4685604p4685613.html Sent from the Revolution - User mailing list archive at Nabble.com. From dixonja at hotmail.co.uk Mon Nov 10 04:18:10 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 10 Nov 2014 09:18:10 +0000 Subject: which iPhone... Message-ID: In the case of testing in the 'iPhone Simulator' ... How do you determine which iPhone the stack is supposed to be running on ? Up until now I have used something like this :- on openStack if environment() = "mobile" then whichiPhone end openStack command whichiPhone if item 4 of the working screenrect = 568 then ? do stuff here for a iPhone 5 end if if item 4 of the working screenrect = 480 then ? do stuff here for an iPhone 4 end if end whichiPhone but the 'screenrect' function does not return the correct response for the iPhone 6 or the iPhone 6 Plus as the function just treats it as if it were an iPhone 5... thanks... From peterwawood at gmail.com Mon Nov 10 06:26:28 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 10 Nov 2014 19:26:28 +0800 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: <546047DA.4010100@hindu.org> References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> Message-ID: > On 10 Nov 2014, at 13:06, Brahmanathaswami wrote: > > i tried that already: > > case "original_script" > set the unicodetext of field "lyrics" to uniencode(tContent, "utf8") > break > > but still get garble > > > ?? > > > > ?? 555 > >  555 > > ? 555 > [snip] You need to process the JSON data before putting it into a string. As far as I know,LiveCode recognises ?\u0ba9? as a string containing 6 characters. You need to process that to change it to the single character numToCodepoint(0x0ba9) or it?s preLiveCode 7 alternative. (The \, u, 0, b, a, and 9 will be UTF-8 encoded though.) That is unless mergJSON ?de-escapes" the JSON for you. Regards Peter From revolution at derbrill.de Mon Nov 10 06:34:16 2014 From: revolution at derbrill.de (Malte Brill) Date: Mon, 10 Nov 2014 12:34:16 +0100 Subject: Dreaming up a benchmarking suite of stacks References: <6118D7BA-C4FB-4720-B622-C15E873CFCD5@derbrill.de> Message-ID: <22859EBA-6FB6-4FDF-A2FB-7BC18E5490D1@derbrill.de> Hi folks, sorry I was quiet about this for a while. I really want / need to push the benchmarking forward. I made 2 initial stacks available here: https://www.dropbox.com/sh/uspg0njkwdg7z6x/AABa-ybZ1E_BWIvFf_2O2PfGa?dl=0 If some / any of you want to help / participate I would be really glad. @Richard / Mats: Yes, I would be willing to take the lead in this project. A forum might be helpful. I also would like the mothership to give some attention / feedback here, as the results of my first tests are rather shocking to me... The simple datagrid Test on a Mac Core I7: Time taken to prepare data: 211 Time taken to fill in data: 1749 Testing datagrid performance; engine version 7.0.1-rc-1 Time taken to prepare data: 953 Time taken to fill in data: 2835 The involved script: on mouseUp local tData,tLog,tTest put "Testing datagrid performance; engine version"&&the version into tLog lock screen put the millisecs into tTest repeat with i=1 to 100000 put i & TAB & any word of "mee moo maa muh" &TAB & the millisecs & cr after tData end repeat put cr & "Time taken to prepare data:"&&the millisecs - tTest after tLog put the millisecs into tTest set the dgText of grp "datagrid" to tData put cr & "Time taken to fill in data:"&&the millisecs - tTest after tLog put tLog into fld "log" unlock screen end mouseUp This is really really no good to have such an impact on performance. The real problem appears to be that it is an overall phenomenon. It appears the engine got slower in each and every aspect. Of course there is a price we have to pay for unicode, but also in other areas it got really quite a bit slower. So if there are some of you who want to help testing your special field of interest with the engine, I would really appreciate setting up a good test suite and maybe Richard could present the results to the mothership. All the best, Malte > Hi all, > > inspired by a post by Geoff, I started thinking that it would be rather cool to have a suite of stacks that lets us benchmark the performance of the different engine versions. I started with a stack that benchmarks graphics rendering performance using different settings. Unfortunately it crashes LC7 (http://quality.runrev.com/show_bug.cgi?id=13833 , already assigned). But I think it would be a good idea to have a set of tests that benchmarks the different aspects of the engine. Would anyone of you be willing to participate in setting up such a testsuite and / or run tests on their machines? > > All the best, > > Malte > From ray at linkit.com Mon Nov 10 12:58:14 2014 From: ray at linkit.com (Ray) Date: Mon, 10 Nov 2014 09:58:14 -0800 Subject: Livecode Has Stopped Working In-Reply-To: References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> Message-ID: <5460FCB6.3070902@LinkIt.Com> Recently I had to factory reset Windows on my Acer Aspire, taking me back to 8.0. I re-downloaded Livecode 6.5.2, my favorite I've used for quite a while. I can launch it by double-clicking it directly, but a double-click on any of my stacks, even newly made empty stacks, launches it and immediately gives me an error that "Livecode has stopped working". I also freeze if I launch Livecode, create a stack and then click Livecode's close box. I've found Livecode 7.0.1 (rc 1) works a little better but I'm still getting a lot of freezing and "Livecode has stopped working" errors. I'd like to think it's because I've downloaded a 32bit version of Livecode on my 64bit machine, but I don't see where any of the downloads specify which of these they're for. Any ideas? From bvg at mac.com Mon Nov 10 08:19:02 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 10 Nov 2014 14:19:02 +0100 Subject: Livecode Has Stopped Working In-Reply-To: <5460FCB6.3070902@LinkIt.Com> References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> <5460FCB6.3070902@LinkIt.Com> Message-ID: This should not happen. Did you try uninstalling, then reinstalling LC? Note that there is no 64 bit versions of LC, but that doesn't matters, because 32 bit applications should just work on any windows version. I think you need support at runrev.com On 10 Nov 2014, at 18:58, Ray wrote: > Recently I had to factory reset Windows on my Acer Aspire, taking me back to 8.0. I re-downloaded Livecode 6.5.2, my favorite I've used for quite a while. I can launch it by double-clicking it directly, but a double-click on any of my stacks, even newly made empty stacks, launches it and immediately gives me an error that "Livecode has stopped working". I also freeze if I launch Livecode, create a stack and then click Livecode's close box. > > I've found Livecode 7.0.1 (rc 1) works a little better but I'm still getting a lot of freezing and "Livecode has stopped working" errors. > > I'd like to think it's because I've downloaded a 32bit version of Livecode on my 64bit machine, but I don't see where any of the downloads specify which of these they're for. > > Any ideas? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From fredrik at ritaren.se Mon Nov 10 08:27:48 2014 From: fredrik at ritaren.se (Fredrik Stendahl) Date: Mon, 10 Nov 2014 14:27:48 +0100 Subject: [TEASER] Book about LiveCode Application Architecture In-Reply-To: <546025D2.3080309@andregarzia.com> References: <546025D2.3080309@andregarzia.com> Message-ID: <2210798A-DB33-40CB-A923-41AF74C3C87B@ritaren.se> I will buy this. At leanpub I entered $10 to indikate eBook preference. Cheers Fredrik 10 nov 2014 kl. 03:41 skrev Andre Alves Garzia: > Hey Friends, > > I've been writing a little book about LiveCode application architecture. Before you get too happy the book is not ready. Right now I am basically dumping all the content into the correct place and then I will do a second pass reviewing and fixing it. From ray at linkit.com Mon Nov 10 13:29:37 2014 From: ray at linkit.com (Ray) Date: Mon, 10 Nov 2014 10:29:37 -0800 Subject: Livecode Has Stopped Working In-Reply-To: References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> <5460FCB6.3070902@LinkIt.Com> Message-ID: <54610411.9020603@LinkIt.Com> Yeah - I've tried uninstalling and reinstalling various times but each time I get more or less the same problems. I think you're right. I'll send a note to Heather and see if she has any advice. On 11/10/2014 5:19 AM, Bj?rnke von Gierke wrote: > This should not happen. Did you try uninstalling, then reinstalling LC? Note that there is no 64 bit versions of LC, but that doesn't matters, because 32 bit applications should just work on any windows version. I think you need support at runrev.com > > > On 10 Nov 2014, at 18:58, Ray wrote: > >> Recently I had to factory reset Windows on my Acer Aspire, taking me back to 8.0. I re-downloaded Livecode 6.5.2, my favorite I've used for quite a while. I can launch it by double-clicking it directly, but a double-click on any of my stacks, even newly made empty stacks, launches it and immediately gives me an error that "Livecode has stopped working". I also freeze if I launch Livecode, create a stack and then click Livecode's close box. >> >> I've found Livecode 7.0.1 (rc 1) works a little better but I'm still getting a lot of freezing and "Livecode has stopped working" errors. >> >> I'd like to think it's because I've downloaded a 32bit version of Livecode on my 64bit machine, but I don't see where any of the downloads specify which of these they're for. >> >> Any ideas? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Mon Nov 10 08:50:43 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 10 Nov 2014 05:50:43 -0800 (PST) Subject: which shared hosting providers offer LiveCode pre-installed? Message-ID: <1415627443556-4685622.post@n4.nabble.com> Hi all I know that www.hostm.com offers pre-installed LiveCode Server - as does www.on-rev.com (obviously) But there must be others out there doing it as well? Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/which-shared-hosting-providers-offer-LiveCode-pre-installed-tp4685622.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Mon Nov 10 08:58:52 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 10 Nov 2014 14:58:52 +0100 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: References: Message-ID: Stephan, i am not completely sure, but shouldn?t it be .php, .htm and .html instead of just php, html and html in the addHandler for php5? But as i said, i am not sure if this is the reason for your problems. Matthias > Am 10.11.2014 um 09:07 schrieb stephen barncard : > > Dreamhost has suddenly decided to 'upgrade' its OS to UBUNTU. > > So all of my sites that use Livecode server now fail with an error. > > I have been using the htaccess method for many years... > > This htaccess file used to allow both php and livecode to co-exist: > > Options +ExecCGI FollowSymLinks > AddHandler livecode-script .lc .irev > AddHandler php5-script php htm html > DirectoryIndex index.irev index.lc index.html index.php dir.irev video.irev > audio.irev gallery.irev ## index.php > Action livecode-script /cgi-bin/livecode-server/livecode-community-server > > Now only php will work, and the above .htaccess file has to be removed for > it to work. > > This appears to have something to do with using PHP-5.3 .... > > Does anyone have an idea how to get this to work ? > > thanks in advance. > > sqb > > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iowahengst at mac.com Mon Nov 10 09:33:16 2014 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 10 Nov 2014 08:33:16 -0600 Subject: which iPhone... In-Reply-To: References: Message-ID: <6726B23B-6392-4CCC-99B5-B7D10AD74253@mac.com> Hi John, I haven't messed with iPhone 6 yet, but here's what I've done to determine screen size for my opening card/image to show. I'm only using the landscape options for display switch (word 1 of the machine) case "iPod" case "iPhone" if item 3 the screenRect = 568 or item 3 of the screenRect = 1136 then show image "CFS_Splash_iPod4_Retina_BLUE.png" on card "CoverCard" end if if item 3 the screenRect = 480 or item 3 of the screenRect = 960 then show image "CFS_Splash_iPod_Retina_BLUE.png" on card "CoverCard" end if break case "iPad" show image "CFS_Splash_iPad_Retina_Land_BLUE.png" on card "CoverCard" break default show image "CFS_Splash_iPad_Retina_Land_BLUE.png" on card "CoverCard" break end switch be well, randy ----- On Nov 10, 2014, at 3:18 AM, John Dixon wrote: > In the case of testing in the 'iPhone Simulator' ... How do you determine which iPhone the stack is supposed to be running on ? Up until now I have used something like this :- > > on openStack > if environment() = "mobile" then > whichiPhone > end openStack > > command whichiPhone > if item 4 of the working screenrect = 568 then > ? do stuff here for a iPhone 5 > end if > > if item 4 of the working screenrect = 480 then > ? do stuff here for an iPhone 4 > end if > end whichiPhone > > but the 'screenrect' function does not return the correct response for the iPhone 6 or the iPhone 6 Plus as the function just treats it as if it were an iPhone 5... > > thanks... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Nov 10 09:44:42 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 10 Nov 2014 07:44:42 -0700 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: References: Message-ID: What error? My first question would be, did they upgrade to 64 bit? If so, you'd either need the 64 bit livecode server, or request that they install the 32 bit libraries. (IA32 or something like that. Its been a while) What error? On Mon, Nov 10, 2014 at 6:58 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Stephan, > > i am not completely sure, but shouldn?t it be .php, .htm and .html instead > of just php, html and html in the addHandler for php5? > > But as i said, i am not sure if this is the reason for your problems. > > Matthias > > > Am 10.11.2014 um 09:07 schrieb stephen barncard < > stephenREVOLUTION2 at barncard.com>: > > > > Dreamhost has suddenly decided to 'upgrade' its OS to UBUNTU. > > > > So all of my sites that use Livecode server now fail with an error. > > > > I have been using the htaccess method for many years... > > > > This htaccess file used to allow both php and livecode to co-exist: > > > > Options +ExecCGI FollowSymLinks > > AddHandler livecode-script .lc .irev > > AddHandler php5-script php htm html > > DirectoryIndex index.irev index.lc index.html index.php dir.irev > video.irev > > audio.irev gallery.irev ## index.php > > Action livecode-script /cgi-bin/livecode-server/livecode-community-server > > > > Now only php will work, and the above .htaccess file has to be removed > for > > it to work. > > > > This appears to have something to do with using PHP-5.3 .... > > > > Does anyone have an idea how to get this to work ? > > > > thanks in advance. > > > > sqb > > > > > > *--* > > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Mon Nov 10 10:34:09 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 10 Nov 2014 07:34:09 -0800 Subject: [TEASER] Book about LiveCode Application Architecture In-Reply-To: <546025D2.3080309@andregarzia.com> References: <546025D2.3080309@andregarzia.com> Message-ID: Andre, I would buy this book. I would be also interested in various strategies for organizing code for large projects, and auto update strategies. Good luck, Bill William Prothero http://es.earthednet.org > On Nov 9, 2014, at 6:41 PM, Andre Alves Garzia wrote: > > Hey Friends, > > I've been writing a little book about LiveCode application architecture. Before you get too happy the book is not ready. Right now I am basically dumping all the content into the correct place and then I will do a second pass reviewing and fixing it. > > The book will be a commercial initiative but it will be cheap, depending on how many pages we're looking for a USD 15 or USD 10 eBook. I am looking to have something close to 100 or less pages. My dream is to have 80 pages so that people can absorb the content easily. > > As a teaser I am sharing an unedited copy of some of the initial chapters to gather feedback. > > https://www.dropbox.com/s/b8b311dlbrbvspt/livecodeapparchitecture-sample-preview.pdf?dl=0 > > If you would like to buy this book in the future and want to let me know, then you can go to: > > https://leanpub.com/livecodeapparchitecture/ > > And fill the interest form. This will allow me to gauge interest and decide how much time I want to invest in this. My plan is to ship an early release (aka beta book) as soon as the controllers and views chapter is done and then evolve the book after that. > > Cheers > andre > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Nov 10 10:50:48 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Nov 2014 07:50:48 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: References: Message-ID: <5460DED8.3000101@fourthworld.com> stephen barncard wrote: > Dreamhost has suddenly decided to 'upgrade' its OS to UBUNTU. > > So all of my sites that use Livecode server now fail with an error. In the notice Dreamhost has been emailing to its customers about the Ubuntu upgrade I believe it notes that the new version is now 64-bit. Changing our LiveCode servers from earlier versions to v7 64-bit resolved the issue. This has been successful with both LiveCode Server and with Linux standalones made with LiveCode. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Mon Nov 10 11:39:43 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 10 Nov 2014 11:39:43 -0500 Subject: MYSQL vs. SQLite update inconsistency In-Reply-To: <5460DED8.3000101@fourthworld.com> References: <5460DED8.3000101@fourthworld.com> Message-ID: <006c01cffd04$ee586260$cb092720$@net> I ran into a this while trying to sync up 2 DBs. DB 1 is a MySql DB the other is a SQLite DB. The number of rows reported to be updated in MySql is different than SQLite. The SQLite update returned 1 row being updated but the MySql returned 0. After some head scratching I found out the field in the row in both DBs was being updated to the same value. As it turns out MySql has a flag==> CLIENT_FOUND_ROWS in the connection string. This flag when specified makes the affected-rows returned the number of rows "found"; that is, matched by the WHERE clause. It seems the LC is not setting this flag. As such updates to the same value in MySql returned 0 rows updated. This is not a bug per say but creates a procedural inconsistency between MySql and SQLite DBs. The workaround is to do a "SELECT Count(*) FROM xxx WHERE where_cond" before every update and use this to find out how many rows are being "updated". Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From dixonja at hotmail.co.uk Mon Nov 10 12:03:58 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 10 Nov 2014 17:03:58 +0000 Subject: which iPhone... In-Reply-To: <6726B23B-6392-4CCC-99B5-B7D10AD74253@mac.com> References: , <6726B23B-6392-4CCC-99B5-B7D10AD74253@mac.com> Message-ID: Hi Randy... The problem is that trying to get the screen rect using the ScreenRect function only returns the correct sizes for the iPhone 4 and iPhone 5... it returns the rect of an iPhone 5, 0,0,320,586 when trying to query for iPhone 6... :-( > > Hi John, > > I haven't messed with iPhone 6 yet, but here's what I've done to determine screen size for my opening card/image to show. I'm only using the landscape options for display > > switch (word 1 of the machine) > case "iPod" > case "iPhone" > if item 3 the screenRect = 568 or item 3 of the screenRect = 1136 then > show image "CFS_Splash_iPod4_Retina_BLUE.png" on card "CoverCard" > end if > if item 3 the screenRect = 480 or item 3 of the screenRect = 960 then > show image "CFS_Splash_iPod_Retina_BLUE.png" on card "CoverCard" > end if > break > case "iPad" > show image "CFS_Splash_iPad_Retina_Land_BLUE.png" on card "CoverCard" > break > default > show image "CFS_Splash_iPad_Retina_Land_BLUE.png" on card "CoverCard" > break > end switch > > be well, > randy From jacque at hyperactivesw.com Mon Nov 10 12:12:32 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Nov 2014 11:12:32 -0600 Subject: which iPhone... In-Reply-To: References: Message-ID: <091E5F75-69ED-4A77-895E-6085B3B80D9A@hyperactivesw.com> Does it work if you omit "working" and just ask for the screenrect? On November 10, 2014 3:18:10 AM CST, John Dixon wrote: >In the case of testing in the 'iPhone Simulator' ... How do you >determine which iPhone the stack is supposed to be running on ? Up >until now I have used something like this :- > >on openStack > if environment() = "mobile" then > whichiPhone >end openStack > >command whichiPhone > if item 4 of the working screenrect = 568 then > ? do stuff here for a iPhone 5 > end if > > if item 4 of the working screenrect = 480 then > ? do stuff here for an iPhone 4 > end if >end whichiPhone > >but the 'screenrect' function does not return the correct response for >the iPhone 6 or the iPhone 6 Plus as the function just treats it as if >it were an iPhone 5... > >thanks... > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From iowahengst at mac.com Mon Nov 10 12:28:05 2014 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 10 Nov 2014 11:28:05 -0600 Subject: which iPhone... In-Reply-To: References: <6726B23B-6392-4CCC-99B5-B7D10AD74253@mac.com> Message-ID: I'm with you now? on the iOS 8.1 simulator for all iPhone "machines" the screen rect is 0,0,480,320 for me. LC 6.6.5, Yosemite, On Nov 10, 2014, at 11:03 AM, John Dixon wrote: > > Hi Randy... > > The problem is that trying to get the screen rect using the ScreenRect function only returns the correct sizes for the iPhone 4 and iPhone 5... it returns the rect of an iPhone 5, 0,0,320,586 when trying to query for iPhone 6... > > :-( > >> >> Hi John, >> >> I haven't messed with iPhone 6 yet, but here's what I've done to determine screen size for my opening card/image to show. I'm only using the landscape options for display >> >> switch (word 1 of the machine) >> case "iPod" >> case "iPhone" >> if item 3 the screenRect = 568 or item 3 of the screenRect = 1136 then >> show image "CFS_Splash_iPod4_Retina_BLUE.png" on card "CoverCard" >> end if >> if item 3 the screenRect = 480 or item 3 of the screenRect = 960 then >> show image "CFS_Splash_iPod_Retina_BLUE.png" on card "CoverCard" >> end if >> break >> case "iPad" >> show image "CFS_Splash_iPad_Retina_Land_BLUE.png" on card "CoverCard" >> break >> default >> show image "CFS_Splash_iPad_Retina_Land_BLUE.png" on card "CoverCard" >> break >> end switch >> >> be well, >> randy > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Mon Nov 10 12:35:41 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 10 Nov 2014 17:35:41 +0000 Subject: which iPhone... In-Reply-To: <091E5F75-69ED-4A77-895E-6085B3B80D9A@hyperactivesw.com> References: , <091E5F75-69ED-4A77-895E-6085B3B80D9A@hyperactivesw.com> Message-ID: > Subject: Re: which iPhone... > From: jacque at hyperactivesw.com > Date: Mon, 10 Nov 2014 11:12:32 -0600 > To: use-livecode at lists.runrev.com > > Does it work if you omit "working" and just ask for the screenrect? > Hi Jacque... No it doesn't... Dixie From brahma at hindu.org Mon Nov 10 12:54:00 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Mon, 10 Nov 2014 07:54:00 -1000 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> Message-ID: <5460FBB8.4050104@hindu.org> Do we need to remove char the "/" before processing? I guess I'll just try it. But there are these end of line/return strings in the middle of everything, that represent two line breaks. I use block paragraph formatting where all paragraphs or verses are separated by one blank line... these appear as \r\n\r\n in the JSON and with unicode before and after... are they understood but all these unicode functions (LC's, MergJson) etc... ? bf\u0bb5\u0b9a\u0bbf\u0bb5\r\n\r\n\u0baa\u0bca I've got mergJSON and will test that... Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Peter W A Wood wrote: > You need to process the JSON data before putting it into a string. As far as I know,LiveCode recognises ?\u0ba9? as a string containing 6 characters. You need to process that to change it to the single character numToCodepoint(0x0ba9) or it?s preLiveCode 7 alternative. (The \, u, 0, b, a, and 9 will be UTF-8 encoded though.) > > > That is unless mergJSON ?de-escapes" the JSON for you. > > Regards > > Peter From iowahengst at mac.com Mon Nov 10 13:03:16 2014 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 10 Nov 2014 12:03:16 -0600 Subject: which iPhone... In-Reply-To: References: <091E5F75-69ED-4A77-895E-6085B3B80D9A@hyperactivesw.com> Message-ID: <89E2FF61-6DF6-4E68-BC1D-276EA94ACF42@mac.com> Xcode 5.1, OSX 10.8.5, LC6.5, iOS 7.1 Simulator? this code in StartUp shows correct dimensions? I don't have iOS 8 simulator on this mac. on startUp answer (word 1 of the machine) iphoneSetAllowedOrientations "landscape left,landscape right" --portrait,portrait upside down,landscape left,landscape right switch (word 1 of the machine) case "iPod" case "iPhone" set the fullscreenmode of this stack to "exactFit" --"letterbox"--"noScale" -- "exactFit" --"letterbox" --empty -- --"exactfit" --"showAll" break end switch answer the ScreenRect end startUp On Nov 10, 2014, at 11:35 AM, John Dixon wrote: > > >> Subject: Re: which iPhone... >> From: jacque at hyperactivesw.com >> Date: Mon, 10 Nov 2014 11:12:32 -0600 >> To: use-livecode at lists.runrev.com >> >> Does it work if you omit "working" and just ask for the screenrect? >> > Hi Jacque... > > No it doesn't... > > Dixie > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon Nov 10 13:29:48 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 10 Nov 2014 10:29:48 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: <5460DED8.3000101@fourthworld.com> References: <5460DED8.3000101@fourthworld.com> Message-ID: On Mon, Nov 10, 2014 at 7:50 AM, Richard Gaskin wrote: > Changing our LiveCode servers from earlier versions to v7 64-bit resolved > the issue. > > This has been successful with both LiveCode Server and with Linux > standalones made with LiveCode. > I hadn't thought about that... explains the useless error messages. Thank you again, Richard. And thanks Matthias and Mike. sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From revdev at pdslabs.net Mon Nov 10 14:30:57 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 10 Nov 2014 11:30:57 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: <5460DED8.3000101@fourthworld.com> References: <5460DED8.3000101@fourthworld.com> Message-ID: <54611271.7050408@pdslabs.net> Hi Richard, Stephen, all, I upgraded my DH/LC server to 7.0 and am finding I can't use "do" in my scripts. Is that your experience? For me it causes a SIGIOT error in the HTTP error log and no further output to the browser (or your client of choice). Maybe this is noted in the release docs - dunno. Phil Davis On 11/10/14 7:50 AM, Richard Gaskin wrote: > stephen barncard wrote: > > > Dreamhost has suddenly decided to 'upgrade' its OS to UBUNTU. > > > > So all of my sites that use Livecode server now fail with an error. > > In the notice Dreamhost has been emailing to its customers about the > Ubuntu upgrade I believe it notes that the new version is now 64-bit. > > Changing our LiveCode servers from earlier versions to v7 64-bit > resolved the issue. > > This has been successful with both LiveCode Server and with Linux > standalones made with LiveCode. > -- Phil Davis From dochawk at gmail.com Mon Nov 10 14:33:30 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 10 Nov 2014 11:33:30 -0800 Subject: can't set new breakpoints while running in 7.0.1-RC1? Message-ID: Is anyone else seeing this? I can neither disable (just not there!) existing checkpoints on the red dot, nor add new breakpoints, while the program is running and paused for single step. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Mon Nov 10 14:54:08 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Nov 2014 11:54:08 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade Message-ID: <39cc344c0a6d004847155cb78cd8d250@fourthworld.com> Phil Davis wrote: > I upgraded my DH/LC server to 7.0 and am finding I can't use "do" in > my scripts. Is that your experience? For me it causes a SIGIOT error > in the HTTP error log and no further output to the browser (or your > client of choice). I almost never use "do" so I haven't had a chance to test that. Does "do" also fail in the desktop build of v7? -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From brahma at hindu.org Mon Nov 10 15:03:37 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Mon, 10 Nov 2014 10:03:37 -1000 Subject: which shared hosting providers offer LiveCode pre-installed? In-Reply-To: <1415627443556-4685622.post@n4.nabble.com> References: <1415627443556-4685622.post@n4.nabble.com> Message-ID: <54611A19.3030801@hindu.org> We are paying pretty big bucks for a dedicated server... but I'm not sure I need all of what they think the company says are selling us. But I'm spoiled by having 4 quad core processors 100MB connection to the next and lots of RAM... I've been thinking of moving to the cloud next year. http://www.hostm.com/newaccount.m Looks very Good.. Anyone else using them? Brahmanathaswami Dave Kilroy wrote: > Hi all > > I know thatwww.hostm.com offers pre-installed > LiveCode Server - as doeswww.on-rev.com > (obviously) > > But there must be others out there doing it as well? > > Kind regards > > Dave From mikedoub at gmail.com Mon Nov 10 15:18:30 2014 From: mikedoub at gmail.com (Mike Doub) Date: Mon, 10 Nov 2014 15:18:30 -0500 Subject: which shared hosting providers offer LiveCode pre-installed? In-Reply-To: <54611A19.3030801@hindu.org> References: <1415627443556-4685622.post@n4.nabble.com> <54611A19.3030801@hindu.org> Message-ID: <54611D96.1030605@gmail.com> Yes, I have been using HostM. I would recommend them. Great customer service. -= Mike On 11/10/14 3:03 PM, Brahmanathaswami wrote: > We are paying pretty big bucks for a dedicated server... but I'm not > sure I need all of what they think the company says are selling us. > But I'm spoiled by having 4 quad core processors 100MB connection to > the next and lots of RAM... > > I've been thinking of moving to the cloud next year. > > http://www.hostm.com/newaccount.m > > Looks very Good.. Anyone else using them? > > > Brahmanathaswami > > > Dave Kilroy wrote: >> Hi all >> >> I know thatwww.hostm.com offers pre-installed >> LiveCode Server - as doeswww.on-rev.com >> (obviously) >> >> But there must be others out there doing it as well? >> >> Kind regards >> >> Dave > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Nov 10 15:23:51 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 10 Nov 2014 21:23:51 +0100 Subject: which shared hosting providers offer LiveCode pre-installed? In-Reply-To: <54611A19.3030801@hindu.org> References: <1415627443556-4685622.post@n4.nabble.com> <54611A19.3030801@hindu.org> Message-ID: <28CAC46B-2CF2-41E2-8889-87C7170F2393@m-r-d.de> > Am 10.11.2014 um 21:03 schrieb Brahmanathaswami : > > We are paying pretty big bucks for a dedicated server... but I'm not sure I need all of what they think the company says are selling us. But I'm spoiled by having 4 quad core processors 100MB connection to the next and lots of RAM... > > I've been thinking of moving to the cloud next year. > > http://www.hostm.com/newaccount.m > > Looks very Good.. Anyone else using them? > We are having one "lifetime plan" account at Hostm, but at the moment we are only using their servers as smtp backup for our On-Rev accounts. What i can say is, that support requests are answered/solved very quick. Regards, Matthias > > Brahmanathaswami > > > Dave Kilroy wrote: >> Hi all >> >> I know thatwww.hostm.com offers pre-installed >> LiveCode Server - as doeswww.on-rev.com >> (obviously) >> >> But there must be others out there doing it as well? >> >> Kind regards >> >> Dave > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Mon Nov 10 15:35:54 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 10 Nov 2014 12:35:54 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: <39cc344c0a6d004847155cb78cd8d250@fourthworld.com> References: <39cc344c0a6d004847155cb78cd8d250@fourthworld.com> Message-ID: <546121AA.8020704@pdslabs.net> On 11/10/14 11:54 AM, Richard Gaskin wrote: > Phil Davis wrote: > >> I upgraded my DH/LC server to 7.0 and am finding I can't use "do" in >> my scripts. Is that your experience? For me it causes a SIGIOT error >> in the HTTP error log and no further output to the browser (or your >> client of choice). > > I almost never use "do" so I haven't had a chance to test that. Actually the 'do' is in a test script - I never use them in real stuff either. > > Does "do" also fail in the desktop build of v7? 'do' works as expected in the desktop build. -- Phil Davis From brahma at hindu.org Mon Nov 10 15:42:35 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Mon, 10 Nov 2014 10:42:35 -1000 Subject: BBEdit Language Module for LiveCode Message-ID: <5461233B.3070603@hindu.org> Has anyone developed a codeless (ergo livecode-language.plist) language module for BBEdit? BBedit 11 came out and though it costs $... I've never really been happy with anything else I have tried. (Sublime2, Atom etc) If not I will get to work on my own. Is there an existing convention for the 4ltr application code for Livecode? lvcd # would seem to be the obvious default if the global application name space has this as an available option. i.e. not in used by some other software (cc support on this one as they may have a vested interest in getting this right) Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From ambassador at fourthworld.com Mon Nov 10 16:08:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Nov 2014 13:08:29 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade Message-ID: <1b7aba60b5262b947e5fa764704467c8@fourthworld.com> Phil Davis wrote: > 'do' works as expected in the desktop build. While it's not impossible that the Server-specific stuff have may have introduced a regression for "do", it seems less likely than something in the command being done is having a problem with the server configuration. Can you post the "do" string? -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From gerry.orkin at gmail.com Mon Nov 10 16:27:31 2014 From: gerry.orkin at gmail.com (Gerry) Date: Mon, 10 Nov 2014 21:27:31 +0000 Subject: which iPhone... References: <091E5F75-69ED-4A77-895E-6085B3B80D9A@hyperactivesw.com> <89E2FF61-6DF6-4E68-BC1D-276EA94ACF42@mac.com> Message-ID: Randy's code gives me a screen rect of 0,0,375,667 on an iOS 8 iPhone 6 simulator. Those are the correct values (remember for the iPhone 6 and 6+ you need to multiply by 2x and 3x respectively). The code also works accurately on a 4s and 5s simulator. Thanks Randy! Gerry On Tue Nov 11 2014 at 5:03:48 AM Randy Hengst wrote: > Xcode 5.1, OSX 10.8.5, LC6.5, iOS 7.1 Simulator... this code in StartUp > shows correct dimensions... I don't have iOS 8 simulator on this mac. > > > on startUp > > answer (word 1 of the machine) > > iphoneSetAllowedOrientations "landscape left,landscape right" > --portrait,portrait upside down,landscape left,landscape right > > switch (word 1 of the machine) > case "iPod" > case "iPhone" > set the fullscreenmode of this stack to "exactFit" > --"letterbox"--"noScale" -- "exactFit" --"letterbox" --empty -- > --"exactfit" --"showAll" > break > end switch > > answer the ScreenRect > end startUp > > > On Nov 10, 2014, at 11:35 AM, John Dixon wrote: > > > > > > >> Subject: Re: which iPhone... > >> From: jacque at hyperactivesw.com > >> Date: Mon, 10 Nov 2014 11:12:32 -0600 > >> To: use-livecode at lists.runrev.com > >> > >> Does it work if you omit "working" and just ask for the screenrect? > >> > > Hi Jacque... > > > > No it doesn't... > > > > Dixie > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Mon Nov 10 17:08:29 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Nov 2014 09:08:29 +1100 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> Message-ID: <4F2A49CB-DE8A-43BA-839A-4842ADA2743A@sweattechnologies.com> On 10 Nov 2014, at 10:26 pm, Peter W A Wood wrote: > That is unless mergJSON ?de-escapes" the JSON for you. It should but Brahmanathaswami wasn't using it. mergJSON handles UTF8 though so there's no need to have all the escapes. The only char it doesn't like is null. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dixonja at hotmail.co.uk Mon Nov 10 17:16:43 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 10 Nov 2014 22:16:43 +0000 Subject: which iPhone... In-Reply-To: References: , <091E5F75-69ED-4A77-895E-6085B3B80D9A@hyperactivesw.com>, , <89E2FF61-6DF6-4E68-BC1D-276EA94ACF42@mac.com>, Message-ID: Now I am a little confused ... xCode 6.0, OSX 10.9.5, LC 7.0, iOS 8 simulator Let me be a little pedantic here in my explanation. I have prepared a stack at a size of 320 x 480... It has one button with the following script... on mouseUp answer the screenRect of this stack end mouseUp If I choose Hardware > Devices > iPhone 4s running in the simulator returns 0,0,320,480 If I choose Hardware > Devices > iPhone 5s running in the simulator returns 0,0,320,568 but... If I choose Hardware > Devices > iPhone 6 running in the simulator returns 0,0,320,568 It is at this point that I expected to see 0,0,375,667... I am more than a little confused! Dixie > From: gerry.orkin at gmail.com > Date: Mon, 10 Nov 2014 21:27:31 +0000 > Subject: Re: which iPhone... > To: use-livecode at lists.runrev.com > > Randy's code gives me a screen rect of 0,0,375,667 on an iOS 8 iPhone 6 > simulator. Those are the correct values (remember for the iPhone 6 and 6+ > you need to multiply by 2x and 3x respectively). The code also works > accurately on a 4s and 5s simulator. > > Thanks Randy! > > Gerry > > On Tue Nov 11 2014 at 5:03:48 AM Randy Hengst wrote: > > > Xcode 5.1, OSX 10.8.5, LC6.5, iOS 7.1 Simulator... this code in StartUp > > shows correct dimensions... I don't have iOS 8 simulator on this mac. > > > > > > on startUp > > > > answer (word 1 of the machine) > > > > iphoneSetAllowedOrientations "landscape left,landscape right" > > --portrait,portrait upside down,landscape left,landscape right > > > > switch (word 1 of the machine) > > case "iPod" > > case "iPhone" > > set the fullscreenmode of this stack to "exactFit" > > --"letterbox"--"noScale" -- "exactFit" --"letterbox" --empty -- > > --"exactfit" --"showAll" > > break > > end switch > > > > answer the ScreenRect > > end startUp > > > > > > On Nov 10, 2014, at 11:35 AM, John Dixon wrote: > > > > > > > > > > >> Subject: Re: which iPhone... > > >> From: jacque at hyperactivesw.com > > >> Date: Mon, 10 Nov 2014 11:12:32 -0600 > > >> To: use-livecode at lists.runrev.com > > >> > > >> Does it work if you omit "working" and just ask for the screenrect? > > >> > > > Hi Jacque... > > > > > > No it doesn't... > > > > > > Dixie > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Nov 10 17:44:01 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 10 Nov 2014 17:44:01 -0500 Subject: BBEdit Language Module for LiveCode In-Reply-To: <5461233B.3070603@hindu.org> References: <5461233B.3070603@hindu.org> Message-ID: Hi there, Have you tried TextWrangler? That is free! BBEdit?s little brother. lol If you find something better, let us know! Rick > On Nov 10, 2014, at 3:42 PM, Brahmanathaswami wrote: > > Has anyone developed a codeless (ergo livecode-language.plist) language module for BBEdit? > > BBedit 11 came out and though it costs $... > > I've never really been happy with anything else I have tried. > > (Sublime2, Atom etc) > > If not I will get to work on my own. > > Is there an existing convention for the 4ltr application code for Livecode? > > lvcd > > # would seem to be the obvious default if the global application name space has this as an available option. i.e. not in used by some other software (cc support on this one as they may have a vested interest in getting this right) > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rabit at revigniter.com Mon Nov 10 17:43:17 2014 From: rabit at revigniter.com (Ralf Bitter) Date: Mon, 10 Nov 2014 23:43:17 +0100 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: <54611271.7050408@pdslabs.net> References: <5460DED8.3000101@fourthworld.com> <54611271.7050408@pdslabs.net> Message-ID: The do command does not work outside of a handler context. This applies currently to version 7.0 only. Ralf > On 10.11.2014, at 20:30, Phil Davis wrote: > > Hi Richard, Stephen, all, > > I upgraded my DH/LC server to 7.0 and am finding I can't use "do" in my scripts. Is that your experience? For me it causes a SIGIOT error in the HTTP error log and no further output to the browser (or your client of choice). > > Maybe this is noted in the release docs - dunno. > Phil Davis From ambassador at fourthworld.com Mon Nov 10 18:14:55 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Nov 2014 15:14:55 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade Message-ID: Ralf Bitter wrote: > The do command does not work outside of a handler context. > This applies currently to version 7.0 only. Is that a bug or a feature? One of the reasons I almost never use "do" is we have to be very careful in server environment to insulate it from inputs, lest it become a nasty injection exposure. -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From m.schonewille at economy-x-talk.com Mon Nov 10 18:31:39 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 11 Nov 2014 00:31:39 +0100 Subject: [ANN] ExtDocMaker 1.0.1 In-Reply-To: <54592341.2050901@economy-x-talk.com> References: <54592341.2050901@economy-x-talk.com> Message-ID: <54614ADB.5020300@economy-x-talk.com> Hi, I've updated the plug-in ExtDocMaker. When you're using LC 7, the PDF is now a little better (but there are still some problems). Additionally, I fixed a small bug that prevented the inclusion of multiple card scripts in the documentation generated by the plug-in. You can find it here http://www3.economy-x-talk.com/file.php?node=extdocmaker -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 11/4/2014 20:04, Mark Schonewille wrote: > Hi, > > Yesterday, I had to deliver documentation for a small project and I > decided to use an old tool of mine, which generates documentation from > my scripts automatically. The customer asked me to to add extensive > comments to the scripts, to I thought I could use these comments to make > the docs. > > Today I improved the tool a little and added it to the sponsored > download section of my company's website. It is a really simple tool and > it hardly requires any special way of scripting. All you need to know is > that comments in /* and */ immediately preceding a handler, without > white line, are assumed to be descriptions of that handler. In-line > comments are added in a separate paragraph for each handler. > > Probably it is much more clear if you look at the pictures. Have a look at > http://www3.economy-x-talk.com/file.php?node=extdocmaker > and let me know what you think of it. > > I have also updated the Graphic Gradient Button, which you can find at > http://www3.economy-x-talk.com/file.php?node=graphic-gradient-button > > The button now uses the extStatus instead of the status property. I'm a > little sad that I don't have complete freedom about handler names like I > had in HyperCard, but I guess we've to deal with it. I have also changed > a little glitch, which prevented resizing of the small version of the > buttons. The buttons now work as expected again. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > From revdev at pdslabs.net Mon Nov 10 18:37:46 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 10 Nov 2014 15:37:46 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: References: <5460DED8.3000101@fourthworld.com> <54611271.7050408@pdslabs.net> Message-ID: <54614C4A.9070300@pdslabs.net> Thanks Ralf! I didn't know that. That explains my experience. Phil On 11/10/14 2:43 PM, Ralf Bitter wrote: > The do command does not work outside of a handler context. > This applies currently to version 7.0 only. > > > Ralf > > > >> On 10.11.2014, at 20:30, Phil Davis wrote: >> >> Hi Richard, Stephen, all, >> >> I upgraded my DH/LC server to 7.0 and am finding I can't use "do" in my scripts. Is that your experience? For me it causes a SIGIOT error in the HTTP error log and no further output to the browser (or your client of choice). >> >> Maybe this is noted in the release docs - dunno. >> Phil Davis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From rabit at revigniter.com Mon Nov 10 18:34:21 2014 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 11 Nov 2014 00:34:21 +0100 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: References: Message-ID: > On 11.11.2014, at 00:14, Richard Gaskin wrote: > > Is that a bug or a feature? > > One of the reasons I almost never use "do" is we have to be very careful in server environment to insulate it from inputs, lest it become a nasty injection exposure. In view of this I would say this is a fixed bug or a feature missing in prior server versions. Ralf From mark at sorcery-ltd.co.uk Mon Nov 10 18:53:09 2014 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Mon, 10 Nov 2014 23:53:09 +0000 Subject: which iPhone... In-Reply-To: References: <091E5F75-69ED-4A77-895E-6085B3B80D9A@hyperactivesw.com> <89E2FF61-6DF6-4E68-BC1D-276EA94ACF42@mac.com> Message-ID: <9F7AE1CC-237A-4199-AB00-1118F94808EE@sorcery-ltd.co.uk> If you don't have the appropriate launch screen / launch images for the iPhone 6/6+ then your app gets run at iPhone 5 size and scaled up. Sent from my iPhone > On 10 Nov 2014, at 22:16, John Dixon wrote: > > > > > Now I am a little confused ... > > xCode 6.0, OSX 10.9.5, LC 7.0, iOS 8 simulator > > Let me be a little pedantic here in my explanation. I have prepared a stack at a size of 320 x 480... It has one button with the following script... > > on mouseUp > answer the screenRect of this stack > end mouseUp > > If I choose Hardware > Devices > iPhone 4s running in the simulator returns 0,0,320,480 > If I choose Hardware > Devices > iPhone 5s running in the simulator returns 0,0,320,568 > > but... > > If I choose Hardware > Devices > iPhone 6 running in the simulator returns 0,0,320,568 > > It is at this point that I expected to see 0,0,375,667... > I am more than a little confused! > > Dixie > > > > >> From: gerry.orkin at gmail.com >> Date: Mon, 10 Nov 2014 21:27:31 +0000 >> Subject: Re: which iPhone... >> To: use-livecode at lists.runrev.com >> >> Randy's code gives me a screen rect of 0,0,375,667 on an iOS 8 iPhone 6 >> simulator. Those are the correct values (remember for the iPhone 6 and 6+ >> you need to multiply by 2x and 3x respectively). The code also works >> accurately on a 4s and 5s simulator. >> >> Thanks Randy! >> >> Gerry >> >>> On Tue Nov 11 2014 at 5:03:48 AM Randy Hengst wrote: >>> >>> Xcode 5.1, OSX 10.8.5, LC6.5, iOS 7.1 Simulator... this code in StartUp >>> shows correct dimensions... I don't have iOS 8 simulator on this mac. >>> >>> >>> on startUp >>> >>> answer (word 1 of the machine) >>> >>> iphoneSetAllowedOrientations "landscape left,landscape right" >>> --portrait,portrait upside down,landscape left,landscape right >>> >>> switch (word 1 of the machine) >>> case "iPod" >>> case "iPhone" >>> set the fullscreenmode of this stack to "exactFit" >>> --"letterbox"--"noScale" -- "exactFit" --"letterbox" --empty -- >>> --"exactfit" --"showAll" >>> break >>> end switch >>> >>> answer the ScreenRect >>> end startUp >>> >>> >>>> On Nov 10, 2014, at 11:35 AM, John Dixon wrote: >>>> >>>> >>>> >>>>> Subject: Re: which iPhone... >>>>> From: jacque at hyperactivesw.com >>>>> Date: Mon, 10 Nov 2014 11:12:32 -0600 >>>>> To: use-livecode at lists.runrev.com >>>>> >>>>> Does it work if you omit "working" and just ask for the screenrect? >>>> Hi Jacque... >>>> >>>> No it doesn't... >>>> >>>> Dixie >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ethanlish at gmail.com Mon Nov 10 19:53:14 2014 From: ethanlish at gmail.com (ethanlish at gmail.com) Date: Mon, 10 Nov 2014 19:53:14 -0500 Subject: which shared hosting providers offer LiveCode pre-installed? In-Reply-To: <54611A19.3030801@hindu.org> References: <1415627443556-4685622.post@n4.nabble.com> <54611A19.3030801@hindu.org> Message-ID: <54615DFA.2010702@gmail.com> We have been with www.hostm.com for about a year. Great site with all the expected bells and whistles. Its a standard c-panel site with the suite of Softaculous apps for one-click installation. Its a great site to run a back-end Livecode / MySQL server If interested, drop me a direct message and I can help you get started E On 11/10/14 3:03 PM, Brahmanathaswami wrote: > We are paying pretty big bucks for a dedicated server... but I'm not > sure I need all of what they think the company says are selling us. But > I'm spoiled by having 4 quad core processors 100MB connection to the > next and lots of RAM... > > I've been thinking of moving to the cloud next year. > > http://www.hostm.com/newaccount.m > > Looks very Good.. Anyone else using them? > > > Brahmanathaswami > > > Dave Kilroy wrote: >> Hi all >> >> I know thatwww.hostm.com offers pre-installed >> LiveCode Server - as doeswww.on-rev.com >> (obviously) >> >> But there must be others out there doing it as well? >> >> Kind regards >> >> Dave > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Mon Nov 10 21:00:30 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 10 Nov 2014 18:00:30 -0800 Subject: Can I produce a Google map showing SEVERAL address? In-Reply-To: References: Message-ID: The following gets me a Google map of a single address: on mouseUP put "http://maps.google.com/maps?client=safari&rls=en&q=" into tPrefix --Mac only ? put "15281 Kimberly Ct, Nevada City, ca, 95959" into tAddress replace space with "+" in tAddress replace comma with "+" in tAddress put tPrefix && tAddress into temp launch url temp end mouseUP The site is marked on the map with an inverted teardrop. Is it possible to get a map showing the location of more than one address at a time? Thanks, Jim Hurley From harrison at all-auctions.com Mon Nov 10 23:07:02 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 10 Nov 2014 23:07:02 -0500 Subject: Can I produce a Google map showing SEVERAL address? In-Reply-To: References: Message-ID: <48FE7CED-95BC-49DD-BB72-8CA1859CFAB7@all-auctions.com> Hi Jim, If it doesn?t have to be google, there are several other websites which will do this for you. I had to do a map of all the members of an organization a few years ago. I just fed the addresses of all of the members to the website, and I was able to visually see where they were from mostly. It helped us to choose a new meeting location which was still close for most of them. A quick internet search should provide you with lots of possibilities. Good luck! Rick > On Nov 10, 2014, at 9:00 PM, Jim Hurley wrote: > > The following gets me a Google map of a single address: > > on mouseUP > put "http://maps.google.com/maps?client=safari&rls=en&q=" into tPrefix --Mac only ? > put "15281 Kimberly Ct, Nevada City, ca, 95959" into tAddress > replace space with "+" in tAddress > replace comma with "+" in tAddress > put tPrefix && tAddress into temp > launch url temp > end mouseUP > > The site is marked on the map with an inverted teardrop. > > Is it possible to get a map showing the location of more than one address at a time? > > Thanks, > > Jim Hurley > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Mon Nov 10 23:49:35 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 Nov 2014 15:49:35 +1100 Subject: [ANN] Android audio recording external Message-ID: Hi LiveCoders A few people have asked about android audio recording but were unable to get involved in funding a full external so I've added a small subset of the mergMicrophone API into the mergAndroid external that is currently available as a bonus to mergExt Complete users. The external can record audio from the microphone in 3gp format. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From brahma at hindu.org Tue Nov 11 00:49:39 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Mon, 10 Nov 2014 19:49:39 -1000 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: <4F2A49CB-DE8A-43BA-839A-4842ADA2743A@sweattechnologies.com> References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> <4F2A49CB-DE8A-43BA-839A-4842ADA2743A@sweattechnologies.com> Message-ID: <5461A373.2040407@hindu.org> Can someone enlighten me on the /r/n/r/n that appear in the unicode string that is being delivered (by a PHP database access lib/api that we post to from this desktop app) These are obviously two new lines, the break between verses of the song... but how do they mix and match with the unicode? Understood somehow as "low-level" unicode? If I unescape the whole string... (remove all the slashes) I think I need to leave this in... right? > On 10 Nov 2014, at 10:26 pm, Peter W A Wood wrote: > >> > That is unless mergJSON ?de-escapes" the JSON for you. > > It should but Brahmanathaswami wasn't using it. mergJSON handles UTF8 though so there's no need to have all the escapes. The only char it doesn't like is null. > > Cheers > > Monte From frankdmartinez at gmail.com Tue Nov 11 00:58:21 2014 From: frankdmartinez at gmail.com (Frank) Date: Tue, 11 Nov 2014 00:58:21 -0500 Subject: LiveCode and Haskell Message-ID: How do the 2 languages compare? -- P.S.: I prefer to be reached on BitMessage at BM-2D8txNiU7b84d2tgqvJQdgBog6A69oDAx6 From stephenREVOLUTION2 at barncard.com Tue Nov 11 01:37:43 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 10 Nov 2014 22:37:43 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: References: Message-ID: So the 64 bit version of Livecode Server works now, on my Livecode only sites. I'm still having problems with having PHP and LIVECODE being available at the same time with DH on Ubuntu. surely there must be some way to get old htaccess directives to work to retain the PHP. On Mon, Nov 10, 2014 at 12:07 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > This htaccess file used to allow both php and livecode to co-exist: > > Options +ExecCGI FollowSymLinks > AddHandler livecode-script .lc .irev > AddHandler php5-script php htm html > DirectoryIndex index.irev index.lc index.html index.php dir.irev > video.irev audio.irev gallery.irev > Action livecode-script /cgi-bin/livecode-server/livecode-community-server > *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From peterwawood at gmail.com Tue Nov 11 01:45:48 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 11 Nov 2014 14:45:48 +0800 Subject: Setting the Unicode text of a field from JSON converted to array In-Reply-To: <5461A373.2040407@hindu.org> References: <546039A9.5070900@hindu.org> <66521E44-36DE-43D2-B76A-E355A74B43DA@sweattechnologies.com> <546047DA.4010100@hindu.org> <4F2A49CB-DE8A-43BA-839A-4842ADA2743A@sweattechnologies.com> <5461A373.2040407@hindu.org> Message-ID: These are JSON escaped characters. /r is the return (U+10) character. /n is the newline character (U+13). It would probably be easiest to replace them with the LiveCode return and linefeed characters. Peter > On 11 Nov 2014, at 13:49, Brahmanathaswami wrote: > > Can someone enlighten me on the > > /r/n/r/n > > that appear in the unicode string that is being delivered (by a PHP database access lib/api that we post to from this desktop app) > > These are obviously two new lines, the break between verses of the song... but how do they mix and match with the unicode? Understood somehow as "low-level" unicode? If I unescape the whole string... (remove all the slashes) I think I need to leave this in... right? > >> On 10 Nov 2014, at 10:26 pm, Peter W A Wood wrote: >> >>>> That is unless mergJSON ?de-escapes" the JSON for you. >> >> It should but Brahmanathaswami wasn't using it. mergJSON handles UTF8 though so there's no need to have all the escapes. The only char it doesn't like is null. >> >> Cheers >> >> Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Tue Nov 11 01:56:02 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 11 Nov 2014 14:56:02 +0800 Subject: BBEdit Language Module for LiveCode In-Reply-To: <5461233B.3070603@hindu.org> References: <5461233B.3070603@hindu.org> Message-ID: Trevor DeVore created a language module a while back but I think it broke at v9 of BBEdit. Not sure if he's updated it. On Tue, Nov 11, 2014 at 4:42 AM, Brahmanathaswami wrote: > Has anyone developed a codeless (ergo livecode-language.plist) language > module for BBEdit? > > BBedit 11 came out and though it costs $... > > I've never really been happy with anything else I have tried. > > (Sublime2, Atom etc) > > If not I will get to work on my own. > > Is there an existing convention for the 4ltr application code for Livecode? > > lvcd > > # would seem to be the obvious default if the global application name > space has this as an available option. i.e. not in used by some other > software (cc support on this one as they may have a vested interest in > getting this right) > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Tue Nov 11 01:57:09 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 11 Nov 2014 14:57:09 +0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: References: Message-ID: <228C3324-A2CD-4BCE-AA90-01F6D5E8DDFA@gmail.com> Stephen Do you know if Dreamhost upgraded to a newer version of Apache when they went to 64-bit. The .htaccess directives syntax may have changed. Peter > On 11 Nov 2014, at 14:37, stephen barncard wrote: > > So the 64 bit version of Livecode Server works now, on my Livecode only > sites. > > I'm still having problems with having PHP and LIVECODE being available at > the same time with DH on Ubuntu. > > surely there must be some way to get old htaccess directives to work to > retain the PHP. > > > > On Mon, Nov 10, 2014 at 12:07 AM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> This htaccess file used to allow both php and livecode to co-exist: >> >> Options +ExecCGI FollowSymLinks >> AddHandler livecode-script .lc .irev >> AddHandler php5-script php htm html >> DirectoryIndex index.irev index.lc index.html index.php dir.irev >> video.irev audio.irev gallery.irev >> Action livecode-script /cgi-bin/livecode-server/livecode-community-server >> > > > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Tue Nov 11 05:13:57 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 11 Nov 2014 02:13:57 -0800 (PST) Subject: which shared hosting providers offer LiveCode pre-installed? In-Reply-To: <54615DFA.2010702@gmail.com> References: <1415627443556-4685622.post@n4.nabble.com> <54611A19.3030801@hindu.org> <54615DFA.2010702@gmail.com> Message-ID: <1415700837495-4685665.post@n4.nabble.com> Hi all (and thanks Ethan for the offer) I actually have a lifetime deal with on-rev and was asking so that I can make suggestions to clients... Someone on this list (or forum?) mentioned hostm.com a few days ago and I checked them out and what they offer looks pretty good. I emailed them asking where their servers are located (which is in Germany) - and in general the look very nice However I was thinking there must be other providers I could mention that provide LiveCode - are hostm and on-rev really the only ones? Any of you know of others? Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/which-shared-hosting-providers-offer-LiveCode-pre-installed-tp4685622p4685665.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Tue Nov 11 06:57:22 2014 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 11 Nov 2014 03:57:22 -0800 Subject: Can I produce a Google map showing SEVERAL address? In-Reply-To: References: Message-ID: Thanks Rick. Do you find one that you could launch from within LiveCode? I would like to incorporate the search in a LiveCode app. Jim > From: Rick Harrison > To: How to use LiveCode > Subject: Re: Can I produce a Google map showing SEVERAL address? > Message-ID: <48FE7CED-95BC-49DD-BB72-8CA1859CFAB7 at all-auctions.com> > Content-Type: text/plain; charset=utf-8 > > Hi Jim, > > If it doesn?t have to be google, there are several other websites > which will do this for you. > > I had to do a map of all the members of an organization > a few years ago. I just fed the addresses of all of the members > to the website, and I was able to visually see where they were > from mostly. It helped us to choose a new meeting location which > was still close for most of them. > > A quick internet search should provide you with lots of possibilities. > > Good luck! > > Rick > > >> On Nov 10, 2014, at 9:00 PM, Jim Hurley wrote: >> >> The following gets me a Google map of a single address: >> >> on mouseUP >> put "http://maps.google.com/maps?client=safari&rls=en&q=" into tPrefix --Mac only ? >> put "15281 Kimberly Ct, Nevada City, ca, 95959" into tAddress >> replace space with "+" in tAddress >> replace comma with "+" in tAddress >> put tPrefix && tAddress into temp >> launch url temp >> end mouseUP >> >> The site is marked on the map with an inverted teardrop. >> >> Is it possible to get a map showing the location of more than one address at a time? >> >> Thanks, >> >> Jim Hurley >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From harrison at all-auctions.com Tue Nov 11 10:04:22 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 11 Nov 2014 10:04:22 -0500 Subject: Can I produce a Google map showing SEVERAL address? In-Reply-To: References: Message-ID: Hi Jim, What platform are you developing for? I didn?t find the old one that I used to use, but a quick internet search showed: http://www.click2map.com/ I?m sure there are others which might even be better. If you need to manipulate things from within LiveCode the revBrowser or whatever the updated version of it is might work well for you. Have fun! Rick > On Nov 11, 2014, at 6:57 AM, Jim Hurley wrote: > > Thanks Rick. > > Do you find one that you could launch from within LiveCode? > I would like to incorporate the search in a LiveCode app. > > Jim > >> From: Rick Harrison >> To: How to use LiveCode >> Subject: Re: Can I produce a Google map showing SEVERAL address? >> Message-ID: <48FE7CED-95BC-49DD-BB72-8CA1859CFAB7 at all-auctions.com> >> Content-Type: text/plain; charset=utf-8 >> >> Hi Jim, >> >> If it doesn?t have to be google, there are several other websites >> which will do this for you. >> >> I had to do a map of all the members of an organization >> a few years ago. I just fed the addresses of all of the members >> to the website, and I was able to visually see where they were >> from mostly. It helped us to choose a new meeting location which >> was still close for most of them. >> >> A quick internet search should provide you with lots of possibilities. >> >> Good luck! >> >> Rick >> >> >>> On Nov 10, 2014, at 9:00 PM, Jim Hurley wrote: >>> >>> The following gets me a Google map of a single address: >>> >>> on mouseUP >>> put "http://maps.google.com/maps?client=safari&rls=en&q=" into tPrefix --Mac only ? >>> put "15281 Kimberly Ct, Nevada City, ca, 95959" into tAddress >>> replace space with "+" in tAddress >>> replace comma with "+" in tAddress >>> put tPrefix && tAddress into temp >>> launch url temp >>> end mouseUP >>> >>> The site is marked on the map with an inverted teardrop. >>> >>> Is it possible to get a map showing the location of more than one address at a time? >>> >>> Thanks, >>> >>> Jim Hurley >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Tue Nov 11 10:32:46 2014 From: livfoss at mac.com (Graham Samuel) Date: Tue, 11 Nov 2014 15:32:46 +0000 Subject: Keyboard Shortcuts in Menus Message-ID: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> I'm using LC 7.0.1. Looking at both the LC User Guide and the Dictionary, I find that I don?t exactly understand the way you put keyboard shortcuts into menus and get them to activate, especially on Windows. I note for example: 1. The ?&? character is always present in a menu item which is also intended to work as a keyboard shortcut, but it isn?t always at the beginning of the menu?s text. Is there are reason for this, or is it just wilful eccentricity on the part of the Menu Builder? 2. In a cross platform app, I use a script at startup to switch the last item of my 'File' menu from the Mac?s ?Quit? text &Quit/Q to the Windows equivalent &Exit/x This looks OK on the menu item display, but I don't think this works, even though the standard shortcuts (Cut, Copy, Paste) work in the 'Edit' menu, and they don't look any different in form. Naturally I may just have made a silly mistake, but so far I can't see what it is. Can anyone explain what is going on behind the scenes? BTW, I don't especially care for the Menu Builder, but it seems that the LC documentation assumes one is going to use it - maybe that's why the documentation is a bit sketchy. TIA Graham From bvg at mac.com Tue Nov 11 10:51:15 2014 From: bvg at mac.com (=?windows-1252?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 11 Nov 2014 16:51:15 +0100 Subject: Keyboard Shortcuts in Menus In-Reply-To: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> References: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> Message-ID: <948750AD-4035-4E43-9C3F-9333DEAA4944@mac.com> Question 1: The & only works for Windows, where menus can be triggered with the keyboard. The character after the & will be the one to trigger, and it'll be shown underlined. You can choose any char in a word, it doesn't need to be the first one, and the premade ones are chosen as per Windows human interface guidelines (for example T being the trigger for 'Cut', or R for 'Clear'). Question 2: I'm not sure, but one thing to note is that if you change menus, you of course also need to change scripts, for them to actually do anything useful. So if you change "quit" to "exit", you need to accommodate for that in the script. For example if you use the "Auto Script" feature of the menu builder: --The following menuPick handler was generated by the Menu Builder. on menuPick pWhich switch pWhich case "New" --Insert script for New menu item here break -- some parts removed here for example purposes case "Quit" -- just add this line here for exit to do the same as quit: case "Exit" --Insert script for Quit menu item here break end switch end menuPick On 11 Nov 2014, at 16:32, Graham Samuel wrote: > I'm using LC 7.0.1. Looking at both the LC User Guide and the Dictionary, I find that I don?t exactly understand the way you put keyboard shortcuts into menus and get them to activate, especially on Windows. I note for example: > > 1. The ?&? character is always present in a menu item which is also intended to work as a keyboard shortcut, but it isn?t always at the beginning of the menu?s text. Is there are reason for this, or is it just wilful eccentricity on the part of the Menu Builder? > > 2. In a cross platform app, I use a script at startup to switch the last item of my 'File' menu from the Mac?s ?Quit? text > > &Quit/Q > > to the Windows equivalent > > &Exit/x > > This looks OK on the menu item display, but I don't think this works, even though the standard shortcuts (Cut, Copy, Paste) work in the 'Edit' menu, and they don't look any different in form. Naturally I may just have made a silly mistake, but so far I can't see what it is. > > Can anyone explain what is going on behind the scenes? > > BTW, I don't especially care for the Menu Builder, but it seems that the LC documentation assumes one is going to use it - maybe that's why the documentation is a bit sketchy. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Nov 11 11:01:50 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 08:01:50 -0800 Subject: Keyboard Shortcuts in Menus In-Reply-To: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> References: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> Message-ID: On Tue, Nov 11, 2014 at 7:32 AM, Graham Samuel wrote: > Can anyone explain what is going on behind the scenes? Keep in mind that even built-in keyboard commands are generally not functioning correctly in the current 7.0.1 (RC1) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mkoob at rogers.com Tue Nov 11 11:24:58 2014 From: mkoob at rogers.com (Martin Koob) Date: Tue, 11 Nov 2014 08:24:58 -0800 (PST) Subject: BBEdit Language Module for LiveCode In-Reply-To: <5461233B.3070603@hindu.org> References: <5461233B.3070603@hindu.org> Message-ID: <1415723098763-4685671.post@n4.nabble.com> Ralf Bitter who makes revIgniter has a bundle for the TextMate editor. http://revigniter.com/accessory Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/BBEdit-Language-Module-for-LiveCode-tp4685643p4685671.html Sent from the Revolution - User mailing list archive at Nabble.com. From brami.serge at gmail.com Tue Nov 11 12:54:35 2014 From: brami.serge at gmail.com (Serge Brami) Date: Tue, 11 Nov 2014 18:54:35 +0100 Subject: recording sound on LC 6.7 Message-ID: <47370548-833F-46E9-B09B-FC075065C330@gmail.com> since LC6.7 all my scripts using record sound doesnt work any more I work on a mac pro and yosemite i have tried setting the dontuseqt prop to false but it is the same recording is impossible if i go back to lc 6.2 everything is ok any idea ? From ambassador at fourthworld.com Tue Nov 11 12:58:04 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 09:58:04 -0800 Subject: test Message-ID: <54624E2C.7020401@fourthworld.com> No posts here since last night; unusual, so just making sure the system isn't down. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Tue Nov 11 13:10:52 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 10:10:52 -0800 Subject: speed and shortening the long id Message-ID: It is my understanding that reference to id is faster than name. However, if i get the long id of something, I can get field id 1 of group id 2 of group id 3 of card id 4 of stack "theSubStack" of stack "/some/really/long/filename" If I take word 1 to 3 of theLongId && word -6 to -4 of theLongId, I get field id 1 of of stack "theSubStack" Aside from working, it would seem that this would be faster to parse. Would it? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From revdev at pdslabs.net Tue Nov 11 13:42:57 2014 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 11 Nov 2014 10:42:57 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: References: Message-ID: <546258B1.30104@pdslabs.net> One thing I noticed is that script execution speed seems to have gotten dreadfully slow in 64-bit 7.0 - roughly 6x slower. I ran "door-to-door" timings from a desktop stack against the same script on two different servers, the DH server running 7.0.0 and the on-rev server running 6.1.0. While other factors may be involved, I still assume most of the difference is because of the engine differences. Of course I'm open to correction if you have better info. The speeds of the 2 servers were roughly the same when I was using 6.x on the DH server. "test2.lc" server script: Client button script: on mouseUp put the milliseconds into tStart put url "http://one.server.or.the.other.com/test2.lc" into tOutput put the milliseconds - tStart && "millisecs" into fld "time1" put tOutput into fld "output1" end mouseUp Results: --- server 1 --- (DH) LC version 7.0.0 SYSTEM VERSION Linux 3.2.61-grsec-modsign 1:22 PM ... etc --- server 2 --- (on-rev) LC version 6.1.0 SYSTEM VERSION Linux 3.8.13-xxxx-grs-ipv6-64 10:22 PM ... etc I filed bug #13983 on this. http://quality.runrev.com/show_bug.cgi?id=13983 Phil On 11/10/14 10:37 PM, stephen barncard wrote: > So the 64 bit version of Livecode Server works now, on my Livecode only > sites. > > I'm still having problems with having PHP and LIVECODE being available at > the same time with DH on Ubuntu. > > surely there must be some way to get old htaccess directives to work to > retain the PHP. > > > > On Mon, Nov 10, 2014 at 12:07 AM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> This htaccess file used to allow both php and livecode to co-exist: >> >> Options +ExecCGI FollowSymLinks >> AddHandler livecode-script .lc .irev >> AddHandler php5-script php htm html >> DirectoryIndex index.irev index.lc index.html index.php dir.irev >> video.irev audio.irev gallery.irev >> Action livecode-script /cgi-bin/livecode-server/livecode-community-server >> > > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From roger.e.eller at sealedair.com Tue Nov 11 13:58:55 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 11 Nov 2014 13:58:55 -0500 Subject: test In-Reply-To: <54624E2C.7020401@fourthworld.com> References: <54624E2C.7020401@fourthworld.com> Message-ID: Received. On Tue, Nov 11, 2014 at 12:58 PM, Richard Gaskin wrote: > No posts here since last night; unusual, so just making sure the system > isn't down. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com From alain.vezina at logilangue.com Tue Nov 11 14:00:10 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Tue, 11 Nov 2014 14:00:10 -0500 Subject: replacing screen shot in iTunes connect Message-ID: <051F8510-E4F8-487D-B649-B1DC3F5057AA@logilangue.com> Hi all, Anyone knows how you can replace screen shots in iTunes connect? It was so easy to do before. Alain V?zina, directeur Logilangue 514-596-1385 www.logilangue.com From warren at warrensweb.us Tue Nov 11 14:16:54 2014 From: warren at warrensweb.us (Warren Samples) Date: Tue, 11 Nov 2014 13:16:54 -0600 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: <546258B1.30104@pdslabs.net> References: <546258B1.30104@pdslabs.net> Message-ID: <546260A6.1090402@warrensweb.us> On 11/11/2014 12:42 PM, Phil Davis wrote: > One thing I noticed is that script execution speed seems to have gotten > dreadfully slow in 64-bit 7.0 - roughly 6x slower. I have a simple script that repeats 5000 times, adding to a counter and populating and sorting a list with seven items. It takes just a little less than 4x as long to execute under LC 7 Server as it does under any previous version. I'm running 32bit in LC 7, btw. Warren From dochawk at gmail.com Tue Nov 11 14:25:05 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 11:25:05 -0800 Subject: hair-pulling frustration Message-ID: I can't help but wonder what it would take to get runrev to follow normal practice and actually get something to alpha level before calling it a "developer preview", beta by a "release candidate" (ok, that still wouldn't be normal), and working rather than early beta before release. If I sold something at these stages, I'd be out of business by sundown. Do the developers even pretend to use the IDE before slapping "release candidate" on it? Do they even have some kind of test suite? The sheer number of pieces of working code that have broken when going from 5.5 to 7.0 is beyond belief, as is the giant step backward in the IDE. I used to have to kill livecode frequently for the phantom "shadow variable" problem. While that happens more often under 6 (which is why I could never use it) and 7, I now usually have to kill the whole thing before that happens, as I can't get it to set a breakpoint, or even acknowedge that I've clicked anything, delays of several seconds, and so forth. In addition to the others I've mentioned here an in other recent posts, the recompile of sqlite is not quite compatible with the old, and behaves differently. For example, a semicolon at the end of an entry without begin/end transaction now causes a parsing error. Moving forward is one thing, but the only near release grade version is 5.x, which itself isn't quite ready for primetime. OK, I'll stop venting, but the amount of time I'm losing to bugs that never should have seen a public preview is getting increasingly frustrating. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Tue Nov 11 14:50:12 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Nov 2014 21:50:12 +0200 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <54626874.2070603@gmail.com> On 11/11/14 21:25, Dr. Hawkins wrote: > I can't help but wonder what it would take to get runrev to follow normal > practice and actually get something to alpha level before calling it a > "developer preview", beta by a "release candidate" (ok, that still wouldn't > be normal), and working rather than early beta before release. > > If I sold something at these stages, I'd be out of business by sundown. > > Do the developers even pretend to use the IDE before slapping "release > candidate" on it? Do they even have some kind of test suite? > > The sheer number of pieces of working code that have broken when going from > 5.5 to 7.0 is beyond belief, as is the giant step backward in the IDE. > > I used to have to kill livecode frequently for the phantom "shadow > variable" problem. While that happens more often under 6 (which is why I > could never use it) and 7, I now usually have to kill the whole thing > before that happens, as I can't get it to set a breakpoint, or even > acknowedge that I've clicked anything, delays of several seconds, and so > forth. > > In addition to the others I've mentioned here an in other recent posts, the > recompile of sqlite is not quite compatible with the old, and behaves > differently. For example, a semicolon at the end of an entry without > begin/end transaction now causes a parsing error. > > Moving forward is one thing, but the only near release grade version is > 5.x, which itself isn't quite ready for primetime. > > OK, I'll stop venting, but the amount of time I'm losing to bugs that never > should have seen a public preview is getting increasingly frustrating. Dear Dr Hawkins, I hope RunRev listen to you: they certainly have shown little or no sign of listening when I have stated similar reservations about "Stable" releases. As a Mac PPC "loony" the fact that the 'last' Mac PPC compatible version (6.6.5) doesn't have an icon that shows up is, frankly, pathetic, and easily resolved . . . but it hasn't been. And that, as they say, is the smallest of all the "bi*ches" there are right across the stable releases. The problem of Unicode fonts being substituted for on past XP Windows shows no sign of being resolved, despite Microsoft having pumped out "Vista", "7", "8" and "*.1" since then. Boom, boom, and so it goes . . . Richmond. From ambassador at fourthworld.com Tue Nov 11 14:51:17 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 11:51:17 -0800 Subject: Livecode Server on Dreamhost fails in Ubuntu upgrade In-Reply-To: <546260A6.1090402@warrensweb.us> References: <546260A6.1090402@warrensweb.us> Message-ID: <546268B5.8000907@fourthworld.com> Warren Samples wrote: > On 11/11/2014 12:42 PM, Phil Davis wrote: >> One thing I noticed is that script execution speed seems to have gotten >> dreadfully slow in 64-bit 7.0 - roughly 6x slower. > > I have a simple script that repeats 5000 times, adding to a counter and > populating and sorting a list with seven items. It takes just a little > less than 4x as long to execute under LC 7 Server as it does under any > previous version. I submitted this hopeful but perhaps unlikely request not long ago: 64-bit build of v6.7 http://quality.runrev.com/show_bug.cgi?id=13606 For many of us who don't need Unicode, 6.7 is a great solution. Server environments are harsh mistresses, demanding that we cull every unnecessary clock cycle and k of RAM to maintain reasonable scalability. 6.7 delivers that for us, and will be increasingly useful as v8 adds radically powerful features with unknowable but anticipatable cost to both RAM and CPU time. As Donald Knuth said, "Premature optimization is the root of all evil." No expects a free ride with both new capabilities and trimmer, faster performance. A 64-bit build of v6.7 would buy us time to move the platform forward with features and eventual optimization, while supporting mission-critical work where performance matters today. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Nov 11 14:55:58 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 11:55:58 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <546269CE.80708@fourthworld.com> Dr. Hawkins wrote: > OK, I'll stop venting, but the amount of time I'm losing to bugs that never > should have seen a public preview is getting increasingly frustrating. I agree, which is why it benefits no one more than ourselves to test our work with pre-release versions. The SQLite issue may be more related to the new SQLite code base than with LiveCode. I can't say specifically - Mr. Haworth, what do you find with that? On the other issues, can you share the bug report numbers so we can follow them? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Tue Nov 11 15:07:08 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Nov 2014 22:07:08 +0200 Subject: hair-pulling frustration In-Reply-To: <546269CE.80708@fourthworld.com> References: <546269CE.80708@fourthworld.com> Message-ID: <54626C6C.6050607@gmail.com> On 11/11/14 21:55, Richard Gaskin wrote: > Dr. Hawkins wrote: >> OK, I'll stop venting, but the amount of time I'm losing to bugs that >> never >> should have seen a public preview is getting increasingly frustrating. > > I agree, which is why it benefits no one more than ourselves to test > our work with pre-release versions. That is, of course, very true. Another idea that might not be bad, is to slow down the releases so there is more time for testing. I would love to do more testing (I do almost none) but do not have the time as I have a full work schedule both in terms of my teaching duties and my programming ones. Given more time between releases of development previews, release candidates and stable releases might allow many of us busy people slightly more time to do this sort of thing. Another idea would be to award "brownie points" to anyone who identifies and documents a bug, and, after somebody has collected enough points they could receive some sort tangible reward. > > The SQLite issue may be more related to the new SQLite code base than > with LiveCode. I can't say specifically - Mr. Haworth, what do you > find with that? > > On the other issues, can you share the bug report numbers so we can > follow them? > Richmond. From harrison at all-auctions.com Tue Nov 11 15:37:34 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 11 Nov 2014 15:37:34 -0500 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: Hi Dr. Hawkins, The whole computer industry is changing too rapidly now. Their is no such thing as ?stable? as a result. What everyone wants is a ?stable? OS, a ?stable? language, a ?stable? database, and stable hardware platforms to go with it all. If we had all of that, we?d already have a stable ?AI? computer system. Instead it?s all becoming an upgrade hell for everyone except the people who at the top are making money from the entire circus they?ve created. Just my 2 cents. Thanks for letting all of us vent a little! LOL Rick > On Nov 11, 2014, at 2:25 PM, Dr. Hawkins wrote: > > I can't help but wonder what it would take to get runrev to follow normal > practice and actually get something to alpha level before calling it a > "developer preview", beta by a "release candidate" (ok, that still wouldn't > be normal), and working rather than early beta before release. > > If I sold something at these stages, I'd be out of business by sundown. > > Do the developers even pretend to use the IDE before slapping "release > candidate" on it? Do they even have some kind of test suite? > > The sheer number of pieces of working code that have broken when going from > 5.5 to 7.0 is beyond belief, as is the giant step backward in the IDE. > > I used to have to kill livecode frequently for the phantom "shadow > variable" problem. While that happens more often under 6 (which is why I > could never use it) and 7, I now usually have to kill the whole thing > before that happens, as I can't get it to set a breakpoint, or even > acknowedge that I've clicked anything, delays of several seconds, and so > forth. > > In addition to the others I've mentioned here an in other recent posts, the > recompile of sqlite is not quite compatible with the old, and behaves > differently. For example, a semicolon at the end of an entry without > begin/end transaction now causes a parsing error. > > Moving forward is one thing, but the only near release grade version is > 5.x, which itself isn't quite ready for primetime. > > OK, I'll stop venting, but the amount of time I'm losing to bugs that never > should have seen a public preview is getting increasingly frustrating. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Nov 11 15:59:42 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 12:59:42 -0800 Subject: hair-pulling frustration In-Reply-To: <546269CE.80708@fourthworld.com> References: <546269CE.80708@fourthworld.com> Message-ID: On Tue, Nov 11, 2014 at 11:55 AM, Richard Gaskin wrote: > Dr. Hawkins wrote: > >> OK, I'll stop venting, but the amount of time I'm losing to bugs that >> never >> should have seen a public preview is getting increasingly frustrating. >> > > I agree, which is why it benefits no one more than ourselves to test our > work with pre-release versions. Two problems, though: 1) One can *either* stay with 5.5, *or* use any of the new features. Without maintaining two codebases (impossible with livecode's monolithic file), there is no way to do both. 2) These prereleases just aren't ready for what they're called and presented as. I simply cannot believe that anyone who uses the debugger would have signed off on it. I really can't give up any significant portion of my coding time to do livecode's work for them; these are things that are so basic that they never should have seen a release to the public. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Tue Nov 11 16:09:51 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Nov 2014 13:09:51 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: On Tue, Nov 11, 2014 at 11:25 AM, Dr. Hawkins wrote: > In addition to the others I've mentioned here an in other recent posts, the > recompile of sqlite is not quite compatible with the old, and behaves > differently. For example, a semicolon at the end of an entry without > begin/end transaction now causes a parsing error. > I rarely, if ever, try to execute multiple SQL statements in one revDatabasexxx so haven't seen that particular problem. Could you give an example? I'd like to check it out as I don't want to get hit by the same bug. Thanks, Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Tue Nov 11 16:10:23 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Nov 2014 13:10:23 -0800 Subject: hair-pulling frustration In-Reply-To: <546269CE.80708@fourthworld.com> References: <546269CE.80708@fourthworld.com> Message-ID: On Tue, Nov 11, 2014 at 11:55 AM, Richard Gaskin wrote: > The SQLite issue may be more related to the new SQLite code base than with > LiveCode. I can't say specifically - Mr. Haworth, what do you find with > that? Just asked for an example and will check it out. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From ambassador at fourthworld.com Tue Nov 11 16:16:09 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 13:16:09 -0800 Subject: hair-pulling frustration Message-ID: <072e9fe8eb39f071e763c754b6e4ae62@fourthworld.com> Richmond wrote: > On 11/11/14 21:55, Richard Gaskin wrote: >> I agree, which is why it benefits no one more than ourselves to test >> our work with pre-release versions. > > That is, of course, very true. > > Another idea that might not be bad, is to slow down the releases so > there is more time for testing. Agreed. While v7 did have an unusually long test period as it was (first test build was release March 19), there are a couple rough edges in the "Stable" build that seem the sort of thing that might have been handled prior to that designation. > I would love to do more testing (I do almost none) but do not have > the time as I have a full work schedule both in terms of my > teaching duties and my programming ones. True, we can only afford the time we can afford. Unicode's not very critical for my work, so most of my testing was with v6.7, testing v7 only on Ubuntu and really only focused on the new Linux-specific additions there. But when a given version has new features that seem useful to us, testing is critical to ensure that it'll do what we want to it do when the final build comes out. And testing needn't necessarily be all that deep. LiveCode has a lot going on, arguably more akin to an OS than to any consumer app. We all do different things with it, and no one can guess the exact interaction of language elements we'll be using in our own scripts. So while we can't be expected to test everything, if we only test our own apps with new builds that's usually all we need for our own work. Collectively, if we call just ensured that new features get implemented in ways we need, we'll all have what we want. Rather than thinking about testing LiveCode, big as it is, it may be more helpful to think of it as testing you own app's functionality in the sliver of LiveCode that it uses. Just test your own stuff, and your own needs will be addressed. > Another idea would be to award "brownie points" to anyone who > identifies > and documents a bug, and, after somebody has collected > enough points they could receive some sort tangible reward. That's a good idea, and one I know Ben is keenly interested in persuing. In fact, he's brought it up in a couple of our Community meetings, but maybe you can help us out with some of the details we've been stuck on: What sorts of perks would you find motivating, and at what level of testing effort or bug report count should they kick in? -- Richard Gaskin LiveCode Community Manager richard at livecode.org From richmondmathewson at gmail.com Tue Nov 11 16:23:21 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Nov 2014 23:23:21 +0200 Subject: hair-pulling frustration In-Reply-To: References: <546269CE.80708@fourthworld.com> Message-ID: <54627E49.20205@gmail.com> On 11/11/14 22:59, Dr. Hawkins wrote: > > I really can't give up any significant portion of my coding time to do > livecode's work for them; these are things that are so basic that they > never should have seen a release to the public. I'm afraid, Richard Gaskin et al, the above is going to be a fairly widespread response. Obviously Dr Hawkins is not over-enamoured of the Open Source theory: LiveCode is paid for in a different way [the "I'll scratch your back if you'll scratch mine" way] than the 'standard' commercial way [I pay you, and you do ALL the work]. Part of the problem is that Livecode is NOT like GIMP (for instance): GIMP is 100% Open Source, while Livecode both IS and ISN'T Open Source, and RunRev has to play a terrible balancing act keeping both camps happy. ----------------------------- I can see this problem, and have to cope with it frequently in my 'real' job. I run an English as a Foreign Language school in Bulgaria, and have constantly to explain to parents that, in spite of the fact they pay me to teach English to their children, their children will not learn anything if only I do any work and the kids do nothing. One cannot learn English in the same way as a sponge soaks up water. ----------------------------- The difference between what I do and LiveCode is also quite important: Livecode is a product which can be used [rather like a car can be used to drive from place to place] without having to understand what goes on 'under the hood'. Language learning means constantly messing around under the hood. And, quite honestly, if I bought a car and then was supposed to beta test the thing and keep going back to buy replacements every time something went wrong with the car I would get pretty fed up pretty quickly. The reason I don't get fed up is I keep going back and getting free replacements, and that is the main difference. Now what I don't get with the free version is the ability to lock up my code so that other people cannot pinch it, and at present that doesn't fuss me. I can, however, imagine a time when it will matter, so I will stump up the money to buy the non-free version. If, on buying the non-free version and it turns out to be "dicky" I shall be even more trenchant in my response than Dr Hawkins. ----------------------------- Of course Dr Hawkins does not really make a distinction between 'developer previews' and 'release candidates' (which are marked as such to signal a lower level of confidence in their functional completeness than 'stable' versions. He does, however, state that 'stable' versions are not much better than the others, and that is where the problem lies. Several times I have stated that in my opinion RunRev are being swept along into a sort of feature bloat which prevents them from sorting out little 'niggles' in existing features. I se no reason to change that opinion. When or if I come to thinking about buying a commercial version of LiveCode I will be in a very odd position, not really knowing whether I am buying a version that is, really, stable, or just something beta-ish labelled 'stable' which will then cause all sorts of unforeseen problems with my product. Richmond. From richmondmathewson at gmail.com Tue Nov 11 16:26:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Nov 2014 23:26:16 +0200 Subject: hair-pulling frustration In-Reply-To: <072e9fe8eb39f071e763c754b6e4ae62@fourthworld.com> References: <072e9fe8eb39f071e763c754b6e4ae62@fourthworld.com> Message-ID: <54627EF8.5060303@gmail.com> On 11/11/14 23:16, Richard Gaskin wrote: > Richmond wrote: > >> On 11/11/14 21:55, Richard Gaskin wrote: >>> I agree, which is why it benefits no one more than ourselves to test >>> our work with pre-release versions. >> >> That is, of course, very true. >> >> Another idea that might not be bad, is to slow down the releases so >> there is more time for testing. > > Agreed. While v7 did have an unusually long test period as it was > (first test build was release March 19), there are a couple rough > edges in the "Stable" build that seem the sort of thing that might > have been handled prior to that designation. > > >> I would love to do more testing (I do almost none) but do not have >> the time as I have a full work schedule both in terms of my >> teaching duties and my programming ones. > > True, we can only afford the time we can afford. Unicode's not very > critical for my work, so most of my testing was with v6.7, testing v7 > only on Ubuntu and really only focused on the new Linux-specific > additions there. > > But when a given version has new features that seem useful to us, > testing is critical to ensure that it'll do what we want to it do when > the final build comes out. > > And testing needn't necessarily be all that deep. LiveCode has a lot > going on, arguably more akin to an OS than to any consumer app. We > all do different things with it, and no one can guess the exact > interaction of language elements we'll be using in our own scripts. > > So while we can't be expected to test everything, if we only test our > own apps with new builds that's usually all we need for our own work. > Collectively, if we call just ensured that new features get > implemented in ways we need, we'll all have what we want. > > Rather than thinking about testing LiveCode, big as it is, it may be > more helpful to think of it as testing you own app's functionality in > the sliver of LiveCode that it uses. Just test your own stuff, and > your own needs will be addressed. > > >> Another idea would be to award "brownie points" to anyone who identifies >> and documents a bug, and, after somebody has collected >> enough points they could receive some sort tangible reward. > > That's a good idea, and one I know Ben is keenly interested in > persuing. In fact, he's brought it up in a couple of our Community > meetings, but maybe you can help us out with some of the details we've > been stuck on: > > What sorts of perks would you find motivating, and at what level of > testing effort or bug report count should they kick in? > How about a series of T-shirts with insects all over them and the LiveCode logo: and the words, "I've helped squash X bugs." where 'X' is a number? Fairly childish, but fun and effective! Richmond. From jacque at hyperactivesw.com Tue Nov 11 16:33:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Nov 2014 15:33:46 -0600 Subject: hair-pulling frustration In-Reply-To: <072e9fe8eb39f071e763c754b6e4ae62@fourthworld.com> References: <072e9fe8eb39f071e763c754b6e4ae62@fourthworld.com> Message-ID: <546280BA.7040406@hyperactivesw.com> On 11/11/2014, 3:16 PM, Richard Gaskin wrote: > So while we can't be expected to test everything, if we only test our > own apps with new builds that's usually all we need for our own work. > Collectively, if we call just ensured that new features get implemented > in ways we need, we'll all have what we want. If it's easy to report a bug, I do it. The lack of command key functionality for example. I can just describe a procedure to follow. Demonstrating a problem with an image redraw is easy and only requires a single card with an image and a few lines of script. I jump on that sort of thing right away. What usually stops me is the need to create a separate, stripped-down stack to demonstrate a more complicated bug. I completely understand the need for this, especially in my case where the original stack is huge and complex, and I wouldn't expect RR to plow through all that. But extracting the exact set of circumstances that reproduce the problem without including all the surrounding code can sometimes be a whole afternoon's work or more, so I don't do it. I just hope someone else has a simpler example and will report it for me instead. I know when I do this that I'm not helping myself very much, but there's too much going on to do otherwise. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Nov 11 16:34:45 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 13:34:45 -0800 Subject: R: hair-pulling frustration Message-ID: <3dc66286b37b45dd800a25bbddf0b5e3@fourthworld.com> Dr. Hawkins wrote: > On Tue, Nov 11, 2014 at 11:55 AM, Richard Gaskin wrote: > > I agree, which is why it benefits no one more than ourselves to test > our > work with pre-release versions. > > > Two problems, though: > 1) One can *either* stay with 5.5, *or* use any of the new features. > Without maintaining two codebases (impossible with livecode's > monolithic > file), there is no way to do both. > 2) These prereleases just aren't ready for what they're called and > presented as. I simply cannot believe that anyone who uses the > debugger > would have signed off on it. I'd like to raise these concerns with Ben and Kevin at my next meeting. It would be very helpful if you could point me to the bug reports that describe these issues. Being in touch with them fairly regularly, I can say with confidence that it's not like they're all sitting at the beach drinking Mai Tais. Heck, it's Edinburgh - is it even sunny enough to go to the beach? :) I believe they're every bit as committed as many of the community members here in seeing LiveCode take what I feel is its rightful place among the world's great programming languages. For that to happen they need to cover a lot of ground, with new features, feature completion, and QA. As with any company, it's always a balancing act with resources. And like most companies that survive beyond their third year (that seems the be the threshold at which a majority close up shop) they've done reasonably well in this narrow field of developer tools, far beyond any xTalk before them, for so long because of a demonstrated willingness to learn and grow, just as all of us do with our own business management. There are many great things on the road ahead, and even in the current versions. But it never hurts to check in along the way to make sure the balance is optimal for all concerns. I'll be happy to review with them the issues you cited once I can find them in the report queue. -- Richard Gaskin LiveCode Community Manager richard at livecode.com From ambassador at fourthworld.com Tue Nov 11 16:42:49 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 13:42:49 -0800 Subject: hair-pulling frustration Message-ID: J. Landman Gay wrote: > What usually stops me is the need to create a separate, stripped-down > stack to demonstrate a more complicated bug. I completely understand > the need for this, especially in my case where the original stack is > huge and complex, and I wouldn't expect RR to plow through all that. > But extracting the exact set of circumstances that reproduce the > problem > without including all the surrounding code can sometimes be a whole > afternoon's work or more, so I don't do it. I just hope someone else > has a simpler example and will report it for me instead. > > I know when I do this that I'm not helping myself very much, but > there's too much going on to do otherwise. No shame in that, or if there is I'm just shameless 'cause I do that all the time. Like you, I recognize that not pinning down a recipe won't help me get it fixed, but like RunRev themselves we all have to balance the desire for completely air-tight work with the realities of keeping the doors open. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From richmondmathewson at gmail.com Tue Nov 11 16:42:54 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Nov 2014 23:42:54 +0200 Subject: R: hair-pulling frustration In-Reply-To: <3dc66286b37b45dd800a25bbddf0b5e3@fourthworld.com> References: <3dc66286b37b45dd800a25bbddf0b5e3@fourthworld.com> Message-ID: <546282DE.7090402@gmail.com> On 11/11/14 23:34, Richard Gaskin wrote: > > > Being in touch with them fairly regularly, I can say with confidence > that it's not like they're all sitting at the beach drinking Mai > Tais. Heck, it's Edinburgh - is it even sunny enough to go to the > beach? :) > > While I know they are not at the beach, drinking Mai Tais, or even glasses of "Heavy" for that matter, I do resent the comment about Edinburgh! North of Edinburgh, in St. Andrews, where I have a house, it is often sunny enough to go to the beach, and even go swimming: http://www.geograph.org.uk/photo/3135428 LOL! Richmond. From jacque at hyperactivesw.com Tue Nov 11 16:53:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Nov 2014 15:53:45 -0600 Subject: hair-pulling frustration In-Reply-To: <54627E49.20205@gmail.com> References: <546269CE.80708@fourthworld.com> <54627E49.20205@gmail.com> Message-ID: <54628569.6050501@hyperactivesw.com> On 11/11/2014, 3:23 PM, Richmond wrote: > Several times I have stated that in my opinion RunRev are being swept > along into a sort of feature bloat which prevents them > from sorting out little 'niggles' in existing features. I se no reason > to change that opinion. Suppose while teaching English, you were not paid by the time you put in, but rather by the number of students who learn each word. If you teach 10 students and they all learn the word, you get paid for 10 words. If one student does not learn the word, then you must go back and re-teach it until the student understands it. You don't get paid for "his" word until that happens. If 9 of your students learn the word but one does not, would you stop introducing new words in class until the one student understands it? Or would you re-teach that student on your own time? Or would you just postpone it for a while because it affects only one person? Suppose 6 students don't understand the word. In that case you would probably decide to re-teach it during class time because so many students are affected. The four remaining students would be idle until that is done and may feel you are depriving them of a full education. Suppose 3 students don't understand it. Where would you draw the line? Remember, you get paid by the word. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Tue Nov 11 16:55:51 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 11 Nov 2014 21:55:51 +0000 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: I just ran into this. If a variable contains ?card foo? then the command open card foo resolves to open card card foo. You can see the problem. There is no card named card foo. Just foo. Is this the problem you are seeing? Bob S > On Nov 8, 2014, at 13:29 , Dr. Hawkins wrote: > > On Wed, Nov 5, 2014 at 6:55 PM, Peter Haworth wrote: > >> I'd say that's a bug. It's good practice to use quotes around card and >> stack names but unless there are any characters in those names like spaces, >> etc, it shouldn't cause a problem without them. >> > > The more I think about this, the more serious of a bug it appears. > > Consider the innocuous, > > put "stack " and the short name of this stack into myStack > > This will produce something like > > stack someStack > > And then later > > open myStack > > This is a rather drastic change in how LiveCode works. For decades, > > > open aString > > would take that string, if a single item such as a variable, as a literal. > That is apparently no longer the case; the unquoted words of aString, such > as whatever the value of "myStack" is, are now apparently being processed > *again*. > > This breaks code, and there is no reason to expect an arbitrarily named > variable to even *be* around. > > On top of that, when there is no variable of a name, the word is supposed > to be processed as string; this has been the case since hypercard. > > While I am quite aware of the value of being able to point one variable at > another, this is just half-cocked (and would be even if it wasn't breaking > defined behavior. > > > And this is breaking production code I use on a daily basis. > > *Bug 13972* - open card > treats string as variable breaking old code (edit > ) > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From vclement at gmail.com Tue Nov 11 17:12:23 2014 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 11 Nov 2014 15:12:23 -0700 Subject: hair-pulling frustration In-Reply-To: <54628569.6050501@hyperactivesw.com> References: <546269CE.80708@fourthworld.com> <54627E49.20205@gmail.com> <54628569.6050501@hyperactivesw.com> Message-ID: The student example Your comment is interesting BUT; Instructors need to test the curricula before, during and after the instruction. The question is, is it the instruction, the testing or the student having the problem. It all comes back to the testing. The teacher who does not test the instruction fails. The instruction that is not tested will fail. The student that is not learning from the instruction fails. The bottom line, no testing no learning. This forum is the best source for learning at this time, your comments allow the students to learn, the teachers "You" are helping us all to learn. Lastly you're wasting time explaining what your not doing. NOT TESTING! Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * On Target Solutions LLC Website: http://www.ontargetsolutions.biz Email: ontargetsolutions at yahoo.com Skype: vaughn.clement FaceTime: vclement at gmail.com Ph. 928-254-9062 On Tue, Nov 11, 2014 at 2:53 PM, J. Landman Gay wrote: > On 11/11/2014, 3:23 PM, Richmond wrote: > >> Several times I have stated that in my opinion RunRev are being swept >> along into a sort of feature bloat which prevents them >> from sorting out little 'niggles' in existing features. I se no reason >> to change that opinion. >> > > Suppose while teaching English, you were not paid by the time you put in, > but rather by the number of students who learn each word. If you teach 10 > students and they all learn the word, you get paid for 10 words. > > If one student does not learn the word, then you must go back and re-teach > it until the student understands it. You don't get paid for "his" word > until that happens. > > If 9 of your students learn the word but one does not, would you stop > introducing new words in class until the one student understands it? Or > would you re-teach that student on your own time? Or would you just > postpone it for a while because it affects only one person? > > Suppose 6 students don't understand the word. In that case you would > probably decide to re-teach it during class time because so many students > are affected. The four remaining students would be idle until that is done > and may feel you are depriving them of a full education. > > Suppose 3 students don't understand it. Where would you draw the line? > Remember, you get paid by the word. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Nov 11 17:32:49 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 14:32:49 -0800 Subject: hair-pulling frustration Message-ID: Richmond wrote: > Obviously Dr Hawkins is not over-enamoured of the Open Source > theory: LiveCode is paid for in a different way [the "I'll > scratch your back if you'll scratch mine" way] than the > 'standard' commercial way [I pay you, and you do ALL the work]. I think you and I may be a rare breed. I know folks in both the proprietary and open source worlds who feel the other is the embodiment of evil, but I see only an inherent symbiosis in which each side not only benefits the other, but perhaps even to the point of mutually beneficial dependency. Where would open source be without support from proprietary vendors, and where would those vendors be without the tools and infrastructure the open source world provides? Heck, these days both Apple and Microsoft promote Linux - I think it's safe to say both worlds can get along well at this point by working together. With developer tools, the argument for open source is undeniable: of the Top 100 Programming Languages on the TIOBE list, all but a small handful from multi-billion-dollar companies are open source. Since the turn of the century, the range of great tools available under open source licenses has exploded. There's simply no way a smaller player like LiveCode could ever hope to make it into the Top 50 without at least an open source option. > Part of the problem is that Livecode is NOT like GIMP (for instance): > GIMP is 100% Open Source, while Livecode both IS and ISN'T Open Source, > and RunRev has to play a terrible balancing act keeping both camps > happy. This is another of the distinctions between consumer tools and developer tools: As a consumer took, GIMP does well under GPL because it doesn't need to support developers building proprietary apps with it. As a developer tool, LiveCode needs to provide an option for proprietary deployment. And as a complex work, it needs considerable resources to be maintained. The dual-license model used by MySQL and others seems a good fit covering both sides. > If, on buying the non-free version and it turns out to be "dicky" > I shall be even more trenchant in my response than Dr Hawkins. And perhaps rightly so. The issue with testing, however, is very different from the decision to move from "Release Candidate" to "Stable" (in which case it really ought to be stable): With testing, the primary beneficiary is ourselves. I've been a beta tester for Adobe, Asymetrix, Oracle, Triton, Silicon Graphics, Canonical, and others, and I've never been paid nor expected I would be. I did it because the quality of my own work is dependent on theirs, and I've been in the business long enough to appreciate how the complexity of software requires beta testing. When I have no serious investment in a tool, I don't bother. But for tools my business relies on, testing them to make sure they do what I need has never struck me as anything other that just part of running a business that relies on software. I also do a stress test on new hard drives before I put them into production. And I test drive cars before I buy them. Just seems like a prudent thing to do. > He does, however, state that 'stable' versions are not much better than > the others, and that is where the problem lies. To a degree I would agree with that. Obviously a quick review of the change logs shows how much effort is expended to fixing show-stoppers during the test cycle, but in all fairness to Dr. Hawkins the issue Chipp found with the Quit item on Mac is an odd one that one could reasonably be assumed would not warrant "Stable". It'll be interesting to hear how that one happened. I think it's safe to say no one at RunRev saw it and said, "Nah, good enough, ship it anyway". I'd wager that somehow it never showed up in their daily work for some reason, even with their large and growing set of automated regression testing tools, and no doubt this issue has been added to that suite since. > Several times I have stated that in my opinion RunRev are being > swept along into a sort of feature bloat which prevents them > from sorting out little 'niggles' in existing features. I se no > reason to change that opinion. Perfectly valid. We all have our own preferences, and one of the reasons I left the dev tools world long ago and have no intention of returning to it is that it's full of a great many very smart people who can each come up with compelling reasons to need very different things. Some prefer we aim for a completely bug-free version, holding off all new development until that's done. But there's never been a completely bug-free app of this scope in the history of software, and with things like Apple's deprecation of QT, their pending deprecation of Carbon, Ubuntu's pending deprecation of 32-bit, Windows' ever-changing rendering models, and other things in the business environment over which no one at RunRev has any control, it's hard for them to come back to us and demand we use outdated OS version until they deliver the world's first bug-free dev tool. I tend to favor performance, even though I know full well Knuth's maxim, "Premature optimization is the root of all evil." And others need things like Unicode, which required sweeping revision of nearly every code module, while others need mobile native controls, and others need PDF support, and others need something else. It's a tough balancing act. On the whole, given the scope of v7 and the number of true show-stoppers being at this point one (if there are others please let me know), it's not bad for a code base of some 800,000 lines and growing. And I'm happy to advocate for further review of the process that moves the designation from "Release Candidate" to "Stable". But for that to move from an abstract "Just do more!" to specific actionable tasks, it would be very helpful if I could get the bug report numbers to make it possible for me to advocate for those bugs. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From dochawk at gmail.com Tue Nov 11 18:09:25 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 15:09:25 -0800 Subject: 7.0.1-RC1 selectively not obeying "open card in script? In-Reply-To: References: Message-ID: On Tue, Nov 11, 2014 at 1:55 PM, Bob Sneidar wrote: > I just ran into this. If a variable contains ?card foo? then the command > open card foo resolves to open card card foo. You can see the problem. > There is no card named card foo. Just foo. > > Is this the problem you are seeing? > Yes, it is now bug 13972 , supposedly to be fixed in RC2 -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Nov 11 18:13:32 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 15:13:32 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: On Tue, Nov 11, 2014 at 1:09 PM, Peter Haworth wrote: > I rarely, if ever, try to execute multiple SQL statements in one > revDatabasexxx so haven't seen that particular problem. Could you give an > example? I'd like to check it out as I don't want to get hit by the same > bug. > I routinely execute many synchronize with the remote, as latency is a big deal and stops the single-threaded livecode. "SELECT * FROM sometable;" worked before the change with SQLite. Now, it is necessary to remove the semicolon. I routinely code the semicolons in because I variously use both direct revDatabaseXxxx calls and my own routine which wraps with Begin/End. That way, I can, err, could, simply write my queries. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Nov 11 18:59:33 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 15:59:33 -0800 Subject: hair-pulling frustration In-Reply-To: <3dc66286b37b45dd800a25bbddf0b5e3@fourthworld.com> References: <3dc66286b37b45dd800a25bbddf0b5e3@fourthworld.com> Message-ID: On Tue, Nov 11, 2014 at 1:34 PM, Richard Gaskin wrote: > Dr. Hawkins wrote: > > On Tue, Nov 11, 2014 at 11:55 AM, Richard Gaskin wrote: >> >> I agree, which is why it benefits no one more than ourselves to test our >> work with pre-release versions. >> >> >> Two problems, though: >> 1) One can *either* stay with 5.5, *or* use any of the new features. >> Without maintaining two codebases (impossible with livecode's monolithic >> file), there is no way to do both. >> 2) These prereleases just aren't ready for what they're called and >> presented as. I simply cannot believe that anyone who uses the debugger >> would have signed off on it. >> > > I'd like to raise these concerns with Ben and Kevin at my next meeting. > It would be very helpful if you could point me to the bug reports that > describe these issues. > That's the problem. These are at a level that never should have seen the outside to be reported as bugs. That something unusual happens under certain circumstances is a bug. That the IDE window regularly pauses for seconds at a time, or stops taking input, is impossible to not notice if you actually use it. This is a commercial product that was released without testing; *that* the paying customers are expected to file bug reports over what should have been done before is the fundamental problem. I have, however, added bugs 13997-9 about the failures of the checkpoints in the IDE -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Nov 11 19:00:54 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 16:00:54 -0800 Subject: hair-pulling frustration In-Reply-To: <54627E49.20205@gmail.com> References: <546269CE.80708@fourthworld.com> <54627E49.20205@gmail.com> Message-ID: On Tue, Nov 11, 2014 at 1:23 PM, Richmond wrote: > Obviously Dr Hawkins is not over-enamoured of the Open Source theory: > LiveCode is paid for in a different way [the "I'll scratch your back if > you'll scratch mine" way] than the 'standard' commercial way [I pay you, > and you do ALL the work]. > Actually, I published the seminal paper on the economics of open source software, and am quite familiar with it. I purchased a $1k/year commercial license before the kickstarter campaign, and have never used the community version (and given the GPL3, probably never will, at least not until there are US court cases). While I'm at it, instead of the "you get the same license" on the kickstarter campaign, I ended up with the newer, subscription license. But that's a whole separate issue. When I'm paying for a license, I expect things to generally work, not to be test cases. > Of course Dr Hawkins does not really make a distinction between 'developer > previews' and 'release candidates' (which are marked > as such to signal a lower level of confidence in their functional > completeness than 'stable' versions. He does, however, state > that 'stable' versions are not much better than the others, and that is > where the problem lies. > Sure I do; but each is inflated. Normal parlance is that an alpha release executes, a beta release is feature complete and generally works but with bugs expected to be found, and that a release has been tested. LiveCode's developer previews simply execue (nightly snapshot that executed), the RC are alpha quality, the 5.5 series are late beta, and the 6.x and 7.x releases are early beta. When or if I come to thinking about buying a commercial version of LiveCode > I will be in a very odd position, not really knowing whether > I am buying a version that is, really, stable, or just something beta-ish > labelled 'stable' which will then cause all sorts of unforeseen > problems with my product. My attitude would probably be far different if I were using a community version . . . I understand the open source and mixed models quite well, but would be far better off with a fixed and working 5 than what the efforts have been spent on the last couple of years. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Tue Nov 11 19:38:45 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 16:38:45 -0800 Subject: hair-pulling frustration Message-ID: Dr. Hawkins wrote: > On Tue, Nov 11, 2014 at 1:34 PM, Richard Gaskin wrote: >> I'd like to raise these concerns with Ben and Kevin at my next >> meeting. >> It would be very helpful if you could point me to the bug reports that >> describe these issues. > > That's the problem. These are at a level that never should have seen > the outside to be reported as bugs. Hard to say without knowing what the specific issue is. Peter's investigating the SQLite issue (thanks, Peter), and that may be a regression in LiveCode or it may be a change in SQLite itself. There are many changes logged for SQLite in recent builds, so hopefully Peter's analysis will help shed some light on that. Any other specific issues you feel are show-stoppers may well be worth looking into, and I'd be happy to help if I can. But to do that I'd need to know what they are. > That something unusual happens under certain circumstances is a bug. > That the IDE window regularly pauses for seconds at a time, or stops > taking input, is impossible to not notice if you actually use it. Have you considered the possibility that things your app uses regularly may not be used as often by others? > This is a commercial product that was released without testing; I think the hundreds of testers who put in thousands of hours testing over the last 8 months would disagree. > *that* the paying customers are expected to file bug reports over what > should have been done before is the fundamental problem. No one's obliged to test. If having bugs fixed isn't of interest, there's no need to let anyone know when you find them. If you prefer to wait until after release to find out if a build will suit your app's needs, any issues you find will, by definition, be post-release, and can only be addressed in yet another build later in the future. It's a choice we make with complete freedom, with any software, or any product, according to our own needs for such assessment. I never bother reporting bugs for software I don't rely on. But I never buy a car without driving it several miles first. > I have, however, added bugs 13997-9 about the failures of the > checkpoints > in the IDE I saw that - thanks for filing the report. I'm sure by now you got notice that the lead engineer began researching it within 48 hours after you'd submitted it. I suspect this will soon join the other 1,700 reported issues that were fixed over the last year, now that it's been brought to their attention. This particular bug makes a good case study for the nature of testing in all software, whether it's LiveCode, or our own, or Apple's, or anyone else's: A given issue may seem obvious if it's something your app uses regularly, but it's worth noting that after 8 months of testing by hundreds of community members in addition to internal resources both human and automated at RunRev, this issue had never before been reported. I'd never seen it, nor heard anyone mention anything like it. And eight months is a long time. This is one of the tricky things about complex systems: with so many thousands of tokens that can be combined and recombined in nearly infinite variety, the likelihood that the specific intersection of features a given app needs will be easily found by others simply can't be assured. If you want to use a new version, it can help you get any issues that need resolving done before release if you choose to try the pre-release builds. No one's required to test. But many of us choose to do so because it benefits our own goals. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From dochawk at gmail.com Tue Nov 11 19:46:52 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 16:46:52 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: On Tue, Nov 11, 2014 at 4:38 PM, Richard Gaskin wrote: > Any other specific issues you feel are show-stoppers may well be worth > looking into, and I'd be happy to help if I can. But to do that I'd need > to know what they are. > That the IDE doesn't work? I filed those bugs, but can anyone really have used the IDE and breakpoints without noticing the hangs, and the inability to set these? And how many years has it been since a current version can watch a global variable without crashing? or the false failures to compile over shadowed names? If I spend a day programming, I have to kill livecode a dozen or more times. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From capellan2000 at gmail.com Tue Nov 11 19:51:25 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 11 Nov 2014 19:51:25 -0500 Subject: LiveCode Course on Udemy Message-ID: Hi All, I looked for the announcement in LC mail list of this LiveCode Course on Udemy https://www.udemy.com/livecode101/ Did I miss this announcement? What is your opinion about this course? Thanks in advance! Al From prothero at earthednet.org Tue Nov 11 20:10:31 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 11 Nov 2014 17:10:31 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <6464EC95-D5E2-455A-9066-868DE7C5EE79@earthednet.org> Folks: Just to chime in on this. I?ve been using version 7.0 for a couple of months. No problems. I?m not using many of the new features like unicode, but have found the IDE working fine for my purposes, so far. The slowdown in some operations has affected me, though. Picking out a byte from a large byte array is slower than older versions. That said, I?m glad you guys are finding the bugs in features I don?t use, because eventually, I will use them. Best, Bill William A. Prothero http://es.earthednet.org/ On Nov 11, 2014, at 4:46 PM, Dr. Hawkins wrote: > On Tue, Nov 11, 2014 at 4:38 PM, Richard Gaskin > wrote: > >> Any other specific issues you feel are show-stoppers may well be worth >> looking into, and I'd be happy to help if I can. But to do that I'd need >> to know what they are. >> > > That the IDE doesn't work? > From capellan2000 at gmail.com Tue Nov 11 20:18:54 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 11 Nov 2014 20:18:54 -0500 Subject: hair-pulling frustration Message-ID: Hi Richard, on Tue, 11 Nov 2014 Richard Gaskin wrote: [snip] > On the other issues, can you share the > bug report numbers so we can follow them? Does exist an automatic way to post every new bug report in this mail list? Could bugzilla do this? In this way, every bug will be noticed and reviewed by all mail list users. Al From userev at canelasoftware.com Tue Nov 11 20:24:38 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 11 Nov 2014 17:24:38 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <584DE75F-D956-4A1E-BE1B-EA08AAC85429@canelasoftware.com> On Nov 11, 2014, at 4:38 PM, Richard Gaskin wrote: > Any other specific issues you feel are show-stoppers may well be worth looking into, and I'd be happy to help if I can. But to do that I'd need to know what they are. Hi Richard, Thanks for taking this on. These are stopping us from using 7 either in shipping applications and in some cases development: Move command renders graphics improperly when screen has been recently locked http://quality.runrev.com/show_bug.cgi?id=13961 Player object should be able to transform video content http://quality.runrev.com/show_bug.cgi?id=13942 (We are currently relying on Trevor?s excellent QT External for this. Thus, this is really an enhancement.) Color overlay doesn't seem to be applied to alpha channel correctly http://quality.runrev.com/show_bug.cgi?id=11520 (Fixed but not released) Command keys not working correctly http://quality.runrev.com/show_bug.cgi?id=13847 This list does not include a serial port communication bug. The general issue is that serial communication is very slow. We rely on serial communication for our remote control system to communicate with the vision testing software. Just need to find the time to build a recipe stack this one. The overall slowness of 7 is also an issue. Thankfully plenty of benchmarking scripts are being created by the wonderful people on this list to show those issues. I personally think there should be more life applied to the 6.7 cycle. This will be important until 7 matures. A quick glance at which engine is used for some of our applications: Live Events Conference App: 6.6.3 20/20 Vision Testing Software: 6.1.1 LiveCloud Servers: 6.6.5 LiveCloud Manager: 6.5.1 Electronic Medical Records (under development): Shooting for 6.7 You might ask yourself why we are using such a range of engines. Why not use the latest or why not use only one or two? Selecting the right engine depends on a number of factors like: Is this for mobile or desktop. Then there are sub-factors like: Media playback features needed, serial port access, graphic overlay use, text manipulation, array features, and various bug fixes that affect your particular app. These are just the ones that come to mind. Best regards, Mark Talluto livecloud.io canelasoftware.com From ambassador at fourthworld.com Tue Nov 11 20:24:56 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 17:24:56 -0800 Subject: hair-pulling frustration Message-ID: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> Dr. Hawkins wrote: > On Tue, Nov 11, 2014 at 4:38 PM, Richard Gaskin wrote: > >> Any other specific issues you feel are show-stoppers may well be worth >> looking into, and I'd be happy to help if I can. But to do that I'd >> need >> to know what they are. >> > > That the IDE doesn't work? I'll run a search for "IDE doesn't work" and see what I can come up with. ;) > I filed those bugs, but can anyone really have used the IDE and > breakpoints > without noticing the hangs, and the inability to set these? Thanks for noting which bugs were concerning you. The one I had referred to was about the card reference, which has already been fixed: http://quality.runrev.com/show_bug.cgi?id=13972 For those following this the breakpoint bugs are: http://quality.runrev.com/show_bug.cgi?id=13997 http://quality.runrev.com/show_bug.cgi?id=13998 http://quality.runrev.com/show_bug.cgi?id=13999 I did a quick triage on those: The first one ('97) was especially interesting because in all the years I'd been using LC I'd never used that particular feature. The description of that feature on p68 of the User Guide does seem to match your expectations, and I was able to confirm your report. The second one ('98) was one that could benefit from others here who've used the debugger more than I have (Jacque, that means you ). I'm not sure if it's a bug or merely needs more explanation in the docs. The last one ('99) I was unable to reproduce, but if there are any additional steps I can follow to reliably reproduce I'd be happy to submit my notes there. > And how many years has it been since a current version can watch a > global > variable without crashing? or the false failures to compile over > shadowed > names? Bug #s? Anyone else experience those? There was a recent comment about shadowed name warnings in the Facebook group recently, but that seemed related to turning on the feature to warn about those (Prefs -> Script Editor -> Strict Compilation Mode). The person who noted the issue reported back that after restoring that feature to its default "off" setting he was happy. Is that not working for you? -- Richard Gaskin LiveCode Community Manager richard at livecode.org From userev at canelasoftware.com Tue Nov 11 20:28:17 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 11 Nov 2014 17:28:17 -0800 Subject: hair-pulling frustration In-Reply-To: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> Message-ID: On Nov 11, 2014, at 5:24 PM, Richard Gaskin wrote: > There was a recent comment about shadowed name warnings in the Facebook group recently, but that seemed related to turning on the feature to warn about those (Prefs -> Script Editor -> Strict Compilation Mode). The person who noted the issue reported back that after restoring that feature to its default "off" setting he was happy. Is that not working for you? I have seen this one too. My quick enough work around is copy the script to memory. Empty the script from the control that is complaining and compile. Then paste the script back into the control. The true issue will properly error at the bottom of the script editor. Fix that issue and compile again. Everything goes back to normal. Best regards, Mark Talluto livecloud.io canelasoftware.com From terry.judd at unimelb.edu.au Tue Nov 11 20:31:43 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Nov 2014 01:31:43 +0000 Subject: hair-pulling frustration In-Reply-To: References: <546269CE.80708@fourthworld.com> <54627E49.20205@gmail.com> Message-ID: On 12/11/2014 11:00 am, "Dr. Hawkins" wrote: >LiveCode's developer previews simply execue (nightly snapshot that >executed), the RC are alpha quality, the 5.5 series are late beta, and the >6.x and 7.x releases are early beta. I think that?s a bit harsh. There are problems with every version but typically only a very small number effect individual users. Like many others I move to a newer version when a new feature that I want has been added or a bug that is holding me back gets fixed. If other problems emerge then I step back and monitor things for a bit longer. I don?t really care how a release is named, alpha, beta, DP or RC - if it does enough of what I want then I use it. > >When or if I come to thinking about buying a commercial version of >LiveCode >>I will be in a very odd position, not really knowing whether >>I am buying a version that is, really, stable, or just something beta-ish >>labelled 'stable' which will then cause all sorts of unforeseen >>problems with my product. > > >My attitude would probably be far different if I were using a community >version . . . I understand the open source and mixed models quite well, >but >would be far better off with a fixed and working 5 than what the efforts >have been spent on the last couple of years. I guess it depends on what you want the software to do. While things move relatively slowly in the desktop world, mobile OSes are changing rapidly. A stable version 5 would be fairly useless to an iOS developer. I like the fact that LC is evolving - warts and all. If the alternative is what used to happen with Director (maybe still does), where ?stable? versions go unchanged for years, then I?ll go for the LC model every time. Nevertheless, I wholeheartedly agree that it is annoying when you regularly butt up against bugs - old and new - and it would be good to get some useful info on these in an accessible and easily digestible format - that is, other than via the release notes and the bug database. Perhaps if these could be aggregated in some way and added as a ?known issues? item to LC?s help menu it would be easier for us to decide which version of LC to use and when to make the switch. The identification/verification of major new issues against a version (or multiple versions) or fixes in newly released versions could also perhaps appear as notifications in LC's start centre. Terry... From pete at lcsql.com Tue Nov 11 20:41:36 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Nov 2014 17:41:36 -0800 Subject: New SQLite binary option Message-ID: Has anyone used the new "binary" parameter to revOpenDatabase when opening an sqlite database? It's supposed to store binary data into BLOB columns unchanged - apparently Livecode used to store BLOB's in a proprietary format. Here's what I'm doing: revOpendatabase("sqlite",,"binary") database is opened OK and I can access it I have a button that opens a pdf file, reads it all into a variable named tData, then: revExecuteSQL gDBID,,"*btData" which, according to the result, works OK I can read the data back in again with a SELECT statement and it is correctly identified by my read handler as a pdf file. I write the data to a temporary file with a .pdf extension then launch the file. At that point, Preview says the file is damaged or not in a format it recognizes. If I use Preview to open the original pdf file, it opens with no problem. To check out what's going on, I wrote the contents of the same pdf file to a custom property, read the custom property into a variable, wrote the variable into a temp file, then launched the temp file and this time Preview opened it with no problem. I guess that's a long winded way of saying that maybe the new sqlite binary mode is not working? Looking for feedback from anyone who has used the new binary mode in a similar way. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dochawk at gmail.com Tue Nov 11 20:43:33 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 17:43:33 -0800 Subject: hair-pulling frustration In-Reply-To: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> Message-ID: On Tue, Nov 11, 2014 at 5:24 PM, Richard Gaskin wrote: > Dr. Hawkins wrote: > > On Tue, Nov 11, 2014 at 4:38 PM, Richard Gaskin wrote: >> >> Any other specific issues you feel are show-stoppers may well be worth >>> looking into, and I'd be happy to help if I can. But to do that I'd need >>> to know what they are. >>> >>> >> That the IDE doesn't work? >> > > I'll run a search for "IDE doesn't work" and see what I can come up with. > ;) > :) > > > For those following this the breakpoint bugs are: > http://quality.runrev.com/show_bug.cgi?id=13997 > http://quality.runrev.com/show_bug.cgi?id=13998 > http://quality.runrev.com/show_bug.cgi?id=13999 > > I did a quick triage on those: > > The first one ('97) was especially interesting because in all the years > I'd been using LC I'd never used that particular feature. The description > of that feature on p68 of the User Guide does seem to match your > expectations, and I was able to confirm your report. > The only reason *I* found it (the feature) was that I was trying to set breakpoints, and my usual ways didn't work. > The second one ('98) was one that could benefit from others here who've > used the debugger more than I have (Jacque, that means you ). I'm not > sure if it's a bug or merely needs more explanation in the docs. > I suspect it may need someone running livecode itself in another debugger, or massive checkpoint dumping in the IDE code. > The last one ('99) I was unable to reproduce, but if there are any > additional steps I can follow to reliably reproduce I'd be happy to submit > my notes there. > It seems to be some level of corruption that survives saving and reloading. > > > And how many years has it been since a current version can watch a global >> variable without crashing? or the false failures to compile over shadowed >> names? >> > > Bug #s? > > Anyone else experience those? > > These get discussed here every few months. > There was a recent comment about shadowed name warnings in the Facebook > group recently, but that seemed related to turning on the feature to warn > about those (Prefs -> Script Editor -> Strict Compilation Mode). The > person who noted the issue reported back that after restoring that feature > to its default "off" setting he was happy. Is that not working for you? !!! No, not having strict compilation can't make me happy; I depend upon such things. (I don't even like the lack of case sensitivity in names, or the inability to apply types, but those only bite on the database side, and I have scripts that watch my stacks for those on every build. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Nov 11 20:46:36 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 17:46:36 -0800 Subject: hair-pulling frustration In-Reply-To: References: <546269CE.80708@fourthworld.com> <54627E49.20205@gmail.com> Message-ID: On Tue, Nov 11, 2014 at 5:31 PM, Terry Judd wrote: > On 12/11/2014 11:00 am, "Dr. Hawkins" wrote: > > >LiveCode's developer previews simply execue (nightly snapshot that > >executed), the RC are alpha quality, the 5.5 series are late beta, and the > >6.x and 7.x releases are early beta. > > I think that?s a bit harsh. *shrug* That's the normal meaning of alpha & beta (for non-microsoft products) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Tue Nov 11 20:49:11 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Nov 2014 17:49:11 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: OK, I'll try with and without multiple statements in both versions. I do want to double check that you're not trying to access an SQLite database over a network because you WILL have major problems if you are :-) Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Nov 11, 2014 at 3:13 PM, Dr. Hawkins wrote: > On Tue, Nov 11, 2014 at 1:09 PM, Peter Haworth wrote: > > > I rarely, if ever, try to execute multiple SQL statements in one > > revDatabasexxx so haven't seen that particular problem. Could you give an > > example? I'd like to check it out as I don't want to get hit by the same > > bug. > > > > I routinely execute many synchronize with the remote, as latency is a big > deal and stops the single-threaded livecode. > > "SELECT * FROM sometable;" worked before the change with SQLite. Now, it > is necessary to remove the semicolon. > > I routinely code the semicolons in because I variously use both direct > revDatabaseXxxx calls and my own routine which wraps with Begin/End. That > way, I can, err, could, simply write my queries. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Nov 11 20:53:20 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 17:53:20 -0800 Subject: hair-pulling frustration Message-ID: Mark Talluto wrote: > Thanks for taking this on. These are stopping us from using 7 either > in shipping > applications and in some cases development: > > Move command renders graphics improperly when screen has been recently > locked > http://quality.runrev.com/show_bug.cgi?id=13961 > > Player object should be able to transform video content > http://quality.runrev.com/show_bug.cgi?id=13942 > (We are currently relying on Trevor?s excellent QT External for this. > Thus, this > is really an enhancement.) > > Color overlay doesn't seem to be applied to alpha channel correctly > http://quality.runrev.com/show_bug.cgi?id=11520 > > (Fixed but not released) Command keys not working correctly > http://quality.runrev.com/show_bug.cgi?id=13847 > > This list does not include a serial port communication bug. The general > issue is that serial communication is very slow. We rely on serial > communication for our remote control system to communicate with the > vision > testing software. Just need to find the time to build a recipe stack > this one. > > The overall slowness of 7 is also an issue. Thankfully plenty of > benchmarking > scripts are being created by the wonderful people on this list to show > those > issues. I personally think there should be more life applied to the 6.7 > cycle. > This will be important until 7 matures. Very helpful - thanks for posting that list. I've added them to my notes for my next Community meeting with them. The fixed item is good to see, but of course it would have been better to see it fixed before release. Do you happen to know offhand if that was a late-stage regression? The enhancement request seems very useful, though of course it'll likely play a minimal role in a discussion of show-stoppers. The other two are interesting, and I look forward to learning the challenges behind those. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From pete at lcsql.com Tue Nov 11 21:14:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 11 Nov 2014 18:14:18 -0800 Subject: New SQLite binary option In-Reply-To: References: Message-ID: By way of an update on this, the length of the data I supply to the UPDATE statement is around 2.5 million characters. When I read it back in again, it's 244 characters. Obviously there's some severe truncation going on! Question is - is it LC or SQLite? Everything I read on the web says that SQLite is quite capable of storing binary data and there are example out there of people doing exactly the same as me. SOunds like time for a bug report. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Nov 11, 2014 at 5:41 PM, Peter Haworth wrote: > Has anyone used the new "binary" parameter to revOpenDatabase when opening > an sqlite database? It's supposed to store binary data into BLOB columns > unchanged - apparently Livecode used to store BLOB's in a proprietary > format. > > Here's what I'm doing: > > revOpendatabase("sqlite",,"binary") > database is opened OK and I can access it > > I have a button that opens a pdf file, reads it all into a variable named > tData, then: > > revExecuteSQL gDBID,,"*btData" > which, according to the result, works OK > > I can read the data back in again with a SELECT statement and it is > correctly identified by my read handler as a pdf file. I write the data to > a temporary file with a .pdf extension then launch the file. > > At that point, Preview says the file is damaged or not in a format it > recognizes. > > If I use Preview to open the original pdf file, it opens with no problem. > > To check out what's going on, I wrote the contents of the same pdf file to > a custom property, read the custom property into a variable, wrote the > variable into a temp file, then launched the temp file and this time > Preview opened it with no problem. > > I guess that's a long winded way of saying that maybe the new sqlite > binary mode is not working? > > Looking for feedback from anyone who has used the new binary mode in a > similar way. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > From capellan2000 at gmail.com Tue Nov 11 21:17:15 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 11 Nov 2014 21:17:15 -0500 Subject: LiveCode vector screenshots Message-ID: Hi All, Download this PDF file with a vector drawing of LiveCode's Menubar. Hopefully, I will find time to draw the Tool palette and other icons, palettes and windows. The purpose is: use High Quality images for tutorials, courses and books. By the way, I am using Xara, so if one of you is a Xara user, ask for the original Xara file. Al https://drive.google.com/file/d/0B9ja3Yvw8cHLSnE1WW1kR3JYZUE/view?usp=sharing From ambassador at fourthworld.com Tue Nov 11 21:21:59 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 18:21:59 -0800 Subject: hair-pulling frustration Message-ID: Dr. Hawkins wrote: On Tue, Nov 11, 2014 at 5:24 PM, Richard Gaskin wrote: >> The first one ('97) was especially interesting because in all the >> years >> I'd been using LC I'd never used that particular feature. The >> description >> of that feature on p68 of the User Guide does seem to match your >> expectations, and I was able to confirm your report. > > The only reason *I* found it (the feature) was that I was trying to set > breakpoints, and my usual ways didn't work. I've always just clicked om the line number. I know you've reported an issue doing that while the script is running, but are you also unable to set the breakpoints by clicking the line number at all? >> There was a recent comment about shadowed name warnings in the >> Facebook >> group recently, but that seemed related to turning on the feature to >> warn >> about those (Prefs -> Script Editor -> Strict Compilation Mode). The >> person who noted the issue reported back that after restoring that >> feature >> to its default "off" setting he was happy. Is that not working for >> you? > > !!! > > No, not having strict compilation can't make me happy; I depend upon > such things. (I don't even like the lack of case sensitivity in names, > or the inability to apply types, but those only bite on the database > side, > and I have scripts that watch my stacks for those on every build. It seems I had misunderstood. What's the bug report number for that one? -- Richard Gaskin LiveCode Community Manager richard at livecode.org From dochawk at gmail.com Tue Nov 11 23:00:53 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 20:00:53 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: On Tue, Nov 11, 2014 at 5:49 PM, Peter Haworth wrote: > OK, I'll try with and without multiple statements in both versions. > Now, to make matters worse, it appears that I've been using 7.0.0, not 7.0.1-RC-1 for an unknown period of time--it has managed to set itself as the default version more than once on this machine. Anyway, where this bit me was the single transaction with semicolon but without begin/end > > I do want to double check that you're not trying to access an SQLite > database over a network because you WILL have major problems if you are :-) > Been, there, done that, silkscreened the t-shirt. Interestingly, though, when simultaneously opened, come of the changes could be read by the other (come to think of it, it wasn't network, but two instances on the same machine). But, no, these are actually :memory: SQLite dbs. (now, I'm *dying* for multi-threading so that the second/slave process can handle synchronization) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Nov 11 23:10:06 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Nov 2014 20:10:06 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: On Tue, Nov 11, 2014 at 6:21 PM, Richard Gaskin wrote: > Dr. Hawkins wrote: > > On Tue, Nov 11, 2014 at 5:24 PM, Richard Gaskin wrote: > >> The first one ('97) was especially interesting because in all the years >>> I'd been using LC I'd never used that particular feature. The >>> description >>> of that feature on p68 of the User Guide does seem to match your >>> expectations, and I was able to confirm your report. >>> >> >> The only reason *I* found it (the feature) was that I was trying to set >> breakpoints, and my usual ways didn't work. >> > > I've always just clicked om the line number. I know you've reported an > issue doing that while the script is running, but are you also unable to > set the breakpoints by clicking the line number at all? > I filed that as a separate bug. Yes, once it's corrupted enough, it ignores line-number clicking, which is why I discovered the other. I experimented, and foudn it. > > There was a recent comment about shadowed name warnings in the Facebook >>> group recently, but that seemed related to turning on the feature to warn >>> about those (Prefs -> Script Editor -> Strict Compilation Mode). The >>> person who noted the issue reported back that after restoring that >>> feature >>> to its default "off" setting he was happy. Is that not working for you? >>> >> >> !!! >> >> No, not having strict compilation can't make me happy; I depend upon >> such things. (I don't even like the lack of case sensitivity in names, >> or the inability to apply types, but those only bite on the database side, >> and I have scripts that watch my stacks for those on every build. >> > > It seems I had misunderstood. What's the bug report number for that one? > To start with, Peter Hayworth filed *Bug 10511* in 2006 . . . but wee discuss this every three or fourt months on this list. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Tue Nov 11 23:22:46 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 20:22:46 -0800 Subject: hair-pulling frustration Message-ID: <0393a05e6d12226693807f5a30894075@fourthworld.com> Dr. Hawkins wrote: > Now, to make matters worse, it appears that I've been using 7.0.0, > not 7.0.1-RC-1 for an unknown period of time--it has managed to > set itself as the default version more than once on this machine. If that's on a Mac, I don't believe there's anything a developer can do - that's a long-standing Finder "feature", in which it uses rules known only to itself to determine which version to launch whenever a compatible file is double-clicked. For greater control over app versions I put all the ones I use in my Dock and launch them explicitly from there. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From ambassador at fourthworld.com Tue Nov 11 23:33:25 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Nov 2014 20:33:25 -0800 Subject: hair-pulling frustration Message-ID: Dr. Hawkins wrote: > To start with, Peter Hayworth filed *Bug 10511* > in 2006 > . . . but wee discuss this every three or fourt months on > this list. I recall only vague descriptions with no clear outcome, and that amazingly long bug report evidences why. Apparently after a very long period of some of the best minds at RunRev and within this community exploring the issue from every angle, only fairly recently did a seemingly reliable recipe emerge, but with Peter's most recent note there it appears the root cause remains as the recipe. Many thanks to Peter, Ralph, Monte, and the others who contributed to that. Good reading about thorough diagnostic process in the face of a problem that for most had been unpredictably intermittent. Hopefully this can be worked out. Interesting problem. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From terry.judd at unimelb.edu.au Wed Nov 12 00:46:21 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Nov 2014 05:46:21 +0000 Subject: hair-pulling frustration In-Reply-To: <0393a05e6d12226693807f5a30894075@fourthworld.com> References: <0393a05e6d12226693807f5a30894075@fourthworld.com> Message-ID: >For greater control over app versions I put all the ones I use in my >Dock and launch them explicitly from there. I?m sure you?re not alone there. I have six versions of LC in my dock that I use for different projects and for testing. I have many more than that in my Applications folder. Terry... From richmondmathewson at gmail.com Wed Nov 12 01:08:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Nov 2014 08:08:43 +0200 Subject: hair-pulling frustration In-Reply-To: References: <0393a05e6d12226693807f5a30894075@fourthworld.com> Message-ID: <5462F96B.3020109@gmail.com> On 12/11/14 07:46, Terry Judd wrote: >> For greater control over app versions I put all the ones I use in my >> Dock and launch them explicitly from there. > I?m sure you?re not alone there. I have six versions of LC in my dock that > I use for different projects and for testing. I have many more than that > in my Applications folder. > > Terry... > > > I have 13 versions along the 'dock' on my Ubuntu Studio machine, all with differently coloured icons, as I develop my language tools with 4.5 and my educational in-house stuff with anything Open Source. And several versions of MetaCard. I have every version (dp, rc, gm, stable) since the first Open Source release installed as I am just too lazy to take the time to remove anything. SO, I NEVER double-click on a .rev, .mc or .livecode file as that would be like playing Russian roulette. Richmond. From lan.kc.macmail at gmail.com Wed Nov 12 01:30:09 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 12 Nov 2014 14:30:09 +0800 Subject: New SQLite binary option In-Reply-To: References: Message-ID: On Wed, Nov 12, 2014 at 9:41 AM, Peter Haworth wrote: > revExecuteSQL gDBID,,"*btData" > Have you tried "tData" without the *b ? I thought the *b was the 'old' way of gettting binary data in SQLite. From jacque at hyperactivesw.com Wed Nov 12 02:15:26 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Nov 2014 01:15:26 -0600 Subject: hair-pulling frustration In-Reply-To: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> Message-ID: <5463090E.3050504@hyperactivesw.com> On 11/11/2014, 7:24 PM, Richard Gaskin wrote: > The second one ('98) was one that could benefit from others here who've > used the debugger more than I have (Jacque, that means you ). I'm > not sure if it's a bug or merely needs more explanation in the docs. For reference: http://quality.runrev.com/show_bug.cgi?id=13998 I added a comment there. It is quite possible (and convenient!) to add a breakpoint while debugging, I do it all the time. But I have never right-clicked, I always just left-click normally on a line number and it works. I just tested it again in 7.0.1 rc 1 and it still works here. The next bug (13999) mentions a popup that should appear when right-clicking a line number. I don't see one in 6.x either, and I'm not sure I remember ever seeing it, though it vaguely rings a bell. That said, right-clicking on an existing and active breakpoint *does* put up the expected popup, the one that gives you debugging options. So I don't see any problems here. I don't know if the removal of the line-number popup was intentional or even if I'm remembering it correctly. I may be thinking of the popup that appears in the Breakpoints pane when you right-click. That one still works in 7.0. The last bug (13999) mentions a greyed-out breakpoint and a lack of responsiveness in the script editor. A breakpoint will be grey if its script has been edited but not recompiled yet. Since saving a stack will also save any uncompiled scripts, the grey breakpoint and a confused editor will persist across relaunches. An unresponsive IDE was mentioned. The editor and the IDE can both become "frozen" if you are debugging and you try to do something else without exiting debug mode. Not only can you not type into the editor, which is to be expected, but most of your stack and even the IDE won't respond either (though the message box still works, and the app browser.) Almost everything else just stops and you are in a state of suspension while the engine waits for debugging to finish. The solution is to hit the blue square to stop debugging, or to hit the Run button to execute the rest of the handler, and everything picks up again. I've never seen the IDE freeze up outside of that situation. We used to get questions in the support queue about that. People didn't realize they were still in debug mode. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Nov 12 02:27:38 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Nov 2014 01:27:38 -0600 Subject: hair-pulling frustration In-Reply-To: References: <0393a05e6d12226693807f5a30894075@fourthworld.com> Message-ID: <54630BEA.1020702@hyperactivesw.com> On 11/11/2014, 11:46 PM, Terry Judd wrote: >> For greater control over app versions I put all the ones I use in my >> Dock and launch them explicitly from there. > > I?m sure you?re not alone there. I have six versions of LC in my dock that > I use for different projects and for testing. I have many more than that > in my Applications folder. I've only got four in the dock and maybe a dozen in Applications. Have you seen screenshots of the RR team's dock? They must have twenty in there. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Nov 12 02:29:54 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Nov 2014 01:29:54 -0600 Subject: hair-pulling frustration In-Reply-To: <5463090E.3050504@hyperactivesw.com> References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> <5463090E.3050504@hyperactivesw.com> Message-ID: <54630C72.1040001@hyperactivesw.com> On 11/12/2014, 1:15 AM, J. Landman Gay wrote: > That said, right-clicking on an existing and active breakpoint *does* > put up the expected popup, the one that gives you debugging options. So > I don't see any problems here. I take that back, I didn't test far enough. The popup appears and the dialog is put up, but clicking OK after entering a line number does nothing. So yeah, this is a bug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Wed Nov 12 05:03:44 2014 From: livfoss at mac.com (Graham Samuel) Date: Wed, 12 Nov 2014 10:03:44 +0000 Subject: Keyboard Shortcuts in Menus In-Reply-To: References: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> Message-ID: <098C4156-4E1E-4072-987F-2AEDF4A0B030@mac.com> Hi - I?ve searched recent activity on the list but I haven?t been able to find any reference to this issue apart from my own input, and in the QCC all I can see is a specific reference to a fault in the ?Quit? command in the IDE. Can someone please point me at a more comprehensive description of anything already written on this issue? I must have missed it. TIA Graham > On 11 Nov 2014, at 16:01, Dr. Hawkins wrote: > > On Tue, Nov 11, 2014 at 7:32 AM, Graham Samuel wrote: > >> Can anyone explain what is going on behind the scenes? > > > Keep in mind that even built-in keyboard commands are generally not > functioning correctly in the current 7.0.1 (RC1) > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.hausser at unil.ch Wed Nov 12 05:13:42 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Wed, 12 Nov 2014 11:13:42 +0100 Subject: Keyboard Shortcuts in Menus In-Reply-To: <098C4156-4E1E-4072-987F-2AEDF4A0B030@mac.com> References: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> <098C4156-4E1E-4072-987F-2AEDF4A0B030@mac.com> Message-ID: Hi Graham, see bug 13836 (fixed - avaiting built) and the discussion there. Jacques > Le 12 nov. 2014 ? 11:03, Graham Samuel a ?crit : > > Hi - I?ve searched recent activity on the list but I haven?t been able to find any reference to this issue apart from my own input, and in the QCC all I can see is a specific reference to a fault in the ?Quit? command in the IDE. Can someone please point me at a more comprehensive description of anything already written on this issue? I must have missed it. > > TIA > > Graham > >> On 11 Nov 2014, at 16:01, Dr. Hawkins wrote: >> >> On Tue, Nov 11, 2014 at 7:32 AM, Graham Samuel wrote: >> >>> Can anyone explain what is going on behind the scenes? >> >> >> Keep in mind that even built-in keyboard commands are generally not >> functioning correctly in the current 7.0.1 (RC1) >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ben at runrev.com Wed Nov 12 08:59:45 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 12 Nov 2014 13:59:45 +0000 Subject: RELEASE LiveCode 6.7.1 RC2 Message-ID: Dear List Members, We're pleased to announce the release of LiveCode 6.7.1 RC2. This is a maintenance release focusing on bug fixes and refinement. *Release Contents* This release contains 27 bug fixes. Most notable are the issues relating to menus and shortcuts which have now been resolved on Mac OS. For a full list of the bugs fixed in this release please see the release notes: http://downloads.livecode.com/livecode/6_7_1/LiveCodeNotes-6_7_1_rc_2.pdf *Getting the Release* To get the release please select "check for updates" from the "help" menu in the product or download the installer directly at: http://downloads.livecode.com *Feeding Back* If you encounter any issues while working with the release please help us by creating a report in our quality control center at: http://quality.runrev.com/ Warm regards, The LiveCode Team From livfoss at mac.com Wed Nov 12 09:13:15 2014 From: livfoss at mac.com (Graham Samuel) Date: Wed, 12 Nov 2014 14:13:15 +0000 Subject: Keyboard Shortcuts in Menus In-Reply-To: References: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> <098C4156-4E1E-4072-987F-2AEDF4A0B030@mac.com> Message-ID: Thanks - I see that 6.7.1 is addressing these issues, but I need them on LC7 because I?m dipping my toe into Unicode. I?m hoping it?s only a day or so away? Graham > On 12 Nov 2014, at 10:13, Jacques Hausser wrote: > > Hi Graham, > > see bug 13836 (fixed - avaiting built) and the discussion there. > > Jacques > >> Le 12 nov. 2014 ? 11:03, Graham Samuel a ?crit : >> >> Hi - I?ve searched recent activity on the list but I haven?t been able to find any reference to this issue apart from my own input, and in the QCC all I can see is a specific reference to a fault in the ?Quit? command in the IDE. Can someone please point me at a more comprehensive description of anything already written on this issue? I must have missed it. >> >> TIA >> >> Graham >> >>> On 11 Nov 2014, at 16:01, Dr. Hawkins wrote: >>> >>> On Tue, Nov 11, 2014 at 7:32 AM, Graham Samuel wrote: >>> >>>> Can anyone explain what is going on behind the scenes? >>> >>> >>> Keep in mind that even built-in keyboard commands are generally not >>> functioning correctly in the current 7.0.1 (RC1) >>> >>> >>> -- >>> Dr. Richard E. Hawkins, Esq. >>> (702) 508-8462 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Nov 12 09:22:05 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Nov 2014 15:22:05 +0100 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <54636D0D.50102@economy-x-talk.com> I agree. I have always felt that RunRev should occasionally hire one or two people for beta-testing. They could test new releases before they are labelled pre-release. This would cost only a little money and safe hundreds, if not thousands of people lots of frustrations. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 11/11/2014 20:25, Dr. Hawkins wrote: > I can't help but wonder what it would take to get runrev to follow normal > practice and actually get something to alpha level before calling it a > "developer preview", beta by a "release candidate" (ok, that still wouldn't > be normal), and working rather than early beta before release. > > If I sold something at these stages, I'd be out of business by sundown. > > Do the developers even pretend to use the IDE before slapping "release > candidate" on it? Do they even have some kind of test suite? > > The sheer number of pieces of working code that have broken when going from > 5.5 to 7.0 is beyond belief, as is the giant step backward in the IDE. > > I used to have to kill livecode frequently for the phantom "shadow > variable" problem. While that happens more often under 6 (which is why I > could never use it) and 7, I now usually have to kill the whole thing > before that happens, as I can't get it to set a breakpoint, or even > acknowedge that I've clicked anything, delays of several seconds, and so > forth. > > In addition to the others I've mentioned here an in other recent posts, the > recompile of sqlite is not quite compatible with the old, and behaves > differently. For example, a semicolon at the end of an entry without > begin/end transaction now causes a parsing error. > > Moving forward is one thing, but the only near release grade version is > 5.x, which itself isn't quite ready for primetime. > > OK, I'll stop venting, but the amount of time I'm losing to bugs that never > should have seen a public preview is getting increasingly frustrating. > From m.schonewille at economy-x-talk.com Wed Nov 12 09:25:21 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 12 Nov 2014 15:25:21 +0100 Subject: hair-pulling frustration In-Reply-To: <54628569.6050501@hyperactivesw.com> References: <546269CE.80708@fourthworld.com> <54627E49.20205@gmail.com> <54628569.6050501@hyperactivesw.com> Message-ID: <54636DD1.6010203@economy-x-talk.com> Jacque, I teach a class for free and if one student doesn't understand one word, I spend some extra time with that student to make sure he or she understands it. If I didn't do this, I would lose the students one by one and in the end I'd be the only one understanding the lesson. So, I guess it means I slow down until every student understands all words. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 11/11/2014 22:53, J. Landman Gay wrote: > On 11/11/2014, 3:23 PM, Richmond wrote: >> Several times I have stated that in my opinion RunRev are being swept >> along into a sort of feature bloat which prevents them >> from sorting out little 'niggles' in existing features. I se no reason >> to change that opinion. > > Suppose while teaching English, you were not paid by the time you put > in, but rather by the number of students who learn each word. If you > teach 10 students and they all learn the word, you get paid for 10 words. > > If one student does not learn the word, then you must go back and > re-teach it until the student understands it. You don't get paid for > "his" word until that happens. > > If 9 of your students learn the word but one does not, would you stop > introducing new words in class until the one student understands it? Or > would you re-teach that student on your own time? Or would you just > postpone it for a while because it affects only one person? > > Suppose 6 students don't understand the word. In that case you would > probably decide to re-teach it during class time because so many > students are affected. The four remaining students would be idle until > that is done and may feel you are depriving them of a full education. > > Suppose 3 students don't understand it. Where would you draw the line? > Remember, you get paid by the word. > From dochawk at gmail.com Wed Nov 12 10:07:22 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 12 Nov 2014 07:07:22 -0800 Subject: hair-pulling frustration In-Reply-To: <5463090E.3050504@hyperactivesw.com> References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> <5463090E.3050504@hyperactivesw.com> Message-ID: On Tue, Nov 11, 2014 at 11:15 PM, J. Landman Gay wrote: > An unresponsive IDE was mentioned. The editor and the IDE can both become > "frozen" if you are debugging and you try to do something else without > exiting debug mode. Not only can you not type into the editor, which is to > be expected, but most of your stack and even the IDE won't respond either > (though the message box still works, and the app browser.) Almost > everything else just stops and you are in a state of suspension while the > engine waits for debugging to finish. The solution is to hit the blue > square to stop debugging, or to hit the Run button to execute the rest of > the handler, and everything picks up again. I've never seen the IDE freeze > up outside of that situation. > What works, however, is far more limited than in 5.5. The freezes I see include while editing or scrolling, when it freezes for 2-5 seconds before accepting clicks or keys, and just plain locking up *after* exiting debugging and refusing evermore to make any changes, requiring a restart of livecode. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Wed Nov 12 10:09:19 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Nov 2014 17:09:19 +0200 Subject: hair-pulling frustration In-Reply-To: <54636DD1.6010203@economy-x-talk.com> References: <546269CE.80708@fourthworld.com> <54627E49.20205@gmail.com> <54628569.6050501@hyperactivesw.com> <54636DD1.6010203@economy-x-talk.com> Message-ID: <5463781F.2070409@gmail.com> On 11/12/2014 04:25 PM, Mark Schonewille wrote: > Jacque, > > I teach a class for free and if one student doesn't understand one > word, I spend some extra time with that student to make sure he or she > understands it. If I didn't do this, I would lose the students one by > one and in the end I'd be the only one understanding the lesson. So, I > guess it means I slow down until every student understands all words. I have parents who ask me how long it will take me to get through a textbook, and I always tell them I don't know . . . because pupils are all different and one must work at the rate that is best for the slowest. Richmond. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 11/11/2014 22:53, J. Landman Gay wrote: >> On 11/11/2014, 3:23 PM, Richmond wrote: >>> Several times I have stated that in my opinion RunRev are being swept >>> along into a sort of feature bloat which prevents them >>> from sorting out little 'niggles' in existing features. I se no reason >>> to change that opinion. >> >> Suppose while teaching English, you were not paid by the time you put >> in, but rather by the number of students who learn each word. If you >> teach 10 students and they all learn the word, you get paid for 10 >> words. >> >> If one student does not learn the word, then you must go back and >> re-teach it until the student understands it. You don't get paid for >> "his" word until that happens. >> >> If 9 of your students learn the word but one does not, would you stop >> introducing new words in class until the one student understands it? Or >> would you re-teach that student on your own time? Or would you just >> postpone it for a while because it affects only one person? >> >> Suppose 6 students don't understand the word. In that case you would >> probably decide to re-teach it during class time because so many >> students are affected. The four remaining students would be idle until >> that is done and may feel you are depriving them of a full education. >> >> Suppose 3 students don't understand it. Where would you draw the line? >> Remember, you get paid by the word. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Wed Nov 12 10:29:06 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 12 Nov 2014 07:29:06 -0800 Subject: revExecuteSQL Security In-Reply-To: References: Message-ID: Does anyone know what is going on in the background of LiveCode's revExecuteSQL command (and related commands: revOpenDatabase revDataFromQuery, etc)? Are there any security features available? Is it safe to use these calls (read and write) to a server-side database in a commercially released app? Or, is it just really intended for local databases? Thanks! -Dan From bobsneidar at iotecdigital.com Wed Nov 12 11:35:37 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Nov 2014 16:35:37 +0000 Subject: BBEdit Language Module for LiveCode In-Reply-To: <1415723098763-4685671.post@n4.nabble.com> References: <5461233B.3070603@hindu.org> <1415723098763-4685671.post@n4.nabble.com> Message-ID: <3B178FCE-7697-4B90-9194-21BEDE700ADB@iotecdigital.com> I am uncertain how this helps me code in Livecode. Am I missing something? I downloaded TextMate and the bundles and installed the bundles, but I do not see anything for Livecode. Is this just for RevIgniter? Bob S On Nov 11, 2014, at 08:24 , Martin Koob > wrote: Ralf Bitter who makes revIgniter has a bundle for the TextMate editor. http://revigniter.com/accessory Martin From pete at lcsql.com Wed Nov 12 11:47:07 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Nov 2014 08:47:07 -0800 Subject: New SQLite binary option In-Reply-To: References: Message-ID: Thanks Kay. I reported this as a bug but turns out to be a misunderstanding on the use of revDatabaseColumnNamed. Courtesy of Mark Waddingham, it turns out that if you are getting binary data from the cursor, you need to use the form of revDatabaseColumnNamed that includes the destination variable in the call, eg: get revDatabaseColumnNamed(tCursor,"BlobColumn","tData") The form "put revDatabaseColumnNamed.... into tData because the transfer into tData stops at the first NULL character. That is mentioned in the dictionary so my bad for not checking first. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Nov 11, 2014 at 10:30 PM, Kay C Lan wrote: > On Wed, Nov 12, 2014 at 9:41 AM, Peter Haworth wrote: > > > revExecuteSQL gDBID,,"*btData" > > > > Have you tried "tData" without the *b ? > > I thought the *b was the 'old' way of gettting binary data in SQLite. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Nov 12 11:50:51 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Nov 2014 08:50:51 -0800 Subject: revExecuteSQL Security In-Reply-To: References: Message-ID: Hi Dan, For any calls that access a remote database, you should use the form that includes ":1", ":2", etc in the SQL statement and variable name(s) to supply the values for those placeholders. That protects against SQL injection attacks and also removes the need to escape quote characters in your data. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Nov 12, 2014 at 7:29 AM, Dan Friedman wrote: > Does anyone know what is going on in the background of LiveCode's > revExecuteSQL command (and related commands: revOpenDatabase > revDataFromQuery, etc)? Are there any security features available? Is it > safe to use these calls (read and write) to a server-side database in a > commercially released app? Or, is it just really intended for local > databases? > > Thanks! > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Wed Nov 12 11:57:06 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Nov 2014 16:57:06 +0000 Subject: test In-Reply-To: <54624E2C.7020401@fourthworld.com> References: <54624E2C.7020401@fourthworld.com> Message-ID: <17C4B84C-7C60-452C-8775-FBC26ADEC265@iotecdigital.com> Sorry I didn?t get this. :-P Bob S > On Nov 11, 2014, at 09:58 , Richard Gaskin wrote: > > No posts here since last night; unusual, so just making sure the system isn't down. > From ben at runrev.com Wed Nov 12 11:57:46 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 12 Nov 2014 16:57:46 +0000 Subject: RELEASE LiveCode 7.0.1 RC2 Message-ID: Dear List Members, We're pleased to announce the release of LiveCode 7.0.1 RC2. This is a maintenance release focusing on bug fixes and refinement. *Release Contents* This release contains 49 bug fixes. Most notable are the issues relating to menus and shortcuts which have now been resolved on Mac OS. For a full list of the bugs fixed in this release please see the release notes: http://downloads.livecode.com/livecode/7_0_1/LiveCodeNotes-7_0_1_rc_2.pdf *Getting the Release* To get the release please select "check for updates" from the "help" menu in the product or download the installer directly at: http://downloads.livecode.com *Feeding Back* If you encounter any issues while working with the release please help us by creating a report in our quality control center at: http://quality.runrev.com/ Warm regards, The LiveCode Team -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From brami.serge at gmail.com Wed Nov 12 12:12:56 2014 From: brami.serge at gmail.com (Serge Brami) Date: Wed, 12 Nov 2014 18:12:56 +0100 Subject: sound recording 6.7 and 7.0 Message-ID: <383EA673-D287-47FB-A102-DC2E2024E169@gmail.com> since LC6.7 all my scripts using record sound doesnt work any more I work on a mac pro and yosemite i have tried setting the dontuseqt prop to false but it is the same recording is impossible if i go back to lc 6..6 everything is ok recording sound is a main key of my app so for me it is a big problem any idea ? From bobsneidar at iotecdigital.com Wed Nov 12 12:38:42 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Nov 2014 17:38:42 +0000 Subject: Keyboard Shortcuts in Menus In-Reply-To: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> References: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> Message-ID: Looks like, from playing with the Menu Builder that whatever key the & precedes will be the hotkey in Windows. Of course, it needs to be unique for that menu button. If that is not working (by holding the Alt button and typing the key) then that is probably some kind of bug, unless you have keydown or keyup handlers that might intercept the keypresses. The character that the / precedes is the OS X shortcut. I find the menu builder quite good now. Initially back in Revolution 2.x it caused me a lot of problems. It could under certain circumstances corrupt the menu and make it unusable, but now I find it very reliable. Bob S > On Nov 11, 2014, at 07:32 , Graham Samuel wrote: > > I'm using LC 7.0.1. Looking at both the LC User Guide and the Dictionary, I find that I don?t exactly understand the way you put keyboard shortcuts into menus and get them to activate, especially on Windows. I note for example: > > 1. The ?&? character is always present in a menu item which is also intended to work as a keyboard shortcut, but it isn?t always at the beginning of the menu?s text. Is there are reason for this, or is it just wilful eccentricity on the part of the Menu Builder? > > 2. In a cross platform app, I use a script at startup to switch the last item of my 'File' menu from the Mac?s ?Quit? text > > &Quit/Q > > to the Windows equivalent > > &Exit/x > > This looks OK on the menu item display, but I don't think this works, even though the standard shortcuts (Cut, Copy, Paste) work in the 'Edit' menu, and they don't look any different in form. Naturally I may just have made a silly mistake, but so far I can't see what it is. > > Can anyone explain what is going on behind the scenes? > > BTW, I don't especially care for the Menu Builder, but it seems that the LC documentation assumes one is going to use it - maybe that's why the documentation is a bit sketchy. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Nov 12 12:43:13 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Nov 2014 17:43:13 +0000 Subject: Keyboard Shortcuts in Menus In-Reply-To: References: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> <098C4156-4E1E-4072-987F-2AEDF4A0B030@mac.com> Message-ID: I vill check out the link vich you posted to see vhat you speak of. :-) Bob S On Nov 12, 2014, at 02:13 , Jacques Hausser > wrote: Hi Graham, see bug 13836 (fixed - avaiting built) and the discussion there. Jacques From bobsneidar at iotecdigital.com Wed Nov 12 12:50:23 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Nov 2014 17:50:23 +0000 Subject: hair-pulling frustration In-Reply-To: References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> <5463090E.3050504@hyperactivesw.com> Message-ID: Let me just say that for some folks who do not have enough time to report bugs, they certainly have found an abundance of time to post their frustrations to this list! Just sayin?. Bob S From bobsneidar at iotecdigital.com Wed Nov 12 12:51:49 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Nov 2014 17:51:49 +0000 Subject: revExecuteSQL Security In-Reply-To: References: Message-ID: Use encryption when setting up your database connection. Bob S > On Nov 12, 2014, at 07:29 , Dan Friedman wrote: > > Does anyone know what is going on in the background of LiveCode's revExecuteSQL command (and related commands: revOpenDatabase revDataFromQuery, etc)? Are there any security features available? Is it safe to use these calls (read and write) to a server-side database in a commercially released app? Or, is it just really intended for local databases? > > Thanks! > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Nov 12 13:49:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Nov 2014 20:49:16 +0200 Subject: hair-pulling frustration In-Reply-To: References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> <5463090E.3050504@hyperactivesw.com> Message-ID: <5463ABAC.5070507@gmail.com> On 12/11/14 19:50, Bob Sneidar wrote: > Let me just say that for some folks who do not have enough time to report bugs, they certainly have found an abundance of time to post their frustrations to this list! Just sayin?. > > Bob S > > > _______________________________________________ > Ooo! Bi*chy :) The point that came out of this discussion is that the LiveCode 'Community' are dividing into two camps: 1. The Open Source, willing-to-pitch-in-and-help brigade, who pay for their LiveCode by contributing, bug-hunting and so forth. 2. The Commercial, I-pay-and-I-expect quality brigade, who do not want to have to worry their pretty little heads about bugs. The latter group have just as much right to complain about bugs as the former one. Richmond. From pete at lcsql.com Wed Nov 12 14:22:56 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Nov 2014 11:22:56 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: On Tue, Nov 11, 2014 at 3:13 PM, Dr. Hawkins wrote: > "SELECT * FROM sometable;" worked before the change with SQLite. Now, it > is necessary to remove the semicolon. > I just tried this using LC 5.5.4 (prior to the SQLite library change) and LC 6.6.2 (after the SQLite library change), with and without the semicolon and all tests worked fine. You mentioned a "parsing error" - did you mean an LC compile error or an SQLite error? Either way, what was the error? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Wed Nov 12 14:37:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 12 Nov 2014 11:37:10 -0800 Subject: hair-pulling frustration In-Reply-To: <5463ABAC.5070507@gmail.com> References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> <5463090E.3050504@hyperactivesw.com> <5463ABAC.5070507@gmail.com> Message-ID: Can't quite agree with that simplistic analysis. There are many Commercial users who test the dp and rc releases, especially if they contain fixes for bugs they reported. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Nov 12, 2014 at 10:49 AM, Richmond wrote: > On 12/11/14 19:50, Bob Sneidar wrote: > >> Let me just say that for some folks who do not have enough time to report >> bugs, they certainly have found an abundance of time to post their >> frustrations to this list! Just sayin?. >> >> Bob S >> >> >> _______________________________________________ >> >> > Ooo! Bi*chy :) > > The point that came out of this discussion is that the LiveCode > 'Community' are dividing into two camps: > > 1. The Open Source, willing-to-pitch-in-and-help brigade, who pay for > their LiveCode by contributing, bug-hunting and so forth. > > 2. The Commercial, I-pay-and-I-expect quality brigade, who do not want to > have to worry their pretty little heads about bugs. > > The latter group have just as much right to complain about bugs as the > former one. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Wed Nov 12 15:40:53 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 12 Nov 2014 20:40:53 +0000 Subject: sound recording 6.7 and 7.0 In-Reply-To: <383EA673-D287-47FB-A102-DC2E2024E169@gmail.com> References: <383EA673-D287-47FB-A102-DC2E2024E169@gmail.com> Message-ID: <6F3E5296-8BC6-4A56-8A8B-81D33226BC6E@byu.edu> On Nov 12, 2014, at 10:12 AM, Serge Brami wrote: > since LC6.7 all my scripts using record sound doesnt work any more > I work on a mac pro and yosemite > > i have tried setting the dontuseqt prop to false but it is the same recording is impossible > if i go back to lc 6..6 everything is ok > > recording sound is a main key of my app so for me it is a big problem > > any idea ? It works for me on Mavericks with LC 6.7.1. I wonder if it is a Yosemite problem? Does QuickTime still come installed with Yosemite? Devin Devin Asay Office of Digital Humanities Brigham Young University From gcanyon at gmail.com Wed Nov 12 18:31:07 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 12 Nov 2014 17:31:07 -0600 Subject: hair-pulling frustration In-Reply-To: References: <64a83fae58c973e119baecf00e19afa1@fourthworld.com> <5463090E.3050504@hyperactivesw.com> Message-ID: On Wed, Nov 12, 2014 at 11:50 AM, Bob Sneidar wrote: > Let me just say that for some folks who do not have enough time to report > bugs, they certainly have found an abundance of time to post their > frustrations to this list! Just sayin?. It takes far less time to send an email than it does to file a bug. This has gotten better with the new bug entry interface -- not sure when that went in. From ambassador at fourthworld.com Wed Nov 12 19:35:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Nov 2014 16:35:27 -0800 Subject: hair-pulling frustration Message-ID: Geoff Canyon wrote: > It takes far less time to send an email than it does to file a bug. If you just want to type, the difference is negligible. If you want to actually see the bug fixed, the ROI for filing a bug report is much higher. ;) -- Richard Gaskin LiveCode Community Manager richard at livecode.org From gbojsza at gmail.com Wed Nov 12 21:28:18 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 12 Nov 2014 21:28:18 -0500 Subject: Datagrid : showing a row by auto scrolling Message-ID: I guess the title is hard to describe what I am trying to do. Assume a user makes a selection by selecting a choice in a drop down list. Based on the selection the associated line in the datagrid is located. But the datagrid has 100+ lines and only shows 12 lines at a time unless scrolled and the associated line (in this example it is line number 37). I would like the datagrid to show line number 37 in the visible rows at row 6... in other words it looks like the datagrid was scrolled down to line 37 (keeping the order of the rows the same). The datagrid doesn't have to visibly scroll just show the selected row (37) at the position of the 6th row in the visible table with the rows on either side of it. I understand if you have questions about this question :-) regards, Glen From mwieder at ahsoftware.net Wed Nov 12 23:18:29 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 12 Nov 2014 20:18:29 -0800 Subject: revExecuteSQL Security In-Reply-To: References: Message-ID: <27128727518.20141112201829@ahsoftware.net> Dan- Wednesday, November 12, 2014, 7:29:06 AM, you wrote: > Is it safe to use these calls (read and write) to a server-side > database in a commercially released app? No. > Or, is it just really intended for local databases? That's more the case. Any database worth talking about will deliberately make you go out of your way to shoot yourself in the foot. The more correct way to do this is to have a service running on the server that acts as a secure buffer between the database and the outside world. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From francois.chaplais at mines-paristech.fr Wed Nov 12 23:50:01 2014 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 13 Nov 2014 05:50:01 +0100 Subject: externals for mac Message-ID: <0BEA3AB1-30F1-4EC5-993C-22561FEFD531@mines-paristech.fr> I repost this forum post which has no answer at this time: I am interested in building externals for the mac. Since the switch to a more cocoa friendly version of livecode, has the externals SDK been updated (I mean desktop, not iOS)? I specifically need 64 bit support for scientific computations, and I would like to use the accelerate framework, which is optimized for multicore processors. In short, mac externals are still carbon or can they use cocoa? Does anyone care about desktop externals anymore? Best regards, Fran?ois From monte at sweattechnologies.com Wed Nov 12 23:58:37 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 13 Nov 2014 15:58:37 +1100 Subject: externals for mac In-Reply-To: <0BEA3AB1-30F1-4EC5-993C-22561FEFD531@mines-paristech.fr> References: <0BEA3AB1-30F1-4EC5-993C-22561FEFD531@mines-paristech.fr> Message-ID: <5FC013D9-C95B-40E1-8A34-C2B486659AE0@sweattechnologies.com> On 13 Nov 2014, at 3:50 pm, Fran?ois Chaplais wrote: > I repost this forum post which has no answer at this time: > > I am interested in building externals for the mac. Since the switch to a more cocoa friendly version of livecode, has the externals SDK been updated (I mean desktop, not iOS)? I specifically need 64 bit support for scientific computations, and I would like to use the accelerate framework, which is optimized for multicore processors. > > In short, mac externals are still carbon or can they use cocoa? > Does anyone care about desktop externals anymore? I cross compile a number of my externals for iOS and OS X. I nearly did my mapkit external the other day until I realised that Apple only released a 64 bit version of the framework. Once LiveCode goes 64 bit on OS X which should be soon I can get it out. Use the iOS SDK then add a bundle target to the project. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From francois.chaplais at mines-paristech.fr Thu Nov 13 00:00:40 2014 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 13 Nov 2014 06:00:40 +0100 Subject: externals for mac In-Reply-To: <5FC013D9-C95B-40E1-8A34-C2B486659AE0@sweattechnologies.com> References: <0BEA3AB1-30F1-4EC5-993C-22561FEFD531@mines-paristech.fr> <5FC013D9-C95B-40E1-8A34-C2B486659AE0@sweattechnologies.com> Message-ID: Thanks Monte. I cross my fingers. Le 13 nov. 2014 ? 05:58, Monte Goulding a ?crit : > > On 13 Nov 2014, at 3:50 pm, Fran?ois Chaplais wrote: > >> I repost this forum post which has no answer at this time: >> >> I am interested in building externals for the mac. Since the switch to a more cocoa friendly version of livecode, has the externals SDK been updated (I mean desktop, not iOS)? I specifically need 64 bit support for scientific computations, and I would like to use the accelerate framework, which is optimized for multicore processors. >> >> In short, mac externals are still carbon or can they use cocoa? >> Does anyone care about desktop externals anymore? > > > I cross compile a number of my externals for iOS and OS X. I nearly did my mapkit external the other day until I realised that Apple only released a 64 bit version of the framework. Once LiveCode goes 64 bit on OS X which should be soon I can get it out. > > Use the iOS SDK then add a bundle target to the project. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brami.serge at gmail.com Thu Nov 13 01:04:43 2014 From: brami.serge at gmail.com (Serge .Brami) Date: Thu, 13 Nov 2014 07:04:43 +0100 Subject: sound recording 6.7 and 7.0 In-Reply-To: <6F3E5296-8BC6-4A56-8A8B-81D33226BC6E@byu.edu> References: <383EA673-D287-47FB-A102-DC2E2024E169@gmail.com> <6F3E5296-8BC6-4A56-8A8B-81D33226BC6E@byu.edu> Message-ID: <4F6FA7A5-BC26-4FD2-8A51-1497FB921A86@gmail.com> yes QT still come with yosemite I hope LC is working on the problem any feed back of them ?? > Le 12 nov. 2014 ? 21:40, Devin Asay a ?crit : > > > On Nov 12, 2014, at 10:12 AM, Serge Brami wrote: > >> since LC6.7 all my scripts using record sound doesnt work any more >> I work on a mac pro and yosemite >> >> i have tried setting the dontuseqt prop to false but it is the same recording is impossible >> if i go back to lc 6..6 everything is ok >> >> recording sound is a main key of my app so for me it is a big problem >> >> any idea ? > > It works for me on Mavericks with LC 6.7.1. I wonder if it is a Yosemite problem? Does QuickTime still come installed with Yosemite? > > Devin > > > Devin Asay > Office of Digital Humanities > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Thu Nov 13 02:50:02 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 13 Nov 2014 01:50:02 -0600 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: Any positive value is higher than zero, so sure. I'm just expressing frustration about barriers to reporting bugs. For example, a login is required to file a bug, and the bug submission form all but requires an example stack. I understand the desire to get clear, actionable bug reports, and I understand the need to not waste limited team resources on bad bug reports, but if the requirements are causing Jacque to fail to report a bug, that's a huge issue. On Wed, Nov 12, 2014 at 6:35 PM, Richard Gaskin wrote: > Geoff Canyon wrote: > > It takes far less time to send an email than it does to file a bug. >> > > If you just want to type, the difference is negligible. > > If you want to actually see the bug fixed, the ROI for filing a bug report > is much higher. ;) > > -- > Richard Gaskin > LiveCode Community Manager > richard at livecode.org > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Nov 13 02:59:01 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 13 Nov 2014 09:59:01 +0200 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <546464C5.3070409@gmail.com> WINE has an interesting release model: https://www.winehq.org/ Every 2 weeks, dead on time, they release another beta version, and whenever (and 'whenever' can mean anything between 2 weeks to 2 years) they release a stable version. The beta versions are labelled like this: 1.7.1, 1.7.2 and so on. The stable releases always have an even number in second place, so 1.6, 1.8 etc. They advise anybody except for nutty fruitcakes like myself to stick with the stable releases and explicitly state that they accept NO responsibility for anything the beta versions may do. Richmond. From admin at FlexibleLearning.com Thu Nov 13 03:00:25 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Thu, 13 Nov 2014 08:00:25 -0000 Subject: Datagrid : showing a row by auto scrolling Message-ID: <000e01cfff17$e2d05af0$a87110d0$@FlexibleLearning.com> I would do this manually by setting the vScroll based on (LineNumber * effective textHeight) - (6 *effective LineHeight)... on setScroll pLineNumber put the effective textHeight of fld 1 into tLineHeight set the hilitedLines of fld "Family" to pLineNumber set the scroll of fld 1 to (pLineNumber * tLineHeight) - (6 * tLineHeight) end setScroll Hugh Senior FLCo Glen Bojsza wrote: I guess the title is hard to describe what I am trying to do. Assume a user makes a selection by selecting a choice in a drop down list. Based on the selection the associated line in the datagrid is located. But the datagrid has 100+ lines and only shows 12 lines at a time unless scrolled and the associated line (in this example it is line number 37). I would like the datagrid to show line number 37 in the visible rows at row 6... in other words it looks like the datagrid was scrolled down to line 37 (keeping the order of the rows the same). The datagrid doesn't have to visibly scroll just show the selected row (37) at the position of the 6th row in the visible table with the rows on either side of it. I understand if you have questions about this question :-) regards, Glen From admin at FlexibleLearning.com Thu Nov 13 03:13:35 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Thu, 13 Nov 2014 08:13:35 -0000 Subject: hair-pulling frustration Message-ID: <000f01cfff19$b9f12e50$2dd38af0$@FlexibleLearning.com> If this were a realistic option, Edinburgh would have permanent testing staff. The language, syntax and interaction permutations are simply too vast for any automated testing whether by machine or human. As Richard G says, ensure your own software is robust with each new version and log any issues. The cumulative effect covers as much as is feasible. If you find a problem, log it don't hog it. Hugh Senior FLCo -- I agree. I have always felt that RunRev should occasionally hire one or two people for beta-testing. They could test new releases before they are labelled pre-release. This would cost only a little money and safe hundreds, if not thousands of people lots of frustrations. -- Best regards, Mark Schonewille From m.schonewille at economy-x-talk.com Thu Nov 13 03:27:56 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 13 Nov 2014 09:27:56 +0100 Subject: hair-pulling frustration In-Reply-To: <000f01cfff19$b9f12e50$2dd38af0$@FlexibleLearning.com> References: <000f01cfff19$b9f12e50$2dd38af0$@FlexibleLearning.com> Message-ID: <54646B8C.6040903@economy-x-talk.com> Really, why wouldn't it be realistic to pay a bunch of students for a few hours of beta-testing (or should I say alpha-testing) some time in a development cycle? I'm sure they could detect the bugs that every other developer would detect right-away, but without frustrating those developers because the people paid by RunRev have sorted them out already! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 11/13/2014 09:13, FlexibleLearning.com wrote: > If this were a realistic option, Edinburgh would have permanent testing > staff. The language, syntax and interaction permutations are simply too vast > for any automated testing whether by machine or human. As Richard G says, > ensure your own software is robust with each new version and log any issues. > The cumulative effect covers as much as is feasible. > > If you find a problem, log it don't hog it. > > Hugh Senior > FLCo > > > -- > I agree. I have always felt that RunRev should occasionally hire one or two > people for beta-testing. They could test new releases before they are > labelled pre-release. This would cost only a little money and safe hundreds, > if not thousands of people lots of frustrations. > > -- > Best regards, > > Mark Schonewille > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Thu Nov 13 03:43:01 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 13 Nov 2014 03:43:01 -0500 Subject: Datagrid : showing a row by auto scrolling In-Reply-To: <000e01cfff17$e2d05af0$a87110d0$@FlexibleLearning.com> References: <000e01cfff17$e2d05af0$a87110d0$@FlexibleLearning.com> Message-ID: Yes, this will do the trick...thanks. On Thu, Nov 13, 2014 at 3:00 AM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > I would do this manually by setting the vScroll based on (LineNumber * > effective textHeight) - (6 *effective LineHeight)... > > on setScroll pLineNumber > put the effective textHeight of fld 1 into tLineHeight > set the hilitedLines of fld "Family" to pLineNumber > set the scroll of fld 1 to (pLineNumber * tLineHeight) - (6 * > tLineHeight) > end setScroll > > Hugh Senior > FLCo > > > > Glen Bojsza wrote: > > I guess the title is hard to describe what I am trying to do. > > Assume a user makes a selection by selecting a choice in a drop down list. > > Based on the selection the associated line in the datagrid is located. > > But the datagrid has 100+ lines and only shows 12 lines at a time unless > scrolled and the associated line (in this example it is line number 37). > > I would like the datagrid to show line number 37 in the visible rows at row > 6... in other words it looks like the datagrid was scrolled down to line 37 > (keeping the order of the rows the same). > > The datagrid doesn't have to visibly scroll just show the selected row (37) > at the position of the 6th row in the visible table with the rows on either > side of it. > > I understand if you have questions about this question :-) > > regards, > > Glen > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From eric.miclo at wanadoo.fr Thu Nov 13 04:00:30 2014 From: eric.miclo at wanadoo.fr (=?utf-8?Q?=C3=89ric_Miclo?=) Date: Thu, 13 Nov 2014 11:00:30 +0200 Subject: hair-pulling frustration In-Reply-To: <54646B8C.6040903@economy-x-talk.com> References: <000f01cfff19$b9f12e50$2dd38af0$@FlexibleLearning.com> <54646B8C.6040903@economy-x-talk.com> Message-ID: <4EF9F2A4-3A60-4944-81FC-03E49CC0AC9B@wanadoo.fr> Hello, I do agree that more testing (non automatic testing) should be made before releasing a commercial product. But I?m not sure RunRev will listen. When the CEO says: "I really would urge everyone in our community to move to 7 as soon as possible. We spent 18 months building it and considering the amount of change its getting very good results stability wise. There are issues but they are mostly minor." When minor bugs are so many, I don?t consider it is minor to test and fix before releasing a commercial product. And by fixing I mean test if the fix really fixes the bug so it doesn?t have to be reopened immediately. It is not the amount of time spent on a product that is an indicator of quality. My 2 cents. Best, ?rIC -- My NeXT computer will Be a Mac too! -- > Le 13 nov. 2014 ? 10:27, Mark Schonewille a ?crit : > > Really, why wouldn't it be realistic to pay a bunch of students for a few hours of beta-testing (or should I say alpha-testing) some time in a development cycle? I'm sure they could detect the bugs that every other developer would detect right-away, but without frustrating those developers because the people paid by RunRev have sorted them out already! > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 11/13/2014 09:13, FlexibleLearning.com wrote: >> If this were a realistic option, Edinburgh would have permanent testing >> staff. The language, syntax and interaction permutations are simply too vast >> for any automated testing whether by machine or human. As Richard G says, >> ensure your own software is robust with each new version and log any issues. >> The cumulative effect covers as much as is feasible. >> >> If you find a problem, log it don't hog it. >> >> Hugh Senior >> FLCo >> >> >> -- >> I agree. I have always felt that RunRev should occasionally hire one or two >> people for beta-testing. They could test new releases before they are >> labelled pre-release. This would cost only a little money and safe hundreds, >> if not thousands of people lots of frustrations. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Nov 13 04:40:14 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 13 Nov 2014 10:40:14 +0100 Subject: hair-pulling frustration In-Reply-To: <4EF9F2A4-3A60-4944-81FC-03E49CC0AC9B@wanadoo.fr> References: <000f01cfff19$b9f12e50$2dd38af0$@FlexibleLearning.com> <54646B8C.6040903@economy-x-talk.com> <4EF9F2A4-3A60-4944-81FC-03E49CC0AC9B@wanadoo.fr> Message-ID: <54647C7E.4010601@economy-x-talk.com> I'll give you 2 cents for that, ?ric. I also don't think that RunRev will listen. Yet, I think a company should not rely on its user base for testing. A company can't blame its user base for not testing, if something appears not to work, but a user base can blame the company for delivering broken software. Therefore, it would be wise to listen. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 11/13/2014 10:00, ?ric Miclo wrote: > Hello, > > I do agree that more testing (non automatic testing) should be made before releasing a commercial product. > But I?m not sure RunRev will listen. > > When the CEO says: > "I really would urge everyone in our community to move to 7 as soon as possible. We spent 18 months building it and considering the amount of change its getting very good results stability wise. There are issues but they are mostly minor." > > When minor bugs are so many, I don?t consider it is minor to test and fix before releasing a commercial product. > And by fixing I mean test if the fix really fixes the bug so it doesn?t have to be reopened immediately. > It is not the amount of time spent on a product that is an indicator of quality. > > My 2 cents. > > Best, > > ?rIC > From sean at pidigital.co.uk Thu Nov 13 05:34:08 2014 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 13 Nov 2014 10:34:08 +0000 Subject: sound recording 6.7 and 7.0 In-Reply-To: <4F6FA7A5-BC26-4FD2-8A51-1497FB921A86@gmail.com> References: <383EA673-D287-47FB-A102-DC2E2024E169@gmail.com> <6F3E5296-8BC6-4A56-8A8B-81D33226BC6E@byu.edu> <4F6FA7A5-BC26-4FD2-8A51-1497FB921A86@gmail.com> Message-ID: Have you filed a report on Bugzilla? Sean Cole Pi Digital -- This message was sent from an iPhone, probably because I'm out and about. Always contactable. Well, most of the time :/ > On 13 Nov 2014, at 06:04, Serge .Brami wrote: > > yes QT still come with yosemite > I hope LC is working on the problem > any feed back of them ?? >> Le 12 nov. 2014 ? 21:40, Devin Asay a ?crit : >> >> >>> On Nov 12, 2014, at 10:12 AM, Serge Brami wrote: >>> >>> since LC6.7 all my scripts using record sound doesnt work any more >>> I work on a mac pro and yosemite >>> >>> i have tried setting the dontuseqt prop to false but it is the same recording is impossible >>> if i go back to lc 6..6 everything is ok >>> >>> recording sound is a main key of my app so for me it is a big problem >>> >>> any idea ? >> >> It works for me on Mavericks with LC 6.7.1. I wonder if it is a Yosemite problem? Does QuickTime still come installed with Yosemite? >> >> Devin >> >> >> Devin Asay >> Office of Digital Humanities >> Brigham Young University >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Nov 13 09:39:08 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Nov 2014 06:39:08 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <5464C28C.7000401@fourthworld.com> Geoff Canyon wrote: > I'm just expressing frustration about barriers to reporting bugs. > For example, a login is required to file a bug... ...as it is for this list, which the bug system is being compared to. Just about any publicly-accessible venue that displays user-generated content will either require some form of authentication, or be overrun to the point of uselessness by spambots. Like this list and the forums, the account setup for RunRev's Bugzilla DB is just a one-time thing. And like the forums, you can choose to have it remember your login, so from that moment forward you'll never need to log in again. > ...and the bug submission form all but requires an example stack. "But" seems the key word there, because while it can sometimes be useful to submit an example stack it isn't a requirement. Most of the reports there have no attachments at all, even those submitted by RunRev staff themselves. All that's truly needed is any description of the issue clear enough to allow it to be reproduced by the maintainers. Like nearly all bug reporting systems they suggest a step-by-step recipe, but sometimes that's not needed. Many submissions are just a single line, like "Run this in the Message Box: ". In some cases, like the report Dr. Hawkins referred to that Peter had submitted about breakpoints, the issue may elude a reliable recipe. In that report many from both the community and RunRev have worked toward arriving at a repeatable recipe, yet even now there appears to be some disagreement as to whether the recipes there actually work. But even in those cases, Ben, Kevin and others at RunRev have encouraged us to go ahead and submit the issue anyway. Just include the best info you have, and the core team and the community can continue to add notes there as they work toward an actionable diagnosis. When a recipe is truly elusive, that's when this list and the forums become very valuable: By describing the issue among peers, we can solicit feedback from others who may have experienced what we're seeing, or something similar enough to be relevant, and together we can work toward an actionable description of the problem. > I understand the desire to get clear, actionable bug reports, > and I understand the need to not waste limited team resources > on bad bug reports, but if the requirements are causing Jacque > to fail to report a bug, that's a huge issue. In this comparison between posting bugs to this user-to-user discussion list vs. putting them into the bug DB where they can be acted on, I don't think Jacque's comment applies. After all, it's not like she choose to take the time to report it here either. All she noted was that sometimes when she's under a heavy deadline to ship something with the version she has, she doesn't take the time to submit a bug report at all, either here or in the bug DB. I noted in reply to her post that I often to do the same, as we all do when we're busy. None of us is obliged to submit bug reports. We can choose to submit them when a bug impacts our work to the point that it benefits us to see it resolved. Or not. It's entirely voluntary. Looking forward.... As you noted the current version of the Bugzilla implementation RunRev has is much improved over earlier versions, and there may be ways it could be streamlined further still. Many years ago one of our community members, Ken Ray, made a nifty plugin stack to submit and review Bugzilla posts from within the IDE. It's long since outdated and he's been too busy with other commitments to maintain it, and like myself and others, he's found the Web implementation usable enough that it hasn't been an impediment for him. But if going to the Web page is holding folks back from submitting a bug, I'm sure Ken would grant permission for anyone with sufficient time and interest to rewrite his stack to work with the current bug DB. It's available as "Revzilla", the first link on this page: If there's interest I'd be happy to contact him to get explicit permission for such a revision. That's just one option. There may be others. What other things might we consider to make filing bug reports into the bug DB significantly more efficient than filing them here in this user-to-user list? -- Richard Gaskin LiveCode Community Manager richard at livecode.org From jbv at souslelogo.com Thu Nov 13 09:42:22 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 13 Nov 2014 16:42:22 +0200 Subject: externals and QR code Message-ID: <4e56bc59af8877a3beec4bcd3c715875.squirrel@185.8.104.234> Hi list Could anyone be kind enough to recommend an external for an app built with LC for smartphones & tablets (both iOS and Android) to read QR codes ? Thanks in advance jbv From sean at pidigital.co.uk Thu Nov 13 09:53:34 2014 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 13 Nov 2014 14:53:34 +0000 Subject: externals and QR code In-Reply-To: <4e56bc59af8877a3beec4bcd3c715875.squirrel@185.8.104.234> References: <4e56bc59af8877a3beec4bcd3c715875.squirrel@185.8.104.234> Message-ID: <362EA616-4F8A-4908-8792-B33CF5974D33@pidigital.co.uk> Mergext has an excellent set of externals one of which is a qr reader. It is very good and I used it recently for an event that used qr codes to register bids by attendees. It's incredibly fast, especially on autofocus devices. Sean Cole Pi Digital -- This message was sent from an iPhone, probably because I'm out and about. Always contactable. Well, most of the time :/ > On 13 Nov 2014, at 14:42, jbv at souslelogo.com wrote: > > Hi list > Could anyone be kind enough to recommend an external > for an app built with LC for smartphones & tablets (both > iOS and Android) to read QR codes ? > > Thanks in advance > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Nov 13 09:54:42 2014 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Nov 2014 14:54:42 +0000 Subject: Keyboard Shortcuts in Menus In-Reply-To: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> References: <294907B7-47D3-43A6-8BA1-28DF973366CD@mac.com> Message-ID: Just to say, of course I can't use 'x' as a keyboard shortcut in a 'File' menu, since there is nearly always an 'Edit' menu in the same toolbar which uses 'X' for 'Cut'. In the whole toolbar, all keyboard shortcuts must of course be distinct, and are presumably not case sensitive. That was my silly mistake. I made it because PC programs often have an underlined 'x' in the 'Exit' menu item: this is not a keyboard shortcut but some other PC-only thing which sadly I don't understand. Graham > On 11 Nov 2014, at 15:32, Graham Samuel I wrote: > > I'm using LC 7.0.1. Looking at both the LC User Guide and the Dictionary, I find that I don?t exactly understand the way you put keyboard shortcuts into menus and get them to activate, especially on Windows. I note for example: > > 1. The ?&? character is always present in a menu item which is also intended to work as a keyboard shortcut, but it isn?t always at the beginning of the menu?s text. Is there are reason for this, or is it just wilful eccentricity on the part of the Menu Builder? > > 2. In a cross platform app, I use a script at startup to switch the last item of my 'File' menu from the Mac?s ?Quit? text > > &Quit/Q > > to the Windows equivalent > > &Exit/x > > This looks OK on the menu item display, but I don't think this works, even though the standard shortcuts (Cut, Copy, Paste) work in the 'Edit' menu, and they don't look any different in form. Naturally I may just have made a silly mistake, but so far I can't see what it is. > > Can anyone explain what is going on behind the scenes? > > BTW, I don't especially care for the Menu Builder, but it seems that the LC documentation assumes one is going to use it - maybe that's why the documentation is a bit sketchy. > > TIA > > Graham From ambassador at fourthworld.com Thu Nov 13 10:29:44 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Nov 2014 07:29:44 -0800 Subject: Keyboard Shortcuts in Menus In-Reply-To: References: Message-ID: <5464CE68.6030709@fourthworld.com> Graham Samuel wrote: > In the whole toolbar, all keyboard shortcuts must of course be > distinct, and are presumably not case sensitive. That was my silly > mistake. I made it because PC programs often have an underlined 'x' > in the 'Exit' menu item: this is not a keyboard shortcut but some > other PC-only thing which sadly I don't understand. There are two sets of keyboard shortcuts on Windows and some Linux systems: Control+ is widely used these days on most OSes, and is the only shortcut method used on Mac (though of course on Mac we call it the "Command key" or "Apple key"). This most commonly allows one key combination to invoke an action, so once learned it's usually the one people use. Alt+ is a multi-step way to invoke menu commands, in which the first Alt combo drops down the menu which has the corresponding underline, and once dropped items within the menu can be triggered using Alt+ the underlined letter marked in that item. The Alt key combos predate the now-nearly-universal adoption of Control key combos, and among new users aren't used as often. But because an underlined letter need only be unique within a single menu, you'll find some devs who still like that multi-step method because it allows shortcuts to be added with less risk of conflicting with another menu's shortcuts. And some users like them because they don't require memorization: everything needed is visibly apparent in first the menu title itself, and then by having the menu made visible you can see the items directly. One glitch in LiveCode: Since XP forward, Microsoft has tastefully chosen to show the underlined characters only when the Alt key is down. After all, they're only useful when the Alt key is pressed, and the rest of the time this change makes for a much cleaner appearance. I've submitted an enhancement request to adopt this more modern convention in LC's menu bar: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sean at pidigital.co.uk Thu Nov 13 10:46:17 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 13 Nov 2014 15:46:17 +0000 Subject: hair-pulling frustration In-Reply-To: <5464C28C.7000401@fourthworld.com> References: <5464C28C.7000401@fourthworld.com> Message-ID: HI Richard, I have a suggestion for this, having just read the entire thread. I too find it hard at times to get the time to even write here let alone fill out a report on Bugzilla. And then to go through the process of creating a recipe or sample stack. The reason for this is obvious, that like many others here we are too busy actually making products (or trying to) for our paying clients to set deadlines (often unreasonable, mostly due to their ongoing misconception to the time it takes to make software despite attempts to help them appreciate or understand it). The Bugzilla form is, I'm sure you'd agree, far more involved than writing an email. And I in turn appreciate that protocols need to be in place to avoid spammers, etc. How about this approach (which is nothing new - Apple use a similar system and I personally have had much success with it). In the LiveCode app itself (both Commercial and Community) in the Help menu should be a button to submit a report. This can either take you to a basic form on the web or internally in the app itself (a better option to keep down spam). This goes through to a private list that only those on the RunRev development team can read. This form should be far simpler than that found on Bugzilla, i.e., Name, email, symptoms noticed, option to upload stack. If it was included in the IDE then it would automatically gather data like the platform, version number, etc. The team member that picks it up can then decide if it is worth adding to Bugzilla, adding the submitters email to the list and requesting more info via the Bugzilla repository if needed. Psychologically this works in favour of the end user. They would be more likely to provide feedback willingly if the thought that it was easy and involved far less steps. You could even have a button on the form to provide more details that could log you right into your Bugzilla account in a one step process filling in any data you'd already provided and those acquired from the system. I have a bug (Bug 13801 ) I reported a little while back that, because I had no time because of my clients demands on my time, has been marked as 'Resolved' due to my not responding to their request for a sample stack. When my time is a little more free'd up (i.e., not now, despite my ability to write this email - proof that what you said earlier was bumpkin and unfair - emails are easier to write than are sample stacks that can replicate issues along with recipes.) I will be able to reopen the report and prove that it is indeed an issue that needs resolving. Here are some more reasons I find using Bugzilla so frustrating (infuriating at times). The search feature (a term I use lightly) is appalling. Loading it (bearing in mind I have a 150MB internet line) takes over 10 seconds to load. Every. Single. Time. That. I. Want. To. Do. A. New. Search!! So, trying to track down if someone else has already done one is laborious. If i enter my search in the bar at the top of the page it only returns new and pending results. So resolved ones are not shown. But that is not made clear in the search bar. So then you have to go to the advanced search which is not clear on how to access (at the top we have buttons for Home, New & Search then a Search Button after the search dialogue - Is that clear?). When I add a comment to a bug and click the 'save changes' button it saves but then takes me to the next bug in the list. As an alternative I can write a rant on here with far more satisfaction and far less time wasted ;) Simple is best, my favourite philosophy. A simple form in the IDE that gets submitted for review and/or follow up. Far more likely to get results. All the best On 13 November 2014 14:39, Richard Gaskin wrote: > > I'm just expressing frustration about barriers to reporting bugs. > > For example, a login is required to file a bug... > > ...as it is for this list, which the bug system is being compared to. > > Just about any publicly-accessible venue that displays user-generated > content will either require some form of authentication, or be overrun to > the point of uselessness by spambots. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 From mkoob at rogers.com Thu Nov 13 10:42:55 2014 From: mkoob at rogers.com (Martin Koob) Date: Thu, 13 Nov 2014 07:42:55 -0800 (PST) Subject: Datagrid : showing a row by auto scrolling In-Reply-To: References: <000e01cfff17$e2d05af0$a87110d0$@FlexibleLearning.com> Message-ID: <1415893375261-4685776.post@n4.nabble.com> If you are scrolling the datagrid you can use one of these two commands ScrollIndexIntoView - ScrollIndexIntoView pIndex - Scrolls the data grid so that the line associated with pIndex in the internal data array is in view. ScrollLineIntoView - ScrollLineIntoView pLine - Scrolls the data grid so that pLine is in view. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-showing-a-row-by-auto-scrolling-tp4685755p4685776.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Nov 13 11:22:30 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Nov 2014 08:22:30 -0800 Subject: hair-pulling frustration In-Reply-To: <4EF9F2A4-3A60-4944-81FC-03E49CC0AC9B@wanadoo.fr> References: <4EF9F2A4-3A60-4944-81FC-03E49CC0AC9B@wanadoo.fr> Message-ID: <5464DAC6.9060701@fourthworld.com> ?ric Miclo wrote: > I do agree that more testing (non automatic testing) should be made > before releasing a commercial product. > But I?m not sure RunRev will listen. > > When the CEO says: > "I really would urge everyone in our community to move to 7 as > soon as possible. We spent 18 months building it and considering > the amount of change its getting very good results stability wise. > There are issues but they are mostly minor." > > When minor bugs are so many, I don?t consider it is minor to test > and fix before releasing a commercial product. > And by fixing I mean test if the fix really fixes the bug so it > doesn?t have to be reopened immediately. > It is not the amount of time spent on a product that is an indicator > of quality. > > My 2 cents. > > Best, > > ?rIC > > -- My NeXT computer will Be a Mac too! -- Re/Code recently posted the full video of their interview with Apple VP Greg Joswiak, discussing iOS 8.0.1 bugs among other things: iOS 8.0.1 was sent out in response to critical bugs in v8.0, and it turned out that the fix itself required fixing, as 8.0.1 wound up bricking some user's phones. In the video the interviewer raises the larger question of overall QA, and we're all familiar with recent issues there from iMaps forward. Watching the video, I don't feel Joswiak's obvious pride in Apple is at all misplaced. Sure, there have been many issues, sometimes critical ones, in both iOS and OS X in recent years, and this may seem surprising given the wealth of resources Apple has at their disposal which would seem more than sufficient to prevent such things. Software is complex stuff. I don't think it was a mistake for Tim Cook to suggest we upgrade our Apple devices to the latest software version which later bricked some phones, and I don't think it was a mistake for Kevin to suggest that we use the latest version of his company's software. Obviously, with the benefit of hindsight, both CEOs were mistaken about the fitness of the final deliverable, and both companies have devoted considerable resources to addressing the issues once they became evident. I'd wager that Apple has now added additional QA review steps to prevent the specific issues that affected iOS 8.0.1, and I'd wager RunRev has done the same with the issues evident in 7.0. Late-stage regressions are especially troubling for all of us. developers and users alike, because in the late stages it's especially hard to detect such things as might have happened during earlier Beta periods. When unpredictable events occurs late-stage it becomes more likely that a software will be delivered that makes standalones unable to quit, or bricks people's phones. I wouldn't assume that either Apple or RunRev spends nothing on internal testing. On the contrary, as a percentage of payroll I'd be surprised if RunRev's costs for that weren't a multiple of Apple's. I volunteered for this role of Community Manager because LiveCode is very important to my own business interests and those of my clients. Part of this role is to advocate for community concerns, and I agree that QA is critical. We *all* want to see QA improved, ever more so going forward. The folks at RunRev have more at stake in this than most of us. Those of us who read the bug DB regularly have a good appreciation for the level of engagement the core team has in the QA process. That v7.0 shipped with show-stoppers is annoying to all of us, and exploring ways to improve the QA process is the focus of my meeting with Ben later today. Sean's suggestion of including a reporting item in the Help menu is a very good one, and I'll be sure to raise it at the meeting. Any other specific actionable items like that are very welcome, and can help us all refine the process of making complex software ever more robust. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From brami.serge at gmail.com Thu Nov 13 11:37:58 2014 From: brami.serge at gmail.com (Serge Brami) Date: Thu, 13 Nov 2014 17:37:58 +0100 Subject: sound recording 6.7 and 7.0 In-Reply-To: References: <383EA673-D287-47FB-A102-DC2E2024E169@gmail.com> <6F3E5296-8BC6-4A56-8A8B-81D33226BC6E@byu.edu> <4F6FA7A5-BC26-4FD2-8A51-1497FB921A86@gmail.com> Message-ID: <293B1E01-8A2D-49F5-B5AD-87505527EF28@gmail.com> NO i think or hope Than reporting here Will be sufficient Just want someone from the staff to Tell me if it is a bug and when it Will be fixed Email par IPhone de Dr Serge BRAMI > Le 13 nov. 2014 ? 11:34, Pi Digital a ?crit : > > Have you filed a report on Bugzilla? > > Sean Cole > Pi Digital > > -- > This message was sent from an iPhone, probably because I'm out and about. Always contactable. Well, most of the time :/ > > >> On 13 Nov 2014, at 06:04, Serge .Brami wrote: >> >> yes QT still come with yosemite >> I hope LC is working on the problem >> any feed back of them ?? >>> Le 12 nov. 2014 ? 21:40, Devin Asay a ?crit : >>> >>> >>>> On Nov 12, 2014, at 10:12 AM, Serge Brami wrote: >>>> >>>> since LC6.7 all my scripts using record sound doesnt work any more >>>> I work on a mac pro and yosemite >>>> >>>> i have tried setting the dontuseqt prop to false but it is the same recording is impossible >>>> if i go back to lc 6..6 everything is ok >>>> >>>> recording sound is a main key of my app so for me it is a big problem >>>> >>>> any idea ? >>> >>> It works for me on Mavericks with LC 6.7.1. I wonder if it is a Yosemite problem? Does QuickTime still come installed with Yosemite? >>> >>> Devin >>> >>> >>> Devin Asay >>> Office of Digital Humanities >>> Brigham Young University >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Thu Nov 13 11:46:29 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 13 Nov 2014 16:46:29 +0000 Subject: sound recording 6.7 and 7.0 In-Reply-To: <293B1E01-8A2D-49F5-B5AD-87505527EF28@gmail.com> References: <383EA673-D287-47FB-A102-DC2E2024E169@gmail.com> <6F3E5296-8BC6-4A56-8A8B-81D33226BC6E@byu.edu> <4F6FA7A5-BC26-4FD2-8A51-1497FB921A86@gmail.com> <293B1E01-8A2D-49F5-B5AD-87505527EF28@gmail.com> Message-ID: Don't rely on Staff reading this forum (or any forum for that matter). They might do, but only if they are not under any pressure or have the inclination or see something interesting. If I were you Serge I would take the leap to go on to quality.livecode.com and fill out a report. If it is being worked on or already fixed then they will let you know. It is by far the easiest way to get in touch with the RunRev development team. Here definitely is not. All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 13 November 2014 16:37, Serge Brami wrote: > NO i think or hope Than reporting here Will be sufficient > Just want someone from the staff to Tell me if it is a bug and when it > Will be fixed > > Email par IPhone de > Dr Serge BRAMI > > > > Le 13 nov. 2014 ? 11:34, Pi Digital a ?crit : > > > > Have you filed a report on Bugzilla? > > > > Sean Cole > > Pi Digital > > > > -- > > This message was sent from an iPhone, probably because I'm out and > about. Always contactable. Well, most of the time :/ > > > > > >> On 13 Nov 2014, at 06:04, Serge .Brami wrote: > >> > >> yes QT still come with yosemite > >> I hope LC is working on the problem > >> any feed back of them ?? > >>> Le 12 nov. 2014 ? 21:40, Devin Asay a ?crit : > >>> > >>> > >>>> On Nov 12, 2014, at 10:12 AM, Serge Brami > wrote: > >>>> > >>>> since LC6.7 all my scripts using record sound doesnt work any more > >>>> I work on a mac pro and yosemite > >>>> > >>>> i have tried setting the dontuseqt prop to false but it is the same > recording is impossible > >>>> if i go back to lc 6..6 everything is ok > >>>> > >>>> recording sound is a main key of my app so for me it is a big problem > >>>> > >>>> any idea ? > >>> > >>> It works for me on Mavericks with LC 6.7.1. I wonder if it is a > Yosemite problem? Does QuickTime still come installed with Yosemite? > >>> > >>> Devin > >>> > >>> > >>> Devin Asay > >>> Office of Digital Humanities > >>> Brigham Young University > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Nov 13 11:47:38 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Nov 2014 08:47:38 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <5464E0AA.8040004@fourthworld.com> Sean Cole wrote: > I have a suggestion for this, having just read the entire thread. > > How about this approach (which is nothing new - Apple use a similar > system and I personally have had much success with it). In the > LiveCode app itself (both Commercial and Community) in the Help menu > should be a button to submit a report. This can either take you to a > basic form on the web or internally in the app itself (a better > option to keep down spam). That's an excellent suggestion - I'll pursue that with Ben later this morning. > I have a bug (Bug 13801 ) I > reported a little while back that, because I had no time because of > my clients demands on my time, has been marked as 'Resolved' due to > my not responding to their request for a sample stack. When my time > is a little more free'd up (i.e., not now, despite my ability to > write this email - proof that what you said earlier was bumpkin and > unfair - emails are easier to write than are sample stacks that can > replicate issues along with recipes.) I will be able to reopen the > report and prove that it is indeed an issue that needs resolving. My apologies if what I wrote seemed unfair. It's statistically accurate to note that an overwhelming majority of issues in the bug DB do not have example stacks attached, and that includes the 1600+ items fixed over the last year. From time to time a given issue may elude a simple recipe, and in those cases it may be beneficial to provide an example stack. It's helpful that you provided the link to the report, as we can see there that while Hanson asked if you had a sample stack he never required it for you to re-open the report if you choose to do so. The one thing he did require is that you please try to see the issue in the latest build, and given the scope of changes between builds lately it's not impossible it may have been addressed while fixing other things. One of the benefits of an open source project having a Community Manager is that you get another whipping post: yours truly. :) I'm happy to advocate any community concern that hasn't been sufficiently addressed through other channels. In this case, however, the only action needed is to verify that the issue remains in the latest version, and to write one sentence there noting if that's the case. I haven't seen this myself, so I'll have to rely on your help on that. As Hanson wrote there, with your notice that the issue remains they'll devote internal resources to trying to reproduce it. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From henshaw at me.com Thu Nov 13 12:20:10 2014 From: henshaw at me.com (Andrew Henshaw) Date: Thu, 13 Nov 2014 17:20:10 +0000 Subject: Could not compile application class In-Reply-To: <5464C28C.7000401@fourthworld.com> References: <5464C28C.7000401@fourthworld.com> Message-ID: <80D089F9-1522-4FB0-9987-F61D9810618E@me.com> Does anyone have any ideas when I get a messagebox with 'Could not compile application class? in it when I try to save an app so I can deploy it on an iPhone, and at the same time I get a another window popping up saying I need Java runtime environment. Its frustrating as its only on one app, everything else works fine but there is nothing special in the app, the build settings are exactly same as another than compiles file, it has no included files, im at a loss. From rdimola at evergreeninfo.net Thu Nov 13 12:45:48 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Nov 2014 12:45:48 -0500 Subject: Could not compile application class In-Reply-To: <80D089F9-1522-4FB0-9987-F61D9810618E@me.com> References: <5464C28C.7000401@fourthworld.com> <80D089F9-1522-4FB0-9987-F61D9810618E@me.com> Message-ID: <000901cfff69$a9431af0$fbc950d0$@net> This is an error I have received for Android builds a couple of times. It is usually caused by an update to the Android SDK. Do you have the Android build checked? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Andrew Henshaw Sent: Thursday, November 13, 2014 12:20 PM To: How to use LiveCode Subject: Could not compile application class Does anyone have any ideas when I get a messagebox with 'Could not compile application class? in it when I try to save an app so I can deploy it on an iPhone, and at the same time I get a another window popping up saying I need Java runtime environment. Its frustrating as its only on one app, everything else works fine but there is nothing special in the app, the build settings are exactly same as another than compiles file, it has no included files, im at a loss. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From neil at livecode.com Thu Nov 13 12:47:10 2014 From: neil at livecode.com (Neil Roger) Date: Thu, 13 Nov 2014 17:47:10 +0000 Subject: Could not compile application class In-Reply-To: <80D089F9-1522-4FB0-9987-F61D9810618E@me.com> References: <5464C28C.7000401@fourthworld.com> <80D089F9-1522-4FB0-9987-F61D9810618E@me.com> Message-ID: <5464EE9E.1060301@livecode.com> Hi Andrew, The could not "compile application class message" will genreally occur when you are trying to build for Android and there is a discrepancy in your Android SDK/Java setup. In your message you mention that you are trying to build for an iPhone so it could be that you have Android checked in your stacks standalone application settings. Kind Regards, Neil Roger -- LiveCode Support Team ~ http://www.livecode.com -- On 13/11/2014 17:20, Andrew Henshaw wrote: > Does anyone have any ideas when I get a messagebox with 'Could not compile application class? in it when I try to save an app so I can deploy it on an iPhone, and at the same time I get a another window popping up saying I need Java runtime environment. > > Its frustrating as its only on one app, everything else works fine but there is nothing special in the app, the build settings are exactly same as another than compiles file, it has no included files, im at a loss. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Nov 13 13:18:51 2014 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Nov 2014 18:18:51 +0000 Subject: Keyboard Shortcuts in Menus In-Reply-To: <5464CE68.6030709@fourthworld.com> References: <5464CE68.6030709@fourthworld.com> Message-ID: Thanks Richard - great explanation as usual! By the way, I am using some Unicode characters in menu items in Windows 7 (actually running on a Mac under Parallels) and sometimes I?ve noticed that they don?t ?stick?, in that one can paste a Unicode character like the square root symbol into a menu item, looks OK in the IDE, but then turns into a ??? at some point. OTOH, sometimes it works. This is (so far) too elusive for a bug report, but I mention it in case anyone else is seeing it (LC 7.0.1 rc-2 on Windows 7). Graham > On 13 Nov 2014, at 15:29, Richard Gaskin wrote: > > Graham Samuel wrote: > > > In the whole toolbar, all keyboard shortcuts must of course be > > distinct, and are presumably not case sensitive. That was my silly > > mistake. I made it because PC programs often have an underlined 'x' > > in the 'Exit' menu item: this is not a keyboard shortcut but some > > other PC-only thing which sadly I don't understand. > > There are two sets of keyboard shortcuts on Windows and some Linux systems: > > Control+ is widely used these days on most OSes, and is the only shortcut method used on Mac (though of course on Mac we call it the "Command key" or "Apple key"). This most commonly allows one key combination to invoke an action, so once learned it's usually the one people use. > > Alt+ is a multi-step way to invoke menu commands, in which the first Alt combo drops down the menu which has the corresponding underline, and once dropped items within the menu can be triggered using Alt+ the underlined letter marked in that item. > > The Alt key combos predate the now-nearly-universal adoption of Control key combos, and among new users aren't used as often. > > But because an underlined letter need only be unique within a single menu, you'll find some devs who still like that multi-step method because it allows shortcuts to be added with less risk of conflicting with another menu's shortcuts. > > And some users like them because they don't require memorization: everything needed is visibly apparent in first the menu title itself, and then by having the menu made visible you can see the items directly. > > One glitch in LiveCode: > > Since XP forward, Microsoft has tastefully chosen to show the underlined characters only when the Alt key is down. After all, they're only useful when the Alt key is pressed, and the rest of the time this change makes for a much cleaner appearance. > > I've submitted an enhancement request to adopt this more modern convention in LC's menu bar: > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Nov 13 13:20:03 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 13 Nov 2014 20:20:03 +0200 Subject: hair-pulling frustration In-Reply-To: <5464DAC6.9060701@fourthworld.com> References: <4EF9F2A4-3A60-4944-81FC-03E49CC0AC9B@wanadoo.fr> <5464DAC6.9060701@fourthworld.com> Message-ID: <5464F653.5000804@gmail.com> On 13/11/14 18:22, Richard Gaskin wrote: > > > Software is complex stuff. > > I don't think it was a mistake for Tim Cook to suggest we upgrade our > Apple devices to the latest software version which later bricked some > phones, and I don't think it was a mistake for Kevin to suggest that > we use the latest version of his company's software. > > > Certainly, slagging off RunRev does nobody any good at all. What might do some good is point out to RunRev that when they released their Open Source version of LiveCode they undertook to be more "touchy-feely" and more responsive to their users . . . and, just possibly, they may be falling short of this. Also, as I mentioned earlier, some of us are raving egomaniacs who aren't going to do anything unless we get our egos tickled as a result; hence my suggestion about T-shirts and so on. One of the more important reasons Communism failed was its refusal to acknowledge that complete, uninterested altruism only exists in fairy stories, and the profit motive is very deeply entrenched in human nature . . . I believe there needs to be: 1. a set list of incentives on offer for bug detection. 2. a strictly defined procedure [a detailed bug-report form online ????] for bug reporting. 3. a regular interval between dp/rc releases so that beta-testers are aware of how much time they have at their disposal to do any testing. As I mentioned earlier, WINE have a rather good way of doing things, and Canonical do with Ubuntu: https://wiki.ubuntu.com/UtopicUnicorn/ReleaseSchedule maybe RunRev could do something like that. Richmond. From richmondmathewson at gmail.com Thu Nov 13 13:37:42 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 13 Nov 2014 20:37:42 +0200 Subject: This'll make you tear your hair out by the roots Message-ID: <5464FA76.3010706@gmail.com> http://www.bbc.com/news/technology-30019976 Microsoft has patched a critical bug in its software that had existed for 19 years. Richmond. From rdimola at evergreeninfo.net Thu Nov 13 13:54:13 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Nov 2014 13:54:13 -0500 Subject: This'll make you tear your hair out by the roots In-Reply-To: <5464FA76.3010706@gmail.com> References: <5464FA76.3010706@gmail.com> Message-ID: <001301cfff73$37d40f00$a77c2d00$@net> Thanks Richmond. +1 on this. I updated all my servers last night(a long night. I'm shot today). I encourage everyone to do the same. I'm checking now to make sure all the workstations were updated also. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Thursday, November 13, 2014 1:38 PM To: use >> How to use LiveCode Subject: This'll make you tear your hair out by the roots http://www.bbc.com/news/technology-30019976 Microsoft has patched a critical bug in its software that had existed for 19 years. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Thu Nov 13 13:59:23 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 10:59:23 -0800 Subject: This'll make you tear your hair out by the roots In-Reply-To: <5464FA76.3010706@gmail.com> References: <5464FA76.3010706@gmail.com> Message-ID: On Thu, Nov 13, 2014 at 10:37 AM, Richmond wrote: > Microsoft has patched a critical bug in its software that had existed for > 19 years. Well, the footnote text placement bug lasted *at least* 15 years. It was there in Word 1.0 (mac) and I had students bringing me printouts exhibiting it in whatever was current during the 1999-2000 academic year. (I forget the exact details, but it was something to the effect of when a calculated footnote would go past the pagebreak, *way* to much whitespace [8 or 9 inches] would get added to the previous line to land the text with the note marker onto the next page. [the correct behavior is actually to split the note, to roll the single line to the next page]) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu Nov 13 14:06:36 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Nov 2014 13:06:36 -0600 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <5465013C.5000808@hyperactivesw.com> On 11/13/2014, 1:50 AM, Geoff Canyon wrote: > if the requirements are causing Jacque to fail to > report a bug, that's a huge issue. Well, to be fair, it doesn't always prevent me from reporting things. If I have time I do create an example stack, especially if my current work can't proceed without a bug fix. But I've also found that if a problem is pretty obvious, about 80% of the time someone else will report it. The failure of the command keys is one example where there were multiple reports without my help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Nov 13 14:09:53 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Nov 2014 13:09:53 -0600 Subject: hair-pulling frustration In-Reply-To: <54646B8C.6040903@economy-x-talk.com> References: <000f01cfff19$b9f12e50$2dd38af0$@FlexibleLearning.com> <54646B8C.6040903@economy-x-talk.com> Message-ID: <54650201.1070408@hyperactivesw.com> On 11/13/2014, 2:27 AM, Mark Schonewille wrote: > Really, why wouldn't it be realistic to pay a bunch of students for a > few hours of beta-testing (or should I say alpha-testing) some time in a > development cycle? There's no way a "few hours" would catch much in a system as complex and large as LiveCode. It wouldn't make a dent. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Thu Nov 13 14:09:56 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 11:09:56 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: On Wed, Nov 12, 2014 at 11:22 AM, Peter Haworth wrote: > On Tue, Nov 11, 2014 at 3:13 PM, Dr. Hawkins wrote: > > > "SELECT * FROM sometable;" worked before the change with SQLite. Now, > it > > is necessary to remove the semicolon. > > > > I just tried this using LC 5.5.4 (prior to the SQLite library change) and > LC 6.6.2 (after the SQLite library change), with and without the semicolon > and all tests worked fine. > > You mentioned a "parsing error" - did you mean an LC compile error or an > SQLite error? Either way, what was the error? > revDataFromQuery(,,17,"SELECT * FROM vader_darth______001_dna;") yields Message execution error: Error description: value: error executing expression Hint: ") While if I leave out the semicolon, it gives me all the data in the table. This from 7.0-RC2 moments ago -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu Nov 13 14:16:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Nov 2014 13:16:27 -0600 Subject: hair-pulling frustration In-Reply-To: <5464F653.5000804@gmail.com> References: <4EF9F2A4-3A60-4944-81FC-03E49CC0AC9B@wanadoo.fr> <5464DAC6.9060701@fourthworld.com> <5464F653.5000804@gmail.com> Message-ID: <5465038B.1040200@hyperactivesw.com> On 11/13/2014, 12:20 PM, Richmond wrote: > I believe there needs to be: > > 1. a set list of incentives on offer for bug detection. I wonder if it would be possible to extend a user's license for a short period after a certain number of verified bug reports has been submitted. For community edition users, perhaps a larger number of verified bugs would allow a week or so of commercial access. I suspect this would be difficult or too time-consuming to implement on RR's end though. But I think it would be a better incentive than a tee shirt and wouldn't cost the company much outside of the time to maintain it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Nov 13 14:17:30 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Nov 2014 13:17:30 -0600 Subject: This'll make you tear your hair out by the roots In-Reply-To: <001301cfff73$37d40f00$a77c2d00$@net> References: <5464FA76.3010706@gmail.com> <001301cfff73$37d40f00$a77c2d00$@net> Message-ID: <546503CA.6060004@hyperactivesw.com> I just read that within 12 hours of the report, Yahoo's servers were hit with this exploit. On 11/13/2014, 12:54 PM, Ralph DiMola wrote: > Thanks Richmond. > > +1 on this. I updated all my servers last night(a long night. I'm shot > today). I encourage everyone to do the same. I'm checking now to make sure > all the workstations were updated also. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Richmond > Sent: Thursday, November 13, 2014 1:38 PM > To: use >> How to use LiveCode > Subject: This'll make you tear your hair out by the roots > > http://www.bbc.com/news/technology-30019976 > > Microsoft has patched a critical bug in its software that had existed for 19 > years. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From neil at livecode.com Thu Nov 13 14:58:46 2014 From: neil at livecode.com (Neil Roger) Date: Thu, 13 Nov 2014 19:58:46 +0000 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: <54650D76.4020504@livecode.com> Hi Richard, I've attempted to replicate the semicolon issue without any success. This could be why we have not come accross it during testing in-house. The script that I tested with is- global gConnectionID on mouseUp global gConnectionID if gConnectionID is not a number then answer error "Please connect to the database first." exit to top end if put "Table1" into tTableName put "SELECT * FROM " & tTableName into tSQL put revDataFromQuery(,,gConnectionID,"SELECT * FROM Table1;") into tData if item 1 of tData = "revdberr" then answer error "There was a problem querying the database:" & cr & tData else put tData into field "Data" end if end mouseUp Both the inclusion and exclusion of the semi-colon return data as expected. If possible, could you supply a stack for me to test with and I will happily look into this further. Kind Regards, Neil Roger -- LiveCode Support Team ~ http://www.livecode.com -- On 13/11/2014 19:09, Dr. Hawkins wrote: > revDataFromQuery(,,17,"SELECT * FROM vader_darth______001_dna;") > yields > Message execution error: > Error description: value: error executing expression > Hint: ") From richmondmathewson at gmail.com Thu Nov 13 15:04:50 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 13 Nov 2014 22:04:50 +0200 Subject: DP, RC, GM, Stable and tree diagrams Message-ID: <54650EE2.1070400@gmail.com> For us bottom-feeders it might be easier to understand why, for instance, 7.0.1 started with RC (release candidates) while 7.0.0 started with DP (developer previews) if RunRev could publish some sort of tree-diagram so we could get a better understanding of the relations and inter-relations between the different versions in ongoing development. Richmond. From pete at lcsql.com Thu Nov 13 15:30:28 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Nov 2014 12:30:28 -0800 Subject: hair-pulling frustration In-Reply-To: References: Message-ID: On Thu, Nov 13, 2014 at 11:09 AM, Dr. Hawkins wrote: > revDataFromQuery(,,17,"SELECT * FROM vader_darth______001_dna;") > yields > Message execution error: > Error description: value: error executing expression > Hint: ") > > While if I leave out the semicolon, it gives me all the data in the table. > > This from 7.0-RC2 moments ago > Thanks for the clarification. SInce this works in 6.6.2 which uses the new SQLite library but not in 7.0rc2, it looks to be a 7.0rc2 bug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From gcanyon at gmail.com Thu Nov 13 15:32:29 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 13 Nov 2014 14:32:29 -0600 Subject: hair-pulling frustration In-Reply-To: <5465013C.5000808@hyperactivesw.com> References: <5465013C.5000808@hyperactivesw.com> Message-ID: On Thu, Nov 13, 2014 at 1:06 PM, J. Landman Gay wrote: > On 11/13/2014, 1:50 AM, Geoff Canyon wrote: > >> if the requirements are causing Jacque to fail to >> report a bug, that's a huge issue. >> > > Well, to be fair, it doesn't always prevent me from reporting things. If I > have time I do create an example stack, especially if my current work can't > proceed without a bug fix. But I've also found that if a problem is pretty > obvious, about 80% of the time someone else will report it. The failure of > the command keys is one example where there were multiple reports without > my help. I didn't mean to imply that the system is preventing you from entering any bugs; I'm saying that given your many years of experience and dedication to the platform if the system prevents you from entering even a single bug, that's bad. From jacque at hyperactivesw.com Thu Nov 13 16:10:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Nov 2014 15:10:23 -0600 Subject: hair-pulling frustration In-Reply-To: References: <5465013C.5000808@hyperactivesw.com> Message-ID: <54651E3F.8070704@hyperactivesw.com> On 11/13/2014, 2:32 PM, Geoff Canyon wrote: > I didn't mean to imply that the system is preventing you from entering any > bugs; I'm saying that given your many years of experience and dedication to > the platform if the system prevents you from entering even a single bug, > that's bad. The thing is, I don't blame the system at all, I think it's my own fault. As a developer, I always need a reproducible recipe to fix bugs, and requiring a stack that provides the recipe is reasonable. I blame myself for the omissions (except when Richard G. forgives me.) :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Thu Nov 13 16:14:39 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Nov 2014 16:14:39 -0500 Subject: hair-pulling frustration In-Reply-To: <54650D76.4020504@livecode.com> References: <54650D76.4020504@livecode.com> Message-ID: <001701cfff86$d5f9c450$81ed4cf0$@net> Neil, With user input and Richard's moderating this thread has started to bear some fruit. After writing HW diagnostics for years I know how challenging is to come with thorough testing scenarios. I don't know what your QC process for databases is but might I suggest using challenging queries. I would be happy to set up a stack to test them along with the DBs. For example: SELECT Table1.*, Table2.*,Table3.* FROM Table1 LEFT JOIN Table2 ON Table1.Designation = Table2.Designation LEFT JOIN Table3 ON Table1.State = Table3.State AND Table1.County = Table3.County WHERE (Table3.Region = 'Foo') or ATTACH DATABASE "Table3.db" AS Table3DB SELECT Table3.*,Table1.* from Table3DB.Table3 JOIN Table1 ON Table3.CourseID = Table1.CourseID JOIN Table2 ON Table2.County = Table1.County AND Table2.State = Table1.State WHERE (Table3.Favorite or Table3.frog <> '') Mr. Haworth and all you other DB gurus out there, what other testing scenarios do think should be included in the RR DB QC process? The way I look at it the more we help RR the more we help ourselves. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Neil Roger Sent: Thursday, November 13, 2014 2:59 PM To: How to use LiveCode Subject: Re: hair-pulling frustration Hi Richard, I've attempted to replicate the semicolon issue without any success. This could be why we have not come accross it during testing in-house. The script that I tested with is- global gConnectionID on mouseUp global gConnectionID if gConnectionID is not a number then answer error "Please connect to the database first." exit to top end if put "Table1" into tTableName put "SELECT * FROM " & tTableName into tSQL put revDataFromQuery(,,gConnectionID,"SELECT * FROM Table1;") into tData if item 1 of tData = "revdberr" then answer error "There was a problem querying the database:" & cr & tData else put tData into field "Data" end if end mouseUp Both the inclusion and exclusion of the semi-colon return data as expected. If possible, could you supply a stack for me to test with and I will happily look into this further. Kind Regards, Neil Roger -- LiveCode Support Team ~ http://www.livecode.com -- On 13/11/2014 19:09, Dr. Hawkins wrote: > revDataFromQuery(,,17,"SELECT * FROM vader_darth______001_dna;") > yields > Message execution error: > Error description: value: error executing expression > Hint: ") _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Nov 13 16:38:35 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Thu, 13 Nov 2014 11:38:35 -1000 Subject: BBEdit Language Module for LiveCode In-Reply-To: <3B178FCE-7697-4B90-9194-21BEDE700ADB@iotecdigital.com> References: <5461233B.3070603@hindu.org> <1415723098763-4685671.post@n4.nabble.com> <3B178FCE-7697-4B90-9194-21BEDE700ADB@iotecdigital.com> Message-ID: <546524DB.90508@hindu.org> Bob Sneidar wrote: > I am uncertain how this helps me code in Livecode. Am I missing something? I downloaded TextMate and the bundles and installed the bundles, but I do not see anything for Livecode. Is this just for RevIgniter? > > Bob S From ambassador at fourthworld.com Thu Nov 13 16:51:35 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Nov 2014 13:51:35 -0800 Subject: DP, RC, GM, Stable and tree diagrams In-Reply-To: <54650EE2.1070400@gmail.com> References: <54650EE2.1070400@gmail.com> Message-ID: <546527E7.9080705@fourthworld.com> Richmond wrote: > For us bottom-feeders it might be easier to understand why, for > instance, 7.0.1 started with RC (release candidates) while 7.0.0 > started with DP (developer previews) Ben added definitions for DP, RC, and Stable at the top of the Downloads page: GM is an older designation RunRev and some others no longer use. Back in the day it used to meam what "Stable" now means; before it in the sequence was often a "Golden Master Candidate" (GMC) which was similar to today's "RC". The definitions provided there help explain why sometimes we see builds of very limited scope go directly to "RC"; they usually contain no new features, and the only changes are limited to a bug fixes of limited scope. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From monte at sweattechnologies.com Thu Nov 13 17:00:31 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 Nov 2014 09:00:31 +1100 Subject: externals and QR code In-Reply-To: <362EA616-4F8A-4908-8792-B33CF5974D33@pidigital.co.uk> References: <4e56bc59af8877a3beec4bcd3c715875.squirrel@185.8.104.234> <362EA616-4F8A-4908-8792-B33CF5974D33@pidigital.co.uk> Message-ID: On 14 Nov 2014, at 1:53 am, Pi Digital wrote: > Mergext has an excellent set of externals one of which is a qr reader. It is very good and I used it recently for an event that used qr codes to register bids by attendees. It's incredibly fast, especially on autofocus devices. Thanks Sean Just so JBV is aware even though mergZXing is listed as iOS only there in Android implementation available as a beta to mergExt Complete customers. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From ambassador at fourthworld.com Thu Nov 13 17:11:44 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Nov 2014 14:11:44 -0800 Subject: hair-pulling frustration In-Reply-To: <5464F653.5000804@gmail.com> References: <5464F653.5000804@gmail.com> Message-ID: <54652CA0.8060804@fourthworld.com> Richmond wrote: > What might do some good is point out to RunRev that when they > released their Open Source version of LiveCode they undertook > to be more "touchy-feely" and more responsive to their users > . . . and, just possibly, they may be falling short of this. Perhaps. What should "touchy-feely" ideally translate to in terms of specific actions? > Also, as I mentioned earlier, some of us are raving egomaniacs who > aren't going to do anything unless we get our egos tickled > as a result; hence my suggestion about T-shirts and so on. That's a good idea. Ego is very important, a key motivator in so many aspects of life. Mention in the About box is a start, but if a t-shirt helps that seems easy enough to do. I'd also like to see a Community Contributors page listing those who've contributed to the project, and Steven at RunRev is keen to add that with some other changes they're making to clean up the site's taxonomy. > As I mentioned earlier, WINE have a rather good way of doing things, > > and Canonical do with Ubuntu: > > https://wiki.ubuntu.com/UtopicUnicorn/ReleaseSchedule > > maybe RunRev could do something like that. You know I loves me some Ubuntu, but I have to acknowledge that their six-month fixed cadence is a highly controversial thing, not least of all within their office. Last I heard they've decided to stick with the six-month cycle, but they've discussed many other models and apparently got close to choosing one of the alternatives a little while ago. A fixed schedule is helpful in some respects, but is also limiting on others. Among other things it requires that work be broken up into six-month blocks (or actually about 4 months, since the first month after release requires planning the work for the next one, and the last month is feature-freeze), and not everything fits into blocks of a fixed size. They do manage to pursue bigger objectives, like Ubuntu Mobile, Mir, and other projects, but if those finish later than mid-way through a cycle they may have to postpone rollout until the next one, losing time that a different model wouldn't require them to. Speaking of: This week is the Ubuntu Online Summit, where v15.04 is being planned. If you want to participate, or even list listen in to learn the process by which Ubuntu is made, the schedule is here: Yesterday I attended the File Manager session and Mark Shuttleworth's keynote. Learned a lot from both. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From alex at tweedly.net Thu Nov 13 17:24:16 2014 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 13 Nov 2014 22:24:16 +0000 Subject: hair-pulling frustration In-Reply-To: <54652CA0.8060804@fourthworld.com> References: <5464F653.5000804@gmail.com> <54652CA0.8060804@fourthworld.com> Message-ID: <54652F90.7020607@tweedly.net> Note to self : I am *not* getting involved in this thread. I am *not* getting involved in this thread. I am *not* getting involved in this thread. I am *not* getting involved in this thread. I do *not* have time to read, never mind get involved in, this thread. :-) OK. Having said that to myself - one small suggestion. It would seem "touchy-feely" for there to be more response on this list from RR. You (Richard) are doing a great job as Community Manager, and responding here. How about you get an email address like richard at runrev.com so that it does feel more like a RR response :-) I suspect this list is mostly us old dinosaurs, and most of the newer users are on the forums, and *we* should all know who you are - but it would maybe help remind us that you have a role within RR and are effectively part of the RR team taking in our input. Regards, -- Alex. On 13/11/2014 22:11, Richard Gaskin wrote: > Richmond wrote: > > > What might do some good is point out to RunRev that when they > > released their Open Source version of LiveCode they undertook > > to be more "touchy-feely" and more responsive to their users > > . . . and, just possibly, they may be falling short of this. > > Perhaps. What should "touchy-feely" ideally translate to in terms of > specific actions? > From dochawk at gmail.com Thu Nov 13 17:41:38 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 14:41:38 -0800 Subject: hair-pulling frustration In-Reply-To: <54650D76.4020504@livecode.com> References: <54650D76.4020504@livecode.com> Message-ID: On Thu, Nov 13, 2014 at 11:58 AM, Neil Roger wrote: > Both the inclusion and exclusion of the semi-colon return data as > expected. If possible, could you supply a stack for me to test with and I > will happily look into this further. I'll see what I can pop together. And now, I am getting an empty return (rather than data or error) when I include the semicolon . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Nov 13 18:19:20 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 15:19:20 -0800 Subject: Time to rename the red dots to "PCD"s Message-ID: For Pirate Code Dots . . . :( This is maddening. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Nov 13 18:30:07 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 15:30:07 -0800 Subject: This'll make you tear your hair out by the roots In-Reply-To: <546503CA.6060004@hyperactivesw.com> References: <5464FA76.3010706@gmail.com> <001301cfff73$37d40f00$a77c2d00$@net> <546503CA.6060004@hyperactivesw.com> Message-ID: On Thu, Nov 13, 2014 at 11:17 AM, J. Landman Gay wrote: > I just read that within 12 hours of the report, Yahoo's servers were hit > with this exploit. My initial reaction is that anyone running windows on a server deserves whatever happens. But I thought that it said that this was a word/excel thing? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richard at livecode.org Thu Nov 13 18:33:32 2014 From: richard at livecode.org (Richard Gaskin) Date: Thu, 13 Nov 2014 15:33:32 -0800 Subject: hair-pulling frustration In-Reply-To: <54652F90.7020607@tweedly.net> References: <54652F90.7020607@tweedly.net> Message-ID: <54653FCC.7090600@livecode.org> Alex Tweedly wrote: > It would seem "touchy-feely" for there to be more response on this list > from RR. I tend to feel the same, but as with so many things it's a balancing act - after all, one of the reasons we want them here is to tell them to go away so they can spend their time fixing bugs. :) We have seen a strong increase in other communications like the newsletters and the blog, and from time to time we see Fraser, Neil, Ben, and once in a while even Kevin here, more so than in years past. Certainly wouldn't hurt to see more of them (though Neil posted here just this morning), but with all they've been doing it's not always easy to get the time for more posts here and in the forums than they make already. > You (Richard) are doing a great job as Community Manager, and responding > here. > How about you get an email address like richard at runrev.com so that it > does feel more like a RR response :-) Two reasons: 1. I'm not an employee of RunRev, and volunteered primarily to support community contributions to the open source project. I feel it's important in a role of community advocacy to be able to speak candidly, and an address at the corporate domain might seem a mixed message. 2. I'm lazy. I do have an address at livecode.org (the community side of things), but simply hadn't taken the time to set up a separate subscription to this list under that address. I get mail there, though, and note it in posts where I'm wearing the CM hat. That said, I took your advice and just set up a subscription from the .org address. If you can read this, it worked. As a practical matter (read, "I still run a business in between these volunteer activities") I may not always remember to change my default address when replying, but I'll continue to try to use my CM sigline where appropriate. > I suspect this list is mostly us old dinosaurs, and most of the newer > users are on the forums, and *we* should all know who you are - but it > would maybe help remind us that you have a role within RR and are > effectively part of the RR team taking in our input. Unless you spend a lot of time hanging out with FOSS geeks, it's not always clear what a Community Manager even is. I didn't really know either until I met Jono Bacon back when he was the Ubuntu Community Manager, and I didn't really understand the scope of the role until I read his book, "The Art of Community". Ubuntu has been a very liberating platform for many of my business activities, both client and server, and the more I learn about how it's made the more it's become clear that it would be very difficult to pull that off if it were solely a corporate effort or solely a community effort. Many such projects really benefit a lot from the partnership between the corporate stewards and a supportive community, accomplishing more together than they could alone. When Kevin announced that LC was going FOSS, he can tell you how annoying I became in my insistence that the project could use a CM to really make the most of this new community focus. After enough times of him reminding me that he needs to keep his staff on engineering and QA, I finally just volunteered for the role as my own contribution to the project. I justify the expense in the same way I donate resources to the Ubuntu project: I run a business dependent on technology, and it benefits the work I do to see the tech I need thrive. In an environment in which most of the current audience spends most of our time making and using proprietary software, there's a lot for all of us to learn about how this collaboration between the business and the community can work to the greatest benefit of our own goals. When I first took on this role we put an outline of some of that into the newsletter: But that's not enough. There's so much to learn and discover. LiveCode is a very big deal, not only in the scope of its code base but in its potential impact on the world. Together I believe we can see a world in which anyone with a computing device can get more out of it by truly mastering it through LiveCode. As we go forward, with good suggestions like Sean's this morning and the others that come along, step by step we'll get there. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From dochawk at gmail.com Thu Nov 13 18:42:22 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 15:42:22 -0800 Subject: itemDel not resetting on entering routines? Message-ID: I've seen this in the past, too. In many of my handlers, I have to set the itemDelimiter explicitly to tab, whereas it is *supposed* to be local to the handler, and be reset on exit. I've seen this in both 5 & 7, although it just bit in a routine that worked in 5 while I'm using 7. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From henshaw at me.com Thu Nov 13 18:52:36 2014 From: henshaw at me.com (Andrew Henshaw) Date: Thu, 13 Nov 2014 23:52:36 +0000 Subject: Could not compile application class In-Reply-To: <5464EE9E.1060301@livecode.com> References: <5464C28C.7000401@fourthworld.com> <80D089F9-1522-4FB0-9987-F61D9810618E@me.com> <5464EE9E.1060301@livecode.com> Message-ID: <7DDBBB50-EBE8-496E-A98D-FA2F2DA63ECC@me.com> Nope, only iPhone checked. I went back to 6.6.5 and it compiled fine, so the error only happens in LC6.7 and LC 7. Odd, hopefully its just a one off and will work itself out somehow, its only happening in one app, everything else compiles fine. Thanks Andy > On 13 Nov 2014, at 17:47, Neil Roger wrote: > > Hi Andrew, > > The could not "compile application class message" will genreally occur when you are trying to build for Android and there is a discrepancy in your Android SDK/Java setup. > > In your message you mention that you are trying to build for an iPhone so it could be that you have Android checked in your stacks standalone application settings. > > Kind Regards, > > Neil Roger > -- > LiveCode Support Team ~ http://www.livecode.com > -- > From dochawk at gmail.com Thu Nov 13 18:53:40 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 15:53:40 -0800 Subject: can't put into field by id? Message-ID: With a sequence like, put the long id of fld (word 1 of myVar) into theFld put "gizmo" into theFld I end up with "gizmo" in the variable theFld, rather than the field it references. Am I doing something wrong, or does this just not work for fields (7.0-RC2) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Thu Nov 13 18:59:09 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Nov 2014 15:59:09 -0800 Subject: can't put into field by id? In-Reply-To: References: Message-ID: <546545CD.8010304@fourthworld.com> Dr. Hawkins wrote: > With a sequence like, > > put the long id of fld (word 1 of myVar) into theFld > put "gizmo" into theFld > > I end up with "gizmo" in the variable theFld, rather than the field it > references. > > Am I doing something wrong, or does this just not work for fields (7.0-RC2) I believe that's consistent with all versions. You could rewrite the code so that the variable portion contains only the short name, e.g.: put "gizmo" into field theFld ...but that's not much fun. It may be simpler to use the property-setting form, in which case the engine will do its best to try to evaluate the value of the variable as an object reference, e.g.: set the text of theFld to "gizmo" -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Thu Nov 13 19:02:25 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 13 Nov 2014 16:02:25 -0800 Subject: can't put into field by id? In-Reply-To: References: Message-ID: By saying this: put "gizmo" into theFld You're telling LiveCode to put "gizmo" into the theFld variable, not into the field you referenced earlier. This is standard behavior. Do this: set the text of theFld to "gizmo" Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Nov 13, 2014, at 3:53 PM, "Dr. Hawkins" wrote: > > With a sequence like, > > put the long id of fld (word 1 of myVar) into theFld > put "gizmo" into theFld > > I end up with "gizmo" in the variable theFld, rather than the field it > references. > > Am I doing something wrong, or does this just not work for fields (7.0-RC2) > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Thu Nov 13 19:05:30 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 16:05:30 -0800 Subject: can't put into field by id? In-Reply-To: <546545CD.8010304@fourthworld.com> References: <546545CD.8010304@fourthworld.com> Message-ID: On Thu, Nov 13, 2014 at 3:59 PM, Richard Gaskin wrote: > You could rewrite the code so that the variable portion contains only the > short name, e.g.: > > put "gizmo" into field theFld > in 7.0 RC21, this yiuelds, "button "scr_output": execution error at line 5814 (Chunk: no such object), char 1 > > It may be simpler to use the property-setting form, in which case the > engine will do its best to try to evaluate the value of the variable as an > object reference, e.g.: > > set the text of theFld to "gizmo" > ahh! thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu Nov 13 19:26:37 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Nov 2014 18:26:37 -0600 Subject: itemDel not resetting on entering routines? In-Reply-To: References: Message-ID: <54654C3D.1070709@hyperactivesw.com> On 11/13/2014, 5:42 PM, Dr. Hawkins wrote: > In many of my handlers, I have to set the itemDelimiter explicitly to tab, > whereas it is*supposed* to be local to the handler, and be reset on exit. I'm not sure I understand. The default delimiter is comma so it's normal to have to reset it to tab as needed in every handler. Can you explain what you're seeing or post an example? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Nov 13 19:32:02 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 13 Nov 2014 16:32:02 -0800 Subject: hair-pulling frustration In-Reply-To: <54650D76.4020504@livecode.com> References: <54650D76.4020504@livecode.com> Message-ID: I just tried it under 7.0 and same result - no problems with or without the semicolon. There must be something else going on in Dr Hawkins code. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 13, 2014 at 11:58 AM, Neil Roger wrote: > Hi Richard, > > I've attempted to replicate the semicolon issue without any success. This > could be why we have not come accross it during testing in-house. The > script that I tested with is- > > global gConnectionID > on mouseUp > global gConnectionID > if gConnectionID is not a number then > answer error "Please connect to the database first." > exit to top > end if > put "Table1" into tTableName > put "SELECT * FROM " & tTableName into tSQL > > put revDataFromQuery(,,gConnectionID,"SELECT * FROM Table1;") into > tData > > if item 1 of tData = "revdberr" then > answer error "There was a problem querying the database:" & cr & > tData > else > put tData into field "Data" > end if > end mouseUp > > > Both the inclusion and exclusion of the semi-colon return data as > expected. If possible, could you supply a stack for me to test with and I > will happily look into this further. > > Kind Regards, > > Neil Roger > -- > LiveCode Support Team ~ http://www.livecode.com > -- > > > > > > > > On 13/11/2014 19:09, Dr. Hawkins wrote: > >> revDataFromQuery(,,17,"SELECT * FROM vader_darth______001_dna;") >> yields >> Message execution error: >> Error description: value: error executing expression >> Hint: ") >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Thu Nov 13 20:27:20 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 17:27:20 -0800 Subject: itemDel not resetting on entering routines? In-Reply-To: <54654C3D.1070709@hyperactivesw.com> References: <54654C3D.1070709@hyperactivesw.com> Message-ID: On Thu, Nov 13, 2014 at 4:26 PM, J. Landman Gay wrote: > On 11/13/2014, 5:42 PM, Dr. Hawkins wrote: > >> In many of my handlers, I have to set the itemDelimiter explicitly to tab, >> whereas it is*supposed* to be local to the handler, and be reset on exit. >> > > I'm not sure I understand. The default delimiter is comma so it's normal > to have to reset it to tab as needed in every handler. > I suppose that explains thing s:) Wow. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Nov 13 20:28:53 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Nov 2014 17:28:53 -0800 Subject: hair-pulling frustration In-Reply-To: References: <54650D76.4020504@livecode.com> Message-ID: On Thu, Nov 13, 2014 at 4:32 PM, Peter Haworth wrote: > I just tried it under 7.0 and same result - no problems with or without the > semicolon. There must be something else going on in Dr Hawkins code. > The ones I posted today were typed into the message box! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu Nov 13 22:50:03 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Nov 2014 21:50:03 -0600 Subject: itemDel not resetting on entering routines? In-Reply-To: References: <54654C3D.1070709@hyperactivesw.com> Message-ID: <931C7B29-5EC6-4F26-822B-524C9637D291@hyperactivesw.com> LOL Better you than me. :-) We've all embarrassed ourselves here, it's sort of an initiation thing. On November 13, 2014 7:27:20 PM CST, "Dr. Hawkins" wrote: >On Thu, Nov 13, 2014 at 4:26 PM, J. Landman Gay > >wrote: > >> On 11/13/2014, 5:42 PM, Dr. Hawkins wrote: >> >>> In many of my handlers, I have to set the itemDelimiter explicitly >to tab, >>> whereas it is*supposed* to be local to the handler, and be reset on >exit. >>> >> >> I'm not sure I understand. The default delimiter is comma so it's >normal >> to have to reset it to tab as needed in every handler. >> > >I suppose that explains thing s:) > >Wow. > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Thu Nov 13 23:26:02 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 13 Nov 2014 22:26:02 -0600 Subject: hair-pulling frustration In-Reply-To: <54651E3F.8070704@hyperactivesw.com> References: <5465013C.5000808@hyperactivesw.com> <54651E3F.8070704@hyperactivesw.com> Message-ID: On Thu, Nov 13, 2014 at 3:10 PM, J. Landman Gay wrote: > I blame myself for the omissions (except when Richard G. forgives me.) :) "Bless me Richard, for I have sinned. It has been two weeks since my last bug report. Since then I wrote three undocumented functions and one 80-line behemoth that was filled with hard-coded situation-specific functionality. I also used repeat-with when I should have used repeat-for-each twice." "File two bug reports and say ten Our Kevins." From dunbarx at aol.com Fri Nov 14 00:48:20 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 14 Nov 2014 00:48:20 -0500 Subject: can't put into field by id? In-Reply-To: References: Message-ID: <8D1CDE5BB45FF41-E6C-2250A@webmail-vm101.sysops.aol.com> I think what the good doctor wanted to do was this: on mouseUp put "xx" into myVar put the long id of fld (word 1 of myVar) into theFld do "put gizmo into" && theFld end mouseUp Now "gizmo" is placed into, er, the field Craig put the long id of fld (word 1 of myVar) into theFld put "gizmo" into theFld -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Thu, Nov 13, 2014 6:54 pm Subject: can't put into field by id? With a sequence like, put the long id of fld (word 1 of myVar) into theFld put "gizmo" into theFld I end up with "gizmo" in the variable theFld, rather than the field it references. Am I doing something wrong, or does this just not work for fields (7.0-RC2) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Nov 14 02:02:38 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 14 Nov 2014 09:02:38 +0200 Subject: DP, RC, GM, Stable and tree diagrams In-Reply-To: <546527E7.9080705@fourthworld.com> References: <54650EE2.1070400@gmail.com> <546527E7.9080705@fourthworld.com> Message-ID: <5465A90E.1070207@gmail.com> On 11/13/2014 11:51 PM, Richard Gaskin wrote: > Richmond wrote: > > > For us bottom-feeders it might be easier to understand why, for > > instance, 7.0.1 started with RC (release candidates) while 7.0.0 > > started with DP (developer previews) > > Ben added definitions for DP, RC, and Stable at the top of the > Downloads page: > > > GM is an older designation RunRev and some others no longer use. Back > in the day it used to meam what "Stable" now means; before it in the > sequence was often a "Golden Master Candidate" (GMC) which was similar > to today's "RC". > > The definitions provided there help explain why sometimes we see > builds of very limited scope go directly to "RC"; they usually contain > no new features, and the only changes are limited to a bug fixes of > limited scope. > Hardly adequate as those definitions do NOT explain why some releases start with a DP and others start with an RC. For instance: is 7.0.1 just a minor tidy up on 7.0.0 (further releases realising we have made a c*ck-up by releasing a 'stable' 7.0.0 rather too early), or is it something with the same weighting as 7.0.0? Presumably, not having lived in the South of Illinois for about 19 years, while having sampled the 'delights' of RC Cola, I have not had the pleasure of trying DP Cola! I have given up drinking gassy drinks recently as it gives my 'hard drive' bloat . . . LOL Richmond. From toolbook at kestner.de Fri Nov 14 03:47:50 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 14 Nov 2014 09:47:50 +0100 Subject: how are variables passed from functions? Message-ID: <000d01cfffe7$acaef870$060ce950$@de> By accident I noticed that I don't have a return at a certain point of a function but nevertheless the value was passed back without a return to the calling handler. I can reproduce the issue to this scenario: --Btn script on mouseUp put foo1() into myVar1 -- I get the value "Test" end mouseUp --script in stack function foo1 put foo2() into myVar2 -- no return in this function end foo1 function foo2 return "Test" -- return here in second level end foo2 Up to now I thought that every function has to have a return statement if you want anything getting back. Can somebody explain to me what is going on here? How is the value from function foo2 passed back to the mouseup handler, even with different var names? Is this a bug or just an accident or even wanted? Thanks for enlightening Tiemo From jacques.hausser at unil.ch Fri Nov 14 04:49:37 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 14 Nov 2014 10:49:37 +0100 Subject: how are variables passed from functions? In-Reply-To: <000d01cfffe7$acaef870$060ce950$@de> References: <000d01cfffe7$acaef870$060ce950$@de> Message-ID: <80063CD7-22BB-40EA-84E3-45641207DEA8@unil.ch> Interesting. If I modify foo1 like that: function foo1 put foo2() into myvar2 put "anotherTest" into myvar3 end foo1 the process still returns ?Test?. I can only guess that ?return? saves the returned value in a ?last in, first out? pile somewhere and that the top value is used by the calling script(s) as long as a new one is not put on the pile by another ?return?? the pile being cleared only at iddle time. Just a guess. > Le 14 nov. 2014 ? 09:47, Tiemo Hollmann TB a ?crit : > > By accident I noticed that I don't have a return at a certain point of a > function but nevertheless the value was passed back without a return to the > calling handler. > > I can reproduce the issue to this scenario: > > > > --Btn script > > on mouseUp > > put foo1() into myVar1 -- I get the value "Test" > > end mouseUp > > > > --script in stack > > function foo1 > > put foo2() into myVar2 -- no return in this function > > end foo1 > > > > function foo2 > > return "Test" -- return here in second level > > end foo2 > > > > Up to now I thought that every function has to have a return statement if > you want anything getting back. > > Can somebody explain to me what is going on here? How is the value from > function foo2 passed back to the mouseup handler, even with different var > names? > > Is this a bug or just an accident or even wanted? > > Thanks for enlightening > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From neil at livecode.com Fri Nov 14 06:07:37 2014 From: neil at livecode.com (Neil Roger) Date: Fri, 14 Nov 2014 11:07:37 +0000 Subject: hair-pulling frustration In-Reply-To: <001701cfff86$d5f9c450$81ed4cf0$@net> References: <54650D76.4020504@livecode.com> <001701cfff86$d5f9c450$81ed4cf0$@net> Message-ID: <5465E279.4060208@livecode.com> Hi Ralph, Thanks for your fantastic suggestion! I've had a quick chat with our testing master, Hanson, and he is more than happy to look at into integrating any advance query stacks you may have into our current test system. If you do get a chance to create any of these, please fire them over to support at livecode.com and we will then forward them onto Hanson. We're also in the process of integrating a system that allows the community to submit tests with any reports they create. This means that they should be automatically included during any internal testing we do. Kind Regards, Neil Roger -- LiveCode Support Team ~ http://www.livecode.com -- On 13/11/2014 21:14, Ralph DiMola wrote: > Neil, > > With user input and Richard's moderating this thread has started to bear > some fruit. After writing HW diagnostics for years I know how challenging is > to come with thorough testing scenarios. I don't know what your QC process > for databases is but might I suggest using challenging queries. I would be > happy to set up a stack to test them along with the DBs. For example: > > SELECT Table1.*, Table2.*,Table3.* FROM Table1 LEFT JOIN Table2 ON > Table1.Designation = Table2.Designation LEFT JOIN Table3 ON Table1.State = > Table3.State AND Table1.County = Table3.County WHERE (Table3.Region = 'Foo') > > or > > ATTACH DATABASE "Table3.db" AS Table3DB > SELECT Table3.*,Table1.* from Table3DB.Table3 JOIN Table1 ON Table3.CourseID > = Table1.CourseID JOIN Table2 ON Table2.County = Table1.County AND > Table2.State = Table1.State WHERE (Table3.Favorite or Table3.frog <> '') > > Mr. Haworth and all you other DB gurus out there, what other testing > scenarios do think should be included in the RR DB QC process? > > The way I look at it the more we help RR the more we help ourselves. > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Neil Roger > Sent: Thursday, November 13, 2014 2:59 PM > To: How to use LiveCode > Subject: Re: hair-pulling frustration > > Hi Richard, > > I've attempted to replicate the semicolon issue without any success. > This could be why we have not come accross it during testing in-house. > The script that I tested with is- > > global gConnectionID > on mouseUp > global gConnectionID > if gConnectionID is not a number then > answer error "Please connect to the database first." > exit to top > end if > put "Table1" into tTableName > put "SELECT * FROM " & tTableName into tSQL > > put revDataFromQuery(,,gConnectionID,"SELECT * FROM Table1;") into tData > > if item 1 of tData = "revdberr" then > answer error "There was a problem querying the database:" & cr & > tData > else > put tData into field "Data" > end if > end mouseUp > > > Both the inclusion and exclusion of the semi-colon return data as > expected. If possible, could you supply a stack for me to test with and > I will happily look into this further. > > Kind Regards, > > Neil Roger From james at thehales.id.au Fri Nov 14 06:33:22 2014 From: james at thehales.id.au (James Hale) Date: Fri, 14 Nov 2014 22:33:22 +1100 Subject: DP, RC, GM, Stable and tree diagrams Message-ID: I think the point of the nomenclature is in the decimal place (pardon the pun.) X.Y denotes a major release, with new features and other nasties. So they get a DP to start with. X.Y.Z are simply bug fixes, and perhaps a minor change here or there. Being based on a stable release they no longer require the testing of a major release and so these only need RC releases until they are "deemed" stable. If you look down the download page you will see that (at least starting with LC6) this is the case. James From jbv at souslelogo.com Fri Nov 14 07:59:43 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 14 Nov 2014 14:59:43 +0200 Subject: externals and QR code In-Reply-To: References: <4e56bc59af8877a3beec4bcd3c715875.squirrel@185.8.104.234> <362EA616-4F8A-4908-8792-B33CF5974D33@pidigital.co.uk> Message-ID: <71fbaa7bb6d917e1576086282811be0e.squirrel@185.8.104.234> Thanks for your answers. One more question : does mergZXing also decode the QR code once it is scanned ? This isn't clear in the online doc... Thanks jbv > > On 14 Nov 2014, at 1:53 am, Pi Digital wrote: > >> Mergext has an excellent set of externals one of which is a qr reader. >> It is very good and I used it recently for an event that used qr codes >> to register bids by attendees. It's incredibly fast, especially on >> autofocus devices. > > Thanks Sean > > Just so JBV is aware even though mergZXing is listed as iOS only there in > Android implementation available as a beta to mergExt Complete customers. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Fri Nov 14 08:21:58 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 14 Nov 2014 08:21:58 -0500 Subject: externals and QR code In-Reply-To: <71fbaa7bb6d917e1576086282811be0e.squirrel@185.8.104.234> References: <4e56bc59af8877a3beec4bcd3c715875.squirrel@185.8.104.234> <362EA616-4F8A-4908-8792-B33CF5974D33@pidigital.co.uk> <71fbaa7bb6d917e1576086282811be0e.squirrel@185.8.104.234> Message-ID: It does. Sent from my Android tablet On Nov 14, 2014 8:00 AM, wrote: > Thanks for your answers. > One more question : does mergZXing also decode the QR code once > it is scanned ? This isn't clear in the online doc... > > Thanks > jbv > > > > > On 14 Nov 2014, at 1:53 am, Pi Digital wrote: > > > >> Mergext has an excellent set of externals one of which is a qr reader. > >> It is very good and I used it recently for an event that used qr codes > >> to register bids by attendees. It's incredibly fast, especially on > >> autofocus devices. > > > > Thanks Sean > > > > Just so JBV is aware even though mergZXing is listed as iOS only there in > > Android implementation available as a beta to mergExt Complete customers. > > > > Cheers > > > > Monte > > > > -- > > M E R Goulding > > Software development services > > Bespoke application development for vertical markets > > > > mergExt - There's an external for that! > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Fri Nov 14 10:12:18 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 14 Nov 2014 10:12:18 -0500 Subject: how are variables passed from functions? In-Reply-To: <000d01cfffe7$acaef870$060ce950$@de> References: <000d01cfffe7$acaef870$060ce950$@de> Message-ID: <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> I don't see any anomaly here. Since the intermediate function calls yet another function, it never needs to "close", that is, return, a value. It is a pass-through entity, a card carrying member of the chain of handler calls. Step through this variation: on mouseUp put double(2) into myVar1 answer myVar1 end mouseUp function double var put redouble(var * 2) into myVar2 -- no return in this function end double function redouble var return var * 2 end redouble The "8" you get is processed sequentially through the handler path, just like bacon. Craig Newman -----Original Message----- From: Tiemo Hollmann TB To: 'How to use LiveCode' Sent: Fri, Nov 14, 2014 3:47 am Subject: how are variables passed from functions? By accident I noticed that I don't have a return at a certain point of a function but nevertheless the value was passed back without a return to the calling handler. I can reproduce the issue to this scenario: --Btn script on mouseUp put foo1() into myVar1 -- I get the value "Test" end mouseUp --script in stack function foo1 put foo2() into myVar2 -- no return in this function end foo1 function foo2 return "Test" -- return here in second level end foo2 Up to now I thought that every function has to have a return statement if you want anything getting back. Can somebody explain to me what is going on here? How is the value from function foo2 passed back to the mouseup handler, even with different var names? Is this a bug or just an accident or even wanted? Thanks for enlightening Tiemo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Nov 14 10:39:03 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 14 Nov 2014 16:39:03 +0100 Subject: AW: how are variables passed from functions? In-Reply-To: <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> Message-ID: <002c01d00021$1ee6fe40$5cb4fac0$@de> Hi Craig, I wasn't aware of this behaviour. I think about more complex functions with a lot of if and else structures, where you are perhaps not aware anymore of this function chain after some years, when you are changing the first or the second function? Would it be a good or at least not a bad practice to put a return in the intermediate function? Or could it even break anything if you would explicitly return myVar2 in the first function? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von dunbarx at aol.com > Gesendet: Freitag, 14. November 2014 16:12 > An: use-livecode at lists.runrev.com > Betreff: Re: how are variables passed from functions? > > I don't see any anomaly here. Since the intermediate function calls yet > another function, it never needs to "close", that is, return, a value. It is a > pass-through entity, a card carrying member of the chain of handler calls. > Step through this variation: > > > > on mouseUp > put double(2) into myVar1 > answer myVar1 > end mouseUp > > > function double var > put redouble(var * 2) into myVar2 -- no return in this function > end double > > > function redouble var > return var * 2 > end redouble > > > The "8" you get is processed sequentially through the handler path, just like > bacon. > > > Craig Newman > > > > -----Original Message----- > From: Tiemo Hollmann TB > To: 'How to use LiveCode' > Sent: Fri, Nov 14, 2014 3:47 am > Subject: how are variables passed from functions? > > > By accident I noticed that I don't have a return at a certain point of a > function but nevertheless the value was passed back without a return to the > calling handler. > > I can reproduce the issue to this scenario: > > > > --Btn script > > on mouseUp > > put foo1() into myVar1 -- I get the value "Test" > > end mouseUp > > > > --script in stack > > function foo1 > > put foo2() into myVar2 -- no return in this function > > end foo1 > > > > function foo2 > > return "Test" -- return here in second level > > end foo2 > > > > Up to now I thought that every function has to have a return statement if > you want anything getting back. > > Can somebody explain to me what is going on here? How is the value from > function foo2 passed back to the mouseup handler, even with different var > names? > > Is this a bug or just an accident or even wanted? > > Thanks for enlightening > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri Nov 14 10:59:57 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 14 Nov 2014 10:59:57 -0500 Subject: how are variables passed from functions? In-Reply-To: <002c01d00021$1ee6fe40$5cb4fac0$@de> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> Message-ID: <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> Hi. Putting intermediate returns will immediately terminate the function call. How would you reach the next stage? Perhaps this is another "slightly off" aspect of the original example: The intermediate variable "myVar2" is only seen in the debugger, and therefore only actually "present" at all, when the secondary function returns it s value. And even then it is only in passing, you might say, on the way back to the primary function call. But this would never complete if you placed a return in the primary function handler. Try it. Watch the flow. You HAVE to not return in any of these intermediate handlers. Craig -----Original Message----- From: Tiemo Hollmann TB To: 'How to use LiveCode' Sent: Fri, Nov 14, 2014 10:38 am Subject: AW: how are variables passed from functions? Hi Craig, I wasn't aware of this behaviour. I think about more complex functions with a lot of if and else structures, where you are perhaps not aware anymore of this function chain after some years, when you are changing the first or the second function? Would it be a good or at least not a bad practice to put a return in the intermediate function? Or could it even break anything if you would explicitly return myVar2 in the first function? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von dunbarx at aol.com > Gesendet: Freitag, 14. November 2014 16:12 > An: use-livecode at lists.runrev.com > Betreff: Re: how are variables passed from functions? > > I don't see any anomaly here. Since the intermediate function calls yet > another function, it never needs to "close", that is, return, a value. It is a > pass-through entity, a card carrying member of the chain of handler calls. > Step through this variation: > > > > on mouseUp > put double(2) into myVar1 > answer myVar1 > end mouseUp > > > function double var > put redouble(var * 2) into myVar2 -- no return in this function > end double > > > function redouble var > return var * 2 > end redouble > > > The "8" you get is processed sequentially through the handler path, just like > bacon. > > > Craig Newman > > > > -----Original Message----- > From: Tiemo Hollmann TB > To: 'How to use LiveCode' > Sent: Fri, Nov 14, 2014 3:47 am > Subject: how are variables passed from functions? > > > By accident I noticed that I don't have a return at a certain point of a > function but nevertheless the value was passed back without a return to the > calling handler. > > I can reproduce the issue to this scenario: > > > > --Btn script > > on mouseUp > > put foo1() into myVar1 -- I get the value "Test" > > end mouseUp > > > > --script in stack > > function foo1 > > put foo2() into myVar2 -- no return in this function > > end foo1 > > > > function foo2 > > return "Test" -- return here in second level > > end foo2 > > > > Up to now I thought that every function has to have a return statement if > you want anything getting back. > > Can somebody explain to me what is going on here? How is the value from > function foo2 passed back to the mouseup handler, even with different var > names? > > Is this a bug or just an accident or even wanted? > > Thanks for enlightening > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Nov 14 11:20:54 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 14 Nov 2014 17:20:54 +0100 Subject: AW: how are variables passed from functions? In-Reply-To: <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> Message-ID: <003201d00026$f8489d10$e8d9d730$@de> Hi Craig, perhaps I didn't expressed myself correct, I'm not a native speaker. For me the result seems the same, if I put a return myVar2 at the end of function foo1 or not (see below). The intermediate function is terminated AFTER the call of the second function at the end. My original script works without a return in foo1. My question was, if it is a good or bad practice if I would add this return, just for "safety reasons" to be sure anything is returned in case I would change anything, e.g. I would replace the call of function foo2 by any other structure. Tiemo --Btn script on mouseUp put foo1() into myVar1 end mouseUp --script in stack function foo1 put foo2() into myVar2 return myVar2 -- return statement yes or no? end foo1 function foo2 return "Test" end foo2 > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von dunbarx at aol.com > Gesendet: Freitag, 14. November 2014 17:00 > An: use-livecode at lists.runrev.com > Betreff: Re: how are variables passed from functions? > > Hi. > > > Putting intermediate returns will immediately terminate the function call. How > would you reach the next stage? > > > Perhaps this is another "slightly off" aspect of the original example: The > intermediate variable "myVar2" is only seen in the debugger, and therefore > only actually "present" at all, when the secondary function returns it s > value. And even then it is only in passing, you might say, on the way back to > the primary function call. But this would never complete if you placed a > return in the primary function handler. > > > Try it. Watch the flow. You HAVE to not return in any of these intermediate > handlers. > > > Craig > > > > -----Original Message----- > From: Tiemo Hollmann TB > To: 'How to use LiveCode' > Sent: Fri, Nov 14, 2014 10:38 am > Subject: AW: how are variables passed from functions? > > > Hi Craig, > I wasn't aware of this behaviour. > I think about more complex functions with a lot of if and else structures, > where you are perhaps not aware anymore of this function chain after some > years, when you are changing the first or the second function? > Would it be a good or at least not a bad practice to put a return in the > intermediate function? Or could it even break anything if you would explicitly > return myVar2 in the first function? > Thanks > Tiemo > > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > > von dunbarx at aol.com > > Gesendet: Freitag, 14. November 2014 16:12 > > An: use-livecode at lists.runrev.com > > Betreff: Re: how are variables passed from functions? > > > > I don't see any anomaly here. Since the intermediate function calls > > yet another function, it never needs to "close", that is, return, a > > value. It > is a > > pass-through entity, a card carrying member of the chain of handler calls. > > Step through this variation: > > > > > > > > on mouseUp > > put double(2) into myVar1 > > answer myVar1 > > end mouseUp > > > > > > function double var > > put redouble(var * 2) into myVar2 -- no return in this function end > > double > > > > > > function redouble var > > return var * 2 > > end redouble > > > > > > The "8" you get is processed sequentially through the handler path, > > just > like > > bacon. > > > > > > Craig Newman > > > > > > > > -----Original Message----- > > From: Tiemo Hollmann TB > > To: 'How to use LiveCode' > > Sent: Fri, Nov 14, 2014 3:47 am > > Subject: how are variables passed from functions? > > > > > > By accident I noticed that I don't have a return at a certain point of > > a function but nevertheless the value was passed back without a return > > to > the > > calling handler. > > > > I can reproduce the issue to this scenario: > > > > > > > > --Btn script > > > > on mouseUp > > > > put foo1() into myVar1 -- I get the value "Test" > > > > end mouseUp > > > > > > > > --script in stack > > > > function foo1 > > > > put foo2() into myVar2 -- no return in this function > > > > end foo1 > > > > > > > > function foo2 > > > > return "Test" -- return here in second level > > > > end foo2 > > > > > > > > Up to now I thought that every function has to have a return statement > > if you want anything getting back. > > > > Can somebody explain to me what is going on here? How is the value > > from function foo2 passed back to the mouseup handler, even with > > different var names? > > > > Is this a bug or just an accident or even wanted? > > > > Thanks for enlightening > > > > Tiemo > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bodine at bodinetraininggames.com Fri Nov 14 11:22:24 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Fri, 14 Nov 2014 08:22:24 -0800 (PST) Subject: externals and QR code In-Reply-To: <362EA616-4F8A-4908-8792-B33CF5974D33@pidigital.co.uk> References: <4e56bc59af8877a3beec4bcd3c715875.squirrel@185.8.104.234> <362EA616-4F8A-4908-8792-B33CF5974D33@pidigital.co.uk> Message-ID: <1415982144425-4685833.post@n4.nabble.com> Sean, Very interesting use of QR. Were the QR codes carrying both bidder ID info. and the actual bid information from each user? And were the QRs printed on paddles or were these on the bidders' mobile device screens? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/externals-and-QR-code-tp4685771p4685833.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Nov 14 11:48:06 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 14 Nov 2014 18:48:06 +0200 Subject: 64 bit Linux standalones? Message-ID: <54663246.5000704@gmail.com> As, currently, I am running 32 bit Linux I have what may seem a slightly goofy question: Does the standalone builder in the 64 bit version of LiveCode 7 offer the choice of building standalones for 64-bit and/or 32-bit distros? Richmond. From fraser.gordon at livecode.com Fri Nov 14 11:52:29 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Fri, 14 Nov 2014 16:52:29 +0000 Subject: 64 bit Linux standalones? In-Reply-To: <54663246.5000704@gmail.com> References: <54663246.5000704@gmail.com> Message-ID: <94AADC6C-D024-4768-A2F3-611A488E6024@livecode.com> On 14 Nov 2014, at 16:48, Richmond wrote: > As, currently, I am running 32 bit Linux I have what may seem a slightly goofy question: > > Does the standalone builder in the 64 bit version of LiveCode 7 offer the choice of building > standalones for 64-bit and/or 32-bit distros? It should. In fact, the 32-bit version of LiveCode 7 should also offer that option. The ?Linux? tab of the standalone preferences in LiveCode 7 Community should have 3 sub-options for ?Linux", "Linux x64" and "Linux ARMv6HF? (the last is for RaspberryPi and is not present in Commercial). If not, please report it as a bug. Regards, Fraser From jacques.hausser at unil.ch Fri Nov 14 11:52:37 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 14 Nov 2014 17:52:37 +0100 Subject: how are variables passed from functions? In-Reply-To: <003201d00026$f8489d10$e8d9d730$@de> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> Message-ID: Hi Tiemo, It is always better to be explicit, and in this case to use a return statement. Note that a shorter function foo1 could be: function foo1 return foo2() end foo1 As for my post of this morning, my suggestion was certainly too complex. It is sufficient to figure a transitory ?returnedValue? generated by the calling script, where it will pick the last value returned. In the case of cascading functions, each return would overwrite the previous ?returnedValue?. If a return is missing, then the calling script will get the value of the previous one. Jacques > Le 14 nov. 2014 ? 17:20, Tiemo Hollmann TB a ?crit : > > Hi Craig, > perhaps I didn't expressed myself correct, I'm not a native speaker. > For me the result seems the same, if I put a return myVar2 at the end of function foo1 or not (see below). The intermediate function is terminated AFTER the call of the second function at the end. > My original script works without a return in foo1. My question was, if it is a good or bad practice if I would add this return, just for "safety reasons" to be sure anything is returned in case I would change anything, e.g. I would replace the call of function foo2 by any other structure. > Tiemo > > --Btn script > on mouseUp > put foo1() into myVar1 > end mouseUp > > --script in stack > function foo1 > put foo2() into myVar2 > return myVar2 -- return statement yes or no? > end foo1 > > function foo2 > return "Test" > end foo2 > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag >> von dunbarx at aol.com >> Gesendet: Freitag, 14. November 2014 17:00 >> An: use-livecode at lists.runrev.com >> Betreff: Re: how are variables passed from functions? >> >> Hi. >> >> >> Putting intermediate returns will immediately terminate the function call. How >> would you reach the next stage? >> >> >> Perhaps this is another "slightly off" aspect of the original example: The >> intermediate variable "myVar2" is only seen in the debugger, and therefore >> only actually "present" at all, when the secondary function returns it s >> value. And even then it is only in passing, you might say, on the way back to >> the primary function call. But this would never complete if you placed a >> return in the primary function handler. >> >> >> Try it. Watch the flow. You HAVE to not return in any of these intermediate >> handlers. >> >> >> Craig >> >> >> >> -----Original Message----- >> From: Tiemo Hollmann TB >> To: 'How to use LiveCode' >> Sent: Fri, Nov 14, 2014 10:38 am >> Subject: AW: how are variables passed from functions? >> >> >> Hi Craig, >> I wasn't aware of this behaviour. >> I think about more complex functions with a lot of if and else structures, >> where you are perhaps not aware anymore of this function chain after some >> years, when you are changing the first or the second function? >> Would it be a good or at least not a bad practice to put a return in the >> intermediate function? Or could it even break anything if you would explicitly >> return myVar2 in the first function? >> Thanks >> Tiemo >> >> >> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag >>> von dunbarx at aol.com >>> Gesendet: Freitag, 14. November 2014 16:12 >>> An: use-livecode at lists.runrev.com >>> Betreff: Re: how are variables passed from functions? >>> >>> I don't see any anomaly here. Since the intermediate function calls >>> yet another function, it never needs to "close", that is, return, a >>> value. It >> is a >>> pass-through entity, a card carrying member of the chain of handler calls. >>> Step through this variation: >>> >>> >>> >>> on mouseUp >>> put double(2) into myVar1 >>> answer myVar1 >>> end mouseUp >>> >>> >>> function double var >>> put redouble(var * 2) into myVar2 -- no return in this function end >>> double >>> >>> >>> function redouble var >>> return var * 2 >>> end redouble >>> >>> >>> The "8" you get is processed sequentially through the handler path, >>> just >> like >>> bacon. >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: Tiemo Hollmann TB >>> To: 'How to use LiveCode' >>> Sent: Fri, Nov 14, 2014 3:47 am >>> Subject: how are variables passed from functions? >>> >>> >>> By accident I noticed that I don't have a return at a certain point of >>> a function but nevertheless the value was passed back without a return >>> to >> the >>> calling handler. >>> >>> I can reproduce the issue to this scenario: >>> >>> >>> >>> --Btn script >>> >>> on mouseUp >>> >>> put foo1() into myVar1 -- I get the value "Test" >>> >>> end mouseUp >>> >>> >>> >>> --script in stack >>> >>> function foo1 >>> >>> put foo2() into myVar2 -- no return in this function >>> >>> end foo1 >>> >>> >>> >>> function foo2 >>> >>> return "Test" -- return here in second level >>> >>> end foo2 >>> >>> >>> >>> Up to now I thought that every function has to have a return statement >>> if you want anything getting back. >>> >>> Can somebody explain to me what is going on here? How is the value >>> from function foo2 passed back to the mouseup handler, even with >>> different var names? >>> >>> Is this a bug or just an accident or even wanted? >>> >>> Thanks for enlightening >>> >>> Tiemo From dave.cragg at lacscentre.co.uk Fri Nov 14 11:56:24 2014 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 14 Nov 2014 16:56:24 +0000 Subject: how are variables passed from functions? In-Reply-To: <000d01cfffe7$acaef870$060ce950$@de> References: <000d01cfffe7$acaef870$060ce950$@de> Message-ID: <98CBF079-37C3-4D92-9E89-FF791E9FF5DE@lacscentre.co.uk> Tiemo, Interesting. It looks like functions return the value of "the result" in the absence of a return statement. Other languages would probably return "void" or "null" or something similar, and we might expect Livecode to return "empty". I've no opinion on whether it is a bug or not, but I think it is probably better to specifically return a value from a function. We don't always have control over what appears in "the result". Cheers Dave On 14 Nov 2014, at 08:47, Tiemo Hollmann TB wrote: > By accident I noticed that I don't have a return at a certain point of a > function but nevertheless the value was passed back without a return to the > calling handler. > > I can reproduce the issue to this scenario: > > > > --Btn script > > on mouseUp > > put foo1() into myVar1 -- I get the value "Test" > > end mouseUp > > > > --script in stack > > function foo1 > > put foo2() into myVar2 -- no return in this function > > end foo1 > > > > function foo2 > > return "Test" -- return here in second level > > end foo2 > > > > Up to now I thought that every function has to have a return statement if > you want anything getting back. > > Can somebody explain to me what is going on here? How is the value from > function foo2 passed back to the mouseup handler, even with different var > names? > > Is this a bug or just an accident or even wanted? > > Thanks for enlightening > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.hausser at unil.ch Fri Nov 14 12:02:41 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 14 Nov 2014 18:02:41 +0100 Subject: how are variables passed from functions? In-Reply-To: <98CBF079-37C3-4D92-9E89-FF791E9FF5DE@lacscentre.co.uk> References: <000d01cfffe7$acaef870$060ce950$@de> <98CBF079-37C3-4D92-9E89-FF791E9FF5DE@lacscentre.co.uk> Message-ID: Yes, it is ?the Result?, I just checked it - good hint, Dave ! didn?t think about that before? Jacques > Le 14 nov. 2014 ? 17:56, Dave Cragg a ?crit : > > Tiemo, > > Interesting. It looks like functions return the value of "the result" in the absence of a return statement. > > Other languages would probably return "void" or "null" or something similar, and we might expect Livecode to return "empty". > > I've no opinion on whether it is a bug or not, but I think it is probably better to specifically return a value from a function. We don't always have control over what appears in "the result". > > Cheers > Dave > > > > On 14 Nov 2014, at 08:47, Tiemo Hollmann TB wrote: > >> By accident I noticed that I don't have a return at a certain point of a >> function but nevertheless the value was passed back without a return to the >> calling handler. >> >> I can reproduce the issue to this scenario: >> >> >> >> --Btn script >> >> on mouseUp >> >> put foo1() into myVar1 -- I get the value "Test" >> >> end mouseUp >> >> >> >> --script in stack >> >> function foo1 >> >> put foo2() into myVar2 -- no return in this function >> >> end foo1 >> >> >> >> function foo2 >> >> return "Test" -- return here in second level >> >> end foo2 >> >> >> >> Up to now I thought that every function has to have a return statement if >> you want anything getting back. >> >> Can somebody explain to me what is going on here? How is the value from >> function foo2 passed back to the mouseup handler, even with different var >> names? >> >> Is this a bug or just an accident or even wanted? >> >> Thanks for enlightening >> >> Tiemo From pete at lcsql.com Fri Nov 14 12:21:20 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Nov 2014 09:21:20 -0800 Subject: hair-pulling frustration In-Reply-To: References: <54650D76.4020504@livecode.com> Message-ID: OK, so you mean this: revDataFromQuery(,,17,"SELECT * FROM vader_darth______001_dna;") revDataFromQuery is a function, you need to either "put" it or "get" it or "set" a cprop to it. If I type the above statement into the message box I get exactly the same error as you whether there's a semicolon or not. If I add "put" before it, everything works with or without the semicolon.. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 13, 2014 at 5:28 PM, Dr. Hawkins wrote: > On Thu, Nov 13, 2014 at 4:32 PM, Peter Haworth wrote: > > > I just tried it under 7.0 and same result - no problems with or without > the > > semicolon. There must be something else going on in Dr Hawkins code. > > > > The ones I posted today were typed into the message box! > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Nov 14 12:24:04 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 17:24:04 +0000 Subject: hair-pulling frustration In-Reply-To: <54652F90.7020607@tweedly.net> References: <5464F653.5000804@gmail.com> <54652CA0.8060804@fourthworld.com> <54652F90.7020607@tweedly.net> Message-ID: <20137168-BF92-4D86-B9F4-9531D4014EB5@iotecdigital.com> The way I see things, RunRev is not an overly large company. To remain solvent (something that benefits us all) they probably have to prioritize what they can and cannot do. In House testing of every possible scenario cannot be one of the do?s. Frankly I am thrilled at the progress made since version 2.0. I can live with a few bugs. After all, no one *has* to adopt a new version of LC! If your older version works, use it for production. If the newer version causes you problems, don?t. And file a bug report while you are at it. Now if RunRev were as large as Microsoft, then I could see holding them accountable for every serious bug in their product. I?m not seeing the major issue here. I think a few more pats on the back of these guys might do more to help them excel then criticisms. After all, they are likely just as much raving egomaniacs (as Richmond put it) as most of us are. :-) Bob S > On Nov 13, 2014, at 14:24 , Alex Tweedly wrote: > > > Note to self : > I am *not* getting involved in this thread. > I am *not* getting involved in this thread. > I am *not* getting involved in this thread. > I am *not* getting involved in this thread. > I do *not* have time to read, never mind get involved in, this thread. :-) > > > OK. Having said that to myself - one small suggestion. > > It would seem "touchy-feely" for there to be more response on this list from RR. > > You (Richard) are doing a great job as Community Manager, and responding here. > How about you get an email address like richard at runrev.com so that it does feel more like a RR response :-) > > I suspect this list is mostly us old dinosaurs, and most of the newer users are on the forums, and *we* should all know who you are - but it would maybe help remind us that you have a role within RR and are effectively part of the RR team taking in our input. > > Regards, > -- Alex. > > On 13/11/2014 22:11, Richard Gaskin wrote: >> Richmond wrote: >> >> > What might do some good is point out to RunRev that when they >> > released their Open Source version of LiveCode they undertook >> > to be more "touchy-feely" and more responsive to their users >> > . . . and, just possibly, they may be falling short of this. >> >> Perhaps. What should "touchy-feely" ideally translate to in terms of specific actions? >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri Nov 14 12:34:07 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 14 Nov 2014 12:34:07 -0500 Subject: how are variables passed from functions? In-Reply-To: <003201d00026$f8489d10$e8d9d730$@de> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> Message-ID: <8D1CE4853D52BE9-8DC-24CDA@webmail-va029.sysops.aol.com> I am a native speaker, but not a native listener. Yes, it makes no difference. Stepping through, "myVar2" will contain a value regardless of whether a return is present or not. Personally, I would not use the return there. Even more personally, why have two functions? Unless a choice is made in the primary, control passes along one pathway. Is that what you intended: function foo1 var if var = 3 then put foo2() into myVar2 else return var end foo1 Craig -----Original Message----- From: Tiemo Hollmann TB To: 'How to use LiveCode' Sent: Fri, Nov 14, 2014 11:21 am Subject: AW: how are variables passed from functions? Hi Craig, perhaps I didn't expressed myself correct, I'm not a native speaker. For me the result seems the same, if I put a return myVar2 at the end of function foo1 or not (see below). The intermediate function is terminated AFTER the call of the second function at the end. My original script works without a return in foo1. My question was, if it is a good or bad practice if I would add this return, just for "safety reasons" to be sure anything is returned in case I would change anything, e.g. I would replace the call of function foo2 by any other structure. Tiemo --Btn script on mouseUp put foo1() into myVar1 end mouseUp --script in stack function foo1 put foo2() into myVar2 return myVar2 -- return statement yes or no? end foo1 function foo2 return "Test" end foo2 > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von dunbarx at aol.com > Gesendet: Freitag, 14. November 2014 17:00 > An: use-livecode at lists.runrev.com > Betreff: Re: how are variables passed from functions? > > Hi. > > > Putting intermediate returns will immediately terminate the function call. How > would you reach the next stage? > > > Perhaps this is another "slightly off" aspect of the original example: The > intermediate variable "myVar2" is only seen in the debugger, and therefore > only actually "present" at all, when the secondary function returns it s > value. And even then it is only in passing, you might say, on the way back to > the primary function call. But this would never complete if you placed a > return in the primary function handler. > > > Try it. Watch the flow. You HAVE to not return in any of these intermediate > handlers. > > > Craig > > > > -----Original Message----- > From: Tiemo Hollmann TB > To: 'How to use LiveCode' > Sent: Fri, Nov 14, 2014 10:38 am > Subject: AW: how are variables passed from functions? > > > Hi Craig, > I wasn't aware of this behaviour. > I think about more complex functions with a lot of if and else structures, > where you are perhaps not aware anymore of this function chain after some > years, when you are changing the first or the second function? > Would it be a good or at least not a bad practice to put a return in the > intermediate function? Or could it even break anything if you would explicitly > return myVar2 in the first function? > Thanks > Tiemo > > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > > von dunbarx at aol.com > > Gesendet: Freitag, 14. November 2014 16:12 > > An: use-livecode at lists.runrev.com > > Betreff: Re: how are variables passed from functions? > > > > I don't see any anomaly here. Since the intermediate function calls > > yet another function, it never needs to "close", that is, return, a > > value. It > is a > > pass-through entity, a card carrying member of the chain of handler calls. > > Step through this variation: > > > > > > > > on mouseUp > > put double(2) into myVar1 > > answer myVar1 > > end mouseUp > > > > > > function double var > > put redouble(var * 2) into myVar2 -- no return in this function end > > double > > > > > > function redouble var > > return var * 2 > > end redouble > > > > > > The "8" you get is processed sequentially through the handler path, > > just > like > > bacon. > > > > > > Craig Newman > > > > > > > > -----Original Message----- > > From: Tiemo Hollmann TB > > To: 'How to use LiveCode' > > Sent: Fri, Nov 14, 2014 3:47 am > > Subject: how are variables passed from functions? > > > > > > By accident I noticed that I don't have a return at a certain point of > > a function but nevertheless the value was passed back without a return > > to > the > > calling handler. > > > > I can reproduce the issue to this scenario: > > > > > > > > --Btn script > > > > on mouseUp > > > > put foo1() into myVar1 -- I get the value "Test" > > > > end mouseUp > > > > > > > > --script in stack > > > > function foo1 > > > > put foo2() into myVar2 -- no return in this function > > > > end foo1 > > > > > > > > function foo2 > > > > return "Test" -- return here in second level > > > > end foo2 > > > > > > > > Up to now I thought that every function has to have a return statement > > if you want anything getting back. > > > > Can somebody explain to me what is going on here? How is the value > > from function foo2 passed back to the mouseup handler, even with > > different var names? > > > > Is this a bug or just an accident or even wanted? > > > > Thanks for enlightening > > > > Tiemo > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri Nov 14 12:40:35 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Nov 2014 10:40:35 -0700 Subject: how are variables passed from functions? In-Reply-To: References: <000d01cfffe7$acaef870$060ce950$@de> <98CBF079-37C3-4D92-9E89-FF791E9FF5DE@lacscentre.co.uk> Message-ID: For anything other than this simple case, the returns matter. Take for example local tvar1,tvar2,tvar3 on mouseUp --get a random value to use put random(10) into tvar1 put "Start Value: " & tvar1 & cr & "Final Return:" & myfunc1(tvar1) & cr & tvar3 end mouseUp function myfunc1 pvar put 2 * myfunc2(pvar) into tVar2 return tvar2 end myfunc1 function myfunc2 pvar put pvar * 2 into tvar3 return tvar3 end myfunc2 With this function, if the random number is 10, the value returned from the function is 40, doubled twice once by each function. the double in the 3rd function happens PRIOR to the execution of the second function (the end of the chain is first working backwards) So tvar3 (in the last function) is the first double, so the value in tvar3 will be 20. Then the other double is done and placed into tvar2. So the value returned will be 40. If you remove the return from myfunc1, the final doubling isn't returned. The value of tvar2 IS 40, but its never returned, so you end up with an unanticipated return, the return (which as discovered earlier) is "the result" from the whole chain. Since the only actual result is from muFunc2, that is the value that ends up being returned to the original function call. On Fri, Nov 14, 2014 at 10:02 AM, Jacques Hausser wrote: > Yes, it is ?the Result?, I just checked it - good hint, Dave ! didn?t > think about that before? > > Jacques > > > Le 14 nov. 2014 ? 17:56, Dave Cragg a > ?crit : > > > > Tiemo, > > > > Interesting. It looks like functions return the value of "the result" in > the absence of a return statement. > > > > Other languages would probably return "void" or "null" or something > similar, and we might expect Livecode to return "empty". > > > > I've no opinion on whether it is a bug or not, but I think it is > probably better to specifically return a value from a function. We don't > always have control over what appears in "the result". > > > > Cheers > > Dave > > > > > > > > On 14 Nov 2014, at 08:47, Tiemo Hollmann TB wrote: > > > >> By accident I noticed that I don't have a return at a certain point of a > >> function but nevertheless the value was passed back without a return to > the > >> calling handler. > >> > >> I can reproduce the issue to this scenario: > >> > >> > >> > >> --Btn script > >> > >> on mouseUp > >> > >> put foo1() into myVar1 -- I get the value "Test" > >> > >> end mouseUp > >> > >> > >> > >> --script in stack > >> > >> function foo1 > >> > >> put foo2() into myVar2 -- no return in this function > >> > >> end foo1 > >> > >> > >> > >> function foo2 > >> > >> return "Test" -- return here in second level > >> > >> end foo2 > >> > >> > >> > >> Up to now I thought that every function has to have a return statement > if > >> you want anything getting back. > >> > >> Can somebody explain to me what is going on here? How is the value from > >> function foo2 passed back to the mouseup handler, even with different > var > >> names? > >> > >> Is this a bug or just an accident or even wanted? > >> > >> Thanks for enlightening > >> > >> Tiemo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri Nov 14 12:41:37 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Nov 2014 10:41:37 -0700 Subject: how are variables passed from functions? In-Reply-To: References: <000d01cfffe7$acaef870$060ce950$@de> <98CBF079-37C3-4D92-9E89-FF791E9FF5DE@lacscentre.co.uk> Message-ID: The value returned in the previous scenario (basing the return on 10 being the number used) is 20. The final doubling disappears. On Fri, Nov 14, 2014 at 10:40 AM, Mike Bonner wrote: > For anything other than this simple case, the returns matter. > > Take for example > > local tvar1,tvar2,tvar3 > on mouseUp > --get a random value to use > put random(10) into tvar1 > put "Start Value: " & tvar1 & cr & "Final Return:" & myfunc1(tvar1) & > cr & tvar3 > end mouseUp > > function myfunc1 pvar > put 2 * myfunc2(pvar) into tVar2 > return tvar2 > > end myfunc1 > > function myfunc2 pvar > put pvar * 2 into tvar3 > return tvar3 > end myfunc2 > > With this function, if the random number is 10, the value returned from > the function is 40, doubled twice once by each function. > the double in the 3rd function happens PRIOR to the execution of the > second function (the end of the chain is first working backwards) > So tvar3 (in the last function) is the first double, so the value in tvar3 > will be 20. Then the other double is done and placed into tvar2. So the > value returned will be 40. > > If you remove the return from myfunc1, the final doubling isn't returned. > The value of tvar2 IS 40, but its never returned, so you end up with an > unanticipated return, the return (which as discovered earlier) is "the > result" from the whole chain. Since the only actual result is from > muFunc2, that is the value that ends up being returned to the original > function call. > > On Fri, Nov 14, 2014 at 10:02 AM, Jacques Hausser > wrote: > >> Yes, it is ?the Result?, I just checked it - good hint, Dave ! didn?t >> think about that before? >> >> Jacques >> >> > Le 14 nov. 2014 ? 17:56, Dave Cragg a >> ?crit : >> > >> > Tiemo, >> > >> > Interesting. It looks like functions return the value of "the result" >> in the absence of a return statement. >> > >> > Other languages would probably return "void" or "null" or something >> similar, and we might expect Livecode to return "empty". >> > >> > I've no opinion on whether it is a bug or not, but I think it is >> probably better to specifically return a value from a function. We don't >> always have control over what appears in "the result". >> > >> > Cheers >> > Dave >> > >> > >> > >> > On 14 Nov 2014, at 08:47, Tiemo Hollmann TB >> wrote: >> > >> >> By accident I noticed that I don't have a return at a certain point of >> a >> >> function but nevertheless the value was passed back without a return >> to the >> >> calling handler. >> >> >> >> I can reproduce the issue to this scenario: >> >> >> >> >> >> >> >> --Btn script >> >> >> >> on mouseUp >> >> >> >> put foo1() into myVar1 -- I get the value "Test" >> >> >> >> end mouseUp >> >> >> >> >> >> >> >> --script in stack >> >> >> >> function foo1 >> >> >> >> put foo2() into myVar2 -- no return in this function >> >> >> >> end foo1 >> >> >> >> >> >> >> >> function foo2 >> >> >> >> return "Test" -- return here in second level >> >> >> >> end foo2 >> >> >> >> >> >> >> >> Up to now I thought that every function has to have a return statement >> if >> >> you want anything getting back. >> >> >> >> Can somebody explain to me what is going on here? How is the value from >> >> function foo2 passed back to the mouseup handler, even with different >> var >> >> names? >> >> >> >> Is this a bug or just an accident or even wanted? >> >> >> >> Thanks for enlightening >> >> >> >> Tiemo >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From bonnmike at gmail.com Fri Nov 14 12:46:45 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Nov 2014 10:46:45 -0700 Subject: can't put into field by id? In-Reply-To: <8D1CDE5BB45FF41-E6C-2250A@webmail-vm101.sysops.aol.com> References: <8D1CDE5BB45FF41-E6C-2250A@webmail-vm101.sysops.aol.com> Message-ID: Things like this also work.. put the long id of (tFieldName) where tFieldname contains "field myfield" though, to be safe it should contain --field "myfield" on the off chance that myfield is another variable name. As long as you force evaluation of the var with parens, life gets easier. On Thu, Nov 13, 2014 at 10:48 PM, wrote: > I think what the good doctor wanted to do was this: > > > > on mouseUp > put "xx" into myVar > put the long id of fld (word 1 of myVar) into theFld > do "put gizmo into" && theFld > end mouseUp > > > Now "gizmo" is placed into, er, the field > > > Craig > > put the long id of fld (word 1 of myVar) into theFld > put "gizmo" into theFld > > > > > > -----Original Message----- > From: Dr. Hawkins > To: How to use LiveCode > Sent: Thu, Nov 13, 2014 6:54 pm > Subject: can't put into field by id? > > > With a sequence like, > > put the long id of fld (word 1 of myVar) into theFld > put "gizmo" into theFld > > I end up with "gizmo" in the variable theFld, rather than the field it > references. > > Am I doing something wrong, or does this just not work for fields (7.0-RC2) > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Nov 14 12:58:33 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Nov 2014 09:58:33 -0800 Subject: hair-pulling frustration In-Reply-To: References: <54650D76.4020504@livecode.com> Message-ID: On Fri, Nov 14, 2014 at 9:21 AM, Peter Haworth wrote: > revDataFromQuery(,,17,"SELECT * FROM vader_darth______001_dna;") Somehow, an earlier version of my reply was sent. Here's what I meant to send. Knowing that you used the message box makes a big difference, Everyone who has checked this out used a script. I was surprised your statement worked at all in the message box since revDataFromQuery is a function and seems like it should need a "put" or "get" or "set, so I tried various LC versions, with/without semicolon, with/without "put", all in the message box. LC 5.5 All combinations of put/semicolon worked. LC 6.1 No put, with semicolon, failed "error executing expression" No put, no semicolon, worked With put, with semicolon, failed "can't find handler" With put, no semicolon, failed "can't find handler" LC 6.6 No put, with semicolon, failed "error executing expression" No put, no semicolon, worked With put, with semicolon, failed "can't find handler" With put, no semicolon, worked If it had something to do with the new SQLite library, there would have been an SQL error message but it never gets as far as executing revDataFromQuery. My feeling is that something changed in the message box parsing routines and the semicolon is being taken as a separator between two statements. However, bottom line is that all works fine in a script with or without the semicolon. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Fri Nov 14 13:05:45 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Nov 2014 10:05:45 -0800 Subject: how are variables passed from functions? In-Reply-To: <000d01cfffe7$acaef870$060ce950$@de> References: <000d01cfffe7$acaef870$060ce950$@de> Message-ID: Hi Tiemo, That seems like an unexpected behavior to me but definitely good to know. I've christened this behavior "the point of no return"! I'm triyng to wrap my head around what might happen in this scenario with a recursive function. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 14, 2014 at 12:47 AM, Tiemo Hollmann TB wrote: > By accident I noticed that I don't have a return at a certain point of a > function but nevertheless the value was passed back without a return to the > calling handler. > > I can reproduce the issue to this scenario: > > > > --Btn script > > on mouseUp > > put foo1() into myVar1 -- I get the value "Test" > > end mouseUp > > > > --script in stack > > function foo1 > > put foo2() into myVar2 -- no return in this function > > end foo1 > > > > function foo2 > > return "Test" -- return here in second level > > end foo2 > > > > Up to now I thought that every function has to have a return statement if > you want anything getting back. > > Can somebody explain to me what is going on here? How is the value from > function foo2 passed back to the mouseup handler, even with different var > names? > > Is this a bug or just an accident or even wanted? > > Thanks for enlightening > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Nov 14 13:28:26 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Nov 2014 12:28:26 -0600 Subject: how are variables passed from functions? In-Reply-To: <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> Message-ID: <546649CA.2020902@hyperactivesw.com> On 11/14/2014, 9:12 AM, dunbarx at aol.com wrote: > I don't see any anomaly here. Since the intermediate function calls yet another function, it never needs to "close", that is, return, a value. It is a pass-through entity, a card carrying member of the chain of handler calls. Step through this variation: > > > > on mouseUp > put double(2) into myVar1 > answer myVar1 > end mouseUp > > > function double var > put redouble(var * 2) into myVar2 -- no return in this function > end double > > > function redouble var > return var * 2 > end redouble > > > The "8" you get is processed sequentially through the handler path, just like bacon. Boy, I don't know. It seems wrong to me. The scope of a variable is supposed to be handler-specific unless declared otherwise, and "myVar2" should not be available outside of double(). -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Nov 14 13:37:29 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Nov 2014 10:37:29 -0800 Subject: Datagrid questions Message-ID: Working with a datagrid table after a break from them for a while. I have a couple of situations where I need to adjust the settings of a specific "cell" (line/column) in the datagrid depending on data in other cells. In the first case, I have a customized column with a button in it. In some data situations, I need to change the button's icon but not sure the best place to do that. I could do it in FillInData but can't figure out how to get hold of the data in the datagrid that determines what the icon should be. Or maybe there's a better way. In the second case, I have a column whose dgColumnIsEditable set to true but I need to disable editing it depending on the content of another cell in the datagrid. Any pointers appreciated. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From jacque at hyperactivesw.com Fri Nov 14 13:38:13 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Nov 2014 12:38:13 -0600 Subject: hair-pulling frustration In-Reply-To: References: <54650D76.4020504@livecode.com> Message-ID: <54664C15.5010900@hyperactivesw.com> On 11/14/2014, 11:58 AM, Peter Haworth wrote: > My feeling is that something changed in the message box parsing routines > and the semicolon is being taken as a separator between two statements. A semicolon in any script is interpreted as a line ending, except when within quotation marks. If the example failed (where the semicolon is within the quotes) then that would be a problem with the scripts that interpret the message box content. That said, it is very tricky to implement code correctly in all cases from the message box because of the "do" statements and other contortions it needs to use. Ideally, tests should always be conducted from the script editor where the intermediate interpretive layer isn't present. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr_mc at cogapp.com Fri Nov 14 13:34:19 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 14 Nov 2014 18:34:19 +0000 Subject: BBEdit Language Module for LiveCode In-Reply-To: References: <5461233B.3070603@hindu.org> Message-ID: <54664B2B.3060501@cogapp.com> Hi Brahmanathaswami Funny coincidence, it's just what I'm looking at now. I found this one a few days ago https://github.com/tumble/bbedit-livescript and I've started to add to it (mainly to fix the function scanner). It's sort of working now, but I think the next thing is to stop adding keywords manually, and instead take a dump out of the source code. Then I was going to try a pull request to the original maintainer (I'm also trying to use this get the hang of using Git, after years of subversion). If you want to have a go yourself, my work in progress is here https://github.com/presstoexit/bbedit-livescript best Ben On 11/11/2014 06:56, Kay C Lan wrote: > Trevor DeVore created a language module a while back but I think it broke > at v9 of BBEdit. Not sure if he's updated it. > > On Tue, Nov 11, 2014 at 4:42 AM, Brahmanathaswami wrote: > >> Has anyone developed a codeless (ergo livecode-language.plist) language >> module for BBEdit? >> >> BBedit 11 came out and though it costs $... >> >> I've never really been happy with anything else I have tried. >> >> (Sublime2, Atom etc) >> >> If not I will get to work on my own. >> >> Is there an existing convention for the 4ltr application code for Livecode? >> >> lvcd >> >> # would seem to be the obvious default if the global application name >> space has this as an available option. i.e. not in used by some other >> software (cc support on this one as they may have a vested interest in >> getting this right) >> >> Swasti Astu, Be Well! >> Brahmanathaswami >> >> Kauai's Hindu Monastery >> www.HimalayanAcademy.com From jacque at hyperactivesw.com Fri Nov 14 13:47:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Nov 2014 12:47:58 -0600 Subject: hair-pulling frustration In-Reply-To: References: <5465013C.5000808@hyperactivesw.com> <54651E3F.8070704@hyperactivesw.com> Message-ID: <54664E5E.60802@hyperactivesw.com> On 11/13/2014, 10:26 PM, Geoff Canyon wrote: > On Thu, Nov 13, 2014 at 3:10 PM, J. Landman Gay > wrote: > >> I blame myself for the omissions (except when Richard G. forgives me.) :) > > > "Bless me Richard, for I have sinned. It has been two weeks since my last > bug report. Since then I wrote three undocumented functions and one 80-line > behemoth that was filled with hard-coded situation-specific functionality. > I also used repeat-with when I should have used repeat-for-each twice." > > "File two bug reports and say ten Our Kevins." LOL! Okay. Our Kevin, who art at RunRev, Hollowed be thy frame By coding done Yet still undone in engine, As it is in IDE. Give us this day our weekly upgrade And forgive us our complaints As we forgive the multitude of releases. And lead us not to false expectations, But deliver us from errors, For thine is the vision, The power, and the glory For all generations. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Nov 14 14:35:05 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 19:35:05 +0000 Subject: how are variables passed from functions? In-Reply-To: <003201d00026$f8489d10$e8d9d730$@de> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> Message-ID: Not sure what you are asking, but here is how functions work. As soon as the script execution encounters a return command, the function terminates and returns control to the calling handler. Nothing that comes after the return in the function is executed. Now here is what weirds me out: on mouseUp put test1() end mouseUp function test1 put "blah" into myVar put test2() into myVar2 put test3() into myVar3 end test1 function test2 return "blah2" end test2 function test3 return "blah3" end test3 This produces ?blah3?. Really? So? the last value *ANY* function returns becomes the value returned of any function that called it unless specified otherwise. Is this the intended behavior? That is frightening and unnerving. Bob S > On Nov 14, 2014, at 08:20 , Tiemo Hollmann TB wrote: > > Hi Craig, > perhaps I didn't expressed myself correct, I'm not a native speaker. > For me the result seems the same, if I put a return myVar2 at the end of function foo1 or not (see below). The intermediate function is terminated AFTER the call of the second function at the end. > My original script works without a return in foo1. My question was, if it is a good or bad practice if I would add this return, just for "safety reasons" to be sure anything is returned in case I would change anything, e.g. I would replace the call of function foo2 by any other structure. > Tiemo > > --Btn script > on mouseUp > put foo1() into myVar1 > end mouseUp > > --script in stack > function foo1 > put foo2() into myVar2 > return myVar2 -- return statement yes or no? > end foo1 > > function foo2 > return "Test" > end foo2 From bobsneidar at iotecdigital.com Fri Nov 14 14:37:39 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 19:37:39 +0000 Subject: how are variables passed from functions? In-Reply-To: <546649CA.2020902@hyperactivesw.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <546649CA.2020902@hyperactivesw.com> Message-ID: <5E25C7D6-0AD0-4898-8F89-87642DAFCEBC@iotecdigital.com> I agree with you Jacque. I think the only workaround is when creating a function, immediately enter the return command before scripting anything else. This will prevent the inadvertent exclusion of a return command Bob S On Nov 14, 2014, at 10:28 , J. Landman Gay > wrote: Boy, I don't know. It seems wrong to me. The scope of a variable is supposed to be handler-specific unless declared otherwise, and "myVar2" should not be available outside of double(). -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Nov 14 14:39:49 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 19:39:49 +0000 Subject: hair-pulling frustration In-Reply-To: <54664E5E.60802@hyperactivesw.com> References: <5465013C.5000808@hyperactivesw.com> <54651E3F.8070704@hyperactivesw.com> <54664E5E.60802@hyperactivesw.com> Message-ID: <4BA51906-670A-40ED-A08D-DFFCB7B83961@iotecdigital.com> Hah hah! I would have used ?For all permutations? instead! Bob S On Nov 14, 2014, at 10:47 , J. Landman Gay > wrote: LOL! Okay. Our Kevin, who art at RunRev, Hollowed be thy frame By coding done Yet still undone in engine, As it is in IDE. Give us this day our weekly upgrade And forgive us our complaints As we forgive the multitude of releases. And lead us not to false expectations, But deliver us from errors, For thine is the vision, The power, and the glory For all generations. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Fri Nov 14 14:52:35 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 19:52:35 +0000 Subject: itemDel not resetting on entering routines? In-Reply-To: <931C7B29-5EC6-4F26-822B-524C9637D291@hyperactivesw.com> References: <54654C3D.1070709@hyperactivesw.com> <931C7B29-5EC6-4F26-822B-524C9637D291@hyperactivesw.com> Message-ID: <52188EB0-0D28-4214-8B9F-873964658873@iotecdigital.com> I just stay embarrassed. It?s easier that way. Bob S On Nov 13, 2014, at 19:50 , J. Landman Gay > wrote: LOL Better you than me. :-) We've all embarrassed ourselves here, it's sort of an initiation thing. From bobsneidar at iotecdigital.com Fri Nov 14 14:56:21 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 19:56:21 +0000 Subject: Keyboard Shortcuts in Menus In-Reply-To: <5464CE68.6030709@fourthworld.com> References: <5464CE68.6030709@fourthworld.com> Message-ID: <348E55DA-2559-4802-B087-B1058F446655@iotecdigital.com> Actually, Macs can use either the control, command (apple) or option key with shift modifier for some of them as well. On Windows, the command key is actually the windows key. Not certain if it can be used as a modifier. Bob S On Nov 13, 2014, at 07:29 , Richard Gaskin > wrote: Control+ is widely used these days on most OSes, and is the only shortcut method used on Mac (though of course on Mac we call it the "Command key" or "Apple key"). This most commonly allows one key combination to invoke an action, so once learned it's usually the one people use. From bobsneidar at iotecdigital.com Fri Nov 14 15:01:20 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 20:01:20 +0000 Subject: Datagrid : showing a row by auto scrolling In-Reply-To: References: Message-ID: <4821693D-3F78-450B-AF15-4590257FECA6@iotecdigital.com> put 95 into lSelectedLine set the hilitedLine of group myDatagrid to lSelectedLine ? alternatively use index. Unless you are manually populating the data grid, this will autoscroll to the selected index/line. Bob S > On Nov 12, 2014, at 18:28 , Glen Bojsza wrote: > > I guess the title is hard to describe what I am trying to do. > > Assume a user makes a selection by selecting a choice in a drop down list. > > Based on the selection the associated line in the datagrid is located. > > But the datagrid has 100+ lines and only shows 12 lines at a time unless > scrolled and the associated line (in this example it is line number 37). > > I would like the datagrid to show line number 37 in the visible rows at row > 6... in other words it looks like the datagrid was scrolled down to line 37 > (keeping the order of the rows the same). > > The datagrid doesn't have to visibly scroll just show the selected row (37) > at the position of the 6th row in the visible table with the rows on either > side of it. > > I understand if you have questions about this question :-) > > regards, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Nov 14 15:09:30 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Nov 2014 12:09:30 -0800 Subject: hair-pulling frustration In-Reply-To: <54664C15.5010900@hyperactivesw.com> References: <54650D76.4020504@livecode.com> <54664C15.5010900@hyperactivesw.com> Message-ID: Right, it looks like something in the message box message box interpretation scripts changed between the various releases I tested. I guess I should file a bug report. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 14, 2014 at 10:38 AM, J. Landman Gay wrote: > On 11/14/2014, 11:58 AM, Peter Haworth wrote: > >> My feeling is that something changed in the message box parsing routines >> and the semicolon is being taken as a separator between two statements. >> > > A semicolon in any script is interpreted as a line ending, except when > within quotation marks. If the example failed (where the semicolon is > within the quotes) then that would be a problem with the scripts that > interpret the message box content. > > That said, it is very tricky to implement code correctly in all cases from > the message box because of the "do" statements and other contortions it > needs to use. Ideally, tests should always be conducted from the script > editor where the intermediate interpretive layer isn't present. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Fri Nov 14 15:10:20 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Fri, 14 Nov 2014 10:10:20 -1000 Subject: BBEdit Language Module for LiveCode In-Reply-To: <54664B2B.3060501@cogapp.com> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> Message-ID: <546661AC.3010408@hindu.org> OK will try it... I took a course on GitHub from Lynda.com... most of it left my head a few days after taking the course (instructor was going really fast!) and setting up my repositories (hehe) Andre suggested this: http://git-scm.com/book/en/v2 free... I keep it open in Calibre and it helps.. you can just refresh yourself right away on what command you need to run of you come up against the proverbial blank wall on "what now" of where there are many in GIT. But if I make any substantive changes (I just right clicked to download the file for now) I will check in a new branch -- I think that would be the proper thing to do... I need to go back to Git School... for the "best collaborative practices" class Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Ben Rubinstein wrote: > Hi Brahmanathaswami > > Funny coincidence, it's just what I'm looking at now. > > I found this one a few days ago > https://github.com/tumble/bbedit-livescript > > and I've started to add to it (mainly to fix the function scanner). > It's sort of working now, but I think the next thing is to stop adding > keywords manually, and instead take a dump out of the source code. > Then I was going to try a pull request to the original maintainer (I'm > also trying to use this get the hang of using Git, after years of > subversion). > > If you want to have a go yourself, my work in progress is here > https://github.com/presstoexit/bbedit-livescript > > best > > Ben From mikedoub at gmail.com Fri Nov 14 15:15:35 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 14 Nov 2014 15:15:35 -0500 Subject: [ANN] - MaterLibrary Version 8 is available Message-ID: <546662E7.4040004@gmail.com> Enjoy! -= Mike https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 Release 8 * Added reference page that incudes an ASCII table and Livecode Error Codes (thanks to Peter M. Bingham for the materials and idea.) * Updated the version check to let you know if you are current rather than just being silent. * Updated the filtering to allow you to select the handlers to be inserted from within the filtered view * You can also override the filter to see only what handlers are selected. * The double check now occurs on each insert request, not just when nothing is selected. Release 7 * Added the following routines: __Clean __Thousands __UnThousands __Padded __Indent __MultiSortFields __ISODateTime __ISOtoSeconds __SecondsToISO __RecurseOverFolders __RelativePath __Overlap * Corrected documentation for ISOnow() * Added handler name filtering to help find routines buried in the tree, but you still need to use the tree view to select the handlers to be inserted into your library. From dochawk at gmail.com Fri Nov 14 15:22:24 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Nov 2014 12:22:24 -0800 Subject: a substack ignoring both its behavior and script Message-ID: This stubstack is now doing this on two computers, and under 7.0-RC1 and -RC2. It has had a behavior for a long time, under 5.5 and continued working under 7.0. I edited it this morning, and now it is not only ignoring the behavior, but it's own script if I give it one (i.e., an openCard handler with "breakpoint") Ultimately, I created a new button to hold the behavior, copied all of the cards to a new substack, changed away the names of the old stack & button, quit, restarted, and changed the names of the new ones to what the old had been, and finally had things working again. But those stupid PCDs are driving me nuts; I have to reset them *every* time I edit the script, or they don't stop. They seem far worse then under 7.0.0 (which I had been accidentally using), where they worked more often than not, but were still unstable and frequently needed to be reset, far more than under 5.5. And I'm still seeing the freezing of the editor window for 10-30 seconds ater having made a couple of changes. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Fri Nov 14 15:38:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Nov 2014 14:38:27 -0600 Subject: BBEdit Language Module for LiveCode In-Reply-To: <54664B2B.3060501@cogapp.com> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> Message-ID: <54666843.7070807@hyperactivesw.com> On 11/14/2014, 12:34 PM, Ben Rubinstein wrote: > Funny coincidence, it's just what I'm looking at now. > > I found this one a few days ago > https://github.com/tumble/bbedit-livescript > > and I've started to add to it (mainly to fix the function scanner). Too cool. When you guys get it figured out, gimme gimme please. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Nov 14 15:39:50 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Nov 2014 14:39:50 -0600 Subject: hair-pulling frustration In-Reply-To: <4BA51906-670A-40ED-A08D-DFFCB7B83961@iotecdigital.com> References: <5465013C.5000808@hyperactivesw.com> <54651E3F.8070704@hyperactivesw.com> <54664E5E.60802@hyperactivesw.com> <4BA51906-670A-40ED-A08D-DFFCB7B83961@iotecdigital.com> Message-ID: <54666896.2080703@hyperactivesw.com> On 11/14/2014, 1:39 PM, Bob Sneidar wrote: > Hah hah! I would have used ?For all permutations? instead! Ooh. Like. It is revised: Our Kevin, who art at RunRev, Hollowed be thy frame By coding done Yet still undone in engine, As it is in IDE. Give us this day our weekly upgrade And forgive us our complaints As we forgive the multitude of releases. And lead us not to false expectations, But deliver us from errors, For thine is the vision, The power, and the glory For all permutations. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Nov 14 15:50:25 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Nov 2014 14:50:25 -0600 Subject: a substack ignoring both its behavior and script In-Reply-To: References: Message-ID: <54666B11.5030801@hyperactivesw.com> On 11/14/2014, 2:22 PM, Dr. Hawkins wrote: > This stubstack is now doing this on two computers, and under 7.0-RC1 and > -RC2. > > It has had a behavior for a long time, under 5.5 and continued working > under 7.0. > > I edited it this morning, and now it is not only ignoring the behavior, but > it's own script if I give it one (i.e., an openCard handler with > "breakpoint") That happens if you change the name of the stack that contains the behavior button. Could that have happened during your edit? I did that once. Change it back and it works again. > But those stupid PCDs are driving me nuts; PCD? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Fri Nov 14 15:58:10 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 14 Nov 2014 15:58:10 -0500 Subject: how are variables passed from functions? In-Reply-To: References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> Message-ID: <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> Bob. This seems right. The return in test2 "returns" to the test1 handler, and the next line in that handler executes, going on to test3. This executes, "returning" to test1 as well, and on up to "mouseUp". In other words, the return in test2 does not know about the fact that the whole thing was started in the mouseUp handler. It would cut off any additional lines of code within itself, but not in test1. Craig on mouseUp put test1() end mouseUp function test1 put "blah" into myVar put test2() into myVar2 put test3() into myVar3 end test1 function test2 return "blah2" end test2 function test3 return "blah3" end test3 -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Fri, Nov 14, 2014 2:36 pm Subject: Re: how are variables passed from functions? Not sure what you are asking, but here is how functions work. As soon as the script execution encounters a return command, the function terminates and returns control to the calling handler. Nothing that comes after the return in the function is executed. Now here is what weirds me out: on mouseUp put test1() end mouseUp function test1 put "blah" into myVar put test2() into myVar2 put test3() into myVar3 end test1 function test2 return "blah2" end test2 function test3 return "blah3" end test3 This produces ?blah3?. Really? So? the last value *ANY* function returns becomes the value returned of any function that called it unless specified otherwise. Is this the intended behavior? That is frightening and unnerving. Bob S > On Nov 14, 2014, at 08:20 , Tiemo Hollmann TB wrote: > > Hi Craig, > perhaps I didn't expressed myself correct, I'm not a native speaker. > For me the result seems the same, if I put a return myVar2 at the end of function foo1 or not (see below). The intermediate function is terminated AFTER the call of the second function at the end. > My original script works without a return in foo1. My question was, if it is a good or bad practice if I would add this return, just for "safety reasons" to be sure anything is returned in case I would change anything, e.g. I would replace the call of function foo2 by any other structure. > Tiemo > > --Btn script > on mouseUp > put foo1() into myVar1 > end mouseUp > > --script in stack > function foo1 > put foo2() into myVar2 > return myVar2 -- return statement yes or no? > end foo1 > > function foo2 > return "Test" > end foo2 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Nov 14 16:13:56 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Nov 2014 13:13:56 -0800 Subject: a substack ignoring both its behavior and script In-Reply-To: <54666B11.5030801@hyperactivesw.com> References: <54666B11.5030801@hyperactivesw.com> Message-ID: On Fri, Nov 14, 2014 at 12:50 PM, J. Landman Gay wrote: > On 11/14/2014, 2:22 PM, Dr. Hawkins wrote: > >> This stubstack is now doing this on two computers, and under 7.0-RC1 and >> -RC2. >> >> It has had a behavior for a long time, under 5.5 and continued working >> under 7.0. >> >> I edited it this morning, and now it is not only ignoring the behavior, >> but >> it's own script if I give it one (i.e., an openCard handler with >> "breakpoint") >> > > That happens if you change the name of the stack that contains the > behavior button. Could that have happened during your edit? I did that > once. Change it back and it works again. > No; it's been "mcp" since day1 > But those stupid PCDs are driving me nuts; >> > > PCD? Pirate Code Dots. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Nov 14 16:18:33 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Nov 2014 13:18:33 -0800 Subject: hair-pulling frustration In-Reply-To: <54664C15.5010900@hyperactivesw.com> References: <54650D76.4020504@livecode.com> <54664C15.5010900@hyperactivesw.com> Message-ID: On Fri, Nov 14, 2014 at 10:38 AM, J. Landman Gay wrote: > A semicolon in any script is interpreted as a line ending, except when > within quotation marks. If the example failed (where the semicolon is > within the quotes) then that would be a problem with the scripts that > interpret the message box content. > I *initially* found this in a script, which worked fine once I removed the semicolon (which was inside the parenthesis). I removed the semicolon, and it began working. Also, I always have strict compilation on. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Fri Nov 14 16:19:32 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Fri, 14 Nov 2014 11:19:32 -1000 Subject: BBEdit Language Module for LiveCode In-Reply-To: <54664B2B.3060501@cogapp.com> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> Message-ID: <546671E4.8070106@hindu.org> I got it working and code folding too! I'm going here for my starter kit as this is three hours old and I think it is the one ben is working on and not Jackie...I will send you off list... I don't have time to mess with Git Hub right now, because the file name is wrong "LiveScript.plist" and I don't want to fork it to "LiveCode.plist" (all over my little GIT head...) Locally: I changed the file name to "LiveCode.plist" changes the keys for the language name and four letter designator and extension in the .plist to LiveCode LvCd .lc and added this block (does not work to add these statement keys inside the existing language features node... ... that breaks it dunno why Language Features Open Statement Blocks command function on Close Statement Blocks end Then of course in your BBEDit prefs you add livecode with extension lc now you get code folding....two anomalies: the code folding arrow is *below* the opening command statement line and the end of statement line is folded up also into the collapsed node. But it seems not to be greedy so when you see: command setDataForPage pURL, pContent ... is actually command setDataForPage pURL, pContent ... end setDataForPage Fantastic... good bye Sublime Text2 Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Ben Rubinstein wrote: > > If you want to have a go yourself, my work in progress is here > https://github.com/presstoexit/bbedit-livescript From dochawk at gmail.com Fri Nov 14 16:19:40 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Nov 2014 13:19:40 -0800 Subject: itemDel not resetting on entering routines? In-Reply-To: <52188EB0-0D28-4214-8B9F-873964658873@iotecdigital.com> References: <54654C3D.1070709@hyperactivesw.com> <931C7B29-5EC6-4F26-822B-524C9637D291@hyperactivesw.com> <52188EB0-0D28-4214-8B9F-873964658873@iotecdigital.com> Message-ID: On Fri, Nov 14, 2014 at 11:52 AM, Bob Sneidar wrote: > I just stay embarrassed. It?s easier that way. > No need to stay embarrassed; there's always something new around the corner. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Fri Nov 14 16:33:51 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Nov 2014 15:33:51 -0600 Subject: a substack ignoring both its behavior and script In-Reply-To: References: <54666B11.5030801@hyperactivesw.com> Message-ID: <5466753F.5040409@hyperactivesw.com> On 11/14/2014, 3:13 PM, Dr. Hawkins wrote: >> That happens if you change the name of the stack that contains the >> >behavior button. Could that have happened during your edit? I did that >> >once. Change it back and it works again. >> > > No; it's been "mcp" since day1 > > >> >But those stupid PCDs are driving me nuts; >>> >> >> > >> >PCD? > > Pirate Code Dots. So they have a name now. :) I wish I could watch over your shoulder and see what you do differently to cause this stuff. I'm at a loss. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Fri Nov 14 16:38:03 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Fri, 14 Nov 2014 11:38:03 -1000 Subject: BBEdit Language Module for LiveCode In-Reply-To: <54664B2B.3060501@cogapp.com> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> Message-ID: <5466763B.9010405@hindu.org> hhmmm do think we need to set up our own repository... LiveScript is a different language.. shall I do that? I could would instantiate my latest version to start up... it would be named "LiveCode.plist" BR Ben Rubinstein wrote: > and I've started to add to it (mainly to fix the function scanner). > It's sort of working now, but I think the next thing is to stop adding > keywords manually, and instead take a dump out of the source code. > Then I was going to try a pull request to the original maintainer (I'm > also trying to use this get the hang of using Git, after years of > subversion). > > If you want to have a go yourself, my work in progress is here > https://github.com/presstoexit/bbedit-livescript From dochawk at gmail.com Fri Nov 14 16:43:25 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Nov 2014 13:43:25 -0800 Subject: a substack ignoring both its behavior and script In-Reply-To: <5466753F.5040409@hyperactivesw.com> References: <54666B11.5030801@hyperactivesw.com> <5466753F.5040409@hyperactivesw.com> Message-ID: On Fri, Nov 14, 2014 at 1:33 PM, J. Landman Gay wrote: > So they have a name now. :) > They've needed one, and what could be more appropriate . . . > I wish I could watch over your shoulder and see what you do differently to > cause this stuff. I'm at a loss. > Bugs and I have a very longstanding relationship. It appears that they know that it's me . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sundown at pacifier.com Fri Nov 14 16:55:57 2014 From: sundown at pacifier.com (JB) Date: Fri, 14 Nov 2014 13:55:57 -0800 Subject: [ANN] - MaterLibrary Version 8 is available In-Reply-To: <546662E7.4040004@gmail.com> References: <546662E7.4040004@gmail.com> Message-ID: <0598EBF2-68DA-4069-889F-5CEE811188DB@pacifier.com> Thank you, Mike! You did a very nice job on it. John Balgenorth On Nov 14, 2014, at 12:15 PM, Michael Doub wrote: > Enjoy! > -= Mike > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > > > Release 8 > * Added reference page that incudes an ASCII table and Livecode Error Codes > (thanks to Peter M. Bingham for the materials and idea.) > * Updated the version check to let you know if you are current rather than just being silent. > * Updated the filtering to allow you to select the handlers to be inserted from within the filtered view > * You can also override the filter to see only what handlers are selected. > * The double check now occurs on each insert request, not just when nothing is selected. > > Release 7 > * Added the following routines: > __Clean > __Thousands > __UnThousands > __Padded > __Indent > __MultiSortFields > __ISODateTime > __ISOtoSeconds > __SecondsToISO > __RecurseOverFolders > __RelativePath > __Overlap > * Corrected documentation for ISOnow() > * Added handler name filtering to help find routines buried in the tree, but you still need to use the > tree view to select the handlers to be inserted into your library. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Nov 14 17:24:24 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Nov 2014 14:24:24 -0800 Subject: a substack ignoring both its behavior and script In-Reply-To: References: <54666B11.5030801@hyperactivesw.com> Message-ID: It would help if you could cut and past the behavior property value into your next post, plus the name of the object that has the behavior, and perhaps the message box output of "put exists()" Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 14, 2014 at 1:13 PM, Dr. Hawkins wrote: > On Fri, Nov 14, 2014 at 12:50 PM, J. Landman Gay > > wrote: > > > On 11/14/2014, 2:22 PM, Dr. Hawkins wrote: > > > >> This stubstack is now doing this on two computers, and under 7.0-RC1 and > >> -RC2. > >> > >> It has had a behavior for a long time, under 5.5 and continued working > >> under 7.0. > >> > >> I edited it this morning, and now it is not only ignoring the behavior, > >> but > >> it's own script if I give it one (i.e., an openCard handler with > >> "breakpoint") > >> > > > > That happens if you change the name of the stack that contains the > > behavior button. Could that have happened during your edit? I did that > > once. Change it back and it works again. > > > > No; it's been "mcp" since day1 > > > > But those stupid PCDs are driving me nuts; > >> > > > > PCD? > > > Pirate Code Dots. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Nov 14 17:26:17 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Nov 2014 14:26:17 -0800 Subject: BBEdit Language Module for LiveCode In-Reply-To: <5466763B.9010405@hindu.org> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <5466763B.9010405@hindu.org> Message-ID: Right, you need .rev and .livecode as the recognized extensions. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 14, 2014 at 1:38 PM, Brahmanathaswami wrote: > hhmmm do think we need to set up our own repository... LiveScript is a > different language.. > > shall I do that? > > I could would instantiate my latest version to start up... > > it would be named "LiveCode.plist" > > > BR > > Ben Rubinstein wrote: > >> and I've started to add to it (mainly to fix the function scanner). It's >> sort of working now, but I think the next thing is to stop adding keywords >> manually, and instead take a dump out of the source code. Then I was going >> to try a pull request to the original maintainer (I'm also trying to use >> this get the hang of using Git, after years of subversion). >> >> If you want to have a go yourself, my work in progress is here >> https://github.com/presstoexit/bbedit-livescript >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Nov 14 17:28:32 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 14 Nov 2014 14:28:32 -0800 Subject: hair-pulling frustration In-Reply-To: References: <54650D76.4020504@livecode.com> <54664C15.5010900@hyperactivesw.com> Message-ID: Can you send us the relevant script lines? So far, it has worked in my script with or without semicolons in various versions from 5.5 and up in my testing so there must be something different in your script and mine. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 14, 2014 at 1:18 PM, Dr. Hawkins wrote: > On Fri, Nov 14, 2014 at 10:38 AM, J. Landman Gay > > wrote: > > > A semicolon in any script is interpreted as a line ending, except when > > within quotation marks. If the example failed (where the semicolon is > > within the quotes) then that would be a problem with the scripts that > > interpret the message box content. > > > > I *initially* found this in a script, which worked fine once I removed the > semicolon (which was inside the parenthesis). I removed the semicolon, and > it began working. > > Also, I always have strict compilation on. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Nov 14 18:11:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 23:11:15 +0000 Subject: Drag text from locked field Message-ID: <33381C34-BF66-4853-84D5-AF2948076DBB@iotecdigital.com> I suspect the answer is no, but is there a way to drag text from a locked field? So far it seems not. I can probably unlock the field on a mouseDown event and relic it on a mouseUp, but that is getting ugly. I need to be able to select and drag text from a field but not allow editing. Bob S From bobsneidar at iotecdigital.com Fri Nov 14 18:12:22 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 23:12:22 +0000 Subject: Drag text from locked field In-Reply-To: <33381C34-BF66-4853-84D5-AF2948076DBB@iotecdigital.com> References: <33381C34-BF66-4853-84D5-AF2948076DBB@iotecdigital.com> Message-ID: Also, I need to be able to select text in a locked field. Seems this is also not possible. Bob S > On Nov 14, 2014, at 15:11 , Bob Sneidar wrote: > > I suspect the answer is no, but is there a way to drag text from a locked field? So far it seems not. I can probably unlock the field on a mouseDown event and relic it on a mouseUp, but that is getting ugly. I need to be able to select and drag text from a field but not allow editing. > > Bob S > > From bobsneidar at iotecdigital.com Fri Nov 14 18:28:47 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Nov 2014 23:28:47 +0000 Subject: how are variables passed from functions? In-Reply-To: <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> Message-ID: <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> I guess what I am saying is that since test1 did not *explicitly* return anything, the mouseUp handler should put nothing in the message box. However I am discovering that functions *implicitly* return data that the programmer did not tell them to return. Some find this ok. I find it disturbing especially if what gets returned if nothing else does is whatever the result resolved to last. That is just crazy talk! Bob S On Nov 14, 2014, at 12:58 , dunbarx at aol.com wrote: Bob. This seems right. The return in test2 "returns" to the test1 handler, and the next line in that handler executes, going on to test3. This executes, "returning" to test1 as well, and on up to "mouseUp". In other words, the return in test2 does not know about the fact that the whole thing was started in the mouseUp handler. It would cut off any additional lines of code within itself, but not in test1. Craig From jacque at hyperactivesw.com Fri Nov 14 20:46:08 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Nov 2014 19:46:08 -0600 Subject: how are variables passed from functions? In-Reply-To: <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> Message-ID: <5466B060.6040203@hyperactivesw.com> On 11/14/2014, 5:28 PM, Bob Sneidar wrote: > I guess what I am saying is that since test1 did not*explicitly* > return anything, the mouseUp handler should put nothing in the > message box. However I am discovering that functions*implicitly* > return data that the programmer did not tell them to return. I'm trying to understand how it follows any known rule of messaging. I don't see it yet. To me it looks like a bug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre.bisseret at wanadoo.fr Sat Nov 15 05:16:56 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sat, 15 Nov 2014 11:16:56 +0100 Subject: Drag text from locked field In-Reply-To: <33381C34-BF66-4853-84D5-AF2948076DBB@iotecdigital.com> References: <33381C34-BF66-4853-84D5-AF2948076DBB@iotecdigital.com> Message-ID: <5EB1920D-7A23-42F4-9860-2AB484991D88@wanadoo.fr> Le 15 nov. 2014 ? 00:11, Bob Sneidar a ?crit : > I suspect the answer is no, but is there a way to drag text from a locked field? So far it seems not. I can probably unlock the field on a mouseDown event and relic it on a mouseUp, but that is getting ugly. I need to be able to select and drag text from a field but not allow editing. > > Bob S > In the script of the locked field put the following handler : on mouseDown if the shiftKey is down then -- or controlKey or commandKey as well select the mouseLine set the dragData to value(the selectedLine) & cr end if end mouseDown best Andr? From andre.bisseret at wanadoo.fr Sat Nov 15 05:25:02 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sat, 15 Nov 2014 11:25:02 +0100 Subject: Drag text from locked field In-Reply-To: References: <33381C34-BF66-4853-84D5-AF2948076DBB@iotecdigital.com> Message-ID: <408734FC-2FDE-4606-B72E-A7A5021E4324@wanadoo.fr> Le 15 nov. 2014 ? 00:12, Bob Sneidar a ?crit : > Also, I need to be able to select text in a locked field. Seems this is also not possible. > > Bob S Normally it is possible ; I just tried it successfully ; then you can get the selectedChunk in a "selectionChanged" handler. Beware : the traversalOn property of the locked field must be set to true Andr? > > >> On Nov 14, 2014, at 15:11 , Bob Sneidar wrote: >> >> I suspect the answer is no, but is there a way to drag text from a locked field? So far it seems not. I can probably unlock the field on a mouseDown event and relic it on a mouseUp, but that is getting ugly. I need to be able to select and drag text from a field but not allow editing. >> >> Bob S >> >> > From alanstenhouse at hotmail.com Sat Nov 15 07:40:19 2014 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Sat, 15 Nov 2014 13:40:19 +0100 Subject: how are variables passed from functions? In-Reply-To: References: Message-ID: Definitely bug. This is incorrect behaviour. On 15/11/2014, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > On 11/14/2014, 5:28 PM, Bob Sneidar wrote: >> I guess what I am saying is that since test1 did not*explicitly* >> return anything, the mouseUp handler should put nothing in the >> message box. However I am discovering that functions*implicitly* >> return data that the programmer did not tell them to return. > > I'm trying to understand how it follows any known rule of messaging. I > don't see it yet. To me it looks like a bug. From jbv at souslelogo.com Sat Nov 15 08:24:33 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 15 Nov 2014 15:24:33 +0200 Subject: Interacting with html objects in a browser on mobiles Message-ID: <1c3636b4d95d8b3d47bd3cf95c28505b.squirrel@185.8.104.234> Hi list I'm trying to figure out how to interact with an html page displayed in a browser control on mobile devices... For instance, how can I trigger an LC script when clicking on a specific html object in the browser ? Apparently all revbrowser functions, commands and messages don't apply for mobiles... Thanks jbv From ambassador at fourthworld.com Sat Nov 15 08:58:24 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Nov 2014 05:58:24 -0800 Subject: How safe and feasable is it ? In-Reply-To: <7C12035A-93B1-4C1C-A882-0BBC34A990A1@kagi.com> References: <7C12035A-93B1-4C1C-A882-0BBC34A990A1@kagi.com> Message-ID: <54675C00.4050005@fourthworld.com> Kee, What asymmetrical encryption do you use with LiveCode? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com kee nethery wrote: > I have an app that passes private data from it to me. If you were to do the same (except you are going from you to your app): > > Create a public/private key. Embedded the public key in your app and use it to decrypt the symmetrical key used for the encryption of the actual data. (A public/private key encodes with one key, and decodes with another.) > > Create a hash of the stack (or script). Basically get a fingerprint of the file before you start encrypting it. Use that fingerprint to make sure that when your stack decrypts it, you got what you were sending. > > Create a unique key for each stack (or script) that you plan to encrypt. > Encode the stack (or script) with a symmetrical algorithm using that key. (A symmetrical algorithm has the same key used to encode and decode.) Symmetrical algorithms are much faster than public/private algorithms. > Convert the symmetrically encrypted data to base64. Makes it simple ASCII characters. > > Take the symmetrical key, the hash, and the file name, combine into a set of structured data, and encrypt that data using your private public/private key (the key that only lives on your computer). This is a small set of data and it will encrypt quickly. > > Convert the public/private key encrypted data to base64. Combine the two base64 sets of data into a single structured text file. > > Zip that text file and send it to your receiving stack. > > Your receiving stack would have your public key embedded in it. When it grabs the zipped up file it reverses the process: > unzip the file, > pull the two base64 sets of data apart, > un-base64 both sets of data, > use the public key to decrypt the symmetrical key, hash, and end result file name > decrypt the stack (or script) data, > name the file correctly, > fingerprint the data > compare to the fingerprint you created and sent with the file you received > If the fingerprints match, use the file. > > Not sure which algorithms are recommended these days. Know that MD5 is not recommended. You can pick really big keys since the symmetrical algorithm is quick and the public/private algorithm will be working on a very tiny set of data. > > Kee Nethery From ambassador at fourthworld.com Sat Nov 15 10:17:52 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Nov 2014 07:17:52 -0800 Subject: how are variables passed from functions? In-Reply-To: <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> References: <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> Message-ID: <54676EA0.6010008@fourthworld.com> J. Landman Gay wrote: > I'm trying to understand how it follows any known rule of messaging. > I don't see it yet. To me it looks like a bug. Agreed - reported as such: We'll either get a fix or an explanation; either would be useful. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kee at kagi.com Sat Nov 15 11:53:09 2014 From: kee at kagi.com (kee nethery) Date: Sat, 15 Nov 2014 08:53:09 -0800 Subject: How safe and feasable is it ? In-Reply-To: <54675C00.4050005@fourthworld.com> References: <7C12035A-93B1-4C1C-A882-0BBC34A990A1@kagi.com> <54675C00.4050005@fourthworld.com> Message-ID: > On Nov 15, 2014, at 5:58 AM, Richard Gaskin wrote: > > Kee, What asymmetrical encryption do you use with LiveCode? encrypt theFilePassword using rsa with public key myapppublickey just using the normal RSA algorithm for asymmetrical encryption. Kee From dan at clearvisiontech.com Sat Nov 15 12:05:12 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 15 Nov 2014 09:05:12 -0800 Subject: Mobile SDK Preference In-Reply-To: References: Message-ID: <8BD3FE98-806F-4F93-8152-02E69D13F3FC@clearvisiontech.com> When I choose Preferences and click "Mobile Support", you used to be able to click "Add Entry" and select the Xcode application and LiveCode was happy. But, with LC 6.6.4, I choose the Xcode application (version 6.1) and LC reports, "The chosen folder is not a valid iOS SDK.". What am I doing wrong? Thanks! -Dan From sean at pidigital.co.uk Sat Nov 15 12:17:46 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sat, 15 Nov 2014 17:17:46 +0000 Subject: Mobile SDK Preference In-Reply-To: <8BD3FE98-806F-4F93-8152-02E69D13F3FC@clearvisiontech.com> References: <8BD3FE98-806F-4F93-8152-02E69D13F3FC@clearvisiontech.com> Message-ID: Hi Dan, What is the exact path to the file you are referencing in the MobileSupport preference? Copy and paste it here. Bear in mind that LC6.6.4 only accepts up to Xcode 6.0. If you are trying to add XC6.1 then you will get the error message "The chosen folder is not a valid iOS SDK". All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk On 15 November 2014 17:05, Dan Friedman wrote: > When I choose Preferences and click "Mobile Support", you used to be able > to click "Add Entry" and select the Xcode application and LiveCode was > happy. But, with LC 6.6.4, I choose the Xcode application (version 6.1) > and LC reports, "The chosen folder is not a valid iOS SDK.". What am I > doing wrong? > > Thanks! > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Nov 15 12:55:46 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Nov 2014 09:55:46 -0800 Subject: how are variables passed from functions? In-Reply-To: <5466B060.6040203@hyperactivesw.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> <5466B060.6040203@hyperactivesw.com> Message-ID: <46936603669.20141115095546@ahsoftware.net> Jacque- Friday, November 14, 2014, 5:46:08 PM, you wrote: > On 11/14/2014, 5:28 PM, Bob Sneidar wrote: >> I guess what I am saying is that since test1 did not*explicitly* >> return anything, the mouseUp handler should put nothing in the >> message box. However I am discovering that functions*implicitly* >> return data that the programmer did not tell them to return. > I'm trying to understand how it follows any known rule of messaging. I > don't see it yet. To me it looks like a bug. I've only followed this thread sporadically because it's been a busy week at work, but I'm quite amused. This is the way ruby works, and if memory serves, go works the same way. The last statement executed is the current result. In fact, it's considered bad form in ruby code to include an explicit return statement at the end of a method. Xtalk has simply been ahead of its time all along. Now if LiveCode coders would simply put return statements at the end of functions where they belong there wouldn't be any confusion. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From bdrunrev at gmail.com Sat Nov 15 13:06:00 2014 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 15 Nov 2014 18:06:00 +0000 Subject: how are variables passed from functions? In-Reply-To: <46936603669.20141115095546@ahsoftware.net> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> <5466B060.6040203@hyperactivesw.com> <46936603669.20141115095546@ahsoftware.net> Message-ID: Assuming that this has been the behaviour of Metacard, Revolution, Livecode (and possibly Hypercard) for 22 years (or more), it is perhaps best just accepted as a fait accompli. If no-one has noticed this "aberrant" behaviour in those 2 (or more decades), then fixing it now might well lead to problems. IMO better for Runrev to just state emphatically that this is how things work in Livecode. Bernard On Sat, Nov 15, 2014 at 5:55 PM, Mark Wieder wrote: > I've only followed this thread sporadically because it's been a busy > week at work, but I'm quite amused. This is the way ruby works, and if > memory serves, go works the same way. The last statement executed is > the current result. In fact, it's considered bad form in ruby code to > include an explicit return statement at the end of a method. Xtalk has > simply been ahead of its time all along. > > Now if LiveCode coders would simply put return statements at the end > of functions where they belong there wouldn't be any confusion. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Sat Nov 15 13:19:06 2014 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 15 Nov 2014 10:19:06 -0800 Subject: Mobile SDK Preference Message-ID: <7331FEFE-8BAE-4F41-8AEF-B273BA8F72FA@clearvisiontech.com> Sean, Thanks for the tip! I didn't know that LC 6.6.4 wasn't compatible with XCode 6.0. I installed LC 6.7 and everyone is happy again. Thanks! -Dan > Bear in mind that LC6.6.4 only accepts up to Xcode 6.0. If you are trying > to add XC6.1 then you will get the error message "The chosen folder is not > a valid iOS SDK". From jacque at hyperactivesw.com Sat Nov 15 13:44:33 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Nov 2014 12:44:33 -0600 Subject: how are variables passed from functions? In-Reply-To: <46936603669.20141115095546@ahsoftware.net> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> <5466B060.6040203@hyperactivesw.com> <46936603669.20141115095546@ahsoftware.net> Message-ID: <54679F11.9020409@hyperactivesw.com> On 11/15/2014, 11:55 AM, Mark Wieder wrote: > I've only followed this thread sporadically because it's been a busy > week at work, but I'm quite amused. This is the way ruby works, and if > memory serves, go works the same way. The last statement executed is > the current result. That's what I get for being a one-trick pony. But it sure seems that having to keep track of the last result would cause a lot of non-obvious errors. Bernard mentioned it might be long-standing behavior that shouldn't be changed, but since no one has really noticed it until now it's hard to tell whether it's a newly introduced bug or an established behavior. But as you say, if we just put explicit return statements in our code it will continue to be a non-issue. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Nov 15 14:01:07 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Nov 2014 21:01:07 +0200 Subject: 64 bit Linux standalones? In-Reply-To: <94AADC6C-D024-4768-A2F3-611A488E6024@livecode.com> References: <54663246.5000704@gmail.com> <94AADC6C-D024-4768-A2F3-611A488E6024@livecode.com> Message-ID: <5467A2F3.5020408@gmail.com> On 14/11/14 18:52, Fraser Gordon wrote: > On 14 Nov 2014, at 16:48, Richmond wrote: > >> As, currently, I am running 32 bit Linux I have what may seem a slightly goofy question: >> >> Does the standalone builder in the 64 bit version of LiveCode 7 offer the choice of building >> standalones for 64-bit and/or 32-bit distros? > It should. In fact, the 32-bit version of LiveCode 7 should also offer that option. The ?Linux? tab of the standalone preferences in LiveCode 7 Community should have 3 sub-options for ?Linux", "Linux x64" and "Linux ARMv6HF? (the last is for RaspberryPi and is not present in Commercial). If not, please report it as a bug. > > Regards, > Fraser > _______________________________________________ > Confirmed: 7.0.1 (rc2) on Ubuntu Studio 14.10. Richmond. From mwieder at ahsoftware.net Sat Nov 15 16:43:38 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Nov 2014 13:43:38 -0800 Subject: how are variables passed from functions? In-Reply-To: <54679F11.9020409@hyperactivesw.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> <5466B060.6040203@hyperactivesw.com> <46936603669.20141115095546@ahsoftware.net> <54679F11.9020409@hyperactivesw.com> Message-ID: <197950275316.20141115134338@ahsoftware.net> Jacque- Saturday, November 15, 2014, 10:44:33 AM, you wrote: > That's what I get for being a one-trick pony. But it sure seems that > having to keep track of the last result would cause a lot of non-obvious > errors. I'm not necessarily saying I like it, I've just gotten used to it in ruby because that's the way it is. And I've gotten into trouble there because of it at times as well. What I'd like in LC is for the compiler to barf if a function has no return statement, or if it has a return statment with no returned parameter. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Sat Nov 15 17:34:05 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Nov 2014 16:34:05 -0600 Subject: how are variables passed from functions? In-Reply-To: <197950275316.20141115134338@ahsoftware.net> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> <5466B060.6040203@hyperactivesw.com> <46936603669.20141115095546@ahsoftware.net> <54679F11.9020409@hyperactivesw.com> <197950275316.20141115134338@ahsoftware.net> Message-ID: <5467D4DD.6060709@hyperactivesw.com> On 11/15/2014, 3:43 PM, Mark Wieder wrote: > What I'd like in LC is for the > compiler to barf if a function has no return statement, or if it has a > return statment with no returned parameter. I like it. Then we wouldn't have all those multi-lingual LiveCoders using "return" instead of "exit". :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Sat Nov 15 19:01:50 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 16 Nov 2014 08:01:50 +0800 Subject: how are variables passed from functions? In-Reply-To: <54679F11.9020409@hyperactivesw.com> References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> <5466B060.6040203@hyperactivesw.com> <46936603669.20141115095546@ahsoftware.net> <54679F11.9020409@hyperactivesw.com> Message-ID: On Sun, Nov 16, 2014 at 2:44 AM, J. Landman Gay wrote: That's what I get for being a one-trick pony. But it sure seems that having > to keep track of the last result would cause a lot of non-obvious errors. > > Bernard mentioned it might be long-standing behavior that shouldn't be > changed, but since no one has really noticed it until now it's hard to tell > whether it's a newly introduced bug or an established behavior. > The Dictionary entry for return - the control structure, if read prior to this thread may be a little vague on what's going on here, but having read this thread it is clear that ti's been this way since day 1. To me it's like keeping track of 'it'. If you don't immediately put it into a variable or something then it's sure to change to something else. The way I read the Dictionary a return should be at the end of every function that will return a value and "(If you want a handler to compute a value as its main reason for existence, you should implement it as a custom function rather than a custom command.)" From lan.kc.macmail at gmail.com Sat Nov 15 19:08:45 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 16 Nov 2014 08:08:45 +0800 Subject: how are variables passed from functions? In-Reply-To: References: <000d01cfffe7$acaef870$060ce950$@de> <8D1CE3483E61C31-8DC-237FD@webmail-va029.sysops.aol.com> <002c01d00021$1ee6fe40$5cb4fac0$@de> <8D1CE3B2C168F5F-8DC-23EA7@webmail-va029.sysops.aol.com> <003201d00026$f8489d10$e8d9d730$@de> <8D1CE64D4E0BEE2-8DC-26BA3@webmail-va029.sysops.aol.com> <8A7F2BAC-7173-4348-9441-DE0866CC94F6@iotecdigital.com> <5466B060.6040203@hyperactivesw.com> <46936603669.20141115095546@ahsoftware.net> <54679F11.9020409@hyperactivesw.com> Message-ID: Also from the Dictionary entry for return: To halt the current handler without returning a result, use the exit control structure instead. On Sun, Nov 16, 2014 at 8:01 AM, Kay C Lan wrote: > On Sun, Nov 16, 2014 at 2:44 AM, J. Landman Gay > wrote: > > That's what I get for being a one-trick pony. But it sure seems that >> having to keep track of the last result would cause a lot of non-obvious >> errors. >> >> Bernard mentioned it might be long-standing behavior that shouldn't be >> changed, but since no one has really noticed it until now it's hard to tell >> whether it's a newly introduced bug or an established behavior. >> > > The Dictionary entry for return - the control structure, if read prior to > this thread may be a little vague on what's going on here, but having read > this thread it is clear that ti's been this way since day 1. > > To me it's like keeping track of 'it'. If you don't immediately put it > into a variable or something then it's sure to change to something else. > The way I read the Dictionary a return should be at the end of every > function that will return a value and "(If you want a handler to compute a > value as its main reason for existence, you should implement it as a custom > function rather than a custom command.)" > From john at onechip.com Sat Nov 15 21:30:43 2014 From: john at onechip.com (John) Date: Sat, 15 Nov 2014 18:30:43 -0800 Subject: [ANN] - MaterLibrary Version 8 is available In-Reply-To: <546662E7.4040004@gmail.com> References: <546662E7.4040004@gmail.com> Message-ID: I just downloaded it and spent some time seeing what is there. This took quite a bit of effort - thank you for sharing this. John From sean at pidigital.co.uk Sat Nov 15 22:43:14 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 16 Nov 2014 03:43:14 +0000 Subject: Mobile SDK Preference In-Reply-To: <7331FEFE-8BAE-4F41-8AEF-B273BA8F72FA@clearvisiontech.com> References: <7331FEFE-8BAE-4F41-8AEF-B273BA8F72FA@clearvisiontech.com> Message-ID: Hi Dan, You seem to have misunderstood a little. LC 6.6.4 CAN work with XC6.0 LC 6.6.5 made it possible to work with XC6.1 LC 6.7 is probably the way to go however as it is the most up-to-date and needs as much testing and reporting as possible. All the best to you. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk On 15 November 2014 18:19, Dan Friedman wrote: > Sean, > > Thanks for the tip! I didn't know that LC 6.6.4 wasn't compatible with > XCode 6.0. I installed LC 6.7 and everyone is happy again. Thanks! > > -Dan > > > Bear in mind that LC6.6.4 only accepts up to Xcode 6.0. If you are trying > > to add XC6.1 then you will get the error message "The chosen folder is > not > > a valid iOS SDK". > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From admin at FlexibleLearning.com Sun Nov 16 07:15:59 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 16 Nov 2014 12:15:59 -0000 Subject: how are variables passed from functions? Message-ID: <005101d00197$15efa220$41cee660$@FlexibleLearning.com> Agreed... Leave the existing behaviour alone. It is not a bug but an undocumented feature. And yes, it will break at least one of my products if changed! This issue has already been discussed some time ago. It was determined to leave the behaviour unchanged for both flexibility and backwards compatibility. If you don't want this behaviour, ensure you return values at each step. Simples. Hugh Senior FLCo Assuming that this has been the behaviour of Metacard, Revolution, Livecode (and possibly Hypercard) for 22 years (or more), it is perhaps best just accepted as a fait accompli. If no-one has noticed this "aberrant" behaviour in those 2 (or more decades), then fixing it now might well lead to problems. IMO better for Runrev to just state emphatically that this is how things work in Livecode. Bernard From rman at free.fr Sun Nov 16 07:55:45 2014 From: rman at free.fr (Robert Mann) Date: Sun, 16 Nov 2014 04:55:45 -0800 (PST) Subject: [ANN] - MaterLibrary Version 8 is available In-Reply-To: <546662E7.4040004@gmail.com> References: <546662E7.4040004@gmail.com> Message-ID: <1416142545259-4685902.post@n4.nabble.com> Thanjs Michael, great job; I also started to tidy up everything in my libs. How can we participate? submit? *I did not quite get it how one can append the topic list?* /If we could, then we could use the same library stack for our own use, and easily share to you for appending, or directly to the community as specialized libraries./ Also for information I thought about another approach :: -- load the whole set of libraries needed to code, -- then have these copied manual or automated as library stacks for the app. -- before actual launching of the app ;; "reduce" these libs : automatically eliminate all handlers which are not used to reduce the sizes of libs. (although this would require a subtle routine to explore all objects recursively and test the whole list of handlers against scripts if any exist...) food for thoughts, Robert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-MaterLibrary-Version-8-is-available-tp4685860p4685902.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Sun Nov 16 09:24:37 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 16 Nov 2014 15:24:37 +0100 Subject: hair-pulling frustration In-Reply-To: <54650201.1070408@hyperactivesw.com> References: <000f01cfff19$b9f12e50$2dd38af0$@FlexibleLearning.com> <54646B8C.6040903@economy-x-talk.com> <54650201.1070408@hyperactivesw.com> Message-ID: On 13 Nov 2014, at 20:09, J. Landman Gay wrote: > On 11/13/2014, 2:27 AM, Mark Schonewille wrote: >> Really, why wouldn't it be realistic to pay a bunch of students for a >> few hours of beta-testing (or should I say alpha-testing) some time in a >> development cycle? > > There's no way a "few hours" would catch much in a system as complex and large as LiveCode. It wouldn't make a dent. Whenever I sit down with LC, I find several problems/bugs/unwanted behaviours. Usually, after filing one or two bug reports, I stop using LC, because it's just too annoying to run into problems so often, and not being able to concentrate on my own tasks. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dixonja at hotmail.co.uk Sun Nov 16 10:53:20 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 16 Nov 2014 15:53:20 +0000 Subject: which iPhone... In-Reply-To: <9F7AE1CC-237A-4199-AB00-1118F94808EE@sorcery-ltd.co.uk> References: , <091E5F75-69ED-4A77-895E-6085B3B80D9A@hyperactivesw.com>, , <89E2FF61-6DF6-4E68-BC1D-276EA94ACF42@mac.com>, , , <9F7AE1CC-237A-4199-AB00-1118F94808EE@sorcery-ltd.co.uk> Message-ID: Mark... Thank you... including splash screens did the trick :-) be well > From: mark at sorcery-ltd.co.uk > Subject: Re: which iPhone... > Date: Mon, 10 Nov 2014 23:53:09 +0000 > To: use-livecode at lists.runrev.com > > If you don't have the appropriate launch screen / launch images for the iPhone 6/6+ then your app gets run at iPhone 5 size and scaled up. > > Sent from my iPhone > > > On 10 Nov 2014, at 22:16, John Dixon wrote: > > > > > > > > > > Now I am a little confused ... > > > > xCode 6.0, OSX 10.9.5, LC 7.0, iOS 8 simulator > > > > Let me be a little pedantic here in my explanation. I have prepared a stack at a size of 320 x 480... It has one button with the following script... > > > > on mouseUp > > answer the screenRect of this stack > > end mouseUp > > > > If I choose Hardware > Devices > iPhone 4s running in the simulator returns 0,0,320,480 > > If I choose Hardware > Devices > iPhone 5s running in the simulator returns 0,0,320,568 > > > > but... > > > > If I choose Hardware > Devices > iPhone 6 running in the simulator returns 0,0,320,568 > > > > It is at this point that I expected to see 0,0,375,667... > > I am more than a little confused! > > > > Dixie > > > > > > > > > >> From: gerry.orkin at gmail.com > >> Date: Mon, 10 Nov 2014 21:27:31 +0000 > >> Subject: Re: which iPhone... > >> To: use-livecode at lists.runrev.com > >> > >> Randy's code gives me a screen rect of 0,0,375,667 on an iOS 8 iPhone 6 > >> simulator. Those are the correct values (remember for the iPhone 6 and 6+ > >> you need to multiply by 2x and 3x respectively). The code also works > >> accurately on a 4s and 5s simulator. > >> > >> Thanks Randy! > >> > >> Gerry > >> > >>> On Tue Nov 11 2014 at 5:03:48 AM Randy Hengst wrote: > >>> > >>> Xcode 5.1, OSX 10.8.5, LC6.5, iOS 7.1 Simulator... this code in StartUp > >>> shows correct dimensions... I don't have iOS 8 simulator on this mac. > >>> > >>> > >>> on startUp > >>> > >>> answer (word 1 of the machine) > >>> > >>> iphoneSetAllowedOrientations "landscape left,landscape right" > >>> --portrait,portrait upside down,landscape left,landscape right > >>> > >>> switch (word 1 of the machine) > >>> case "iPod" > >>> case "iPhone" > >>> set the fullscreenmode of this stack to "exactFit" > >>> --"letterbox"--"noScale" -- "exactFit" --"letterbox" --empty -- > >>> --"exactfit" --"showAll" > >>> break > >>> end switch > >>> > >>> answer the ScreenRect > >>> end startUp > >>> > >>> > >>>> On Nov 10, 2014, at 11:35 AM, John Dixon wrote: > >>>> > >>>> > >>>> > >>>>> Subject: Re: which iPhone... > >>>>> From: jacque at hyperactivesw.com > >>>>> Date: Mon, 10 Nov 2014 11:12:32 -0600 > >>>>> To: use-livecode at lists.runrev.com > >>>>> > >>>>> Does it work if you omit "working" and just ask for the screenrect? > >>>> Hi Jacque... > >>>> > >>>> No it doesn't... > >>>> > >>>> Dixie > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Nov 16 12:41:34 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 16 Nov 2014 12:41:34 -0500 Subject: [ANN] - MaterLibrary Version 8 is available In-Reply-To: <1416142545259-4685902.post@n4.nabble.com> References: <546662E7.4040004@gmail.com> <1416142545259-4685902.post@n4.nabble.com> Message-ID: <5468E1CE.9000202@gmail.com> I will be happy to add to the library. Just send contributions to me off list and I will be happy to integrate them in and push a release. I seem to always find something to tinker with. I found and fixed a few more bugs this morning, as you might expect just AFTER I made a version available. So I added a new version check when the stack opens. Now I can slide in updates without polluting the list with announcement messages. I also enhanced the view code logic so the selected handler is always visible. I am not sure that I totally understand your comment about appending to the topic list. If you mean the topics that are the first level of the tree view, they are nothing more than phrases picked up from the stylized comments in the btn "Lib": /* xxx yyy Syntax: Examples: Description: Source: xxx */ /* Include */ yyy is the part that you called the topic. It is really all words after the xxx. I thought of something similar to the approach that you suggested when I was looking at the different ways to address the dependencies. I really wanted to automate that but I just don't have the compiler building skills to put together a livecode parser that could do it reliably. Language parsers, another of the many things I would like to better understand. I ended up doing it the ol' brute force way. Not elegant, but it works. Regards, Mike On 11/16/14 7:55 AM, Robert Mann wrote: > Thanjs Michael, great job; I also started to tidy up everything in my libs. > > How can we participate? submit? > > *I did not quite get it how one can append the topic list?* > /If we could, then we could use the same library stack for our own use, and > easily share to you for appending, or directly to the community as > specialized libraries./ > > Also for information I thought about another approach :: > -- load the whole set of libraries needed to code, > -- then have these copied manual or automated as library stacks for the app. > -- before actual launching of the app ;; "reduce" these libs : automatically > eliminate all handlers which are not used to reduce the sizes of libs. > (although this would require a subtle routine to explore all objects > recursively and test the whole list of handlers against scripts if any > exist...) > food for thoughts, > Robert > > > > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-MaterLibrary-Version-8-is-available-tp4685860p4685902.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bodine at bodinetraininggames.com Sun Nov 16 14:31:29 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Sun, 16 Nov 2014 11:31:29 -0800 (PST) Subject: get user's system language pref? Message-ID: <1416166289076-4685906.post@n4.nabble.com> Greetings! Can't find this in the dictionary or Google... What code will reveal the user's system language preference? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/get-user-s-system-language-pref-tp4685906.html Sent from the Revolution - User mailing list archive at Nabble.com. From benr_mc at cogapp.com Sun Nov 16 18:11:14 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 16 Nov 2014 23:11:14 +0000 Subject: BBEdit Language Module for LiveCode In-Reply-To: <546671E4.8070106@hindu.org> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> Message-ID: <54692F12.5070907@cogapp.com> Thanks for doing this. Glad you got code folding working. > now you get code folding....two anomalies: the code folding arrow is > *below* the opening command statement line and the end of statement line is > folded up also into the collapsed node. I think these are probably to do with the 'function scanner' - I had a quite a bit of trouble getting it to the current state, which worked well enough to make a menu of functions, but wasn't paying too much attention to where it started and ended - I suspect tweaking that will get the code folding right, > Locally: I changed the file name to "LiveCode.plist" We've been through so many changes of language name that I didn't even notice the name! My crash course in Git (it's exactly as far as I've got, on Friday): - Make an account on GitHub. - Go to here https://github.com/presstoexit/bbedit-livescript - and click the "Fork" button at the top-right. At that point you have a copy in your account. - Then grab the link under "HTTPS clone URL" further down the right-hand side, and use it to get your local repository (In SourceTree, it was "New Repository/Clone from URL". - Now you have a local set of the files; can make changes and commit them. I assume that can include renaming a file, or just deleting it and replacing it with a new one with another name. I think it would be good if everyone can keep working in the same arena. On 14/11/2014 21:19, Brahmanathaswami wrote: > I got it working and code folding too! > > I'm going here for my starter kit as this is three hours old and > I think it is the one ben is working on and not > > Jackie...I will send you off list... I don't have time to mess with Git Hub > right now, because the file name is wrong "LiveScript.plist" and I don't want > to fork it to "LiveCode.plist" (all over my little GIT head...) > > Locally: I changed the file name to "LiveCode.plist" > > changes the keys for the language name and four letter designator and > extension in the .plist to > > LiveCode > LvCd > .lc > > and added this block (does not work to add these statement keys inside the > existing language features node... ... that breaks it dunno why > > > Language Features > > > Open Statement Blocks > command > function > on > Close Statement Blocks > end > > > Then of course in your BBEDit prefs you add livecode with extension lc > > now you get code folding....two anomalies: > the code folding arrow is *below* the opening command statement line and the > end of statement line is folded up also into the collapsed node. But it seems > not to be greedy so when you see: > > command setDataForPage pURL, pContent > ... > > > is actually > > command setDataForPage pURL, pContent > ... > end setDataForPage > > Fantastic... good bye Sublime Text2 > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > > > > Ben Rubinstein wrote: >> >> If you want to have a go yourself, my work in progress is here >> https://github.com/presstoexit/bbedit-livescript > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Sun Nov 16 19:20:22 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 16 Nov 2014 19:20:22 -0500 Subject: BBEdit Language Module for LiveCode In-Reply-To: <54692F12.5070907@cogapp.com> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> Message-ID: we really need to get a group effort going on the script editor. On Sun, Nov 16, 2014 at 6:11 PM, Ben Rubinstein wrote: > Thanks for doing this. Glad you got code folding working. > > now you get code folding....two anomalies: the code folding arrow is >> *below* the opening command statement line and the end of statement line >> is >> folded up also into the collapsed node. >> > > I think these are probably to do with the 'function scanner' - I had a > quite a bit of trouble getting it to the current state, which worked well > enough to make a menu of functions, but wasn't paying too much attention to > where it started and ended - I suspect tweaking that will get the code > folding right, > > > Locally: I changed the file name to "LiveCode.plist" > > We've been through so many changes of language name that I didn't even > notice the name! > > My crash course in Git (it's exactly as far as I've got, on Friday): > - Make an account on GitHub. > - Go to here https://github.com/presstoexit/bbedit-livescript > - and click the "Fork" button at the top-right. > > At that point you have a copy in your account. > > - Then grab the link under "HTTPS clone URL" further down the right-hand > side, and use it to get your local repository (In SourceTree, it was "New > Repository/Clone from URL". > > - Now you have a local set of the files; can make changes and commit them. > > I assume that can include renaming a file, or just deleting it and > replacing it with a new one with another name. > > I think it would be good if everyone can keep working in the same arena. > > > > > On 14/11/2014 21:19, Brahmanathaswami wrote: > >> I got it working and code folding too! >> >> I'm going here for my starter kit as this is three hours old and >> I think it is the one ben is working on and not >> >> Jackie...I will send you off list... I don't have time to mess with Git >> Hub >> right now, because the file name is wrong "LiveScript.plist" and I don't >> want >> to fork it to "LiveCode.plist" (all over my little GIT head...) >> >> Locally: I changed the file name to "LiveCode.plist" >> >> changes the keys for the language name and four letter designator and >> extension in the .plist to >> >> LiveCode >> LvCd >> .lc >> >> and added this block (does not work to add these statement keys inside >> the >> existing language features node... ... that breaks it dunno why >> >> >> Language Features >> >> >> Open Statement Blocks >> command >> function >> on >> Close Statement Blocks >> end >> >> >> Then of course in your BBEDit prefs you add livecode with extension lc >> >> now you get code folding....two anomalies: >> the code folding arrow is *below* the opening command statement line and >> the >> end of statement line is folded up also into the collapsed node. But it >> seems >> not to be greedy so when you see: >> >> command setDataForPage pURL, pContent >> ... >> >> >> is actually >> >> command setDataForPage pURL, pContent >> ... >> end setDataForPage >> >> Fantastic... good bye Sublime Text2 >> >> Swasti Astu, Be Well! >> Brahmanathaswami >> >> Kauai's Hindu Monastery >> www.HimalayanAcademy.com >> >> >> >> Ben Rubinstein wrote: >> >>> >>> If you want to have a go yourself, my work in progress is here >>> https://github.com/presstoexit/bbedit-livescript >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lan.kc.macmail at gmail.com Mon Nov 17 01:50:09 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 17 Nov 2014 14:50:09 +0800 Subject: BBEdit Language Module for LiveCode In-Reply-To: <54692F12.5070907@cogapp.com> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> Message-ID: On Mon, Nov 17, 2014 at 7:11 AM, Ben Rubinstein wrote: > > Locally: I changed the file name to "LiveCode.plist" > > We've been through so many changes of language name that I didn't even > notice the name! > > I don't wish to rain on your parade but I think you are hijacking a completely different project. Livescript is not and has never been related to LiveCode, Revolution, MetaCard, RunRev or HyperCard. Livescript is related to JavaScript: http://livescript.net/ From t.heaford at btinternet.com Mon Nov 17 02:55:38 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 17 Nov 2014 07:55:38 +0000 Subject: Printing a DataGrid Message-ID: <83D31F46-A0DB-4C06-B8BB-94103D2894CF@btinternet.com> LC 6.7.1 (RC2) on OSX Yosemite I have a DataGrid with a number of columns. I have started a handler to print reports of the content of the DataGrid and my first step was to print the visible portion via. this script before moving on to printing all the contents: on mouseUp answer page setup as sheet if the result = "cancel" then exit mouseUp end if answer printer as sheet if the result = "cancel" then exit mouseUp end if put the topLeft of grp "tranTable" into tTopLeft put the bottomRight of grp "tranTable" into tBottomRight print card from tTopLeft to tBottomRight into the printPaperRectangle end mouseUp When I select Open PDF in Preview I get artefacts (lines) in the coloured rows of the table as shown in the screen shot below. https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot%202014-11-17%20at%2007.40.52.png Is this a bug or am I doing something wrong? All the best Terry From t.heaford at btinternet.com Mon Nov 17 08:47:04 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 17 Nov 2014 13:47:04 +0000 Subject: Open Printing Message-ID: <22276615-6613-48DD-BBDC-52C6FC90018E@btinternet.com> I am trying to use Open Printing to print multiple pages of a DataGrid. Here is my script, however I only seem to get 1 page, the initial page of the DataGrid. tNumOfPages actually calculates to 110 pages but when I select Open PDF in Preview I only get 1 page, the first. Am I doing something wrong or is this a bug? Thanks Terry on mouseUp lock screen put the dgNumberOfRecords of group "tranTable" into tNumOfRecs put tNumOfRecs/20 into tNumOfPages put 1 into tLine answer page setup as sheet if the result = "cancel" then exit mouseUp end if put the topLeft of grp "tranTable" into tTopLeft put the bottomRight of grp "tranTable" into tBottomRight open printing with dialog as sheet repeat with tPage = 1 to tNumOfPages if tPage = 1 then put 1 into tLine else put tPage * 20 into tLine end if dispatch "ScrollLineIntoView" to group "tranTable" with tLine print card from tTopLeft to tBottomRight into the printPaperRectangle end repeat close printing unlock screen end mouseUp From t.heaford at btinternet.com Mon Nov 17 09:13:01 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 17 Nov 2014 14:13:01 +0000 Subject: Open Printing In-Reply-To: <22276615-6613-48DD-BBDC-52C6FC90018E@btinternet.com> References: <22276615-6613-48DD-BBDC-52C6FC90018E@btinternet.com> Message-ID: <796300FE-CC9C-4C79-9151-CF5112533C19@btinternet.com> Think I?ve resolved it. Should have a Print Break in the repeat loop. All the best Terry > On 17 Nov 2014, at 13:47, Terence Heaford wrote: > > I am trying to use Open Printing to print multiple pages of a DataGrid. Here is my script, however I only seem to get 1 page, the initial page of the DataGrid. > > tNumOfPages actually calculates to 110 pages but when I select Open PDF in Preview I only get 1 page, the first. > > Am I doing something wrong or is this a bug? > > Thanks > > Terry > > on mouseUp > lock screen > put the dgNumberOfRecords of group "tranTable" into tNumOfRecs > > put tNumOfRecs/20 into tNumOfPages > put 1 into tLine > > answer page setup as sheet > if the result = "cancel" then > exit mouseUp > end if > > put the topLeft of grp "tranTable" into tTopLeft > put the bottomRight of grp "tranTable" into tBottomRight > > open printing with dialog as sheet > > repeat with tPage = 1 to tNumOfPages > if tPage = 1 then > put 1 into tLine > else > put tPage * 20 into tLine > end if > > dispatch "ScrollLineIntoView" to group "tranTable" with tLine > print card from tTopLeft to tBottomRight into the printPaperRectangle > > end repeat > > close printing > > unlock screen > end mouseUp > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Nov 17 10:26:30 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 17 Nov 2014 10:26:30 -0500 Subject: Interacting with html objects in a browser on mobiles In-Reply-To: <1c3636b4d95d8b3d47bd3cf95c28505b.squirrel@185.8.104.234> References: <1c3636b4d95d8b3d47bd3cf95c28505b.squirrel@185.8.104.234> Message-ID: <006f01d0027a$dcdea9b0$969bfd10$@net> I wanted to bring up pick lists when clicking on some links. I kludged this by: 1) Set a link to reload the same page with html parameters. 2) When the user clicks the link the page reloads but you don't see it because it's the same page. 3) For iOS process the parameters in the URL in the browserLoadRequested message. 4) For Android process the parameters in the URL in the browserStartedLoading message. Not pretty but it worked. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of jbv at souslelogo.com Sent: Saturday, November 15, 2014 8:25 AM To: How to use LiveCode Subject: Interacting with html objects in a browser on mobiles Hi list I'm trying to figure out how to interact with an html page displayed in a browser control on mobile devices... For instance, how can I trigger an LC script when clicking on a specific html object in the browser ? Apparently all revbrowser functions, commands and messages don't apply for mobiles... Thanks jbv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Mon Nov 17 10:25:40 2014 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 17 Nov 2014 10:25:40 -0500 Subject: Find the scroll location in wrapped field Message-ID: <546A1374.50601@gmail.com> If I have a single line that is within a non fixed line height field that is word wrapped. How does one find the amount to set the vScroll if the word has been wrapped? I am trying to set the scroll so the word is positioned as the first visible line. Thanks Mike From bobsneidar at iotecdigital.com Mon Nov 17 10:33:12 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Nov 2014 15:33:12 +0000 Subject: Drag text from locked field In-Reply-To: <5EB1920D-7A23-42F4-9860-2AB484991D88@wanadoo.fr> References: <33381C34-BF66-4853-84D5-AF2948076DBB@iotecdigital.com> <5EB1920D-7A23-42F4-9860-2AB484991D88@wanadoo.fr> Message-ID: Oh cool. Thanks. I don?t mind having to use a modifier. I do think however that drag and drop from an unlocked field with traversalOn disabled should still be allowed. I get however that a field would need focus which traversalOn allows, so perhaps fields need another property like allowEdit. Bob S > On Nov 15, 2014, at 02:16 , Andr? Bisseret wrote: > > > Le 15 nov. 2014 ? 00:11, Bob Sneidar a ?crit : > >> I suspect the answer is no, but is there a way to drag text from a locked field? So far it seems not. I can probably unlock the field on a mouseDown event and relic it on a mouseUp, but that is getting ugly. I need to be able to select and drag text from a field but not allow editing. >> >> Bob S >> > In the script of the locked field put the following handler : > > on mouseDown > if the shiftKey is down then > -- or controlKey or commandKey as well > select the mouseLine > set the dragData to value(the selectedLine) & cr > end if > end mouseDown > > best > > Andr? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Mon Nov 17 11:54:51 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 17 Nov 2014 18:54:51 +0200 Subject: Interacting with html objects in a browser on mobiles In-Reply-To: <006f01d0027a$dcdea9b0$969bfd10$@net> References: <1c3636b4d95d8b3d47bd3cf95c28505b.squirrel@185.8.104.234> <006f01d0027a$dcdea9b0$969bfd10$@net> Message-ID: <1f5ec5924c449f122bd48f76e3b1dd44.squirrel@185.8.104.234> Thanks for the answer. Actually that's exactly what I'm doing, but I was hoping for a more elegant solution... Best jbv > I wanted to bring up pick lists when clicking on some links. I kludged > this > by: > 1) Set a link to reload the same page with html parameters. > 2) When the user clicks the link the page reloads but you don't see it > because it's the same page. > 3) For iOS process the parameters in the URL in the browserLoadRequested > message. > 4) For Android process the parameters in the URL in the > browserStartedLoading message. > > Not pretty but it worked. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Mon Nov 17 12:29:35 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 17 Nov 2014 12:29:35 -0500 Subject: Interacting with html objects in a browser on mobiles In-Reply-To: <1f5ec5924c449f122bd48f76e3b1dd44.squirrel@185.8.104.234> References: <1c3636b4d95d8b3d47bd3cf95c28505b.squirrel@185.8.104.234> <006f01d0027a$dcdea9b0$969bfd10$@net> <1f5ec5924c449f122bd48f76e3b1dd44.squirrel@185.8.104.234> Message-ID: <008101d0028c$0eeca090$2cc5e1b0$@net> There is one more wrinkle. When "retreating", you have to put this check in or the same page will get displayed once for every link clicked. if mobileControlGet (sControlID,"canRetreat") and not CurrentBrowserURL contains "YourPageWithLinksURLWithoutParameters" then mobileControlDo sControlID, "retreat" else open recent card end if Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of jbv at souslelogo.com Sent: Monday, November 17, 2014 11:55 AM To: How to use LiveCode Subject: RE: Interacting with html objects in a browser on mobiles Thanks for the answer. Actually that's exactly what I'm doing, but I was hoping for a more elegant solution... Best jbv > I wanted to bring up pick lists when clicking on some links. I > kludged this > by: > 1) Set a link to reload the same page with html parameters. > 2) When the user clicks the link the page reloads but you don't see it > because it's the same page. > 3) For iOS process the parameters in the URL in the > browserLoadRequested message. > 4) For Android process the parameters in the URL in the > browserStartedLoading message. > > Not pretty but it worked. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Nov 17 12:50:42 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Nov 2014 09:50:42 -0800 Subject: how are variables passed from functions? In-Reply-To: <005101d00197$15efa220$41cee660$@FlexibleLearning.com> References: <005101d00197$15efa220$41cee660$@FlexibleLearning.com> Message-ID: <546A3572.1010208@fourthworld.com> Hugh Senior wrote: > Agreed... Leave the existing behaviour alone. > > It is not a bug but an undocumented feature. And yes, it will break > at least one of my products if changed! When I submitted the request to the bug DB I'd hoped for either a fix or an explanation, whichever the engine team feels is appropriate. Mark Waddingham has chimed in with the latter: Accordingly, the request has been updated to be for documentation enhancement. While it's currently closed as "Not a bug" I've requested that it be re-opened as a documentation enhancement so that it can become possible for others to anticipate this behavior. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dunbarx at aol.com Mon Nov 17 12:53:18 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 17 Nov 2014 12:53:18 -0500 Subject: Find the scroll location in wrapped field In-Reply-To: <546A1374.50601@gmail.com> References: <546A1374.50601@gmail.com> Message-ID: <8D1D0A680DD43A3-8DC-39093@webmail-va029.sysops.aol.com> Hi. This is an ongoing thread on the forums. Your query is a bit more straightforward, but still bears discussion. Think about a field 2 with lots of lines in it, one of which is "ccc". In a button script: on mouseUp set the textheight of fld 2 to 14 set the scroll of fld 2 to 10000 find "ccc" in fld 2 set the scroll of fld 2 to word 2 of the foundLine * the textheight of fld 2 - the textheight of fld 2 end mouseUp The issues revolve around why setting the scroll to the bottom is needed, and in the other case, complications arise when each line has a different textHeight. You should monitor that thread. Anyway, this works. Craig Newman -----Original Message----- From: Michael Doub To: How To use LiveCode use LiveCode Sent: Mon, Nov 17, 2014 10:27 am Subject: Find the scroll location in wrapped field If I have a single line that is within a non fixed line height field that is word wrapped. How does one find the amount to set the vScroll if the word has been wrapped? I am trying to set the scroll so the word is positioned as the first visible line. Thanks Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Nov 17 13:26:24 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 17 Nov 2014 13:26:24 -0500 Subject: [OT] Looking for proven and useful Cold remedies Message-ID: Hi All, http://images.clipartpanda.com/handkerchief-clipart-smiley_face_with_a_cold_sneezing_into_handkerchief-1331px.png It started Thursday night and have gained a strong footing during all weekend... :-( Could we talk about proven and useful cold remedies from the place where you live? Thanks in advance! Al From dochawk at gmail.com Mon Nov 17 13:48:06 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Nov 2014 10:48:06 -0800 Subject: [OT] Looking for proven and useful Cold remedies In-Reply-To: References: Message-ID: On Mon, Nov 17, 2014 at 10:26 AM, Alejandro Tejada wrote: > Could we talk about proven and useful cold remedies > from the place where you live? > It won't fix the cold, but horseradish directly on the roof of your mouth will cause your sinus to contract/unpuff in very short order, at least allowing you to breath and smell. Horseradish is only the second best sinus un-puffer, though: even better is getting into a car on a 100+ day in an arid desert. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Mon Nov 17 13:50:41 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Nov 2014 20:50:41 +0200 Subject: [OT] Looking for proven and useful Cold remedies In-Reply-To: References: Message-ID: <546A4381.4080200@gmail.com> On 17/11/14 20:26, Alejandro Tejada wrote: > Hi All, > > http://images.clipartpanda.com/handkerchief-clipart-smiley_face_with_a_cold_sneezing_into_handkerchief-1331px.png > > It started Thursday night and have gained a strong > footing during all weekend... :-( > > Could we talk about proven and useful cold remedies > from the place where you live? > > Thanks in advance! > > Al > Take a lump of fresh ginger and grate it, the boil it up with chinese star aniseed, cardamon, cinnamon, cloves and onions: if you want sweeten it with sugar or honey. Drink it. Richmond. From john at onechip.com Mon Nov 17 14:03:50 2014 From: john at onechip.com (John) Date: Mon, 17 Nov 2014 11:03:50 -0800 Subject: [OT] Looking for proven and useful Cold remedies In-Reply-To: <546A4381.4080200@gmail.com> References: <546A4381.4080200@gmail.com> Message-ID: My wife uses Richmond?s concoction to good effect. I have beat many a cold by eating a head or two of fresh minced garlic (raw) at the first sign of a cold. You will need to mix it with something to get it down. It has a profound effect on the body but fair warning - no one will want to be near you for a couple of days after eating it. You will stink. Good luck, John > On Nov 17, 2014, at 10:50 AM, Richmond wrote: > > On 17/11/14 20:26, Alejandro Tejada wrote: >> Hi All, >> >> http://images.clipartpanda.com/handkerchief-clipart-smiley_face_with_a_cold_sneezing_into_handkerchief-1331px.png >> >> It started Thursday night and have gained a strong >> footing during all weekend... :-( >> >> Could we talk about proven and useful cold remedies >> from the place where you live? >> >> Thanks in advance! >> >> Al >> > > Take a lump of fresh ginger and grate it, > > the boil it up with chinese star aniseed, cardamon, cinnamon, > cloves and onions: if you want sweeten it with sugar or honey. > > Drink it. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Nov 17 14:20:16 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 17 Nov 2014 11:20:16 -0800 Subject: LC Server on DreamHost? Message-ID: Hi All: I know there was some discussion recently about getting LiveCode server working again on DreamHost now that they?ve updated to Ubuntu. Can anyone shed some light on what?s needed here? I believe Richard Gaskin said something about using v7 64bit but I only see one download option in my LC account that appears to be LC Server 6.6.1. Thanks in advance for any explanations or pointers. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From ambassador at fourthworld.com Mon Nov 17 14:39:36 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Nov 2014 11:39:36 -0800 Subject: LC Server on DreamHost? In-Reply-To: References: Message-ID: <546A4EF8.6010502@fourthworld.com> Scott Rossi wrote: > I know there was some discussion recently about getting LiveCode > server working again on DreamHost now that they?ve updated to > Ubuntu. Can anyone shed some light on what?s needed here? I > believe Richard Gaskin said something about using v7 64bit but > I only see one download option in my LC account that appears > to be LC Server 6.6.1. The Commercial-licensed version of LC Server available through your account options should reflect all versions you're currently licensed for. If you have a v7 Commercial license but don't see the v7 Server there, drop a note to Support to find out why (it shows in my account). That said, unless you're distributing proprietary server apps you probably don't need the Commercial Edition of LiveCode Server. The Community LiveCode Server can be used on your own server without the need to share server-side code, since you're not distributing the server software itself when users browse your site. The Community Edition of Server and others is available here: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bonnmike at gmail.com Mon Nov 17 14:43:14 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 17 Nov 2014 12:43:14 -0700 Subject: [OT] Looking for proven and useful Cold remedies In-Reply-To: References: <546A4381.4080200@gmail.com> Message-ID: zinc lozenges with vitamin c. Don't overdose, but like zicam the zinc is supposed to help shorten the colds lifespan. Much more effective if you start them early though (also like zicam) or.. um.. zicam. (assuming viral not bacterial) zinc lozenges are cheaper than zicam which is why I go that way. On Mon, Nov 17, 2014 at 12:03 PM, John wrote: > My wife uses Richmond?s concoction to good effect. I have beat many a > cold by eating a head or two of fresh minced garlic (raw) at the first sign > of a cold. You will need to mix it with something to get it down. It has > a profound effect on the body but fair warning - no one will want to be > near you for a couple of days after eating it. You will stink. > > Good luck, > John > > > On Nov 17, 2014, at 10:50 AM, Richmond > wrote: > > > > On 17/11/14 20:26, Alejandro Tejada wrote: > >> Hi All, > >> > >> > http://images.clipartpanda.com/handkerchief-clipart-smiley_face_with_a_cold_sneezing_into_handkerchief-1331px.png > >> > >> It started Thursday night and have gained a strong > >> footing during all weekend... :-( > >> > >> Could we talk about proven and useful cold remedies > >> from the place where you live? > >> > >> Thanks in advance! > >> > >> Al > >> > > > > Take a lump of fresh ginger and grate it, > > > > the boil it up with chinese star aniseed, cardamon, cinnamon, > > cloves and onions: if you want sweeten it with sugar or honey. > > > > Drink it. > > > > Richmond. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Nov 17 14:45:31 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 17 Nov 2014 11:45:31 -0800 Subject: [OT] Looking for proven and useful Cold remedies In-Reply-To: References: <546A4381.4080200@gmail.com> Message-ID: Scotch, hot water, sugar cube. Might not cure it but you won't care :-) Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Nov 17, 2014 at 11:43 AM, Mike Bonner wrote: > zinc lozenges with vitamin c. Don't overdose, but like zicam the zinc is > supposed to help shorten the colds lifespan. Much more effective if you > start them early though (also like zicam) or.. um.. zicam. (assuming > viral not bacterial) zinc lozenges are cheaper than zicam which is why I > go that way. > > On Mon, Nov 17, 2014 at 12:03 PM, John wrote: > > > My wife uses Richmond?s concoction to good effect. I have beat many a > > cold by eating a head or two of fresh minced garlic (raw) at the first > sign > > of a cold. You will need to mix it with something to get it down. It > has > > a profound effect on the body but fair warning - no one will want to be > > near you for a couple of days after eating it. You will stink. > > > > Good luck, > > John > > > > > On Nov 17, 2014, at 10:50 AM, Richmond > > wrote: > > > > > > On 17/11/14 20:26, Alejandro Tejada wrote: > > >> Hi All, > > >> > > >> > > > http://images.clipartpanda.com/handkerchief-clipart-smiley_face_with_a_cold_sneezing_into_handkerchief-1331px.png > > >> > > >> It started Thursday night and have gained a strong > > >> footing during all weekend... :-( > > >> > > >> Could we talk about proven and useful cold remedies > > >> from the place where you live? > > >> > > >> Thanks in advance! > > >> > > >> Al > > >> > > > > > > Take a lump of fresh ginger and grate it, > > > > > > the boil it up with chinese star aniseed, cardamon, cinnamon, > > > cloves and onions: if you want sweeten it with sugar or honey. > > > > > > Drink it. > > > > > > Richmond. > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Mon Nov 17 14:53:27 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 17 Nov 2014 11:53:27 -0800 Subject: LC Server on DreamHost? In-Reply-To: <546A4EF8.6010502@fourthworld.com> References: <546A4EF8.6010502@fourthworld.com> Message-ID: Thanks Richard. I only see one server download option listed under my account, but obviously I can get Community server from the downloads page. What about server configuration? With the previous server setup at DreamHost, one needed to have several, what are they called, directives (?) in an htaccess file to make the server know how to the deal with .rev and .lc files. Are these still needed with the new Ubuntu servers? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/17/14, 11:39 AM, "Richard Gaskin" wrote: >Scott Rossi wrote: > > I know there was some discussion recently about getting LiveCode > > server working again on DreamHost now that they?ve updated to > > Ubuntu. Can anyone shed some light on what?s needed here? I > > believe Richard Gaskin said something about using v7 64bit but > > I only see one download option in my LC account that appears > > to be LC Server 6.6.1. > >The Commercial-licensed version of LC Server available through your >account options should reflect all versions you're currently licensed >for. If you have a v7 Commercial license but don't see the v7 Server >there, drop a note to Support to find out why (it shows in my account). > >That said, unless you're distributing proprietary server apps you >probably don't need the Commercial Edition of LiveCode Server. The >Community LiveCode Server can be used on your own server without the >need to share server-side code, since you're not distributing the server >software itself when users browse your site. > >The Community Edition of Server and others is available here: > > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Nov 17 15:45:36 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Nov 2014 12:45:36 -0800 Subject: LC Server on DreamHost? In-Reply-To: References: Message-ID: <546A5E70.8050405@fourthworld.com> Scott Rossi wrote: > What about server configuration? With the previous server setup > at DreamHost, one needed to have several, what are they called, > directives (?) in an htaccess file to make the server know how to > the deal with .rev and .lc files. Are these still needed with the > new Ubuntu servers? Pretty much any shared hosting setup will required assigning special handling for certain file types via .htaccess. There was a recent discussion of this in the forums which may be useful: Since you'd already had things set up and working well, unless you were on a very old server, chances are you won't need to do anything beyond just updating the engine and updating the Action line of your .htaccess to point to it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From palcibiades-first at yahoo.co.uk Mon Nov 17 16:02:32 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 17 Nov 2014 13:02:32 -0800 (PST) Subject: [OT] Looking for proven and useful Cold remedies In-Reply-To: References: <546A4381.4080200@gmail.com> Message-ID: <1416258152404-4685930.post@n4.nabble.com> Oil of Olbas. Much better than Vicks. You fill a large bowl with boiling water, put a towel over it, and drop the oil in every 30 seconds or so. Breathing deeply through the nose. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Looking-for-proven-and-useful-Cold-remedies-tp4685920p4685930.html Sent from the Revolution - User mailing list archive at Nabble.com. From benr_mc at cogapp.com Mon Nov 17 16:31:35 2014 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 17 Nov 2014 21:31:35 +0000 Subject: BBEdit Language Module for LiveCode In-Reply-To: References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> Message-ID: <546A6937.7040306@cogapp.com> On 17/11/2014 06:50, Kay C Lan wrote: > On Mon, Nov 17, 2014 at 7:11 AM, Ben Rubinstein wrote: > >>> Locally: I changed the file name to "LiveCode.plist" >> >> We've been through so many changes of language name that I didn't even >> notice the name! >> >> I don't wish to rain on your parade but I think you are hijacking a > completely different project. > > Livescript is not and has never been related to LiveCode, Revolution, > MetaCard, RunRev or HyperCard. > > Livescript is related to JavaScript: > > http://livescript.net/ Hi Kay, Thanks for pointing this out - Brahmanathaswami has been trying to tell me the same thing, but I didn't understand until this morning. However, through the magic of scripting language similarity, it's all good. The language is similar enough that simply installing it and applying it to one of my script files worked well enough that I was motivated to fix the most egregious non-working bits. Whereas if I'd not found anything when I googled, I'd have probably given up and gone without. I've shamefacedly retracted my pull request to the original maintainer. Brahmanathaswami is correcting the language references. Now it is/will be a LiveCode CLM, whose Git history will correctly record it as being adapted from a LiveScript CLM. Hurrah for modern collaboration tools. Thanks for helping break through my shell of ignorance, Ben From lan.kc.macmail at gmail.com Mon Nov 17 21:15:01 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 18 Nov 2014 10:15:01 +0800 Subject: BBEdit Language Module for LiveCode In-Reply-To: <546A6937.7040306@cogapp.com> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> <546A6937.7040306@cogapp.com> Message-ID: Hi Ben, Yes it is fortuitous that the Livescript language has similarities to LiveCode. Who knows, maybe you innocent blunder and polite retreat may cause a few Livescripters to find out what the heck LiveCode is... and be pleasantly surprised that it's something they really like. On Tue, Nov 18, 2014 at 5:31 AM, Ben Rubinstein wrote: > On 17/11/2014 06:50, Kay C Lan wrote: > >> On Mon, Nov 17, 2014 at 7:11 AM, Ben Rubinstein >> wrote: >> >> Locally: I changed the file name to "LiveCode.plist" >>>> >>> >>> We've been through so many changes of language name that I didn't even >>> notice the name! >>> >>> I don't wish to rain on your parade but I think you are hijacking a >>> >> completely different project. >> >> Livescript is not and has never been related to LiveCode, Revolution, >> MetaCard, RunRev or HyperCard. >> >> Livescript is related to JavaScript: >> >> http://livescript.net/ >> > > Hi Kay, > > Thanks for pointing this out - Brahmanathaswami has been trying to tell me > the same thing, but I didn't understand until this morning. > > However, through the magic of scripting language similarity, it's all > good. The language is similar enough that simply installing it and applying > it to one of my script files worked well enough that I was motivated to fix > the most egregious non-working bits. Whereas if I'd not found anything > when I googled, I'd have probably given up and gone without. > > I've shamefacedly retracted my pull request to the original maintainer. > Brahmanathaswami is correcting the language references. Now it is/will be > a LiveCode CLM, whose Git history will correctly record it as being adapted > from a LiveScript CLM. Hurrah for modern collaboration tools. > > Thanks for helping break through my shell of ignorance, > > Ben > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mac at mauraoconnell.com Mon Nov 17 21:35:06 2014 From: mac at mauraoconnell.com (Mac Bennett) Date: Mon, 17 Nov 2014 20:35:06 -0600 Subject: [OT] Looking for proven and useful Cold remedies In-Reply-To: <1416258152404-4685930.post@n4.nabble.com> References: <546A4381.4080200@gmail.com> <1416258152404-4685930.post@n4.nabble.com> Message-ID: <5D79FE0C-7B0F-442C-951C-79C52B4E967E@mauraoconnell.com> Learned this one in County Clare. Ingredients: wedge of lemon, 6 to 8 cloves, teaspoon of brown sugar, Irish whiskey and boiling water. Stick the sharp ends of the cloves into the lemon wedge, and put in the glass with sugar and whiskey (to taste); leaving the spoon in the glass, pour boiling water into glass; stir. Repeat as needed. From pete at lcsql.com Mon Nov 17 21:40:11 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 17 Nov 2014 18:40:11 -0800 Subject: BBEdit Language Module for LiveCode In-Reply-To: References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> <546A6937.7040306@cogapp.com> Message-ID: Maybe I'm confused, but isn't "Livescript" just the language for Livecode scripts on a server? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Nov 17, 2014 at 6:15 PM, Kay C Lan wrote: > Hi Ben, > > Yes it is fortuitous that the Livescript language has similarities to > LiveCode. Who knows, maybe you innocent blunder and polite retreat may > cause a few Livescripters to find out what the heck LiveCode is... and be > pleasantly surprised that it's something they really like. > > On Tue, Nov 18, 2014 at 5:31 AM, Ben Rubinstein > wrote: > > > On 17/11/2014 06:50, Kay C Lan wrote: > > > >> On Mon, Nov 17, 2014 at 7:11 AM, Ben Rubinstein > >> wrote: > >> > >> Locally: I changed the file name to "LiveCode.plist" > >>>> > >>> > >>> We've been through so many changes of language name that I didn't even > >>> notice the name! > >>> > >>> I don't wish to rain on your parade but I think you are hijacking a > >>> > >> completely different project. > >> > >> Livescript is not and has never been related to LiveCode, Revolution, > >> MetaCard, RunRev or HyperCard. > >> > >> Livescript is related to JavaScript: > >> > >> http://livescript.net/ > >> > > > > Hi Kay, > > > > Thanks for pointing this out - Brahmanathaswami has been trying to tell > me > > the same thing, but I didn't understand until this morning. > > > > However, through the magic of scripting language similarity, it's all > > good. The language is similar enough that simply installing it and > applying > > it to one of my script files worked well enough that I was motivated to > fix > > the most egregious non-working bits. Whereas if I'd not found anything > > when I googled, I'd have probably given up and gone without. > > > > I've shamefacedly retracted my pull request to the original maintainer. > > Brahmanathaswami is correcting the language references. Now it is/will > be > > a LiveCode CLM, whose Git history will correctly record it as being > adapted > > from a LiveScript CLM. Hurrah for modern collaboration tools. > > > > Thanks for helping break through my shell of ignorance, > > > > Ben > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Mon Nov 17 21:43:12 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Mon, 17 Nov 2014 16:43:12 -1000 Subject: BBEdit Language Module for LiveCode In-Reply-To: References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> <546A6937.7040306@cogapp.com> Message-ID: <546AB240.40007@hindu.org> Nope... LiveScript is a JS "IDE" thingy in another universe. http://livescript.net/ *LiveScript* is a language which *compiles to JavaScript*. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming. LiveScript is a fork of Coco and an indirect descendant of CoffeeScript, with which it has much compatibility . BR Peter Haworth wrote: > Maybe I'm confused, but isn't "Livescript" just the language for Livecode > scripts on a server? From scott at tactilemedia.com Mon Nov 17 22:25:48 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 17 Nov 2014 19:25:48 -0800 Subject: LC Server on DreamHost? In-Reply-To: <546A5E70.8050405@fourthworld.com> References: <546A5E70.8050405@fourthworld.com> Message-ID: Thanks for the pointer. Unfortunately, I?m still having no luck getting LC server to run. The test page provided with the RunRev lesson doesn?t render with the server calculated values, so something?s not working. Is this maybe a permissions thing? I recall having to double-check permissions of certain files/folders with the server folder once uploaded. I?ll ask again: does anybody here have LC server set up and running on DreamHost, with a configuration that they could pass along? Thanks in advance. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/17/14, 12:45 PM, "Richard Gaskin" wrote: >Scott Rossi wrote: > > > What about server configuration? With the previous server setup > > at DreamHost, one needed to have several, what are they called, > > directives (?) in an htaccess file to make the server know how to > > the deal with .rev and .lc files. Are these still needed with the > > new Ubuntu servers? > >Pretty much any shared hosting setup will required assigning special >handling for certain file types via .htaccess. > >There was a recent discussion of this in the forums which may be useful: > > >Since you'd already had things set up and working well, unless you were >on a very old server, chances are you won't need to do anything beyond >just updating the engine and updating the Action line of your .htaccess >to point to it. > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Mon Nov 17 23:25:35 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Mon, 17 Nov 2014 18:25:35 -1000 Subject: BBEdit Language Module for LiveCode In-Reply-To: References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> Message-ID: <546ACA3F.8030103@hindu.org> Mike Kerner wrote: > we really need to get a group effort going on the script editor. If we had SFTP then we could a) safely download lc libraries on the web server b) edit inside the script editor (and ideally use the debugger) c) upload back to the server. for desktop, the script editor should have code folding too. I love seeing my long server controllers.lc lib command getMediaMetadata .... function getISODate ... in BBedit... long scripts that may be 1000 lines are now easily viewable. and BBEdit remembers the folds from one session to the next. From ambassador at fourthworld.com Mon Nov 17 23:27:33 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Nov 2014 20:27:33 -0800 Subject: LC Server on DreamHost? In-Reply-To: References: Message-ID: <546ACAB5.6090500@fourthworld.com> Scott Rossi wrote: > Unfortunately, I?m still having no luck getting LC server to run. > The test page provided with the RunRev lesson doesn?t render with > the server calculated values, so something?s not working. > > Is this maybe a permissions thing? I recall having to double-check > permissions of certain files/folders with the server folder once > uploaded. > > I?ll ask again: does anybody here have LC server set up and running on > DreamHost, with a configuration that they could pass along? :: raises hand :: :) Every computer problem can be solved by determining the differences between the working and non-working states. If the only thing you've changed is the engine file, check that the permissions for that are executable (chmod 755 ). Also, make sure your .htaccess file has been updated to point to the new executable. If that doesn't do it, we're then in Whiskey Tango Foxtrot land, since those are the only two things *you've* changed, so we need to look at what may have changed in the system config. You could try running the Server app by passing it the name of your .lc file from the command line to make sure the app runs and that it's able to return values: ./livecode-server somefile.lc If you encounter any issues they should show up in your terminal. If none of that helps, let us know and we'll diagnose further. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Nov 17 23:44:48 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Nov 2014 20:44:48 -0800 Subject: BBEdit Language Module for LiveCode In-Reply-To: <546ACA3F.8030103@hindu.org> References: <546ACA3F.8030103@hindu.org> Message-ID: <546ACEC0.6060405@fourthworld.com> Brahmanathaswami wrote: > If we had SFTP then we could > > a) safely download lc libraries on the web server > b) edit inside the script editor (and ideally use the debugger) > c) upload back to the server. If you've set up shared keys with the server for your other admin tasks, you'll find that using scp or rsync within LC is often just a one-liner. rsync blows the pants of any FTP for efficient transfer. put "rsync -avz ""e& tPathToLocalFile "e& \ "e&"login at server.com:/remote/path/to/file.lc""e into tCmd get shell(tCmd) -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Mon Nov 17 23:59:18 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Mon, 17 Nov 2014 18:59:18 -1000 Subject: BBEdit Language Module for LiveCode In-Reply-To: <546ACEC0.6060405@fourthworld.com> References: <546ACA3F.8030103@hindu.org> <546ACEC0.6060405@fourthworld.com> Message-ID: <546AD226.9010105@hindu.org> great thought! Richard Gaskin wrote: > If you've set up shared keys with the server for your other admin > tasks, you'll find that using scp or rsync within LC is often just a > one-liner. rsync blows the pants of any FTP for efficient transfer. > > put "rsync -avz ""e& tPathToLocalFile "e& \ > "e&"login at server.com:/remote/path/to/file.lc""e into tCmd > get shell(tCmd) From scott at tactilemedia.com Tue Nov 18 00:01:01 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 17 Nov 2014 21:01:01 -0800 Subject: LC Server on DreamHost? In-Reply-To: <546ACAB5.6090500@fourthworld.com> References: <546ACAB5.6090500@fourthworld.com> Message-ID: Thanks for your continued help :-) I?ve been in WTF land for like a day now. I tried configuring using the basic .htaccess that is supplied by RunRev in their lesson and the original .htaccess that I was using before all these problems. If I use the old configuration, it prevents the operation of a custom forum on my site. DreamHost?s Ubuntu update really messed things up for me. I?ve never used a terminal with the server ? not sure how to do that. Dammit Jim, I?m a designer, not a server specialist! Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/17/14, 8:27 PM, "Richard Gaskin" wrote: >Scott Rossi wrote: > > Unfortunately, I?m still having no luck getting LC server to run. > > The test page provided with the RunRev lesson doesn?t render with > > the server calculated values, so something?s not working. > > > > Is this maybe a permissions thing? I recall having to double-check > > permissions of certain files/folders with the server folder once > > uploaded. > > > > I?ll ask again: does anybody here have LC server set up and running on > > DreamHost, with a configuration that they could pass along? > >:: raises hand :: > >:) > >Every computer problem can be solved by determining the differences >between the working and non-working states. > >If the only thing you've changed is the engine file, check that the >permissions for that are executable (chmod 755 ). > >Also, make sure your .htaccess file has been updated to point to the new >executable. > >If that doesn't do it, we're then in Whiskey Tango Foxtrot land, since >those are the only two things *you've* changed, so we need to look at >what may have changed in the system config. > >You could try running the Server app by passing it the name of your .lc >file from the command line to make sure the app runs and that it's able >to return values: > > ./livecode-server somefile.lc > >If you encounter any issues they should show up in your terminal. > >If none of that helps, let us know and we'll diagnose further. > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Nov 18 00:14:55 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Nov 2014 21:14:55 -0800 Subject: LC Server on DreamHost? In-Reply-To: References: Message-ID: <546AD5CF.8060108@fourthworld.com> Scott Rossi wrote: > I?ve never used a terminal with the server ? not sure how to do that. Log into yourDH control panel and under "Accounts" make sure your account has shell access ("SSH") turned on. IMNSHO no web hosting account without shell access is worth the trouble of trying to use, because sooner or later direct access to the machine will be useful if not necessary for diagnosing issues. Once you have that set up, time to take your first foray into serious Linux geekdom: ssh @ e.g.: ssh myaccountname at somedomain.com You'll be prompted for your password (this time - down the road you'll get tired of my annoying reminders to set up shared keys so you won't need a password any more, but we'll leave that for later), and after your password is accepted it's like you're at the machine, able to run any shell commands you like. When you first log in you'll be in your account's home folder, much like on your Mac. Within that folder you'll see your domain's web root - on DH this is usually the domain name. To change directories use cd: cd somedomain.com/cgi-bin From there you can use chmod, or run the server executable using the example I gave before. WARNING: Extended use of bash may lead to addiction. Warning signs include logging into servers without any actual reason just because you can, experimenting with every option to rsync, and being able to make a tar backup of your site without having to consult man. If you begin to experience any of these symptoms, contact your local Linux user group immediately. :) -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From james at thehales.id.au Tue Nov 18 00:18:37 2014 From: james at thehales.id.au (James Hale) Date: Tue, 18 Nov 2014 16:18:37 +1100 Subject: Find the scroll location in wrapped field Message-ID: <7BB01533-BE4A-4745-B458-596F656AC464@thehales.id.au> As per the forum discussion, if you want the desired text to scroll to the top of the field you simply need to scroll first to the bottom of the field. Selecting line x of a field instructs the engine to scroll the field contents until line x is visible. As the engine stops as soon as the desired position is visible in the field, starting the field at its bottom scroll means that the sought line can only appear at the top of the field (unless of course it is already visible.) it matters not whether the text height is fixed or variable. The engine knows when a line becomes visible regardless of whatever text heights are involved. So if you have the linenumber of the line contains the text you wish to see at the top of the field then... select line -1 of field "TextToScroll" select line linenumber of field "TextToScroll" And line linenumber will now be at the top of the field. James From stephenREVOLUTION2 at barncard.com Tue Nov 18 01:24:16 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 17 Nov 2014 22:24:16 -0800 Subject: LC Server on DreamHost? In-Reply-To: <546AD5CF.8060108@fourthworld.com> References: <546AD5CF.8060108@fourthworld.com> Message-ID: On Mon, Nov 17, 2014 at 9:14 PM, Richard Gaskin wrote: > To change directories use cd: > > cd somedomain.com/cgi-bin > > From there you can use chmod, or run the server executable using the > example I gave before. > With all due respect - the problem here is getting livecode and php to execute together in the same domain space (where we might want some Wordpress pages AND livecode. This is my problem as well. The htaccess magic words that used to allow this with PHP 5.2 don't work any more - some syntax has changed either with PHP, Apache, or the use of Ubuntu vs Debian. Options +ExecCGI FollowSymLinks AddHandler livecode-script .lc .irev AddHandler php-script .php .htm .html DirectoryIndex index.irev index.lc index.php index.html Action livecode-script /cgi-bin/livecode-server/livecode-community-server some 'help' pages mention some other syntax for htaccess in the new versions of php: AddHandler application/x-httpd-php53 .php .htm .html --- but I'm without a paddle here too - all my combo Livecode/php sites are down.... Last time Andre saved me.... also - Scott - the permissions on ALL the LC server files matter, and they get scrambled when moved, either directly or by zip. here's my chart of permissions that worked before: http://barncard.com/downloads/LIVECODE_SERVER_SETUP.pdf *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From rene.micout at numericable.com Tue Nov 18 04:23:41 2014 From: rene.micout at numericable.com (=?windows-1252?Q?Ren=E9_Micout?=) Date: Tue, 18 Nov 2014 10:23:41 +0100 Subject: LiveCode 6.6.5 vs 6.7 Message-ID: <838876F2-E964-4890-9CAC-6AB0279AC18F@numericable.com> Hello everybody, I use LC 6.6.5 for my musical applications. Everything works fine. In contrast with LC 6.7 the same applications have slowdowns when intervening in real time during the course of the program (for example changes to the settings). Which may not be noticed visually, is totally unacceptable from a musical point of view. What changes between the two versions that could cause these slowdowns? Good memories of Paris Is LC 6.7 a stable version ? When I launch 6.7 ?About? window indicates ?LiveCode 7? !!? Ren? Bonjour tout le monde, J?utilise LC 6.6.5 pour mes applications musicales. Tout fonctionne bien. En revanche avec 6.7 les m?mes applications pr?sentent des ralentissements lorsqu?on intervient en temps r?el pendant le d?roulement du programme (modifications des r?glages par exemple). Ce qui ne se remarque peut-?tre pas visuellement, est tout ? fait inacceptable du point de vue musical. Qu?est-ce qui change entre les 2 versions qui pourrait entra?ner ces ralentissements ? LC 6.7 est-elle une version stable ? Lorsque je lance la version 6.7, la fen?tre ?About LiveCode? indique ?LiveCode 7? !!? Bon souvenir de Paris Ren? From rene.micout at numericable.com Tue Nov 18 04:33:05 2014 From: rene.micout at numericable.com (=?windows-1252?Q?Ren=E9_Micout?=) Date: Tue, 18 Nov 2014 10:33:05 +0100 Subject: LiveCode 6.6.5 vs 6.7 In-Reply-To: <838876F2-E964-4890-9CAC-6AB0279AC18F@numericable.com> References: <838876F2-E964-4890-9CAC-6AB0279AC18F@numericable.com> Message-ID: Le 18 nov. 2014 ? 10:23, Ren? Micout a ?crit : > Hello everybody, > I use LC 6.6.5 for my musical applications. Everything works fine. In contrast with LC 6.7 the same applications have slowdowns when intervening in real time during the course of the program (for example changes to the settings). Which may not be noticed visually, is totally unacceptable from a musical point of view. What changes between the two versions that could cause these slowdowns? > Good memories of Paris > Is LC 6.7 a stable version ? When I launch 6.7 ?About? window indicates ?LiveCode 7? !!? > Ren? > > Bonjour tout le monde, > J?utilise LC 6.6.5 pour mes applications musicales. Tout fonctionne bien. En revanche avec 6.7 les m?mes applications pr?sentent des ralentissements lorsqu?on intervient en temps r?el pendant le d?roulement du programme (modifications des r?glages par exemple). Ce qui ne se remarque peut-?tre pas visuellement, est tout ? fait inacceptable du point de vue musical. Qu?est-ce qui change entre les 2 versions qui pourrait entra?ner ces ralentissements ? > LC 6.7 est-elle une version stable ? Lorsque je lance la version 6.7, la fen?tre ?About LiveCode? indique ?LiveCode 7? !!? > Bon souvenir de Paris > Ren? Sorry, Mac OS 10.9.5... From sean at pidigital.co.uk Tue Nov 18 05:11:07 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 18 Nov 2014 10:11:07 +0000 Subject: LiveCode 6.6.5 vs 6.7 In-Reply-To: <838876F2-E964-4890-9CAC-6AB0279AC18F@numericable.com> References: <838876F2-E964-4890-9CAC-6AB0279AC18F@numericable.com> Message-ID: Hi Ren?, Which version of LC6.7 are you using? It sounds like you have one of the Release Candidates which had an issue with it's About page. What platform are you using LC on, Mac, Linux or Windows? I've just checked it on my Mac and 6.7 here shows the correct About Page for it. All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 18 November 2014 09:23, Ren? Micout wrote: > Hello everybody, > I use LC 6.6.5 for my musical applications. Everything works fine. In > contrast with LC 6.7 the same applications have slowdowns when intervening > in real time during the course of the program (for example changes to the > settings). Which may not be noticed visually, is totally unacceptable from > a musical point of view. What changes between the two versions that could > cause these slowdowns? > Good memories of Paris > Is LC 6.7 a stable version ? When I launch 6.7 ?About? window indicates > ?LiveCode 7? !!? > Ren? > > Bonjour tout le monde, > J?utilise LC 6.6.5 pour mes applications musicales. Tout fonctionne bien. > En revanche avec 6.7 les m?mes applications pr?sentent des ralentissements > lorsqu?on intervient en temps r?el pendant le d?roulement du programme > (modifications des r?glages par exemple). Ce qui ne se remarque peut-?tre > pas visuellement, est tout ? fait inacceptable du point de vue musical. > Qu?est-ce qui change entre les 2 versions qui pourrait entra?ner ces > ralentissements ? > LC 6.7 est-elle une version stable ? Lorsque je lance la version 6.7, la > fen?tre ?About LiveCode? indique ?LiveCode 7? !!? > Bon souvenir de Paris > Ren? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revolution at derbrill.de Tue Nov 18 06:43:46 2014 From: revolution at derbrill.de (Malte Brill) Date: Tue, 18 Nov 2014 12:43:46 +0100 Subject: LiveCode 6.6.5 vs 6.7 In-Reply-To: References: Message-ID: <4800D258-F626-4152-9DC4-3A5934EEF97B@derbrill.de> Bonjour Ren?, may I interest you in the benchmarking projekt which happens over here: http://forums.livecode.com/phpBB2/viewtopic.php?f=67&t=22072 It seems that tests on the things that slowed down for you might be very useful. All the best, Malte From mkoob at rogers.com Tue Nov 18 08:26:06 2014 From: mkoob at rogers.com (Martin Koob) Date: Tue, 18 Nov 2014 05:26:06 -0800 (PST) Subject: LiveCode 6.6.5 vs 6.7 In-Reply-To: <838876F2-E964-4890-9CAC-6AB0279AC18F@numericable.com> References: <838876F2-E964-4890-9CAC-6AB0279AC18F@numericable.com> Message-ID: <1416317166598-4685949.post@n4.nabble.com> One of the changes is that if you have multiple changes to the appearance of objects that require redraws on the card there will be slowdowns. If you lock the screen before those changes it will eliminate a good part of the slowdowns. Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-6-6-5-vs-6-7-tp4685945p4685949.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Tue Nov 18 09:10:17 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 18 Nov 2014 09:10:17 -0500 Subject: Find the scroll location in wrapped field In-Reply-To: <7BB01533-BE4A-4745-B458-596F656AC464@thehales.id.au> References: <7BB01533-BE4A-4745-B458-596F656AC464@thehales.id.au> Message-ID: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> James. The field will scroll to the desired line, but if the textSizes of those lines are variable, the scroll will not come out right. The discussion here and on the forum is how to make that happen. So far, no solution. The OP wanted to find text, and this is straightforward, in that the foundline can be used to set the line selection. But his data was with mixed textSizes, and that is how this all started. Craig Newman -----Original Message----- From: James Hale To: use-livecode Sent: Tue, Nov 18, 2014 12:19 am Subject: Re: Find the scroll location in wrapped field As per the forum discussion, if you want the desired text to scroll to the top of the field you simply need to scroll first to the bottom of the field. Selecting line x of a field instructs the engine to scroll the field contents until line x is visible. As the engine stops as soon as the desired position is visible in the field, starting the field at its bottom scroll means that the sought line can only appear at the top of the field (unless of course it is already visible.) it matters not whether the text height is fixed or variable. The engine knows when a line becomes visible regardless of whatever text heights are involved. So if you have the linenumber of the line contains the text you wish to see at the top of the field then... select line -1 of field "TextToScroll" select line linenumber of field "TextToScroll" And line linenumber will now be at the top of the field. James _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rene.micout at numericable.com Tue Nov 18 09:42:50 2014 From: rene.micout at numericable.com (=?windows-1252?Q?Ren=E9_Micout?=) Date: Tue, 18 Nov 2014 15:42:50 +0100 Subject: LiveCode 6.6.5 vs 6.7 In-Reply-To: <1416317166598-4685949.post@n4.nabble.com> References: <838876F2-E964-4890-9CAC-6AB0279AC18F@numericable.com> <1416317166598-4685949.post@n4.nabble.com> Message-ID: <3A7C3670-5EE4-4AB2-A68D-6DBA47502ACF@numericable.com> Thank you Sean, Malte and Martin, But my changes are done in real time during the running process (the music is playing and, by example, I click on a slider to modify volume? When I use the slider the music slow down). But I have no insert ?Lock screen? yet? and I don?t know if the problem will be resolved? Only with LC 6.7 before all was fluid... Ren? Le 18 nov. 2014 ? 14:26, Martin Koob a ?crit : > One of the changes is that if you have multiple changes to the appearance of > objects that require redraws on the card there will be slowdowns. If you > lock the screen before those changes it will eliminate a good part of the > slowdowns. > > Martin Koob > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-6-6-5-vs-6-7-tp4685945p4685949.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Nov 18 10:14:54 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Nov 2014 07:14:54 -0800 Subject: Find the scroll location in wrapped field In-Reply-To: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> References: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> Message-ID: <546B626E.6070605@fourthworld.com> dunbarx wrote: >> James Hale wrote: >> >> So if you have the linenumber of the line contains the text you wish >> to see at the top of the field then... >> >> select line -1 of field "TextToScroll" >> select line linenumber of field "TextToScroll" >> >> And line linenumber will now be at the top of the field. > > > The field will scroll to the desired line, but if the textSizes > of those lines are variable, the scroll will not come out right. > > > The discussion here and on the forum is how to make that happen. > So far, no solution. The OP wanted to find text, and this is > straightforward, in that the foundline can be used to set the > line selection. But his data was with mixed textSizes, and that > is how this all started. If James were suggesting doing calculations based on textHeight you'd be spot-on, but by using selection he's relying on the engine's understanding of the text as rendered - testing here it seems to work quite well. If we needed to do this with calculations only (if for some reason selection would be problematic), we could use the formattedHeight of line 1 to the desired line, subtracting the effective textheight of the desired line itself (and accounting for the topmargin), e.g.: put lineoffset("stringWeAreLookingFor", fld 1) into tLOS put the effective textheight of line tLOS of fld 1 into tHt put the formattedHeight of line 1 to tLOS of fld 1 into tScroll set the vscroll of fld 1 to (tScroll-tHt-the topmargin of fld 1) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From devin_asay at byu.edu Tue Nov 18 10:22:51 2014 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 18 Nov 2014 15:22:51 +0000 Subject: BBEdit Language Module for LiveCode In-Reply-To: References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> <546A6937.7040306@cogapp.com> Message-ID: <9FD43748-66D6-4686-ADB1-06E091D6E930@byu.edu> On Nov 17, 2014, at 7:15 PM, Kay C Lan wrote: > Hi Ben, > > Yes it is fortuitous that the Livescript language has similarities to > LiveCode. Who knows, maybe you innocent blunder and polite retreat may > cause a few Livescripters to find out what the heck LiveCode is... and be > pleasantly surprised that it's something they really like. So after the confusion, is there now a separate github account set up for the BBEdit-LiveCode language module? I?m looking for it but can?t find it. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From eric at canelasoftware.com Tue Nov 18 11:06:42 2014 From: eric at canelasoftware.com (Eric Corbett) Date: Tue, 18 Nov 2014 08:06:42 -0800 Subject: Find the scroll location in wrapped field In-Reply-To: <546B626E.6070605@fourthworld.com> References: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> <546B626E.6070605@fourthworld.com> Message-ID: <347D5829-756D-434F-8ABE-1FDD519D9B0F@canelasoftware.com> I knew you could select the line number, but I did not know starting at the end would provide the best results. This will be helpful, thanks. One method I have used in the past is to put the htmlText of the field into a variable, then put line 1 to (the line to scroll to) into the field (or delete line (scroll line +1) to -1 of the field. Find the formattedHeight at this point, set the htmlText of the field back to the original contents, then scroll to the formattedHeight value. - eric On Nov 18, 2014, at 7:14 AM, Richard Gaskin wrote: > dunbarx wrote: > >> James Hale wrote: > >> > >> So if you have the linenumber of the line contains the text you wish > >> to see at the top of the field then... > >> > >> select line -1 of field "TextToScroll" > >> select line linenumber of field "TextToScroll" > >> > >> And line linenumber will now be at the top of the field. > > > > > > The field will scroll to the desired line, but if the textSizes > > of those lines are variable, the scroll will not come out right. > > > > > > The discussion here and on the forum is how to make that happen. > > So far, no solution. The OP wanted to find text, and this is > > straightforward, in that the foundline can be used to set the > > line selection. But his data was with mixed textSizes, and that > > is how this all started. > > If James were suggesting doing calculations based on textHeight you'd be spot-on, but by using selection he's relying on the engine's understanding of the text as rendered - testing here it seems to work quite well. > > If we needed to do this with calculations only (if for some reason selection would be problematic), we could use the formattedHeight of line 1 to the desired line, subtracting the effective textheight of the desired line itself (and accounting for the topmargin), e.g.: > > put lineoffset("stringWeAreLookingFor", fld 1) into tLOS > put the effective textheight of line tLOS of fld 1 into tHt > put the formattedHeight of line 1 to tLOS of fld 1 into tScroll > set the vscroll of fld 1 to (tScroll-tHt-the topmargin of fld 1) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Tue Nov 18 12:47:53 2014 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 18 Nov 2014 12:47:53 -0500 Subject: Find the scroll location in wrapped field In-Reply-To: <546B626E.6070605@fourthworld.com> References: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> <546B626E.6070605@fourthworld.com> Message-ID: <546B8649.9020007@gmail.com> Richard, I don't think the solution works because of a bug in livecode where spacebefore and spaceafter are not taken into account. This is the problem: put the formattedHeight of line 1 to tLOS of fld 1 into tScroll I just posted my solution in the forums and I had to manually add them in. I am also a bit confused about using the topmargin. I agree with your logic but I when I tried it, things were off, so I did not use in calculating the top. I will post a new version of my MasterLibrary shortly and this will be included. Regards, Mike On 11/18/14 10:14 AM, Richard Gaskin wrote: > dunbarx wrote: > >> James Hale wrote: > >> > >> So if you have the linenumber of the line contains the text you wish > >> to see at the top of the field then... > >> > >> select line -1 of field "TextToScroll" > >> select line linenumber of field "TextToScroll" > >> > >> And line linenumber will now be at the top of the field. > > > > > > The field will scroll to the desired line, but if the textSizes > > of those lines are variable, the scroll will not come out right. > > > > > > The discussion here and on the forum is how to make that happen. > > So far, no solution. The OP wanted to find text, and this is > > straightforward, in that the foundline can be used to set the > > line selection. But his data was with mixed textSizes, and that > > is how this all started. > > If James were suggesting doing calculations based on textHeight you'd > be spot-on, but by using selection he's relying on the engine's > understanding of the text as rendered - testing here it seems to work > quite well. > > If we needed to do this with calculations only (if for some reason > selection would be problematic), we could use the formattedHeight of > line 1 to the desired line, subtracting the effective textheight of > the desired line itself (and accounting for the topmargin), e.g.: > > put lineoffset("stringWeAreLookingFor", fld 1) into tLOS > put the effective textheight of line tLOS of fld 1 into tHt > put the formattedHeight of line 1 to tLOS of fld 1 into tScroll > set the vscroll of fld 1 to (tScroll-tHt-the topmargin of fld 1) > From ambassador at fourthworld.com Tue Nov 18 13:01:45 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Nov 2014 10:01:45 -0800 Subject: Find the scroll location in wrapped field In-Reply-To: <546B8649.9020007@gmail.com> References: <546B8649.9020007@gmail.com> Message-ID: <546B8989.6030907@fourthworld.com> Michael Doub wrote: > I don't think the solution works because of a bug in livecode where > spacebefore and spaceafter are not taken into account. Thanks - I wasn't aware of that bug, but was able to find it: Hopefully it'll get addressed for 6.7.1 and 7.0.1, since it's needed for a wide range of tasks relating to text metrics. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mikedoub at gmail.com Tue Nov 18 13:23:26 2014 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 18 Nov 2014 13:23:26 -0500 Subject: Find Scroll position of a chunk within a line that is wrapped In-Reply-To: <546B8989.6030907@fourthworld.com> References: <546B8649.9020007@gmail.com> <546B8989.6030907@fourthworld.com> Message-ID: <546B8E9E.2030902@gmail.com> A related question to positioning a line within a field, is positioning a chunk within a line that is wrapped. I am stumped on this one and it may need engine support. I don't know how to figure out the scroll value of something in the middle of a wrapped line. In the thread discussing scroll positioning within a wrapped field we see how to find the top. I figured out how to get the bottom using James Hales approach. (code in the forum and MasterLibrary) Does anyone see a way to calculate the scroll position of a chunk within a line that is wrapped? Regards Mike On 11/18/14 1:01 PM, Richard Gaskin wrote: > Michael Doub wrote: > > > I don't think the solution works because of a bug in livecode where > > spacebefore and spaceafter are not taken into account. > > Thanks - I wasn't aware of that bug, but was able to find it: > > > Hopefully it'll get addressed for 6.7.1 and 7.0.1, since it's needed > for a wide range of tasks relating to text metrics. > From livfoss at mac.com Tue Nov 18 13:38:06 2014 From: livfoss at mac.com (Graham Samuel) Date: Tue, 18 Nov 2014 19:38:06 +0100 Subject: Menu question Message-ID: <5D950046-A9C9-48FC-907C-2B586F17F693@mac.com> This is a naive question. I really don?t see what I?m doing wrong. I am trying to create a very simple stack in order to demonstrate a bug which is something to do with using Unicode characters in menu items. So I?ve created the simplest possible stack - one stack, one card, using LC 7.0.1 rc2 on a Mac running Yosemite. I used the Menu Builder to create a menu (i.e. a group with buttons) and named it ?UniMenu?. I left the structure created by the Menu Builder alone, apart from changing the script of the Edit menu - so we have a group ?UniMenu? containing buttons ?File?, ?Edit?, ?Help?. The buttons have the right properties to be menus, and I have explicitly set the menubar of this stack to the group ?UniMenu?. But when I switch the IDE to ?run? mode (top left hand tool on the IDE toolbar), the menu doesn?t appear. Instead I get a kind of truncated LIveCode menu. This must be blooming obvious, but what did I do wrong? Can?t find any help in the documentation. The odd thing is that I?ve created menus many times before but I must have done it some other way. TIA Graham From ambassador at fourthworld.com Tue Nov 18 13:50:00 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Nov 2014 10:50:00 -0800 Subject: LC Server on DreamHost? In-Reply-To: References: Message-ID: <546B94D8.7060208@fourthworld.com> stephen barncard wrote: > With all due respect - the problem here is getting livecode and php to > execute together in the same domain space (where we might want some > Wordpress pages AND livecode. This is my problem as well. Thanks. Somehow I missed the reference to PHP requirements in Scott's message. > The htaccess magic words that used to allow this with PHP 5.2 don't > work any more... IIRC the notice I got from DH said they've upgraded to PHP 5.3. I don't spend enough time with PHP to know what differences may affect shared hosting. Here's the link they provided for PHP assistance in their upgrade notice from Nov 5: > - some syntax has changed either with PHP, Apache, or > the use of Ubuntu vs Debian. > > Options +ExecCGI FollowSymLinks > AddHandler livecode-script .lc .irev > AddHandler php-script .php .htm .html > DirectoryIndex index.irev index.lc index.php index.html > Action livecode-script /cgi-bin/livecode-server/livecode-community-server > Is it necessary to declare special handling for PHP when declaring special handling for other file types? I'd thought PHP support was a given on DH's shared hosting accounts, handled in Apache2.config at the server level. To double-check what I had originally understood from Scott's post (looking at LC alone without PHP), I put a fresh install of LC Server v7 on a new DH host and after setting permissions it was up and running with just two lines in .htaccess, the AddHandler and the Action defining that handler. Given the prevalence of PHP, I doubt DH's requirements for the upgrade involve much work - they'd be overloaded with support requests if they didn't give some good thought to backward compatibility with people's existing configs. Normally there's no conflict between any combination of CGIs mentioned in .htaccess as long as they don't mix file extensions. So I'll bet that once we pin this down, we'll have an "a ha!" moment in which the solution is simpler than what it may seem right now. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Tue Nov 18 14:04:00 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 18 Nov 2014 11:04:00 -0800 Subject: Find Scroll position of a chunk within a line that is wrapped In-Reply-To: <546B8E9E.2030902@gmail.com> References: <546B8649.9020007@gmail.com> <546B8989.6030907@fourthworld.com> <546B8E9E.2030902@gmail.com> Message-ID: If I understand what you?re asking, I believe you can use the formattedRect for this. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/18/14, 10:23 AM, "Michael Doub" wrote: >A related question to positioning a line within a field, is positioning >a chunk within a line that is wrapped. I am stumped on this one and it >may need engine support. I don't know how to figure out the scroll >value of something in the middle of a wrapped line. In the thread >discussing scroll positioning within a wrapped field we see how to find >the top. I figured out how to get the bottom using James Hales >approach. (code in the forum and MasterLibrary) > >Does anyone see a way to calculate the scroll position of a chunk within >a line that is wrapped? > >Regards > Mike > > > >On 11/18/14 1:01 PM, Richard Gaskin wrote: >> Michael Doub wrote: >> >> > I don't think the solution works because of a bug in livecode where >> > spacebefore and spaceafter are not taken into account. >> >> Thanks - I wasn't aware of that bug, but was able to find it: >> >> >> Hopefully it'll get addressed for 6.7.1 and 7.0.1, since it's needed >> for a wide range of tasks relating to text metrics. >> > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Nov 18 14:08:38 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 18 Nov 2014 14:08:38 -0500 Subject: Find the scroll location in wrapped field In-Reply-To: <546B626E.6070605@fourthworld.com> References: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> <546B626E.6070605@fourthworld.com> Message-ID: <8D1D17A30B99B42-21B0-7224@webmail-va029.sysops.aol.com> Richard. I tried a bunch of stuff like that; your thinking seems sound. I thought mine did as well. Sometimes it sets a line properly, and sometimes, especially with small textSize lines near large ones, not at all. In fact, several lines away. I have a field with widely varied textSizes and ran your handler. It just does not seem to work. Again, I made a small field with: on mouseUp repeat with y = 1 to 100 put y into line y of fld 1 end repeat repeat with y = 1 to the number of lines of fld 1 set the textSize of line y of fld 1 to random(20) + 6 end repeat end mouseUp Now if I try to select, say line 44, as Jacque suggested, (never mind which direction you are coming from, let us assume you are always at the bottom of the scroll) it will not position the data nicely. With your code, sometimes it works, and sometimes it can be three lines off, again, usually when the stringWeAreLookingFor happens to be a small textSize, near very large ones. Craig put lineoffset("stringWeAreLookingFor", fld 1) into tLOS put the effective textheight of line tLOS of fld 1 into tHt put the formattedHeight of line 1 to tLOS of fld 1 into tScroll set the vscroll of fld 1 to (tScroll-tHt-the topmargin of fld 1) -----Original Message----- From: Richard Gaskin To: use-livecode Sent: Tue, Nov 18, 2014 10:15 am Subject: Re: Find the scroll location in wrapped field dunbarx wrote: >> James Hale wrote: >> >> So if you have the linenumber of the line contains the text you wish >> to see at the top of the field then... >> >> select line -1 of field "TextToScroll" >> select line linenumber of field "TextToScroll" >> >> And line linenumber will now be at the top of the field. > > > The field will scroll to the desired line, but if the textSizes > of those lines are variable, the scroll will not come out right. > > > The discussion here and on the forum is how to make that happen. > So far, no solution. The OP wanted to find text, and this is > straightforward, in that the foundline can be used to set the > line selection. But his data was with mixed textSizes, and that > is how this all started. If James were suggesting doing calculations based on textHeight you'd be spot-on, but by using selection he's relying on the engine's understanding of the text as rendered - testing here it seems to work quite well. If we needed to do this with calculations only (if for some reason selection would be problematic), we could use the formattedHeight of line 1 to the desired line, subtracting the effective textheight of the desired line itself (and accounting for the topmargin), e.g.: put lineoffset("stringWeAreLookingFor", fld 1) into tLOS put the effective textheight of line tLOS of fld 1 into tHt put the formattedHeight of line 1 to tLOS of fld 1 into tScroll set the vscroll of fld 1 to (tScroll-tHt-the topmargin of fld 1) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Nov 18 14:11:27 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 18 Nov 2014 11:11:27 -0800 Subject: Help! Debugger went silent! In-Reply-To: <546AD5CF.8060108@fourthworld.com> References: <546AD5CF.8060108@fourthworld.com> Message-ID: <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> Folks: I?m on OSX 10.9.5, LC V7.0. The debugger has stopped responding to breakpoints! Is there some way I could have disabled it? Or is my stack corrupted possibly? I can?t find any way to restore it and it won?t recognize breakpoints on older projects, or when I switch versions of livecode, for example, I tried LCV7.0 (rc20 and no satisfaction. Bill From gregory.lypny at videotron.ca Tue Nov 18 14:14:39 2014 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 18 Nov 2014 14:14:39 -0500 Subject: Running Apache Under Yosemite Message-ID: Hello everyone, I have been happily running LiveCode server under Mavericks and am soon going to upgrade to Yosemite. Can I continue to use the same modified httpd.conf file that worked under Mavericks? Regards, Gregory From dochawk at gmail.com Tue Nov 18 14:34:59 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Nov 2014 11:34:59 -0800 Subject: Help! Debugger went silent! In-Reply-To: <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> Message-ID: On Tue, Nov 18, 2014 at 11:11 AM, William Prothero wrote: > I?m on OSX 10.9.5, LC V7.0. The debugger has stopped responding to > breakpoints! Is there some way I could have disabled it? Or is my stack > corrupted possibly? I can?t find any way to restore it and it won?t > recognize breakpoints on older projects, or when I switch versions of > livecode, for example, I tried LCV7.0 (rc20 and no satisfaction. Clear all of your breakpoints, quit livecode, restart. This did it for me the other day. There seems to be a corruption that accumulates. This behavior is why I call them Pirate Code Dots (PCD) . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Nov 18 14:35:33 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Nov 2014 11:35:33 -0800 Subject: Help! Debugger went silent! In-Reply-To: References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> Message-ID: On Tue, Nov 18, 2014 at 11:34 AM, Dr. Hawkins wrote: > Clear all of your breakpoints, quit livecode, restart. > And by that I don't mean individually, but with "clear all breakpoints" -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Tue Nov 18 14:37:10 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Nov 2014 13:37:10 -0600 Subject: Find the scroll location in wrapped field In-Reply-To: <8D1D17A30B99B42-21B0-7224@webmail-va029.sysops.aol.com> References: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> <546B626E.6070605@fourthworld.com> <8D1D17A30B99B42-21B0-7224@webmail-va029.sysops.aol.com> Message-ID: <546B9FE6.6030003@hyperactivesw.com> On 11/18/2014, 1:08 PM, dunbarx at aol.com wrote: > I tried a bunch of stuff like that; your thinking seems sound. I > thought mine did as well. Sometimes it sets a line properly, and > sometimes, especially with small textSize lines near large ones, not > at all. In fact, several lines away. I am still not having any issues at all with this handler: on doScroll pNum put the formattedheight of line 1 to pNum of fld 1 into tScroll set the scroll of fld 1 to tScroll set the hilitedline of fld 1 to pNum end doScroll It places the correct line at the top, no matter which line is currently selected, and selects the designated line of the field. The thing that makes this work is that it does require having listbehavior set to true. Once that's done, the engine handles all the details without any trouble. Here is the handler I used to set up the field content. I add the line numbers so I can see whether the correct line does in fact get selected. on setup get the colornames repeat with x = 1 to the number of lines in it put x & space before line x of it end repeat put it into fld 1 repeat with x = 1 to the number of lines in fld 1 step 2 set the textsize of line x of fld 1 to random(40)+12 end repeat end setup -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Tue Nov 18 14:38:40 2014 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 18 Nov 2014 14:38:40 -0500 Subject: Find Scroll position of a chunk within a line that is wrapped In-Reply-To: References: <546B8649.9020007@gmail.com> <546B8989.6030907@fourthworld.com> <546B8E9E.2030902@gmail.com> Message-ID: <546BA040.9090501@gmail.com> I think that you are correct! That was the lead that I was missing. Thanks! Mike On 11/18/14 2:04 PM, Scott Rossi wrote: > If I understand what you?re asking, I believe you can use the > formattedRect for this. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/18/14, 10:23 AM, "Michael Doub" wrote: > >> A related question to positioning a line within a field, is positioning >> a chunk within a line that is wrapped. I am stumped on this one and it >> may need engine support. I don't know how to figure out the scroll >> value of something in the middle of a wrapped line. In the thread >> discussing scroll positioning within a wrapped field we see how to find >> the top. I figured out how to get the bottom using James Hales >> approach. (code in the forum and MasterLibrary) >> >> Does anyone see a way to calculate the scroll position of a chunk within >> a line that is wrapped? >> >> Regards >> Mike >> >> >> >> On 11/18/14 1:01 PM, Richard Gaskin wrote: >>> Michael Doub wrote: >>> >>>> I don't think the solution works because of a bug in livecode where >>>> spacebefore and spaceafter are not taken into account. >>> Thanks - I wasn't aware of that bug, but was able to find it: >>> >>> >>> Hopefully it'll get addressed for 6.7.1 and 7.0.1, since it's needed >>> for a wide range of tasks relating to text metrics. >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Nov 18 14:41:35 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Nov 2014 11:41:35 -0800 Subject: Running Apache Under Yosemite In-Reply-To: References: Message-ID: <546BA0EF.4030102@fourthworld.com> Gregory Lypny wrote: > I have been happily running LiveCode server under Mavericks and am > soon going to upgrade to Yosemite. Can I continue to use the same > modified httpd.conf file that worked under Mavericks? According to this blog the upgrade should allow you to use your old config, but it will replace it with a new one - this includes instructions on finding and restoring the old config: If this is for personal use for testing (local host only, no open ports) the security aspects probably don't matter much, but Apple ships with an outdated version of Apache which has known security issues, so you'll need to manually update it for anything exposed to the Internet: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthednet.org Tue Nov 18 15:07:02 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 18 Nov 2014 12:07:02 -0800 Subject: Help! Debugger went silent! In-Reply-To: References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> Message-ID: <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> Dr. Thanks. I tried that. I tried a previously backed up version with v7.0, did Disk Warrior on my hard drive, tried V7.0 (Rc2) and it didn?t respond. The only thing that did respond was going back to v6.7, V6.7 opens the project, runs it ok, but if I try to save it, it crashes LC. If I save it in legacy format, in my V6.0 version, it saves fine, opens fine in V6.7, but saving it crashes LC. This is really a bummer! I?m closing in on a finish date and now this!! Frustrating! Bill On Nov 18, 2014, at 11:35 AM, Dr. Hawkins wrote: > On Tue, Nov 18, 2014 at 11:34 AM, Dr. Hawkins wrote: > >> Clear all of your breakpoints, quit livecode, restart. >> > > And by that I don't mean individually, but with "clear all breakpoints" > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Nov 18 15:15:57 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 18 Nov 2014 12:15:57 -0800 Subject: Help! Debugger went silent! In-Reply-To: <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> Message-ID: <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> I tried a new stack with LCV7.0 and the debugger has definitely stopped working. I replaced the myLiveCode folder (with the plugins, etc) and it still doesn?t respond to breakpoints. Any other suggestions? Bill On Nov 18, 2014, at 12:07 PM, William Prothero wrote: > Dr. > Thanks. I tried that. I tried a previously backed up version with v7.0, did Disk Warrior on my hard drive, tried V7.0 (Rc2) and it didn?t respond. The only thing that did respond was going back to v6.7, V6.7 opens the project, runs it ok, but if I try to save it, it crashes LC. If I save it in legacy format, in my V6.0 version, it saves fine, opens fine in V6.7, but saving it crashes LC. > > This is really a bummer! I?m closing in on a finish date and now this!! Frustrating! > Bill > > On Nov 18, 2014, at 11:35 AM, Dr. Hawkins wrote: > >> On Tue, Nov 18, 2014 at 11:34 AM, Dr. Hawkins wrote: >> >>> Clear all of your breakpoints, quit livecode, restart. >>> >> >> And by that I don't mean individually, but with "clear all breakpoints" >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Nov 18 15:53:40 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 18 Nov 2014 12:53:40 -0800 Subject: Help! Debugger went silent! In-Reply-To: <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> Message-ID: <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> Folks: Ok, never mind. It started working again. I have no idea what the critical step was. Basically, it wouldn?t go into script debug mode under the developer menu. A mystery, but now back to work. Bill On Nov 18, 2014, at 12:15 PM, William Prothero wrote: > I tried a new stack with LCV7.0 and the debugger has definitely stopped working. I replaced the myLiveCode folder (with the plugins, etc) and it still doesn?t respond to breakpoints. > > Any other suggestions? > Bill > > On Nov 18, 2014, at 12:07 PM, William Prothero wrote: > >> Dr. >> Thanks. I tried that. I tried a previously backed up version with v7.0, did Disk Warrior on my hard drive, tried V7.0 (Rc2) and it didn?t respond. The only thing that did respond was going back to v6.7, V6.7 opens the project, runs it ok, but if I try to save it, it crashes LC. If I save it in legacy format, in my V6.0 version, it saves fine, opens fine in V6.7, but saving it crashes LC. >> >> This is really a bummer! I?m closing in on a finish date and now this!! Frustrating! >> Bill >> >> On Nov 18, 2014, at 11:35 AM, Dr. Hawkins wrote: >> >>> On Tue, Nov 18, 2014 at 11:34 AM, Dr. Hawkins wrote: >>> >>>> Clear all of your breakpoints, quit livecode, restart. >>>> >>> >>> And by that I don't mean individually, but with "clear all breakpoints" >>> >>> >>> -- >>> Dr. Richard E. Hawkins, Esq. >>> (702) 508-8462 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Tue Nov 18 15:54:34 2014 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 18 Nov 2014 15:54:34 -0500 Subject: Find Scroll position of a chunk within a line that is wrapped In-Reply-To: <546BA040.9090501@gmail.com> References: <546B8649.9020007@gmail.com> <546B8989.6030907@fourthworld.com> <546B8E9E.2030902@gmail.com> <546BA040.9090501@gmail.com> Message-ID: <546BB20A.5030109@gmail.com> My wishful thinking hearing about a new lead got me over excited. I still have not found a way to make it work without looking at every character and simulating the word wrap myself... yuck! Consider we have the following in a field 1 and pretend the line breaks you see are really the soft wrap points of a single line 1, and we are trying to get the scroll point for where char 12 is the first visible line: (remember the soft wrap occurs on a whitespace characters) 1234 6789 123456 890 234 * the formattedheight of line 1 of fld 1 get us the total height of the line * item 4 of the formattedrect of line 1 of fld 1 - item 2 of the formattedrect of line 1 of fld 1 also gives us the total height * item 4 of the formattedrect of char 1 to 12 of fld 1 - item 2 of the formattedrect of char 1 to 12 of fld 1 gives us the height from the top of the first soft line to the bottom of the second soft line. Unfortunately we need the TOP of the second soft line. * if we use the trick of selecting the last line and then selecting the current line, vScroll - the height of the line will give is the height of the last soft line 123. Close but no cigar. Any other suggestions? I would like to see a new feature where we provide a line number in a field and we get a list of start and end character of each soft line something like: get linedetails of line 1 of fld 1 would return: 1,10 10,21 22,24 -- remember the soft wrap occurs on a whitespace character the number of lines it would tell us the number of soft lines the number of words in char 1 to 10 of fld 1 tells us the number of words in the first soft line. the formattedrect of char 10 to 21 of fld 1 tells us the height of the second soft line. This is the most flexible solution I could come up with. Other solution welcome. ;-) Regards, Mike On 11/18/14 2:38 PM, Michael Doub wrote: > I think that you are correct! That was the lead that I was missing. > > Thanks! > Mike > > On 11/18/14 2:04 PM, Scott Rossi wrote: >> If I understand what you?re asking, I believe you can use the >> formattedRect for this. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 11/18/14, 10:23 AM, "Michael Doub" wrote: >> >>> A related question to positioning a line within a field, is positioning >>> a chunk within a line that is wrapped. I am stumped on this one >>> and it >>> may need engine support. I don't know how to figure out the scroll >>> value of something in the middle of a wrapped line. In the thread >>> discussing scroll positioning within a wrapped field we see how to find >>> the top. I figured out how to get the bottom using James Hales >>> approach. (code in the forum and MasterLibrary) >>> >>> Does anyone see a way to calculate the scroll position of a chunk >>> within >>> a line that is wrapped? >>> >>> Regards >>> Mike >>> >>> >>> >>> On 11/18/14 1:01 PM, Richard Gaskin wrote: >>>> Michael Doub wrote: >>>> >>>>> I don't think the solution works because of a bug in livecode where >>>>> spacebefore and spaceafter are not taken into account. >>>> Thanks - I wasn't aware of that bug, but was able to find it: >>>> >>>> >>>> Hopefully it'll get addressed for 6.7.1 and 7.0.1, since it's needed >>>> for a wide range of tasks relating to text metrics. >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From jacque at hyperactivesw.com Tue Nov 18 16:01:43 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Nov 2014 15:01:43 -0600 Subject: Help! Debugger went silent! In-Reply-To: <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> Message-ID: <546BB3B7.9020809@hyperactivesw.com> On 11/18/2014, 2:53 PM, William Prothero wrote: > Ok, never mind. It started working again. I have no idea what the > critical step was. Basically, it wouldn?t go into script debug mode > under the developer menu. A mystery, but now back to work. I wish we could figure out why that happens. If we could just get a recipe it could be fixed. Maybe if it happens again you'll notice a pattern. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Tue Nov 18 16:25:05 2014 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 18 Nov 2014 16:25:05 -0500 Subject: Find the scroll location in wrapped field In-Reply-To: <546B9FE6.6030003@hyperactivesw.com> References: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> <546B626E.6070605@fourthworld.com> <8D1D17A30B99B42-21B0-7224@webmail-va029.sysops.aol.com> <546B9FE6.6030003@hyperactivesw.com> Message-ID: <546BB931.1040809@gmail.com> Life is good when you have fixed line heights, dontwrap or listbehavior and you don't use spacebefore, spaceafter or imageSource As you might expect, I live in opposite world: with multiple fonts, text sixes, spacebefore, spaceafter, word wrap and imageSource. (I am trying to build a special purpose e-Book where the user can shrink and expand the text as needed with everything scaling, looking really nice with fluid page turning.) pageranges, and formattedheight not working are forcing me to work a lot harder than I would like, because I am not willing to compromise on how it looks. -= Mike On 11/18/14 2:37 PM, J. Landman Gay wrote: > On 11/18/2014, 1:08 PM, dunbarx at aol.com wrote: >> I tried a bunch of stuff like that; your thinking seems sound. I >> thought mine did as well. Sometimes it sets a line properly, and >> sometimes, especially with small textSize lines near large ones, not >> at all. In fact, several lines away. > > > I am still not having any issues at all with this handler: > > on doScroll pNum > put the formattedheight of line 1 to pNum of fld 1 into tScroll > set the scroll of fld 1 to tScroll > set the hilitedline of fld 1 to pNum > end doScroll > > It places the correct line at the top, no matter which line is > currently selected, and selects the designated line of the field. > > The thing that makes this work is that it does require having > listbehavior set to true. Once that's done, the engine handles all the > details without any trouble. > > Here is the handler I used to set up the field content. I add the line > numbers so I can see whether the correct line does in fact get selected. > > on setup > get the colornames > repeat with x = 1 to the number of lines in it > put x & space before line x of it > end repeat > put it into fld 1 > repeat with x = 1 to the number of lines in fld 1 step 2 > set the textsize of line x of fld 1 to random(40)+12 > end repeat > end setup > > From prothero at earthednet.org Tue Nov 18 16:51:05 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 18 Nov 2014 13:51:05 -0800 Subject: Help! Debugger went silent! In-Reply-To: <546BB3B7.9020809@hyperactivesw.com> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> Message-ID: Jacqueline: Me, too. It?s weird. I tried different versions of LC. Versions older than 6.7 worked, but wouldn?t save the file, even tho I had saved it in legacy 5.5 format from V7.0. Then I moved the app files over to another computer, tried it on the community version of LC 7.0 and all was fine. After I then went back to my main working computer where it was failing, it started working. A mystery. Bill On Nov 18, 2014, at 1:01 PM, J. Landman Gay wrote: > On 11/18/2014, 2:53 PM, William Prothero wrote: >> Ok, never mind. It started working again. I have no idea what the >> critical step was. Basically, it wouldn?t go into script debug mode >> under the developer menu. A mystery, but now back to work. > > I wish we could figure out why that happens. If we could just get a recipe it could be fixed. Maybe if it happens again you'll notice a pattern. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Nov 18 17:11:04 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 18 Nov 2014 17:11:04 -0500 Subject: Find the scroll location in wrapped field In-Reply-To: <546B9FE6.6030003@hyperactivesw.com> References: <8D1D150826BC725-21B0-4531@webmail-va029.sysops.aol.com> <546B626E.6070605@fourthworld.com> <8D1D17A30B99B42-21B0-7224@webmail-va029.sysops.aol.com> <546B9FE6.6030003@hyperactivesw.com> Message-ID: <8D1D193ADEC02FE-21B0-8B03@webmail-va029.sysops.aol.com> Jacque. Neither do I. Not sure anymore which handlers I have tried and which not. And your methodology is so compact and elegant. Craig on doScroll pNum put the formattedheight of line 1 to pNum of fld 1 into tScroll set the scroll of fld 1 to tScroll set the hilitedline of fld 1 to pNum end doScroll -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Tue, Nov 18, 2014 2:38 pm Subject: Re: Find the scroll location in wrapped field On 11/18/2014, 1:08 PM, dunbarx at aol.com wrote: > I tried a bunch of stuff like that; your thinking seems sound. I > thought mine did as well. Sometimes it sets a line properly, and > sometimes, especially with small textSize lines near large ones, not > at all. In fact, several lines away. I am still not having any issues at all with this handler: on doScroll pNum put the formattedheight of line 1 to pNum of fld 1 into tScroll set the scroll of fld 1 to tScroll set the hilitedline of fld 1 to pNum end doScroll It places the correct line at the top, no matter which line is currently selected, and selects the designated line of the field. The thing that makes this work is that it does require having listbehavior set to true. Once that's done, the engine handles all the details without any trouble. Here is the handler I used to set up the field content. I add the line numbers so I can see whether the correct line does in fact get selected. on setup get the colornames repeat with x = 1 to the number of lines in it put x & space before line x of it end repeat put it into fld 1 repeat with x = 1 to the number of lines in fld 1 step 2 set the textsize of line x of fld 1 to random(40)+12 end repeat end setup -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Nov 18 18:00:10 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 18 Nov 2014 15:00:10 -0800 Subject: Whats the proper way to show a help field? In-Reply-To: References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> Message-ID: <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> Folks: I have a help field that I want to pop up and follow the mouse when it?s within a specific rect. What I?m doing is showing the x,y values in a data plot region. So, I do something like: on mouseEnter doTheDisplay end mouseEnter on doTheDisplay repeat while the mouseLoc is within theRect doStuff that shows the field and its contents end repeat end doTheDisplay The problem with this is I am getting ?Recursion Limit? errors. William A. Prothero http://es.earthednet.org/ From rdimola at evergreeninfo.net Tue Nov 18 19:16:47 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 18 Nov 2014 19:16:47 -0500 Subject: LiveCode server and library stacks In-Reply-To: <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> Message-ID: <004101d0038e$1b9e4160$52dac420$@net> I'm writing a web service. I'm trying to activate a library stack using this code:(line numbers are included just in email) 15:if there is a file ("lib/DB_Library.livecode") then 16: start using stack ("lib/DB_Library.livecode") 17:end if the code finds the stack file but it won't "start" I'm getting this error: row 16, col 9: Chunk: can't find stack row 16, col 1: start: can't find object row 15, col 1: if-then: error in statement Where am I going wrong? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ambassador at fourthworld.com Tue Nov 18 20:24:11 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Nov 2014 17:24:11 -0800 Subject: LiveCode server and library stacks In-Reply-To: <004101d0038e$1b9e4160$52dac420$@net> References: <004101d0038e$1b9e4160$52dac420$@net> Message-ID: <546BF13B.8050805@fourthworld.com> Ralph DiMola wrote: > I'm writing a web service. I'm trying to activate a library stack > using this code:(line numbers are included just in email) > > 15:if there is a file ("lib/DB_Library.livecode") then > 16: start using stack ("lib/DB_Library.livecode") > 17:end if > > the code finds the stack file but it won't "start" I'm getting > this error: > row 16, col 9: Chunk: can't find stack > row 16, col 1: start: can't find object > row 15, col 1: if-then: error in statement > > Where am I going wrong? Was the library made in v7 and the server running v6.x? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From james at thehales.id.au Tue Nov 18 20:38:20 2014 From: james at thehales.id.au (James Hale) Date: Wed, 19 Nov 2014 12:38:20 +1100 Subject: Find the scroll location in wrapped field Message-ID: <0AEC9119-9F0A-4AD6-B765-B22E7C0CE190@thehales.id.au> Ahh, bug http://quality.runrev.com/show_bug.cgi?id=11688 I thought this had been fixed! I also seem to remember a longer discussion and an earlier bug report but perhaps I am mistaken. The discussion may have been on the forum. I rarely handle text that uses spacebefore and spaceafter and so hadn't been hit by this. Due to changes in the speed of applying styles to text introduced from v6 I had moved to render my text in "pages" so as to not suffer the considerable delays I was experiencing. Thus scrolling my text to display a specific line at the top of a field was no longer required. BTW the speed penalty in 7 is still there, not as bad but could be better. The issue in 6 had a better improvement. See http://quality.runrev.com/show_bug.cgi?id=11817 for all the gory details. James From capellan2000 at gmail.com Tue Nov 18 20:58:27 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 18 Nov 2014 20:58:27 -0500 Subject: Whats the proper way to show a help field? Message-ID: Hi William, Still not well from Cold, but here is a very simple method: Create a small field named "cursorpos" Create an opaque rectangle graphic and put this script in the graphic: on mousemove x,y set the layer of fld cursorpos to the layer of me + 1 put x,y into fld cursorpos set the topleft of fld cursorpos to x+20,y end mousemove on mouseleave hide fld cursorpos end mouseleave on mouseenter show fld cursorpos end mouseenter Please, use contrasting colors for the background of the graphic and the small field. Al From gregory.lypny at videotron.ca Tue Nov 18 21:30:16 2014 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 18 Nov 2014 21:30:16 -0500 Subject: Running Apache Under Yosemite In-Reply-To: References: Message-ID: <62AA9B79-D3F8-4305-9F3B-8E3955ADFF5E@videotron.ca> Much obliged, Richard. Gregory > On Tue, Nov 18, 2014, at 4:01 PM, use-livecode-request at lists.runrev.com wrote: > > Gregory Lypny wrote: >> I have been happily running LiveCode server under Mavericks and am >> soon going to upgrade to Yosemite. Can I continue to use the same >> modified httpd.conf file that worked under Mavericks? > > According to this blog the upgrade should allow you to use your old > config, but it will replace it with a new one - this includes > instructions on finding and restoring the old config: > > > > If this is for personal use for testing (local host only, no open ports) > the security aspects probably don't matter much, but Apple ships with an > outdated version of Apache which has known security issues, so you'll > need to manually update it for anything exposed to the Internet: > > > From capellan2000 at gmail.com Tue Nov 18 21:41:32 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 18 Nov 2014 21:41:32 -0500 Subject: [OT] Looking for proven and useful Cold remedies Message-ID: Hi All, Many Thanks for your recipes! I will collect the ingredients and test them, except those that require alcohol... Diabetes and Alcohol really does not match. :-) Have a nice week! Al From sundown at pacifier.com Tue Nov 18 21:45:38 2014 From: sundown at pacifier.com (JB) Date: Tue, 18 Nov 2014 18:45:38 -0800 Subject: Stripping Returns Message-ID: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> A field has a limit on the amount of characters you can have on each line. What if I put the text of a field in a variable and it has 500,000 characters. Then I strip all of the returns that are in the field. Does that leave only one line with 500,000 characters? That exceeds the amount of characters allowed per line so what happens to the text in the variable? Another similar question is what happens if I am reading a file until the end and it is very large. Will returns be automatically placed if needed so the line limit got characters is not exceeded or do I need to read large files in sections that are less than the line limit for characters? John Balgenorth From prothero at earthednet.org Tue Nov 18 21:57:27 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 18 Nov 2014 18:57:27 -0800 Subject: Whats the proper way to show a help field? In-Reply-To: References: Message-ID: Al, Ahah! Didn't know there was a mouse move message. Thanks! Bill > On Nov 18, 2014, at 5:58 PM, Alejandro Tejada wrote: > > Hi William, > > Still not well from Cold, but here is > a very simple method: > > Create a small field named "cursorpos" > > Create an opaque rectangle graphic > and put this script in the graphic: > > on mousemove x,y > set the layer of fld cursorpos to the layer of me + 1 > put x,y into fld cursorpos > set the topleft of fld cursorpos to x+20,y > end mousemove > > on mouseleave > hide fld cursorpos > end mouseleave > > on mouseenter > show fld cursorpos > end mouseenter > > Please, use contrasting colors for the background > of the graphic and the small field. > > Al > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Tue Nov 18 22:12:09 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 19 Nov 2014 11:12:09 +0800 Subject: Running Apache Under Yosemite In-Reply-To: References: Message-ID: Hello Gregory I had to modify my httpd.conf file when I moved from Mavericks to Yosemite because, if I remember correctly, Apple upgraded Apache from version 2.2 to 2.4. The httpd syntax is a little different in the newer Apache. These are the LiveCode Server entries from my Yosemite httpd.conf file: ScriptAlias /livecode-cgi/ "/LiveCodeServer/" /LiveCodeServer/"> Options +ExecCGI AddHandler lcscript .lc Action lcscript /livecode-cgi/livecode-server Where should be the full file path to the directory in which the LiveCodeServer is installed. Hope this helps. Peter > On 19 Nov 2014, at 03:14, Gregory Lypny wrote: > > Hello everyone, > > I have been happily running LiveCode server under Mavericks and am soon going to upgrade to Yosemite. Can I continue to use the same modified httpd.conf file that worked under Mavericks? > > Regards, > > Gregory > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Nov 18 23:20:13 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 18 Nov 2014 23:20:13 -0500 Subject: Whats the proper way to show a help field? In-Reply-To: <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> Message-ID: <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> Have you ever used a toolTip? They follow like a loyal dog. Craig Newman -----Original Message----- From: William Prothero To: Use-livecode Use-livecode Sent: Tue, Nov 18, 2014 6:01 pm Subject: Whats the proper way to show a help field? Folks: I have a help field that I want to pop up and follow the mouse when it?s within a specific rect. What I?m doing is showing the x,y values in a data plot region. So, I do something like: on mouseEnter doTheDisplay end mouseEnter on doTheDisplay repeat while the mouseLoc is within theRect doStuff that shows the field and its contents end repeat end doTheDisplay The problem with this is I am getting ?Recursion Limit? errors. William A. Prothero http://es.earthednet.org/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Nov 18 23:35:49 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 18 Nov 2014 23:35:49 -0500 Subject: Stripping Returns In-Reply-To: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> Message-ID: <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> Hi. Did you try this? Simple to do in a little test card. The chars beyond 65535 will be lost. Do you see what the likely answer to your second question is? Note that reading from a file does not anticipate what you will do with the data. Variables have no limits, within memory, of course, but what you do with that data may hit a wall. Craig Newman -----Original Message----- From: JB To: How to use LiveCode Sent: Tue, Nov 18, 2014 9:48 pm Subject: Stripping Returns A field has a limit on the amount of characters you can have on each line. What if I put the text of a field in a variable and it has 500,000 characters. Then I strip all of the returns that are in the field. Does that leave only one line with 500,000 characters? That exceeds the amount of characters allowed per line so what happens to the text in the variable? Another similar question is what happens if I am reading a file until the end and it is very large. Will returns be automatically placed if needed so the line limit got characters is not exceeded or do I need to read large files in sections that are less than the line limit for characters? John Balgenorth _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Nov 18 23:38:02 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 18 Nov 2014 23:38:02 -0500 Subject: Find the scroll location in wrapped field In-Reply-To: <0AEC9119-9F0A-4AD6-B765-B22E7C0CE190@thehales.id.au> References: <0AEC9119-9F0A-4AD6-B765-B22E7C0CE190@thehales.id.au> Message-ID: <8D1D1C9BCA47044-13F8-400B1@webmail-va083.sysops.aol.com> All; Are we referring to "spaceAbove" and "spaceBelow"? Craig Newman -----Original Message----- From: James Hale To: use-livecode Sent: Tue, Nov 18, 2014 8:39 pm Subject: Re: Find the scroll location in wrapped field Ahh, bug http://quality.runrev.com/show_bug.cgi?id=11688 I thought this had been fixed! I also seem to remember a longer discussion and an earlier bug report but perhaps I am mistaken. The discussion may have been on the forum. I rarely handle text that uses spacebefore and spaceafter and so hadn't been hit by this. Due to changes in the speed of applying styles to text introduced from v6 I had moved to render my text in "pages" so as to not suffer the considerable delays I was experiencing. Thus scrolling my text to display a specific line at the top of a field was no longer required. BTW the speed penalty in 7 is still there, not as bad but could be better. The issue in 6 had a better improvement. See http://quality.runrev.com/show_bug.cgi?id=11817 for all the gory details. James _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Nov 19 01:03:42 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 18 Nov 2014 22:03:42 -0800 Subject: Whats the proper way to show a help field? In-Reply-To: <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> Message-ID: Yeah, I use the tool tips a lot. But the field I need displays the x,y values under a data plot, as the user moves the mouse within the plot axes boundary. . In that way, the user gets a convenient way of getting values from a data plot. Bill William Prothero http://es.earthednet.org > On Nov 18, 2014, at 8:20 PM, dunbarx at aol.com wrote: > > Have you ever used a toolTip? They follow like a loyal dog. > > > Craig Newman > > > > -----Original Message----- > From: William Prothero > To: Use-livecode Use-livecode > Sent: Tue, Nov 18, 2014 6:01 pm > Subject: Whats the proper way to show a help field? > > > Folks: > I have a help field that I want to pop up and follow the mouse when it?s within > a specific rect. What I?m doing is showing the x,y values in a data plot region. > So, I do something like: > > on mouseEnter > doTheDisplay > end mouseEnter > > on doTheDisplay > repeat while the mouseLoc is within theRect > doStuff that shows the field and its contents > end repeat > end doTheDisplay > > The problem with this is I am getting ?Recursion Limit? errors. > > > William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Nov 19 01:09:50 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 19 Nov 2014 01:09:50 -0500 Subject: LiveCode server and library stacks In-Reply-To: <546BF13B.8050805@fourthworld.com> References: <004101d0038e$1b9e4160$52dac420$@net> <546BF13B.8050805@fourthworld.com> Message-ID: <004801d003bf$6dfc9110$49f5b330$@net> You got me thinking... I was opening a password protected stack with the community server. Oops! Used the commercial server and all is well. Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Tuesday, November 18, 2014 8:24 PM To: use-livecode at lists.runrev.com Subject: Re: LiveCode server and library stacks Ralph DiMola wrote: > I'm writing a web service. I'm trying to activate a library stack > using this code:(line numbers are included just in email) > > 15:if there is a file ("lib/DB_Library.livecode") then > 16: start using stack ("lib/DB_Library.livecode") > 17:end if > > the code finds the stack file but it won't "start" I'm getting > this error: > row 16, col 9: Chunk: can't find stack > row 16, col 1: start: can't find object > row 15, col 1: if-then: error in statement > > Where am I going wrong? Was the library made in v7 and the server running v6.x? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From andre.bisseret at wanadoo.fr Wed Nov 19 04:37:21 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 19 Nov 2014 10:37:21 +0100 Subject: Selecting a line in a datagrid also selects a line in another (same card) Message-ID: <06AF7572-7DDA-4D44-8065-6CBCA249FDFB@wanadoo.fr> Bonjour, I have a stack with 12 cards. On each card I have 3 data grids (tables). First time I get the following problem : When I select a line in one of the 3 data grids, that triggers the selection of one line in the others data grids!!! I tried to trap the message "selectionChanged" without any success. I tried to put the following handler into the script of each data grid : on selectionChanged put cr & the target end selectionChanged Then if I select one line in one data grid, I get the 3 names in the message box!!! I am going crazy ! how to get rid of this phenomena? Thanks a lot in advance for any help Best regards Andr? From sundown at pacifier.com Wed Nov 19 05:44:53 2014 From: sundown at pacifier.com (JB) Date: Wed, 19 Nov 2014 02:44:53 -0800 Subject: Stripping Returns In-Reply-To: <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> Message-ID: Thank you. The logic is simple enough. Even so it should be noted in the read file that reading to the end of a file will fail to provide you the info if the file has more than 65,535 characters. John Balgenorth On Nov 18, 2014, at 8:35 PM, dunbarx at aol.com wrote: > Hi. > > > Did you try this? Simple to do in a little test card. The chars beyond 65535 will be lost. Do you see what the likely answer to your second question is? Note that reading from a file does not anticipate what you will do with the data. Variables have no limits, within memory, of course, but what you do with that data may hit a wall. > > > Craig Newman > > > > -----Original Message----- > From: JB > To: How to use LiveCode > Sent: Tue, Nov 18, 2014 9:48 pm > Subject: Stripping Returns > > > A field has a limit on the amount of characters > you can have on each line. What if I put the > text of a field in a variable and it has 500,000 > characters. Then I strip all of the returns that > are in the field. Does that leave only one line > with 500,000 characters? That exceeds the > amount of characters allowed per line so what > happens to the text in the variable? > > Another similar question is what happens if I am > reading a file until the end and it is very large. Will > returns be automatically placed if needed so the line > limit got characters is not exceeded or do I need to > read large files in sections that are less than the line > limit for characters? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From james at thehales.id.au Wed Nov 19 06:26:07 2014 From: james at thehales.id.au (James Hale) Date: Wed, 19 Nov 2014 22:26:07 +1100 Subject: Find the scroll location in wrapped field Message-ID: > Are we referring to "spaceAbove" and "spaceBelow"? Proof that I rarely came across them :-) In my defense when I began doing what I was doing they had yet to be interpreted by the htmltext conversion. James From sean at pidigital.co.uk Wed Nov 19 06:28:54 2014 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 19 Nov 2014 11:28:54 +0000 Subject: Selecting a line in a datagrid also selects a line in another (same card) In-Reply-To: <06AF7572-7DDA-4D44-8065-6CBCA249FDFB@wanadoo.fr> References: <06AF7572-7DDA-4D44-8065-6CBCA249FDFB@wanadoo.fr> Message-ID: This is a bug. Yay! Report it my friend. quality.livecode.com Sean Cole Pi Digital -- This message was sent from an iPhone, probably because I'm out and about. Always contactable. Well, most of the time :/ > On 19 Nov 2014, at 09:37, Andr? Bisseret wrote: > > Bonjour, > > I have a stack with 12 cards. On each card I have 3 data grids (tables). > > First time I get the following problem : > When I select a line in one of the 3 data grids, that triggers the selection of one line in the others data grids!!! > > I tried to trap the message "selectionChanged" without any success. > > I tried to put the following handler into the script of each data grid : > on selectionChanged > put cr & the target > end selectionChanged > > Then if I select one line in one data grid, I get the 3 names in the message box!!! > > I am going crazy ! > how to get rid of this phenomena? > > Thanks a lot in advance for any help > > Best regards > Andr? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Wed Nov 19 06:47:51 2014 From: james at thehales.id.au (James Hale) Date: Wed, 19 Nov 2014 22:47:51 +1100 Subject: Find the scroll location in wrapped field Message-ID: <996C896A-BF56-452F-B217-15501E0199E3@thehales.id.au> > > I am trying to build a special purpose e-Book where the user can shrink and > expand the text as needed with everything scaling, looking really nice > with fluid page turning. > And this is why you want to locate the line. If I understand, you want the line that is positioned at the top of the field before a size change to be still at the top of the field after. This is not easy. Even Apple don't do it in iBooks. I chose to break my text up into pages and on a text size change simply recalculate the paging. It would not be any significant extra to identify say the line at the top before the size change and then locate that line after and load it's possibly new page into the same window after. It wouldn't be at the top, but it would still be on the page they were looking at. Not as smooth as you describe but it might be the best you can do at this time. BTW the time to break up a long piece of text into pages is really pretty small. I haven't checked with v7 but with a lot of text it might be quicker than loading all the text in a single field given filling a field (which has taken a significant hit in moving through 6 to 7 from 5.5) now takes longer. Whatever workaround you come up with would be worth sharing. James From t.heaford at btinternet.com Wed Nov 19 06:59:20 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 19 Nov 2014 11:59:20 +0000 Subject: Calculate number of rows in a DataGrid Message-ID: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> How can I calculate the number of rows in a DataGrid. I don?t mean the dgNumberOfLines as this is just the number of rows containing data. I actually need the number of visible rows. The DataGrid can be resized by script. It is straightforward where the height of the header and the height of a row is fixed but I was hoping the information may be a property of the DataGrid but I can?t seem to fined one. Thanks Terry From mikedoub at gmail.com Wed Nov 19 07:36:34 2014 From: mikedoub at gmail.com (Mike Doub) Date: Wed, 19 Nov 2014 07:36:34 -0500 Subject: Find the scroll location in wrapped field In-Reply-To: <996C896A-BF56-452F-B217-15501E0199E3@thehales.id.au> References: <996C896A-BF56-452F-B217-15501E0199E3@thehales.id.au> Message-ID: I was hoping that the page ranges bug would get fixed. I am trying to do this myself but not being able to tell where soft line breaks occur has me blocked. Some one posted a summary sizing of all of the different parts of a character. Unfortunately I can't find it. Now that I know about formattedrect I will give that a try for each char in a line and see if I can simulate the word wrapping of a line to get the info I need about how the line was split. The original requirement was to keep a user selectable location in the same position vertically as the text is resized. But I am still trying to get past the page ranges bug for basic page turning functionality. Anyway, I am learning a lot and plan to keep adding to my MasterLibrary and will keep sharing info. -= Mike On Wednesday, November 19, 2014, James Hale wrote: > > > > I am trying to build a special purpose e-Book where the user can shrink > and > > expand the text as needed with everything scaling, looking really nice > > with fluid page turning. > > > And this is why you want to locate the line. If I understand, you want the > line that is positioned at the top of the field before a size change to be > still at the top of the field after. This is not easy. Even Apple don't do > it in iBooks. > I chose to break my text up into pages and on a text size change simply > recalculate the paging. It would not be any significant extra to identify > say the line at the top before the size change and then locate that line > after and load it's possibly new page into the same window after. It > wouldn't be at the top, but it would still be on the page they were looking > at. Not as smooth as you describe but it might be the best you can do at > this time. > BTW the time to break up a long piece of text into pages is really pretty > small. I haven't checked with v7 but with a lot of text it might be quicker > than loading all the text in a single field given filling a field (which > has taken a significant hit in moving through 6 to 7 from 5.5) now takes > longer. > > Whatever workaround you come up with would be worth sharing. > > James > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Wed Nov 19 10:34:25 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 19 Nov 2014 10:34:25 -0500 Subject: Whats the proper way to show a help field? In-Reply-To: References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> Message-ID: <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> Hi again. Not sure what you mean. You do know that the tooltip is a property, and need not just be fixed text, right? on mouseMove set the tooltip of me to the mouseLoc end mouseMove Try this in your rect. You will want to make sure to knock off the toolTipDelay. Craig -----Original Message----- From: Earthednet-wp To: How to use LiveCode Sent: Wed, Nov 19, 2014 1:04 am Subject: Re: Whats the proper way to show a help field? Yeah, I use the tool tips a lot. But the field I need displays the x,y values under a data plot, as the user moves the mouse within the plot axes boundary. . In that way, the user gets a convenient way of getting values from a data plot. Bill William Prothero http://es.earthednet.org > On Nov 18, 2014, at 8:20 PM, dunbarx at aol.com wrote: > > Have you ever used a toolTip? They follow like a loyal dog. > > > Craig Newman > > > > -----Original Message----- > From: William Prothero > To: Use-livecode Use-livecode > Sent: Tue, Nov 18, 2014 6:01 pm > Subject: Whats the proper way to show a help field? > > > Folks: > I have a help field that I want to pop up and follow the mouse when it?s within > a specific rect. What I?m doing is showing the x,y values in a data plot region. > So, I do something like: > > on mouseEnter > doTheDisplay > end mouseEnter > > on doTheDisplay > repeat while the mouseLoc is within theRect > doStuff that shows the field and its contents > end repeat > end doTheDisplay > > The problem with this is I am getting ?Recursion Limit? errors. > > > William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Nov 19 10:41:14 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 19 Nov 2014 10:41:14 -0500 Subject: Stripping Returns In-Reply-To: References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> Message-ID: <8D1D226624EBE70-21B0-D203@webmail-va029.sysops.aol.com> You only need to worry about that if you are loading all that data in a field. You might store it in a custom property, for example, and never know there was an issue at all. By the way, that might be useful for you, paging data in usable chunks as needed. But it would be a helpful hint, I guess. Or learn the hard way, like you did. That is what I do. At least that method sticks, until I forget it, that is. Craig -----Original Message----- From: JB To: How to use LiveCode Sent: Wed, Nov 19, 2014 5:48 am Subject: Re: Stripping Returns Thank you. The logic is simple enough. Even so it should be noted in the read file that reading to the end of a file will fail to provide you the info if the file has more than 65,535 characters. John Balgenorth On Nov 18, 2014, at 8:35 PM, dunbarx at aol.com wrote: > Hi. > > > Did you try this? Simple to do in a little test card. The chars beyond 65535 will be lost. Do you see what the likely answer to your second question is? Note that reading from a file does not anticipate what you will do with the data. Variables have no limits, within memory, of course, but what you do with that data may hit a wall. > > > Craig Newman > > > > -----Original Message----- > From: JB > To: How to use LiveCode > Sent: Tue, Nov 18, 2014 9:48 pm > Subject: Stripping Returns > > > A field has a limit on the amount of characters > you can have on each line. What if I put the > text of a field in a variable and it has 500,000 > characters. Then I strip all of the returns that > are in the field. Does that leave only one line > with 500,000 characters? That exceeds the > amount of characters allowed per line so what > happens to the text in the variable? > > Another similar question is what happens if I am > reading a file until the end and it is very large. Will > returns be automatically placed if needed so the line > limit got characters is not exceeded or do I need to > read large files in sections that are less than the line > limit for characters? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Nov 19 10:43:40 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 19 Nov 2014 07:43:40 -0800 Subject: Whats the proper way to show a help field? In-Reply-To: <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> Message-ID: <2F1911F1-1658-42F5-8B1E-8BB5BE1D0956@earthednet.org> Craig, Thanks for that! No, I didn't know I could use the tooltip for that. So I could do something like: "Set the text of the tooltip of me to mytext" as the mouse is moved? Bill William Prothero http://es.earthednet.org > On Nov 19, 2014, at 7:34 AM, dunbarx at aol.com wrote: > > Hi again. > > > Not sure what you mean. You do know that the tooltip is a property, and need not just be fixed text, right? > > > > on mouseMove > set the tooltip of me to the mouseLoc > end mouseMove > > > Try this in your rect. You will want to make sure to knock off the toolTipDelay. > > > Craig > > > > -----Original Message----- > From: Earthednet-wp > To: How to use LiveCode > Sent: Wed, Nov 19, 2014 1:04 am > Subject: Re: Whats the proper way to show a help field? > > > Yeah, I use the tool tips a lot. But the field I need displays the x,y values > under a data plot, as the user moves the mouse within the plot axes boundary. . > In that way, the user gets a convenient way of getting values from a data plot. > Bill > > William Prothero > http://es.earthednet.org > >> On Nov 18, 2014, at 8:20 PM, dunbarx at aol.com wrote: >> >> Have you ever used a toolTip? They follow like a loyal dog. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: William Prothero >> To: Use-livecode Use-livecode >> Sent: Tue, Nov 18, 2014 6:01 pm >> Subject: Whats the proper way to show a help field? >> >> >> Folks: >> I have a help field that I want to pop up and follow the mouse when it?s > within >> a specific rect. What I?m doing is showing the x,y values in a data plot > region. >> So, I do something like: >> >> on mouseEnter >> doTheDisplay >> end mouseEnter >> >> on doTheDisplay >> repeat while the mouseLoc is within theRect >> doStuff that shows the field and its contents >> end repeat >> end doTheDisplay >> >> The problem with this is I am getting ?Recursion Limit? errors. >> >> >> William A. Prothero >> http://es.earthednet.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Nov 19 10:49:59 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 19 Nov 2014 11:49:59 -0400 Subject: Whats the proper way to show a help field? Message-ID: Craig wrote: > on mouseMove > set the tooltip of me to the mouseLoc > end mouseMove > Try this in your rect. You will want > to make sure to knock off the toolTipDelay. Really clever! :-) In Linux, the tooltip get stuck in one place and does not follow the pointer within the graphic rect. Al From richmondmathewson at gmail.com Wed Nov 19 10:56:31 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Nov 2014 17:56:31 +0200 Subject: Markingdown The User Guide Message-ID: <546CBDAF.3060602@gmail.com> Fantastic news: http://livecode.com/blog/2014/11/18/markingdown-the-user-guide/ Richmond. From bobsneidar at iotecdigital.com Wed Nov 19 11:09:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Nov 2014 16:09:15 +0000 Subject: Running Apache Under Yosemite In-Reply-To: <546BA0EF.4030102@fourthworld.com> References: <546BA0EF.4030102@fourthworld.com> Message-ID: Well isn?t that special? Good thing I am not currently using Apache for anything? am I??... Bob S On Nov 18, 2014, at 11:41 , Richard Gaskin > wrote: If this is for personal use for testing (local host only, no open ports) the security aspects probably don't matter much, but Apple ships with an outdated version of Apache which has known security issues, so you'll need to manually update it for anything exposed to the Internet: From bobsneidar at iotecdigital.com Wed Nov 19 11:14:13 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Nov 2014 16:14:13 +0000 Subject: Whats the proper way to show a help field? In-Reply-To: <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> Message-ID: <557D6A50-B8A1-4661-B922-CD8F2A6CF1AF@iotecdigital.com> Edit the tooltip > On Nov 18, 2014, at 15:00 , William Prothero wrote: > > Folks: > I have a help field that I want to pop up and follow the mouse when it?s within a specific rect. What I?m doing is showing the x,y values in a data plot region. So, I do something like: > > on mouseEnter > doTheDisplay > end mouseEnter > > on doTheDisplay > repeat while the mouseLoc is within theRect > doStuff that shows the field and its contents > end repeat > end doTheDisplay > > The problem with this is I am getting ?Recursion Limit? errors. > > > William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Nov 19 11:14:30 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Nov 2014 10:14:30 -0600 Subject: Stripping Returns In-Reply-To: References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> Message-ID: Reading a file always gives you all the content regardless of the size, up to memory limits. Displaying a long line of text will truncate it after 62k but as I understand it, the truncation is visual only. If a script asks for the line it is all returned. (Better check that, but that was my understanding.) But the restriction only applies to lines that don't wrap, such as those in list fields. If the text contains spaces or other delimiting tokens, the text will wrap and the restriction is lifted. When reading a file from disk as text, line endings will be converted to the ones used by the current OS. Text read as binary will not be altered. On November 19, 2014 4:44:53 AM CST, JB wrote: >Thank you. The logic is simple enough. >Even so it should be noted in the read >file that reading to the end of a file will >fail to provide you the info if the file has >more than 65,535 characters. > >John Balgenorth > > >On Nov 18, 2014, at 8:35 PM, dunbarx at aol.com wrote: > >> Hi. >> >> >> Did you try this? Simple to do in a little test card. The chars >beyond 65535 will be lost. Do you see what the likely answer to your >second question is? Note that reading from a file does not anticipate >what you will do with the data. Variables have no limits, within >memory, of course, but what you do with that data may hit a wall. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: JB >> To: How to use LiveCode >> Sent: Tue, Nov 18, 2014 9:48 pm >> Subject: Stripping Returns >> >> >> A field has a limit on the amount of characters >> you can have on each line. What if I put the >> text of a field in a variable and it has 500,000 >> characters. Then I strip all of the returns that >> are in the field. Does that leave only one line >> with 500,000 characters? That exceeds the >> amount of characters allowed per line so what >> happens to the text in the variable? >> >> Another similar question is what happens if I am >> reading a file until the end and it is very large. Will >> returns be automatically placed if needed so the line >> limit got characters is not exceeded or do I need to >> read large files in sections that are less than the line >> limit for characters? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Nov 19 11:17:43 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Nov 2014 16:17:43 +0000 Subject: Selecting a line in a datagrid also selects a line in another (same card) In-Reply-To: <06AF7572-7DDA-4D44-8065-6CBCA249FDFB@wanadoo.fr> References: <06AF7572-7DDA-4D44-8065-6CBCA249FDFB@wanadoo.fr> Message-ID: Do all the data grids have the same name? Did you copy/paste or clone them? I had issues with cloning data grids in the past so I do not do that anymore. I drag a fresh data grid from the tools pallet every time. Never had a problem since. Bob S > On Nov 19, 2014, at 01:37 , Andr? Bisseret wrote: > > Bonjour, > > I have a stack with 12 cards. On each card I have 3 data grids (tables). > > First time I get the following problem : > When I select a line in one of the 3 data grids, that triggers the selection of one line in the others data grids!!! > > I tried to trap the message "selectionChanged" without any success. > > I tried to put the following handler into the script of each data grid : > on selectionChanged > put cr & the target > end selectionChanged > > Then if I select one line in one data grid, I get the 3 names in the message box!!! > > I am going crazy ! > how to get rid of this phenomena? > > Thanks a lot in advance for any help > > Best regards > Andr? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Nov 19 11:24:00 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Nov 2014 16:24:00 +0000 Subject: Calculate number of rows in a DataGrid In-Reply-To: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> Message-ID: dgNumberOfLines - Returns the number of lines displayed in the data grid. This is obviously a misnomer. If I have a piece of lined paper with nothing on it, and someone asks me how many lines are on it, I start counting blank lines. I don?t answer ?Zero.? Barring that, you will have to do some math based upon the formattedHeight of each row and the height of the data grid itself, minus the column headers and scrollbar if there is one. Bob S On Nov 19, 2014, at 03:59 , Terence Heaford > wrote: How can I calculate the number of rows in a DataGrid. I don?t mean the dgNumberOfLines as this is just the number of rows containing data. I actually need the number of visible rows. The DataGrid can be resized by script. It is straightforward where the height of the header and the height of a row is fixed but I was hoping the information may be a property of the DataGrid but I can?t seem to fined one. Thanks Terry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Nov 19 11:32:20 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 19 Nov 2014 11:32:20 -0500 Subject: Whats the proper way to show a help field? In-Reply-To: <2F1911F1-1658-42F5-8B1E-8BB5BE1D0956@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> <2F1911F1-1658-42F5-8B1E-8BB5BE1D0956@earthednet.org> Message-ID: <8D1D22D857AFED6-21B0-D930@webmail-va029.sysops.aol.com> Well, not quite. The toolTip is a property, and must be set directly. You might say it has no "text" property, being a property already. You might also say that the toolTip property is, already, its text. In other words, keep it simple. Just set it and go... Craig -----Original Message----- From: Earthednet-wp To: How to use LiveCode Sent: Wed, Nov 19, 2014 10:44 am Subject: Re: Whats the proper way to show a help field? Craig, Thanks for that! No, I didn't know I could use the tooltip for that. So I could do something like: "Set the text of the tooltip of me to mytext" as the mouse is moved? Bill William Prothero http://es.earthednet.org > On Nov 19, 2014, at 7:34 AM, dunbarx at aol.com wrote: > > Hi again. > > > Not sure what you mean. You do know that the tooltip is a property, and need not just be fixed text, right? > > > > on mouseMove > set the tooltip of me to the mouseLoc > end mouseMove > > > Try this in your rect. You will want to make sure to knock off the toolTipDelay. > > > Craig > > > > -----Original Message----- > From: Earthednet-wp > To: How to use LiveCode > Sent: Wed, Nov 19, 2014 1:04 am > Subject: Re: Whats the proper way to show a help field? > > > Yeah, I use the tool tips a lot. But the field I need displays the x,y values > under a data plot, as the user moves the mouse within the plot axes boundary. . > In that way, the user gets a convenient way of getting values from a data plot. > Bill > > William Prothero > http://es.earthednet.org > >> On Nov 18, 2014, at 8:20 PM, dunbarx at aol.com wrote: >> >> Have you ever used a toolTip? They follow like a loyal dog. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: William Prothero >> To: Use-livecode Use-livecode >> Sent: Tue, Nov 18, 2014 6:01 pm >> Subject: Whats the proper way to show a help field? >> >> >> Folks: >> I have a help field that I want to pop up and follow the mouse when it?s > within >> a specific rect. What I?m doing is showing the x,y values in a data plot > region. >> So, I do something like: >> >> on mouseEnter >> doTheDisplay >> end mouseEnter >> >> on doTheDisplay >> repeat while the mouseLoc is within theRect >> doStuff that shows the field and its contents >> end repeat >> end doTheDisplay >> >> The problem with this is I am getting ?Recursion Limit? errors. >> >> >> William A. Prothero >> http://es.earthednet.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Nov 19 11:37:48 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Nov 2014 08:37:48 -0800 Subject: Running Apache Under Yosemite In-Reply-To: <62AA9B79-D3F8-4305-9F3B-8E3955ADFF5E@videotron.ca> References: <62AA9B79-D3F8-4305-9F3B-8E3955ADFF5E@videotron.ca> Message-ID: <546CC75C.6020206@fourthworld.com> Gregory Lypny wrote: > Richard Gaskin wrote: >> >> According to this blog the upgrade should allow you to use your old >> config, but it will replace it with a new one - this includes >> instructions on finding and restoring the old config: >> >> >> If this is for personal use for testing (local host only, no open >> ports) the security aspects probably don't matter much, but Apple >> ships with an outdated version of Apache which has known security >> issues, so you'll need to manually update it for anything exposed >> to the Internet: >> >> > > Much obliged, Richard. Happy to help where I can, but my post mistakenly linked to info on Mavericks, not Yosemite - I'd go with Peter Wood's advice on this: Refreshing as it is to see Apple finally update the Apache version that ships with OS X after years of being out of date, if this is a public server it may be helpful to install the HomeBrew package manager for OS X to stay current with other key elements of a sever system: Apparently the patent clause in GPL 3 has prompted Apple Legal to restrict what Apple Engineering can include in the OS, so that many common packages (one of my faves being rsync) are now years out of date, not only missing out on performance enhancements and features but sometimes critical security patches as well: In addition to HomeBrew, there's also MacPorts, Fink, and other projects that can help keep OS X current: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From andre.bisseret at wanadoo.fr Wed Nov 19 11:39:04 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 19 Nov 2014 17:39:04 +0100 Subject: Selecting a line in a datagrid also selects a line in another (same card) In-Reply-To: References: <06AF7572-7DDA-4D44-8065-6CBCA249FDFB@wanadoo.fr> Message-ID: <13AA62FF-DEDE-4D81-956E-718CA8AB56D3@wanadoo.fr> Le 19 nov. 2014 ? 17:17, Bob Sneidar a ?crit : > Do all the data grids have the same name? Did you copy/paste or clone them? I had issues with cloning data grids in the past so I do not do that anymore. I drag a fresh data grid from the tools pallet every time. Never had a problem since. > > Bob S Thanks Bob for your reply. My data grids have different names; but yes I got those of the first card by doing : "copy group "DataGrid" of group "Templates" of stack "revDataGridLibrary" to this card" and then I copied these first data grids on the other cards. I always do that because, once, I got an answer from Trevor saying that The template stack is required for data grid forms, not for data grid tables. But anyway, I am going to try with a template stack (by draging from the tool palette); at least for the first card For the all stack I need 3 data grids * 12 cards ;-((( Thank you again Bob for this suggestion Andr? > > >> On Nov 19, 2014, at 01:37 , Andr? Bisseret wrote: >> >> Bonjour, >> >> I have a stack with 12 cards. On each card I have 3 data grids (tables). >> >> First time I get the following problem : >> When I select a line in one of the 3 data grids, that triggers the selection of one line in the others data grids!!! >> >> I tried to trap the message "selectionChanged" without any success. >> >> I tried to put the following handler into the script of each data grid : >> on selectionChanged >> put cr & the target >> end selectionChanged >> >> Then if I select one line in one data grid, I get the 3 names in the message box!!! >> >> I am going crazy ! >> how to get rid of this phenomena? >> >> Thanks a lot in advance for any help >> >> Best regards >> Andr? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Wed Nov 19 11:51:46 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 19 Nov 2014 11:51:46 -0500 Subject: Calculate number of rows in a DataGrid In-Reply-To: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> Message-ID: On Wed, Nov 19, 2014 at 6:59 AM, Terence Heaford wrote: > How can I calculate the number of rows in a DataGrid. > > I don?t mean the dgNumberOfLines as this is just the number of rows > containing data. > > I actually need the number of visible rows. The DataGrid can be resized by > script. > > It is straightforward where the height of the header and the height of a > row is fixed but I was hoping the information may be a property of the > DataGrid but I can?t seem to fined one. > Would dgVisibleLines work? From the docs: *dgVisibleLines* - Returns the first and last line being displayed in the data grid as a comma delimited list. Useful if you want to provide visual feedback as to which lines are being displayed. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From userev at canelasoftware.com Wed Nov 19 11:53:27 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 19 Nov 2014 08:53:27 -0800 Subject: Running Apache Under Yosemite In-Reply-To: References: <546BA0EF.4030102@fourthworld.com> Message-ID: <3161306C-7B2B-4BA1-817D-6B47CC134C09@canelasoftware.com> On Nov 19, 2014, at 8:09 AM, Bob Sneidar wrote: > Well isn?t that special? Good thing I am not currently using Apache for anything? am I??... > > Bob S > > > On Nov 18, 2014, at 11:41 , Richard Gaskin > wrote: > > If this is for personal use for testing (local host only, no open ports) the security aspects probably don't matter much, but Apple ships with an outdated version of Apache which has known security issues, so you'll need to manually update it for anything exposed to the Internet: It is important to note that MAMP (Free, http://www.mamp.info/en/) and MAMP Pro (worth the $59 price if you want to go public with this setup) updates the latest versions of Apache and all the common modules one might use with Apache. It is super easy to setup. The ROI on this tool might be considered a no brainer for certain situations. A linux box is another way to go now that we have 64 bit Linux support in LC 7. If you are running LC on the server side for any reason, this is also a compelling scenario. If you are scaling your setup to *many* server boxes, the Linux route will be financially beneficial. If you are running a smaller quantity of servers on Macs, MAMP?s GUI makes setup a breeze. Choice options are always welcome. Best regards, Mark Talluto livecloud.io canelasoftware.com From dunbarx at aol.com Wed Nov 19 11:54:28 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 19 Nov 2014 11:54:28 -0500 Subject: Stripping Returns In-Reply-To: References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> Message-ID: <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> Jacque. The text is truncated, not simply not displayed: on mouseUp put "1234567890 " into temp repeat 10000 put temp after accum end repeat put accum into fld 1 -- 110,000 chars answer the length of fld 1 end mouseUp You get 65,533. Not sure where the last two chars went. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Wed, Nov 19, 2014 11:15 am Subject: Re: Stripping Returns Reading a file always gives you all the content regardless of the size, up to memory limits. Displaying a long line of text will truncate it after 62k but as I understand it, the truncation is visual only. If a script asks for the line it is all returned. (Better check that, but that was my understanding.) But the restriction only applies to lines that don't wrap, such as those in list fields. If the text contains spaces or other delimiting tokens, the text will wrap and the restriction is lifted. When reading a file from disk as text, line endings will be converted to the ones used by the current OS. Text read as binary will not be altered. On November 19, 2014 4:44:53 AM CST, JB wrote: >Thank you. The logic is simple enough. >Even so it should be noted in the read >file that reading to the end of a file will >fail to provide you the info if the file has >more than 65,535 characters. > >John Balgenorth > > >On Nov 18, 2014, at 8:35 PM, dunbarx at aol.com wrote: > >> Hi. >> >> >> Did you try this? Simple to do in a little test card. The chars >beyond 65535 will be lost. Do you see what the likely answer to your >second question is? Note that reading from a file does not anticipate >what you will do with the data. Variables have no limits, within >memory, of course, but what you do with that data may hit a wall. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: JB >> To: How to use LiveCode >> Sent: Tue, Nov 18, 2014 9:48 pm >> Subject: Stripping Returns >> >> >> A field has a limit on the amount of characters >> you can have on each line. What if I put the >> text of a field in a variable and it has 500,000 >> characters. Then I strip all of the returns that >> are in the field. Does that leave only one line >> with 500,000 characters? That exceeds the >> amount of characters allowed per line so what >> happens to the text in the variable? >> >> Another similar question is what happens if I am >> reading a file until the end and it is very large. Will >> returns be automatically placed if needed so the line >> limit got characters is not exceeded or do I need to >> read large files in sections that are less than the line >> limit for characters? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Nov 19 12:03:02 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 19 Nov 2014 09:03:02 -0800 Subject: Calculate number of rows in a DataGrid In-Reply-To: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> Message-ID: dgVisibleLines of the datagrid Pete lcSQL Software On Nov 19, 2014 3:59 AM, "Terence Heaford" wrote: > How can I calculate the number of rows in a DataGrid. > > I don?t mean the dgNumberOfLines as this is just the number of rows > containing data. > > I actually need the number of visible rows. The DataGrid can be resized by > script. > > It is straightforward where the height of the header and the height of a > row is fixed but I was hoping the information may be a property of the > DataGrid but I can?t seem to fined one. > > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From francois.chaplais at mines-paristech.fr Wed Nov 19 12:05:46 2014 From: francois.chaplais at mines-paristech.fr (=?windows-1252?Q?Fran=E7ois_Chaplais?=) Date: Wed, 19 Nov 2014 18:05:46 +0100 Subject: Running Apache Under Yosemite In-Reply-To: <3161306C-7B2B-4BA1-817D-6B47CC134C09@canelasoftware.com> References: <546BA0EF.4030102@fourthworld.com> <3161306C-7B2B-4BA1-817D-6B47CC134C09@canelasoftware.com> Message-ID: <630757F2-C91D-44E6-8D34-12485F7CE1A4@mines-paristech.fr> in addition, if you add virtualhost to MAMP ( http://clickontyler.com/virtualhostx/ , currently on saleand well worth the price) you can deploy your site/web app/etc.. on your LAN and test various configuration (PC/Mac/Linux/iPhone/iPad/various androids etc ?) I use it to test my site on mobile devices. Fran?ois Le 19 nov. 2014 ? 17:53, Mark Talluto a ?crit : > On Nov 19, 2014, at 8:09 AM, Bob Sneidar wrote: > >> Well isn?t that special? Good thing I am not currently using Apache for anything? am I??... >> >> Bob S >> >> >> On Nov 18, 2014, at 11:41 , Richard Gaskin > wrote: >> >> If this is for personal use for testing (local host only, no open ports) the security aspects probably don't matter much, but Apple ships with an outdated version of Apache which has known security issues, so you'll need to manually update it for anything exposed to the Internet: > > It is important to note that MAMP (Free, http://www.mamp.info/en/) and MAMP Pro (worth the $59 price if you want to go public with this setup) updates the latest versions of Apache and all the common modules one might use with Apache. It is super easy to setup. The ROI on this tool might be considered a no brainer for certain situations. > > A linux box is another way to go now that we have 64 bit Linux support in LC 7. If you are running LC on the server side for any reason, this is also a compelling scenario. > > If you are scaling your setup to *many* server boxes, the Linux route will be financially beneficial. If you are running a smaller quantity of servers on Macs, MAMP?s GUI makes setup a breeze. Choice options are always welcome. > > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Nov 19 12:33:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Nov 2014 19:33:45 +0200 Subject: Calculate number of rows in a DataGrid In-Reply-To: References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> Message-ID: <546CD479.8030506@gmail.com> On 19/11/14 19:03, Peter Haworth wrote: > dgVisibleLines of the datagrid > > Pete > lcSQL Software > On Nov 19, 2014 3:59 AM, "Terence Heaford" wrote: > >> How can I calculate the number of rows in a DataGrid. >> >> I don?t mean the dgNumberOfLines as this is just the number of rows >> containing data. >> >> I actually need the number of visible rows. The DataGrid can be resized by >> script. >> >> It is straightforward where the height of the header and the height of a >> row is fixed but I was hoping the information may be a property of the >> DataGrid but I can?t seem to fined one. >> >> >> Thanks >> >> Terry >> _______________________________________________ >> Being naive I tried: put the number of lines of group "myGrid" and then realised what a fool I was being becuase a 'datagrid' is NOT a data grid it IS a group of fields, so I tried this: put the number of controls of group "myGrid" and that was "much more fun" try it! Richmond. From richmondmathewson at gmail.com Wed Nov 19 12:53:05 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Nov 2014 19:53:05 +0200 Subject: Calculate number of rows in a DataGrid In-Reply-To: <546CD479.8030506@gmail.com> References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> <546CD479.8030506@gmail.com> Message-ID: <546CD901.3000306@gmail.com> On 19/11/14 19:33, Richmond wrote: > On 19/11/14 19:03, Peter Haworth wrote: >> dgVisibleLines of the datagrid >> >> Pete >> lcSQL Software >> On Nov 19, 2014 3:59 AM, "Terence Heaford" >> wrote: >> >>> How can I calculate the number of rows in a DataGrid. >>> >>> I don?t mean the dgNumberOfLines as this is just the number of rows >>> containing data. >>> >>> I actually need the number of visible rows. The DataGrid can be >>> resized by >>> script. >>> >>> It is straightforward where the height of the header and the height >>> of a >>> row is fixed but I was hoping the information may be a property of the >>> DataGrid but I can?t seem to fined one. >>> >>> >>> Thanks >>> >>> Terry >>> _______________________________________________ >>> > > Being naive I tried: > > put the number of lines of group "myGrid" > > and then realised what a fool I was being becuase a 'datagrid' is NOT > a data grid > it IS a group of fields, > > so I tried this: > > put the number of controls of group "myGrid" > > and that was "much more fun" > > try it! > > Richmond. The snag about this is that one ends up with the number of cells = rows x columns rather than just rows. This is also rather fun: put the number of groups of group "myGrid" To compound my folly, I thought a dataGrid was a group of fields: it ISN'T, it is a group of groups and is very odd indeed. Richmond. From capellan2000 at gmail.com Wed Nov 19 12:52:58 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 19 Nov 2014 13:52:58 -0400 Subject: Meaningful and verbose error messages in LiveCode Message-ID: Recently, Richmond wrote: > Fantastic news: http://livecode.com/blog/2014/11/18/markingdown-the-user-guide/ This blog post describes the work in progress to include LiveCode User Guide in GitHub. Now, I wonder if, in the same way, Could we edit error messages in Livecode IDE to make them more meaningful and verbose? Thanks in advance! Al From richmondmathewson at gmail.com Wed Nov 19 12:58:34 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Nov 2014 19:58:34 +0200 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: References: Message-ID: <546CDA4A.3020303@gmail.com> On 19/11/14 19:52, Alejandro Tejada wrote: > Recently, Richmond wrote: > >> Fantastic news: > http://livecode.com/blog/2014/11/18/markingdown-the-user-guide/ > > This blog post describes the work in progress > to include LiveCode User Guide in GitHub. > > Now, I wonder if, in the same way, > Could we edit error messages in Livecode IDE > to make them more meaningful and verbose? > > Thanks in advance! > > Al > _______________________________________________ > In an ideal world (which, in case you don't know; this is not) an Open Source project should be 100% open; meaning we can edit everything . . . . . . However, as Chairman Mao discovered, once he allowed criticism he opened a great big can of worms, and we all know how that ended . . . The problem has to be, if universal editability is implemented, how everything is collated and which edits take precedence over which edits: unless, of course, we are going to end up with 500 variant versions of LiveCode Open Source; resulting in such a web of confusion that there will be no real benefit at all; quite the reverse in fact. Richmond. From mikedoub at gmail.com Wed Nov 19 13:57:48 2014 From: mikedoub at gmail.com (Mike Doub) Date: Wed, 19 Nov 2014 13:57:48 -0500 Subject: language syntax question Message-ID: i have been struggling with a couple of language issues and I hope some one can set me straight. Issue 1). What is the syntax to get the contents of a field when you have the long IDE to the field. Put something ( long ID of field "foo", 2) into x ... Function something obj pl Get the formattedrect of line pl of obj -- this works fine Get word 1 of the text of line pl of obj -- this what I want to do but the syntax is wrong End something Issue 2). Can a reference to a variable be passed thru the message path with a send command? Local foo Put "stuff" into var doit var ... On doit @thevar Put "ed" after thevar -- here I want to send the reference to another handler Send "another" & @thevar In 1 second-- this is where I want the reference to be sent and I -- know the syntax is wrong End doit On another @thevar If thevar = "stuffed" then answer "it worked" End another Regards, Mike From t.heaford at btinternet.com Wed Nov 19 14:01:07 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 19 Nov 2014 19:01:07 +0000 Subject: Calculate number of rows in a DataGrid In-Reply-To: References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> Message-ID: > On 19 Nov 2014, at 16:51, Trevor DeVore wrote: > > *dgVisibleLines* > - Returns the first and last line being displayed in the data grid as a > comma delimited list. Useful if you want to provide visual feedback as to > which lines are being displayed. Thanks for the suggestion but that is not the information I am after. Imagine a data grid with 20 rows with each row empty. I want to return 20. It seems as per Bob Sneidar?s suggestion I will have to: Take the height of the grid subtract the height of the header obtain the height of a row then trunc((the height of the grid - the height of the header)/the height of a row) This will give the number of full height rows being displayed. All the best Terry From richmondmathewson at gmail.com Wed Nov 19 14:15:49 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Nov 2014 21:15:49 +0200 Subject: Calculate number of rows in a DataGrid In-Reply-To: References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> Message-ID: <546CEC65.4000304@gmail.com> This: put the dgNumberOfLines of group "myGrid" works perfectly. Richmond. From sundown at pacifier.com Wed Nov 19 14:14:37 2014 From: sundown at pacifier.com (JB) Date: Wed, 19 Nov 2014 11:14:37 -0800 Subject: Stripping Returns In-Reply-To: <8D1D226624EBE70-21B0-D203@webmail-va029.sysops.aol.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D226624EBE70-21B0-D203@webmail-va029.sysops.aol.com> Message-ID: I knew there were limits for variables and if I am correct they are the same as field limits. I was not aware custom properties have no limits. It looks like reading in chunks is the way to go. Thank you. John Balgenorth On Nov 19, 2014, at 7:41 AM, dunbarx at aol.com wrote: > You only need to worry about that if you are loading all that data in a field. You might store it in a custom property, for example, and never know there was an issue at all. By the way, that might be useful for you, paging data in usable chunks as needed. > > > But it would be a helpful hint, I guess. Or learn the hard way, like you did. That is what I do. At least that method sticks, until I forget it, that is. > > > Craig > > > > -----Original Message----- > From: JB > To: How to use LiveCode > Sent: Wed, Nov 19, 2014 5:48 am > Subject: Re: Stripping Returns > > > Thank you. The logic is simple enough. > Even so it should be noted in the read > file that reading to the end of a file will > fail to provide you the info if the file has > more than 65,535 characters. > > John Balgenorth > > > On Nov 18, 2014, at 8:35 PM, dunbarx at aol.com wrote: > >> Hi. >> >> >> Did you try this? Simple to do in a little test card. The chars beyond 65535 > will be lost. Do you see what the likely answer to your second question is? Note > that reading from a file does not anticipate what you will do with the data. > Variables have no limits, within memory, of course, but what you do with that > data may hit a wall. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: JB >> To: How to use LiveCode >> Sent: Tue, Nov 18, 2014 9:48 pm >> Subject: Stripping Returns >> >> >> A field has a limit on the amount of characters >> you can have on each line. What if I put the >> text of a field in a variable and it has 500,000 >> characters. Then I strip all of the returns that >> are in the field. Does that leave only one line >> with 500,000 characters? That exceeds the >> amount of characters allowed per line so what >> happens to the text in the variable? >> >> Another similar question is what happens if I am >> reading a file until the end and it is very large. Will >> returns be automatically placed if needed so the line >> limit got characters is not exceeded or do I need to >> read large files in sections that are less than the line >> limit for characters? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Wed Nov 19 14:18:37 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 19 Nov 2014 11:18:37 -0800 Subject: Whats the proper way to show a help field? In-Reply-To: <8D1D22D857AFED6-21B0-D930@webmail-va029.sysops.aol.com> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> <2F1911F1-1658-42F5-8B1E-8BB5BE1D0956@earthednet.org> <8D1D22D857AFED6-21B0-D930@webmail-va029.sysops.aol.com> Message-ID: <152AD59F-B3AB-407D-B56A-68C161EE6A8E@earthednet.org> Craig: Ok, let me see if I?ve got it. on mouseMove put myText into toolTip ??? i.e. how do I get text that depends on the mouseLoc, into the tooltip contents? set the tooltip of me to the mouseLoc end mouseMove Tnx, Bill On Nov 19, 2014, at 8:32 AM, dunbarx at aol.com wrote: > Well, not quite. The toolTip is a property, and must be set directly. You might say it has no "text" property, being a property already. You might also say that the toolTip property is, already, its text. > > > In other words, keep it simple. Just set it and go... > > > Craig > > > > -----Original Message----- > From: Earthednet-wp > To: How to use LiveCode > Sent: Wed, Nov 19, 2014 10:44 am > Subject: Re: Whats the proper way to show a help field? > > > Craig, > Thanks for that! No, I didn't know I could use the tooltip for that. So I could > do something like: > "Set the text of the tooltip of me to mytext" as the mouse is moved? > > Bill > > > > > William Prothero > http://es.earthednet.org > >> On Nov 19, 2014, at 7:34 AM, dunbarx at aol.com wrote: >> >> Hi again. >> >> >> Not sure what you mean. You do know that the tooltip is a property, and need > not just be fixed text, right? >> >> >> >> on mouseMove >> set the tooltip of me to the mouseLoc >> end mouseMove >> >> >> Try this in your rect. You will want to make sure to knock off the > toolTipDelay. >> >> >> Craig >> >> >> >> -----Original Message----- >> From: Earthednet-wp >> To: How to use LiveCode >> Sent: Wed, Nov 19, 2014 1:04 am >> Subject: Re: Whats the proper way to show a help field? >> >> >> Yeah, I use the tool tips a lot. But the field I need displays the x,y values >> under a data plot, as the user moves the mouse within the plot axes boundary. > . >> In that way, the user gets a convenient way of getting values from a data > plot. >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Nov 18, 2014, at 8:20 PM, dunbarx at aol.com wrote: >>> >>> Have you ever used a toolTip? They follow like a loyal dog. >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: William Prothero >>> To: Use-livecode Use-livecode >>> Sent: Tue, Nov 18, 2014 6:01 pm >>> Subject: Whats the proper way to show a help field? >>> >>> >>> Folks: >>> I have a help field that I want to pop up and follow the mouse when it?s >> within >>> a specific rect. What I?m doing is showing the x,y values in a data plot >> region. >>> So, I do something like: >>> >>> on mouseEnter >>> doTheDisplay >>> end mouseEnter >>> >>> on doTheDisplay >>> repeat while the mouseLoc is within theRect >>> doStuff that shows the field and its contents >>> end repeat >>> end doTheDisplay >>> >>> The problem with this is I am getting ?Recursion Limit? errors. >>> >>> >>> William A. Prothero >>> http://es.earthednet.org/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Nov 19 14:21:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Nov 2014 13:21:45 -0600 Subject: Find the scroll location in wrapped field In-Reply-To: References: <996C896A-BF56-452F-B217-15501E0199E3@thehales.id.au> Message-ID: <546CEDC9.6040709@hyperactivesw.com> On 11/19/2014, 6:36 AM, Mike Doub wrote: > Some one posted a summary sizing of all of the different parts of a > character. Unfortunately I can't find it. Now that I know about > formattedrect I will give that a try for each char in a line and see if I > can simulate the word wrapping of a line to get the info I need about how > the line was split. The formattedText function might be useful. It tells you where the visible lines end. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Wed Nov 19 14:25:43 2014 From: sundown at pacifier.com (JB) Date: Wed, 19 Nov 2014 11:25:43 -0800 Subject: Stripping Returns In-Reply-To: References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> Message-ID: <9899AC5A-2B8E-4748-9CD6-8043B42C7210@pacifier.com> Thank you, Jacque. I thought things were not as they seemed and I was reading large files but the line limits would confuse me as to why some times they did not seem to matter like when reading a whole file and putting it in a field but if I converted the file I would need to save the converted text in lines that are 62k or smaller. And yet when I would finally convert it back to the original file it did not need to be save in lines 62k or smaller. You really explained a lot. John Balgenorth On Nov 19, 2014, at 8:14 AM, J. Landman Gay wrote: > Reading a file always gives you all the content regardless of the size, up to memory limits. Displaying a long line of text will truncate it after 62k but as I understand it, the truncation is visual only. If a script asks for the line it is all returned. (Better check that, but that was my understanding.) > > But the restriction only applies to lines that don't wrap, such as those in list fields. If the text contains spaces or other delimiting tokens, the text will wrap and the restriction is lifted. > > When reading a file from disk as text, line endings will be converted to the ones used by the current OS. Text read as binary will not be altered. > > > On November 19, 2014 4:44:53 AM CST, JB wrote: >> Thank you. The logic is simple enough. >> Even so it should be noted in the read >> file that reading to the end of a file will >> fail to provide you the info if the file has >> more than 65,535 characters. >> >> John Balgenorth >> >> >> On Nov 18, 2014, at 8:35 PM, dunbarx at aol.com wrote: >> >>> Hi. >>> >>> >>> Did you try this? Simple to do in a little test card. The chars >> beyond 65535 will be lost. Do you see what the likely answer to your >> second question is? Note that reading from a file does not anticipate >> what you will do with the data. Variables have no limits, within >> memory, of course, but what you do with that data may hit a wall. >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: JB >>> To: How to use LiveCode >>> Sent: Tue, Nov 18, 2014 9:48 pm >>> Subject: Stripping Returns >>> >>> >>> A field has a limit on the amount of characters >>> you can have on each line. What if I put the >>> text of a field in a variable and it has 500,000 >>> characters. Then I strip all of the returns that >>> are in the field. Does that leave only one line >>> with 500,000 characters? That exceeds the >>> amount of characters allowed per line so what >>> happens to the text in the variable? >>> >>> Another similar question is what happens if I am >>> reading a file until the end and it is very large. Will >>> returns be automatically placed if needed so the line >>> limit got characters is not exceeded or do I need to >>> read large files in sections that are less than the line >>> limit for characters? >>> >>> John Balgenorth >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Wed Nov 19 14:28:26 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 19 Nov 2014 11:28:26 -0800 Subject: language syntax question In-Reply-To: References: Message-ID: See if this works for you: on mouseUp put something(long ID of field 1,2) end mouseUp function something obj, pl return the formattedRect of line pl of obj & cr & \ word 1 of line pl of (text of obj) end something Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/19/14, 10:57 AM, "Mike Doub" wrote: >i have been struggling with a couple of language issues and I hope some >one >can set me straight. > >Issue 1). What is the syntax to get the contents of a field when you have >the long IDE to the field. > >Put something ( long ID of field "foo", 2) into x >... > >Function something obj pl > Get the formattedrect of line pl of obj -- this works fine > Get word 1 of the text of line pl of obj -- this what I want to do but >the syntax is wrong >End something From capellan2000 at gmail.com Wed Nov 19 14:31:22 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 19 Nov 2014 15:31:22 -0400 Subject: Meaningful and verbose error messages in LiveCode Message-ID: Hi Richmond, On Wed, Nov 19, 2014 Richmond wrote: > In an ideal world (which, in case you don't know; this is not) > an Open Source project should be 100% open; meaning > we can edit everything . . . Actually, this not really possible. Developers who do not understand how LiveCode works could make a real mess in the sources... :( > The problem has to be, if universal editability > is implemented, how everything is collated and > which edits take precedence over which edits: > unless, of course, we are going to end up with > 500 variant versions of LiveCode Open Source; > resulting in such a web of confusion that there > will be no real benefit at all; quite the reverse > in fact. No, I will rephrase the request in another way: Does exist a method to show our own custom warnings or messages when LiveCode display errors in our code? Al From sean at pidigital.co.uk Wed Nov 19 14:35:49 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 19 Nov 2014 19:35:49 +0000 Subject: language syntax question In-Reply-To: References: Message-ID: Hi Mike Issue 1- Get is for parameters which 'word' is not. So you would use 'put' rather than 'get'. Get works well for formattedRect. To use 'get' for getting the word 1 of 'obj' you would do this: Get word 1 of line pl of the text of obj because 'the text' is a parameter of your 'obj' Issue 2- With send, you don't need to add the @ suffix. When you use it on the input of your handler (i.e., on doit @thevar) it is effectively referencing it to the same mem-space of the passed variable 'thevar'. So you would just use 'send "another" & thevar in 1 sec' but still use the @ suffix in your next handler (i.e., on another @thevar). Hope this helps you out. All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 19 November 2014 18:57, Mike Doub wrote: > i have been struggling with a couple of language issues and I hope some one > can set me straight. > > Issue 1). What is the syntax to get the contents of a field when you have > the long IDE to the field. > > Put something ( long ID of field "foo", 2) into x > ... > > Function something obj pl > Get the formattedrect of line pl of obj -- this works fine > Get word 1 of the text of line pl of obj -- this what I want to do but > the syntax is wrong > End something > > > Issue 2). Can a reference to a variable be passed thru the message path > with a send command? > > Local foo > Put "stuff" into var > doit var > ... > > On doit @thevar > Put "ed" after thevar > -- here I want to send the reference to another handler > Send "another" & @thevar In 1 second-- this is where I want the reference > to be sent and I > -- know the syntax is wrong > End doit > > On another @thevar > If thevar = "stuffed" then answer "it worked" > End another > > > Regards, > > Mike > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Wed Nov 19 14:38:43 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 19 Nov 2014 14:38:43 -0500 Subject: Calculate number of rows in a DataGrid In-Reply-To: References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> Message-ID: On Wed, Nov 19, 2014 at 2:01 PM, Terence Heaford wrote: > > Imagine a data grid with 20 rows with each row empty. > > I want to return 20. > Ah, so you want to know how many rows could be drawn in the visible area of the data grid. This should work: put the dgWorkingRect of group "MyDataGrid" into theVisibleRect put item 4 of theVisibleRect - item 2 of theVisibleRect into theVisibleHeight put theVisibleHeight / the dgProps["row height"] of group "MyDataGrid" into theNumberOfVisibleRows -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From jhj at jhj.com Wed Nov 19 14:46:32 2014 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 19 Nov 2014 11:46:32 -0800 Subject: Stripping Returns In-Reply-To: <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> Message-ID: <5CDB8472-7CCD-46A0-BF2D-E60F3B1ED724@jhj.com> A couple more points: The space ending the "1234567890 " does wrap the line, but does NOT affect the limit. I tried putting the field back into a variable, and it is still 65533 length. The data is truncated. JB note: The limit is only in FIELDS, NOT VARIABLES. You can read a long file into a variable in one go with no problem. Its only when you put it into a field that the limitation applies. .Jerry On Nov 19, 2014, at 8:54 AM, DunbarX at aol.com wrote: > Jacque. > > The text is truncated, not simply not displayed: > > on mouseUp > put "1234567890 " into temp > repeat 10000 > put temp after accum > end repeat > put accum into fld 1 -- 110,000 chars > answer the length of fld 1 > end mouseUp > > You get 65,533. > > Not sure where the last two chars went. > > Craig > > > -----Original Message----- > From: J. Landman Gay > To: How to use LiveCode > Sent: Wed, Nov 19, 2014 11:15 am > Subject: Re: Stripping Returns > > > Reading a file always gives you all the content regardless of the size, up to > memory limits. Displaying a long line of text will truncate it after 62k but as > I understand it, the truncation is visual only. If a script asks for the line > it is all returned. (Better check that, but that was my understanding.) > > But the restriction only applies to lines that don't wrap, such as those in list > fields. If the text contains spaces or other delimiting tokens, the text will > wrap and the restriction is lifted. > > When reading a file from disk as text, line endings will be converted to the > ones used by the current OS. Text read as binary will not be altered. > > > On November 19, 2014 4:44:53 AM CST, JB wrote: >> Thank you. The logic is simple enough. >> Even so it should be noted in the read >> file that reading to the end of a file will >> fail to provide you the info if the file has >> more than 65,535 characters. >> >> John Balgenorth >> >> >> On Nov 18, 2014, at 8:35 PM, dunbarx at aol.com wrote: >> >>> Hi. >>> >>> >>> Did you try this? Simple to do in a little test card. The chars >> beyond 65535 will be lost. Do you see what the likely answer to your >> second question is? Note that reading from a file does not anticipate >> what you will do with the data. Variables have no limits, within >> memory, of course, but what you do with that data may hit a wall. >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: JB >>> To: How to use LiveCode >>> Sent: Tue, Nov 18, 2014 9:48 pm >>> Subject: Stripping Returns >>> >>> >>> A field has a limit on the amount of characters >>> you can have on each line. What if I put the >>> text of a field in a variable and it has 500,000 >>> characters. Then I strip all of the returns that >>> are in the field. Does that leave only one line >>> with 500,000 characters? That exceeds the >>> amount of characters allowed per line so what >>> happens to the text in the variable? >>> >>> Another similar question is what happens if I am >>> reading a file until the end and it is very large. Will >>> returns be automatically placed if needed so the line >>> limit got characters is not exceeded or do I need to >>> read large files in sections that are less than the line >>> limit for characters? >>> >>> John Balgenorth >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Wed Nov 19 14:46:10 2014 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 19 Nov 2014 14:46:10 -0500 Subject: language syntax question In-Reply-To: References: Message-ID: <546CF382.40601@gmail.com> Thanks Scott. Of course now that I see the answer, it is obvious. Regards, Mike On 11/19/14 2:28 PM, Scott Rossi wrote: > See if this works for you: > > > on mouseUp > put something(long ID of field 1,2) > end mouseUp > > function something obj, pl > return the formattedRect of line pl of obj & cr & \ > word 1 of line pl of (text of obj) > end something > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/19/14, 10:57 AM, "Mike Doub" wrote: > >> i have been struggling with a couple of language issues and I hope some >> one >> can set me straight. >> >> Issue 1). What is the syntax to get the contents of a field when you have >> the long IDE to the field. >> >> Put something ( long ID of field "foo", 2) into x >> ... >> >> Function something obj pl >> Get the formattedrect of line pl of obj -- this works fine >> Get word 1 of the text of line pl of obj -- this what I want to do but >> the syntax is wrong >> End something > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Nov 19 14:48:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Nov 2014 13:48:23 -0600 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: References: Message-ID: <546CF407.2090608@hyperactivesw.com> On 11/19/2014, 1:31 PM, Alejandro Tejada wrote: > Does exist a method to show our own custom > warnings or messages when LiveCode display > errors in our code? The error descriptions are stored in the cErrorsList of the first card of stack "revErrorDisplay". You could edit those, but you'd need to do it again for each new LiveCode version. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Wed Nov 19 14:53:09 2014 From: sundown at pacifier.com (JB) Date: Wed, 19 Nov 2014 11:53:09 -0800 Subject: Stripping Returns In-Reply-To: <5CDB8472-7CCD-46A0-BF2D-E60F3B1ED724@jhj.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> <5CDB8472-7CCD-46A0-BF2D-E60F3B1ED724@jhj.com> Message-ID: <69FCA12E-E877-4F48-BA7A-5F03DB9C5324@pacifier.com> Thank you for the reply and info. I was wondering about limits in variables and and the info everyone provided helps me a lot. John Balgenorth On Nov 19, 2014, at 11:46 AM, Jerry Jensen wrote: > A couple more points: > The space ending the "1234567890 " does wrap the line, but does NOT affect the limit. > I tried putting the field back into a variable, and it is still 65533 length. The data is truncated. > > JB note: The limit is only in FIELDS, NOT VARIABLES. You can read a long file into a variable in one go with no problem. Its only when you put it into a field that the limitation applies. > > Jerry > > On Nov 19, 2014, at 8:54 AM, DunbarX at aol.com wrote: > >> Jacque. >> >> The text is truncated, not simply not displayed: >> >> on mouseUp >> put "1234567890 " into temp >> repeat 10000 >> put temp after accum >> end repeat >> put accum into fld 1 -- 110,000 chars >> answer the length of fld 1 >> end mouseUp >> >> You get 65,533. >> >> Not sure where the last two chars went. >> >> Craig >> >> >> -----Original Message----- >> From: J. Landman Gay >> To: How to use LiveCode >> Sent: Wed, Nov 19, 2014 11:15 am >> Subject: Re: Stripping Returns >> >> >> Reading a file always gives you all the content regardless of the size, up to >> memory limits. Displaying a long line of text will truncate it after 62k but as >> I understand it, the truncation is visual only. If a script asks for the line >> it is all returned. (Better check that, but that was my understanding.) >> >> But the restriction only applies to lines that don't wrap, such as those in list >> fields. If the text contains spaces or other delimiting tokens, the text will >> wrap and the restriction is lifted. >> >> When reading a file from disk as text, line endings will be converted to the >> ones used by the current OS. Text read as binary will not be altered. >> >> >> On November 19, 2014 4:44:53 AM CST, JB wrote: >>> Thank you. The logic is simple enough. >>> Even so it should be noted in the read >>> file that reading to the end of a file will >>> fail to provide you the info if the file has >>> more than 65,535 characters. >>> >>> John Balgenorth >>> >>> >>> On Nov 18, 2014, at 8:35 PM, dunbarx at aol.com wrote: >>> >>>> Hi. >>>> >>>> >>>> Did you try this? Simple to do in a little test card. The chars >>> beyond 65535 will be lost. Do you see what the likely answer to your >>> second question is? Note that reading from a file does not anticipate >>> what you will do with the data. Variables have no limits, within >>> memory, of course, but what you do with that data may hit a wall. >>>> >>>> >>>> Craig Newman >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: JB >>>> To: How to use LiveCode >>>> Sent: Tue, Nov 18, 2014 9:48 pm >>>> Subject: Stripping Returns >>>> >>>> >>>> A field has a limit on the amount of characters >>>> you can have on each line. What if I put the >>>> text of a field in a variable and it has 500,000 >>>> characters. Then I strip all of the returns that >>>> are in the field. Does that leave only one line >>>> with 500,000 characters? That exceeds the >>>> amount of characters allowed per line so what >>>> happens to the text in the variable? >>>> >>>> Another similar question is what happens if I am >>>> reading a file until the end and it is very large. Will >>>> returns be automatically placed if needed so the line >>>> limit got characters is not exceeded or do I need to >>>> read large files in sections that are less than the line >>>> limit for characters? >>>> >>>> John Balgenorth >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Nov 19 14:59:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Nov 2014 13:59:46 -0600 Subject: Whats the proper way to show a help field? In-Reply-To: <152AD59F-B3AB-407D-B56A-68C161EE6A8E@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> <2F1911F1-1658-42F5-8B1E-8BB5BE1D0956@earthednet.org> <8D1D22D857AFED6-21B0-D930@webmail-va029.sysops.aol.com> <152AD59F-B3AB-407D-B56A-68C161EE6A8E@earthednet.org> Message-ID: <546CF6B2.4020505@hyperactivesw.com> On 11/19/2014, 1:18 PM, William Prothero wrote: > Ok, let me see if I?ve got it. > > > on mouseMove > put myText into toolTip ??? i.e. how do I get text that depends on the mouseLoc, into the tooltip contents? > set the tooltip of me to the mouseLoc > end mouseMove The mousemove message includes the mouse coordinates in its parameters, like this: on mouseMove x,y set the tooltip of me to x,y end mouseMove This sets the text of the tooltip. You can't set its location by script, that is automatic. But there are some problems using tooltips this way: 1. There is a delay before the tooltip appears. By default it is a half second. You can adjust that though by setting the tooltipDelay when the stack opens. 2. The tooltip appears under the mouse the first time it is displayed, but if the mouse moves inside the same object while the tooltip is already showing, it will not follow the mouse. That may or may not be a problem, depending on what you're doing. 3. If the mouse moves out of the object and then back into it too quickly, sometimes the tooltip doesn't get the message and is ignored. I've found that using a field that follows the mouse is more reliable and allows more control, although I do have one project that uses tooltips this way. LiveCode's app browser uses them too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at btinternet.com Wed Nov 19 15:11:55 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 19 Nov 2014 20:11:55 +0000 Subject: Calculate number of rows in a DataGrid In-Reply-To: References: <4C56B267-BF96-42D1-874C-D7311E475459@btinternet.com> Message-ID: <765ACCD7-BFDB-4E70-BA59-DC1FC5F7EEE0@btinternet.com> > On 19 Nov 2014, at 19:38, Trevor DeVore wrote: > > Ah, so you want to know how many rows could be drawn in the visible area of > the data grid. This should work: > > put the dgWorkingRect of group "MyDataGrid" into theVisibleRect > put item 4 of theVisibleRect - item 2 of theVisibleRect into > theVisibleHeight > put theVisibleHeight / the dgProps["row height"] of group "MyDataGrid" into > theNumberOfVisibleRows Thanks Trevor, I have modified it slightly by using trunc with the final division to get a whole number of rows. What is all this for? I have a table that is using the large data method. I select the the data from that table and pass it to this, the table in question, that is being used to print a report in table format. This table is adjusted according to the paper size and I need to display only the data for one page at a time to enable the batch printing process of LC, therefore I need to know the number of whole rows that will fill the paper size, then adjust the height of the DG again. In addition I adjust the widths of the columns using percentages passed in according to whether the print is landscape or portrait. It all seems to work quite well and beats creating a reporting stack. My next step is to add top/bottom margins for titles etc. The only issue I am having is the artefacts I have reported as a bug when I print preview in OS X Yosemite. The alternate colour row is showing vertical lines in the cells as per this example screen grab https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot%202014-11-17%20at%2007.40.52.png All the best and thanks again Terry From jacque at hyperactivesw.com Wed Nov 19 15:14:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Nov 2014 14:14:45 -0600 Subject: Stripping Returns In-Reply-To: <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> Message-ID: <546CFA35.5030309@hyperactivesw.com> On 11/19/2014, 10:54 AM, dunbarx at aol.com wrote: > The text is truncated, not simply not displayed: > > > > on mouseUp > put "1234567890 " into temp > repeat 10000 > put temp after accum > end repeat > put accum into fld 1 -- 110,000 chars > answer the length of fld 1 > end mouseUp > > > You get 65,533. Curiosity made me test: on setup repeat until len(tStr) > 66000 put any word of the colornames & space after tStr end repeat put last word of tStr -- for reference later put tStr into fld 1 end setup The field is a list field with a horizontal scrollbar. I can't see the end of the line visually but the message box knows what it is. From the message box: put len(line 1 of fld 1) -- 66004 put len(fld 1) -- 66004 put the last word of line 1 of fld 1 -- matches what the handler put there Works the same for me without the spaces in the string. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david.bovill at gmail.com Wed Nov 19 15:14:53 2014 From: david.bovill at gmail.com (David Bovill) Date: Wed, 19 Nov 2014 20:14:53 +0000 Subject: OAuth 1.1 References: <5C9178BF-912D-495F-A788-0B826873D59C@canelasoftware.com> <004e01cea03a$245a0630$6d0e1290$@net> <5217E067.80802@hyperactivesw.com> <52568712.2060409@cogapp.com> Message-ID: Yes that would be great - in fact an oAuth 1.1 library on github would be better? On Thu Oct 10 2013 at 12:55:21 PM Ben Rubinstein wrote: > On 23/08/2013 23:21, J. Landman Gay wrote: > > On 8/23/13 2:51 PM, Ralph DiMola wrote: > >> I'm going to be using http rest application interface to Twitter. I am > doing > >> the OAuth stuff and I need a HMAC-SHA1 hashing algorithm. Is that the > same > >> as LC's sha1Digest function? If not is there something in the Mark Smith > >> library that will do the trick? I'm still not getting the correct answer > >> using sha1Digest after I base64Encode it. OR It could be the LC keyboard > >> actuator. > > > > I'm using an update of Mark Smith's library and it works. It's a slightly > > bug-fixed version that isn't on his site, but I've misplaced the link. > I'm > > sure someone here has it; otherwise I can send you the file. > > Hi Jacque, > > Are you able to post or share this library? I've not been able to find any > other references to it. > > Many thanks, > > Ben > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikedoub at gmail.com Wed Nov 19 15:14:41 2014 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 19 Nov 2014 15:14:41 -0500 Subject: language syntax question In-Reply-To: References: Message-ID: <546CFA31.50201@gmail.com> Thanks Sean, How would I go about saving the reference for use later? I am trying to pass in a buffer address to a library driver routine for a serial port. You must keep a read posted until data arrives. The allert the caller thru a callback. in a cardscript: local buffer On mouseup put empty into buffer -- this creates the buffer initialize_read buffer, "callback", me -- pass the address of the buffer and the callback routine to the driver start_reading end mouseup on callback put buffer -- buffer now has data from the read end callback --------------- In a library script: local savebuf, savedcallback, savedobj On initialize_read @buf, obj put (the address of buf) into savebuf -- How do I do this? put obj into savedobj open file serialport end initialize_read on start_reading read file serialport till empty if it is not empty then put it into buffer via savebuf -- How to get the data back into buffer? send savedcallback to obj in 5 millisec else send start_reading to me in 5 millisec end if end start_reading I am good with issue 1. As for issue 2, On 11/19/14 2:35 PM, Sean Cole (Pi) wrote: > Hi Mike > > Issue 1- > Get is for parameters which 'word' is not. So you would use 'put' rather > than 'get'. Get works well for formattedRect. To use 'get' for getting the > word 1 of 'obj' you would do this: > > Get word 1 of line pl of the text of obj > > because 'the text' is a parameter of your 'obj' > > > > Issue 2- > With send, you don't need to add the @ suffix. When you use it on the input > of your handler (i.e., on doit @thevar) it is effectively referencing it to > the same mem-space of the passed variable 'thevar'. So you would just use > 'send "another" & thevar in 1 sec' but still use the @ suffix in your next > handler (i.e., on another @thevar). > > Hope this helps you out. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > +44(1634)402193 > +44(7702)116447 > ? > 'Don't try to think outside the box. Just remember the truth: There is no > box!' > 'For then you realise it is not the box you are trying to look outside of, > but it is yourself!' > > This email and any files transmitted with it may be confidential and are > intended solely for the use of the individual to whom it is addressed. You > are hereby notified that if you are not the intended recipient of this > email, you must neither take any action based upon its contents, nor copy > or show it to anyone. Any distribution, reproduction, modification or > publication of this communication is strictly prohibited. If you have > received this in error, please notify the sender and delete the message > from your computer. > > > > Any opinions presented in this email are solely those of the author and do > not necessarily represent those of Pi Digital. Pi Digital cannot accept any > responsibility for the accuracy or completeness of this message and > although this email and any attachments are believed to be free from > viruses, it is the sole responsibility of the recipients. > > > Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. > VAT GB998220972 > > On 19 November 2014 18:57, Mike Doub wrote: > >> i have been struggling with a couple of language issues and I hope some one >> can set me straight. >> >> Issue 1). What is the syntax to get the contents of a field when you have >> the long IDE to the field. >> >> Put something ( long ID of field "foo", 2) into x >> ... >> >> Function something obj pl >> Get the formattedrect of line pl of obj -- this works fine >> Get word 1 of the text of line pl of obj -- this what I want to do but >> the syntax is wrong >> End something >> >> >> Issue 2). Can a reference to a variable be passed thru the message path >> with a send command? >> >> Local foo >> Put "stuff" into var >> doit var >> ... >> >> On doit @thevar >> Put "ed" after thevar >> -- here I want to send the reference to another handler >> Send "another" & @thevar In 1 second-- this is where I want the reference >> to be sent and I >> -- know the syntax is wrong >> End doit >> >> On another @thevar >> If thevar = "stuffed" then answer "it worked" >> End another >> >> >> Regards, >> >> Mike >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Nov 19 15:23:28 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 19 Nov 2014 12:23:28 -0800 Subject: language syntax question In-Reply-To: References: Message-ID: I've run into the first issue many times. It seems that if the property you are trying to get is a not a valid property of the referenced container, then all works fine. If it is a valid property, then what you get is that property of the container. So in your example: Function something obj pl Get the formattedrect of line pl of obj -- this works fine Get word 1 of the text of line pl of obj -- this what I want to do but the syntax is wrong End something ... "formattedRect" is not a valid property of obj so it works fine. But "word" is a valid property of obj and and so is "text" so what you get is whatever is in word 1 of line 2 of the contents of obj. In your example, there is only 1 line so you would get empty not word 1 of line 2 of field "foo". Others will hopefully correct me if I'm misinterpreting this but that has been my experience. The only way I've found around it is to construct a do command: do "get word 1 of line pl of" && obj In answer to your second question, no need to include the "@" when passing the variable to the second handler. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Nov 19, 2014 at 10:57 AM, Mike Doub wrote: > i have been struggling with a couple of language issues and I hope some one > can set me straight. > > Issue 1). What is the syntax to get the contents of a field when you have > the long IDE to the field. > > Put something ( long ID of field "foo", 2) into x > ... > > Function something obj pl > Get the formattedrect of line pl of obj -- this works fine > Get word 1 of the text of line pl of obj -- this what I want to do but > the syntax is wrong > End something > > > Issue 2). Can a reference to a variable be passed thru the message path > with a send command? > > Local foo > Put "stuff" into var > doit var > ... > > On doit @thevar > Put "ed" after thevar > -- here I want to send the reference to another handler > Send "another" & @thevar In 1 second-- this is where I want the reference > to be sent and I > -- know the syntax is wrong > End doit > > On another @thevar > If thevar = "stuffed" then answer "it worked" > End another > > > Regards, > > Mike > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Wed Nov 19 15:26:11 2014 From: sundown at pacifier.com (JB) Date: Wed, 19 Nov 2014 12:26:11 -0800 Subject: Stripping Returns In-Reply-To: <546CFA35.5030309@hyperactivesw.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> <546CFA35.5030309@hyperactivesw.com> Message-ID: <59748E8E-87BD-4FED-972E-82D6A1D8D252@pacifier.com> More info that is good to know. Thanks again. John Balgenorth On Nov 19, 2014, at 12:14 PM, J. Landman Gay wrote: > On 11/19/2014, 10:54 AM, dunbarx at aol.com wrote: >> The text is truncated, not simply not displayed: >> >> >> >> on mouseUp >> put "1234567890 " into temp >> repeat 10000 >> put temp after accum >> end repeat >> put accum into fld 1 -- 110,000 chars >> answer the length of fld 1 >> end mouseUp >> >> >> You get 65,533. > > Curiosity made me test: > > on setup > repeat until len(tStr) > 66000 > put any word of the colornames & space after tStr > end repeat > put last word of tStr -- for reference later > put tStr into fld 1 > end setup > > The field is a list field with a horizontal scrollbar. I can't see the end of the line visually but the message box knows what it is. > > From the message box: > > put len(line 1 of fld 1) -- 66004 > put len(fld 1) -- 66004 > put the last word of line 1 of fld 1 -- matches what the handler put there > > Works the same for me without the spaces in the string. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Nov 19 15:32:31 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Nov 2014 14:32:31 -0600 Subject: Stripping Returns In-Reply-To: <546CFA35.5030309@hyperactivesw.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> <546CFA35.5030309@hyperactivesw.com> Message-ID: <546CFE5F.50501@hyperactivesw.com> On 11/19/2014, 2:14 PM, J. Landman Gay wrote: > The text is truncated, not simply not displayed: Mystery solved. I was testing in LC 7.0: http://quality.runrev.com/show_bug.cgi?id=13508 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Wed Nov 19 15:32:58 2014 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 19 Nov 2014 15:32:58 -0500 Subject: language syntax question In-Reply-To: References: Message-ID: <546CFE7A.6030605@gmail.com> Here is the syntax that works. thanks goes to Scott Rossi get word 1 of line 1 of (text of obj) On 11/19/14 3:23 PM, Peter Haworth wrote: > I've run into the first issue many times. It seems that if the property > you are trying to get is a not a valid property of the referenced > container, then all works fine. If it is a valid property, then what you > get is that property of the container. > > So in your example: > > Function something obj pl > Get the formattedrect of line pl of obj -- this works fine > Get word 1 of the text of line pl of obj -- this what I want to do but > the syntax is wrong > End something > > ... "formattedRect" is not a valid property of obj so it works fine. But > "word" is a valid property of obj and and so is "text" so what you get is > whatever is in word 1 of line 2 of the contents of obj. In your example, > there is only 1 line so you would get empty not word 1 of line 2 of field > "foo". > > Others will hopefully correct me if I'm misinterpreting this but that has > been my experience. The only way I've found around it is to construct a do > command: > > do "get word 1 of line pl of" && obj > > In answer to your second question, no need to include the "@" when passing > the variable to the second handler. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Wed, Nov 19, 2014 at 10:57 AM, Mike Doub wrote: > >> i have been struggling with a couple of language issues and I hope some one >> can set me straight. >> >> Issue 1). What is the syntax to get the contents of a field when you have >> the long IDE to the field. >> >> Put something ( long ID of field "foo", 2) into x >> ... >> >> Function something obj pl >> Get the formattedrect of line pl of obj -- this works fine >> Get word 1 of the text of line pl of obj -- this what I want to do but >> the syntax is wrong >> End something >> >> >> Issue 2). Can a reference to a variable be passed thru the message path >> with a send command? >> >> Local foo >> Put "stuff" into var >> doit var >> ... >> >> On doit @thevar >> Put "ed" after thevar >> -- here I want to send the reference to another handler >> Send "another" & @thevar In 1 second-- this is where I want the reference >> to be sent and I >> -- know the syntax is wrong >> End doit >> >> On another @thevar >> If thevar = "stuffed" then answer "it worked" >> End another >> >> >> Regards, >> >> Mike >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Wed Nov 19 15:41:26 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 19 Nov 2014 20:41:26 +0000 Subject: language syntax question In-Reply-To: <546CFA31.50201@gmail.com> References: <546CFA31.50201@gmail.com> Message-ID: On 19 November 2014 20:14, Michael Doub wrote: > local savebuf, savedcallback, savedobj > On initialize_read @buf, obj > put (the address of buf) into savebuf -- How do I do this? > put obj into savedobj > open file serialport > end initialize_read > It depends on *where* you want to save it. If you just want to put it into a variable that is held until closeStack then create a global variable and store it into that, e.g.: global gSaveBuf local savebuf, savedcallback, savedobj On initialize_read @buf, obj put (the address of buf) into gSaveBuf -- Saved to a global that, as long as you call the global with the same name in each objects script, will keep the same data. I personally prefer to use globals than referenced variables put obj into savedobj open file serialport end initialize_read Alternatively to save it to the hard drive or other more permanent storage than ram you could use: put (the address of buf) into url("file:" & myFileName) Again, I really hope this helps you out. All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk From jhj at jhj.com Wed Nov 19 15:42:28 2014 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 19 Nov 2014 12:42:28 -0800 Subject: Stripping Returns In-Reply-To: <546CFA35.5030309@hyperactivesw.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> <546CFA35.5030309@hyperactivesw.com> Message-ID: <3CBC2D7C-7167-45B8-B6A8-CB61AADF0474@jhj.com> On Nov 19, 2014, at 12:14 PM, J. Landman Gay wrote: > Curiosity made me test: > > on setup > repeat until len(tStr) > 66000 > put any word of the colornames & space after tStr > end repeat > put last word of tStr -- for reference later > put tStr into fld 1 > end setup > > The field is a list field with a horizontal scrollbar. I can't see the end of the line visually but the message box knows what it is. > > From the message box: > > put len(line 1 of fld 1) -- 66004 > put len(fld 1) -- 66004 > put the last word of line 1 of fld 1 -- matches what the handler put there > > Works the same for me without the spaces in the string. Curiouser and curiouser. The code below answers 110000 65533 65533. The field has a vertical scroll bar, unchanged from dragging it into the card. The lines wrap. This seems to lead to a different conclusion than your test. Curious! on mouseUp local temp, accum, reload put "1234567890 " into temp repeat 10000 put temp after accum end repeat put accum into fld 1 -- 110,000 chars put fld 1 into reload answer the length of accum && the length of fld 1 && the length of reload end mouseUp .Jerry From jhj at jhj.com Wed Nov 19 15:45:56 2014 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 19 Nov 2014 12:45:56 -0800 Subject: Stripping Returns In-Reply-To: <546CFE5F.50501@hyperactivesw.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> <546CFA35.5030309@hyperactivesw.com> <546CFE5F.50501@hyperactivesw.com> Message-ID: <96BD2DCB-5B25-4BD3-BD14-66F9EAB3C6E4@jhj.com> On Nov 19, 2014, at 12:32 PM, J. Landman Gay wrote: > On 11/19/2014, 2:14 PM, J. Landman Gay wrote: >> The text is truncated, not simply not displayed: > > Mystery solved. I was testing in LC 7.0: > > http://quality.runrev.com/show_bug.cgi?id=13508 And I was testing using LC 6.7 end curiosity. .Jerry From capellan2000 at gmail.com Wed Nov 19 15:47:12 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 19 Nov 2014 12:47:12 -0800 (PST) Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <546CF407.2090608@hyperactivesw.com> References: <546CF407.2090608@hyperactivesw.com> Message-ID: <1416430032491-4686049.post@n4.nabble.com> J. Landman Gay wrote > The error descriptions are stored in the cErrorsList of the first card > of stack "revErrorDisplay". You could edit those, but you'd need to do > it again for each new LiveCode version. Many Thanks, Jacque! I wrote in the message box: put the cErrorsList of card 1 of stack "revErrorDisplay" and there it is. A complete list of error messages. :D After my current headache dissapears, I will study how these error messages could trigger another stack with Custom notes and warnings. Thanks a lot again, Jacque. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Meaningful-and-verbose-error-messages-in-LiveCode-tp4686019p4686049.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Wed Nov 19 16:10:08 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 19 Nov 2014 16:10:08 -0500 Subject: Stripping Returns In-Reply-To: <3CBC2D7C-7167-45B8-B6A8-CB61AADF0474@jhj.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> <546CFA35.5030309@hyperactivesw.com> <3CBC2D7C-7167-45B8-B6A8-CB61AADF0474@jhj.com> Message-ID: <8D1D25453232037-21B0-FD6A@webmail-va029.sysops.aol.com> Jerry. The variable accum had a length of 110K, the field truncated that to 65-odd K, the reload just reflected what was in the field. Craig -----Original Message----- From: Jerry Jensen To: How to use LiveCode Sent: Wed, Nov 19, 2014 3:43 pm Subject: Re: Stripping Returns On Nov 19, 2014, at 12:14 PM, J. Landman Gay wrote: > Curiosity made me test: > > on setup > repeat until len(tStr) > 66000 > put any word of the colornames & space after tStr > end repeat > put last word of tStr -- for reference later > put tStr into fld 1 > end setup > > The field is a list field with a horizontal scrollbar. I can't see the end of the line visually but the message box knows what it is. > > From the message box: > > put len(line 1 of fld 1) -- 66004 > put len(fld 1) -- 66004 > put the last word of line 1 of fld 1 -- matches what the handler put there > > Works the same for me without the spaces in the string. Curiouser and curiouser. The code below answers 110000 65533 65533. The field has a vertical scroll bar, unchanged from dragging it into the card. The lines wrap. This seems to lead to a different conclusion than your test. Curious! on mouseUp local temp, accum, reload put "1234567890 " into temp repeat 10000 put temp after accum end repeat put accum into fld 1 -- 110,000 chars put fld 1 into reload answer the length of accum && the length of fld 1 && the length of reload end mouseUp .Jerry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Nov 19 16:17:18 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Nov 2014 23:17:18 +0200 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <1416430032491-4686049.post@n4.nabble.com> References: <546CF407.2090608@hyperactivesw.com> <1416430032491-4686049.post@n4.nabble.com> Message-ID: <546D08DE.3070700@gmail.com> You can set up a stack called, for instance "ERRORS" with a field called "ERRS" and a button with this script: on mouseUp put the cErrorsList of card 1 of stack "revErrorDisplay" into fld "ERRS" of stack "ERRORS" end mouseUp what is interesting is that the resulting list contains quite a few empty lines. You can then muck around with the lines: For instance I changed "acos: domain error to "acos: domain mistake" HOWEVER, when I tried this: put fld "ERRS" of stack "ERRORS" into cErrorsList of card 1 of stack "revErrorDisplay" and this: put the lines of fld "ERRS" of stack "ERRORS" into cErrorsList of card 1 of stack "revErrorDisplay" I got an error message. So, what I really need to know is how to access cErrorsList especially as the Application browser does not let me open the revErrorDisplay stack and I can find no customProp called cErrorsList. Richmond. From jhj at jhj.com Wed Nov 19 16:17:33 2014 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 19 Nov 2014 13:17:33 -0800 Subject: Stripping Returns In-Reply-To: <8D1D25453232037-21B0-FD6A@webmail-va029.sysops.aol.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <8D1D1C96DB577E4-13F8-40088@webmail-va083.sysops.aol.com> <8D1D2309C4D56D5-21B0-DC6B@webmail-va029.sysops.aol.com> <546CFA35.5030309@hyperactivesw.com> <3CBC2D7C-7167-45B8-B6A8-CB61AADF0474@jhj.com> <8D1D25453232037-21B0-FD6A@webmail-va029.sysops.aol.com> Message-ID: Right. That was what I was trying to show. Jacque got different results because she was using LC 7, as we now know. LC7 extended the limit to just under 2^32. I was using LC 6.7 with its limit of just under 2^16. All is well. .Jerry On Nov 19, 2014, at 1:10 PM, dunbarx at aol.com wrote: > Jerry. > > The variable accum had a length of 110K, the field truncated that to 65-odd K, the reload just reflected what was in the field. > > Craig > > -----Original Message----- > From: Jerry Jensen > To: How to use LiveCode > Sent: Wed, Nov 19, 2014 3:43 pm > Subject: Re: Stripping Returns > > > On Nov 19, 2014, at 12:14 PM, J. Landman Gay wrote: > >> Curiosity made me test: >> >> on setup >> repeat until len(tStr) > 66000 >> put any word of the colornames & space after tStr >> end repeat >> put last word of tStr -- for reference later >> put tStr into fld 1 >> end setup >> >> The field is a list field with a horizontal scrollbar. I can't see the end of > the line visually but the message box knows what it is. >> >> From the message box: >> >> put len(line 1 of fld 1) -- 66004 >> put len(fld 1) -- 66004 >> put the last word of line 1 of fld 1 -- matches what the handler put there >> >> Works the same for me without the spaces in the string. > > Curiouser and curiouser. The code below answers 110000 65533 65533. > The field has a vertical scroll bar, unchanged from dragging it into the card. > The lines wrap. > This seems to lead to a different conclusion than your test. > Curious! > > on mouseUp > local temp, accum, reload > put "1234567890 " into temp > repeat 10000 > put temp after accum > end repeat > put accum into fld 1 -- 110,000 chars > put fld 1 into reload > answer the length of accum && the length of fld 1 && the length of reload > end mouseUp > > .Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Nov 19 16:20:50 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 19 Nov 2014 16:20:50 -0500 Subject: Whats the proper way to show a help field? In-Reply-To: <152AD59F-B3AB-407D-B56A-68C161EE6A8E@earthednet.org> References: <546AD5CF.8060108@fourthworld.com> <1D75A805-C5F1-42A5-BDA9-1FD171C205E7@earthednet.org> <7AF690D2-F057-4A9A-ACAE-41B835AB78F0@earthednet.org> <00C66F9F-6744-41A5-BCD9-51F231AB8744@earthednet.org> <1655BCA6-6A11-414B-BA0D-C68DF0C2A2C0@earthednet.org> <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> <2F1911F1-1658-42F5-8B1E-8BB5BE1D0956@earthednet.org> <8D1D22D857AFED6-21B0-D930@webmail-va029.sysops.aol.com> <152AD59F-B3AB-407D-B56A-68C161EE6A8E@earthednet.org> Message-ID: <8D1D255D13423E5-21B0-FF21@webmail-va029.sysops.aol.com> Two things. First, jacque makes a point, in that even with a toolTipDelay of 1 the toolTip itself is jittery. I guess it is really a note gizmo that in intended to tell you something while the mouse hovers over an object, and does not move overmuch. A field that tracks the mouseLoc is really much nicer, since many "mouseMove" messages are sent in a short time while the cursor is on the march. Can you do that? make it appear and disappear, and track? The toolTip handles that automatically, but is not as smooth at all. Second, read up on the "mouseText". This can be used (unless there is some other relationship between the mouseLoc and your desired text) to great advantage. Do you see how to do this? Craig -----Original Message----- From: William Prothero To: Use-livecode Use-livecode Sent: Wed, Nov 19, 2014 2:19 pm Subject: Re: Whats the proper way to show a help field? Craig: Ok, let me see if I?ve got it. on mouseMove put myText into toolTip ??? i.e. how do I get text that depends on the mouseLoc, into the tooltip contents? set the tooltip of me to the mouseLoc end mouseMove Tnx, Bill On Nov 19, 2014, at 8:32 AM, dunbarx at aol.com wrote: > Well, not quite. The toolTip is a property, and must be set directly. You might say it has no "text" property, being a property already. You might also say that the toolTip property is, already, its text. > > > In other words, keep it simple. Just set it and go... > > > Craig > > > > -----Original Message----- > From: Earthednet-wp > To: How to use LiveCode > Sent: Wed, Nov 19, 2014 10:44 am > Subject: Re: Whats the proper way to show a help field? > > > Craig, > Thanks for that! No, I didn't know I could use the tooltip for that. So I could > do something like: > "Set the text of the tooltip of me to mytext" as the mouse is moved? > > Bill > > > > > William Prothero > http://es.earthednet.org > >> On Nov 19, 2014, at 7:34 AM, dunbarx at aol.com wrote: >> >> Hi again. >> >> >> Not sure what you mean. You do know that the tooltip is a property, and need > not just be fixed text, right? >> >> >> >> on mouseMove >> set the tooltip of me to the mouseLoc >> end mouseMove >> >> >> Try this in your rect. You will want to make sure to knock off the > toolTipDelay. >> >> >> Craig >> >> >> >> -----Original Message----- >> From: Earthednet-wp >> To: How to use LiveCode >> Sent: Wed, Nov 19, 2014 1:04 am >> Subject: Re: Whats the proper way to show a help field? >> >> >> Yeah, I use the tool tips a lot. But the field I need displays the x,y values >> under a data plot, as the user moves the mouse within the plot axes boundary. > . >> In that way, the user gets a convenient way of getting values from a data > plot. >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Nov 18, 2014, at 8:20 PM, dunbarx at aol.com wrote: >>> >>> Have you ever used a toolTip? They follow like a loyal dog. >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: William Prothero >>> To: Use-livecode Use-livecode >>> Sent: Tue, Nov 18, 2014 6:01 pm >>> Subject: Whats the proper way to show a help field? >>> >>> >>> Folks: >>> I have a help field that I want to pop up and follow the mouse when it?s >> within >>> a specific rect. What I?m doing is showing the x,y values in a data plot >> region. >>> So, I do something like: >>> >>> on mouseEnter >>> doTheDisplay >>> end mouseEnter >>> >>> on doTheDisplay >>> repeat while the mouseLoc is within theRect >>> doStuff that shows the field and its contents >>> end repeat >>> end doTheDisplay >>> >>> The problem with this is I am getting ?Recursion Limit? errors. >>> >>> >>> William A. Prothero >>> http://es.earthednet.org/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Wed Nov 19 16:50:02 2014 From: david.bovill at gmail.com (David Bovill) Date: Wed, 19 Nov 2014 21:50:02 +0000 Subject: Javascript on mobile References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> Message-ID: Is it not possible to execute Javascript in a mobile browser? I thought I remembered it in one of the release notes? From jacque at hyperactivesw.com Wed Nov 19 18:24:38 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Nov 2014 17:24:38 -0600 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <1416430032491-4686049.post@n4.nabble.com> References: <546CF407.2090608@hyperactivesw.com> <1416430032491-4686049.post@n4.nabble.com> Message-ID: <546D26B6.9040009@hyperactivesw.com> On 11/19/2014, 2:47 PM, Alejandro Tejada wrote: > After my current headache dissapears, I will study > how these error messages could trigger another > stack with Custom notes and warnings. The easiest way is to write an errorDialog handler and trap the error that way. You'd need the handler in every stack, or in a library that is always in use. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Wed Nov 19 18:24:40 2014 From: mikedoub at gmail.com (Mike Doub) Date: Wed, 19 Nov 2014 18:24:40 -0500 Subject: OAuth 1.1 In-Reply-To: References: <5C9178BF-912D-495F-A788-0B826873D59C@canelasoftware.com> <004e01cea03a$245a0630$6d0e1290$@net> <5217E067.80802@hyperactivesw.com> <52568712.2060409@cogapp.com> Message-ID: Please do post it as I have been looking for this as well Thanks, Mike On Wednesday, November 19, 2014, David Bovill wrote: > Yes that would be great - in fact an oAuth 1.1 library on github would be > better? > > On Thu Oct 10 2013 at 12:55:21 PM Ben Rubinstein > wrote: > > > On 23/08/2013 23:21, J. Landman Gay wrote: > > > On 8/23/13 2:51 PM, Ralph DiMola wrote: > > >> I'm going to be using http rest application interface to Twitter. I am > > doing > > >> the OAuth stuff and I need a HMAC-SHA1 hashing algorithm. Is that the > > same > > >> as LC's sha1Digest function? If not is there something in the Mark > Smith > > >> library that will do the trick? I'm still not getting the correct > answer > > >> using sha1Digest after I base64Encode it. OR It could be the LC > keyboard > > >> actuator. > > > > > > I'm using an update of Mark Smith's library and it works. It's a > slightly > > > bug-fixed version that isn't on his site, but I've misplaced the link. > > I'm > > > sure someone here has it; otherwise I can send you the file. > > > > Hi Jacque, > > > > Are you able to post or share this library? I've not been able to find > any > > other references to it. > > > > Many thanks, > > > > Ben > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Nov 19 18:33:09 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Nov 2014 17:33:09 -0600 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <546D08DE.3070700@gmail.com> References: <546CF407.2090608@hyperactivesw.com> <1416430032491-4686049.post@n4.nabble.com> <546D08DE.3070700@gmail.com> Message-ID: <546D28B5.1020303@hyperactivesw.com> On 11/19/2014, 3:17 PM, Richmond wrote: > HOWEVER, when I tried this: > > put fld "ERRS" of stack "ERRORS" into cErrorsList of card 1 of stack > "revErrorDisplay" Well, you can't "put" anything into a custom property, those have to be set. And you need "the": "set the cErrorsList of cd 1 of..." > > put the lines of fld "ERRS" of stack "ERRORS" into cErrorsList of card 1 > of stack "revErrorDisplay" You want "the text" I think. set the cErrorsList of card 1 of stack "revErrorDisplay" to the text of fld "ERRS" > especially as the Application browser does not let me open the revErrorDisplay stack > and I can find no customProp called cErrorsList. Did you turn on "LiveCode UI elements in lists" in the View menu? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Wed Nov 19 19:28:17 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 19 Nov 2014 16:28:17 -0800 (PST) Subject: Whats the proper way to show a help field? In-Reply-To: <8D1D255D13423E5-21B0-FF21@webmail-va029.sysops.aol.com> References: <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> <2F1911F1-1658-42F5-8B1E-8BB5BE1D0956@earthednet.org> <8D1D22D857AFED6-21B0-D930@webmail-va029.sysops.aol.com> <152AD59F-B3AB-407D-B56A-68C161EE6A8E@earthednet.org> <8D1D255D13423E5-21B0-FF21@webmail-va029.sysops.aol.com> Message-ID: <1416443297383-4686058.post@n4.nabble.com> dunbarx wrote > [snip] > A field that tracks the mouseLoc is really much nicer, > since many "mouseMove" messages are sent in a > short time while the cursor is on the march. > Can you do that? > make it appear and disappear, > and track? > The toolTip handles that automatically, > but is not as smooth at all. Could this work? Here is a very simple method: 1- Create a small field named "cursorpos" 2- Create an opaque rectangle graphic and put this script in the graphic: on mousemove x,y set the layer of fld cursorpos to the layer of me + 1 put x,y into fld cursorpos set the topleft of fld cursorpos to x+20,y end mousemove on mouseleave hide fld cursorpos end mouseleave on mouseenter show fld cursorpos end mouseenter Use contrasting colors for the background of the graphic and the small field. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-Server-on-DreamHost-tp4685924p4686058.html Sent from the Revolution - User mailing list archive at Nabble.com. From gregory.lypny at videotron.ca Wed Nov 19 19:41:39 2014 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 19 Nov 2014 19:41:39 -0500 Subject: Running Apache Under Yosemite In-Reply-To: References: Message-ID: <0CE234B7-2682-4068-A508-9A47F5C44D30@videotron.ca> Thanks, Peter, Mark, Richard, and all for your good suggestions regarding Apache on Yosemite. Gregory From lan.kc.macmail at gmail.com Thu Nov 20 00:14:49 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 20 Nov 2014 13:14:49 +0800 Subject: Markingdown The User Guide In-Reply-To: <546CBDAF.3060602@gmail.com> References: <546CBDAF.3060602@gmail.com> Message-ID: +1 On Wed, Nov 19, 2014 at 11:56 PM, Richmond wrote: > Fantastic news: > > http://livecode.com/blog/2014/11/18/markingdown-the-user-guide/ > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Thu Nov 20 00:35:32 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 20 Nov 2014 00:35:32 -0500 Subject: sendmail through On-Rev server In-Reply-To: References: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> Message-ID: <001101d00483$cda4a250$68ede6f0$@net> Has anyone got this script to work on diesel? The server script just seems to crash. No statements after the mail are executed. The return data is empty from the web service. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Paul Hibbert Sent: Sunday, October 26, 2014 12:14 PM To: How to use LiveCode Subject: Re: sendmail through On-Rev server Thanks Christer, That's the script I was trying on Diesel, but sadly with no joy. Paul On Oct 26, 2014, at 1:20 AM, Pyyhti? Christer wrote: > The following script works well - on Tio. Used it yesterday with no problems. Response was immediate. > > I got it from someone at RR. > > rgds christer > ------ > > -- mail > -- > -- Emails the given message to the recipients specified. > -- Each address passed can have a name attached in the form "name
". > -- Addresses can be passed as comma separated lists. > -- Attachements can be added by passing an array (interger indexed or otherwise). > -- with each attachment itself being an array. > -- > -- pTo - The addresses to send the message to > -- pSub - The message subject > -- pMsg - The message body > -- pFrom - The address of the message sender > -- pCc - Any cc addresses > -- pBcc - Any Bcc addresses > -- pHtml - Boolean, if the message is to be sent as html > -- pAtts - Array of all attachments to send, each attachment of the form: > -- * name: the name of the attachment > -- * path: the absolute path to the attachment > -- * type: the mime type of the attachment, defaults to > -- application/octet-stream > -- > on mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts > local tMsg > -- build the message header, adding the from, to and subject details > -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) > put shellEscape(pTo) into pTo > -- put (pSub) into pSub > > put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & return into tMsg > if pCc is not empty then put "Cc:" && pCc & return after tMsg > -- if there are any attachments, we must send this email as multipart > -- with the message body and each attachment forming a part > -- we do this by specifying the message as multipart and generating a unique boundary > if pAtts is an array then > local tBoundary > put "boundary" & the seconds into tBoundary > put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; boundary=" & \ > wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg > end if > > -- add the actual message body, setting the content type appropriatly > if pHtml is true then > put "Content-Type: text/html;" & return & return after tMsg > else > put "Content-Type: text/plain;" & return & return after tMsg > end if > put pMsg & return after tMsg > > -- add each attachment as a new part of the message, sepearting using > -- the generated boundary > if pAtts is an array then > put "--" & tBoundary & return after tMsg > repeat for each element tAtt in pAtts > if there is a file tAtt["path"] then > if tAtt["type"] is empty then > get "application/octet-stream" > else > get tAtt["type"] > end if > put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) & ";" & \ > return & "Content-Transfer-Encoding: base64;" & return & return & \ > base64Encode(URL ("binfile:" & tAtt["path"])) & return & "--" & \ > tBoundary & return after tMsg > end if > end repeat > end if > > -- send the mail by piping the message we have just built to the sendmail command > -- we must also send a copy of the message to the bcc addresses > get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) > if pBcc is not empty then > get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) > end if > end mail > > --- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Nov 20 01:26:52 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 19 Nov 2014 22:26:52 -0800 Subject: Whats the proper way to show a help field? In-Reply-To: <1416443297383-4686058.post@n4.nabble.com> References: <546BB3B7.9020809@hyperactivesw.com> <444F6434-88BA-4545-851D-887C6DF570F2@earthednet.org> <8D1D1C73FC7E5D3-13F8-3FFD7@webmail-va083.sysops.aol.com> <8D1D2256EA4B833-21B0-D125@webmail-va029.sysops.aol.com> <2F1911F1-1658-42F5-8B1E-8BB5BE1D0956@earthednet.org> <8D1D22D857AFED6-21B0-D930@webmail-va029.sysops.aol.com> <152AD59F-B3AB-407D-B56A-68C161EE6A8E@earthednet.org> <8D1D255D13423E5-21B0-FF21@webmail-va029.sysops.aol.com> <1416443297383-4686058.post@n4.nabble.com> Message-ID: <77D20DA9-270C-4CDF-BB7F-1E661AAFCD79@earthednet.org> Thanks for the info, folks. Frankly, the field method seems better to me. I?ll use the ?on mouse move x,y? method. I?ve already got it implemented, except that I was putting all of the action inside a repeat while loop, which was causing recursion limit problems occasionally. But, since the mouseMove message is initiated when the mouse moves, I won?t need to enclose the whole thing in a repeat while loop. Thanks for the discussion. Best, Bill On Nov 19, 2014, at 4:28 PM, Alejandro Tejada wrote: > dunbarx wrote >> [snip] >> A field that tracks the mouseLoc is really much nicer, >> since many "mouseMove" messages are sent in a >> short time while the cursor is on the march. >> Can you do that? >> make it appear and disappear, >> and track? >> The toolTip handles that automatically, >> but is not as smooth at all. > > Could this work? > > Here is a very simple method: > > 1- Create a small field named "cursorpos" > 2- Create an opaque rectangle graphic > and put this script in the graphic: > > on mousemove x,y > set the layer of fld cursorpos to the layer of me + 1 > put x,y into fld cursorpos > set the topleft of fld cursorpos to x+20,y > end mousemove > > on mouseleave > hide fld cursorpos > end mouseleave > > on mouseenter > show fld cursorpos > end mouseenter > > Use contrasting colors for the background > of the graphic and the small field. > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-Server-on-DreamHost-tp4685924p4686058.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Hakan at Exformedia.se Thu Nov 20 02:12:21 2014 From: Hakan at Exformedia.se (Hakan at Exformedia.se) Date: Thu, 20 Nov 2014 08:12:21 +0100 Subject: Javascript on mobile In-Reply-To: References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> Message-ID: It is! I?ve done it several times. What is it that is not working? :-H?kan > 19 nov 2014 kl. 22:50 skrev David Bovill : > > Is it not possible to execute Javascript in a mobile browser? I thought I > remembered it in one of the release notes? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Thu Nov 20 03:30:50 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 20 Nov 2014 08:30:50 +0000 Subject: keyboards & chinese Message-ID: How do I get a chinese keyboard to 'stick' in the simulator and enter chinese charecters into a field, I don't mind if it is an LC field or a native field... Which is the font that I should use ?... I seem to have tried everything and I can't seem to get this to work... anyone tell me the 'a,b,c's' of how to do this ?... From toolbook at kestner.de Thu Nov 20 03:41:30 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 20 Nov 2014 09:41:30 +0100 Subject: OT: Any experiences with MS SmartScreen? Message-ID: <000c01d0049d$c8aaaeb0$5a000c10$@de> Hi there, since this year we are codesigning our programs. I thought we could produce a better installation experience for our clients with less frightening messages. Now I see that Windows has multiple different shields integrated. The defender accepts our certificate and shows our company name when launching our installer, that works. But on Windows 8 there is a second shield called SmartScreen for downloads from the internet, which is based on the "reputation" of the publisher. Though our program is signed, Smartscreen blocks our setup after download as a potential harmful app. The user can release it, but the way isn't very obvious. Obviously we don't have a good reputation at MS. Up to now, I didn't found a chance to get into contact with MS to "ask for a better reputation" and I don't think that MS is interested in us. Any experiences with this issue? Tiemo From keith.clarke at me.com Thu Nov 20 05:25:37 2014 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 20 Nov 2014 10:25:37 +0000 Subject: Taming Yosemite mic volume & AGC from Livecode Message-ID: <595BC987-9368-4BE6-8046-FE57CC70BD13@me.com> Hi Folks, A question for any Mac audio experts in the virtual room. The Problem Some colleagues are having problems with multiple apps fighting over OSX (Yosemite) microphone levels - and auto-adjusting the Automatic Gain Control (AGC) in real-time. Apps include Skype, GotoMeeting, Webex, Google hangouts, various soft-phones? The biggest issue is apps ramping-up input volume/AGC to the max in the background, creating noise, feedback & distortion for the other parties involved - all without the (non-technical, BYOD) user being aware unless they monitor system preferences all the while and ?ride the faders?. There are various threads around on settings for specific apps but I?ve not found a definitive answer for overriding a bunch of disparate apps that don?t play nice - on other folks? machines. Furthermore, Yosemite?s System preferences for Sound doesn?t seem to provide a true, ?absolute' Master Volume control - nor does it provide a master AGC On/Off. Potential Solution? So, I wonder if the way OSX audio settings work might allow a way to create a simple 'one knob + one button' Livecode utility that they can have on screen that drives Applescripts to get/set input volume and provide a global AGC on/off switch? So far we?ve tried this rather 'blunt instrument' volume reset via Terminal to address some of the symptoms? osascript -e repeat -e "set volume input volume 15? -e 'delay 1? -e 'end repeat? ? but it would be nice to refine the behaviour, add AGC control to prevent unwanted adjustments and wrap it for use in a user-friendly Livecode stack. Any ideas gratefully received. :-) Best, Keith.. From livfoss at mac.com Thu Nov 20 06:23:21 2014 From: livfoss at mac.com (Graham Samuel) Date: Thu, 20 Nov 2014 12:23:21 +0100 Subject: Unicode menu and script characters changing unexpectedly Message-ID: I?ve got a strange problem that (so far) I haven?t been able to reduce to a simple recipe. I?m using a few Unicode characters in some menus in a cross-platform app (I mean special characters that don't appear on a Windows keyboard - I do realise that everything in LC is Unicode now). In this instance I?m using LC 7.0.1 rc-2 on a Mac with Yosemite simulating a PC using Windows 7 with Parallels. I have a menu script in an Edit menu that looks for menu items in the usual way, using a switch statement. As an example, one of the items is the square root sign, whose Unicode encoding is 0x221A. The item reads Insert ? [I hope the last character - the square root sign - comes across in this email]. Initially, I got the square root character via the IDE, by executing put numToCodePoint(0x221A) in the Message Box and copying it, so I know I've got the real character and not one that looks that the same but is part of the special non-standard Mac set, or a glyph derived from html. I pasted this character into the menu item and in the corresponding script, and I could see both strings quite clearly. However, when I save my stack, quit from LC, go back in and look at it again, the square root character has disappeared, BOTH in the script and in the menu item, to be replaced by '?' or sometimes a character whose Unicode encoding turns out to be 24. This is very odd, and pretty repeatable: however when I try to reproduce the problem in a very simple stack with one card and one menu bar, things look fine and the issue doesn't show up. I just found out that if I recreate this menu item and corresponding script on a Mac with LC 7.0.1 rc-2, it looks OK there, but if I open the SAME FILE in Windows 7, the characters have already been changed. So it looks as if LC 7 is not allowing Unicode to 'just work' across platforms, but it is not at all a straightforward issue. For example, I have some ordinary text in fields in my app containing the square root character, and they don't go through this transformation - curiouser and curiouser... Obviously I am struggling to get something to show the mother ship, and to work out if there is anything my code could have done to cause this (seems unlikely, since I don't execute any of my own scripts before seeing the anomaly) - but meanwhile, can anyone shed any light on this? TIA Graham From sean at pidigital.co.uk Thu Nov 20 07:49:05 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 20 Nov 2014 12:49:05 +0000 Subject: Taming Yosemite mic volume & AGC from Livecode In-Reply-To: <595BC987-9368-4BE6-8046-FE57CC70BD13@me.com> References: <595BC987-9368-4BE6-8046-FE57CC70BD13@me.com> Message-ID: Hi Keith >From Livecode you could run your terminal script using the 'shell' function. i.e.: shell("osascript -e repeat -e " "e& "set volume input volume 15" "e& " -e 'delay 1? -e 'end repeat?") Of course you can then add in all sorts of parameters to the volume and delays etc. I'm sure you can get Auber-creative with this. all the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk On 20 November 2014 10:25, Keith Clarke wrote: > Hi Folks, > A question for any Mac audio experts in the virtual room. > > The Problem > Some colleagues are having problems with multiple apps fighting over OSX > (Yosemite) microphone levels - and auto-adjusting the Automatic Gain > Control (AGC) in real-time. Apps include Skype, GotoMeeting, Webex, Google > hangouts, various soft-phones? > > The biggest issue is apps ramping-up input volume/AGC to the max in the > background, creating noise, feedback & distortion for the other parties > involved - all without the (non-technical, BYOD) user being aware unless > they monitor system preferences all the while and ?ride the faders?. > > There are various threads around on settings for specific apps but I?ve > not found a definitive answer for overriding a bunch of disparate apps that > don?t play nice - on other folks? machines. Furthermore, Yosemite?s System > preferences for Sound doesn?t seem to provide a true, ?absolute' Master > Volume control - nor does it provide a master AGC On/Off. > > Potential Solution? > So, I wonder if the way OSX audio settings work might allow a way to > create a simple 'one knob + one button' Livecode utility that they can have > on screen that drives Applescripts to get/set input volume and provide a > global AGC on/off switch? > > So far we?ve tried this rather 'blunt instrument' volume reset via > Terminal to address some of the symptoms? > > osascript -e repeat -e "set volume input volume 15? -e 'delay 1? -e 'end > repeat? > > ? but it would be nice to refine the behaviour, add AGC control to prevent > unwanted adjustments and wrap it for use in a user-friendly Livecode stack. > > Any ideas gratefully received. :-) > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Thu Nov 20 08:06:37 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 20 Nov 2014 21:06:37 +0800 Subject: Unicode menu and script characters changing unexpectedly In-Reply-To: References: Message-ID: <33842D3A-D3D0-4542-AD33-999307E148EA@gmail.com> Graham It may be that that whilst string data processed by our LiveCode scripts and handlers is Unicode that is not the case with UI objects. I think that there is a chance that LiveCode is still using native encoding (Windows Code Page on Windows, ISO-8859-1 on Linux and the truly venerable MacRoman on OS X). I?m not sure how to check but would imagine many people on the list do. Regards Peter > On 20 Nov 2014, at 19:23, Graham Samuel wrote: > > I?ve got a strange problem that (so far) I haven?t been able to reduce to a simple recipe. > > I?m using a few Unicode characters in some menus in a cross-platform app (I mean special characters that don't appear on a Windows keyboard - I do realise that everything in LC is Unicode now). In this instance I?m using LC 7.0.1 rc-2 on a Mac with Yosemite simulating a PC using Windows 7 with Parallels. > > I have a menu script in an Edit menu that looks for menu items in the usual way, using a switch statement. As an example, one of the items is the square root sign, whose Unicode encoding is 0x221A. The item reads > > Insert ? > > [I hope the last character - the square root sign - comes across in this email]. Initially, I got the square root character via the IDE, by executing > > put numToCodePoint(0x221A) > > in the Message Box and copying it, so I know I've got the real character and not one that looks that the same but is part of the special non-standard Mac set, or a glyph derived from html. > > I pasted this character into the menu item and in the corresponding script, and I could see both strings quite clearly. However, when I save my stack, quit from LC, go back in and look at it again, the square root character has disappeared, BOTH in the script and in the menu item, to be replaced by '?' or sometimes a character whose Unicode encoding turns out to be 24. This is very odd, and pretty repeatable: however when I try to reproduce the problem in a very simple stack with one card and one menu bar, things look fine and the issue doesn't show up. > > I just found out that if I recreate this menu item and corresponding script on a Mac with LC 7.0.1 rc-2, it looks OK there, but if I open the SAME FILE in Windows 7, the characters have already been changed. So it looks as if LC 7 is not allowing Unicode to 'just work' across platforms, but it is not at all a straightforward issue. For example, I have some ordinary text in fields in my app containing the square root character, and they don't go through this transformation - curiouser and curiouser... > > Obviously I am struggling to get something to show the mother ship, and to work out if there is anything my code could have done to cause this (seems unlikely, since I don't execute any of my own scripts before seeing the anomaly) - but meanwhile, can anyone shed any light on this? > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Thu Nov 20 09:30:07 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 20 Nov 2014 14:30:07 +0000 Subject: New White Color in Tab Panel in OSX Message-ID: <71B34A43-8C6E-4807-A16B-D8E5D09072DD@btinternet.com> RunRev have now implemented white text on a blue background to match the requirements of Yosemite. This text is offset in the tab button. Is there a way to correct this? See this example screen grab. https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot%202014-11-20%20at%2014.26.32.png All the best Terry From sean at pidigital.co.uk Thu Nov 20 09:34:45 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 20 Nov 2014 14:34:45 +0000 Subject: New White Color in Tab Panel in OSX In-Reply-To: <71B34A43-8C6E-4807-A16B-D8E5D09072DD@btinternet.com> References: <71B34A43-8C6E-4807-A16B-D8E5D09072DD@btinternet.com> Message-ID: Hi Terry I believe there is a bug report about this so hang-fire till the next release. http://quality.runrev.com/show_bug.cgi?id=13715 All the best Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk On 20 November 2014 14:30, Terence Heaford wrote: > RunRev have now implemented white text on a blue background to match the > requirements of Yosemite. > > This text is offset in the tab button. > > Is there a way to correct this? > > See this example screen grab. > > > https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot%202014-11-20%20at%2014.26.32.png > > All the best > > Terry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From t.heaford at btinternet.com Thu Nov 20 09:40:26 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 20 Nov 2014 14:40:26 +0000 Subject: Data grid Header Alignments Message-ID: <9FF99F15-BB40-4854-B0C3-05421BCE2681@btinternet.com> I note you can set the column alignments in a data grid in one line of code for all columns. set the dgProp["column alignments"] of me to tColAlignments Is there a similar method for setting the Header Alignments in one line as say set the dgProp[?header alignments"] of me to tHeaderAlignments or is the only way to set each column header individually as repeat with n = 1 to tNumOfColumns set dgHeaderAlignment [line n of tNewColNames] of me to item n of tHeaderAlignments end repeat All the best Terry From bobsneidar at iotecdigital.com Thu Nov 20 10:34:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 15:34:58 +0000 Subject: language syntax question In-Reply-To: References: Message-ID: <927465FC-C77A-4CF6-8833-AF30FE195741@iotecdigital.com> try get word 1 of line pl of the text of obj Understand that OF is getting a property of the following object. In your example you are trying to get the text of a line. A line does not have the text property, only fields do. Make sense? Bob S On Nov 19, 2014, at 10:57 , Mike Doub > wrote: Get word 1 of the text of line pl of obj -- this what I want to do but the syntax is wrong From bobsneidar at iotecdigital.com Thu Nov 20 10:52:31 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 15:52:31 +0000 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <1416430032491-4686049.post@n4.nabble.com> References: <546CF407.2090608@hyperactivesw.com> <1416430032491-4686049.post@n4.nabble.com> Message-ID: <56288B48-AC4B-45DE-BE38-692B705498FE@iotecdigital.com> In FoxPro you could simply create a handler which got triggered by errors then check an internal code for what the most recent error was, then make a switch statement to handle all the pertinent errors for your project. The normal error message display was suppressed so that the developer could present a message of his own and then act accordingly. For example, database connection errors could drop into a repeat loop asking the user to try again or quit. I think this would be a preferable method to try/catch because all your error code could be consolidated into one place. I suppose you could still do this by wrapping all your code in a try catch construct, then calling your error function, but then the debugger would not stop at the line producing the error, making you have to do a little detective work to find which line caused the fartup. Bob S > On Nov 19, 2014, at 12:47 , Alejandro Tejada wrote: > > J. Landman Gay wrote >> The error descriptions are stored in the cErrorsList of the first card >> of stack "revErrorDisplay". You could edit those, but you'd need to do >> it again for each new LiveCode version. > > Many Thanks, Jacque! > > I wrote in the message box: > put the cErrorsList of card 1 of stack "revErrorDisplay" > and there it is. A complete list of error messages. :D > > After my current headache dissapears, I will study > how these error messages could trigger another > stack with Custom notes and warnings. > > Thanks a lot again, Jacque. > > Al > > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Meaningful-and-verbose-error-messages-in-LiveCode-tp4686019p4686049.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 20 11:00:28 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 16:00:28 +0000 Subject: Javascript on mobile In-Reply-To: References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> Message-ID: <1D18F791-F551-47EA-AFB2-C0DEDF087332@iotecdigital.com> Not on an iPhone you haven?t, unless you are using a browser other than Safari, and even then I do not think it is possible because Apple would not allow a Java engine to be installed. At all. Period. Did something change I didn?t know about? Bob S > On Nov 19, 2014, at 23:12 , Hakan at Exformedia.se wrote: > > It is! > > I?ve done it several times. What is it that is not working? > > :-H?kan > >> 19 nov 2014 kl. 22:50 skrev David Bovill : >> >> Is it not possible to execute Javascript in a mobile browser? I thought I >> remembered it in one of the release notes? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 20 11:02:06 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 16:02:06 +0000 Subject: OT: Any experiences with MS SmartScreen? In-Reply-To: <000c01d0049d$c8aaaeb0$5a000c10$@de> References: <000c01d0049d$c8aaaeb0$5a000c10$@de> Message-ID: I?m sure that when you are willing to pony up the moolah, they will be perfectly willing to look into it. Bob S > On Nov 20, 2014, at 24:41 , Tiemo Hollmann TB wrote: > > Hi there, > > since this year we are codesigning our programs. I thought we could produce > a better installation experience for our clients with less frightening > messages. Now I see that Windows has multiple different shields integrated. > The defender accepts our certificate and shows our company name when > launching our installer, that works. But on Windows 8 there is a second > shield called SmartScreen for downloads from the internet, which is based on > the "reputation" of the publisher. Though our program is signed, Smartscreen > blocks our setup after download as a potential harmful app. The user can > release it, but the way isn't very obvious. Obviously we don't have a good > reputation at MS. Up to now, I didn't found a chance to get into contact > with MS to "ask for a better reputation" and I don't think that MS is > interested in us. > > Any experiences with this issue? > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 20 11:05:12 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 16:05:12 +0000 Subject: Taming Yosemite mic volume & AGC from Livecode In-Reply-To: <595BC987-9368-4BE6-8046-FE57CC70BD13@me.com> References: <595BC987-9368-4BE6-8046-FE57CC70BD13@me.com> Message-ID: My personal opinion is that no app should touch the mic OR the speaker volumes unless it is an app that specifically provides that feature at the users behest. I would call this extremely bad programming and advise any users having that problem to complain to the other developers. Not your circus, not your monkeys. Bob S > On Nov 20, 2014, at 02:25 , Keith Clarke wrote: > > Hi Folks, > A question for any Mac audio experts in the virtual room. > > The Problem > Some colleagues are having problems with multiple apps fighting over OSX (Yosemite) microphone levels - and auto-adjusting the Automatic Gain Control (AGC) in real-time. Apps include Skype, GotoMeeting, Webex, Google hangouts, various soft-phones? > > The biggest issue is apps ramping-up input volume/AGC to the max in the background, creating noise, feedback & distortion for the other parties involved - all without the (non-technical, BYOD) user being aware unless they monitor system preferences all the while and ?ride the faders?. > > There are various threads around on settings for specific apps but I?ve not found a definitive answer for overriding a bunch of disparate apps that don?t play nice - on other folks? machines. Furthermore, Yosemite?s System preferences for Sound doesn?t seem to provide a true, ?absolute' Master Volume control - nor does it provide a master AGC On/Off. > > Potential Solution? > So, I wonder if the way OSX audio settings work might allow a way to create a simple 'one knob + one button' Livecode utility that they can have on screen that drives Applescripts to get/set input volume and provide a global AGC on/off switch? > > So far we?ve tried this rather 'blunt instrument' volume reset via Terminal to address some of the symptoms? > > osascript -e repeat -e "set volume input volume 15? -e 'delay 1? -e 'end repeat? > > ? but it would be nice to refine the behaviour, add AGC control to prevent unwanted adjustments and wrap it for use in a user-friendly Livecode stack. > > Any ideas gratefully received. :-) > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 20 11:08:08 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 16:08:08 +0000 Subject: New White Color in Tab Panel in OSX In-Reply-To: <71B34A43-8C6E-4807-A16B-D8E5D09072DD@btinternet.com> References: <71B34A43-8C6E-4807-A16B-D8E5D09072DD@btinternet.com> Message-ID: As a workaround you can fairly center the text by adding space before or after the text. It would be nice to be able to set the HTMLText property of a button. Bob S > On Nov 20, 2014, at 06:30 , Terence Heaford wrote: > > RunRev have now implemented white text on a blue background to match the requirements of Yosemite. > > This text is offset in the tab button. > > Is there a way to correct this? > > See this example screen grab. > > https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot%202014-11-20%20at%2014.26.32.png > > All the best > > Terry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 20 11:10:37 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 16:10:37 +0000 Subject: language syntax question In-Reply-To: References: Message-ID: Thought the cat after doing his ?business?. :-) Bob S On Nov 19, 2014, at 11:35 , Sean Cole (Pi) > wrote: 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' From neil at livecode.com Thu Nov 20 11:13:28 2014 From: neil at livecode.com (Neil Roger) Date: Thu, 20 Nov 2014 16:13:28 +0000 Subject: Javascript on mobile In-Reply-To: References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> Message-ID: <546E1328.6010404@livecode.com> Hi David, Yes, its possible to execute Javascript within a browser instance on mobile with mobileControlDo. An example that produces an alert dialog is- mobileControlDo sBrowserID, "execute","alert('You have executed some Javascript')" Where sBrowserID is the ID of your browser. Kind Regards, Neil Roger -- LiveCode Support Team ~ http://www.livecode.com -- On 19/11/2014 21:50, David Bovill wrote: > Is it not possible to execute Javascript in a mobile browser? I thought I > remembered it in one of the release notes? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 20 11:14:07 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 16:14:07 +0000 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <546D08DE.3070700@gmail.com> References: <546CF407.2090608@hyperactivesw.com> <1416430032491-4686049.post@n4.nabble.com> <546D08DE.3070700@gmail.com> Message-ID: <73E9111C-7FFB-45C4-B913-2CA94127C60C@iotecdigital.com> Don?t you also need the card reference, or is that implied? Bob S On Nov 19, 2014, at 13:17 , Richmond > wrote: put the lines of fld "ERRS" of stack "ERRORS" into cErrorsList of card 1 of stack "revErrorDisplay" From ambassador at fourthworld.com Thu Nov 20 11:26:14 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 20 Nov 2014 08:26:14 -0800 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <56288B48-AC4B-45DE-BE38-692B705498FE@iotecdigital.com> References: <56288B48-AC4B-45DE-BE38-692B705498FE@iotecdigital.com> Message-ID: <546E1626.2040804@fourthworld.com> Bob Sneidar wrote: > In FoxPro you could simply create a handler which got triggered by > errors then check an internal code for what the most recent error > was, then make a switch statement to handle all the pertinent errors > for your project. The normal error message display was suppressed so > that the developer could present a message of his own and then act > accordingly. For example, database connection errors could drop into > a repeat loop asking the user to try again or quit. I think this > would be a preferable method to try/catch because all your error code > could be consolidated into one place. That's pretty much what LiveCode offers with the errorDialog message. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From keith.clarke at me.com Thu Nov 20 11:41:32 2014 From: keith.clarke at me.com (Keith Clarke) Date: Thu, 20 Nov 2014 16:41:32 +0000 Subject: Taming Yosemite mic volume & AGC from Livecode In-Reply-To: References: <595BC987-9368-4BE6-8046-FE57CC70BD13@me.com> Message-ID: <170D7EAB-A27B-45C3-963B-55E3CC274C57@me.com> Thanks for the syntax Sean - that?ll at least get my colleagues out of the Terminal :-/ I?ll see if I can find a list of audio parameters that can be controlled via Applescript and have a play. :-) Best, Keith.. > On 20 Nov 2014, at 12:49, Sean Cole (Pi) wrote: > > Hi Keith > > From Livecode you could run your terminal script using the 'shell' > function. i.e.: > > shell("osascript -e repeat -e " "e& "set volume input volume 15" > "e& " -e 'delay 1? -e 'end repeat?") > > > Of course you can then add in all sorts of parameters to the volume and > delays etc. I'm sure you can get Auber-creative with this. > > all the best > > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > > On 20 November 2014 10:25, Keith Clarke wrote: > >> Hi Folks, >> A question for any Mac audio experts in the virtual room. >> >> The Problem >> Some colleagues are having problems with multiple apps fighting over OSX >> (Yosemite) microphone levels - and auto-adjusting the Automatic Gain >> Control (AGC) in real-time. Apps include Skype, GotoMeeting, Webex, Google >> hangouts, various soft-phones? >> >> The biggest issue is apps ramping-up input volume/AGC to the max in the >> background, creating noise, feedback & distortion for the other parties >> involved - all without the (non-technical, BYOD) user being aware unless >> they monitor system preferences all the while and ?ride the faders?. >> >> There are various threads around on settings for specific apps but I?ve >> not found a definitive answer for overriding a bunch of disparate apps that >> don?t play nice - on other folks? machines. Furthermore, Yosemite?s System >> preferences for Sound doesn?t seem to provide a true, ?absolute' Master >> Volume control - nor does it provide a master AGC On/Off. >> >> Potential Solution? >> So, I wonder if the way OSX audio settings work might allow a way to >> create a simple 'one knob + one button' Livecode utility that they can have >> on screen that drives Applescripts to get/set input volume and provide a >> global AGC on/off switch? >> >> So far we?ve tried this rather 'blunt instrument' volume reset via >> Terminal to address some of the symptoms? >> >> osascript -e repeat -e "set volume input volume 15? -e 'delay 1? -e 'end >> repeat? >> >> ? but it would be nice to refine the behaviour, add AGC control to prevent >> unwanted adjustments and wrap it for use in a user-friendly Livecode stack. >> >> Any ideas gratefully received. :-) >> Best, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 20 11:42:38 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 16:42:38 +0000 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <546E1626.2040804@fourthworld.com> References: <56288B48-AC4B-45DE-BE38-692B705498FE@iotecdigital.com> <546E1626.2040804@fourthworld.com> Message-ID: <3B7B9287-1A2A-418C-AFE1-534FB18632F6@iotecdigital.com> Oh cool! I asked this same thing years ago, and got back from everyone, ?Just use try/catch.? I?ll look into that. Bob S > On Nov 20, 2014, at 08:26 , Richard Gaskin wrote: > > Bob Sneidar wrote: > > > In FoxPro you could simply create a handler which got triggered by > > errors then check an internal code for what the most recent error > > was, then make a switch statement to handle all the pertinent errors > > for your project. The normal error message display was suppressed so > > that the developer could present a message of his own and then act > > accordingly. For example, database connection errors could drop into > > a repeat loop asking the user to try again or quit. I think this > > would be a preferable method to try/catch because all your error code > > could be consolidated into one place. > > That's pretty much what LiveCode offers with the errorDialog message. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre.bisseret at wanadoo.fr Thu Nov 20 11:46:53 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 20 Nov 2014 17:46:53 +0100 Subject: How to duplicate a stack that has a data grid template substack ? Message-ID: Bonjour, Yesterday I needed help for the following problem: several data grids copied on the same card do interact: when selecting a line in one data grid, the selection of a line is triggered in the others! Following the advice of Bob Sneidar, I grabbed 3 data grids from the tool palette on the first card of the stack Then I simply copied these first three data grids on the 12 other cards of my stack. So thanks to Bob, I have no interaction problem between the 3 data grids on each card. Changing the selection of one data grid does not trigger any more a selection in the others. Good ! I thought I was saved! BUT, my stack is related to the 12 months of the year (one card for each month). So that I need to created a new stack for each new year. In such a case, customarily I have a model stack that I clone and rename. My new problem is: How to duplicate a model stack that has a data grid template substack ? I need to be able to open the stacks of two different years. But they will have a same substack (same data grid template). Is it possible to change the name of a template without disturbing its behavior ? My fear is to be oblige to replace my nice data grids by simple table fields ;-(( Thanks in advance for any help Andr? From t.heaford at btinternet.com Thu Nov 20 11:51:00 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 20 Nov 2014 16:51:00 +0000 Subject: New White Color in Tab Panel in OSX In-Reply-To: References: <71B34A43-8C6E-4807-A16B-D8E5D09072DD@btinternet.com> Message-ID: <109E9014-51B4-432C-A794-08A504771FA3@btinternet.com> Will do, Thanks Terry > On 20 Nov 2014, at 14:34, Sean Cole (Pi) wrote: > > Hi Terry > > I believe there is a bug report about this so hang-fire till the next > release. > http://quality.runrev.com/show_bug.cgi?id=13715 > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > > > On 20 November 2014 14:30, Terence Heaford wrote: > >> RunRev have now implemented white text on a blue background to match the >> requirements of Yosemite. >> >> This text is offset in the tab button. >> >> Is there a way to correct this? >> >> See this example screen grab. >> >> >> https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot%202014-11-20%20at%2014.26.32.png >> >> All the best >> >> Terry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Thu Nov 20 11:54:53 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 20 Nov 2014 16:54:53 +0000 Subject: How to duplicate a stack that has a data grid template substack ? In-Reply-To: References: Message-ID: Hi Andr?, You could probably benefit from this: https://livecode.com/store/marketplace/data-grid-helper-1-2-0/ For the hassle you need to overcome it may well be worth the price. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 20 November 2014 16:46, Andr? Bisseret wrote: > Bonjour, > > Yesterday I needed help for the following problem: > several data grids copied on the same card do interact: when selecting a > line in one data grid, the selection of a line is triggered in the others! > Following the advice of Bob Sneidar, I grabbed 3 data grids from the tool > palette on the first card of the stack > Then I simply copied these first three data grids on the 12 other cards of > my stack. > > So thanks to Bob, I have no interaction problem between the 3 data grids > on each card. > Changing the selection of one data grid does not trigger any more a > selection in the others. > Good ! I thought I was saved! > > BUT, my stack is related to the 12 months of the year (one card for each > month). > So that I need to created a new stack for each new year. > > In such a case, customarily I have a model stack that I clone and rename. > > My new problem is: > How to duplicate a model stack that has a data grid template substack ? > I need to be able to open the stacks of two different years. > But they will have a same substack (same data grid template). > Is it possible to change the name of a template without disturbing its > behavior ? > > My fear is to be oblige to replace my nice data grids by simple table > fields ;-(( > > Thanks in advance for any help > > Andr? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Nov 20 12:25:50 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 20 Nov 2014 09:25:50 -0800 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <3B7B9287-1A2A-418C-AFE1-534FB18632F6@iotecdigital.com> References: <3B7B9287-1A2A-418C-AFE1-534FB18632F6@iotecdigital.com> Message-ID: <546E241E.8070802@fourthworld.com> Bob Sneidar wrote: >> On Nov 20, 2014, at 08:26 , Richard Gaskin wrote: >> >> Bob Sneidar wrote: >> >> > In FoxPro you could simply create a handler which got triggered by >> > errors then check an internal code for what the most recent error >> > was, then make a switch statement to handle all the pertinent >> >errors for your project. ... >> That's pretty much what LiveCode offers with the errorDialog message. > > Oh cool! I asked this same thing years ago, and got back from > everyone, ?Just use try/catch.? Try/catch is also useful, but for different purposes. Sometimes try/catch is necessary, since the engine isn't yet smart enough with some commands to be able to attempt an operation and fail gracefully if it doesn't work out. For example, if you try to open a file that doesn't exist, you can just check "the result" after your "open file" statement and you'll know whether it worked out or not. But as an example of a more immediate-fail condition, if you try to decompress non-compressed data you'll never get a chance to check "the result" because that particular operation will always throw a script error the moment it fails. With those immediate-thrown-error operations try/catch can be useful because it causes the engine to bypass the normal throwing of the error message so that you can catch it and handle it more gracefully. The errorDialog is what's sent in those conditions, so while it can be very useful for providing feedback to the user, it can't help you recover the operation - at that point graceful degradation is no longer an option, since the engine has already determined that normal operation is beyond its abilities, and the best it can do is report the error condition and exit the routine. Try/catch can be more work to handle, but in some contexts may provide the opportunity for graceful degradation not otherwise possible if the error wasn't caught there. It may be helpful to think of try/catch as an alternative to errorDialog, for those cases where you're in a position to provide more graceful alternatives for the user than simply halting execution. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Thu Nov 20 12:31:52 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 20 Nov 2014 09:31:52 -0800 Subject: Javascript on mobile In-Reply-To: <1D18F791-F551-47EA-AFB2-C0DEDF087332@iotecdigital.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <1D18F791-F551-47EA-AFB2-C0DEDF087332@iotecdigital.com> Message-ID: <3DA4015D-03AE-45CE-8545-268CC8AB33FF@tactilemedia.com> I believe the question was regarding Javascript, not Java. If JavaScript didn't work, virtually no web sites would work in Safari or any other browser on the device. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Nov 20, 2014, at 8:00 AM, Bob Sneidar wrote: > > Not on an iPhone you haven?t, unless you are using a browser other than Safari, and even then I do not think it is possible because Apple would not allow a Java engine to be installed. At all. Period. > > Did something change I didn?t know about? > > Bob S > > >> On Nov 19, 2014, at 23:12 , Hakan at Exformedia.se wrote: >> >> It is! >> >> I?ve done it several times. What is it that is not working? >> >> :-H?kan >> >>> 19 nov 2014 kl. 22:50 skrev David Bovill : >>> >>> Is it not possible to execute Javascript in a mobile browser? I thought I >>> remembered it in one of the release notes? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Thu Nov 20 12:45:41 2014 From: paul at livecode.org (Paul Hibbert) Date: Thu, 20 Nov 2014 09:45:41 -0800 Subject: sendmail through On-Rev server In-Reply-To: <001101d00483$cda4a250$68ede6f0$@net> References: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> <001101d00483$cda4a250$68ede6f0$@net> Message-ID: <6F0A66B5-8362-4354-8340-998E2E9E6204@livecode.org> Ralph, I did get this working again, I've just re-checked and it is still working fine on Diesel. The one thing that made the biggest difference was changing the .irev file name extension to .lc as David Williams suggested. My version is modified a bit from the original, but I'd be happy to send you the .lc files if it will help. Paul On Nov 19, 2014, at 9:35 PM, Ralph DiMola wrote: > Has anyone got this script to work on diesel? The server script just seems > to crash. No statements after the mail are executed. The return data is > empty from the web service. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Paul Hibbert > Sent: Sunday, October 26, 2014 12:14 PM > To: How to use LiveCode > Subject: Re: sendmail through On-Rev server > > Thanks Christer, > > That's the script I was trying on Diesel, but sadly with no joy. > > Paul > > On Oct 26, 2014, at 1:20 AM, Pyyhti? Christer wrote: > >> The following script works well - on Tio. Used it yesterday with no > problems. Response was immediate. >> >> I got it from someone at RR. >> >> rgds christer >> ------ >> >> -- mail >> -- >> -- Emails the given message to the recipients specified. >> -- Each address passed can have a name attached in the form "name >
". >> -- Addresses can be passed as comma separated lists. >> -- Attachements can be added by passing an array (interger indexed or > otherwise). >> -- with each attachment itself being an array. >> -- >> -- pTo - The addresses to send the message to >> -- pSub - The message subject >> -- pMsg - The message body >> -- pFrom - The address of the message sender >> -- pCc - Any cc addresses >> -- pBcc - Any Bcc addresses >> -- pHtml - Boolean, if the message is to be sent as html >> -- pAtts - Array of all attachments to send, each attachment of the > form: >> -- * name: the name of the attachment >> -- * path: the absolute path to the attachment >> -- * type: the mime type of the attachment, defaults to > >> -- application/octet-stream >> -- >> on mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts >> local tMsg >> -- build the message header, adding the from, to and subject details >> -- we also put any cc addresses in here, but not bcc (bcc addresses > hidden) >> put shellEscape(pTo) into pTo >> -- put (pSub) into pSub >> >> put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && > pSub & return into tMsg >> if pCc is not empty then put "Cc:" && pCc & return after tMsg >> -- if there are any attachments, we must send this email as multipart >> -- with the message body and each attachment forming a part >> -- we do this by specifying the message as multipart and generating a > unique boundary >> if pAtts is an array then >> local tBoundary >> put "boundary" & the seconds into tBoundary >> put "MIME-Version: 1.0" & return & "Content-Type: multipart/mixed; > boundary=" & \ >> wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg >> end if >> >> -- add the actual message body, setting the content type appropriatly >> if pHtml is true then >> put "Content-Type: text/html;" & return & return after tMsg >> else >> put "Content-Type: text/plain;" & return & return after tMsg >> end if >> put pMsg & return after tMsg >> >> -- add each attachment as a new part of the message, sepearting using >> -- the generated boundary >> if pAtts is an array then >> put "--" & tBoundary & return after tMsg >> repeat for each element tAtt in pAtts >> if there is a file tAtt["path"] then >> if tAtt["type"] is empty then >> get "application/octet-stream" >> else >> get tAtt["type"] >> end if >> put "Content-Type:" && it & "; name=" & wrapQ(tAtt["name"]) > & ";" & \ >> return & "Content-Transfer-Encoding: base64;" & return & > return & \ >> base64Encode(URL ("binfile:" & tAtt["path"])) & return & > "--" & \ >> tBoundary & return after tMsg >> end if >> end repeat >> end if >> >> -- send the mail by piping the message we have just built to the > sendmail command >> -- we must also send a copy of the message to the bcc addresses >> get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && > wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) >> if pBcc is not empty then >> get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && > wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) >> end if >> end mail >> >> --- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 20 13:22:09 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 18:22:09 +0000 Subject: Meaningful and verbose error messages in LiveCode In-Reply-To: <546E241E.8070802@fourthworld.com> References: <3B7B9287-1A2A-418C-AFE1-534FB18632F6@iotecdigital.com> <546E241E.8070802@fourthworld.com> Message-ID: OIC that?s important. Try/Catch allows continued execution for what would otherwise be fatal errors, errorDialog does not. Is that what you are saying? Bob S On Nov 20, 2014, at 09:25 , Richard Gaskin > wrote: Try/catch is also useful, but for different purposes. From bobsneidar at iotecdigital.com Thu Nov 20 13:22:35 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Nov 2014 18:22:35 +0000 Subject: Javascript on mobile In-Reply-To: <3DA4015D-03AE-45CE-8545-268CC8AB33FF@tactilemedia.com> References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> <1D18F791-F551-47EA-AFB2-C0DEDF087332@iotecdigital.com> <3DA4015D-03AE-45CE-8545-268CC8AB33FF@tactilemedia.com> Message-ID: <8017F2E2-8B65-4AE6-86F8-50B076B7636B@iotecdigital.com> Oh my bad. Bob S > On Nov 20, 2014, at 09:31 , Scott Rossi wrote: > > I believe the question was regarding Javascript, not Java. > > If JavaScript didn't work, virtually no web sites would work in Safari or any other browser on the device. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > >> On Nov 20, 2014, at 8:00 AM, Bob Sneidar wrote: >> >> Not on an iPhone you haven?t, unless you are using a browser other than Safari, and even then I do not think it is possible because Apple would not allow a Java engine to be installed. At all. Period. >> >> Did something change I didn?t know about? >> >> Bob S >> >> >>> On Nov 19, 2014, at 23:12 , Hakan at Exformedia.se wrote: >>> >>> It is! >>> >>> I?ve done it several times. What is it that is not working? >>> >>> :-H?kan >>> >>>> 19 nov 2014 kl. 22:50 skrev David Bovill : >>>> >>>> Is it not possible to execute Javascript in a mobile browser? I thought I >>>> remembered it in one of the release notes? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Nov 20 13:24:01 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 20 Nov 2014 13:24:01 -0500 Subject: sendmail through On-Rev server In-Reply-To: <6F0A66B5-8362-4354-8340-998E2E9E6204@livecode.org> References: <9197BFAE-6C11-49A7-8471-6CF0821AB436@mindcrea.com> <001101d00483$cda4a250$68ede6f0$@net> <6F0A66B5-8362-4354-8340-998E2E9E6204@livecode.org> Message-ID: <004601d004ef$28c924b0$7a5b6e10$@net> Paul, Thanks! I call a library stack from the .lc stub file to do the actual email. I think this might be the problem. Support is working with me on this. I will try directly from the .lc file and see if this makes a difference. I will report the results of the testing. Please send me your version when you get a chance. Thanks again. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Paul Hibbert Sent: Thursday, November 20, 2014 12:46 PM To: How to use LiveCode Subject: Re: sendmail through On-Rev server Ralph, I did get this working again, I've just re-checked and it is still working fine on Diesel. The one thing that made the biggest difference was changing the .irev file name extension to .lc as David Williams suggested. My version is modified a bit from the original, but I'd be happy to send you the .lc files if it will help. Paul On Nov 19, 2014, at 9:35 PM, Ralph DiMola wrote: > Has anyone got this script to work on diesel? The server script just > seems to crash. No statements after the mail are executed. The return > data is empty from the web service. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Paul Hibbert > Sent: Sunday, October 26, 2014 12:14 PM > To: How to use LiveCode > Subject: Re: sendmail through On-Rev server > > Thanks Christer, > > That's the script I was trying on Diesel, but sadly with no joy. > > Paul > > On Oct 26, 2014, at 1:20 AM, Pyyhti? Christer wrote: > >> The following script works well - on Tio. Used it yesterday with no > problems. Response was immediate. >> >> I got it from someone at RR. >> >> rgds christer >> ------ >> >> -- mail >> -- >> -- Emails the given message to the recipients specified. >> -- Each address passed can have a name attached in the form "name >
". >> -- Addresses can be passed as comma separated lists. >> -- Attachements can be added by passing an array (interger indexed or > otherwise). >> -- with each attachment itself being an array. >> -- >> -- pTo - The addresses to send the message to >> -- pSub - The message subject >> -- pMsg - The message body >> -- pFrom - The address of the message sender >> -- pCc - Any cc addresses >> -- pBcc - Any Bcc addresses >> -- pHtml - Boolean, if the message is to be sent as html >> -- pAtts - Array of all attachments to send, each attachment of the > form: >> -- * name: the name of the attachment >> -- * path: the absolute path to the attachment >> -- * type: the mime type of the attachment, defaults to > >> -- application/octet-stream >> -- >> on mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts local tMsg >> -- build the message header, adding the from, to and subject details >> -- we also put any cc addresses in here, but not bcc (bcc addresses > hidden) >> put shellEscape(pTo) into pTo >> -- put (pSub) into pSub >> >> put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" >> && > pSub & return into tMsg >> if pCc is not empty then put "Cc:" && pCc & return after tMsg >> -- if there are any attachments, we must send this email as >> multipart >> -- with the message body and each attachment forming a part >> -- we do this by specifying the message as multipart and generating >> a > unique boundary >> if pAtts is an array then >> local tBoundary >> put "boundary" & the seconds into tBoundary >> put "MIME-Version: 1.0" & return & "Content-Type: >> multipart/mixed; > boundary=" & \ >> wrapQ(tBoundary) & return & "--" & tBoundary & return after tMsg >> end if >> >> -- add the actual message body, setting the content type >> appropriatly if pHtml is true then >> put "Content-Type: text/html;" & return & return after tMsg >> else >> put "Content-Type: text/plain;" & return & return after tMsg >> end if put pMsg & return after tMsg >> >> -- add each attachment as a new part of the message, sepearting >> using >> -- the generated boundary >> if pAtts is an array then >> put "--" & tBoundary & return after tMsg >> repeat for each element tAtt in pAtts >> if there is a file tAtt["path"] then >> if tAtt["type"] is empty then >> get "application/octet-stream" >> else >> get tAtt["type"] >> end if >> put "Content-Type:" && it & "; name=" & >> wrapQ(tAtt["name"]) > & ";" & \ >> return & "Content-Transfer-Encoding: base64;" & return & > return & \ >> base64Encode(URL ("binfile:" & tAtt["path"])) & return & > "--" & \ >> tBoundary & return after tMsg >> end if >> end repeat >> end if >> >> -- send the mail by piping the message we have just built to the > sendmail command >> -- we must also send a copy of the message to the bcc addresses get >> shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && > wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) >> if pBcc is not empty then >> get shell("echo" && wrapQ(tMsg) && "| /usr/sbin/sendmail" && > wrapQ(shellEscape(pBcc)) && "-f" && wrapQ(shellEscape(pFrom))) >> end if >> end mail >> >> --- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Nov 20 13:25:53 2014 From: livfoss at mac.com (Graham Samuel) Date: Thu, 20 Nov 2014 19:25:53 +0100 Subject: Unicode menu and script characters changing unexpectedly In-Reply-To: <33842D3A-D3D0-4542-AD33-999307E148EA@gmail.com> References: <33842D3A-D3D0-4542-AD33-999307E148EA@gmail.com> Message-ID: Thanks for that thought Peter. RunRev are now on the case, but I still have not absolute confirmation that it's a bug. I did check that my stack is using the 7.0 file format (if it wasn't, it would be easy to see what went wrong). I'll report here when I get more info. Graham > On 20 Nov 2014, at 14:06, Peter W A Wood wrote: > > Graham > > It may be that that whilst string data processed by our LiveCode scripts and handlers is Unicode that is not the case with UI objects. I think that there is a chance that LiveCode is still using native encoding (Windows Code Page on Windows, ISO-8859-1 on Linux and the truly venerable MacRoman on OS X). > > I?m not sure how to check but would imagine many people on the list do. > > Regards > > Peter > >> On 20 Nov 2014, at 19:23, Graham Samuel wrote: >> >> I?ve got a strange problem that (so far) I haven?t been able to reduce to a simple recipe. >> >> I?m using a few Unicode characters in some menus in a cross-platform app (I mean special characters that don't appear on a Windows keyboard - I do realise that everything in LC is Unicode now). In this instance I?m using LC 7.0.1 rc-2 on a Mac with Yosemite simulating a PC using Windows 7 with Parallels. >> >> I have a menu script in an Edit menu that looks for menu items in the usual way, using a switch statement. As an example, one of the items is the square root sign, whose Unicode encoding is 0x221A. The item reads >> >> Insert ? >> >> [I hope the last character - the square root sign - comes across in this email]. Initially, I got the square root character via the IDE, by executing >> >> put numToCodePoint(0x221A) >> >> in the Message Box and copying it, so I know I've got the real character and not one that looks that the same but is part of the special non-standard Mac set, or a glyph derived from html. >> >> I pasted this character into the menu item and in the corresponding script, and I could see both strings quite clearly. However, when I save my stack, quit from LC, go back in and look at it again, the square root character has disappeared, BOTH in the script and in the menu item, to be replaced by '?' or sometimes a character whose Unicode encoding turns out to be 24. This is very odd, and pretty repeatable: however when I try to reproduce the problem in a very simple stack with one card and one menu bar, things look fine and the issue doesn't show up. >> >> I just found out that if I recreate this menu item and corresponding script on a Mac with LC 7.0.1 rc-2, it looks OK there, but if I open the SAME FILE in Windows 7, the characters have already been changed. So it looks as if LC 7 is not allowing Unicode to 'just work' across platforms, but it is not at all a straightforward issue. For example, I have some ordinary text in fields in my app containing the square root character, and they don't go through this transformation - curiouser and curiouser... >> >> Obviously I am struggling to get something to show the mother ship, and to work out if there is anything my code could have done to cause this (seems unlikely, since I don't execute any of my own scripts before seeing the anomaly) - but meanwhile, can anyone shed any light on this? >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Thu Nov 20 14:14:09 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Thu, 20 Nov 2014 19:14:09 -0000 Subject: [REQ] ControlManager for LiveCode Message-ID: <000f01d004f6$2ada7450$808f5cf0$@FlexibleLearning.com> ControlManager for LiveCode A Community Compatible IDE enhancement is slated for release in December. For a sneak preview (Windows screenshots, but cross-platform).... www.flexiblelearning.com/controlmanager Testers are requested - for nit-picking in order to maintain high standards. If interested, do please contact me off-list. Thank you, Hugh Senior FLCo From coiin at verizon.net Thu Nov 20 14:25:44 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 20 Nov 2014 14:25:44 -0500 Subject: Javascript on mobile In-Reply-To: References: <1C783218-F29A-4931-A6ED-214B0B926778@pacifier.com> Message-ID: Is there a LiveCode part to your question? You mentioned release notes, which ones? As for Javascript in general, as Scott says lots of sites would not work, but also HTML5 content does work, and that?s heavily Javascript based. From bodine at bodinetraininggames.com Thu Nov 20 14:19:47 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Thu, 20 Nov 2014 11:19:47 -0800 (PST) Subject: ANN:Another app made with LiveCode has been approved by Apple! In-Reply-To: <5C9178BF-912D-495F-A788-0B826873D59C@canelasoftware.com> References: <5C9178BF-912D-495F-A788-0B826873D59C@canelasoftware.com> Message-ID: <1416511187455-4686096.post@n4.nabble.com> Mark Talluto wrote > We used Monte's socket external for iOS to make the communication between > the iPad and the desktop work. We specifically use UDP for all > communication. It is extremely fast and reliable. We could not be > happier with Monte's work on that external. Congrats to your team! This is cool and fast! Changes via the remote controls actually update on the Windows screen faster than on the iPad itself. Communication is maintained even after the iPad goes in/out of sleep and even if I exit out of the iPad app and restart it. Which version of Livecode did you use? Great work! Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Another-app-made-with-LiveCode-has-been-approved-by-Apple-tp4668984p4686096.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre.bisseret at wanadoo.fr Thu Nov 20 15:09:33 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 20 Nov 2014 21:09:33 +0100 Subject: How to duplicate a stack that has a data grid template substack ? In-Reply-To: References: Message-ID: <23A77550-C677-4B68-AB6B-6A35D37A5429@wanadoo.fr> Thank you Sean for your reply. I am benefitting from the wonderful Data Grid Helper since its beginning. Unfortunately it can't help for my current problems best Andr? Le 20 nov. 2014 ? 17:54, Sean Cole (Pi) a ?crit : > Hi Andr?, > > You could probably benefit from this: > https://livecode.com/store/marketpla > ce/data-grid-helper-1-2-0/ > > For the hassle you need to overcome it may well be worth the price. > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > +44(1634)402193 > +44(7702)116447 > ? > 'Don't try to think outside the box. Just remember the truth: There is no > box!' > 'For then you realise it is not the box you are trying to look outside of, > but it is yourself!' > > This email and any files transmitted with it may be confidential and are > intended solely for the use of the individual to whom it is addressed. You > are hereby notified that if you are not the intended recipient of this > email, you must neither take any action based upon its contents, nor copy > or show it to anyone. Any distribution, reproduction, modification or > publication of this communication is strictly prohibited. If you have > received this in error, please notify the sender and delete the message > from your computer. > > > > Any opinions presented in this email are solely those of the author and do > not necessarily represent those of Pi Digital. Pi Digital cannot accept any > responsibility for the accuracy or completeness of this message and > although this email and any attachments are believed to be free from > viruses, it is the sole responsibility of the recipients. > > > Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. > VAT GB998220972 > > On 20 November 2014 16:46, Andr? Bisseret wrote: > >> Bonjour, >> >> Yesterday I needed help for the following problem: >> several data grids copied on the same card do interact: when selecting a >> line in one data grid, the selection of a line is triggered in the others! >> Following the advice of Bob Sneidar, I grabbed 3 data grids from the tool >> palette on the first card of the stack >> Then I simply copied these first three data grids on the 12 other cards of >> my stack. >> >> So thanks to Bob, I have no interaction problem between the 3 data grids >> on each card. >> Changing the selection of one data grid does not trigger any more a >> selection in the others. >> Good ! I thought I was saved! >> >> BUT, my stack is related to the 12 months of the year (one card for each >> month). >> So that I need to created a new stack for each new year. >> >> In such a case, customarily I have a model stack that I clone and rename. >> >> My new problem is: >> How to duplicate a model stack that has a data grid template substack ? >> I need to be able to open the stacks of two different years. >> But they will have a same substack (same data grid template). >> Is it possible to change the name of a template without disturbing its >> behavior ? >> >> My fear is to be oblige to replace my nice data grids by simple table >> fields ;-(( >> >> Thanks in advance for any help >> >> Andr? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stgoldberg at aol.com Thu Nov 20 17:14:31 2014 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Thu, 20 Nov 2014 17:14:31 -0500 Subject: Play stop not working in LiveCode 7 Message-ID: <8D1D3267E27DA48-B8C-59291@webmail-va015.sysops.aol.com> When playing an audioclip, the command play stop correctly stops the audioclip from playing in LiveCode 5.5.3. However, I find the command does not work for me in Livecode 7.0. Does anyone know why, or have a suggestion for getting around this, perhaps with a different command? Thanks. Stephen Goldberg www.medmaster.net From devin_asay at byu.edu Thu Nov 20 18:08:42 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 20 Nov 2014 23:08:42 +0000 Subject: Play stop not working in LiveCode 7 In-Reply-To: <8D1D3267E27DA48-B8C-59291@webmail-va015.sysops.aol.com> References: <8D1D3267E27DA48-B8C-59291@webmail-va015.sysops.aol.com> Message-ID: <8BD05E80-3277-47A6-B62E-A35B2EE747CD@byu.edu> On Nov 20, 2014, at 3:14 PM, stgoldberg at aol.com wrote: > When playing an audioclip, the command > > play stop > > correctly stops the audioclip from playing in LiveCode 5.5.3. However, I find the command does not work for me in Livecode 7.0. Does anyone know why, or have a suggestion for getting around this, perhaps with a different command? Thanks. > Stephen, Which version of LC 7 do you have? In one of the DPs play stop was broken. http://quality.runrev.com/show_bug.cgi?id=12946 If it?s not working in the latest release there may have been a regression bug introduced. Devin Devin Asay Office of Digital Humanities Brigham Young University From eric at canelasoftware.com Thu Nov 20 19:09:18 2014 From: eric at canelasoftware.com (Eric Corbett) Date: Thu, 20 Nov 2014 16:09:18 -0800 Subject: ANN:Another app made with LiveCode has been approved by Apple! In-Reply-To: <1416511187455-4686096.post@n4.nabble.com> References: <5C9178BF-912D-495F-A788-0B826873D59C@canelasoftware.com> <1416511187455-4686096.post@n4.nabble.com> Message-ID: Thanks Tom, Glad you had a chance to download the software. Both apps were built using version 6.1.3. The desktop app is actually the master. The iPad app is simply a remote control, telling the eye chart what to draw. Then the eye chart sends the data to the iPad so the remote can display the same data. This is why the desktop draws first, but the sockets are fast and reliable. I recently re-built the iPad add using 7.0.1 RC 2 with the updated mergSocket library. Everything worked great. - Eric On Nov 20, 2014, at 11:19 AM, tbodine wrote: > Mark Talluto wrote >> We used Monte's socket external for iOS to make the communication between >> the iPad and the desktop work. We specifically use UDP for all >> communication. It is extremely fast and reliable. We could not be >> happier with Monte's work on that external. > > Congrats to your team! This is cool and fast! Changes via the remote > controls actually update on the Windows screen faster than on the iPad > itself. Communication is maintained even after the iPad goes in/out of sleep > and even if I exit out of the iPad app and restart it. > > Which version of Livecode did you use? > > Great work! > Tom Bodine > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Another-app-made-with-LiveCode-has-been-approved-by-Apple-tp4668984p4686096.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Thu Nov 20 19:20:34 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 20 Nov 2014 19:20:34 -0500 Subject: How to duplicate a stack that has a data grid template substack ? In-Reply-To: References: Message-ID: On Thu, Nov 20, 2014 at 11:46 AM, Andr? Bisseret wrote: > > My new problem is: > How to duplicate a model stack that has a data grid template substack ? > I need to be able to open the stacks of two different years. > But they will have a same substack (same data grid template). > Is it possible to change the name of a template without disturbing its > behavior ? > Why not move the data grid template substack to a different mainstack that you aren't duplicating? Or maybe make the template substack a mainstack? As long as the data grid template stack is loaded into memory at the same time OR before the stack(s) containing the data grid, everything will work. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From bodine at bodinetraininggames.com Thu Nov 20 20:18:02 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Thu, 20 Nov 2014 17:18:02 -0800 (PST) Subject: ANN:Another app made with LiveCode has been approved by Apple! In-Reply-To: References: <5C9178BF-912D-495F-A788-0B826873D59C@canelasoftware.com> <1416511187455-4686096.post@n4.nabble.com> Message-ID: <1416532682132-4686103.post@n4.nabble.com> Thanks for the details and inspiration. I have a desktop program that could benefit from smartphone remote control, so I'll check out Monte's externals. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Another-app-made-with-LiveCode-has-been-approved-by-Apple-tp4668984p4686103.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Thu Nov 20 20:48:34 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 20 Nov 2014 17:48:34 -0800 Subject: LC Server on DreamHost? In-Reply-To: <546B94D8.7060208@fourthworld.com> References: <546B94D8.7060208@fourthworld.com> Message-ID: Thanks to the patient generosity of our fearless Community Leader Richard Gaskin, between us we were able to determine the combination of .htaccess files needed to get LCserver working on DreamHost under Ubuntu (at least for my situation). As a few others have noted, the most basic setup is more or less like what Stephen Barncard and Andre Garcia came up with some time ago: Domain [folder] .htaccess cgi-bin [folder] .htaccess drivers [folder] externals [folder] livecode-server Domain root .htaccess file contents: AddHandler livecode-script .lc .irev Action livecode-script /cgi-bin/livecode-server cgi-bin folder .htaccess file contents: Options ExecCGI SetHandler cgi-script (?livecode_server? can be replaced with ?livecode-community-server?) ??????????????? After I received some conflicting information from DreamHost tech support, Richard was able to determine that the second htaccess file in the cgi-bin folder is required to make things work (this is probably what most others already have in their domains). I don?t know what?s needed if anything for PHP processing, but in my case some root level directives (mentioned below) that used to work fine under the old servers break certain pages of my site on the current servers, so some more experimenting may be needed to get that working. But at least LCserver is running again. Many thanks Richard! Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/18/14, 10:50 AM, "Richard Gaskin" wrote: >stephen barncard wrote: > > > With all due respect - the problem here is getting livecode and php to > > execute together in the same domain space (where we might want some > > Wordpress pages AND livecode. This is my problem as well. > >Thanks. Somehow I missed the reference to PHP requirements in Scott's >message. > > > The htaccess magic words that used to allow this with PHP 5.2 don't > > work any more... > >IIRC the notice I got from DH said they've upgraded to PHP 5.3. I don't >spend enough time with PHP to know what differences may affect shared >hosting. > >Here's the link they provided for PHP assistance in their upgrade notice >from Nov 5: >ng_to_Ubuntu_from_Debian_servers.29> > > > > - some syntax has changed either with PHP, Apache, or > > the use of Ubuntu vs Debian. > > > > Options +ExecCGI FollowSymLinks > > AddHandler livecode-script .lc .irev > > AddHandler php-script .php .htm .html > > DirectoryIndex index.irev index.lc index.php index.html > > Action livecode-script >/cgi-bin/livecode-server/livecode-community-server > > > >Is it necessary to declare special handling for PHP when declaring >special handling for other file types? I'd thought PHP support was a >given on DH's shared hosting accounts, handled in Apache2.config at the >server level. > >To double-check what I had originally understood from Scott's post >(looking at LC alone without PHP), I put a fresh install of LC Server v7 >on a new DH host and after setting permissions it was up and running >with just two lines in .htaccess, the AddHandler and the Action defining >that handler. > >Given the prevalence of PHP, I doubt DH's requirements for the upgrade >involve much work - they'd be overloaded with support requests if they >didn't give some good thought to backward compatibility with people's >existing configs. > >Normally there's no conflict between any combination of CGIs mentioned >in .htaccess as long as they don't mix file extensions. > >So I'll bet that once we pin this down, we'll have an "a ha!" moment in >which the solution is simpler than what it may seem right now. > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Nov 21 03:38:42 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 21 Nov 2014 09:38:42 +0100 Subject: AW: OT: Any experiences with MS SmartScreen? In-Reply-To: References: <000c01d0049d$c8aaaeb0$5a000c10$@de> Message-ID: <001901d00566$8ef21fe0$acd65fa0$@de> To pony up the moolah - learned something new :) Meanwhile I found a MSDN Blog where they say: "If you are trying to run an unfamiliar app that?s not used by other Windows users, you are warned" And there is a new kind of codesigning certificate "EV" which is issued only by two companies, where they say, that can prevent this warning, but not for sure and by the way it is more expensive as the standard certificate. Obviously we, as a small company with a small number of downloads have to live with this trustful customer experience. Brave new world. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Bob Sneidar > Gesendet: Donnerstag, 20. November 2014 17:02 > An: How to use LiveCode > Betreff: Re: OT: Any experiences with MS SmartScreen? > > I?m sure that when you are willing to pony up the moolah, they will be > perfectly willing to look into it. > > Bob S > > > > On Nov 20, 2014, at 24:41 , Tiemo Hollmann TB wrote: > > > > Hi there, > > > > since this year we are codesigning our programs. I thought we could > > produce a better installation experience for our clients with less > > frightening messages. Now I see that Windows has multiple different shields > integrated. > > The defender accepts our certificate and shows our company name when > > launching our installer, that works. But on Windows 8 there is a > > second shield called SmartScreen for downloads from the internet, > > which is based on the "reputation" of the publisher. Though our > > program is signed, Smartscreen blocks our setup after download as a > > potential harmful app. The user can release it, but the way isn't very > > obvious. Obviously we don't have a good reputation at MS. Up to now, > > I didn't found a chance to get into contact with MS to "ask for a > > better reputation" and I don't think that MS is interested in us. > > > > Any experiences with this issue? > > > > Tiemo > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre.bisseret at wanadoo.fr Fri Nov 21 03:40:26 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 21 Nov 2014 09:40:26 +0100 Subject: How to duplicate a stack that has a data grid template substack ? In-Reply-To: References: Message-ID: Le 21 nov. 2014 ? 01:20, Trevor DeVore a ?crit : > On Thu, Nov 20, 2014 at 11:46 AM, Andr? Bisseret > wrote: > >> >> My new problem is: >> How to duplicate a model stack that has a data grid template substack ? >> I need to be able to open the stacks of two different years. >> But they will have a same substack (same data grid template). >> Is it possible to change the name of a template without disturbing its >> behavior ? >> > > Why not move the data grid template substack to a different mainstack that > you aren't duplicating? Or maybe make the template substack a mainstack? As > long as the data grid template stack is loaded into memory at the same time > OR before the stack(s) containing the data grid, everything will work. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com Thanks a lot Trevor for your answer an suggestions; I am very glad to become aware of these two useful possibilities. I can easily move the template to another mainstack which is alway open first and keep staying when the app. is used. By the way, do you confirm that if I need several data grids on the same card I must get a data grid template stack? Up to now, when I need one data grid on a card, I usually get it by copy (copy group "DataGrid" of group "Templates" of stack "revDataGridLibrary" to this card) and then, if necessary, I copy it on other cards. It is the first time I tried several data grids on the same card. Thank you much again Andr? From livfoss at mac.com Fri Nov 21 07:08:43 2014 From: livfoss at mac.com (Graham Samuel) Date: Fri, 21 Nov 2014 13:08:43 +0100 Subject: Re; Unicode menu and script characters changing unexpectedly Message-ID: <3D71A0A2-6534-4B3C-8946-278210998448@mac.com> Just FYI, I just got this from the mother ship. I was under the impression that the system property the stackFileVersion showed the file format (7.0 or earlier) of the currently open stack. It doesn?t: all it shows is the format that any new stack will have when created in the IDE. To find out what format your stack actually has, I quote Neil Roger who was kindly writing to me about a stack that was puzzling me (see my earlier mails with the above subject line): > The easiest way to show this is by opening your stack in a text editor and looking > at the first 8 bytes of data. In the case of your stack, it returns REVO5500. > If the stack was in the 7.0 format, it would be REVO7000. When I switched from LC 6.x series to 7.x, I assumed my ?saves? would save in the new format. They didn?t. That explains a lot. I suppose everyone else here already knows that you have to do a ?Save As?? to get the new format - but just in case? Graham From stgoldberg at aol.com Fri Nov 21 07:20:56 2014 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Fri, 21 Nov 2014 07:20:56 -0500 Subject: Play stop not working in LiveCode 7 Message-ID: <8D1D39CBC10BCC3-FEC-53FE9@webmail-vm169.sysops.aol.com> I'm using LC 7.0.0 Community Edition build 10014 on my Mac system 10.9.5. I wanted to upgrade from LC 5.5.3, on which everything worked well, to 7.0, but the "play stop" code stopped working in 7..0.0. In addition, the following command does not work in a list field in 7.0.0: find whole tholder in field "code" which normally finds the word (holder) in field "code" on a different card. I then downloaded LC 6.6.5 community edition. The commands mentioned above work well in 6.6.5, but the stack I was working on is now corrupted after having worked in LC 7.0.0. Fortunately, I had a backup. Any suggestions would be appreciated. For the present, I'm staying with 6.6.5. Thanks. Stephen Goldberg, PresidentMedmaster publishing co. Inc www.medmaster.net > When playing an audioclip, the command > > play stop > > correctly stops the audioclip from playing in LiveCode 5.5.3. However, I find the command does not work for me in Livecode 7.0. Does anyone know why, or have a suggestion for getting around this, perhaps with a different command? Thanks. > Stephen, Which version of LC 7 do you have? In one of the DPs play stop was broken. http://quality.runrev.com/show_bug.cgi?id=12946 If it?s not working in the latest release there may have been a regression bug introduced. Devin Devin Asay Office of Digital Humanities Brigham Young University From lists at mangomultimedia.com Fri Nov 21 10:15:17 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 21 Nov 2014 10:15:17 -0500 Subject: How to duplicate a stack that has a data grid template substack ? In-Reply-To: References: Message-ID: On Fri, Nov 21, 2014 at 3:40 AM, Andr? Bisseret wrote: > > By the way, do you confirm that if I need several data grids on the same > card I must get a data grid template stack? > > Up to now, when I need one data grid on a card, I usually get it by copy > (copy group "DataGrid" of group "Templates" of stack "revDataGridLibrary" > to this card) and then, if necessary, I copy it on other cards. > It is the first time I tried several data grids on the same card. > I just did a quick test and didn't find any problems. 1) I copied 3 data grids to a new stack using your copy code. 2) I filled in each with 6 lines of data using the Contents property pane. 3) I renamed each one to DataGrid 1, DataGrid 2, and DataGrid 3 respectively. 4) I put this handler in each data grid group script: on selectionChanged answer the short name of me end selectionChanged 5) I went through and clicked on each one. Each time I saw an answer dialog with the short name of the data grid I clicked on. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From andre.bisseret at wanadoo.fr Fri Nov 21 10:44:39 2014 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 21 Nov 2014 16:44:39 +0100 Subject: How to duplicate a stack that has a data grid template substack ? In-Reply-To: References: Message-ID: <3AFFA453-1E09-4B25-8DC9-C692A435E508@wanadoo.fr> Thank you very much Trevor for this answer and your test. I don't know what I made wrong but clearly I have to try again this solution without template. Andr? Le 21 nov. 2014 ? 16:15, Trevor DeVore a ?crit : > On Fri, Nov 21, 2014 at 3:40 AM, Andr? Bisseret > wrote: > >> >> By the way, do you confirm that if I need several data grids on the same >> card I must get a data grid template stack? >> >> Up to now, when I need one data grid on a card, I usually get it by copy >> (copy group "DataGrid" of group "Templates" of stack "revDataGridLibrary" >> to this card) and then, if necessary, I copy it on other cards. >> It is the first time I tried several data grids on the same card. >> > > I just did a quick test and didn't find any problems. > > 1) I copied 3 data grids to a new stack using your copy code. > > 2) I filled in each with 6 lines of data using the Contents property pane. > > 3) I renamed each one to DataGrid 1, DataGrid 2, and DataGrid 3 > respectively. > > 4) I put this handler in each data grid group script: > > on selectionChanged > answer the short name of me > end selectionChanged > > 5) I went through and clicked on each one. Each time I saw an answer dialog > with the short name of the data grid I clicked on. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Fri Nov 21 11:19:04 2014 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 21 Nov 2014 16:19:04 +0000 Subject: Play stop not working in LiveCode 7 In-Reply-To: <8D1D39CBC10BCC3-FEC-53FE9@webmail-vm169.sysops.aol.com> References: <8D1D39CBC10BCC3-FEC-53FE9@webmail-vm169.sysops.aol.com> Message-ID: On Nov 21, 2014, at 5:20 AM, stgoldberg at aol.com wrote: > > I'm using LC 7.0.0 Community Edition build 10014 on my Mac system 10.9.5. > I wanted to upgrade from LC 5.5.3, on which everything worked well, to 7.0, but the "play stop" code stopped working in 7..0.0. > In addition, the following command does not work in a list field in 7.0.0: > find whole tholder in field "code" > which normally finds the word (holder) in field "code" on a different card. > I then downloaded LC 6.6.5 community edition. The commands mentioned above work well in 6.6.5, but the stack I was working on is now corrupted after having worked in LC 7.0.0. Fortunately, I had a backup. > Any suggestions would be appreciated. For the present, I'm staying with 6.6.5. Thanks. The file format changed in LC 7, and if you save a stack in 7 then try to open it in an earlier version, it is reported as being corrupted. (This is a misleading error message that has been corrected in the latest RC of 6.7.) If you open the stack in 7 and do Save As? then choose to save it as ?Legacy Stack 5.5", it should open fine in earlier versions. HTH Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From devin_asay at byu.edu Fri Nov 21 11:47:12 2014 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 21 Nov 2014 16:47:12 +0000 Subject: LC Server on DreamHost? In-Reply-To: References: <546B94D8.7060208@fourthworld.com> Message-ID: Thanks, Scott and Richard, for working this out. Can these notes be included in the READ ME file/installation instructions for LC Server/Linux? Devin On Nov 20, 2014, at 6:48 PM, Scott Rossi wrote: > Thanks to the patient generosity of our fearless Community Leader Richard > Gaskin, between us we were able to determine the combination of .htaccess > files needed to get LCserver working on DreamHost under Ubuntu (at least > for my situation). As a few others have noted, the most basic setup is > more or less like what Stephen Barncard and Andre Garcia came up with some > time ago: > > Domain [folder] > .htaccess > cgi-bin [folder] > .htaccess > drivers [folder] > externals [folder] > livecode-server > > Domain root .htaccess file contents: > AddHandler livecode-script .lc .irev > Action livecode-script /cgi-bin/livecode-server > > > cgi-bin folder .htaccess file contents: > Options ExecCGI > SetHandler cgi-script > > (?livecode_server? can be replaced with ?livecode-community-server?) > > > <<<<<<<<<<<<<<< > > After I received some conflicting information from DreamHost tech support, > Richard was able to determine that the second htaccess file in the cgi-bin > folder is required to make things work (this is probably what most others > already have in their domains). > > I don?t know what?s needed if anything for PHP processing, but in my case > some root level directives (mentioned below) that used to work fine under > the old servers break certain pages of my site on the current servers, so > some more experimenting may be needed to get that working. But at least > LCserver is running again. > > Many thanks Richard! > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/18/14, 10:50 AM, "Richard Gaskin" wrote: > >> stephen barncard wrote: >> >>> With all due respect - the problem here is getting livecode and php to >>> execute together in the same domain space (where we might want some >>> Wordpress pages AND livecode. This is my problem as well. >> >> Thanks. Somehow I missed the reference to PHP requirements in Scott's >> message. >> >>> The htaccess magic words that used to allow this with PHP 5.2 don't >>> work any more... >> >> IIRC the notice I got from DH said they've upgraded to PHP 5.3. I don't >> spend enough time with PHP to know what differences may affect shared >> hosting. >> >> Here's the link they provided for PHP assistance in their upgrade notice >> from Nov 5: >> > ng_to_Ubuntu_from_Debian_servers.29> >> >> >>> - some syntax has changed either with PHP, Apache, or >>> the use of Ubuntu vs Debian. >>> >>> Options +ExecCGI FollowSymLinks >>> AddHandler livecode-script .lc .irev >>> AddHandler php-script .php .htm .html >>> DirectoryIndex index.irev index.lc index.php index.html >>> Action livecode-script >> /cgi-bin/livecode-server/livecode-community-server >>> >> >> Is it necessary to declare special handling for PHP when declaring >> special handling for other file types? I'd thought PHP support was a >> given on DH's shared hosting accounts, handled in Apache2.config at the >> server level. >> >> To double-check what I had originally understood from Scott's post >> (looking at LC alone without PHP), I put a fresh install of LC Server v7 >> on a new DH host and after setting permissions it was up and running >> with just two lines in .htaccess, the AddHandler and the Action defining >> that handler. >> >> Given the prevalence of PHP, I doubt DH's requirements for the upgrade >> involve much work - they'd be overloaded with support requests if they >> didn't give some good thought to backward compatibility with people's >> existing configs. >> >> Normally there's no conflict between any combination of CGIs mentioned >> in .htaccess as long as they don't mix file extensions. >> >> So I'll bet that once we pin this down, we'll have an "a ha!" moment in >> which the solution is simpler than what it may seem right now. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Fri Nov 21 11:51:03 2014 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 21 Nov 2014 16:51:03 +0000 Subject: Re; Unicode menu and script characters changing unexpectedly In-Reply-To: <3D71A0A2-6534-4B3C-8946-278210998448@mac.com> References: <3D71A0A2-6534-4B3C-8946-278210998448@mac.com> Message-ID: <327A77C6-6512-436F-996F-F3F02F300A1C@byu.edu> On Nov 21, 2014, at 5:08 AM, Graham Samuel wrote: > Just FYI, I just got this from the mother ship. I was under the impression that the system property > > the stackFileVersion > > showed the file format (7.0 or earlier) of the currently open stack. It doesn?t: all it shows is the format that any new stack will have when created in the IDE. To find out what format your stack actually has, I quote Neil Roger who was kindly writing to me about a stack that was puzzling me (see my earlier mails with the above subject line): > >> The easiest way to show this is by opening your stack in a text editor and looking >> at the first 8 bytes of data. In the case of your stack, it returns REVO5500. >> If the stack was in the 7.0 format, it would be REVO7000. > > When I switched from LC 6.x series to 7.x, I assumed my ?saves? would save in the new format. They didn?t. That explains a lot. I suppose everyone else here already knows that you have to do a ?Save As?? to get the new format - but just in case? And don?t forget this setting in Preferences > Files and Memory: /_/ Preserve stack file version on stacks saved in legacy format. DNA Devin Asay Office of Digital Humanities Brigham Young University From mikedoub at gmail.com Fri Nov 21 12:18:11 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 21 Nov 2014 12:18:11 -0500 Subject: [ANN] Release 12 of the MasterLibrary is available Message-ID: <546F73D3.10902@gmail.com> For the folks that we paying attention to the discussion about how to position the scroll to a particular line in a field, this might be of interest to you. I think I cracked the nut on how to figure out the scroll position for any character within a field. This includes getting the scroll for a character in a wrapped line. It also addresses spacebefore, spaceafter, firstindent, leftindent and rightIndent. I have done a fair amount of testing trying to catch the corner cases, but if you do find any issues please let me know. This was done with LC 6.6.4. -= Mike https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 Release 12 * Added __positionCharInFld, adjusts the scroll of a field to have the designated character be at the top, center or bottom of the field. * Added __SoftLineBreaks, returns information about how the text within a field has been soft wrapped. Both of these functions were a bit challenging, please let me know if you discover any issues. * Added __DummyTextData, this generates data to go into a field with all of the different sizing conditions. This generated the data that I used to test the functions above. From heather at runrev.com Fri Nov 21 12:28:09 2014 From: heather at runrev.com (Heather Laine) Date: Fri, 21 Nov 2014 17:28:09 +0000 Subject: The Developer Economics Survey is Offering Great Prizes Message-ID: Dear List Folks, Don't forget to have your say. You still have a chance to win an iPhone 6, an Oculus Rift DevKit, and a Samsung Gear Smartwatch just by filling out this survey of the mobile developer market. But you need to hurry, the survey closes on 23rd November, in 2 days time: http://vmob.me/DE1Q15RunRev VisionMobile is tracking developer trends across platforms, app revenues and dev tools - as well as investigating the emerging IoT market. What are the latest trends in app development you're seeing? Which platform is the best for monetising your apps? Which is the right revenue model for your apps? Do you think IoT is here to stay or just a fad? Take the survey and contribute to this research! The key findings from the survey will become available in the form of a free research report in February. Aside from contributing to the research, respondents to the survey will also get a chance to win some great prizes, including an iPhone 6, an Oculus Rift DevKit, and a Samsung Gear Smartwatch among other things. Make sure the LiveCode voice is heard (and best of luck with the prizewinning)! Regards, Heather Heather Laine Customer Services Manager http://www.livecode.com/ From stephenREVOLUTION2 at barncard.com Fri Nov 21 13:05:49 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 21 Nov 2014 10:05:49 -0800 Subject: LC Server on DreamHost? In-Reply-To: <546B94D8.7060208@fourthworld.com> References: <546B94D8.7060208@fourthworld.com> Message-ID: On Tue, Nov 18, 2014 at 10:50 AM, Richard Gaskin wrote: > Is it necessary to declare special handling for PHP when declaring special > handling for other file types? I'd thought PHP support was a given on DH's > shared hosting accounts, handled in Apache2.config at the server level. I think that relationship had changed with the Ubuntu upgrade. For some reason, with the previous setup - when I did the addhandlers for just the livecode, the php wouldn't work any more on the same domain. I got the impression that a local htaccess file would over ride the global php setting. Also the previous setup seemed to be sensitive to the 'fast cgi' setting. I would still love to have only one installation of LIvecode for all my domains but apparently impossible using the htaccess methods. So I had to do the 'fix' a lot of times. My sites are working now but there is still an issue - the speed of loading is TERRIBLE with the 7.0.1 LC Linux server. It takes 4.5 seconds for LC to 'execute' a simple page every time. It's not about DNS and a PHP page on the same site loads immediately by comparison. see my test page that compares the two HERE Is this possibly related to other slowdowns in the desktop versions? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From pete at lcsql.com Fri Nov 21 14:30:23 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Nov 2014 11:30:23 -0800 Subject: Sheet stack bug in 7.0 Message-ID: If you are using the sheet stack command with the "in stack" option, it's broken in 7.0 and 7.0.1. The sheet stack is not displayed as a sheet in the target stack but more importantly, the handler that issues the sheet command continues to execute instead of waiting for the sheet stack to close. QCC Report# 14076. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From jacque at hyperactivesw.com Fri Nov 21 14:41:13 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Nov 2014 13:41:13 -0600 Subject: Re; Unicode menu and script characters changing unexpectedly In-Reply-To: <3D71A0A2-6534-4B3C-8946-278210998448@mac.com> References: <3D71A0A2-6534-4B3C-8946-278210998448@mac.com> Message-ID: <546F9559.4010009@hyperactivesw.com> On 11/21/2014, 6:08 AM, Graham Samuel wrote: > When I switched from LC 6.x series to 7.x, I assumed my ?saves? would > save in the new format. They didn?t. That explains a lot. I suppose > everyone else here already knows that you have to do a ?Save As?? to > get the new format - but just in case? I think it depends on the setting in preferences. The number of people who can't open their stacks after saving in 7.0 shows that at least some of the time it does save in the new format. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Nov 21 14:41:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Nov 2014 11:41:06 -0800 Subject: Plugins folder issue Message-ID: Today, I did some testing with LC 7.0. I carefully copied the contents of my user plugins folder to a different folder then set the 7.0 preference for the Plugins folder to a different folder than I use for pre-7.0. After finishing 7.0 testing, I went back to 6.6.2 and none of my user plugins were listed in the Plugins menu, only those in the Runrev plugins folder. I can see all the plugin stacks in my plugin folder and I tried resetting the plugins folder location and restarting 6.6.2 but still no user plugins. How can I get my pre-7.0 plugins back? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Fri Nov 21 14:43:32 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 21 Nov 2014 11:43:32 -0800 Subject: Plugins folder issue In-Reply-To: References: Message-ID: Never mind, they just showed up again. Seems like I had to restart LC 6.6.2 twice before they showed up. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 21, 2014 at 11:41 AM, Peter Haworth wrote: > Today, I did some testing with LC 7.0. I carefully copied the contents of > my user plugins folder to a different folder then set the 7.0 preference > for the Plugins folder to a different folder than I use for pre-7.0. > > After finishing 7.0 testing, I went back to 6.6.2 and none of my user > plugins were listed in the Plugins menu, only those in the Runrev plugins > folder. > > I can see all the plugin stacks in my plugin folder and I tried resetting > the plugins folder location and restarting 6.6.2 but still no user plugins. > > How can I get my pre-7.0 plugins back? > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > From revdev at pdslabs.net Fri Nov 21 14:56:22 2014 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 21 Nov 2014 11:56:22 -0800 Subject: LC Server on DreamHost? In-Reply-To: References: <546B94D8.7060208@fourthworld.com> Message-ID: <546F98E6.2090207@pdslabs.net> On 11/21/14 10:05 AM, stephen barncard wrote: > On Tue, Nov 18, 2014 at 10:50 AM, Richard Gaskin > wrote: >> Is it necessary to declare special handling for PHP when declaring special >> handling for other file types? I'd thought PHP support was a given on DH's >> shared hosting accounts, handled in Apache2.config at the server level. > > I think that relationship had changed with the Ubuntu upgrade. For some > reason, with the previous setup - when I did the addhandlers for just the > livecode, the php wouldn't work any more on the same domain. I got the > impression that a local htaccess file would over ride the global php > setting. Also the previous setup seemed to be sensitive to the 'fast cgi' > setting. I would still love to have only one installation of LIvecode for > all my domains but apparently impossible using the htaccess methods. So I > had to do the 'fix' a lot of times. > > My sites are working now but there is still an issue - the speed of loading > is TERRIBLE with the 7.0.1 LC Linux server. It takes 4.5 seconds for LC to > 'execute' a simple page every time. It's not about DNS and a PHP page on > the same site loads immediately by comparison. I'm glad it isn't just me: http://quality.runrev.com/show_bug.cgi?id=13983 Phil Davis > > see my test page that compares the two HERE > > Is this possibly related to other slowdowns in the desktop versions? > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From alain.vezina at logilangue.com Fri Nov 21 15:30:51 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 21 Nov 2014 15:30:51 -0500 Subject: the weight of an app Message-ID: <7E330824-9033-4C94-85C2-F911A5E9BB7F@logilangue.com> I sent an app for iPad to the App Store on last July and it?s weight was of 15.5 MG. It was made with LC 6.6.2. I prepare a new version of the same app, in which I add nothing, but with LC 7.0.1 rc2 for it runs with iOS 8. This time, it?s weight is 42.4 MG. On my tests, it takes between 16 and 29 seconds before the splash screen disappears, depending on the device. So it is too long for I offer this new version to my clients. Why the weight of an app is more than the double of what it was before? Anybody has experimented the same problem? Anybody has found a solution? Is it a bug? Alain V?zina, directeur Logilangue 514-596-1385 www.logilangue.com From ethanlish at gmail.com Fri Nov 21 16:30:58 2014 From: ethanlish at gmail.com (Ethan Lish) Date: Fri, 21 Nov 2014 13:30:58 -0800 (PST) Subject: Syntax anomaly Message-ID: <1416605457748.b4e74e6b@Nodemailer> All Recently I was reviewing the message syntax with a colleague. We encountered a anomaly and thought it would be interesting to discuss in the forum Message language tokens seem to follow three different formats; Action? ControlAction ActionControl Is there a reason for this inconsistency? Is there a plan to standardize? E ? Ethan at Lish.net240.876.1389 From mikedoub at gmail.com Fri Nov 21 16:30:33 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 21 Nov 2014 16:30:33 -0500 Subject: [ANN] Release 12 of the MasterLibrary is available In-Reply-To: <546F73D3.10902@gmail.com> References: <546F73D3.10902@gmail.com> Message-ID: <546FAEF9.6050906@gmail.com> I just pulled this back for more testing. I found a bug in the data generator that was not inserting the spaceabove and below properly... I deserves more testing. Sorry folks. A bit red faced here. -= Mike On 11/21/14 12:18 PM, Michael Doub wrote: > For the folks that we paying attention to the discussion about how to > position the scroll to a particular line in a field, this might be of > interest to you. I think I cracked the nut on how to figure out the > scroll position for any character within a field. This includes > getting the scroll for a character in a wrapped line. It also > addresses spacebefore, spaceafter, firstindent, leftindent and > rightIndent. I have done a fair amount of testing trying to catch > the corner cases, but if you do find any issues please let me know. > This was done with LC 6.6.4. > > -= Mike > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > Release 12 > * Added __positionCharInFld, adjusts the scroll of a field to have > the designated character be at the top, > center or bottom of the field. > * Added __SoftLineBreaks, returns information about how the text > within a field has been soft wrapped. > > Both of these functions were a bit challenging, please let me know if > you discover any issues. > > * Added __DummyTextData, this generates data to go into a field > with all of the different sizing > conditions. This generated the data that I used to test the > functions above. From bodine at bodinetraininggames.com Fri Nov 21 16:46:28 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Fri, 21 Nov 2014 13:46:28 -0800 (PST) Subject: Can standalones give users the same Text formatting menu as in IDE? Message-ID: <1416606388703-4686125.post@n4.nabble.com> Hate to reinvent the wheel, because I'd probably end up with a flat. So, I'm looking for a way to provide users of a standalone desktop app with the functionality of the Text menu in the IDE. Suggestions? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-standalones-give-users-the-same-Text-formatting-menu-as-in-IDE-tp4686125.html Sent from the Revolution - User mailing list archive at Nabble.com. From maring.richard at gmail.com Fri Nov 21 18:00:53 2014 From: maring.richard at gmail.com (Richard Maring) Date: Fri, 21 Nov 2014 17:00:53 -0600 Subject: Printing cuts off all fields at 12 characters. Message-ID: I've exhausted all the information I can find online so I'm hoping some has run into this before and can help me with it. I am trying to create a printout in my stack. I created a new card, put one label in the center and put "this is my test print" into it's content. I then created a button and put the following script from LiveCode Sample Scripts: "Printing All the Fields on a Card" on mouseUp printAllFields end mouseUp on printAllFields local tField, tCollectedFields repeat with tField = 1 to the number of fields ## collect data in the tCollectedFields variable put "

" & the short name of field tField \ & colon & "

" \ & the htmlText of field tField after tCollectedFields end repeat answer tCollectedFields ## print the variable revShowPrintDialog false, true revPrintText tCollectedFields end printAllFields The "answer tCollectedFields" shows all of the text. I hit the "button" to print and I get a dialog box, choose my printer and it prints ouit the following: Label this is my t No matter what I have tried it will only print the first 12 characters of any field or label. I added images to the card and did another script to print the card itself, and the images printed, the text was formatted and in the right place, but only the first portion of the text prints, the rest is cutoff. Any help would be greatly appreciated. Thanks Richard Maring From dunbarx at aol.com Fri Nov 21 18:39:18 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 21 Nov 2014 18:39:18 -0500 Subject: Syntax anomaly In-Reply-To: <1416605457748.b4e74e6b@Nodemailer> References: <1416605457748.b4e74e6b@Nodemailer> Message-ID: <8D1D3FB801C9476-5C8-580E7@webmail-vm081.sysops.aol.com> Hmmm. Are these Ruby terms? Can you elucidate the meaning of these, as they might pertain to LC? Or give an example of each? Craig Newman -----Original Message----- From: Ethan Lish To: use-livecode Sent: Fri, Nov 21, 2014 4:31 pm Subject: Syntax anomaly All Recently I was reviewing the message syntax with a colleague. We encountered a anomaly and thought it would be interesting to discuss in the forum Message language tokens seem to follow three different formats; Action ControlAction ActionControl Is there a reason for this inconsistency? Is there a plan to standardize? E ? Ethan at Lish.net240.876.1389 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ethanlish at gmail.com Fri Nov 21 19:17:01 2014 From: ethanlish at gmail.com (Ethan Lish) Date: Fri, 21 Nov 2014 16:17:01 -0800 (PST) Subject: Syntax anomaly In-Reply-To: <8D1D3FB801C9476-5C8-580E7@webmail-vm081.sysops.aol.com> References: <8D1D3FB801C9476-5C8-580E7@webmail-vm081.sysops.aol.com> Message-ID: <1416615421153.fe62d7ab@Nodemailer> Sure, I should have included statement examples in the original post.? On "browserClick" is an example a the compound keyword with the controller "browser" and the action "Click" aggregated into a message? On "closeCard" is an example of the same but reversing the order of the first example? On "touchStart" is an example of just the action being used as a message Seems to be a language oddity which reduces the intuitive nature of the language increasing the complexity.? I for one would prefer a standard approach of the first example. This would allow a natural grouping in document like the dictionary. One could go to the browser section and see all messages related to the?browser E ? Ethan at Lish.net240.876.1389 On Fri, Nov 21, 2014 at 4:39 PM, null wrote: > Hmmm. > Are these Ruby terms? Can you elucidate the meaning of these, as they might pertain to LC? Or give an example of each? > Craig Newman > -----Original Message----- > From: Ethan Lish > To: use-livecode > Sent: Fri, Nov 21, 2014 4:31 pm > Subject: Syntax anomaly > All > Recently I was reviewing the message syntax with a colleague. We encountered a > anomaly and thought it would be interesting to discuss in the forum > Message language tokens seem to follow three different formats; > Action > ControlAction > ActionControl > Is there a reason for this inconsistency? > Is there a plan to standardize? > E > ? > Ethan at Lish.net240.876.1389 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Fri Nov 21 21:35:05 2014 From: paul at livecode.org (Paul Hibbert) Date: Fri, 21 Nov 2014 18:35:05 -0800 Subject: Printing cuts off all fields at 12 characters. In-Reply-To: References: Message-ID: <79FAAD2D-3254-4334-B0F4-D937DC00D9FE@livecode.org> Richard, I have just tested your code exactly as shown in LC 5.5.5, LC 6.7 and LC 7.0.1(rc2) on Mac OS X 10.9.5 and in LC 6.6.2 on Windows 7 - all versions work fine, I added another field to the test stack and that shows up fine too. You didn't state which OS or LC version you are using, but my conclusion would be that the problem lies elsewhere, have you tried different page setups or print drivers? Not too sure what else to suggest, but I can verify your code works OK. Paul On Nov 21, 2014, at 3:00 PM, Richard Maring wrote: > I've exhausted all the information I can find online so I'm hoping some has > run into this before and can help me with it. > > I am trying to create a printout in my stack. > > I created a new card, put one label in the center and put "this is my test > print" into it's content. > > I then created a button and put the following script from LiveCode Sample > Scripts: "Printing All the Fields on a Card" > > on mouseUp > printAllFields > end mouseUp > > > on printAllFields > local tField, tCollectedFields > repeat with tField = 1 to the number of fields > ## collect data in the tCollectedFields variable > put "

" & the short name of field tField \ > & colon & "

" \ > & the htmlText of field tField after tCollectedFields > end repeat > answer tCollectedFields > ## print the variable > revShowPrintDialog false, true > revPrintText tCollectedFields > end printAllFields > > > The "answer tCollectedFields" shows all of the text. > > I hit the "button" to print and I get a dialog box, choose my printer and > it prints ouit the following: > > Label > this is my t > > No matter what I have tried it will only print the first 12 characters of > any field or label. > > I added images to the card and did another script to print the card itself, > and the images printed, the text was formatted and in the right place, but > only the first portion of the text prints, the rest is cutoff. > > Any help would be greatly appreciated. > > Thanks > > > Richard Maring > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Nov 21 21:48:44 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Nov 2014 20:48:44 -0600 Subject: Printing cuts off all fields at 12 characters. In-Reply-To: <79FAAD2D-3254-4334-B0F4-D937DC00D9FE@livecode.org> References: <79FAAD2D-3254-4334-B0F4-D937DC00D9FE@livecode.org> Message-ID: I wonder if there's something in the htmltext itself that's causing the problem. What happens if you delete the first 15 characters or so of the text and try that as a test? On November 21, 2014 8:35:05 PM CST, Paul Hibbert wrote: >Richard, > >I have just tested your code exactly as shown in LC 5.5.5, LC 6.7 and >LC 7.0.1(rc2) on Mac OS X 10.9.5 and in LC 6.6.2 on Windows 7 - all >versions work fine, I added another field to the test stack and that >shows up fine too. > >You didn't state which OS or LC version you are using, but my >conclusion would be that the problem lies elsewhere, have you tried >different page setups or print drivers? > >Not too sure what else to suggest, but I can verify your code works OK. > >Paul > >On Nov 21, 2014, at 3:00 PM, Richard Maring >wrote: > >> I've exhausted all the information I can find online so I'm hoping >some has >> run into this before and can help me with it. >> >> I am trying to create a printout in my stack. >> >> I created a new card, put one label in the center and put "this is my >test >> print" into it's content. >> >> I then created a button and put the following script from LiveCode >Sample >> Scripts: "Printing All the Fields on a Card" >> >> on mouseUp >> printAllFields >> end mouseUp >> >> >> on printAllFields >> local tField, tCollectedFields >> repeat with tField = 1 to the number of fields >> ## collect data in the tCollectedFields variable >> put "

" & the short name of field tField \ >> & colon & "

" \ >> & the htmlText of field tField after tCollectedFields >> end repeat >> answer tCollectedFields >> ## print the variable >> revShowPrintDialog false, true >> revPrintText tCollectedFields >> end printAllFields >> >> >> The "answer tCollectedFields" shows all of the text. >> >> I hit the "button" to print and I get a dialog box, choose my printer >and >> it prints ouit the following: >> >> Label >> this is my t >> >> No matter what I have tried it will only print the first 12 >characters of >> any field or label. >> >> I added images to the card and did another script to print the card >itself, >> and the images printed, the text was formatted and in the right >place, but >> only the first portion of the text prints, the rest is cutoff. >> >> Any help would be greatly appreciated. >> >> Thanks >> >> >> Richard Maring >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Nov 21 22:19:27 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Nov 2014 19:19:27 -0800 Subject: Syntax anomaly In-Reply-To: <1416615421153.fe62d7ab@Nodemailer> References: <8D1D3FB801C9476-5C8-580E7@webmail-vm081.sysops.aol.com> <1416615421153.fe62d7ab@Nodemailer> Message-ID: <133784419.20141121191927@ahsoftware.net> Ethan- Friday, November 21, 2014, 4:17:01 PM, you wrote: > I for one would prefer a standard approach of the first example. > This would allow a natural grouping in document like the dictionary. > One could go to the browser section and see all messages related to > the?browser Something like this? on cardClose closeCard end cardClose -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From maring.richard at gmail.com Fri Nov 21 22:54:22 2014 From: maring.richard at gmail.com (Richard Maring) Date: Fri, 21 Nov 2014 21:54:22 -0600 Subject: Printing cuts off all fields at 12 characters. In-Reply-To: References: <79FAAD2D-3254-4334-B0F4-D937DC00D9FE@livecode.org> Message-ID: Paul I'm running windows 8.1 and using LC 7.0.0 Rich *Richard B. Maring* Mobile: (830) 928-7013 maring.richard at gmail.com This email message and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify Richard Maring immediately by replying to this message and destroying all copies of this message and any attachments. Thank you. On Fri, Nov 21, 2014 at 8:48 PM, J. Landman Gay wrote: > I wonder if there's something in the htmltext itself that's causing the > problem. What happens if you delete the first 15 characters or so of the > text and try that as a test? > > On November 21, 2014 8:35:05 PM CST, Paul Hibbert > wrote: > >Richard, > > > >I have just tested your code exactly as shown in LC 5.5.5, LC 6.7 and > >LC 7.0.1(rc2) on Mac OS X 10.9.5 and in LC 6.6.2 on Windows 7 - all > >versions work fine, I added another field to the test stack and that > >shows up fine too. > > > >You didn't state which OS or LC version you are using, but my > >conclusion would be that the problem lies elsewhere, have you tried > >different page setups or print drivers? > > > >Not too sure what else to suggest, but I can verify your code works OK. > > > >Paul > > > >On Nov 21, 2014, at 3:00 PM, Richard Maring > >wrote: > > > >> I've exhausted all the information I can find online so I'm hoping > >some has > >> run into this before and can help me with it. > >> > >> I am trying to create a printout in my stack. > >> > >> I created a new card, put one label in the center and put "this is my > >test > >> print" into it's content. > >> > >> I then created a button and put the following script from LiveCode > >Sample > >> Scripts: "Printing All the Fields on a Card" > >> > >> on mouseUp > >> printAllFields > >> end mouseUp > >> > >> > >> on printAllFields > >> local tField, tCollectedFields > >> repeat with tField = 1 to the number of fields > >> ## collect data in the tCollectedFields variable > >> put "

" & the short name of field tField \ > >> & colon & "

" \ > >> & the htmlText of field tField after tCollectedFields > >> end repeat > >> answer tCollectedFields > >> ## print the variable > >> revShowPrintDialog false, true > >> revPrintText tCollectedFields > >> end printAllFields > >> > >> > >> The "answer tCollectedFields" shows all of the text. > >> > >> I hit the "button" to print and I get a dialog box, choose my printer > >and > >> it prints ouit the following: > >> > >> Label > >> this is my t > >> > >> No matter what I have tried it will only print the first 12 > >characters of > >> any field or label. > >> > >> I added images to the card and did another script to print the card > >itself, > >> and the images printed, the text was formatted and in the right > >place, but > >> only the first portion of the text prints, the rest is cutoff. > >> > >> Any help would be greatly appreciated. > >> > >> Thanks > >> > >> > >> Richard Maring > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Sat Nov 22 05:07:42 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sat, 22 Nov 2014 11:07:42 +0100 Subject: Can standalones give users the same Text formatting menu as in IDE? In-Reply-To: <1416606388703-4686125.post@n4.nabble.com> References: <1416606388703-4686125.post@n4.nabble.com> Message-ID: <6F2D46D9-31FD-4BDA-B831-48AD7DB889F6@m-r-d.de> Tom, i do not know if this is possible. But there is a RTF Editor library from Curry Kenworthy. It?s not exact what your are looking for, but it is very useful if you want to give the user some text formatting functions. I am using it in several of my products. Unfortunately i cannot provide you a link where you can purchase it. I have just the link to the old Preorder page: http://www.curryk.com/fieldtrip-preorder.html Maybe you contact Curry directly to ask if you can buy it. Regards, Matthias > Am 21.11.2014 um 22:46 schrieb tbodine : > > Hate to reinvent the wheel, because I'd probably end up with a flat. > > So, I'm looking for a way to provide users of a standalone desktop app with > the functionality of the Text menu in the IDE. Suggestions? > > Thanks, > Tom Bodine > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-standalones-give-users-the-same-Text-formatting-menu-as-in-IDE-tp4686125.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode {tail.signature} From admin at FlexibleLearning.com Sat Nov 22 06:15:13 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 22 Nov 2014 11:15:13 -0000 Subject: fieldtrip (was re: Can standalones give users...) Message-ID: <007401d00645$97377ad0$c5a67070$@FlexibleLearning.com> Interesting. I was one of the up-front crowd-funding contributors to this, but then heard no more about it. I had assumed the project had gone belly up. Curry... Is it ready for prime time now? How do we get our copy? Hugh Senior FLCo > Tom, > > i do not know if this is possible. > > But there is a RTF Editor library from Curry Kenworthy. It?s not exact what > your are looking for, but it is very useful if you want to give the user some > text formatting functions. > > I am using it in several of my products. > > Unfortunately i cannot provide you a link where you can purchase it. > I have just the link to the old Preorder page: > http://www.curryk.com/fieldtrip-preorder.html > > Maybe you contact Curry directly to ask if you can buy it. > > Regards, > > Matthias From kevin at stallibrass.com Sat Nov 22 06:16:59 2014 From: kevin at stallibrass.com (Stallibrass) Date: Sat, 22 Nov 2014 11:16:59 +0000 Subject: Browser backgrounds in ios? Message-ID: Is there a trick to getting a background image to display in a browser instance in an iOS app? I've tried html and css which both work in other browsers just not in my mobile app. Are backgrounds just not supported? Thanks Kevin Sent from my iPad From matthias_livecode_150811 at m-r-d.de Sat Nov 22 08:06:55 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 22 Nov 2014 13:06:55 -0000 Subject: fieldtrip (was re: Can standalones give users...) In-Reply-To: <007401d00645$97377ad0$c5a67070$@FlexibleLearning.com> References: <007401d00645$97377ad0$c5a67070$@FlexibleLearning.com> Message-ID: <111C9CCB-6DE7-4F3B-A259-7F6042EDE5BA@m-r-d.de> I do not know what the current status of that project is, but Curry sent out a download link for a beta and registration keys to all funders in January 2013. This is the version i am working with. I had no problems with it so far. http://curryk.com/FieldTrip-Beta-1.zip Didn?t you get your registration key? Matthias Am 22.11.2014 um 12:15 schrieb FlexibleLearning.com : > Interesting. I was one of the up-front crowd-funding contributors to this, > but then heard no more about it. I had assumed the project had gone belly > up. > > Curry... > > Is it ready for prime time now? How do we get our copy? > > Hugh Senior > FLCo > > >> Tom, >> >> i do not know if this is possible. >> >> But there is a RTF Editor library from Curry Kenworthy. It?s not exact > what >> your are looking for, but it is very useful if you want to give the user > some >> text formatting functions. >> >> I am using it in several of my products. >> >> Unfortunately i cannot provide you a link where you can purchase it. >> I have just the link to the old Preorder page: >> http://www.curryk.com/fieldtrip-preorder.html >> >> Maybe you contact Curry directly to ask if you can buy it. >> >> Regards, >> >> Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sat Nov 22 08:27:11 2014 From: coiin at verizon.net (Colin Holgate) Date: Sat, 22 Nov 2014 08:27:11 -0500 Subject: popular conference picture Message-ID: <3E8B721C-0018-44E5-B290-9EB0B282A58D@verizon.net> Received an email from Google today to tell me that a picture I posted has been viewed ?more than 791 times?. For the few of you who aren?t in the 791, it?s this one: https://www.google.com/maps/views/u/0/view/114217638380823763773/gphoto/6055347776837818594 From userev at canelasoftware.com Sat Nov 22 09:34:59 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 22 Nov 2014 06:34:59 -0800 Subject: popular conference picture In-Reply-To: <3E8B721C-0018-44E5-B290-9EB0B282A58D@verizon.net> References: <3E8B721C-0018-44E5-B290-9EB0B282A58D@verizon.net> Message-ID: <51297ABB-A5D1-4A56-9C79-1B9C5B92A93D@canelasoftware.com> > > On Nov 22, 2014, at 5:27 AM, Colin Holgate wrote: > > Received an email from Google today to tell me that a picture I posted has been viewed ?more than 791 times?. For the few of you who aren?t in the 791, it?s this one: > > https://www.google.com/maps/views/u/0/view/114217638380823763773/gphoto/6055347776837818594 > Cool pic Colin. Mark Talluto Canela Software From livfoss at mac.com Sat Nov 22 09:45:12 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 22 Nov 2014 15:45:12 +0100 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) Message-ID: <1AACDF01-88B3-41C0-ACD6-817352EA07DC@mac.com> I?ve been using LC for a long time but I?ve never used a stack menu. I now find that I can?t understand the documentation of the stack menu in the LC User Guide. I have tried to follow it to produce a test app, and I?ve got this far. I?m using LC7.0.1 (rc2) on a Mac with Yosemite. I?ve made a mainstack ?StackMenuTests? with one card. I?ve made a substack ?TheMenuStack? with one card. I?ve put three buttons into the substack, named ?File?, ?Edit? and ?Help.I?ve given them the properties mentioned in the documentation. In each one I?ve put a mouseUp handler that just uses ?answer? to inform the user that it?s been invoked. Although it the docs didn?t tell me to do so, I set the style of each button to ?menu? (you can?t do this directly in the IDE, you have to do it via the message box) and each menuMode to ?pulldown?. I've put some items in the text box in each one?s Property Inspector. The docs don?t say how I can get my ?mouseUp? handler to identify an individual menu item, so I?ve left that bit out for now. I?ve made the size of the stack just enough to show the buttons. I?ve put one button in the mainstack, with a script that says (again from the documentation) on mouseDown popup stack ?TheMenuStack? end mouseDown I don?t know how I can use this to make the stack menu ?look like a standard menu? as the UG says, especially as regards positioning, but let?s leave that one aside for now. So far, so good: when I click the button on the mainstack, the stack menu appears, but clicking on the individual buttons doesn?t do anything, and the menu disappears again. So in fact I have not made it work at all. I tried putting a ?mouseDown? button in one of the handlers, and it fires sometimes but not reliably, and I don?t know what the next move would be anyway. The LC documentation doesn?t help with this, and as far as I am concerned there is a serious bug in the User Guide (without documentation, a product such as LC doesn?t fully exist, IMO). When I get the thing working, I intend to report it as such. Meanwhile can anyone explain how to get the thing to work at all? My aim is to have some small pictures in the menu items (which is what the docs suggest the feature is for) but that?s not possible if I can?t get the thing to work at a basic level. Oh, and if someone is kind enough to explain, can they say how cross-platform this is going to be - for example, do I have to change the font of any text to conform with the system font of the chosen platform? AFAIK, LC does this for me for ?normal? menus, when switching from Windows to Mac (don?t know about *nix). TIA for any clarification Graham From bodine at bodinetraininggames.com Sat Nov 22 09:45:54 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Sat, 22 Nov 2014 06:45:54 -0800 (PST) Subject: Can standalones give users the same Text formatting menu as in IDE? In-Reply-To: <6F2D46D9-31FD-4BDA-B831-48AD7DB889F6@m-r-d.de> References: <1416606388703-4686125.post@n4.nabble.com> <6F2D46D9-31FD-4BDA-B831-48AD7DB889F6@m-r-d.de> Message-ID: <1416667554738-4686140.post@n4.nabble.com> Matthias Rebbe | M-R-D wrote > there is a RTF Editor library from Curry Kenworthy. It?s not exact what > your are looking for, > but it is very useful if you want to give the user some text formatting > functions. Actually, I have Curry's FieldTrip tool, but it does not utilize the LC 7 unicode field. I believe the embedded field it uses is from LC 5.5. Since the tool is password protected, I can't just update the field. FieldTrip adds some other complications to my project. So I was hoping to keep it simple with a formatting menu script and keyboard shortcuts. But thanks for the suggestion, Matthias. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-standalones-give-users-the-same-Text-formatting-menu-as-in-IDE-tp4686125p4686140.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Sat Nov 22 10:06:42 2014 From: coiin at verizon.net (Colin Holgate) Date: Sat, 22 Nov 2014 10:06:42 -0500 Subject: popular conference picture In-Reply-To: <51297ABB-A5D1-4A56-9C79-1B9C5B92A93D@canelasoftware.com> References: <3E8B721C-0018-44E5-B290-9EB0B282A58D@verizon.net> <51297ABB-A5D1-4A56-9C79-1B9C5B92A93D@canelasoftware.com> Message-ID: <33E552EA-44EE-47A2-8E7C-3C81BE84E206@verizon.net> Thanks. Taken with Google?s photo sphere app, on my iPhone 5. > On Nov 22, 2014, at 9:34 AM, Mark Talluto wrote: > >> >> On Nov 22, 2014, at 5:27 AM, Colin Holgate wrote: >> >> Received an email from Google today to tell me that a picture I posted has been viewed ?more than 791 times?. For the few of you who aren?t in the 791, it?s this one: >> >> https://www.google.com/maps/views/u/0/view/114217638380823763773/gphoto/6055347776837818594 >> > Cool pic Colin. > > Mark Talluto > Canela Software > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Nov 22 10:33:04 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 22 Nov 2014 07:33:04 -0800 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: <1AACDF01-88B3-41C0-ACD6-817352EA07DC@mac.com> References: <1AACDF01-88B3-41C0-ACD6-817352EA07DC@mac.com> Message-ID: <5470ACB0.5070106@fourthworld.com> Graham Samuel wrote: > I?ve been using LC for a long time but I?ve never used a stack menu. ... > I don?t know how I can use this to make the stack menu ?look like a > standard menu? You can't. Stack menus were originally the only way to make menus in MetaCard, fine for when it only ran under Motif in Unix but quickly became both tiresome to create and often with an appearance that didn't match other HIGs. Dr. Raney remedied the issue in the mid-90s by create the menu subclass of buttons, so we now have pulldowns, popups, and other common menu types that more closely match user expectations on supported platforms. On OS X, the contents of menu buttons are rendered using OS routines so they look and behave like standard menus. I hope to see the same on Ubuntu once we get Themes. Now that we have the menu subclass for buttons, the only time using stacks as menus are useful today is for non-textual menus, like popup galleries, color pickers, etc. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From curry at pair.com Sat Nov 22 10:37:18 2014 From: curry at pair.com (Curry Kenworthy) Date: Sat, 22 Nov 2014 09:37:18 -0600 Subject: fieldtrip (was re: Can standalones give users...) In-Reply-To: <111C9CCB-6DE7-4F3B-A259-7F6042EDE5BA@m-r-d.de> References: <111C9CCB-6DE7-4F3B-A259-7F6042EDE5BA@m-r-d.de> Message-ID: <5470ADAE.1020709@pair.com> FieldTrip is being updated for more modern appearance options and LC 7/8. All FT owners will get an email when the new version is up. (And I'll make a new web page for it.) Hugh, I'll check if you're on the email list. Write me offlist if you don't have your code. Thanks! Best wishes, Curry K. From ambassador at fourthworld.com Sat Nov 22 10:42:36 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 22 Nov 2014 07:42:36 -0800 Subject: Can standalones give users the same Text formatting menu as in IDE? In-Reply-To: <1416667554738-4686140.post@n4.nabble.com> References: <1416667554738-4686140.post@n4.nabble.com> Message-ID: <5470AEEC.3040403@fourthworld.com> Tom Bodine wrote: > Actually, I have Curry's FieldTrip tool, but it does not utilize > the LC 7 unicode field. I believe the embedded field it uses is > from LC 5.5. Since the tool is password protected, I can't just > update the field. LiveCode has one field object. It's not possible to use the field object of an older version while running a newer version. Whatever field properties and messages are available in a given engine version are available to any field run in that version. > FieldTrip adds some other complications to my project. So I was > hoping to keep it simple with a formatting menu script and keyboard > shortcuts. Curry does great work, but for something this common it should be relatively easy to implement - if not, LiveCode has failed in its mission and we'd need some language extensions to make it easier. A few versions back (5.5.4 IIRC) the engine team added a means of toggling text styles, which make implementing things like a Style menu much simpler. In the past we have to examine the textStyle of the selection and hope it was "mixed" in order to know who to update our menu and apply or remove the style selected by the user. But today textStyles can be set in a Boolean fashion individually: set the textStyle["bold"] of the selectedChunk to \ (not the textStyle["bold"] of the selectedChunk Additionally, in older versions changing the textFont or textSize reset both, but now all text attributes are managed separately. What challenges have you run into making your text menus? I'll bet we can help put that together with relative ease, or perhaps identify usability issues in the language that could use refinement. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From warren at warrensweb.us Sat Nov 22 10:54:10 2014 From: warren at warrensweb.us (Warren Samples) Date: Sat, 22 Nov 2014 09:54:10 -0600 Subject: LC Server on DreamHost? In-Reply-To: <546F98E6.2090207@pdslabs.net> References: <546B94D8.7060208@fourthworld.com> <546F98E6.2090207@pdslabs.net> Message-ID: <5470B1A2.8030004@warrensweb.us> On 11/21/2014 01:56 PM, Phil Davis wrote: >> the speed of loading >> is TERRIBLE with the 7.0.1 LC Linux server. It takes 4.5 seconds for >> LC to >> 'execute' a simple page every time. It's not about DNS and a PHP page on >> the same site loads immediately by comparison. >> Is this possibly related to other slowdowns in the desktop versions? Unless there is a problem specific to the 64 bit engine it seems more likely related to some issue with the DreamHost setup. The script that Phil provides in his bug report shows similar nearly instantaneous execution times for 6.1.2, 6.5.1 and 7.0.0 served from the same (32 bit) machine at WebFaction: (6.1.2) (6.5.1) (7.0.0) I do have a simple test script with a repeat loop and a list sort that takes @ 4 times as long to execute with 7.0.0 as it does with earlier versions, but Phil's script doesn't show anything like the same problem here as it does on his DreamHost server. Warren From livfoss at mac.com Sat Nov 22 11:12:34 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 22 Nov 2014 17:12:34 +0100 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: <5470ACB0.5070106@fourthworld.com> References: <1AACDF01-88B3-41C0-ACD6-817352EA07DC@mac.com> <5470ACB0.5070106@fourthworld.com> Message-ID: <05B624A8-A7BC-45E3-9F80-27FA8DC30092@mac.com> Thanks Richard, I rather suspected what you say might be true. I do however think the documentation of this feature is a bit of disgrace - really I could have dismissed the whole idea after one reading if the description was more complete and had better examples. Actually I was seeking a way to do something very modest (to me) but which I can?t find a way of doing with a conventional menu item, which is either to choose my own font, or to add a small image to the text of an item - this is because (I believe) that the font Microsoft uses for Windows 7 menu items has quite a restricted character set. I was hoping to introduce the pi symbol (Greek lower case pi) into the text of a menu item, but this only seems to work on the Mac. This is all done with LC7, so Unicode ought to apply, not Mac-Roman? I am getting some help from RunRev on this, but I haven?t cracked it yet. Thanks again Graham > On 22 Nov 2014, at 16:33, Richard Gaskin wrote: > > Graham Samuel wrote: > > I?ve been using LC for a long time but I?ve never used a stack menu. ... > > I don?t know how I can use this to make the stack menu ?look like a > > standard menu? > > You can't. > > Stack menus were originally the only way to make menus in MetaCard, fine for when it only ran under Motif in Unix but quickly became both tiresome to create and often with an appearance that didn't match other HIGs. > > Dr. Raney remedied the issue in the mid-90s by create the menu subclass of buttons, so we now have pulldowns, popups, and other common menu types that more closely match user expectations on supported platforms. > > On OS X, the contents of menu buttons are rendered using OS routines so they look and behave like standard menus. I hope to see the same on Ubuntu once we get Themes. > > Now that we have the menu subclass for buttons, the only time using stacks as menus are useful today is for non-textual menus, like popup galleries, color pickers, etc. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Nov 22 11:19:42 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 22 Nov 2014 08:19:42 -0800 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: <05B624A8-A7BC-45E3-9F80-27FA8DC30092@mac.com> References: <05B624A8-A7BC-45E3-9F80-27FA8DC30092@mac.com> Message-ID: <5470B79E.6070800@fourthworld.com> Graham Samuel wrote: > Thanks Richard, I rather suspected what you say might be true. I do > however think the documentation of this feature is a bit of disgrace > - really I could have dismissed the whole idea after one reading if > the description was more complete and had better examples. It would be very helpful if you could file a bug report on any issues in the Dictionary or elsewhere in the docs which contains erroneous or misleading info. We're putting together a documentation team (thanks to all who've offered to help thus far), and once the migration of the docs to markdown in Github is complete we'll be able to go through the bug DB to knock off items as fast as we can collectively type. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From mikedoub at gmail.com Sat Nov 22 12:16:57 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 22 Nov 2014 12:16:57 -0500 Subject: [ANN] Release 13 of the MasterLibrary is available In-Reply-To: <546FAEF9.6050906@gmail.com> References: <546F73D3.10902@gmail.com> <546FAEF9.6050906@gmail.com> Message-ID: <5470C509.6060006@gmail.com> Version 13 is available with the issue causing me to pull 12 is resolved. I also added another function that was created to help me do additional validation of the other positioning routines. I think this may be useful in general. Enjoy... Mike Release 13 * fixed a bug in __DummyTextData that was not allowing spaceabove and below to be inserted properly * fixed of bug in the __positionCharInFld that was masked by the not testing all conditions. * Added __LineRanges fuction, This routine returns data for each visable line within a requested field. startchar, endchar, height, wrap-position, spaceabove, spacebelow. Figuring out what fits and questions about boundary conditions are quite confusing. If the field positioning routines are not working for you. Please let me know, and I will share the test stack I used to try my best to understand these issues. On 11/21/14 4:30 PM, Michael Doub wrote: > I just pulled this back for more testing. I found a bug in the data > generator that was not inserting the spaceabove and below properly... > I deserves more testing. > > Sorry folks. A bit red faced here. > > -= Mike > > > On 11/21/14 12:18 PM, Michael Doub wrote: >> For the folks that we paying attention to the discussion about how to >> position the scroll to a particular line in a field, this might be of >> interest to you. I think I cracked the nut on how to figure out the >> scroll position for any character within a field. This includes >> getting the scroll for a character in a wrapped line. It also >> addresses spacebefore, spaceafter, firstindent, leftindent and >> rightIndent. I have done a fair amount of testing trying to catch >> the corner cases, but if you do find any issues please let me know. >> This was done with LC 6.6.4. >> >> -= Mike >> >> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 >> >> Release 12 >> * Added __positionCharInFld, adjusts the scroll of a field to have >> the designated character be at the top, >> center or bottom of the field. >> * Added __SoftLineBreaks, returns information about how the text >> within a field has been soft wrapped. >> >> Both of these functions were a bit challenging, please let me know if >> you discover any issues. >> >> * Added __DummyTextData, this generates data to go into a field >> with all of the different sizing >> conditions. This generated the data that I used to test the >> functions above. > From warren at warrensweb.us Sat Nov 22 13:23:45 2014 From: warren at warrensweb.us (Warren Samples) Date: Sat, 22 Nov 2014 12:23:45 -0600 Subject: LC Server on DreamHost? In-Reply-To: <546F98E6.2090207@pdslabs.net> References: <546B94D8.7060208@fourthworld.com> <546F98E6.2090207@pdslabs.net> Message-ID: <5470D4B1.1030806@warrensweb.us> On 11/21/2014 01:56 PM, Phil Davis wrote: > I'm glad it isn't just me: > http://quality.runrev.com/show_bug.cgi?id=13983 > > Phil Davis Phil, Your desktop utility shows a difference of about 8 to 10 times using your URLs and about 4 times using mine when run under 6.6.2. Opening the URLs in a browser continues to show a significant difference, but it's hard to quantify. Could you put a timer in the scripts themselves? Also, it seems probable from how they display in the utility and the browser that the scripts are not quite identical, with the one at not converting 'CR' to '
' as does (apparently) the other one. However doubtful it might be that this has serious impact, it would be best ensure they are identical. Warren From bodine at bodinetraininggames.com Sat Nov 22 13:23:50 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Sat, 22 Nov 2014 10:23:50 -0800 (PST) Subject: Can standalones give users the same Text formatting menu as in IDE? In-Reply-To: <5470AEEC.3040403@fourthworld.com> References: <1416606388703-4686125.post@n4.nabble.com> <6F2D46D9-31FD-4BDA-B831-48AD7DB889F6@m-r-d.de> <1416667554738-4686140.post@n4.nabble.com> <5470AEEC.3040403@fourthworld.com> Message-ID: <1416680630410-4686150.post@n4.nabble.com> Thanks Richard. Richard Gaskin wrote > LiveCode has one field object. It's not possible to use the field > object of an older version while running a newer version. Whatever > field properties and messages are available in a given engine version > are available to any field run in that version. Interesting. So, a stack created in a prior version of LC that contains a field from that version should automatically update when that stack is used in a later version of LC, even if the stack is password protected? Guess I had a more rigid concept of stacks and controls. Testing this out, though, I get an error from FieldTrip in LC 7.0.1 rc2 when access a field connected to Fieldtrip. (No description of error since "the stack is password protected". However, a field that was not in FieldTrip but was placed in an earlier version of LC does appear to immediately enable unicode text input in LC7. Richard Gaskin wrote > A few versions back (5.5.4 IIRC) the engine team added a means of > toggling text styles, which make implementing things like a Style menu > much simpler. In the past we have to examine the textStyle of the > selection and hope it was "mixed" in order to know who to update our > menu and apply or remove the style selected by the user. But today > textStyles can be set in a Boolean fashion individually: > > set the textStyle["bold"] of the selectedChunk to \ > (not the textStyle["bold"] of the selectedChunk > > Additionally, in older versions changing the textFont or textSize reset > both, but now all text attributes are managed separately. Good to know! My examples were apparently old school. I'll take another run at it using the info. you have provided and will report back if I run aground. I appreciate your help and insights! --Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-standalones-give-users-the-same-Text-formatting-menu-as-in-IDE-tp4686125p4686150.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Nov 22 13:36:18 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Nov 2014 12:36:18 -0600 Subject: the weight of an app In-Reply-To: <7E330824-9033-4C94-85C2-F911A5E9BB7F@logilangue.com> References: <7E330824-9033-4C94-85C2-F911A5E9BB7F@logilangue.com> Message-ID: <5470D7A2.40109@hyperactivesw.com> On 11/21/2014, 2:30 PM, Alain Vezina wrote: > Why the weight of an app is more than the double of what it was before? It's the huge unicode libraries, which need to be included in the build. RR is looking into ways to reduce their size, but they are required for all text processing now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bodine at bodinetraininggames.com Sat Nov 22 13:53:11 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Sat, 22 Nov 2014 10:53:11 -0800 (PST) Subject: fieldtrip (was re: Can standalones give users...) In-Reply-To: <5470ADAE.1020709@pair.com> References: <007401d00645$97377ad0$c5a67070$@FlexibleLearning.com> <111C9CCB-6DE7-4F3B-A259-7F6042EDE5BA@m-r-d.de> <5470ADAE.1020709@pair.com> Message-ID: <1416682391740-4686152.post@n4.nabble.com> Curry, An update would be great! Currently, my FieldTrip fields throw an error as soon as I give focus to those fields under LC 7.0.1 rc2 on Mac Mavericks. (This is a project created using FieldTrip and LC 6.5.1, that I now want to update to take advantage of LC v7 unicode.) Let me know if you need testers. Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/fieldtrip-was-re-Can-standalones-give-users-tp4686134p4686152.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sat Nov 22 15:25:23 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 22 Nov 2014 12:25:23 -0800 Subject: LC Server on DreamHost? In-Reply-To: <5470B1A2.8030004@warrensweb.us> References: <5470B1A2.8030004@warrensweb.us> Message-ID: <5470F133.9050802@fourthworld.com> Warren Samples wrote: > Unless there is a problem specific to the 64 bit engine it seems more > likely related to some issue with the DreamHost setup. Agreed. A four-fold increase in script processing time seems about average for the tests I've seen comparing 6.7 and 7.0; much beyond that seems like something with the host. Perhaps drop a note to DH Support to see if perhaps they've consolidated users or made any other changes that might increase load on the machine? > I do have a simple test script with a repeat loop and a list sort that > takes @ 4 times as long to execute with 7.0.0 as it does with earlier > versions, but Phil's script doesn't show anything like the same problem > here as it does on his DreamHost server. Consistent with my tests - Malte started a benchmarking project, which has been moving along nicely in its new home in the forums. The engine team is reviewing test scripts posted there, esp. those that can be run with LC Server. The reason for focusing on Server right now is two-fold: 1. It isolates rendering speed from other processing; they have a couple different areas they're working on rendering speed, so tests that isolate other processing are especially helpful to them right now. 2. It's really easy for them to run diagnostics from the command line. Here's my contribution to Malte's testing project: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From livfoss at mac.com Sat Nov 22 15:27:34 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 22 Nov 2014 21:27:34 +0100 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: <5470B79E.6070800@fourthworld.com> References: <05B624A8-A7BC-45E3-9F80-27FA8DC30092@mac.com> <5470B79E.6070800@fourthworld.com> Message-ID: OK will do. G Sent from my iPad > On 22 Nov 2014, at 17:19, Richard Gaskin wrote: > > Graham Samuel wrote: > > > Thanks Richard, I rather suspected what you say might be true. I do > > however think the documentation of this feature is a bit of disgrace > > - really I could have dismissed the whole idea after one reading if > > the description was more complete and had better examples. > > It would be very helpful if you could file a bug report on any issues in the Dictionary or elsewhere in the docs which contains erroneous or misleading info. > > We're putting together a documentation team (thanks to all who've offered to help thus far), and once the migration of the docs to markdown in Github is complete we'll be able to go through the bug DB to knock off items as fast as we can collectively type. > > -- > Richard Gaskin > LiveCode Community Manager > richard at livecode.org > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Sat Nov 22 15:29:37 2014 From: curry at pair.com (Curry Kenworthy) Date: Sat, 22 Nov 2014 14:29:37 -0600 Subject: fieldtrip (was re: Can standalones give users...) In-Reply-To: <1416682391740-4686152.post@n4.nabble.com> References: <1416682391740-4686152.post@n4.nabble.com> Message-ID: <5470F231.9090608@pair.com> > Let me know if you need testers. Thanks Tom, that would be helpful! I will include you in the testing. Best wishes, Curry K. From john at onechip.com Sat Nov 22 16:24:18 2014 From: john at onechip.com (John) Date: Sat, 22 Nov 2014 13:24:18 -0800 Subject: the weight of an app In-Reply-To: <5470D7A2.40109@hyperactivesw.com> References: <7E330824-9033-4C94-85C2-F911A5E9BB7F@logilangue.com> <5470D7A2.40109@hyperactivesw.com> Message-ID: Might there be something else going on? I made a simple stack (couple of buttons and a field that don?t do much) and compiled it as a standalone using LC6.7 and LC7.0.1 RC2. The Finder shows the version compiled in LC7.0.1 RC2. is 12.9 MB while the version compiled in LC6.7 is 5.6MB. By my math that is a difference of 7.3 MB which is presumably do to the unicode library. The difference seen by Alain is 26.9 MB. I have no idea why but it seems as if there is an additional 19.6 MB of something other than the unicode library. I have no idea what it is. It seems like a lot of extra bytes even if all of text in his app now takes multiple bytes to store. Is image storage less efficient in LC7? My 2 Cents, John > On Nov 22, 2014, at 10:36 AM, J. Landman Gay wrote: > > On 11/21/2014, 2:30 PM, Alain Vezina wrote: >> Why the weight of an app is more than the double of what it was before? > > It's the huge unicode libraries, which need to be included in the build. RR is looking into ways to reduce their size, but they are required for all text processing now. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Sat Nov 22 17:20:15 2014 From: smudge.andy at googlemail.com (AndyP) Date: Sat, 22 Nov 2014 14:20:15 -0800 (PST) Subject: Soon to be released Script Editor Themer plugin Message-ID: <1416694815242-4686157.post@n4.nabble.com> I have in progress a plugin which will allow color theming of the LiveCode script editor. Release date is expected to be Friday 5th December 2014. There is an existing forum thread on the LiveCode forum here The plugin will not be free and I have not yet set a price, so...... I have placed a poll on the site so that you the LiveCoder's can set the price! The poll shows the results in real time. I will not in any way alter the outcome. What ever the result is at 10am (CET) on the 5th December 2014 will be the cost. The poll and more information can be found here 2108.co.uk/script-editor-themer ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy My Tech site http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Soon-to-be-released-Script-Editor-Themer-plugin-tp4686157.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Sat Nov 22 20:07:12 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 22 Nov 2014 17:07:12 -0800 Subject: InfoWallet is free! Message-ID: <48984BA3-C7E0-4200-962F-CF4E3A938579@mac.com> Here is an early Black Friday special that will be permanent. InfoWallet is free (as in beer) to everyone. Share and enjoy. A big thank you to the LiveCode community and especially Geoff Canyon for all your help over the years. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) From pete at lcsql.com Sat Nov 22 21:00:39 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 22 Nov 2014 18:00:39 -0800 Subject: [OT] Android Material Design Message-ID: Has anyone got Android Lollipop yet? Some of the apps on my phone/tablet have beed updated to use the new Material Design look and I have to say it looks excellent, can't wait to get the Lollipop upgrade. I guess the natural next question is how does Material Design affect Livecode's ability to produce Android apps that follow its guidelines? It would be amazing if there was a product out there that could produce Material Design for the desktop. Not Livecode of course but I wonder if some enterprising person, or maybe even Google, would provide a way to do that. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From ambassador at fourthworld.com Sat Nov 22 22:26:54 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 22 Nov 2014 19:26:54 -0800 Subject: [OT] Android Material Design In-Reply-To: References: Message-ID: <547153FE.4020706@fourthworld.com> Peter Haworth wrote: > It would be amazing if there was a product out there that could produce > Material Design for the desktop. Not Livecode of course but I wonder if > some enterprising person, or maybe even Google, would provide a way to do > that. Quartz OS custom Linux distribution aims to bring Material Design to the desktop -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Sat Nov 22 22:38:57 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Nov 2014 19:38:57 -0800 Subject: any use of pass by reference breaks any omitted variable? Message-ID: Pass by reference *should* be something useful, but it seems half done. I have various handlers with optional parameters. It seems that if *any* parameter is passed by reference, omitting any variable causes a runtime error -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From Nakia.Brewer at westrac.com.au Sun Nov 23 00:29:24 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 23 Nov 2014 05:29:24 +0000 Subject: LC Script in PHP File Message-ID: <67116DB20798A94285EEE12A67079A28777029CE@MALEXC01.westrac.com.au> Hi, I am in the process of putting a web app together using the UserFrosting system as a starting point. I am slowly getting the hang of the framework and am now wishing to start using LC Server to do some backend crunching to render the pages. (Im not picking up PHP as fast as I hoped!) The UserFrosting system bases all of its page contents in PHP Files by design. For example the index file is index.php My question is, am I able to call LC functions from within a PHP file? For example, in the below page (which is a PHP file) Red content... SITE_ROOT, "#SITE_TITLE#" => SITE_TITLE, "#PAGE_TITLE#" => "Whiteboard")); ?>

Whiteboard Idea's register

A place for use to explore idea's between the group. Kind of like a contained forum for our idea's.
COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From dunbarx at aol.com Sun Nov 23 01:01:42 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 23 Nov 2014 01:01:42 -0500 Subject: any use of pass by reference breaks any omitted variable? In-Reply-To: References: Message-ID: <8D1D4FA16D9A232-1560-64055@webmail-m274.sysops.aol.com> Richard. Not sure what you mean. In this (variant from the user guide example): on mouseUp put 8 into someVariable put 5 into someOtherVariable setVariable someVariable,someOtherVariable answer "someVariable is now:" && someVariable end mouseUp on setVariable @incomingVar, at someOtherVariable add 1 to incomingVar end setVariable The variable someOtherVariable is not explicitly handled. Obviously I am missing your point. Where is your handler failing? Craig -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Sat, Nov 22, 2014 10:39 pm Subject: any use of pass by reference breaks any omitted variable? Pass by reference *should* be something useful, but it seems half done. I have various handlers with optional parameters. It seems that if *any* parameter is passed by reference, omitting any variable causes a runtime error -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Sun Nov 23 02:09:57 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 23 Nov 2014 15:09:57 +0800 Subject: LC Script in PHP File In-Reply-To: <67116DB20798A94285EEE12A67079A28777029CE@MALEXC01.westrac.com.au> References: <67116DB20798A94285EEE12A67079A28777029CE@MALEXC01.westrac.com.au> Message-ID: <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> You should be able to use file_get_contents in PHP to do what you want. Though it will take longer to get the results from LiveCode than it would from PHP. Here is an example: PHP file: Testing Getting Results From Website

LiveCode file: "" then put "Peter" into tName else put "World" into tName end if put header "Content-Type: text/html" put "" put "" put "My LiveCode Server Test Page" put "" put "" put "

My LiveCode Server Test Page

" put "

Hello" && tName && "from LiveCode Server

" put "

The date is" && the internet date & "

" put "

" & the second char of "12345" & "

" put "" put "" ?> Results: My LiveCode Server Test Page Hello World from LiveCode Server The date is Sun, 23 Nov 2014 14:27:24 +0800 2 Hope this helps. Peter > On 23 Nov 2014, at 13:29, Nakia Brewer wrote: > > Hi, > > I am in the process of putting a web app together using the UserFrosting system as a starting point. > I am slowly getting the hang of the framework and am now wishing to start using LC Server to do some backend crunching to render the pages. (Im not picking up PHP as fast as I hoped!) > > The UserFrosting system bases all of its page contents in PHP Files by design. > > For example the index file is index.php > > My question is, am I able to call LC functions from within a PHP file? > > For example, in the below page (which is a PHP file) > Red content... > > /* From revdev at pdslabs.net Sun Nov 23 02:32:02 2014 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 22 Nov 2014 23:32:02 -0800 Subject: LC Server on DreamHost? In-Reply-To: <5470D4B1.1030806@warrensweb.us> References: <546B94D8.7060208@fourthworld.com> <546F98E6.2090207@pdslabs.net> <5470D4B1.1030806@warrensweb.us> Message-ID: <54718D72.9020101@pdslabs.net> On 11/22/14 10:23 AM, Warren Samples wrote: > On 11/21/2014 01:56 PM, Phil Davis wrote: >> I'm glad it isn't just me: >> http://quality.runrev.com/show_bug.cgi?id=13983 >> >> Phil Davis > > > Phil, > > Your desktop utility shows a difference of about 8 to 10 times using > your URLs and about 4 times using mine when run under 6.6.2. Opening > the URLs in a browser continues to show a significant difference, but > it's hard to quantify. Could you put a timer in the scripts themselves? New URLs: http://ctrainweb.com/test3.lc http://support.nweta.com/test3.lc Very interesting! The scripts run quite speedily on both servers. > Also, it seems probable from how they display in the utility and the > browser that the scripts are not quite identical, with the one at > not converting 'CR' to '
' as does > (apparently) the other one. However doubtful it might be that this has > serious impact, it would be best ensure they are identical. Done. Here is the 'test3.lc' script: --- start --- " in tOutput put the long seconds - tStart && "secs
" put tOutput put the long seconds - tStart2 && "secs
" ?> --- end --- Phil > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From jbv at souslelogo.com Sun Nov 23 03:23:23 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sun, 23 Nov 2014 10:23:23 +0200 Subject: LC Script in PHP File In-Reply-To: <67116DB20798A94285EEE12A67079A28777029CE@MALEXC01.westrac.com.au> References: <67116DB20798A94285EEE12A67079A28777029CE@MALEXC01.westrac.com.au> Message-ID: Hi You can also use the curl function if your LC script is located on a server : $data = 'http://myDomain/lc/myLCscript.lc?a=' . $myVar; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); I use this method very often in my php scripts and find it very easy to maintain. Best jbv > Hi, > > I am in the process of putting a web app together using the UserFrosting > system as a starting point. > I am slowly getting the hang of the framework and am now wishing to start > using LC Server to do some backend crunching to render the pages. (Im not > picking up PHP as fast as I hoped!) > > The UserFrosting system bases all of its page contents in PHP Files by > design. > > For example the index file is index.php > > My question is, am I able to call LC functions from within a PHP file? > > For example, in the below page (which is a PHP file) > Red content... > > /* > > UserFrosting Version: 0.2.1 (beta) > By Alex Weissman > Copyright (c) 2014 > > Based on the UserCake user management system, v2.0.2. > Copyright (c) 2009-2012 > > UserFrosting, like UserCake, is 100% free and open-source. > > Permission is hereby granted, free of charge, to any person obtaining a > copy > of this software and associated documentation files (the 'Software'), to > deal > in the Software without restriction, including without limitation the > rights > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell > copies of the Software, and to permit persons to whom the Software is > furnished to do so, subject to the following conditions: > The above copyright notice and this permission notice shall be included in > all copies or substantial portions of the Software. > > THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL > THE > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > FROM, > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN > THE SOFTWARE. > > */ > > require_once("../models/config.php"); > > if (!securePage(__FILE__)){ > // Forward to index page > addAlert("danger", "Whoops, looks like you don't have permission to view > that page."); > header("Location: 404.php"); > exit(); > } > > setReferralPage(getAbsoluteDocumentPath(__FILE__)); > > ?> > > > > echo renderAccountPageHeader(array("#SITE_ROOT#" => SITE_ROOT, > "#SITE_TITLE#" => SITE_TITLE, "#PAGE_TITLE#" => "Whiteboard")); > ?> > > > >
> > > echo renderMenu("whiteboard"); > ?> >
>
>
>

Whiteboard Idea's register

> >
> > A place for use to explore idea's between the group. Kind of > like a contained forum for our idea's. >
>
>
>
>
>
>
> > > > > > > >
> >
> > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may > contain confidential proprietary or privileged information. If you are not > the intended recipient, you are strictly prohibited from using, > reproducing, disclosing or distributing the information contained in this > email without authorisation from WesTrac. If you have received this > message in error please contact WesTrac on +61 8 9377 9444. We do not > accept liability in connection with computer virus, data corruption, > delay, interruption, unauthorised access or unauthorised amendment. We > reserve the right to monitor all e-mail communications. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave at applicationinsight.com Sun Nov 23 05:01:51 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 23 Nov 2014 02:01:51 -0800 (PST) Subject: [OT] Android Material Design In-Reply-To: References: Message-ID: <1416736911282-4686167.post@n4.nabble.com> Yep 'material design' IS nice and can accessed on browsers via Google Polymer http://itshackademic.com/ - and there are some nice tutorials here http://itshackademic.com/codelabs I understand Mozilla has a similar project called 'brick' (http://brick.mozilla.io/) - but I've never played with brick so you'll have to get Andre to explain! Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Android-Material-Design-tp4686159p4686167.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Sun Nov 23 06:05:18 2014 From: livfoss at mac.com (Graham Samuel) Date: Sun, 23 Nov 2014 12:05:18 +0100 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: References: <05B624A8-A7BC-45E3-9F80-27FA8DC30092@mac.com> <5470B79E.6070800@fourthworld.com> Message-ID: <5EB2FD19-713D-46C1-B480-4391A9995995@mac.com> Bug 14082 - BTW, I don?t regard the entry as actually erroneous, just incomplete and misleading! Graham > On 22 Nov 2014, at 21:27, Graham Samuel wrote: > > OK will do. > > G > > Sent from my iPad > >> On 22 Nov 2014, at 17:19, Richard Gaskin wrote: >> >> Graham Samuel wrote: >> >>> Thanks Richard, I rather suspected what you say might be true. I do >>> however think the documentation of this feature is a bit of disgrace >>> - really I could have dismissed the whole idea after one reading if >>> the description was more complete and had better examples. >> >> It would be very helpful if you could file a bug report on any issues in the Dictionary or elsewhere in the docs which contains erroneous or misleading info. >> >> We're putting together a documentation team (thanks to all who've offered to help thus far), and once the migration of the docs to markdown in Github is complete we'll be able to go through the bug DB to knock off items as fast as we can collectively type. >> >> -- >> Richard Gaskin >> LiveCode Community Manager >> richard at livecode.org >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Sun Nov 23 06:22:50 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sun, 23 Nov 2014 11:22:50 +0000 Subject: LC Script in PHP File In-Reply-To: <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> References: <67116DB20798A94285EEE12A67079A28777029CE@MALEXC01.westrac.com.au>, <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> Message-ID: Okay, this seems to make sense. Thanks for your help, I'll give it a go tomorrow.. I'm slowly getting there with PHP, it's just taking a little longer than it took me to pick up LC... Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 m: 0458 713 547 i: www.westrac.com.au ACN 009 342 572 On 23 Nov 2014, at 6:10 pm, Peter W A Wood > wrote: You should be able to use file_get_contents in PHP to do what you want. Though it will take longer to get the results from LiveCode than it would from PHP. Here is an example: PHP file: Testing Getting Results From Website

LiveCode file: "" then put "Peter" into tName else put "World" into tName end if put header "Content-Type: text/html" put "" put "" put "My LiveCode Server Test Page" put "" put "" put "

My LiveCode Server Test Page

" put "

Hello" && tName && "from LiveCode Server

" put "

The date is" && the internet date & "

" put "

" & the second char of "12345" & "

" put "" put "" ?> Results: My LiveCode Server Test Page Hello World from LiveCode Server The date is Sun, 23 Nov 2014 14:27:24 +0800 2 Hope this helps. Peter On 23 Nov 2014, at 13:29, Nakia Brewer > wrote: Hi, I am in the process of putting a web app together using the UserFrosting system as a starting point. I am slowly getting the hang of the framework and am now wishing to start using LC Server to do some backend crunching to render the pages. (Im not picking up PHP as fast as I hoped!) The UserFrosting system bases all of its page contents in PHP Files by design. For example the index file is index.php My question is, am I able to call LC functions from within a PHP file? For example, in the below page (which is a PHP file) Red content... Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From ambassador at fourthworld.com Sun Nov 23 12:45:51 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 23 Nov 2014 09:45:51 -0800 Subject: LC Script in PHP File In-Reply-To: <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> References: <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> Message-ID: <54721D4F.2070201@fourthworld.com> Peter W A Wood wrote: > You should be able to use file_get_contents in PHP to do what you > want. Though it will take longer to get the results from LiveCode > than it would from PHP. Why would that be? In general (and pre-7.0) LC used to perform roughly on par with PHP. Where has it fallen down on the job? Given the role of memory and performance for scaling, if we want to see LC Server taken seriously as a professional server tool we need to identify and eliminate any significant performance difference between it and PHP. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hello at simonsmith.co Sun Nov 23 14:05:47 2014 From: hello at simonsmith.co (Simon Smith) Date: Sun, 23 Nov 2014 21:05:47 +0200 Subject: LC Script in PHP File In-Reply-To: <54721D4F.2070201@fourthworld.com> References: <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> <54721D4F.2070201@fourthworld.com> Message-ID: I just think Peter means that there would be an additional step in the process - instead of executing a single script, you are executing 2. On Sun, Nov 23, 2014 at 7:45 PM, Richard Gaskin wrote: > Peter W A Wood wrote: > > You should be able to use file_get_contents in PHP to do what you > > want. Though it will take longer to get the results from LiveCode > > than it would from PHP. > > Why would that be? > > In general (and pre-7.0) LC used to perform roughly on par with PHP. Where > has it fallen down on the job? > > Given the role of memory and performance for scaling, if we want to see LC > Server taken seriously as a professional server tool we need to identify > and eliminate any significant performance difference between it and PHP. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From peterwawood at gmail.com Sun Nov 23 17:00:15 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 24 Nov 2014 06:00:15 +0800 Subject: LC Script in PHP File In-Reply-To: <54721D4F.2070201@fourthworld.com> References: <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> <54721D4F.2070201@fourthworld.com> Message-ID: <6356AA9A-5410-4D12-B6E7-1B559A5D65A9@gmail.com> Richard As Simon mentioned, ?calling? a LiveCode function by running a cgi script will be slower than a simple function call. Running a very simple LiveCode cgi script takes a few hundred milliseconds. A function call will take a few milliseconds. On my machine, which has a solid-state drive, I ran two simple test scripts: The PHP script took 76 milliseconds The PHP script which ?calls" LiveCode took 261 milliseconds I have PHP installed as an Apache module so running a PHP script will always be faster than running a LiveCode script. The performance of LiveCode and PHP would be the same if either PHP was being run in the same fashion as LiveCode (i.e. using CGI) or there was a LiveCode Apache Module. I suspect this makes little difference to shared hosting user as I understand that many shared hosts do not run PHP as an Apache module. It will make a difference to people running on dedicated servers (virtual or physical). Also LiveCode server users are also disadvantaged compared with PHP users as there is no FastCGI version of LiveCode that can be run in connection with nginx. Regards Peeter > On 24 Nov 2014, at 01:45, Richard Gaskin wrote: > > Peter W A Wood wrote: > > You should be able to use file_get_contents in PHP to do what you > > want. Though it will take longer to get the results from LiveCode > > than it would from PHP. > > Why would that be? > > In general (and pre-7.0) LC used to perform roughly on par with PHP. Where has it fallen down on the job? > > Given the role of memory and performance for scaling, if we want to see LC Server taken seriously as a professional server tool we need to identify and eliminate any significant performance difference between it and PHP. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Sun Nov 23 22:33:51 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 24 Nov 2014 11:33:51 +0800 Subject: Comparison of Speed of LiveCode with PHP Message-ID: In a previous email Richard Gaskin, the LiveCode Community Manager, wrote "Given the role of memory and performance for scaling, if we want to see LC Server taken seriously as a professional server tool we need to identify and eliminate any significant performance difference between it and PHP.? I thought that it would be worth spending a little time to compare the speed of LiveCode against the speed of PHP. I came up with a test based loosely on Carl Sassenrath?s Rebol Speed Script ( http://www.rebol.com/cgi-bin/blog.r?view=0506 ). I have found it a useful base for writing comparative scripts (either comparing languages on a single machine or comparing machines using a single language). It is far from perfect in a multi-tasking environment but I believe provides decent comparative data. I have attached two scripts, speedtest.lc and speedtest.php. I?m sure that both could be improved significantly and welcome such improvements. The results of running the two scripts on my machine, LiveCode 7.0.0-rc-3 and PHP 5.5.14 are: Schulz:LiveCodeServer peter$ ./speedtest.lc LiveCode Speed Test Started The CPU test took: 2851 ms The Memory test took: 3656 ms The File System test took: 1975 ms LiveCode Speed Test Finished Schulz:LiveCodeServer peter$ ./speedtest.php PHP Speed Test Started The CPU test took: 3921 ms The Memory test took: 1200 ms The File System test took: 666 ms PHP Speed Test Finished So it seems the LiveCode has the edge on PHP when it comes to calculations but not on memory access or file access. The memory test relies on using arrays, I'm not sure if that is the best way to test memory access. Regards Peter Speedtest.lc #!livecode if the platform = "MacOS" then set the outputLineEndings to "lf" end if put "LiveCode Speed Test Started" & return ##cpu test put the millisecs into tStart repeat with i = 1 to 10000000 put sqrt(exp(i)) into tTemp end repeat put the millisecs into tEnd put "The CPU test took: " && tEnd - tStart && "ms" & return ##Memory Access put the millisecs into tStart repeat with i = 1 to 1000000 put random(255) into tMem[i] end repeat put the millisecs into tEnd put "The Memory test took: " && tEnd - tStart && "ms" & return ##Filesystem open file "test.tmp" put the millisecs into tStart repeat with i = 1 to 100000 write "This is a test of the write speed" && random(255) to file "test.tmp" read from file "test.tmp" for 1 line end repeat put the millisecs into tEnd put "The File System test took:" && tEnd - tStart && "ms" & return delete file "test.tmp" ##Finish put "LiveCode Speed Test Finished" & return Speedtest.php #!/usr/bin/php From stephenREVOLUTION2 at barncard.com Sun Nov 23 22:55:24 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 23 Nov 2014 19:55:24 -0800 Subject: LC Server on DreamHost? In-Reply-To: <54718D72.9020101@pdslabs.net> References: <546B94D8.7060208@fourthworld.com> <546F98E6.2090207@pdslabs.net> <5470D4B1.1030806@warrensweb.us> <54718D72.9020101@pdslabs.net> Message-ID: would you consider this script to be comparative to the "complexity" of phpInfo() ? anyway I don't think the slowdown I'm seeing at Dreamhost would be caught in this benchmark. Once LC is loaded, it quite speedy. But on the server it has to restart for every page load. my livecode test script was basically the same as yours....except I use the .irev suffix on the file. " && sSiteName && "" && \ "

" && sSiteADDR && \ " " && "(your IP:" && sRemoteADDR && ")" &\ "

" && \ "

" &\ "SERVER TEST | " && \ "server: Livecode" && "|" && \ "OS:" && the platform && "|" && \ "Engine:" && the version && "

" into sComposedTitle ?> <?lc put "LIVECODE SERVER TEST @" & sSiteName ?>

Server Globals


*--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Sat, Nov 22, 2014 at 11:32 PM, Phil Davis wrote: > > On 11/22/14 10:23 AM, Warren Samples wrote: > >> On 11/21/2014 01:56 PM, Phil Davis wrote: >> >>> I'm glad it isn't just me: >>> http://quality.runrev.com/show_bug.cgi?id=13983 >>> >>> Phil Davis >>> >> >> >> Phil, >> >> Your desktop utility shows a difference of about 8 to 10 times using your >> URLs and about 4 times using mine when run under 6.6.2. Opening the URLs in >> a browser continues to show a significant difference, but it's hard to >> quantify. Could you put a timer in the scripts themselves? >> > > New URLs: > http://ctrainweb.com/test3.lc > http://support.nweta.com/test3.lc > > Very interesting! The scripts run quite speedily on both servers. > > Also, it seems probable from how they display in the utility and the >> browser that the scripts are not quite identical, with the one at < >> http://ctrainweb.com/test2.lc> not converting 'CR' to '
' as does >> (apparently) the other one. However doubtful it might be that this has >> serious impact, it would be best ensure they are identical. >> > > Done. Here is the 'test3.lc' script: > --- start --- > put the long seconds into tStart > put tStart into tStart2 > put "LC version" && the version & CR & "SYSTEM VERSION" && the > systemVersion & CR & the time & CR after tOutput > repeat with x = 1 to 3 > put x & CR after tOutput > end repeat > put CR > put the keys of $_SERVER into tList > sort lines of tList > repeat for each line tKey in tList > if $_SERVER[tKey] is an array > then put "[" & tKey & "]" & CR after tOutput > else put tKey && "=" && $_SERVER[tKey] & CR after tOutput > end repeat > replace CR with "
" in tOutput > put the long seconds - tStart && "secs
" > put tOutput > put the long seconds - tStart2 && "secs
" > ?> > --- end --- > > Phil > > >> Warren >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > -- > Phil Davis > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Sun Nov 23 23:17:49 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 24 Nov 2014 12:17:49 +0800 Subject: LC Server on DreamHost? In-Reply-To: References: <546B94D8.7060208@fourthworld.com> <546F98E6.2090207@pdslabs.net> <5470D4B1.1030806@warrensweb.us> <54718D72.9020101@pdslabs.net> Message-ID: <6AC7FFC6-73D7-4722-8479-27EF64A9273E@gmail.com> Stephen Some time ago, I ran some tests to measure the comparative startup times of PHP, LiveCode and HTML on On-rev. The two scripts are simple: Livecode I've started

" ?> PHP I've started

" ?> HTML

I've started

Trying these simple pages should give a good indication if the startup time of LiveCode is the problem on Dreamhost. Regards Peter PS I used a ruby script running on the server to access the three pages to reduce the effect of network delays on the response times. > On 24 Nov 2014, at 11:55, stephen barncard wrote: > > would you consider this script to be comparative to the "complexity" of > phpInfo() ? > > anyway I don't think the slowdown I'm seeing at Dreamhost would be caught > in this benchmark. Once LC is loaded, it quite speedy. But on the > server it has to restart for every page load. > > my livecode test script was basically the same as yours....except I use the > .irev suffix on the file. > > -- NEW UNIVERSAL VERSION 20111114 > > put $_SERVER[SERVER_NAME] into sSiteName > put $_SERVER[SERVER_ADDR] into sSiteADDR > put $_SERVER[REMOTE_ADDR] into sRemoteADDR > put \ > "

" && sSiteName && "

" && \ > "

" && sSiteADDR && \ > " " && "(your IP:" && sRemoteADDR && > ")" &\ > "

" && \ > "

" &\ > "SERVER TEST | " && \ > "server: Livecode" && "|" && \ > "OS:" && the platform && "|" && \ > "Engine:" && the version && "

" into sComposedTitle > ?> > > > > > <?lc put "LIVECODE SERVER TEST @" & sSiteName ?> > > > > command outputRow pLabel, pValue > ?> > > > > > > > > > > > end outputRow > ?> > >
> put sComposedTitle ?> >
> >

Server Globals

>
> > > repeat for each key tKey in $_SERVER > outputRow tKey, $_SERVER[tKey] > end repeat > ?> >
> > > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > > On Sat, Nov 22, 2014 at 11:32 PM, Phil Davis wrote: > >> >> On 11/22/14 10:23 AM, Warren Samples wrote: >> >>> On 11/21/2014 01:56 PM, Phil Davis wrote: >>> >>>> I'm glad it isn't just me: >>>> http://quality.runrev.com/show_bug.cgi?id=13983 >>>> >>>> Phil Davis >>>> >>> >>> >>> Phil, >>> >>> Your desktop utility shows a difference of about 8 to 10 times using your >>> URLs and about 4 times using mine when run under 6.6.2. Opening the URLs in >>> a browser continues to show a significant difference, but it's hard to >>> quantify. Could you put a timer in the scripts themselves? >>> >> >> New URLs: >> http://ctrainweb.com/test3.lc >> http://support.nweta.com/test3.lc >> >> Very interesting! The scripts run quite speedily on both servers. >> >> Also, it seems probable from how they display in the utility and the >>> browser that the scripts are not quite identical, with the one at < >>> http://ctrainweb.com/test2.lc> not converting 'CR' to '
' as does >>> (apparently) the other one. However doubtful it might be that this has >>> serious impact, it would be best ensure they are identical. >>> >> >> Done. Here is the 'test3.lc' script: >> --- start --- >> > put the long seconds into tStart >> put tStart into tStart2 >> put "LC version" && the version & CR & "SYSTEM VERSION" && the >> systemVersion & CR & the time & CR after tOutput >> repeat with x = 1 to 3 >> put x & CR after tOutput >> end repeat >> put CR >> put the keys of $_SERVER into tList >> sort lines of tList >> repeat for each line tKey in tList >> if $_SERVER[tKey] is an array >> then put "[" & tKey & "]" & CR after tOutput >> else put tKey && "=" && $_SERVER[tKey] & CR after tOutput >> end repeat >> replace CR with "
" in tOutput >> put the long seconds - tStart && "secs
" >> put tOutput >> put the long seconds - tStart2 && "secs
" >> ?> >> --- end --- >> >> Phil >> >> >>> Warren >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> -- >> Phil Davis >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Nov 23 23:29:22 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 23 Nov 2014 20:29:22 -0800 Subject: LC Script in PHP File Message-ID: <7vqk2ipwlv41s3rl61kpe4ex.1416803028357@email.android.com> Peter Wood wrote: > The performance of LiveCode and? > PHP would be the same if either PHP > was being run in the same fashion as > LiveCode (i.e. using CGI) or there was? > a LiveCode Apache Module. What would it take to make an Apache module for LiveCode?? Richard Gaskin Fourth World Systems http://www.FourthWorld.com From stephenREVOLUTION2 at barncard.com Mon Nov 24 00:28:23 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 23 Nov 2014 21:28:23 -0800 Subject: LC Server on DreamHost? In-Reply-To: <6AC7FFC6-73D7-4722-8479-27EF64A9273E@gmail.com> References: <546B94D8.7060208@fourthworld.com> <546F98E6.2090207@pdslabs.net> <5470D4B1.1030806@warrensweb.us> <54718D72.9020101@pdslabs.net> <6AC7FFC6-73D7-4722-8479-27EF64A9273E@gmail.com> Message-ID: On Sun, Nov 23, 2014 at 8:17 PM, Peter W A Wood wrote: > Some time ago, I ran some tests to measure the comparative startup times > of PHP, LiveCode and HTML on On-rev. The two scripts are simple: > > Livecode > I've started

" > ?> > > PHP > I've started

" > ?> > > HTML >

I've started

> I don't see Livecode being called here in any way. ??? And I don't use On-Rev. I believe On-Rev alters Apache. My comment was regarding using the htaccess cgi methods on Dreamhost, livecode vs PHP. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From monte at sweattechnologies.com Mon Nov 24 00:56:38 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 24 Nov 2014 16:56:38 +1100 Subject: LC Script in PHP File In-Reply-To: <7vqk2ipwlv41s3rl61kpe4ex.1416803028357@email.android.com> References: <7vqk2ipwlv41s3rl61kpe4ex.1416803028357@email.android.com> Message-ID: On 24 Nov 2014, at 3:29 pm, Richard Gaskin wrote: > What would it take to make an Apache module for LiveCode? Apache modules themselves don't look all that complicated. As far as LC goes as long as you don't support threaded mpms it should be largely a matter of handling the request and setting the globals up then passing headers and output via the module api rather than stdout. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From peterwawood at gmail.com Mon Nov 24 01:02:22 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 24 Nov 2014 14:02:22 +0800 Subject: LC Server on DreamHost? In-Reply-To: References: <546B94D8.7060208@fourthworld.com> <546F98E6.2090207@pdslabs.net> <5470D4B1.1030806@warrensweb.us> <54718D72.9020101@pdslabs.net> <6AC7FFC6-73D7-4722-8479-27EF64A9273E@gmail.com> Message-ID: <46380237-6741-4575-B8BF-58FA98D1C135@gmail.com> Stephen > On 24 Nov 2014, at 13:28, stephen barncard wrote: > > On Sun, Nov 23, 2014 at 8:17 PM, Peter W A Wood > wrote: > >> Some time ago, I ran some tests to measure the comparative startup times >> of PHP, LiveCode and HTML on On-rev. The two scripts are simple: >> >> Livecode >> I've started

" >> ?> >> >> PHP >> I've started

" >> ?> >> >> HTML >>

I've started

>> > > I don't see Livecode being called here in any way. ??? Oops. I copy and pasted the wrong file. The LiveCode version was: I've started

" ?> > And I don't use On-Rev. I believe On-Rev alters Apache. I don?t know. On-rev does not have mod_php installed so PHP runs as a cgi script. If I remember correctly, the last tests that I ran showed that LiveCode and PHP loaded in very similar times. These results suggest that LiveCode was running as a cgi on On-Rev. > My comment was regarding using the htaccess cgi methods on Dreamhost, > livecode vs PHP. I shared the web pages/scripts as a means of finding out if the issue with LiveCode on Dreamhost is during the time LiveCode is loading. There are an easy way to roughly compare the load times of HTML, PHP and LiveCode on any host. Regards Peter From hello at simonsmith.co Mon Nov 24 08:34:44 2014 From: hello at simonsmith.co (Simon Smith) Date: Mon, 24 Nov 2014 15:34:44 +0200 Subject: LC Script in PHP File In-Reply-To: References: <7vqk2ipwlv41s3rl61kpe4ex.1416803028357@email.android.com> Message-ID: Would supporting Fast CGI not be a better way forward? On Mon, Nov 24, 2014 at 7:56 AM, Monte Goulding wrote: > > On 24 Nov 2014, at 3:29 pm, Richard Gaskin > wrote: > > > What would it take to make an Apache module for LiveCode? > > > Apache modules themselves don't look all that complicated. As far as LC > goes as long as you don't support threaded mpms it should be largely a > matter of handling the request and setting the globals up then passing > headers and output via the module api rather than stdout. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From gcanyon at gmail.com Mon Nov 24 10:31:53 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 24 Nov 2014 09:31:53 -0600 Subject: Comparison of Speed of LiveCode with PHP In-Reply-To: References: Message-ID: My PHP is weak, but if the memory access test is a regular array, then comparing it to a livecode array is somewhat apples and oranges, since LC is really a hash. But on the other hand, there's no way to do a simple array in LC, so it's not like you can do better. For the file access test, your test is pretty much apples to apples, but it would be interesting to compare it to URL access: build the whole string and write it out, then read the whole thing in and split it. That wouldn't be a fair comparison, but it would be interesting. gc On Sun, Nov 23, 2014 at 9:33 PM, Peter W A Wood wrote: > In a previous email Richard Gaskin, the LiveCode Community Manager, wrote > "Given the role of memory and performance for scaling, if we want to see LC > Server taken seriously as a professional server tool we need to identify > and eliminate any significant performance difference between it and PHP.? > > I thought that it would be worth spending a little time to compare the > speed of LiveCode against the speed of PHP. I came up with a test based > loosely on Carl Sassenrath?s Rebol Speed Script ( > http://www.rebol.com/cgi-bin/blog.r?view=0506 ). I have found it a useful > base for writing comparative scripts (either comparing languages on a > single machine or comparing machines using a single language). It is far > from perfect in a multi-tasking environment but I believe provides decent > comparative data. > > I have attached two scripts, speedtest.lc and speedtest.php. I?m sure > that both could be improved significantly and welcome such improvements. > The results of running the two scripts on my machine, LiveCode 7.0.0-rc-3 > and PHP 5.5.14 are: > > Schulz:LiveCodeServer peter$ ./speedtest.lc > LiveCode Speed Test Started > The CPU test took: 2851 ms > The Memory test took: 3656 ms > The File System test took: 1975 ms > LiveCode Speed Test Finished > > Schulz:LiveCodeServer peter$ ./speedtest.php > PHP Speed Test Started > The CPU test took: 3921 ms > The Memory test took: 1200 ms > The File System test took: 666 ms > PHP Speed Test Finished > > So it seems the LiveCode has the edge on PHP when it comes to calculations > but not on memory access or file access. > > The memory test relies on using arrays, I'm not sure if that is the best > way to test memory access. > > Regards > > Peter > > Speedtest.lc > > #!livecode > > if the platform = "MacOS" then > set the outputLineEndings to "lf" > end if > > put "LiveCode Speed Test Started" & return > > ##cpu test > put the millisecs into tStart > repeat with i = 1 to 10000000 > put sqrt(exp(i)) into tTemp > end repeat > put the millisecs into tEnd > put "The CPU test took: " && tEnd - tStart && "ms" & return > > ##Memory Access > put the millisecs into tStart > repeat with i = 1 to 1000000 > put random(255) into tMem[i] > end repeat > put the millisecs into tEnd > put "The Memory test took: " && tEnd - tStart && "ms" & return > > ##Filesystem > open file "test.tmp" > put the millisecs into tStart > repeat with i = 1 to 100000 > write "This is a test of the write speed" && random(255) to file > "test.tmp" > read from file "test.tmp" for 1 line > end repeat > put the millisecs into tEnd > put "The File System test took:" && tEnd - tStart && "ms" & return > delete file "test.tmp" > > ##Finish > put "LiveCode Speed Test Finished" & return > > Speedtest.php > > #!/usr/bin/php > > > print "PHP Speed Test Started\n"; > > //cpu test > $start = microtime(true); > for( $i = 0; $i < 10000000; $i++ ) { > $temp = sqrt(exp($i)); > } > $end = microtime(true); > $time = ($end - $start) * 1000 + 0.5; > printf("The CPU test took: %5.0f ms\n", $time); > > //Memory Access > $start = microtime(true); > for( $i = 0; $i < 1000000; $i++ ) { > $mem[i] = rand(0, 255); > } > $end = microtime(true); > $time = ($end - $start) * 1000 + 0.5; > printf("The Memory test took: %5.0f ms\n", $time); > > //Filesystem > $file = fopen("test.tmp", "w+"); > $start = microtime(true); > for( $i = 0; $i < 100000; $i++ ) { > rewind($file); > fwrite($file, "This is a test of the write speed".rand(0,255)); > fread($file, 34); > } > $end = microtime(true); > $time = ($end - $start) * 1000 + 0.5; > printf("The File System test took: %5.0f ms\n", $time); > unlink("test.tmp"); > > //Finish > print "PHP Speed Test Finished\n"; > > ?> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Mon Nov 24 10:42:27 2014 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 24 Nov 2014 13:42:27 -0200 Subject: Comparison of Speed of LiveCode with PHP In-Reply-To: References: Message-ID: Hi Peter, Thanks for your testing! I think we're approaching this performance issue wrong. Most webapps will be I/O bound and not CPU bound. Calculations are not the most common thing going on but I/O in the sense of reading and writing from database and files are. Also the only way to deal with structured data in memory in a straight forward way is LiveCode multilevel arrays but there is no built-in way to serialize these arrays for consumption outside of LiveCode. For example, a common thing these days is to have your client-side HTML5 code calling back your server-side code for more information which is normally presented in JSON but LiveCode has no built-in function for JSON encoding and decoding, so both operations happen in pure transcript (or whatever they are calling it these days) which will make it really slow. If we want LiveCode to have better performance we need ways to improve I/O. Things that would be good and have a real impact out of the box: - JSON and XML encode and decode functions in the engine. - Non-blocking DB routines A different issue is scalability. Right now, LiveCode Server works in CGI mode which is very straight forward but it is not the most scalable thing under the sun. When I say scale, I am not saying things such as serving 5.000 users. Serving a couple thousand users is easy. I am saying serving some hundred thousand users with complex server side logic, afterall doing 100.000 hello worlds is easy. PHP is going thru lots of revolutions in the form of the Facebook initiatives such as "hack" (new PHP variation), that VM they created and the little compiler they created which I forgot the name. The PHP developers are also pushing PHPNG and other gizmos. Even current generation PHP is not usually server with CGI technology. Ruby, Node, Python, Clojure, Java, none are served with CGI. Most of them could be used as CGI but no one is using them this way. CGI is easy but it is not scalable. Imagine that if you were serving 10.000 concurrent requests on your little server farm, you're have a collection of 10.000 LiveCode server processes between your servers. What we need is something like Python WSGI or a non-blocking engine such as Node. Then we could with a simple pool of couple LiveCode engine instances serve a lot of people. On Mon, Nov 24, 2014 at 1:33 AM, Peter W A Wood wrote: > In a previous email Richard Gaskin, the LiveCode Community Manager, wrote > "Given the role of memory and performance for scaling, if we want to see LC > Server taken seriously as a professional server tool we need to identify > and eliminate any significant performance difference between it and PHP.? > > I thought that it would be worth spending a little time to compare the > speed of LiveCode against the speed of PHP. I came up with a test based > loosely on Carl Sassenrath?s Rebol Speed Script ( > http://www.rebol.com/cgi-bin/blog.r?view=0506 ). I have found it a useful > base for writing comparative scripts (either comparing languages on a > single machine or comparing machines using a single language). It is far > from perfect in a multi-tasking environment but I believe provides decent > comparative data. > > I have attached two scripts, speedtest.lc and speedtest.php. I?m sure > that both could be improved significantly and welcome such improvements. > The results of running the two scripts on my machine, LiveCode 7.0.0-rc-3 > and PHP 5.5.14 are: > > Schulz:LiveCodeServer peter$ ./speedtest.lc > LiveCode Speed Test Started > The CPU test took: 2851 ms > The Memory test took: 3656 ms > The File System test took: 1975 ms > LiveCode Speed Test Finished > > Schulz:LiveCodeServer peter$ ./speedtest.php > PHP Speed Test Started > The CPU test took: 3921 ms > The Memory test took: 1200 ms > The File System test took: 666 ms > PHP Speed Test Finished > > So it seems the LiveCode has the edge on PHP when it comes to calculations > but not on memory access or file access. > > The memory test relies on using arrays, I'm not sure if that is the best > way to test memory access. > > Regards > > Peter > > Speedtest.lc > > #!livecode > > if the platform = "MacOS" then > set the outputLineEndings to "lf" > end if > > put "LiveCode Speed Test Started" & return > > ##cpu test > put the millisecs into tStart > repeat with i = 1 to 10000000 > put sqrt(exp(i)) into tTemp > end repeat > put the millisecs into tEnd > put "The CPU test took: " && tEnd - tStart && "ms" & return > > ##Memory Access > put the millisecs into tStart > repeat with i = 1 to 1000000 > put random(255) into tMem[i] > end repeat > put the millisecs into tEnd > put "The Memory test took: " && tEnd - tStart && "ms" & return > > ##Filesystem > open file "test.tmp" > put the millisecs into tStart > repeat with i = 1 to 100000 > write "This is a test of the write speed" && random(255) to file > "test.tmp" > read from file "test.tmp" for 1 line > end repeat > put the millisecs into tEnd > put "The File System test took:" && tEnd - tStart && "ms" & return > delete file "test.tmp" > > ##Finish > put "LiveCode Speed Test Finished" & return > > Speedtest.php > > #!/usr/bin/php > > > print "PHP Speed Test Started\n"; > > //cpu test > $start = microtime(true); > for( $i = 0; $i < 10000000; $i++ ) { > $temp = sqrt(exp($i)); > } > $end = microtime(true); > $time = ($end - $start) * 1000 + 0.5; > printf("The CPU test took: %5.0f ms\n", $time); > > //Memory Access > $start = microtime(true); > for( $i = 0; $i < 1000000; $i++ ) { > $mem[i] = rand(0, 255); > } > $end = microtime(true); > $time = ($end - $start) * 1000 + 0.5; > printf("The Memory test took: %5.0f ms\n", $time); > > //Filesystem > $file = fopen("test.tmp", "w+"); > $start = microtime(true); > for( $i = 0; $i < 100000; $i++ ) { > rewind($file); > fwrite($file, "This is a test of the write speed".rand(0,255)); > fread($file, 34); > } > $end = microtime(true); > $time = ($end - $start) * 1000 + 0.5; > printf("The File System test took: %5.0f ms\n", $time); > unlink("test.tmp"); > > //Finish > print "PHP Speed Test Finished\n"; > > ?> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bobsneidar at iotecdigital.com Mon Nov 24 10:45:49 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Nov 2014 15:45:49 +0000 Subject: Sheet stack bug in 7.0 In-Reply-To: References: Message-ID: <14CB2073-A586-4894-88D1-DBF9F8AB97CD@iotecdigital.com> I did not know as sheet acted as modal in the first place. That?s good to know. Bob S On Nov 21, 2014, at 11:30 , Peter Haworth > wrote: If you are using the sheet stack command with the "in stack" option, it's broken in 7.0 and 7.0.1. The sheet stack is not displayed as a sheet in the target stack but more importantly, the handler that issues the sheet command continues to execute instead of waiting for the sheet stack to close. QCC Report# 14076. Pete From andre at andregarzia.com Mon Nov 24 10:47:19 2014 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 24 Nov 2014 13:47:19 -0200 Subject: [OT] Android Material Design In-Reply-To: <1416736911282-4686167.post@n4.nabble.com> References: <1416736911282-4686167.post@n4.nabble.com> Message-ID: Dave, Do not count brick in the same box as material design. Material Design is the new HIG for Android, Web and ChromeOS properties of Google. It can be used from Java and from HTML5. On HTML5 it uses Web Components which can be used in Browsers that do not support Web Components thru the Polymer polyfill and libraries. Mozilla Brick uses the plataform core library from Polymer Project and builds standard Web Components out of it. Right now Brick is changing directions and is nowhere close to the current HTML5 implementation of Material Design. Back to LiveCode, the best way is to be inspired by Material Design and create your own interface by using beautiful fonts, plain old rectangles and some of the new graphic effect to give the illusion of depth which is important in Material Design. One could craft some reusable LiveCode groups that implement this type of thing but it is not reusing nothing from Google, its just a new thing that is inspired by. Cheers On Sun, Nov 23, 2014 at 8:01 AM, Dave Kilroy wrote: > Yep 'material design' IS nice and can accessed on browsers via Google > Polymer > http://itshackademic.com/ - and there are some nice tutorials here > http://itshackademic.com/codelabs > > I understand Mozilla has a similar project called 'brick' > (http://brick.mozilla.io/) - but I've never played with brick so you'll > have > to get Andre to explain! > > Dave > > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Android-Material-Design-tp4686159p4686167.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Mon Nov 24 10:47:19 2014 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 24 Nov 2014 13:47:19 -0200 Subject: [OT] Android Material Design In-Reply-To: <1416736911282-4686167.post@n4.nabble.com> References: <1416736911282-4686167.post@n4.nabble.com> Message-ID: Dave, Do not count brick in the same box as material design. Material Design is the new HIG for Android, Web and ChromeOS properties of Google. It can be used from Java and from HTML5. On HTML5 it uses Web Components which can be used in Browsers that do not support Web Components thru the Polymer polyfill and libraries. Mozilla Brick uses the plataform core library from Polymer Project and builds standard Web Components out of it. Right now Brick is changing directions and is nowhere close to the current HTML5 implementation of Material Design. Back to LiveCode, the best way is to be inspired by Material Design and create your own interface by using beautiful fonts, plain old rectangles and some of the new graphic effect to give the illusion of depth which is important in Material Design. One could craft some reusable LiveCode groups that implement this type of thing but it is not reusing nothing from Google, its just a new thing that is inspired by. Cheers On Sun, Nov 23, 2014 at 8:01 AM, Dave Kilroy wrote: > Yep 'material design' IS nice and can accessed on browsers via Google > Polymer > http://itshackademic.com/ - and there are some nice tutorials here > http://itshackademic.com/codelabs > > I understand Mozilla has a similar project called 'brick' > (http://brick.mozilla.io/) - but I've never played with brick so you'll > have > to get Andre to explain! > > Dave > > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Android-Material-Design-tp4686159p4686167.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From alain.vezina at logilangue.com Mon Nov 24 10:56:11 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Mon, 24 Nov 2014 10:56:11 -0500 Subject: the weight of an app In-Reply-To: References: <7E330824-9033-4C94-85C2-F911A5E9BB7F@logilangue.com> <5470D7A2.40109@hyperactivesw.com> Message-ID: <8A3EC9B4-22A5-4D49-B514-CDA989E803AD@logilangue.com> Now I understand. My app is a one to help people in french spelling and grammar. So I have a lot of words lists in several fields hidden to the user. I don?t want to use Internet to bring information when it is useful; it is very important that my app can be used anywhere, anytime. A data base could be a solution, but it will not be easy to build it because, in french, there are a lot of words with the same spelling not having the same meaning; for example, lime is a tool (a file) ans is also a fruit. There are also a lot of rules for the plural and the feminine forms, depending the way the word is ending, and so on. That is the reason why I used a lot of words lists. On the other hand, I am not sure that a data base could be a good solution if the problem comes from the weight of Unicode libraries. I had no problem before I used LC 7, but I have to use it for users who upgraded to iOS 8. Thanks a lot Jacqueline and John Alain V?zina, directeur Logilangue www.logilangue.com Le 2014-11-22 ? 16:24, John a ?crit : > Might there be something else going on? I made a simple stack (couple of buttons and a field that don?t do much) and compiled it as a standalone using LC6.7 and LC7.0.1 RC2. > > The Finder shows the version compiled in LC7.0.1 RC2. is 12.9 MB while the version compiled in LC6.7 is 5.6MB. By my math that is a difference of 7.3 MB which is presumably do to the unicode library. The difference seen by Alain is 26.9 MB. > > I have no idea why but it seems as if there is an additional 19.6 MB of something other than the unicode library. I have no idea what it is. It seems like a lot of extra bytes even if all of text in his app now takes multiple bytes to store. Is image storage less efficient in LC7? > > My 2 Cents, > John > > >> On Nov 22, 2014, at 10:36 AM, J. Landman Gay wrote: >> >> On 11/21/2014, 2:30 PM, Alain Vezina wrote: >>> Why the weight of an app is more than the double of what it was before? >> >> It's the huge unicode libraries, which need to be included in the build. RR is looking into ways to reduce their size, but they are required for all text processing now. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Nov 24 10:56:48 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Nov 2014 15:56:48 +0000 Subject: Syntax anomaly In-Reply-To: <1416615421153.fe62d7ab@Nodemailer> References: <8D1D3FB801C9476-5C8-580E7@webmail-vm081.sysops.aol.com> <1416615421153.fe62d7ab@Nodemailer> Message-ID: <65848013-C168-42CA-881F-B945961797E7@iotecdigital.com> In the first example click is being used as a noun as in ?it took 5 clicks to get to where I wanted to go.? But I think it matters not. Livecode script is ?english like? (for those using English) not the english language itself. And English is filled with so many anomalies, you might say that Livecode is very ?English Like? after all! Bob S On Nov 21, 2014, at 16:17 , Ethan Lish > wrote: On "browserClick" is an example a the compound keyword with the controller "browser" and the action "Click" aggregated into a message On "closeCard" is an example of the same but reversing the order of the first example From andre at andregarzia.com Mon Nov 24 11:01:05 2014 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 24 Nov 2014 14:01:05 -0200 Subject: Need list of books available for LiveCode Message-ID: Hey Friends, I know some of the books available about LiveCode but I am sure I am missing some more recent endeavours. Can you folks provide me with replies listing the current and future books available? I own livecodebooks.com and I want to set it up like I did for firefoxosbooks.org Cheers -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bobsneidar at iotecdigital.com Mon Nov 24 11:04:49 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Nov 2014 16:04:49 +0000 Subject: any use of pass by reference breaks any omitted variable? In-Reply-To: <8D1D4FA16D9A232-1560-64055@webmail-m274.sysops.aol.com> References: <8D1D4FA16D9A232-1560-64055@webmail-m274.sysops.aol.com> Message-ID: <2DBBF69B-6222-4448-9D52-7D8AACF15731@iotecdigital.com> I think he means that if you have two arguments, one passed by reference and you only provide one argument, it throws an error. Bob S On Nov 22, 2014, at 22:01 , dunbarx at aol.com wrote: Richard. Not sure what you mean. In this (variant from the user guide example): on mouseUp put 8 into someVariable put 5 into someOtherVariable setVariable someVariable,someOtherVariable answer "someVariable is now:" && someVariable end mouseUp on setVariable @incomingVar, at someOtherVariable add 1 to incomingVar end setVariable The variable someOtherVariable is not explicitly handled. Obviously I am missing your point. Where is your handler failing? Craig From bobsneidar at iotecdigital.com Mon Nov 24 11:10:44 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Nov 2014 16:10:44 +0000 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: <1AACDF01-88B3-41C0-ACD6-817352EA07DC@mac.com> References: <1AACDF01-88B3-41C0-ACD6-817352EA07DC@mac.com> Message-ID: <843DB544-C097-47D2-AD33-22074359EB8E@iotecdigital.com> Why aren?t we using the menu builder again? Bob S On Nov 22, 2014, at 06:45 , Graham Samuel > wrote: I?ve been using LC for a long time but I?ve never used a stack menu. I now find that I can?t understand the documentation of the stack menu in the LC User Guide. I have tried to follow it to produce a test app, and I?ve got this far. I?m using LC7.0.1 (rc2) on a Mac with Yosemite. From livfoss at mac.com Mon Nov 24 11:54:29 2014 From: livfoss at mac.com (Graham Samuel) Date: Mon, 24 Nov 2014 17:54:29 +0100 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: <843DB544-C097-47D2-AD33-22074359EB8E@iotecdigital.com> References: <1AACDF01-88B3-41C0-ACD6-817352EA07DC@mac.com> <843DB544-C097-47D2-AD33-22074359EB8E@iotecdigital.com> Message-ID: Hi Bob I was just trying to find out what a stack menu IS. I don?t know whether you can build one with the menu builder or not, but what I was looking for was an explanation as to the what, the why and the how. I suppose the how might have included menu builder. When I start a new project I do usually use the menu builder, but menus always need tweaking in my experience, especially cross-platform ones, so I do end up doing lots of stuff outside that context. Maybe you didn?t want your question answered - if so, sorry for the bandwidth! Graham > On 24 Nov 2014, at 17:10, Bob Sneidar wrote: > > Why aren?t we using the menu builder again? > > Bob S > > > On Nov 22, 2014, at 06:45 , Graham Samuel > wrote: > > I?ve been using LC for a long time but I?ve never used a stack menu. I now find that I can?t understand the documentation of the stack menu in the LC User Guide. I have tried to follow it to produce a test app, and I?ve got this far. I?m using LC7.0.1 (rc2) on a Mac with Yosemite. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Nov 24 12:17:19 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Nov 2014 09:17:19 -0800 Subject: any use of pass by reference breaks any omitted variable? In-Reply-To: <2DBBF69B-6222-4448-9D52-7D8AACF15731@iotecdigital.com> References: <8D1D4FA16D9A232-1560-64055@webmail-m274.sysops.aol.com> <2DBBF69B-6222-4448-9D52-7D8AACF15731@iotecdigital.com> Message-ID: On Mon, Nov 24, 2014 at 8:04 AM, Bob Sneidar wrote: > I think he means that if you have two arguments, one passed by reference > and you only provide one argument, it throws an error. Yes. Or if you provide "", or empty as the argument to the other. Hmm, I suppose I could make a global variable name mpty to pass around . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Nov 24 12:48:57 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Nov 2014 09:48:57 -0800 Subject: shared group loses buttons & scripts when changing cards Message-ID: I have a group in one of my stacks that the user will never see for maintenance. It has a slider to slip through pieces of forms, and a couple of maintenance buttons. I tried to change a script on a button a couple of times yesterday, and it kept going back to the prior form, or even *using* the prior form (some of this seems related to switching cards). If I open the script, I get a *new* tab in the editor, even though the old tab (with the revised cod) is live. Today I tried deleting the troublesome button--and it comes back when I change cards. sharedBehavior and backgroundBehavior are both true for this group. Is there a property that should account for what I'm seeing? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Mon Nov 24 13:01:21 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Nov 2014 20:01:21 +0200 Subject: Universities teaching programming through Livecode? Message-ID: <54737271.1080402@gmail.com> Does anybody know of any Universities teaching programming using LiveCode? And, more specifically Germany or Austria, as have several kids I teach English to, who are also semi-fluent in German who would like to go this way. Failing that; which are the best Uni's in Germany or Austria to study programming? Richmond. From jacque at hyperactivesw.com Mon Nov 24 13:44:26 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Nov 2014 12:44:26 -0600 Subject: shared group loses buttons & scripts when changing cards In-Reply-To: References: Message-ID: <54737C8A.5030203@hyperactivesw.com> On 11/24/2014, 11:48 AM, Dr. Hawkins wrote: > I have a group in one of my stacks that the user will never see for > maintenance. It has a slider to slip through pieces of forms, and a couple > of maintenance buttons. > > I tried to change a script on a button a couple of times yesterday, and it > kept going back to the prior form, or even *using* the prior form (some of > this seems related to switching cards). If I open the script, I get a *new* > tab in the editor, even though the old tab (with the revised cod) is live. > > Today I tried deleting the troublesome button--and it comes back when I > change cards. > > sharedBehavior and backgroundBehavior are both true for this group. > > Is there a property that should account for what I'm seeing? > The symptoms sound like the button(s) aren't really in a group, they are at the card level. Or alternately, there are copies of the group on different cards rather than a single group being placed on multiple cards. If either case is true, editing one will open a new editor tab (because it's a different object,) and deleting one won't delete it from other cards. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Mon Nov 24 14:52:54 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Nov 2014 14:52:54 -0500 Subject: any use of pass by reference breaks any omitted variable? In-Reply-To: References: <8D1D4FA16D9A232-1560-64055@webmail-m274.sysops.aol.com> <2DBBF69B-6222-4448-9D52-7D8AACF15731@iotecdigital.com> Message-ID: that's mt On Mon, Nov 24, 2014 at 12:17 PM, Dr. Hawkins wrote: > On Mon, Nov 24, 2014 at 8:04 AM, Bob Sneidar > wrote: > > > I think he means that if you have two arguments, one passed by reference > > and you only provide one argument, it throws an error. > > > Yes. Or if you provide "", or empty as the argument to the other. > > Hmm, I suppose I could make a global variable name mpty to pass around . . > . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From alain.vezina at logilangue.com Mon Nov 24 17:06:14 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Mon, 24 Nov 2014 17:06:14 -0500 Subject: reopen app from background iOS 7 and 8 / multitask Message-ID: <2D10EEDB-49A9-4F93-AF7D-578A0F1D33B5@logilangue.com> Hi all, Does anybody knows if it is possible to go back to an app that was pushed in the background by using the home button on iPad without the app reopens with the splash screen but showing the state it was before pushed back? Thanks Alain V?zina, directeur Logilangue www.logilangue.com From dochawk at gmail.com Mon Nov 24 17:14:49 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Nov 2014 14:14:49 -0800 Subject: shared group loses buttons & scripts when changing cards In-Reply-To: <54737C8A.5030203@hyperactivesw.com> References: <54737C8A.5030203@hyperactivesw.com> Message-ID: On Mon, Nov 24, 2014 at 10:44 AM, J. Landman Gay wrote: > The symptoms sound like the button(s) aren't really in a group, they are > at the card level. Or alternately, there are copies of the group on > different cards rather than a single group being placed on multiple cards. > If either case is true, editing one will open a new editor tab (because > it's a different object,) and deleting one won't delete it from other cards. I'd agree with those symptoms, but that's not what is happening. I actually rebuilt this stack a few weeks ago, importing all of the cards to get the group. And when I move it, it tends to stay moved on other cards. Also, if I make a change to a script, go to another card, and come back, the change is gone even on that card. It's kind of like there's a "noSave" on the group, so that all changes go "poof!" when leaving the card. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From harrison at all-auctions.com Mon Nov 24 17:36:41 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 24 Nov 2014 17:36:41 -0500 Subject: OT: Need help with Indiegogo, Twitter, Facebook etc. In-Reply-To: References: Message-ID: <47376FCF-28F8-4728-9E75-A4C33DA81F84@all-auctions.com> Dear Fellow LiveCoders, I just started an Indiegogo.com campaign to make my second music CD Album. I?m doing some side advertising of my Apple Apps along with the project. (We might be able to use this to help push LiveCode too as I can add perks to my campaign to encourage others to donate. For example: at the $400 level one gets a commercial copy of LiveCode, or at the $300 level, the mergExt suite etc. Here?s the link if you?d like to take and look and offer suggestions: https://www.indiegogo.com/projects/rick-harrison-s-2nd-cd-album Anyway, many people are saying that I need to use Social Media to advertise this campaign. I?m not much of a social media expert and I think I?m already in over my head on this. The people here at RunRev have run two very successful fund raising campaigns and I wondered if anyone has any good advice as to how I should proceed with this. I?ve noticed that I?m already getting bugged by people trying to sell me on Likes, and getting Followers for Twitter, and re-tweets advertising packages etc. What do people do to manage this? I?m having to ask myself questions like, do I really want to be associated/liked/linked with the vast array of anyone who is out there? If I do, should I plan on deleting my Twitter account etc. when I?m done with my campaign? There are a lot of social questions and ramifications here. If you know of a good forum for these kinds of discussions please let me know. Thanks, Rick From dixonja at hotmail.co.uk Mon Nov 24 17:55:36 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 24 Nov 2014 22:55:36 +0000 Subject: keyboards & chinese In-Reply-To: References: Message-ID: I am now starting to understand how to use multiple keyboards within a mobile app and how to tap on the globe icon at the bottom of the software keyboard to change between them... Does anyone know how to set a keyboard to say English or Chinese depending on which card you are on, or depending on which field you might want to enter English text as opposed to Chinese ? > From: dixonja at hotmail.co.uk > To: use-livecode at lists.runrev.com > Subject: keyboards & chinese > Date: Thu, 20 Nov 2014 08:30:50 +0000 > > How do I get a chinese keyboard to 'stick' in the simulator and enter > chinese charecters into a field, I don't mind if it is an LC field or a > native field... Which is the font that I should use ?... I seem to have > tried everything and I can't seem to get this to work... anyone tell me > the 'a,b,c's' of how to do this ?... > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Mon Nov 24 18:27:32 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 24 Nov 2014 15:27:32 -0800 Subject: using Vimeo API (OAuth2) from a desktop app Message-ID: <5473BEE4.3000804@pdslabs.net> Hey folks - I need to write a Vimeo code lib so my desktop app can do stuff in a single Vimeo account - see a list of videos (with thumbnails), upload a video, get a video URL, etc. The API endpoints themselves are not a problem for me, but I'm stumbling on the initial OAuth2 handshake. My app is registered with Vimeo and I have the authorization info generated for it. The Vimeo API playground is very helpful regarding API calls, but not so much on the initial login. The Vimeo docs are written for those with more web dev experience than I have, so I need some help. As I see it, I need a step-by-step rundown of the handshake/login/whatever process. Once I get as far as having the httpHeader I need for the first API request, I assume the headers won't change for subsequent requests. (I could be wrong but will cross that bridge when needed). If you have experience with the new Vimeo API that uses oauth2, I would greatly appreciate any insights or steps you might wish to share. Thanks - -- Phil Davis From userev at canelasoftware.com Mon Nov 24 18:29:35 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 24 Nov 2014 15:29:35 -0800 Subject: reopen app from background iOS 7 and 8 / multitask In-Reply-To: <2D10EEDB-49A9-4F93-AF7D-578A0F1D33B5@logilangue.com> References: <2D10EEDB-49A9-4F93-AF7D-578A0F1D33B5@logilangue.com> Message-ID: <6E96165E-D28D-4441-B4B5-FDFA86D1A3D4@canelasoftware.com> On Nov 24, 2014, at 2:06 PM, Alain Vezina wrote: > Hi all, > > Does anybody knows if it is possible to go back to an app that was pushed in the background by using the home button on iPad without the app reopens with the splash screen but showing the state it was before pushed back? Hi Alain, You can do this by storing the state when the app closes or at various points in your app usage. It is not a perfect solution in that the app truly does re-open again. All your variable data will be lost. Storing the state of your app and then bringing that state back upon restart of the software is the best thing we have going at this time. We used this technique to good effect in the LiveEvents app. It is used when the user needs to validate their email. Upon returning from the email program, the mobile app returns the user to the exact same spot. You can give this a try in the actual app from here: http://livecloud.io/runrevlive-14-conference-app/ You can download the source code to the app here: http://livecloud.io/live-events-source/ Best regards, Mark Talluto livecloud.io canelasoftware.com From dsimpson at dotcomsolutionsinc.net Mon Nov 24 18:38:50 2014 From: dsimpson at dotcomsolutionsinc.net (David Simpson) Date: Mon, 24 Nov 2014 15:38:50 -0800 Subject: using Vimeo API (OAuth2) from a desktop app In-Reply-To: <5473BEE4.3000804@pdslabs.net> References: <5473BEE4.3000804@pdslabs.net> Message-ID: <62027452-32F4-44C3-8019-E27911FA10DD@dotcomsolutionsinc.net> Phil, Andre had a posting earlier this year where he stated that he used OAuth2 for his FaceBook Lib: https://www.mail-archive.com/use-livecode at lists.runrev.com/msg49456.html And his FaceBook Lib is located here: http://andregarzia.com/pages/en/facebooklib/ David Simpson www.fmpromigrator.com On Nov 24, 2014, at 3:27 PM, Phil Davis wrote: > Hey folks - > > I need to write a Vimeo code lib so my desktop app can do stuff in a single Vimeo account - see a list of videos (with thumbnails), upload a video, get a video URL, etc. The API endpoints themselves are not a problem for me, but I'm stumbling on the initial OAuth2 handshake. My app is registered with Vimeo and I have the authorization info generated for it. The Vimeo API playground is very helpful regarding API calls, but not so much on the initial login. The Vimeo docs are written for those with more web dev experience than I have, so I need some help. > > As I see it, I need a step-by-step rundown of the handshake/login/whatever process. Once I get as far as having the httpHeader I need for the first API request, I assume the headers won't change for subsequent requests. (I could be wrong but will cross that bridge when needed). > > If you have experience with the new Vimeo API that uses oauth2, I would greatly appreciate any insights or steps you might wish to share. > > Thanks - > -- > Phil Davis > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev From jacque at hyperactivesw.com Mon Nov 24 18:39:28 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Nov 2014 17:39:28 -0600 Subject: shared group loses buttons & scripts when changing cards In-Reply-To: References: <54737C8A.5030203@hyperactivesw.com> Message-ID: <5473C1B0.9080306@hyperactivesw.com> On 11/24/2014, 4:14 PM, Dr. Hawkins wrote: > On Mon, Nov 24, 2014 at 10:44 AM, J. Landman Gay > wrote: > >> The symptoms sound like the button(s) aren't really in a group, they are >> at the card level. Or alternately, there are copies of the group on >> different cards rather than a single group being placed on multiple cards. >> If either case is true, editing one will open a new editor tab (because >> it's a different object,) and deleting one won't delete it from other cards. > > > I'd agree with those symptoms, but that's not what is happening. I > actually rebuilt this stack a few weeks ago, importing all of the cards to > get the group. And when I move it, it tends to stay moved on other cards. > > Also, if I make a change to a script, go to another card, and come back, > the change is gone even on that card. > > It's kind of like there's a "noSave" on the group, so that all changes go > "poof!" when leaving the card. > > I see. That sounds like either the card or the stack has cantModify set to true. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Mon Nov 24 18:40:41 2014 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 24 Nov 2014 23:40:41 +0000 Subject: shared group loses buttons & scripts when changing cards In-Reply-To: <5473C1B0.9080306@hyperactivesw.com> References: <54737C8A.5030203@hyperactivesw.com> <5473C1B0.9080306@hyperactivesw.com> Message-ID: On Nov 24, 2014, at 4:39 PM, J. Landman Gay wrote: > On 11/24/2014, 4:14 PM, Dr. Hawkins wrote: >> On Mon, Nov 24, 2014 at 10:44 AM, J. Landman Gay >> wrote: >> >>> The symptoms sound like the button(s) aren't really in a group, they are >>> at the card level. Or alternately, there are copies of the group on >>> different cards rather than a single group being placed on multiple cards. >>> If either case is true, editing one will open a new editor tab (because >>> it's a different object,) and deleting one won't delete it from other cards. >> >> >> I'd agree with those symptoms, but that's not what is happening. I >> actually rebuilt this stack a few weeks ago, importing all of the cards to >> get the group. And when I move it, it tends to stay moved on other cards. >> >> Also, if I make a change to a script, go to another card, and come back, >> the change is gone even on that card. >> >> It's kind of like there's a "noSave" on the group, so that all changes go >> "poof!" when leaving the card. >> >> > > I see. That sounds like either the card or the stack has cantModify set to true. What she said. D Devin Asay Office of Digital Humanities Brigham Young University From revdev at pdslabs.net Mon Nov 24 18:48:33 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 24 Nov 2014 15:48:33 -0800 Subject: using Vimeo API (OAuth2) from a desktop app In-Reply-To: <62027452-32F4-44C3-8019-E27911FA10DD@dotcomsolutionsinc.net> References: <5473BEE4.3000804@pdslabs.net> <62027452-32F4-44C3-8019-E27911FA10DD@dotcomsolutionsinc.net> Message-ID: <5473C3D1.8070609@pdslabs.net> Thanks David - I'll take a look. Phil On 11/24/14 3:38 PM, David Simpson wrote: > Phil, > Andre had a posting earlier this year where he stated that he used > OAuth2 for his FaceBook Lib: > > https://www.mail-archive.com/use-livecode at lists.runrev.com/msg49456.html > > And his FaceBook Lib is located here: > > http://andregarzia.com/pages/en/facebooklib/ > > > David Simpson > www.fmpromigrator.com > > > > On Nov 24, 2014, at 3:27 PM, Phil Davis > wrote: > >> Hey folks - >> >> I need to write a Vimeo code lib so my desktop app can do stuff in a >> single Vimeo account - see a list of videos (with thumbnails), upload >> a video, get a video URL, etc. The API endpoints themselves are not a >> problem for me, but I'm stumbling on the initial OAuth2 handshake. My >> app is registered with Vimeo and I have the authorization info >> generated for it. The Vimeo API playground >> is very helpful >> regarding API calls, but not so much on the initial login. The Vimeo >> docs are written for those with >> more web dev experience than I have, so I need some help. >> >> As I see it, I need a step-by-step rundown of the >> handshake/login/whatever process. Once I get as far as having the >> httpHeader I need for the first API request, I assume the headers >> won't change for subsequent requests. (I could be wrong but will >> cross that bridge when needed). >> >> If you have experience with the new Vimeo API that uses oauth2, I >> would greatly appreciate any insights or steps you might wish to share. >> >> Thanks - >> -- >> Phil Davis >> _______________________________________________ >> livecode-dev mailing list >> livecode-dev at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/livecode-dev > > > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev -- Phil Davis From lfredricks at proactive-intl.com Mon Nov 24 20:28:01 2014 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 24 Nov 2014 17:28:01 -0800 Subject: Need help with Indiegogo, Twitter, Facebook etc. In-Reply-To: <47376FCF-28F8-4728-9E75-A4C33DA81F84@all-auctions.com> References: <47376FCF-28F8-4728-9E75-A4C33DA81F84@all-auctions.com> Message-ID: > I've noticed that I'm already getting bugged by people trying > to sell me on Likes, and getting Followers for Twitter, and > re-tweets advertising packages etc. > > What do people do to manage this? > I'm having to ask myself questions like, do I really want to > be associated/liked/linked with the vast array of anyone who > is out there? These link /friend sellers create loads of bogus accounts on Twitter and Facebook. They seem particularly attractive, especially on Facebook, because the chances of anyone not directly associated with you or your page are very unlikely to find it. FB changed things about two years ago so you pretty much have to advertise in order to get likes. Id shy away from these bogus friends, just like you would shy away from bogus friends in real life. Its very obvious when they create bogus accounts on Facebook. They could join groups, like your page, etc, then post your link around - then you get complaints to Facebook about your product. Id avoid getting on the I Pay Scumbags Lists of Twitter and Facebook because you never know what THEY will do with that information in the future. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From pete at lcsql.com Mon Nov 24 20:38:28 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Nov 2014 17:38:28 -0800 Subject: shared group loses buttons & scripts when changing cards In-Reply-To: <5473C1B0.9080306@hyperactivesw.com> References: <54737C8A.5030203@hyperactivesw.com> <5473C1B0.9080306@hyperactivesw.com> Message-ID: On Mon, Nov 24, 2014 at 3:39 PM, J. Landman Gay wrote: > I see. That sounds like either the card or the stack has cantModify set to > true. I haven't used cantModify but shouldn't there be some sort of warning when you try to make any changes in cantModify mode? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From harrison at all-auctions.com Mon Nov 24 20:54:57 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 24 Nov 2014 20:54:57 -0500 Subject: Need help with Indiegogo, Twitter, Facebook etc. In-Reply-To: References: <47376FCF-28F8-4728-9E75-A4C33DA81F84@all-auctions.com> Message-ID: <906DE7E8-FCBA-425F-AB24-431D01C13503@all-auctions.com> Hi Lynn, Ok, so you are recommending an upfront paid advertising approach on FB and Twitter then where my ads appear somewhere without my having any links anywhere to anyone. Is this approach going to cost me a small fortune? Thank you Lynn for your opinion on this. Rick > > These link /friend sellers create loads of bogus accounts on Twitter and > Facebook. They seem particularly attractive, especially on Facebook, because > the chances of anyone not directly associated with you or your page are very > unlikely to find it. FB changed things about two years ago so you pretty > much have to advertise in order to get likes. > > Id shy away from these bogus friends, just like you would shy away from > bogus friends in real life. Its very obvious when they create bogus accounts > on Facebook. They could join groups, like your page, etc, then post your > link around - then you get complaints to Facebook about your product. Id > avoid getting on the I Pay Scumbags Lists of Twitter and Facebook because > you never know what THEY will do with that information in the future. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Nov 24 21:07:07 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Nov 2014 18:07:07 -0800 Subject: openControl and the Message Path Message-ID: I've been using openControl to handle initalisation of controls within groups and curious about what the dictionary says about it: "For nested groups, the *openControl* message is sent to the parent group first, if it is passed or not handled by the parent group, then it passes though each child group in reverse layer order (i.e from highest to lowest)." I might be misunderstanding but that sounds like the reverse of the normal message path. I did some testing and it's more complicated than the dictionary explanation (LC 6.6.2/OSX 10.7). Assume you have Group A that contains group A1 and group A1 contains group A2. All three groups have an openControl handler that includes a pass openControl command at the end. I was expecting that the message would go to group A then A1, then A2 but here's what happens: A A1 A A2 A1 A It's as if the message follows the message path for openControl but then also follows the normal message path. Probably not a huge issue but if you happened to have some time consuming code in group A's openControl, it would be executed three times, unless you include some sort of check as to whether it's already been executed. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From peterwawood at gmail.com Mon Nov 24 21:32:46 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Nov 2014 10:32:46 +0800 Subject: LC Script in PHP File In-Reply-To: References: <7vqk2ipwlv41s3rl61kpe4ex.1416803028357@email.android.com> Message-ID: Simon FastCGI support would be excellent from my point of view as it would allow LiveCode to be run behind a web server acting as a load balancer. Regards Peter > On 24 Nov 2014, at 21:34, Simon Smith wrote: > > Would supporting Fast CGI not be a better way forward? > > On Mon, Nov 24, 2014 at 7:56 AM, Monte Goulding > wrote: > >> >> On 24 Nov 2014, at 3:29 pm, Richard Gaskin >> wrote: >> >>> What would it take to make an Apache module for LiveCode? >> >> >> Apache modules themselves don't look all that complicated. As far as LC >> goes as long as you don't support threaded mpms it should be largely a >> matter of handling the request and setting the globals up then passing >> headers and output via the module api rather than stdout. >> >> Cheers >> >> Monte >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > *Simon Smith* > *seo, online marketing, web development* > > w. http://www.simonsmith.co > m. +27 83 306 7862 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lfredricks at proactive-intl.com Mon Nov 24 21:36:18 2014 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 24 Nov 2014 18:36:18 -0800 Subject: Need help with Indiegogo, Twitter, Facebook etc. In-Reply-To: <906DE7E8-FCBA-425F-AB24-431D01C13503@all-auctions.com> References: <47376FCF-28F8-4728-9E75-A4C33DA81F84@all-auctions.com> <906DE7E8-FCBA-425F-AB24-431D01C13503@all-auctions.com> Message-ID: > Ok, so you are recommending an upfront paid advertising > approach on FB and Twitter then where my ads appear somewhere > without my having any links anywhere to anyone. > > Is this approach going to cost me a small fortune? I haven't done any advertising on Twitter other than our own home grown marketing. But I have made use of Facebook ads, bot for post and page promotion. You have a lot of granular control over whom you target, key words, gender, age, country there. You can also experiment with small sums to see what the results are. I can't claim a lot of experience in crowdfunding. I did watch your video and its really hard to tell what your previous work is like. Sometimes giving away a track or sampler or something helps let people know if that's something they are interested in. My reading up (I have a crowdfunding project in the works for Q1 or Q2 2015) on it though leads me to the conclusion that you should have every single day planned out for promoting, and that the first two weeks and the final two weeks are likely to be the ones that bring in the most. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jacque at hyperactivesw.com Mon Nov 24 21:53:32 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Nov 2014 20:53:32 -0600 Subject: shared group loses buttons & scripts when changing cards In-Reply-To: References: <54737C8A.5030203@hyperactivesw.com> <5473C1B0.9080306@hyperactivesw.com> Message-ID: <5473EF2C.60200@hyperactivesw.com> On 11/24/2014, 7:38 PM, Peter Haworth wrote: > I haven't used cantModify but shouldn't there be some sort of warning when > you try to make any changes in cantModify mode? I wouldn't think so, no more than setting locLock on an object. The original HC purpose was to allow users to temporarily make changes to a card which would never be saved (HC auto-saved stacks continuously.) A stack with cantModify will behave similarly to today's compiled apps, in that respect. It can still be useful in LC where you want a card to revert to its original state while allowing users to make temporary changes. For example, a drawing program could allow users to create artwork on the card, and when the stack closes or the card changes, the card would revert to its original condition without any scripting. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Mon Nov 24 14:05:23 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Mon, 24 Nov 2014 14:05:23 -0500 Subject: any use of pass by reference breaks any omitted variable? In-Reply-To: References: Message-ID: On Nov 22, 2014, at 10:38 PM, Dr. Hawkins wrote: > Pass by reference *should* be something useful, but it seems half done. > > I have various handlers with optional parameters. > > It seems that if *any* parameter is passed by reference, omitting any > variable causes a runtime error Hmm. I tested this: on testReference put 8 into someVariable put 5 into someOtherVariable setVariable someVariable -- second param omitted answer "someVariable was 8, and is is now:" && someVariable end testReference on setVariable @incomingVar, at someOtherVariable add 1 to incomingVar end setVariable ?and got an error message. But if I make the second parameter in the setVariable function *not* by reference on setVariable @incomingVar,someOtherVariable then the same test works. It appears that if you are passing variables by reference you must supply all the referenced variables, but you can leave out non-referenced variables. I'm using an older version of LC: 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 5.5.1, build 1487. Don't know about lC 6.x or 7.x. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From dochawk at gmail.com Mon Nov 24 23:03:31 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Nov 2014 20:03:31 -0800 Subject: shared group loses buttons & scripts when changing cards In-Reply-To: <5473C1B0.9080306@hyperactivesw.com> References: <54737C8A.5030203@hyperactivesw.com> <5473C1B0.9080306@hyperactivesw.com> Message-ID: On Mon, Nov 24, 2014 at 3:39 PM, J. Landman Gay wrote: > I see. That sounds like either the card or the stack has cantModify set to > true. > But I'm having no problem changing the custom properties of groups on that page (in fact, the script is setting custom properties that are unset to custom properties from the parallel objects on another card). For the moment, I've put a button onto the card, and am hand copying it to each subsequent card as I convert things (it's a one time script for each card) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From peterwawood at gmail.com Tue Nov 25 03:18:37 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Nov 2014 16:18:37 +0800 Subject: Comparison of Speed of LiveCode with PHP In-Reply-To: References: Message-ID: Geoff Thanks for your input. I think you are correct that the memory access comparison isn?t fair. I don?t have time right now but I?ll try to come up with a better comparison. I?m not convinced that the file comparison is fair. If LiveCode is appending the data to the file rather than overwriting the existing data then it is at a disadvantage. I?ll look a little deeper into this aspect too, once I get the time. Regards Peter > On 24 Nov 2014, at 23:31, Geoff Canyon wrote: > > My PHP is weak, but if the memory access test is a regular array, then > comparing it to a livecode array is somewhat apples and oranges, since LC > is really a hash. But on the other hand, there's no way to do a simple > array in LC, so it's not like you can do better. > > For the file access test, your test is pretty much apples to apples, but it > would be interesting to compare it to URL access: build the whole string > and write it out, then read the whole thing in and split it. That wouldn't > be a fair comparison, but it would be interesting. > > gc > From peterwawood at gmail.com Tue Nov 25 03:23:23 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Nov 2014 16:23:23 +0800 Subject: Comparison of Speed of LiveCode with PHP In-Reply-To: References: Message-ID: <25094FEE-5947-4F7C-844D-3ADEFA0757EC@gmail.com> Hi Andre I agree with your comments on the appropriateness of the tests. I?ll give some thought to incorporating more I/O based tests. Do you think that having FastCGI support so that LiveCode could be run behind a load balancing server would be an improvement from a scalability point of view. Regards Peter > On 24 Nov 2014, at 23:42, Andre Garzia wrote: > > Hi Peter, > > Thanks for your testing! > > I think we're approaching this performance issue wrong. Most webapps will > be I/O bound and not CPU bound. Calculations are not the most common thing > going on but I/O in the sense of reading and writing from database and > files are. Also the only way to deal with structured data in memory in a > straight forward way is LiveCode multilevel arrays but there is no built-in > way to serialize these arrays for consumption outside of LiveCode. For > example, a common thing these days is to have your client-side HTML5 code > calling back your server-side code for more information which is normally > presented in JSON but LiveCode has no built-in function for JSON encoding > and decoding, so both operations happen in pure transcript (or whatever > they are calling it these days) which will make it really slow. > > If we want LiveCode to have better performance we need ways to improve I/O. > Things that would be good and have a real impact out of the box: > > - JSON and XML encode and decode functions in the engine. > - Non-blocking DB routines > > > A different issue is scalability. Right now, LiveCode Server works in CGI > mode which is very straight forward but it is not the most scalable thing > under the sun. When I say scale, I am not saying things such as serving > 5.000 users. Serving a couple thousand users is easy. I am saying serving > some hundred thousand users with complex server side logic, afterall doing > 100.000 hello worlds is easy. > > PHP is going thru lots of revolutions in the form of the Facebook > initiatives such as "hack" (new PHP variation), that VM they created and > the little compiler they created which I forgot the name. The PHP > developers are also pushing PHPNG and other gizmos. Even current generation > PHP is not usually server with CGI technology. > > Ruby, Node, Python, Clojure, Java, none are served with CGI. Most of them > could be used as CGI but no one is using them this way. CGI is easy but it > is not scalable. Imagine that if you were serving 10.000 concurrent > requests on your little server farm, you're have a collection of 10.000 > LiveCode server processes between your servers. > > What we need is something like Python WSGI or a non-blocking engine such as > Node. Then we could with a simple pool of couple LiveCode engine instances > serve a lot of people. > > On Mon, Nov 24, 2014 at 1:33 AM, Peter W A Wood > wrote: > >> In a previous email Richard Gaskin, the LiveCode Community Manager, wrote >> "Given the role of memory and performance for scaling, if we want to see LC >> Server taken seriously as a professional server tool we need to identify >> and eliminate any significant performance difference between it and PHP.? >> >> I thought that it would be worth spending a little time to compare the >> speed of LiveCode against the speed of PHP. I came up with a test based >> loosely on Carl Sassenrath?s Rebol Speed Script ( >> http://www.rebol.com/cgi-bin/blog.r?view=0506 ). I have found it a useful >> base for writing comparative scripts (either comparing languages on a >> single machine or comparing machines using a single language). It is far >> from perfect in a multi-tasking environment but I believe provides decent >> comparative data. >> >> I have attached two scripts, speedtest.lc and speedtest.php. I?m sure >> that both could be improved significantly and welcome such improvements. >> The results of running the two scripts on my machine, LiveCode 7.0.0-rc-3 >> and PHP 5.5.14 are: >> >> Schulz:LiveCodeServer peter$ ./speedtest.lc >> LiveCode Speed Test Started >> The CPU test took: 2851 ms >> The Memory test took: 3656 ms >> The File System test took: 1975 ms >> LiveCode Speed Test Finished >> >> Schulz:LiveCodeServer peter$ ./speedtest.php >> PHP Speed Test Started >> The CPU test took: 3921 ms >> The Memory test took: 1200 ms >> The File System test took: 666 ms >> PHP Speed Test Finished >> >> So it seems the LiveCode has the edge on PHP when it comes to calculations >> but not on memory access or file access. >> >> The memory test relies on using arrays, I'm not sure if that is the best >> way to test memory access. >> >> Regards >> >> Peter >> >> Speedtest.lc >> >> #!livecode >> >> if the platform = "MacOS" then >> set the outputLineEndings to "lf" >> end if >> >> put "LiveCode Speed Test Started" & return >> >> ##cpu test >> put the millisecs into tStart >> repeat with i = 1 to 10000000 >> put sqrt(exp(i)) into tTemp >> end repeat >> put the millisecs into tEnd >> put "The CPU test took: " && tEnd - tStart && "ms" & return >> >> ##Memory Access >> put the millisecs into tStart >> repeat with i = 1 to 1000000 >> put random(255) into tMem[i] >> end repeat >> put the millisecs into tEnd >> put "The Memory test took: " && tEnd - tStart && "ms" & return >> >> ##Filesystem >> open file "test.tmp" >> put the millisecs into tStart >> repeat with i = 1 to 100000 >> write "This is a test of the write speed" && random(255) to file >> "test.tmp" >> read from file "test.tmp" for 1 line >> end repeat >> put the millisecs into tEnd >> put "The File System test took:" && tEnd - tStart && "ms" & return >> delete file "test.tmp" >> >> ##Finish >> put "LiveCode Speed Test Finished" & return >> >> Speedtest.php >> >> #!/usr/bin/php >> >> > >> print "PHP Speed Test Started\n"; >> >> //cpu test >> $start = microtime(true); >> for( $i = 0; $i < 10000000; $i++ ) { >> $temp = sqrt(exp($i)); >> } >> $end = microtime(true); >> $time = ($end - $start) * 1000 + 0.5; >> printf("The CPU test took: %5.0f ms\n", $time); >> >> //Memory Access >> $start = microtime(true); >> for( $i = 0; $i < 1000000; $i++ ) { >> $mem[i] = rand(0, 255); >> } >> $end = microtime(true); >> $time = ($end - $start) * 1000 + 0.5; >> printf("The Memory test took: %5.0f ms\n", $time); >> >> //Filesystem >> $file = fopen("test.tmp", "w+"); >> $start = microtime(true); >> for( $i = 0; $i < 100000; $i++ ) { >> rewind($file); >> fwrite($file, "This is a test of the write speed".rand(0,255)); >> fread($file, 34); >> } >> $end = microtime(true); >> $time = ($end - $start) * 1000 + 0.5; >> printf("The File System test took: %5.0f ms\n", $time); >> unlink("test.tmp"); >> >> //Finish >> print "PHP Speed Test Finished\n"; >> >> ?> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hello at simonsmith.co Tue Nov 25 05:40:56 2014 From: hello at simonsmith.co (Simon Smith) Date: Tue, 25 Nov 2014 12:40:56 +0200 Subject: Comparison of Speed of LiveCode with PHP In-Reply-To: <25094FEE-5947-4F7C-844D-3ADEFA0757EC@gmail.com> References: <25094FEE-5947-4F7C-844D-3ADEFA0757EC@gmail.com> Message-ID: The benefit of FastCGI would be that the Fast cgi instance would always be running and would not need to be restarted every time a .lc script is parsed saving on the execution time. Even as a CGI process, LiveCode should already be able to run behind a load balancing server, Kind Regards Simon On Tue, Nov 25, 2014 at 10:23 AM, Peter W A Wood wrote: > Hi Andre > > I agree with your comments on the appropriateness of the tests. I?ll give > some thought to incorporating more I/O based tests. > > Do you think that having FastCGI support so that LiveCode could be run > behind a load balancing server would be an improvement from a scalability > point of view. > > Regards > > Peter > > > On 24 Nov 2014, at 23:42, Andre Garzia wrote: > > > > Hi Peter, > > > > Thanks for your testing! > > > > I think we're approaching this performance issue wrong. Most webapps will > > be I/O bound and not CPU bound. Calculations are not the most common > thing > > going on but I/O in the sense of reading and writing from database and > > files are. Also the only way to deal with structured data in memory in a > > straight forward way is LiveCode multilevel arrays but there is no > built-in > > way to serialize these arrays for consumption outside of LiveCode. For > > example, a common thing these days is to have your client-side HTML5 code > > calling back your server-side code for more information which is normally > > presented in JSON but LiveCode has no built-in function for JSON encoding > > and decoding, so both operations happen in pure transcript (or whatever > > they are calling it these days) which will make it really slow. > > > > If we want LiveCode to have better performance we need ways to improve > I/O. > > Things that would be good and have a real impact out of the box: > > > > - JSON and XML encode and decode functions in the engine. > > - Non-blocking DB routines > > > > > > A different issue is scalability. Right now, LiveCode Server works in CGI > > mode which is very straight forward but it is not the most scalable thing > > under the sun. When I say scale, I am not saying things such as serving > > 5.000 users. Serving a couple thousand users is easy. I am saying serving > > some hundred thousand users with complex server side logic, afterall > doing > > 100.000 hello worlds is easy. > > > > PHP is going thru lots of revolutions in the form of the Facebook > > initiatives such as "hack" (new PHP variation), that VM they created and > > the little compiler they created which I forgot the name. The PHP > > developers are also pushing PHPNG and other gizmos. Even current > generation > > PHP is not usually server with CGI technology. > > > > Ruby, Node, Python, Clojure, Java, none are served with CGI. Most of them > > could be used as CGI but no one is using them this way. CGI is easy but > it > > is not scalable. Imagine that if you were serving 10.000 concurrent > > requests on your little server farm, you're have a collection of 10.000 > > LiveCode server processes between your servers. > > > > What we need is something like Python WSGI or a non-blocking engine such > as > > Node. Then we could with a simple pool of couple LiveCode engine > instances > > serve a lot of people. > > > > On Mon, Nov 24, 2014 at 1:33 AM, Peter W A Wood > > wrote: > > > >> In a previous email Richard Gaskin, the LiveCode Community Manager, > wrote > >> "Given the role of memory and performance for scaling, if we want to > see LC > >> Server taken seriously as a professional server tool we need to identify > >> and eliminate any significant performance difference between it and > PHP.? > >> > >> I thought that it would be worth spending a little time to compare the > >> speed of LiveCode against the speed of PHP. I came up with a test based > >> loosely on Carl Sassenrath?s Rebol Speed Script ( > >> http://www.rebol.com/cgi-bin/blog.r?view=0506 ). I have found it a > useful > >> base for writing comparative scripts (either comparing languages on a > >> single machine or comparing machines using a single language). It is far > >> from perfect in a multi-tasking environment but I believe provides > decent > >> comparative data. > >> > >> I have attached two scripts, speedtest.lc and speedtest.php. I?m sure > >> that both could be improved significantly and welcome such improvements. > >> The results of running the two scripts on my machine, LiveCode > 7.0.0-rc-3 > >> and PHP 5.5.14 are: > >> > >> Schulz:LiveCodeServer peter$ ./speedtest.lc > >> LiveCode Speed Test Started > >> The CPU test took: 2851 ms > >> The Memory test took: 3656 ms > >> The File System test took: 1975 ms > >> LiveCode Speed Test Finished > >> > >> Schulz:LiveCodeServer peter$ ./speedtest.php > >> PHP Speed Test Started > >> The CPU test took: 3921 ms > >> The Memory test took: 1200 ms > >> The File System test took: 666 ms > >> PHP Speed Test Finished > >> > >> So it seems the LiveCode has the edge on PHP when it comes to > calculations > >> but not on memory access or file access. > >> > >> The memory test relies on using arrays, I'm not sure if that is the best > >> way to test memory access. > >> > >> Regards > >> > >> Peter > >> > >> Speedtest.lc > >> > >> #!livecode > >> > >> if the platform = "MacOS" then > >> set the outputLineEndings to "lf" > >> end if > >> > >> put "LiveCode Speed Test Started" & return > >> > >> ##cpu test > >> put the millisecs into tStart > >> repeat with i = 1 to 10000000 > >> put sqrt(exp(i)) into tTemp > >> end repeat > >> put the millisecs into tEnd > >> put "The CPU test took: " && tEnd - tStart && "ms" & return > >> > >> ##Memory Access > >> put the millisecs into tStart > >> repeat with i = 1 to 1000000 > >> put random(255) into tMem[i] > >> end repeat > >> put the millisecs into tEnd > >> put "The Memory test took: " && tEnd - tStart && "ms" & return > >> > >> ##Filesystem > >> open file "test.tmp" > >> put the millisecs into tStart > >> repeat with i = 1 to 100000 > >> write "This is a test of the write speed" && random(255) to file > >> "test.tmp" > >> read from file "test.tmp" for 1 line > >> end repeat > >> put the millisecs into tEnd > >> put "The File System test took:" && tEnd - tStart && "ms" & return > >> delete file "test.tmp" > >> > >> ##Finish > >> put "LiveCode Speed Test Finished" & return > >> > >> Speedtest.php > >> > >> #!/usr/bin/php > >> > >> >> > >> print "PHP Speed Test Started\n"; > >> > >> //cpu test > >> $start = microtime(true); > >> for( $i = 0; $i < 10000000; $i++ ) { > >> $temp = sqrt(exp($i)); > >> } > >> $end = microtime(true); > >> $time = ($end - $start) * 1000 + 0.5; > >> printf("The CPU test took: %5.0f ms\n", $time); > >> > >> //Memory Access > >> $start = microtime(true); > >> for( $i = 0; $i < 1000000; $i++ ) { > >> $mem[i] = rand(0, 255); > >> } > >> $end = microtime(true); > >> $time = ($end - $start) * 1000 + 0.5; > >> printf("The Memory test took: %5.0f ms\n", $time); > >> > >> //Filesystem > >> $file = fopen("test.tmp", "w+"); > >> $start = microtime(true); > >> for( $i = 0; $i < 100000; $i++ ) { > >> rewind($file); > >> fwrite($file, "This is a test of the write speed".rand(0,255)); > >> fread($file, 34); > >> } > >> $end = microtime(true); > >> $time = ($end - $start) * 1000 + 0.5; > >> printf("The File System test took: %5.0f ms\n", $time); > >> unlink("test.tmp"); > >> > >> //Finish > >> print "PHP Speed Test Finished\n"; > >> > >> ?> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > -- > > http://www.andregarzia.com -- All We Do Is Code. > > http://fon.nu -- minimalist url shortening service. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From andre at andregarzia.com Tue Nov 25 06:16:41 2014 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 25 Nov 2014 09:16:41 -0200 Subject: Comparison of Speed of LiveCode with PHP In-Reply-To: References: <25094FEE-5947-4F7C-844D-3ADEFA0757EC@gmail.com> Message-ID: Eons ago I created a library to do FastCGI from LiveCode. Even though my library supported multiplexing stuff LiveCode could not respond to more than one user at a time. If LC was multithreaded or had co-routines or fibers or whatever lightweight gizmo they could create in Scotland to let us run more than one thing at the same time then FastCGI would be viable. As it is, FastCGI is worse than CGI for LC because with CGI we can answer more than one user at the same time by spawning new processes. With FastCGI, while the request was being processed, no other request would be answered. Thats not a FastCGI limitation, the protocol is way smarter than CGI you receive all requests on the same port and you're supposed to fork(). Since we have nothing like forking on LC, we're dead on that front. The main issue is that without multithread, fork or something similar that would allow us to delegate some execution of handlers to another context and thus enable us to execute multiple stuff at the same time we can't implement FastCGI. On Tue, Nov 25, 2014 at 8:40 AM, Simon Smith wrote: > The benefit of FastCGI would be that the Fast cgi instance would always be > running and would not need to be restarted every time a .lc script is > parsed saving on the execution time. > > Even as a CGI process, LiveCode should already be able to run behind a load > balancing server, > > Kind Regards > Simon > > On Tue, Nov 25, 2014 at 10:23 AM, Peter W A Wood > wrote: > > > Hi Andre > > > > I agree with your comments on the appropriateness of the tests. I?ll give > > some thought to incorporating more I/O based tests. > > > > Do you think that having FastCGI support so that LiveCode could be run > > behind a load balancing server would be an improvement from a scalability > > point of view. > > > > Regards > > > > Peter > > > > > On 24 Nov 2014, at 23:42, Andre Garzia wrote: > > > > > > Hi Peter, > > > > > > Thanks for your testing! > > > > > > I think we're approaching this performance issue wrong. Most webapps > will > > > be I/O bound and not CPU bound. Calculations are not the most common > > thing > > > going on but I/O in the sense of reading and writing from database and > > > files are. Also the only way to deal with structured data in memory in > a > > > straight forward way is LiveCode multilevel arrays but there is no > > built-in > > > way to serialize these arrays for consumption outside of LiveCode. For > > > example, a common thing these days is to have your client-side HTML5 > code > > > calling back your server-side code for more information which is > normally > > > presented in JSON but LiveCode has no built-in function for JSON > encoding > > > and decoding, so both operations happen in pure transcript (or whatever > > > they are calling it these days) which will make it really slow. > > > > > > If we want LiveCode to have better performance we need ways to improve > > I/O. > > > Things that would be good and have a real impact out of the box: > > > > > > - JSON and XML encode and decode functions in the engine. > > > - Non-blocking DB routines > > > > > > > > > A different issue is scalability. Right now, LiveCode Server works in > CGI > > > mode which is very straight forward but it is not the most scalable > thing > > > under the sun. When I say scale, I am not saying things such as serving > > > 5.000 users. Serving a couple thousand users is easy. I am saying > serving > > > some hundred thousand users with complex server side logic, afterall > > doing > > > 100.000 hello worlds is easy. > > > > > > PHP is going thru lots of revolutions in the form of the Facebook > > > initiatives such as "hack" (new PHP variation), that VM they created > and > > > the little compiler they created which I forgot the name. The PHP > > > developers are also pushing PHPNG and other gizmos. Even current > > generation > > > PHP is not usually server with CGI technology. > > > > > > Ruby, Node, Python, Clojure, Java, none are served with CGI. Most of > them > > > could be used as CGI but no one is using them this way. CGI is easy but > > it > > > is not scalable. Imagine that if you were serving 10.000 concurrent > > > requests on your little server farm, you're have a collection of 10.000 > > > LiveCode server processes between your servers. > > > > > > What we need is something like Python WSGI or a non-blocking engine > such > > as > > > Node. Then we could with a simple pool of couple LiveCode engine > > instances > > > serve a lot of people. > > > > > > On Mon, Nov 24, 2014 at 1:33 AM, Peter W A Wood > > > > wrote: > > > > > >> In a previous email Richard Gaskin, the LiveCode Community Manager, > > wrote > > >> "Given the role of memory and performance for scaling, if we want to > > see LC > > >> Server taken seriously as a professional server tool we need to > identify > > >> and eliminate any significant performance difference between it and > > PHP.? > > >> > > >> I thought that it would be worth spending a little time to compare the > > >> speed of LiveCode against the speed of PHP. I came up with a test > based > > >> loosely on Carl Sassenrath?s Rebol Speed Script ( > > >> http://www.rebol.com/cgi-bin/blog.r?view=0506 ). I have found it a > > useful > > >> base for writing comparative scripts (either comparing languages on a > > >> single machine or comparing machines using a single language). It is > far > > >> from perfect in a multi-tasking environment but I believe provides > > decent > > >> comparative data. > > >> > > >> I have attached two scripts, speedtest.lc and speedtest.php. I?m sure > > >> that both could be improved significantly and welcome such > improvements. > > >> The results of running the two scripts on my machine, LiveCode > > 7.0.0-rc-3 > > >> and PHP 5.5.14 are: > > >> > > >> Schulz:LiveCodeServer peter$ ./speedtest.lc > > >> LiveCode Speed Test Started > > >> The CPU test took: 2851 ms > > >> The Memory test took: 3656 ms > > >> The File System test took: 1975 ms > > >> LiveCode Speed Test Finished > > >> > > >> Schulz:LiveCodeServer peter$ ./speedtest.php > > >> PHP Speed Test Started > > >> The CPU test took: 3921 ms > > >> The Memory test took: 1200 ms > > >> The File System test took: 666 ms > > >> PHP Speed Test Finished > > >> > > >> So it seems the LiveCode has the edge on PHP when it comes to > > calculations > > >> but not on memory access or file access. > > >> > > >> The memory test relies on using arrays, I'm not sure if that is the > best > > >> way to test memory access. > > >> > > >> Regards > > >> > > >> Peter > > >> > > >> Speedtest.lc > > >> > > >> #!livecode > > >> > > >> if the platform = "MacOS" then > > >> set the outputLineEndings to "lf" > > >> end if > > >> > > >> put "LiveCode Speed Test Started" & return > > >> > > >> ##cpu test > > >> put the millisecs into tStart > > >> repeat with i = 1 to 10000000 > > >> put sqrt(exp(i)) into tTemp > > >> end repeat > > >> put the millisecs into tEnd > > >> put "The CPU test took: " && tEnd - tStart && "ms" & return > > >> > > >> ##Memory Access > > >> put the millisecs into tStart > > >> repeat with i = 1 to 1000000 > > >> put random(255) into tMem[i] > > >> end repeat > > >> put the millisecs into tEnd > > >> put "The Memory test took: " && tEnd - tStart && "ms" & return > > >> > > >> ##Filesystem > > >> open file "test.tmp" > > >> put the millisecs into tStart > > >> repeat with i = 1 to 100000 > > >> write "This is a test of the write speed" && random(255) to file > > >> "test.tmp" > > >> read from file "test.tmp" for 1 line > > >> end repeat > > >> put the millisecs into tEnd > > >> put "The File System test took:" && tEnd - tStart && "ms" & return > > >> delete file "test.tmp" > > >> > > >> ##Finish > > >> put "LiveCode Speed Test Finished" & return > > >> > > >> Speedtest.php > > >> > > >> #!/usr/bin/php > > >> > > >> > >> > > >> print "PHP Speed Test Started\n"; > > >> > > >> //cpu test > > >> $start = microtime(true); > > >> for( $i = 0; $i < 10000000; $i++ ) { > > >> $temp = sqrt(exp($i)); > > >> } > > >> $end = microtime(true); > > >> $time = ($end - $start) * 1000 + 0.5; > > >> printf("The CPU test took: %5.0f ms\n", $time); > > >> > > >> //Memory Access > > >> $start = microtime(true); > > >> for( $i = 0; $i < 1000000; $i++ ) { > > >> $mem[i] = rand(0, 255); > > >> } > > >> $end = microtime(true); > > >> $time = ($end - $start) * 1000 + 0.5; > > >> printf("The Memory test took: %5.0f ms\n", $time); > > >> > > >> //Filesystem > > >> $file = fopen("test.tmp", "w+"); > > >> $start = microtime(true); > > >> for( $i = 0; $i < 100000; $i++ ) { > > >> rewind($file); > > >> fwrite($file, "This is a test of the write speed".rand(0,255)); > > >> fread($file, 34); > > >> } > > >> $end = microtime(true); > > >> $time = ($end - $start) * 1000 + 0.5; > > >> printf("The File System test took: %5.0f ms\n", $time); > > >> unlink("test.tmp"); > > >> > > >> //Finish > > >> print "PHP Speed Test Finished\n"; > > >> > > >> ?> > > >> > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > > > -- > > > http://www.andregarzia.com -- All We Do Is Code. > > > http://fon.nu -- minimalist url shortening service. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > *Simon Smith* > *seo, online marketing, web development* > > w. http://www.simonsmith.co > m. +27 83 306 7862 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Tue Nov 25 06:18:55 2014 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 25 Nov 2014 09:18:55 -0200 Subject: LC Script in PHP File In-Reply-To: <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> References: <67116DB20798A94285EEE12A67079A28777029CE@MALEXC01.westrac.com.au> <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> Message-ID: Peter, Most PHP installations will not allow file_get_contents() to be run on localhost to prevent infinite loops. I've been hurt by that before. cheers On Sun, Nov 23, 2014 at 5:09 AM, Peter W A Wood wrote: > You should be able to use file_get_contents in PHP to do what you want. > Though it will take longer to get the results from LiveCode than it would > from PHP. > > Here is an example: > > PHP file: > > > > content="text/html;charset=utf-8" /> > Testing Getting Results From Website > > >

> $livecode_returned = file_get_contents(' > http://localhost/webtest.lc'); > echo($livecode_returned); > ?> >

> > > > LiveCode file: > if $_GET["name"] <> "" then > put "Peter" into tName > else > put "World" into tName > end if > put header "Content-Type: text/html" > put "" > put "" > put "My LiveCode Server Test Page" > put "" > put "" > put "

My LiveCode Server Test Page

" > put "

Hello" && tName && "from LiveCode Server

" > put "

The date is" && the internet date & "

" > put "

" & the second char of "12345" & "

" > put "" > put "" > ?> > > Results: > My LiveCode Server Test Page > > Hello World from LiveCode Server > > The date is Sun, 23 Nov 2014 14:27:24 +0800 > > 2 > > Hope this helps. > > Peter > > > On 23 Nov 2014, at 13:29, Nakia Brewer > wrote: > > > > Hi, > > > > I am in the process of putting a web app together using the UserFrosting > system as a starting point. > > I am slowly getting the hang of the framework and am now wishing to > start using LC Server to do some backend crunching to render the pages. (Im > not picking up PHP as fast as I hoped!) > > > > The UserFrosting system bases all of its page contents in PHP Files by > design. > > > > For example the index file is index.php > > > > My question is, am I able to call LC functions from within a PHP file? > > > > For example, in the below page (which is a PHP file) > > Red content... > > > > > /* > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Tue Nov 25 06:22:27 2014 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 25 Nov 2014 09:22:27 -0200 Subject: LC Script in PHP File In-Reply-To: References: <7vqk2ipwlv41s3rl61kpe4ex.1416803028357@email.android.com> Message-ID: I've just replied on another thread why FastCGI is not a good candidate for LiveCode in my humble opinion. As for Apache Modules, those things are on the way out. If we want LC Server to be taken seriously then it need to work with Apache and Nginx. it needs to work like Node, Ruby, Python and others are working which is by having a LC Server process (or pool) listening on a port talking back to the Apache/Nginx usually thru some reverse proxy directive. On Tue, Nov 25, 2014 at 12:32 AM, Peter W A Wood wrote: > Simon > > FastCGI support would be excellent from my point of view as it would allow > LiveCode to be run behind a web server acting as a load balancer. > > Regards > > Peter > > > On 24 Nov 2014, at 21:34, Simon Smith wrote: > > > > Would supporting Fast CGI not be a better way forward? > > > > On Mon, Nov 24, 2014 at 7:56 AM, Monte Goulding < > monte at sweattechnologies.com > >> wrote: > > > >> > >> On 24 Nov 2014, at 3:29 pm, Richard Gaskin > >> wrote: > >> > >>> What would it take to make an Apache module for LiveCode? > >> > >> > >> Apache modules themselves don't look all that complicated. As far as LC > >> goes as long as you don't support threaded mpms it should be largely a > >> matter of handling the request and setting the globals up then passing > >> headers and output via the module api rather than stdout. > >> > >> Cheers > >> > >> Monte > >> > >> -- > >> M E R Goulding > >> Software development services > >> Bespoke application development for vertical markets > >> > >> mergExt - There's an external for that! > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > > > *Simon Smith* > > *seo, online marketing, web development* > > > > w. http://www.simonsmith.co > > m. +27 83 306 7862 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From peterwawood at gmail.com Tue Nov 25 07:31:55 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 25 Nov 2014 20:31:55 +0800 Subject: LC Script in PHP File In-Reply-To: References: <67116DB20798A94285EEE12A67079A28777029CE@MALEXC01.westrac.com.au> <7E758B65-B8FD-43C1-BA35-5CE37754947D@gmail.com> Message-ID: <0536DF1B-8BFF-459D-869A-35206242095A@gmail.com> Thanks for the clarification Andre. > On 25 Nov 2014, at 19:18, Andre Garzia wrote: > > Peter, > > Most PHP installations will not allow file_get_contents() to be run on > localhost to prevent infinite loops. I've been hurt by that before. > > cheers > > > On Sun, Nov 23, 2014 at 5:09 AM, Peter W A Wood > wrote: > >> You should be able to use file_get_contents in PHP to do what you want. >> Though it will take longer to get the results from LiveCode than it would >> from PHP. >> >> Here is an example: >> >> PHP file: >> >> >> >> > content="text/html;charset=utf-8" /> >> Testing Getting Results From Website >> >> >>

>> > $livecode_returned = file_get_contents(' >> http://localhost/webtest.lc'); >> echo($livecode_returned); >> ?> >>

>> >> >> >> LiveCode file: >> > if $_GET["name"] <> "" then >> put "Peter" into tName >> else >> put "World" into tName >> end if >> put header "Content-Type: text/html" >> put "" >> put "" >> put "My LiveCode Server Test Page" >> put "" >> put "" >> put "

My LiveCode Server Test Page

" >> put "

Hello" && tName && "from LiveCode Server

" >> put "

The date is" && the internet date & "

" >> put "

" & the second char of "12345" & "

" >> put "" >> put "" >> ?> >> >> Results: >> My LiveCode Server Test Page >> >> Hello World from LiveCode Server >> >> The date is Sun, 23 Nov 2014 14:27:24 +0800 >> >> 2 >> >> Hope this helps. >> >> Peter >> >>> On 23 Nov 2014, at 13:29, Nakia Brewer >> wrote: >>> >>> Hi, >>> >>> I am in the process of putting a web app together using the UserFrosting >> system as a starting point. >>> I am slowly getting the hang of the framework and am now wishing to >> start using LC Server to do some backend crunching to render the pages. (Im >> not picking up PHP as fast as I hoped!) >>> >>> The UserFrosting system bases all of its page contents in PHP Files by >> design. >>> >>> For example the index file is index.php >>> >>> My question is, am I able to call LC functions from within a PHP file? >>> >>> For example, in the below page (which is a PHP file) >>> Red content... >>> >>> >> /* >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Nov 25 10:24:00 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Nov 2014 15:24:00 +0000 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: References: <1AACDF01-88B3-41C0-ACD6-817352EA07DC@mac.com> <843DB544-C097-47D2-AD33-22074359EB8E@iotecdigital.com> Message-ID: <3C21D3D5-D557-4D2C-8774-E4E8077574DB@iotecdigital.com> There is a checkbox in the menu builder called Set as Stack Menu bar. I?m wondering if that is what everyone means by a stack menu? If so, it seems that in order for your application to look and feel like a *real* app, you will need to employ this, at least for some apps. I have never heard of a stack developed in such a way as it becomes the menu for another stack, if that is what was being discussed. Some time ago, back in the Revolution days, the Menu Builder had some real problems, taking perfectly good menus and screwing them up beyond the ability to recover them, hence many people?s aversion to using it. Nowadays I can say that I use it exclusively, as opposed to rolling my own, with absolutely no issues whatsoever. Others mileage may vary. Bob S On Nov 24, 2014, at 08:54 , Graham Samuel > wrote: Hi Bob I was just trying to find out what a stack menu IS. I don?t know whether you can build one with the menu builder or not, but what I was looking for was an explanation as to the what, the why and the how. I suppose the how might have included menu builder. When I start a new project I do usually use the menu builder, but menus always need tweaking in my experience, especially cross-platform ones, so I do end up doing lots of stuff outside that context. Maybe you didn?t want your question answered - if so, sorry for the bandwidth! Graham From bobsneidar at iotecdigital.com Tue Nov 25 10:29:08 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Nov 2014 15:29:08 +0000 Subject: any use of pass by reference breaks any omitted variable? In-Reply-To: References: Message-ID: I went the other direction. on testReference put 8 into someVariable put 5 into someOtherVariable setVariable , someVariable -- second param omitted answer "someVariable was 8, and is is now:" && someVariable end testReference on setVariable incomingVar, @someOtherVariable add 1 to incomingVar end setVariable Works fine. Seems logical that if passing by reference it would require a value for such variables, as it would otherwise result in referencing a variable that to the handler does not exist. Bob S > On Nov 24, 2014, at 11:05 , Peter M. Brigham wrote: > > on testReference > put 8 into someVariable > put 5 into someOtherVariable > setVariable someVariable -- second param omitted > answer "someVariable was 8, and is is now:" && someVariable > end testReference > > on setVariable @incomingVar, at someOtherVariable > add 1 to incomingVar > end setVariable From bobsneidar at iotecdigital.com Tue Nov 25 10:33:59 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Nov 2014 15:33:59 +0000 Subject: any use of pass by reference breaks any omitted variable? In-Reply-To: References: Message-ID: correction first parameter omitted. On Nov 25, 2014, at 07:29 , Bob Sneidar > wrote: setVariable , someVariable -- first param omitted From ambassador at fourthworld.com Tue Nov 25 11:06:14 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 25 Nov 2014 08:06:14 -0800 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: <3C21D3D5-D557-4D2C-8774-E4E8077574DB@iotecdigital.com> References: <3C21D3D5-D557-4D2C-8774-E4E8077574DB@iotecdigital.com> Message-ID: <5474A8F6.8080901@fourthworld.com> Bob Sneidar wrote: > There is a checkbox in the menu builder called Set as Stack Menu bar. > I?m wondering if that is what everyone means by a stack menu? Stack menus are far more primitive than that, going back to the very early days of MetaCard in which making a menu meant laying out buttons with a very specific mix of property settings to appear and behave like a menu, and then either calling that stack with a popup command or assigning it as the menuName property of a button. This was super-tedious, and when trying to get proper appearances for both Linux and Windows very difficult, and impossible for Mac given its global menu bar. So as the engine was ported to Mac, the need to support the Mac's global menu bar prompted the creation of a subclass of buttons which allow us to have menu items defined as simple text strings - much easier to work with, and much more HIG-compliant. Interestingly, on Windows and Linux menus are still rendered as stacks, but done by the engine. This is much faster and more attractive than the olden days when we used to make them by hand, but obviates some opportunities to make menus in closer compliance to those HIGs. This is rarely evident to us (the implementation is pretty good), but if you happen to check "the windows" while a menu is open you'll find that the first line of the list returned from that function is blank - that's the name of the menu stack that is the open menu. In some routines I rely on that to know when a menu is open - not often needed, but can be useful to know. When Theming becomes available we'll be able to revamp the ways menus are constructed, mapping those calls to native OS routines for even closer adherence to user expectations. And along with that I'll probably need to come up with another way to know if a menu is open since I won't be able to rely on the first line of "the windows" being blank - small price to pay if we finally get automatically-toggling Alt key shortcuts for Windows. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Tue Nov 25 11:11:33 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 25 Nov 2014 11:11:33 -0500 Subject: [OT] Personal In-Reply-To: <5473BEE4.3000804@pdslabs.net> References: <5473BEE4.3000804@pdslabs.net> Message-ID: <008c01d008ca$7b6d6fd0$72484f70$@net> To all you "RR-Live"ers. I would like to first thank all of you that every year made Margaret feel at home and part of the extended LiveCode family. I am happy to report that after a 7.25 hour operation on her neck on 11/14 she is feeling much better today. She is up out of bed and the first set of x-rays show that the operation was a success and everything is stable. Although the operation was 3.25 hours longer than expected and we were all on edge the final results were worth waiting for. Now for the real challenge... getting here home from 50 miles away during the east-coast snowstorm tomorrow. Although she can no longer follow her passion of horse-back riding, the last time she went was 20 miles outside of Edinburgh at RR 13. This was such a memorable ride that she(and me) will treasure it forever. Thanks again for all your hospitality. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Tue Nov 25 11:30:39 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 25 Nov 2014 11:30:39 -0500 Subject: reopen app from background iOS 7 and 8 / multitask In-Reply-To: <6E96165E-D28D-4441-B4B5-FDFA86D1A3D4@canelasoftware.com> References: <2D10EEDB-49A9-4F93-AF7D-578A0F1D33B5@logilangue.com> <6E96165E-D28D-4441-B4B5-FDFA86D1A3D4@canelasoftware.com> Message-ID: <00a001d008cd$268199d0$7384cd70$@net> I have used the plist hack for 3 years now. I know there are some threading issues with LC and the plist hack IS NOT supported or recommended by RunRev. That being said I have had no problems/customer complaints or trouble getting the app approved by Apple. My apps are a DB based applications and there are no messages in the path or timers active when the user leaves the app. It works for me but your mileage may vary. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Talluto Sent: Monday, November 24, 2014 6:30 PM To: How to use LiveCode Subject: Re: reopen app from background iOS 7 and 8 / multitask On Nov 24, 2014, at 2:06 PM, Alain Vezina wrote: > Hi all, > > Does anybody knows if it is possible to go back to an app that was pushed in the background by using the home button on iPad without the app reopens with the splash screen but showing the state it was before pushed back? Hi Alain, You can do this by storing the state when the app closes or at various points in your app usage. It is not a perfect solution in that the app truly does re-open again. All your variable data will be lost. Storing the state of your app and then bringing that state back upon restart of the software is the best thing we have going at this time. We used this technique to good effect in the LiveEvents app. It is used when the user needs to validate their email. Upon returning from the email program, the mobile app returns the user to the exact same spot. You can give this a try in the actual app from here: http://livecloud.io/runrevlive-14-conference-app/ You can download the source code to the app here: http://livecloud.io/live-events-source/ Best regards, Mark Talluto livecloud.io canelasoftware.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Nov 25 11:42:20 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 25 Nov 2014 08:42:20 -0800 Subject: LC Script in PHP File In-Reply-To: References: Message-ID: <5474B16C.9080506@fourthworld.com> Andre Garzia wrote: > I've just replied on another thread why FastCGI is not a good candidate for > LiveCode in my humble opinion. > > As for Apache Modules, those things are on the way out. If we want LC > Server to be taken seriously then it need to work with Apache and Nginx. I like to imagine this in stages: if an Apache mod is easier to build, perhaps it could be done first, maybe even as a community effort, with a FastCGI implementation done later once the engine team has had more experience delivering threading to us. Kevin and I had a good talk yesterday about community initiatives surrounding education*, and part of the discussion briefly touched on LC Server. Of course right now the core team at RunRev has their hands quite full with the current lineup of items on the Road Map, but the value of a multi-threaded LC Server engine is well recognized there. From various discussions of debugging we're already aware of plans to integrate a form of threading for that, at last separating the debugging engine from the instance it's debugging. By the time that's in place the engine team will have had many good opportunities to explore useful ways threading can be applied to other tasks later on, such as for Server use. So yes, it's not possible to use FastCGI well with the engine as it is, but the engine is an ever-evolving thing. In the meantime, there's plenty we can do to move that along, mostly by just creating demand for it. Build lots of cool stuff with LC Server, build your audience, and hopefully by the time you have an audience large enough to truly need a FastCGI implementation we'll have one. For now, both Kevin and I have been very impressed with the work of one of their most recent hires, a fella you'll find in the forums by the name of peter_b. He's been taking tests from Malte's Performance Benchmarking Project there (see ), and using those to help guide the engine team for areas in which v7 performance can be brought up to the level we had with v6.7. Donald Knuth reminds us that "Premature optimization is the root of all evil", and v7 just delivered a mind-blowingly complete implementation of Unicode across the whole of the LC code base. Clearly it couldn't be tightly optimized at the same time as it was first written, but efforts are well underway to bring its performance closer to v6.7 right now. Interestingly, there are already some new changes in v7 that are pretty smart for optimization, like copy-on-write-only. As they continue to find other ways to enhance performance without us needing to modify our scripts, Kevin's pretty confident we'll see v7 performance where we want it, possibly even faster over the long term than v6.7 is today. And right now, unless you're running Twitter (and congrats if you have a project that popular), CGI is pretty nice. It provides very clear separation of processing and memory space, and the overhead difference between multiprocessing and multithreading isn't as significant as one might think. In fact, on one server I had not long ago we had a FastCGI implementation of PHP driving Drupal on the same server as a CGI-based custom search engine made in LC - we were able to perform all the steps needed to deliver search results in 1/3 the RAM and 1/5 the CPU time as Drupal could deliver a page of static content. So even with CGI today things are pretty good, and with both performance in v7 being worked on now which will benefit CGI, and likely a FastCGI version further down the road, it only gets better. In the meantime, it would be super-cool to see more libraries and frameworks in the community for this sort of thing. Right now we have a great one from Ralf Bitter, RevIgniter, but just as the PHP community has Drupal, Wordpress, Joomla, and others, I believe there's plenty of room for lots of other toolkits to round out our options for delivering dynamic content and services with LiveCode Server. * Anyone interesting in teaching LiveCode or teaching with LiveCode is strongly encourage to participate in the "Teaching with LiveCode" section of the forums - as the community moves forward with more resources for educators that'll be our main working group to bring it all together: -- Richard Gaskin LiveCode Community Manager richard at livecode.org From roger.e.eller at sealedair.com Tue Nov 25 12:08:03 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 25 Nov 2014 12:08:03 -0500 Subject: [OT] Personal In-Reply-To: <008c01d008ca$7b6d6fd0$72484f70$@net> References: <5473BEE4.3000804@pdslabs.net> <008c01d008ca$7b6d6fd0$72484f70$@net> Message-ID: Prayers for a speedy recovery, and safe travels! It was a pleasure meeting you both at RR14. ~Roger Sent from my Android tablet On Nov 25, 2014 11:11 AM, "Ralph DiMola" wrote: > To all you "RR-Live"ers. I would like to first thank all of you that every > year made Margaret feel at home and part of the extended LiveCode family. I > am happy to report that after a 7.25 hour operation on her neck on 11/14 > she > is feeling much better today. She is up out of bed and the first set of > x-rays show that the operation was a success and everything is stable. > Although the operation was 3.25 hours longer than expected and we were all > on edge the final results were worth waiting for. Now for the real > challenge... getting here home from 50 miles away during the east-coast > snowstorm tomorrow. Although she can no longer follow her passion of > horse-back riding, the last time she went was 20 miles outside of Edinburgh > at RR 13. This was such a memorable ride that she(and me) will treasure it > forever. > > Thanks again for all your hospitality. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Tue Nov 25 12:28:26 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 25 Nov 2014 11:28:26 -0600 Subject: Comparison of Speed of LiveCode with PHP In-Reply-To: References: <25094FEE-5947-4F7C-844D-3ADEFA0757EC@gmail.com> Message-ID: On Tue, Nov 25, 2014 at 5:16 AM, Andre Garzia wrote: > co-routines mmm, co-routines... From paul at researchware.com Tue Nov 25 12:41:01 2014 From: paul at researchware.com (Paul Dupuis) Date: Tue, 25 Nov 2014 12:41:01 -0500 Subject: Detecting the active monitor under Mavericks and Yosemite... Message-ID: <5474BF2D.6030305@researchware.com> Starting with OSX 10.9 and 10.10, Apple introduced changes to how multiple monitors are handled. The menubar appears on all monitors and when you drag a window from one monitor to another the menubar for the application that window belongs to becomes active on the target monitor. Question: Does anyone know if there is a way to detect which monitor has the active menubar under 10.9 and up? I don't see any obvious dictionary entries for detecting this in LC 6.7 or 7.0, but maybe there is a non-obvious way. I believe that from an UI perspective, an application should open new windows on the monitor which has the active menu bar for the application, but that requires the ability to tell which monitor has the currently active menubar. From bobsneidar at iotecdigital.com Tue Nov 25 13:49:38 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Nov 2014 18:49:38 +0000 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: <5474A8F6.8080901@fourthworld.com> References: <3C21D3D5-D557-4D2C-8774-E4E8077574DB@iotecdigital.com> <5474A8F6.8080901@fourthworld.com> Message-ID: Nice. And along with that we should probably have the Menu Builder automatically create File and Edit menus complete with the script commands that make them work. For instance Save will save the current stack, Copy will copy whatever is currently selected, etc. We can code it now, but with many different stacks/forms that do different things, having to code each menu, or create a global menuPick handler for *some* menu commands as I now do seems sketchy. Bob S On Nov 25, 2014, at 08:06 , Richard Gaskin > wrote: When Theming becomes available we'll be able to revamp the ways menus are constructed, mapping those calls to native OS routines for even closer adherence to user expectations. And along with that I'll probably need to come up with another way to know if a menu is open since I won't be able to rely on the first line of "the windows" being blank - small price to pay if we finally get automatically-toggling Alt key shortcuts for Windows. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From jacque at hyperactivesw.com Tue Nov 25 14:00:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Nov 2014 13:00:00 -0600 Subject: [OT] Personal In-Reply-To: <008c01d008ca$7b6d6fd0$72484f70$@net> References: <5473BEE4.3000804@pdslabs.net> <008c01d008ca$7b6d6fd0$72484f70$@net> Message-ID: <5474D1B0.6000604@hyperactivesw.com> I'm glad it all went well, Ralph. Please give my best wishes to Margaret, and hopes for a speedy recovery. On 11/25/2014, 10:11 AM, Ralph DiMola wrote: > To all you "RR-Live"ers. I would like to first thank all of you that every > year made Margaret feel at home and part of the extended LiveCode family. I > am happy to report that after a 7.25 hour operation on her neck on 11/14 she > is feeling much better today. She is up out of bed and the first set of > x-rays show that the operation was a success and everything is stable. > Although the operation was 3.25 hours longer than expected and we were all > on edge the final results were worth waiting for. Now for the real > challenge... getting here home from 50 miles away during the east-coast > snowstorm tomorrow. Although she can no longer follow her passion of > horse-back riding, the last time she went was 20 miles outside of Edinburgh > at RR 13. This was such a memorable ride that she(and me) will treasure it > forever. > > Thanks again for all your hospitality. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Tue Nov 25 14:53:13 2014 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 25 Nov 2014 19:53:13 +0000 Subject: reopen app from background iOS 7 and 8 / multitask References: <2D10EEDB-49A9-4F93-AF7D-578A0F1D33B5@logilangue.com> <6E96165E-D28D-4441-B4B5-FDFA86D1A3D4@canelasoftware.com> <00a001d008cd$268199d0$7384cd70$@net> Message-ID: Ralph is referring to a method that involves changing some settings in a file in the LiveCode application package. That change stops iOS apps quitting when they are sent to the background. It's insane that we have to resort to such hacks but RunRev don't seem interested in providing a real solution (they don't even answer emails about it). Gerry On Wed, 26 Nov 2014 at 3:30 am, Ralph DiMola wrote: > I have used the plist hack for 3 years now. I know there are some threading > issues with LC and the plist hack IS NOT supported or recommended by > RunRev. > That being said I have had no problems/customer complaints or trouble > getting the app approved by Apple. My apps are a DB based applications and > there are no messages in the path or timers active when the user leaves the > app. It works for me but your mileage may vary. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mark Talluto > Sent: Monday, November 24, 2014 6:30 PM > To: How to use LiveCode > Subject: Re: reopen app from background iOS 7 and 8 / multitask > > On Nov 24, 2014, at 2:06 PM, Alain Vezina > wrote: > > > Hi all, > > > > Does anybody knows if it is possible to go back to an app that was pushed > in the background by using the home button on iPad without the app reopens > with the splash screen but showing the state it was before pushed back? > > > Hi Alain, > > You can do this by storing the state when the app closes or at various > points in your app usage. It is not a perfect solution in that the app > truly does re-open again. All your variable data will be lost. Storing the > state of your app and then bringing that state back upon restart of the > software is the best thing we have going at this time. > > We used this technique to good effect in the LiveEvents app. It is used > when the user needs to validate their email. Upon returning from the email > program, the mobile app returns the user to the exact same spot. > > You can give this a try in the actual app from here: > http://livecloud.io/runrevlive-14-conference-app/ > You can download the source code to the app here: > http://livecloud.io/live-events-source/ > > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Nov 25 15:09:07 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 25 Nov 2014 12:09:07 -0800 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) Message-ID: Bob Sneidar wrote: > And along with that we should probably have the Menu Builder > automatically > create File and Edit menus complete with the script commands that make > them work. For instance Save will save the current stack, Copy will > copy > whatever is currently selected, etc. We can code it now, but with many > different stacks/forms that do different things, having to code each > menu, > or create a global menuPick handler for *some* menu commands as I now > do > seems sketchy. Maybe. It's a tough call with a toolkit as flexible as LiveCode, since it's used for such a wide range of different types of apps, each of which may have any variety of data storage methods, undoable actions the engine can't know about, etc. There's definitely a lot of room for improvement in terms of general guidance, such as generalized engine-level support for multi-step Undo. But Undo is a good example of the challenge, since it involves so many different data types and actions that at best such a framework could only provide a shelf onto which we'd still need to put boxes of our own code to become a useful thing. -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com From dixonja at hotmail.co.uk Tue Nov 25 15:15:15 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 25 Nov 2014 20:15:15 +0000 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: References: Message-ID: The menu builder has been a problem since runRev's beginnings... it would pay them to look at 'superCard', they have building menus 'down pat'...:-) > Date: Tue, 25 Nov 2014 12:09:07 -0800 > From: ambassador at fourthworld.com > To: use-livecode at lists.runrev.com > Subject: Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry) > > Bob Sneidar wrote: > > > And along with that we should probably have the Menu Builder > > automatically > > create File and Edit menus complete with the script commands that make > > them work. For instance Save will save the current stack, Copy will > > copy > > whatever is currently selected, etc. We can code it now, but with many > > different stacks/forms that do different things, having to code each > > menu, > > or create a global menuPick handler for *some* menu commands as I now > > do > > seems sketchy. > > Maybe. It's a tough call with a toolkit as flexible as LiveCode, since > it's used for such a wide range of different types of apps, each of > which may have any variety of data storage methods, undoable actions the > engine can't know about, etc. > > There's definitely a lot of room for improvement in terms of general > guidance, such as generalized engine-level support for multi-step Undo. > But Undo is a good example of the challenge, since it involves so many > different data types and actions that at best such a framework could > only provide a shelf onto which we'd still need to put boxes of our own > code to become a useful thing. > > -- > Richard Gaskin > Fourth World Systems > LiveCode training and consulting: http://www.fourthworld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Nov 25 15:23:50 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Nov 2014 14:23:50 -0600 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: References: Message-ID: <5474E556.6010101@hyperactivesw.com> Bob Sneidar wrote: > > And along with that we should probably have the Menu Builder > automatically > create File and Edit menus complete with the script commands that make > them work. Another way to get the same result is to copy an existing menu group and paste it into another stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 25 15:28:15 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Nov 2014 14:28:15 -0600 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: References: Message-ID: <5474E65F.1070103@hyperactivesw.com> On 11/25/2014, 2:15 PM, John Dixon wrote: > The menu builder has been a problem since runRev's beginnings... What problems do you see? Just curious, since I've been using it without any trouble for some time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 25 15:33:22 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Nov 2014 14:33:22 -0600 Subject: shared group loses buttons & scripts when changing cards In-Reply-To: References: <54737C8A.5030203@hyperactivesw.com> <5473C1B0.9080306@hyperactivesw.com> Message-ID: <5474E792.6020508@hyperactivesw.com> On 11/24/2014, 10:03 PM, Dr. Hawkins wrote: > On Mon, Nov 24, 2014 at 3:39 PM, J. Landman Gay > wrote: > >> I see. That sounds like either the card or the stack has cantModify set to >> true. >> > > But I'm having no problem changing the custom properties of groups on that > page (in fact, the script is setting custom properties that are unset to > custom properties from the parallel objects on another card). > > For the moment, I've put a button onto the card, and am hand copying it to > each subsequent card as I convert things (it's a one time script for each > card) > If you look at the stack property inspector, is the cantModify checkbox ticked? I'm not sure exactly which things are affected by that setting; maybe properties don't count. If it isn't that, then I'm not sure what could be happening. It sure sounds like cantModify behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Nov 25 15:40:38 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 25 Nov 2014 12:40:38 -0800 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) Message-ID: <7df99f7db5f24eaa3cad6ce84f37c3a1@fourthworld.com> John Dixon wrote: > Richard Gaskin wrote: >> Bob Sneidar wrote: >> >> > And along with that we should probably have the Menu Builder >> > automatically create File and Edit menus complete with the >> > script commands that make them work. >> >> Maybe. It's a tough call with a toolkit as flexible as LiveCode, >> since it's used for such a wide range of different types of apps, >> each of which may have any variety of data storage methods, >> undoable actions the engine can't know about, etc. > > it would pay them to look at 'superCard', they have building menus > 'down pat'...:-) Although I spent the first decade of my company focused on SuperCard, it's been a while since I've had occasion to use it deeply. What sort of scripts do they now pre-populate menus with? How do they account for the range of things people build? -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From brahma at hindu.org Tue Nov 25 15:51:56 2014 From: brahma at hindu.org (Brahmanathaswami) Date: Tue, 25 Nov 2014 10:51:56 -1000 Subject: BBEdit Language Module for LiveCode In-Reply-To: <9FD43748-66D6-4686-ADB1-06E091D6E930@byu.edu> References: <5461233B.3070603@hindu.org> <54664B2B.3060501@cogapp.com> <546671E4.8070106@hindu.org> <54692F12.5070907@cogapp.com> <546A6937.7040306@cogapp.com> <9FD43748-66D6-4686-ADB1-06E091D6E930@byu.edu> Message-ID: <5474EBEC.3020508@hindu.org> Done: https://github.com/Brahmanathaswami/LiveCode-BBEdit-Language-Module a public repository. Devin Asay wrote: > So after the confusion, is there now a separate github account set up for the BBEdit-LiveCode language module? I?m looking for it but can?t find it. > > Devin From hello at simonsmith.co Tue Nov 25 15:52:45 2014 From: hello at simonsmith.co (Simon Smith) Date: Tue, 25 Nov 2014 22:52:45 +0200 Subject: OT: Need help with Indiegogo, Twitter, Facebook etc. In-Reply-To: <47376FCF-28F8-4728-9E75-A4C33DA81F84@all-auctions.com> References: <47376FCF-28F8-4728-9E75-A4C33DA81F84@all-auctions.com> Message-ID: Hi Rick If you are new to social media, I would suggest choosing a platform and getting use to it and then looking at the others. Personally I would start with Facebook,and setting up a fan page and maybe Twitter, and take it from there. Facebook has by far the biggest audience. I would not suggest buying likes, tweet or any type of followers. It's pretty much a waste of money. That said, I would suggest having a website (even if its a free blog, but get a domain name) and channeling people there and collecting email addresses but as you already have the campaign running - its probably not feasible. Advertising on Facebook can be very cost effective, so long as you pay attention to conversion rates. It's pretty easy to run yourself aswell and you can channel people to directly to your indigogo campaign. I would start off reaching out to family and friends and asking them to share your page / campaign. As it takes a bit of time to grow ones following, you may have to look at spending a bit on advertising. You shouldn't need any software to start off with, though you could look at Hootsuite and Buffer is also a good alternative. I think what contributed the most to the success of the RunRev's success with their campaigns is that they already had a large base of interested and engaged customers that they could leverage (especially for the 2nd campaign where they ran it themselves. The first campaign also got quiet a bit of coverage on a variety of sites (if I remember correctly), which always helps. If you want to market yourself, or pretty much anything, then the more people you are connected with the better :). If you are planning on future campaigns etc, then I would suggest keeping your accounts going and work on growing your followers. http://www.socialmediaexaminer.com/ is a great website for getting the most of social media. Kind Regards Simon On Tue, Nov 25, 2014 at 12:36 AM, Rick Harrison wrote: > Dear Fellow LiveCoders, > > I just started an Indiegogo.com campaign to make > my second music CD Album. I?m doing some side > advertising of my Apple Apps along with the project. > (We might be able to use this to help push LiveCode > too as I can add perks to my campaign to encourage > others to donate. For example: at the $400 level one gets > a commercial copy of LiveCode, or at the $300 level, the > mergExt suite etc. > > Here?s the link if you?d like to take and look and offer suggestions: > > https://www.indiegogo.com/projects/rick-harrison-s-2nd-cd-album < > https://www.indiegogo.com/projects/rick-harrison-s-2nd-cd-album> > > Anyway, many people are saying that I need to use > Social Media to advertise this campaign. > I?m not much of a social media expert and > I think I?m already in over my head on this. > > The people here at RunRev have run two > very successful fund raising campaigns and > I wondered if anyone has any good advice > as to how I should proceed with this. > > I?ve noticed that I?m already getting bugged > by people trying to sell me on Likes, and > getting Followers for Twitter, and re-tweets > advertising packages etc. > > What do people do to manage this? > I?m having to ask myself questions like, do > I really want to be associated/liked/linked with > the vast array of anyone who is out there? > If I do, should I plan on deleting my Twitter > account etc. when I?m done with my > campaign? > > There are a lot of social questions and > ramifications here. If you know of a > good forum for these kinds of discussions > please let me know. > > Thanks, > > Rick > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From bobsneidar at iotecdigital.com Tue Nov 25 16:02:41 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Nov 2014 21:02:41 +0000 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: References: Message-ID: Are you saying you still have problems with the menu builder? Bob S On Nov 25, 2014, at 12:15 , John Dixon > wrote: The menu builder has been a problem since runRev's beginnings... it would pay them to look at 'superCard', they have building menus 'down pat'...:-) From scott at tactilemedia.com Tue Nov 25 16:07:23 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 25 Nov 2014 13:07:23 -0800 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: <5474BF2D.6030305@researchware.com> References: <5474BF2D.6030305@researchware.com> Message-ID: The theory is: "In its plural form (screenRects) this function returns a list containing the virtual co-ordinates of all the screens currently attached to the system. The first line is always that of the primary display, and the order of the rest are in an OS-specific order.? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Nov 25, 2014, at 9:41 AM, Paul Dupuis wrote: > Starting with OSX 10.9 and 10.10, Apple introduced changes to how > multiple monitors are handled. The menubar appears on all monitors and > when you drag a window from one monitor to another the menubar for the > application that window belongs to becomes active on the target monitor. > > Question: Does anyone know if there is a way to detect which monitor has > the active menubar under 10.9 and up? I don't see any obvious dictionary > entries for detecting this in LC 6.7 or 7.0, but maybe there is a > non-obvious way. > > I believe that from an UI perspective, an application should open new > windows on the monitor which has the active menu bar for the > application, but that requires the ability to tell which monitor has the > currently active menubar. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Tue Nov 25 16:10:32 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 25 Nov 2014 16:10:32 -0500 Subject: Focus on next field Message-ID: Hey LC'ers How the heck to you pass focus to the next positioned field? I am trying to simulate the tab key action of tabbing if the user hits the enter or return key instead inside of the enterInField and returnInField commands. Thank you! SKIP From dunbarx at aol.com Tue Nov 25 16:24:11 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 25 Nov 2014 16:24:11 -0500 Subject: Focus on next field In-Reply-To: References: Message-ID: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> Hi. If the fields are in order by number, then in the card script, on returninfield focus on fld (the number of the target + 1) end return infield on EnterInField returnInField end enterInField If they are in some other order, you should be able to modify as needed... Craig Newman -----Original Message----- From: Magicgate Software - Skip Kimpel To: How to use LiveCode Sent: Tue, Nov 25, 2014 4:11 pm Subject: Focus on next field Hey LC'ers How the heck to you pass focus to the next positioned field? I am trying to simulate the tab key action of tabbing if the user hits the enter or return key instead inside of the enterInField and returnInField commands. Thank you! SKIP _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Tue Nov 25 16:29:26 2014 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 25 Nov 2014 21:29:26 +0000 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: References: , , Message-ID: Always have done... I have always found it to be clunky and difficult to use... scripting menus in SuperCard on the other hand always seemed to be intuitive and easy to manipulate... > From: bobsneidar at iotecdigital.com > To: use-livecode at lists.runrev.com > Subject: Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry) > Date: Tue, 25 Nov 2014 21:02:41 +0000 > > Are you saying you still have problems with the menu builder? > > Bob S > > > On Nov 25, 2014, at 12:15 , John Dixon > wrote: > > The menu builder has been a problem since runRev's beginnings... it would pay them to look at 'superCard', they have building menus 'down pat'...:-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Nov 25 16:35:12 2014 From: paul at researchware.com (Paul Dupuis) Date: Tue, 25 Nov 2014 16:35:12 -0500 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: References: <5474BF2D.6030305@researchware.com> Message-ID: <5474F610.30109@researchware.com> On 11/25/2014 4:07 PM, Scott Rossi wrote: > The theory is: > > "In its plural form (screenRects) this function returns a list containing the virtual co-ordinates of all the screens currently attached to the system. The first line is always that of the primary display, and the order of the rest are in an OS-specific order.? > I was aware of how screenrects returns the rects for multiple monitors. I imagined that the desktopChanged message *might* even be sent under Mavericks and Yosemite when the menubar switched monitors and then I could fetch the screenRects in a handler for that message as a check vs having to poll the screenRects every x interval of time, but before investing the time to construct test stacks and change startup disks and so on and so on, I was hoping someone on the list had already done this and definitively knew the answer :-) Thanks for taking the time to reply though. From skip at magicgate.com Tue Nov 25 16:40:55 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 25 Nov 2014 16:40:55 -0500 Subject: Focus on next field In-Reply-To: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> References: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> Message-ID: That's it... works perfectly. Thanks for making that connection for me :) SKIP On Tue, Nov 25, 2014 at 4:24 PM, wrote: > Hi. > > > If the fields are in order by number, then in the card script, > > > > on returninfield > focus on fld (the number of the target + 1) > end return infield > > > on EnterInField > returnInField > end enterInField > > > If they are in some other order, you should be able to modify as needed... > > > Craig Newman > > > > -----Original Message----- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Tue, Nov 25, 2014 4:11 pm > Subject: Focus on next field > > > Hey LC'ers > > How the heck to you pass focus to the next positioned field? I am trying > to simulate the tab key action of tabbing if the user hits the enter or > return key instead inside of the enterInField and returnInField commands. > > Thank you! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Tue Nov 25 16:53:22 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 25 Nov 2014 16:53:22 -0500 Subject: Focus on next field In-Reply-To: References: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> Message-ID: <8D1D7115D230CF2-6C8-FECE@webmail-vm081.sysops.aol.com> No problem. Have you encountered the problem yet? Craig -----Original Message----- From: Magicgate Software - Skip Kimpel To: How to use LiveCode Sent: Tue, Nov 25, 2014 4:41 pm Subject: Re: Focus on next field That's it... works perfectly. Thanks for making that connection for me :) SKIP On Tue, Nov 25, 2014 at 4:24 PM, wrote: > Hi. > > > If the fields are in order by number, then in the card script, > > > > on returninfield > focus on fld (the number of the target + 1) > end return infield > > > on EnterInField > returnInField > end enterInField > > > If they are in some other order, you should be able to modify as needed... > > > Craig Newman > > > > -----Original Message----- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Tue, Nov 25, 2014 4:11 pm > Subject: Focus on next field > > > Hey LC'ers > > How the heck to you pass focus to the next positioned field? I am trying > to simulate the tab key action of tabbing if the user hits the enter or > return key instead inside of the enterInField and returnInField commands. > > Thank you! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Tue Nov 25 16:59:00 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 25 Nov 2014 16:59:00 -0500 Subject: Focus on next field In-Reply-To: <8D1D7115D230CF2-6C8-FECE@webmail-vm081.sysops.aol.com> References: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> <8D1D7115D230CF2-6C8-FECE@webmail-vm081.sysops.aol.com> Message-ID: Just did :) If it is the last field it throws an error. I could simply working around this already knowing how many fields I have but what would be a more programmatic way of doing this? SKIP On Tue, Nov 25, 2014 at 4:53 PM, wrote: > No problem. > > > Have you encountered the problem yet? > > > Craig > > > > -----Original Message----- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Tue, Nov 25, 2014 4:41 pm > Subject: Re: Focus on next field > > > That's it... works perfectly. Thanks for making that connection for me :) > > SKIP > > On Tue, Nov 25, 2014 at 4:24 PM, wrote: > > > Hi. > > > > > > If the fields are in order by number, then in the card script, > > > > > > > > on returninfield > > focus on fld (the number of the target + 1) > > end return infield > > > > > > on EnterInField > > returnInField > > end enterInField > > > > > > If they are in some other order, you should be able to modify as > needed... > > > > > > Craig Newman > > > > > > > > -----Original Message----- > > From: Magicgate Software - Skip Kimpel > > To: How to use LiveCode > > Sent: Tue, Nov 25, 2014 4:11 pm > > Subject: Focus on next field > > > > > > Hey LC'ers > > > > How the heck to you pass focus to the next positioned field? I am trying > > to simulate the tab key action of tabbing if the user hits the enter or > > return key instead inside of the enterInField and returnInField commands. > > > > Thank you! > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Tue Nov 25 17:12:34 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 25 Nov 2014 17:12:34 -0500 Subject: Focus on next field In-Reply-To: References: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> <8D1D7115D230CF2-6C8-FECE@webmail-vm081.sysops.aol.com> Message-ID: <1DAF2E7A-C435-414F-988C-7E45173CB2DF@verizon.net> This would let you go forward and backwards, but you can already do this with no code by using the tab key: on returninfield if the shiftkey is down then put the number of the target - 1 into f if f = 0 then put the number of fields into f end if else put the number of the target mod the number of fields + 1 into f end if focus on fld f end returninfield on EnterInField returnInField end enterInField > On Nov 25, 2014, at 4:59 PM, Magicgate Software - Skip Kimpel wrote: > > Just did :) If it is the last field it throws an error. > > I could simply working around this already knowing how many fields I have > but what would be a more programmatic way of doing this? > > SKIP > > On Tue, Nov 25, 2014 at 4:53 PM, wrote: > >> No problem. >> >> >> Have you encountered the problem yet? >> >> >> Craig >> >> >> >> -----Original Message----- >> From: Magicgate Software - Skip Kimpel >> To: How to use LiveCode >> Sent: Tue, Nov 25, 2014 4:41 pm >> Subject: Re: Focus on next field >> >> >> That's it... works perfectly. Thanks for making that connection for me :) >> >> SKIP >> >> On Tue, Nov 25, 2014 at 4:24 PM, wrote: >> >>> Hi. >>> >>> >>> If the fields are in order by number, then in the card script, >>> >>> >>> >>> on returninfield >>> focus on fld (the number of the target + 1) >>> end return infield >>> >>> >>> on EnterInField >>> returnInField >>> end enterInField >>> >>> >>> If they are in some other order, you should be able to modify as >> needed... >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: Magicgate Software - Skip Kimpel >>> To: How to use LiveCode >>> Sent: Tue, Nov 25, 2014 4:11 pm >>> Subject: Focus on next field >>> >>> >>> Hey LC'ers >>> >>> How the heck to you pass focus to the next positioned field? I am trying >>> to simulate the tab key action of tabbing if the user hits the enter or >>> return key instead inside of the enterInField and returnInField commands. >>> >>> Thank you! >>> >>> SKIP >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Tue Nov 25 17:14:26 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 25 Nov 2014 15:14:26 -0700 Subject: Focus on next field In-Reply-To: References: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> <8D1D7115D230CF2-6C8-FECE@webmail-vm081.sysops.aol.com> Message-ID: if exists(field ((the number of the target + 1)) then focus field (the number of the target +1) else focus field 1 end if Should work. Then, you can set it up as a behavior for your fields and be done with it. (or whatever alternate method you like) On Tue, Nov 25, 2014 at 2:59 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Just did :) If it is the last field it throws an error. > > I could simply working around this already knowing how many fields I have > but what would be a more programmatic way of doing this? > > SKIP > > On Tue, Nov 25, 2014 at 4:53 PM, wrote: > > > No problem. > > > > > > Have you encountered the problem yet? > > > > > > Craig > > > > > > > > -----Original Message----- > > From: Magicgate Software - Skip Kimpel > > To: How to use LiveCode > > Sent: Tue, Nov 25, 2014 4:41 pm > > Subject: Re: Focus on next field > > > > > > That's it... works perfectly. Thanks for making that connection for me > :) > > > > SKIP > > > > On Tue, Nov 25, 2014 at 4:24 PM, wrote: > > > > > Hi. > > > > > > > > > If the fields are in order by number, then in the card script, > > > > > > > > > > > > on returninfield > > > focus on fld (the number of the target + 1) > > > end return infield > > > > > > > > > on EnterInField > > > returnInField > > > end enterInField > > > > > > > > > If they are in some other order, you should be able to modify as > > needed... > > > > > > > > > Craig Newman > > > > > > > > > > > > -----Original Message----- > > > From: Magicgate Software - Skip Kimpel > > > To: How to use LiveCode > > > Sent: Tue, Nov 25, 2014 4:11 pm > > > Subject: Focus on next field > > > > > > > > > Hey LC'ers > > > > > > How the heck to you pass focus to the next positioned field? I am > trying > > > to simulate the tab key action of tabbing if the user hits the enter or > > > return key instead inside of the enterInField and returnInField > commands. > > > > > > Thank you! > > > > > > SKIP > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Tue Nov 25 17:15:57 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 25 Nov 2014 15:15:57 -0700 Subject: Focus on next field In-Reply-To: <1DAF2E7A-C435-414F-988C-7E45173CB2DF@verizon.net> References: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> <8D1D7115D230CF2-6C8-FECE@webmail-vm081.sysops.aol.com> <1DAF2E7A-C435-414F-988C-7E45173CB2DF@verizon.net> Message-ID: Ok. I like the colin method with mod. On Tue, Nov 25, 2014 at 3:12 PM, Colin Holgate wrote: > This would let you go forward and backwards, but you can already do this > with no code by using the tab key: > > > on returninfield > if the shiftkey is down then > put the number of the target - 1 into f > if f = 0 then > put the number of fields into f > end if > else > put the number of the target mod the number of fields + 1 into f > end if > focus on fld f > end returninfield > > > on EnterInField > returnInField > end enterInField > > > > > > On Nov 25, 2014, at 4:59 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > > Just did :) If it is the last field it throws an error. > > > > I could simply working around this already knowing how many fields I have > > but what would be a more programmatic way of doing this? > > > > SKIP > > > > On Tue, Nov 25, 2014 at 4:53 PM, wrote: > > > >> No problem. > >> > >> > >> Have you encountered the problem yet? > >> > >> > >> Craig > >> > >> > >> > >> -----Original Message----- > >> From: Magicgate Software - Skip Kimpel > >> To: How to use LiveCode > >> Sent: Tue, Nov 25, 2014 4:41 pm > >> Subject: Re: Focus on next field > >> > >> > >> That's it... works perfectly. Thanks for making that connection for me > :) > >> > >> SKIP > >> > >> On Tue, Nov 25, 2014 at 4:24 PM, wrote: > >> > >>> Hi. > >>> > >>> > >>> If the fields are in order by number, then in the card script, > >>> > >>> > >>> > >>> on returninfield > >>> focus on fld (the number of the target + 1) > >>> end return infield > >>> > >>> > >>> on EnterInField > >>> returnInField > >>> end enterInField > >>> > >>> > >>> If they are in some other order, you should be able to modify as > >> needed... > >>> > >>> > >>> Craig Newman > >>> > >>> > >>> > >>> -----Original Message----- > >>> From: Magicgate Software - Skip Kimpel > >>> To: How to use LiveCode > >>> Sent: Tue, Nov 25, 2014 4:11 pm > >>> Subject: Focus on next field > >>> > >>> > >>> Hey LC'ers > >>> > >>> How the heck to you pass focus to the next positioned field? I am > trying > >>> to simulate the tab key action of tabbing if the user hits the enter or > >>> return key instead inside of the enterInField and returnInField > commands. > >>> > >>> Thank you! > >>> > >>> SKIP > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription > >>> preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Tue Nov 25 17:28:03 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 25 Nov 2014 14:28:03 -0800 Subject: any use of pass by reference breaks any omitted variable? In-Reply-To: References: Message-ID: Folks: I?m trying out Installermaker with LC 7.0. There is a video tutorial somewhere. Could somebody post a link to it? Thanks, Bill William A. Prothero http://es.earthednet.org/ From skiplondon at gmail.com Tue Nov 25 17:28:53 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 25 Nov 2014 17:28:53 -0500 Subject: Focus on next field In-Reply-To: References: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> <8D1D7115D230CF2-6C8-FECE@webmail-vm081.sysops.aol.com> <1DAF2E7A-C435-414F-988C-7E45173CB2DF@verizon.net> Message-ID: <8D951FA4-ABAB-4E10-8614-AA9F0D7E349B@gmail.com> Thank you everybody! SKIP > On Nov 25, 2014, at 5:15 PM, Mike Bonner wrote: > > Ok. I like the colin method with mod. > >> On Tue, Nov 25, 2014 at 3:12 PM, Colin Holgate wrote: >> >> This would let you go forward and backwards, but you can already do this >> with no code by using the tab key: >> >> >> on returninfield >> if the shiftkey is down then >> put the number of the target - 1 into f >> if f = 0 then >> put the number of fields into f >> end if >> else >> put the number of the target mod the number of fields + 1 into f >> end if >> focus on fld f >> end returninfield >> >> >> on EnterInField >> returnInField >> end enterInField >> >> >> >> >>>> On Nov 25, 2014, at 4:59 PM, Magicgate Software - Skip Kimpel < >>> skip at magicgate.com> wrote: >>> >>> Just did :) If it is the last field it throws an error. >>> >>> I could simply working around this already knowing how many fields I have >>> but what would be a more programmatic way of doing this? >>> >>> SKIP >>> >>>> On Tue, Nov 25, 2014 at 4:53 PM, wrote: >>>> >>>> No problem. >>>> >>>> >>>> Have you encountered the problem yet? >>>> >>>> >>>> Craig >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: Magicgate Software - Skip Kimpel >>>> To: How to use LiveCode >>>> Sent: Tue, Nov 25, 2014 4:41 pm >>>> Subject: Re: Focus on next field >>>> >>>> >>>> That's it... works perfectly. Thanks for making that connection for me >> :) >>>> >>>> SKIP >>>> >>>>> On Tue, Nov 25, 2014 at 4:24 PM, wrote: >>>>> >>>>> Hi. >>>>> >>>>> >>>>> If the fields are in order by number, then in the card script, >>>>> >>>>> >>>>> >>>>> on returninfield >>>>> focus on fld (the number of the target + 1) >>>>> end return infield >>>>> >>>>> >>>>> on EnterInField >>>>> returnInField >>>>> end enterInField >>>>> >>>>> >>>>> If they are in some other order, you should be able to modify as >>>> needed... >>>>> >>>>> >>>>> Craig Newman >>>>> >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: Magicgate Software - Skip Kimpel >>>>> To: How to use LiveCode >>>>> Sent: Tue, Nov 25, 2014 4:11 pm >>>>> Subject: Focus on next field >>>>> >>>>> >>>>> Hey LC'ers >>>>> >>>>> How the heck to you pass focus to the next positioned field? I am >> trying >>>>> to simulate the tab key action of tabbing if the user hits the enter or >>>>> return key instead inside of the enterInField and returnInField >> commands. >>>>> >>>>> Thank you! >>>>> >>>>> SKIP >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription >>>>> preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Nov 25 18:53:56 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Nov 2014 23:53:56 +0000 Subject: Stack Menu Mystery - Disappointing Documentation (Long, sorry) In-Reply-To: References: <,> <,> Message-ID: <1092F4BC-D620-4AC2-8D73-3646F96DDD4F@iotecdigital.com> Still sketchy about the last time you actually created a menu from scratch using the menu builder but no matter. Rolling your own works fine. I just don?t want new users to feel that there is a problem if there currently is not. Bob S On Nov 25, 2014, at 13:29 , John Dixon > wrote: Always have done... I have always found it to be clunky and difficult to use... scripting menus in SuperCard on the other hand always seemed to be intuitive and easy to manipulate... From bobsneidar at iotecdigital.com Tue Nov 25 18:56:36 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Nov 2014 23:56:36 +0000 Subject: Focus on next field In-Reply-To: References: <8D1D70D49C953B4-6C8-FB48@webmail-vm081.sysops.aol.com> <8D1D7115D230CF2-6C8-FECE@webmail-vm081.sysops.aol.com> Message-ID: In the application browser change the order of the fields/groups. This will become the natural tab order. I usually group labels and fields together in groups and name the groups accordingly, so I reorder my groups. I typically have all the fields/groups at the top of the order, then data grids, then buttons. Makes it easier to navigate complex forms. Bob S > On Nov 25, 2014, at 13:59 , Magicgate Software - Skip Kimpel wrote: > > Just did :) If it is the last field it throws an error. > > I could simply working around this already knowing how many fields I have > but what would be a more programmatic way of doing this? > > SKIP > > On Tue, Nov 25, 2014 at 4:53 PM, wrote: > >> No problem. >> >> >> Have you encountered the problem yet? >> >> >> Craig >> >> >> >> -----Original Message----- >> From: Magicgate Software - Skip Kimpel >> To: How to use LiveCode >> Sent: Tue, Nov 25, 2014 4:41 pm >> Subject: Re: Focus on next field >> >> >> That's it... works perfectly. Thanks for making that connection for me :) >> >> SKIP >> >> On Tue, Nov 25, 2014 at 4:24 PM, wrote: >> >>> Hi. >>> >>> >>> If the fields are in order by number, then in the card script, >>> >>> >>> >>> on returninfield >>> focus on fld (the number of the target + 1) >>> end return infield >>> >>> >>> on EnterInField >>> returnInField >>> end enterInField >>> >>> >>> If they are in some other order, you should be able to modify as >> needed... >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: Magicgate Software - Skip Kimpel >>> To: How to use LiveCode >>> Sent: Tue, Nov 25, 2014 4:11 pm >>> Subject: Focus on next field >>> >>> >>> Hey LC'ers >>> >>> How the heck to you pass focus to the next positioned field? I am trying >>> to simulate the tab key action of tabbing if the user hits the enter or >>> return key instead inside of the enterInField and returnInField commands. >>> >>> Thank you! >>> >>> SKIP >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From userev at canelasoftware.com Tue Nov 25 19:14:57 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 25 Nov 2014 16:14:57 -0800 Subject: reopen app from background iOS 7 and 8 / multitask In-Reply-To: References: <2D10EEDB-49A9-4F93-AF7D-578A0F1D33B5@logilangue.com> <6E96165E-D28D-4441-B4B5-FDFA86D1A3D4@canelasoftware.com> <00a001d008cd$268199d0$7384cd70$@net> Message-ID: <5DEDBD5F-AB99-45D7-9945-12284CA1D968@canelasoftware.com> On Nov 25, 2014, at 11:53 AM, Gerry wrote: > Ralph is referring to a method that involves changing some settings in a > file in the LiveCode application package. That change stops iOS apps > quitting when they are sent to the background. > > It's insane that we have to resort to such hacks but RunRev don't seem > interested in providing a real solution (they don't even answer emails > about it). I remember some comment about it at the conference this year in San Diego. We were told that the HTML 5 engine work will be beneficial in supporting this properly. I do not remember any exact details. If I am not remember this correctly, maybe someone else will chime in. Best regards, Mark Talluto livecloud.io canelasoftware.com From feed at smpcsupport.com Tue Nov 25 20:06:55 2014 From: feed at smpcsupport.com (RunRevPlanet) Date: Wed, 26 Nov 2014 12:06:55 +1100 Subject: LiveCode Super Site: New Links Page Message-ID: <1416964015.547527af2ca84@www.server101.com> Hi All, There is a new Links page at LiveCode Super Site. If you know of any links that fit in the categories, please let me know. http://livecodesupersite.com/links.html Cheers, -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From harrison at all-auctions.com Tue Nov 25 22:05:12 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 25 Nov 2014 22:05:12 -0500 Subject: OT: Need help with Indiegogo, Twitter, Facebook etc. In-Reply-To: References: <47376FCF-28F8-4728-9E75-A4C33DA81F84@all-auctions.com> Message-ID: Hi Simon, This all sounds like good advice. I will check out your suggestions. Thanks! Rick > On Nov 25, 2014, at 3:52 PM, Simon Smith > wrote: > > Hi Rick > > If you are new to social media, I would suggest choosing a platform and > getting use to it and then looking at the others. > > Personally I would start with Facebook,and setting up a fan page and maybe > Twitter, and take it from there. Facebook has by far the biggest audience. > I would not suggest buying likes, tweet or any type of followers. It's > pretty much a waste of money. ... From livfoss at mac.com Wed Nov 26 06:18:49 2014 From: livfoss at mac.com (Graham Samuel) Date: Wed, 26 Nov 2014 11:18:49 +0000 Subject: LC7 rc2 ate my sloppy code Message-ID: <8678BBF8-4C8D-4BEE-9D3F-CC4184FE43D7@mac.com> Just a warning. Something in a script that has worked forever stopped working when I switched to LC 7. In fact I did two things which were at some past time unofficially OK, but really aren't now: show this card this doesn't work (silently fails). Should be show this stack And set the points of last grc to x1,y1.x2,y2 Each pair of points needs to be on a different line, i.e. there has to be a 'return' between the two (or more) pairs of points. Stupid, I know, but it may help someone else. Graham From alex at tweedly.net Wed Nov 26 06:46:25 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 26 Nov 2014 11:46:25 +0000 Subject: hide / show oddities ? Message-ID: <5475BD91.6090904@tweedly.net> This feels so unlikely that I wonder if I'm simply doing something wrong - but thought I'd ask first. I had a script which is supposed to (amongst other things) hide one particular group. Although it usually worked OK, in some cases, sometimes, the group would remain visible when it is not supposed to. Trying to find this in the IDE/debugger wasn't getting anywhere, so I reverted to using "put"s (but still in the IDE). I finished up after a few iterations with some code that said ...... hide grp "abcde" put "here now" && the vis of grp "abcde" &CR after msg .... and it output here now true So I changed the code to ...... set the vis of grp "abcde" to false put "here now" && the vis of grp "abcde" &CR after msg .... and what do you know - not only does it output "here now false", but the group *always* becomes invisible. Does "hide" do anything different from simply setting the visibility to false? Is it remotely possible this isn't me misunderstanding something ? And then - in a completely different bit of the same app, in a different group, I have some code (in the group script) that was doing ... show me .... to ensure that the group was visible (inside a timed / delay loop). This would occasionally result in some graphics showing up wrongly (in the wrong colour) very briefly. Simply changing the code to .... set the visible of me to true .... again seems to fix this. To be honest, if someone else described these symptoms to me, I'd be looking for what else was going on that they had forgotten about :-) But I've already done that - now I'm hoping someone can offer an idea of whether this is feasible. Has anyone else seen anything like this ? Should I be pursuing an attempt to make this happen in a smaller sample so I can submit a useful bug report ? (oh - glad you asked - Mac OSX 10.8.5, LC 6.6.2) Thanks -- Alex. From effendi at wanadoo.fr Wed Nov 26 07:53:15 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 26 Nov 2014 13:53:15 +0100 Subject: (OT) Yosemite and the immediate future .... Message-ID: <638BA1C3-D53B-4421-854E-09A80E7E3B42@wanadoo.fr> Hi from Beautiful (but wet) Brittany, I know where Apple is trying to lead us, AND I DON?T WANNA GO ! I have 4 Macs, with 3 versions of OSX. 10.7, 10.8 and 10.9 I like my Macs as they are, although 10.9 seems to be squeezing me, just a tad. Now, on all my OS-X versions, I get encouragements to upgrade directly to Yosemite (10.10). Youpee - it?s free - Go with the flow ! (and if we have changed your way of life, consider it PROGRESS !) I don?t like being pushed or shoved. I don?t care if Apple want to merge OSX and iOS. I want my OS X !!!!!!!! I haven?t got an iPad, I haven?t got an iPhone, and I don?t want either ! I am quite happy with OSX systems (10.8 was the best) Apple have been slowly changing the way we think of OSX for some time, when it is most certainly the BEST Operating System ever. And they push us to Yosemite only to save development costs. We have already been notified that some of our best apps won?t run on Yosemite - Sorry, you have to pay for the update : >(( Will LiveCode work on iOS (version 2016), or will we have to pay for the authorisation to run our OWN apps, on our OWN computers ? ?... Will Apple accept LiveCode Apps (after vetting, and, for a price !) iinevitably increasing already expensive LiveCode user costs ? Anybody out there worried like me ?? Of course, it you have a PC, you won?t be worried when they start merging Android into Windows (?.. unless it has already started !) -Francis From dunbarx at aol.com Wed Nov 26 10:06:41 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 26 Nov 2014 10:06:41 -0500 Subject: hide / show oddities ? In-Reply-To: <5475BD91.6090904@tweedly.net> References: <5475BD91.6090904@tweedly.net> Message-ID: <8D1D7A1B7A92CB6-6C8-135D7@webmail-vm081.sysops.aol.com> Alex. I feel your pain, and you have described a surreal situation very nicely. I cannot duplicate what you see. What happens if you start from scratch, or is the project too far along? Craig -----Original Message----- From: Alex Tweedly To: How to use LiveCode Sent: Wed, Nov 26, 2014 6:47 am Subject: hide / show oddities ? This feels so unlikely that I wonder if I'm simply doing something wrong - but thought I'd ask first. I had a script which is supposed to (amongst other things) hide one particular group. Although it usually worked OK, in some cases, sometimes, the group would remain visible when it is not supposed to. Trying to find this in the IDE/debugger wasn't getting anywhere, so I reverted to using "put"s (but still in the IDE). I finished up after a few iterations with some code that said ...... hide grp "abcde" put "here now" && the vis of grp "abcde" &CR after msg .... and it output here now true So I changed the code to ...... set the vis of grp "abcde" to false put "here now" && the vis of grp "abcde" &CR after msg .... and what do you know - not only does it output "here now false", but the group *always* becomes invisible. Does "hide" do anything different from simply setting the visibility to false? Is it remotely possible this isn't me misunderstanding something ? And then - in a completely different bit of the same app, in a different group, I have some code (in the group script) that was doing ... show me .... to ensure that the group was visible (inside a timed / delay loop). This would occasionally result in some graphics showing up wrongly (in the wrong colour) very briefly. Simply changing the code to .... set the visible of me to true .... again seems to fix this. To be honest, if someone else described these symptoms to me, I'd be looking for what else was going on that they had forgotten about :-) But I've already done that - now I'm hoping someone can offer an idea of whether this is feasible. Has anyone else seen anything like this ? Should I be pursuing an attempt to make this happen in a smaller sample so I can submit a useful bug report ? (oh - glad you asked - Mac OSX 10.8.5, LC 6.6.2) Thanks -- Alex. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bodine at bodinetraininggames.com Wed Nov 26 10:22:52 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Wed, 26 Nov 2014 07:22:52 -0800 (PST) Subject: (OT) Yosemite and the immediate future .... In-Reply-To: <638BA1C3-D53B-4421-854E-09A80E7E3B42@wanadoo.fr> References: <638BA1C3-D53B-4421-854E-09A80E7E3B42@wanadoo.fr> Message-ID: <1417015372647-4686266.post@n4.nabble.com> I feel your pain. It's hard to live in the past in a connected world, said the man who is finally preparing to permanently shutdown his 1998-era Mac still running MacOS 9 with legacy apps, proprietary data formats, LocalTalk network and floppy disk drive. In hindsight, it would have been easier to make this change when there was a clear path forward. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Yosemite-and-the-immediate-future-tp4686264p4686266.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Nov 26 10:33:06 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Nov 2014 09:33:06 -0600 Subject: hide / show oddities ? In-Reply-To: <5475BD91.6090904@tweedly.net> References: <5475BD91.6090904@tweedly.net> Message-ID: <780C6166-86F1-4D77-9E54-BBA0C072BCF8@hyperactivesw.com> I have a large project running under 6.6.x (all versions over the years) which uses hide/show all the time and it's always worked okay. I can't think of anything that would cause your symptoms though, it's pretty odd. On November 26, 2014 5:46:25 AM CST, Alex Tweedly wrote: > >This feels so unlikely that I wonder if I'm simply doing something >wrong >- but thought I'd ask first. > >I had a script which is supposed to (amongst other things) hide one >particular group. Although it usually worked OK, in some cases, >sometimes, the group would remain visible when it is not supposed to. >Trying to find this in the IDE/debugger wasn't getting anywhere, so I >reverted to using "put"s (but still in the IDE). I finished up after a >few iterations with some code that said > > >...... >hide grp "abcde" >put "here now" && the vis of grp "abcde" &CR after msg >.... > >and it output > here now true > >So I changed the code to >...... >set the vis of grp "abcde" to false >put "here now" && the vis of grp "abcde" &CR after msg >.... >and what do you know - not only does it output "here now false", but >the >group *always* becomes invisible. > >Does "hide" do anything different from simply setting the visibility to > >false? >Is it remotely possible this isn't me misunderstanding something ? > >And then - in a completely different bit of the same app, in a >different >group, I have some code (in the group script) that was doing >... >show me >.... >to ensure that the group was visible (inside a timed / delay loop). >This >would occasionally result in some graphics showing up wrongly (in the >wrong colour) very briefly. Simply changing the code to >.... >set the visible of me to true >.... >again seems to fix this. > >To be honest, if someone else described these symptoms to me, I'd be >looking for what else was going on that they had forgotten about :-) >But I've already done that - now I'm hoping someone can offer an idea >of >whether this is feasible. >Has anyone else seen anything like this ? >Should I be pursuing an attempt to make this happen in a smaller sample > >so I can submit a useful bug report ? > >(oh - glad you asked - Mac OSX 10.8.5, LC 6.6.2) > >Thanks >-- Alex. > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Nov 26 10:53:54 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Nov 2014 15:53:54 +0000 Subject: (OT) Yosemite and the immediate future .... In-Reply-To: <638BA1C3-D53B-4421-854E-09A80E7E3B42@wanadoo.fr> References: <638BA1C3-D53B-4421-854E-09A80E7E3B42@wanadoo.fr> Message-ID: > > I don?t like being pushed or shoved. I don?t care if Apple want > to merge OSX and iOS. I want my OS X !!!!!!!! I don?t think it?s going to go that far. Apple may be many things these days but they aren?t stupid. What they *are* doing is adopting some of the sandboxing technology that was built into the i-devices because it solves a myriad of vectors for malware. Microsoft is feeling the pain of the misguided notion that all the world will be tablet based at this very moment. As I expressed when everyone was panicking over this, tablets cannot completely replace desktops/laptops for several reasons. First, is expandability. Many people like and want the option to add on if they need to. Next is real estate. I don?t mean land acquisition. I mean screen real estate. Ever try reading email or browsing on an iPhone? Care to try to develop in Livecode on an iPad? I tried once via a remote desktop session and it sucked. Thirdly is performance. Until they can get a tablet to perform like a Macbook Pro with maxed out memory, I?m not buying. At least not as my default device. And finally is the much vaunted Touch Interface. Are people really going to be reaching across their desk and touch/swiping a screen many hundreds of times a day? What are we all Hercules?? Try just doing that 50 times and see how your arm feels. Once you create a tablet that can do all these things, and give it the memory and storage and processor speed to handle it all, with a comfortable keyboard, what are you left with? A MACBOOK PRO!!!!! And since companies are not going to want to spend the money for Macbook Pro?s for everyone, they want economical devices they can plop onto a desk with a keyboard mouse and decent sized monitor for under $800. Tablets are not taking over the world, and Yosemite is not iOS. Fear not little one the world is still safe. ;-) Bob S From bobsneidar at iotecdigital.com Wed Nov 26 10:56:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Nov 2014 15:56:58 +0000 Subject: hide / show oddities ? In-Reply-To: <8D1D7A1B7A92CB6-6C8-135D7@webmail-vm081.sysops.aol.com> References: <5475BD91.6090904@tweedly.net> <8D1D7A1B7A92CB6-6C8-135D7@webmail-vm081.sysops.aol.com> Message-ID: <9A753F4D-9062-462C-A4C8-A6AE3EFA6F76@iotecdigital.com> Interesting? When I reported my own stack anomalies with version 7, this sounds remarkably like what I was seeing, but I was showing and hiding stacks, primarily the main stack from which all other stacks were launching. You may have uncovered the bug which bit me. Bob S On Nov 26, 2014, at 07:06 , dunbarx at aol.com wrote: This feels so unlikely that I wonder if I'm simply doing something wrong - but thought I'd ask first. From pete at lcsql.com Wed Nov 26 11:00:21 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 26 Nov 2014 08:00:21 -0800 Subject: hide / show oddities ? In-Reply-To: <5475BD91.6090904@tweedly.net> References: <5475BD91.6090904@tweedly.net> Message-ID: Hi Alex, I've occasionally seen this and been content setting the visible property as a workaround. Should have submitted a qcc report but didn't. Pete lcSQL Software On Nov 26, 2014 3:46 AM, "Alex Tweedly" wrote: > > This feels so unlikely that I wonder if I'm simply doing something wrong - > but thought I'd ask first. > > I had a script which is supposed to (amongst other things) hide one > particular group. Although it usually worked OK, in some cases, sometimes, > the group would remain visible when it is not supposed to. Trying to find > this in the IDE/debugger wasn't getting anywhere, so I reverted to using > "put"s (but still in the IDE). I finished up after a few iterations with > some code that said > > > ...... > hide grp "abcde" > put "here now" && the vis of grp "abcde" &CR after msg > .... > > and it output > here now true > > So I changed the code to > ...... > set the vis of grp "abcde" to false > put "here now" && the vis of grp "abcde" &CR after msg > .... > and what do you know - not only does it output "here now false", but the > group *always* becomes invisible. > > Does "hide" do anything different from simply setting the visibility to > false? > Is it remotely possible this isn't me misunderstanding something ? > > And then - in a completely different bit of the same app, in a different > group, I have some code (in the group script) that was doing > ... > show me > .... > to ensure that the group was visible (inside a timed / delay loop). This > would occasionally result in some graphics showing up wrongly (in the wrong > colour) very briefly. Simply changing the code to > .... > set the visible of me to true > .... > again seems to fix this. > > To be honest, if someone else described these symptoms to me, I'd be > looking for what else was going on that they had forgotten about :-) > But I've already done that - now I'm hoping someone can offer an idea of > whether this is feasible. > Has anyone else seen anything like this ? > Should I be pursuing an attempt to make this happen in a smaller sample so > I can submit a useful bug report ? > > (oh - glad you asked - Mac OSX 10.8.5, LC 6.6.2) > > Thanks > -- Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Nov 26 11:56:56 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 26 Nov 2014 08:56:56 -0800 Subject: hide / show oddities ? In-Reply-To: References: <5475BD91.6090904@tweedly.net> Message-ID: <501883478367.20141126085656@ahsoftware.net> Pete- Wednesday, November 26, 2014, 8:00:21 AM, you wrote: > I've occasionally seen this and been content setting the visible property > as a workaround. Should have submitted a qcc report but didn't. I've also seen this occasionally, but nothing I could narrow down to an actual recipe. Show/hide and the visible property don't always seem to be acting like they're in sync. And other times they do. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Wed Nov 26 12:03:28 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 26 Nov 2014 09:03:28 -0800 Subject: (OT) Yosemite and the immediate future .... In-Reply-To: <638BA1C3-D53B-4421-854E-09A80E7E3B42@wanadoo.fr> References: <638BA1C3-D53B-4421-854E-09A80E7E3B42@wanadoo.fr> Message-ID: <421883870694.20141126090328@ahsoftware.net> Francis- Wednesday, November 26, 2014, 4:53:15 AM, you wrote: > I know where Apple is trying to lead us, AND I DON?T WANNA GO ! Make the switch to linux. You'll thank me later. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Wed Nov 26 12:06:23 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 26 Nov 2014 09:06:23 -0800 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: <5474F610.30109@researchware.com> References: <5474BF2D.6030305@researchware.com> <5474F610.30109@researchware.com> Message-ID: <571884045992.20141126090623@ahsoftware.net> Paul- Tuesday, November 25, 2014, 1:35:12 PM, you wrote: > so on and so on, I was hoping someone on the list had already done this > and definitively knew the answer :-) I can confirm that the screenrects returns the same thing no matter which monitor is forward, and no matter where the menubar or the doc are situated (on Yosemite at least). -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From paul at researchware.com Wed Nov 26 15:17:29 2014 From: paul at researchware.com (Paul Dupuis) Date: Wed, 26 Nov 2014 15:17:29 -0500 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: <571884045992.20141126090623@ahsoftware.net> References: <5474BF2D.6030305@researchware.com> <5474F610.30109@researchware.com> <571884045992.20141126090623@ahsoftware.net> Message-ID: <54763559.8030509@researchware.com> On 11/26/2014 12:06 PM, Mark Wieder wrote: > Paul- > > Tuesday, November 25, 2014, 1:35:12 PM, you wrote: > >> so on and so on, I was hoping someone on the list had already done this >> and definitively knew the answer :-) > I can confirm that the screenrects returns the same thing no matter > which monitor is forward, and no matter where the menubar or the doc > are situated (on Yosemite at least). > Thanks Mark. That pretty much says that there is no support (yet) in LC for the multiple monitor changes under OXS 10.9 and 10.10. I'll try to dig into the Apple Developer info and see if some API exists to tell and if so submit an enhancement request to RunRev to add an interface to the APIs so that this is detectable/reportable in the future. From pete at lcsql.com Wed Nov 26 16:27:42 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 26 Nov 2014 13:27:42 -0800 Subject: hide / show oddities ? In-Reply-To: <501883478367.20141126085656@ahsoftware.net> References: <5475BD91.6090904@tweedly.net> <501883478367.20141126085656@ahsoftware.net> Message-ID: Finding a recipe was my problem too. It hasn't happened for a while but I think it might have had something to do with nested groups. While we're talking about groups, I feel they're unnecessarily difficult to edit in LC. I find myself constantly clicking on the Select Grouped icon when I'm formatting groups and their controls. And trying to move a nested group to a different location is a pain - you should be able to do that without going into edit mode or being limited to using the arrow keys. I'd like to see something like this irrespective of the state of selectGroupedControls. If I click on a control within a group, it is selected. If I click within the rectangle of a group but outside the rectangle of any of its controls, the group is selected even if it's a nested group and I can then get into edit mode on it or drag it around the screen. That happens to suit the way I use groups but maybe it wouldn't work for all. I'd be happy if the above behavior was conditional on a modifier key in conjunction with mouse click. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Nov 26, 2014 at 8:56 AM, Mark Wieder wrote: > Pete- > > Wednesday, November 26, 2014, 8:00:21 AM, you wrote: > > > I've occasionally seen this and been content setting the visible property > > as a workaround. Should have submitted a qcc report but didn't. > > I've also seen this occasionally, but nothing I could narrow down to > an actual recipe. Show/hide and the visible property don't always seem > to be acting like they're in sync. And other times they do. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Wed Nov 26 17:52:32 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 26 Nov 2014 22:52:32 +0000 Subject: Camera authorisation on iOS7.1.2 Message-ID: Hi all, I've been using Monte's mergAV extension to create a camera in an app. However, when I produce the standalone and install and run it on a device the 'result' from mergAVCamCreate returns "Access not authorised". In my standalone settings I've set the requirements for Stills Camera and Front Facing Camera. But this is not the permissions. How do I set up the permissions. The device itself is not requesting permission to use the camera. Any help. It's for a gig that happened today and again tomorrow morning so any quick help would be much appreciated. It's worked okay in the past so I really am baffled as to what might have changed. Thanks Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk From prothero at earthednet.org Wed Nov 26 18:03:26 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 26 Nov 2014 15:03:26 -0800 Subject: External files in Standalones Message-ID: Folks: I?m building an app that reads a number of external data files. I?ve been trying to create a standalone and have a number of problems with the external files. In my development area, I have a folder: App folder which contains the .livecode app and data files. It looks like this: myApp myApp.livecode files images and icons When I build the standAlone, I get a package with: Contents info.plist MacOS Externals files data dataFolder1 ?This is empty of files dataFolder2 ?This is empty of files dataFolder3 ?This is empty of files moreData ?empty, no data etc images and icons ?nothing in this folder myApp PkgInfo Resources _MacOS ?This has all of my data files, with correct contents language Folders ?I don?t need these My question is: Should I build the path to these files starting with ?the effective path of this stack?? It would be different, depending on whether I had a standalone. Is there a specialFolderPath function that will give me the path to the original data? Alternatively, I could create these folders in my development environment and then there would only be a single set of paths. What are the ?Best practices? regarding this? Also, do I need to include all these superfluous, empty language folders? Best, Bill William A. Prothero http://es.earthednet.org/ From sean at pidigital.co.uk Wed Nov 26 18:11:11 2014 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 26 Nov 2014 23:11:11 +0000 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: <5474BF2D.6030305@researchware.com> References: <5474BF2D.6030305@researchware.com> Message-ID: <41C9094E-C590-4484-A0E8-67D90440E540@pidigital.co.uk> Paul It's the difference between the screenRect and the 'working screenRect'. The dictionary describes these well under screenRect. Sean Cole Pi Digital -- This message was sent from an iPhone, probably because I'm out and about. Always contactable. Well, most of the time :/ > On 25 Nov 2014, at 17:41, Paul Dupuis wrote: > > Starting with OSX 10.9 and 10.10, Apple introduced changes to how > multiple monitors are handled. The menubar appears on all monitors and > when you drag a window from one monitor to another the menubar for the > application that window belongs to becomes active on the target monitor. > > Question: Does anyone know if there is a way to detect which monitor has > the active menubar under 10.9 and up? I don't see any obvious dictionary > entries for detecting this in LC 6.7 or 7.0, but maybe there is a > non-obvious way. > > I believe that from an UI perspective, an application should open new > windows on the monitor which has the active menu bar for the > application, but that requires the ability to tell which monitor has the > currently active menubar. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Nov 26 18:33:31 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 26 Nov 2014 23:33:31 +0000 Subject: Camera authorisation on iOS7.1.2 In-Reply-To: References: Message-ID: Hi, It's okay. Monte had updated the plugin but not made it clear what had changed and that it had done so radically. There's new commands and messages for authorisation now. mergAVRequestMediaAccess. Cheers to anyone who started to research it for me. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 ? 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' This email and any files transmitted with it may be confidential and are intended solely for the use of the individual to whom it is addressed. You are hereby notified that if you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Any distribution, reproduction, modification or publication of this communication is strictly prohibited. If you have received this in error, please notify the sender and delete the message from your computer. Any opinions presented in this email are solely those of the author and do not necessarily represent those of Pi Digital. Pi Digital cannot accept any responsibility for the accuracy or completeness of this message and although this email and any attachments are believed to be free from viruses, it is the sole responsibility of the recipients. Pi Digital Productions Ltd is a UK registered limited company, no. 5255609. VAT GB998220972 On 26 November 2014 at 22:52, Sean Cole (Pi) wrote: > Hi all, > > I've been using Monte's mergAV extension to create a camera in an app. > However, when I produce the standalone and install and run it on a device > the 'result' from mergAVCamCreate returns "Access not authorised". In my > standalone settings I've set the requirements for Stills Camera and Front > Facing Camera. But this is not the permissions. How do I set up the > permissions. The device itself is not requesting permission to use the > camera. Any help. It's for a gig that happened today and again tomorrow > morning so any quick help would be much appreciated. It's worked okay in > the past so I really am baffled as to what might have changed. > > Thanks > > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > > From paul at researchware.com Wed Nov 26 18:40:35 2014 From: paul at researchware.com (Paul Dupuis) Date: Wed, 26 Nov 2014 18:40:35 -0500 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: <41C9094E-C590-4484-A0E8-67D90440E540@pidigital.co.uk> References: <5474BF2D.6030305@researchware.com> <41C9094E-C590-4484-A0E8-67D90440E540@pidigital.co.uk> Message-ID: <547664F3.6030304@researchware.com> On 11/26/2014 6:11 PM, Pi Digital wrote: > Paul > > It's the difference between the screenRect and the 'working screenRect'. The dictionary describes these well under screenRect. > > Sean Cole > Pi Digital I assume you are referring to checking the differences in the rects returned by 'the screenrects' vs 'the working screenrects' to determine which is reduced by the size of the menubar, but under Maverick and Yosemite, the menubar appears on EVERY monitor, it is just (potentially) dimmed on the monitor that does not contain the active window of the application and undimmed on the monitor with the active window, so there should be no difference in the working screenRects as each would be reduced by the height of a menubar. Good idea though, even if it won't work to detect the App's active monitor. For those interested who have not tried dual monitors under 10.9+ you can actually have both menubars active for different application. If App #1 is on Monitor A and has an active window, it menubar will show on Monitor A and if App #2 is on Monitor B with an active window, monitor B will have App #2's menubar active. And I haven't figured out how yet, but apparently you can assign app to have default monitors, so that an app will always come up on the monitor that it has been assigned to. -- Paul From sean at pidigital.co.uk Wed Nov 26 19:14:13 2014 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 27 Nov 2014 00:14:13 +0000 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: <547664F3.6030304@researchware.com> References: <5474BF2D.6030305@researchware.com> <41C9094E-C590-4484-A0E8-67D90440E540@pidigital.co.uk> <547664F3.6030304@researchware.com> Message-ID: Ok, So use the 'effective ScreenRect' which will give you the location of the selected window. Sean Cole On 26 November 2014 at 23:40, Paul Dupuis wrote: > On 11/26/2014 6:11 PM, Pi Digital wrote: > > Paul > > > > It's the difference between the screenRect and the 'working screenRect'. > The dictionary describes these well under screenRect. > > > > Sean Cole > > Pi Digital > I assume you are referring to checking the differences in the rects > returned by 'the screenrects' vs 'the working screenrects' to determine > which is reduced by the size of the menubar, but under Maverick and > Yosemite, the menubar appears on EVERY monitor, it is just (potentially) > dimmed on the monitor that does not contain the active window of the > application and undimmed on the monitor with the active window, so there > should be no difference in the working screenRects as each would be > reduced by the height of a menubar. Good idea though, even if it won't > work to detect the App's active monitor. > > For those interested who have not tried dual monitors under 10.9+ you > can actually have both menubars active for different application. If App > #1 is on Monitor A and has an active window, it menubar will show on > Monitor A and if App #2 is on Monitor B with an active window, monitor B > will have App #2's menubar active. > > And I haven't figured out how yet, but apparently you can assign app to > have default monitors, so that an app will always come up on the monitor > that it has been assigned to. > > -- Paul > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Wed Nov 26 19:46:18 2014 From: gerry.orkin at gmail.com (Gerry) Date: Thu, 27 Nov 2014 11:46:18 +1100 Subject: Camera authorisation on iOS7.1.2 In-Reply-To: References: Message-ID: <8245EC5A-2B23-43AD-9B63-EF368CF593C2@gmail.com> mergAVRequestMediaAccess isn't in the documentation on the mergext site yet... Gerry > On 27 Nov 2014, at 10:33 am, Sean Cole (Pi) wrote: > > Hi, > > It's okay. Monte had updated the plugin but not made it clear what had > changed and that it had done so radically. There's new commands and > messages for authorisation now. mergAVRequestMediaAccess. Cheers to anyone > who started to research it for me. From prothero at earthednet.org Wed Nov 26 20:56:00 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 26 Nov 2014 17:56:00 -0800 Subject: External files in Standalones In-Reply-To: References: Message-ID: <9A35E401-8589-4308-802C-406FA6EF29FF@earthednet.org> I think I?ve got it. I check whether the app is a standalone using the ?environment? property, then adjusting file paths accordingly. Bill On Nov 26, 2014, at 3:03 PM, William Prothero wrote: > Folks: > I?m building an app that reads a number of external data files. I?ve been trying to create a standalone and have a number of problems with the external files. > > In my development area, I have a folder: > > App folder which contains the .livecode app and data files. It looks like this: > > myApp > myApp.livecode > files > images and icons > > When I build the standAlone, I get a package with: > > Contents > info.plist > MacOS > Externals > files > data > dataFolder1 ?This is empty of files > dataFolder2 ?This is empty of files > dataFolder3 ?This is empty of files > moreData ?empty, no data > etc > images and icons ?nothing in this folder > myApp > PkgInfo > Resources > _MacOS ?This has all of my data files, with correct contents > language Folders ?I don?t need these > > My question is: > Should I build the path to these files starting with ?the effective path of this stack?? It would be different, depending on whether I had a standalone. Is there a specialFolderPath function that will give me the path to the original data? > > Alternatively, I could create these folders in my development environment and then there would only be a single set of paths. > > What are the ?Best practices? regarding this? Also, do I need to include all these superfluous, empty language folders? > > Best, > Bill > > William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Wed Nov 26 21:08:43 2014 From: paul at researchware.com (Paul Dupuis) Date: Wed, 26 Nov 2014 21:08:43 -0500 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: References: <5474BF2D.6030305@researchware.com> <41C9094E-C590-4484-A0E8-67D90440E540@pidigital.co.uk> <547664F3.6030304@researchware.com> Message-ID: <547687AB.2000000@researchware.com> On 11/26/2014 7:14 PM, Sean Cole (Pi) wrote: > Ok, So use the 'effective ScreenRect' which will give you the location of > the selected window. > > Is that an undocumented feature? The Dictionary (in 6.7 or 7.0) states "Adding the effective adjective to either form returns the area of the screen the application has to itself. In particular, if the keyboard is activated, it take into account if the keyboard is taking up space on the screen. (Android and iOS only)" so I assumed effective screenRect is meaningless under OSX. From scott at tactilemedia.com Wed Nov 26 21:21:40 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 26 Nov 2014 18:21:40 -0800 Subject: Detecting the active monitor under Mavericks and Yosemite... In-Reply-To: <547687AB.2000000@researchware.com> References: <5474BF2D.6030305@researchware.com> <41C9094E-C590-4484-A0E8-67D90440E540@pidigital.co.uk> <547664F3.6030304@researchware.com> <547687AB.2000000@researchware.com> Message-ID: <42911D5F-0320-4252-83CD-60C9202E9862@tactilemedia.com> I believe that portion of the dictionary entry refers to the onscreen keyboard, which doesn't exist on desktop. But either way, it seems that "effective" cannot be used on desktop without "working". Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Nov 26, 2014, at 6:08 PM, Paul Dupuis wrote: > >> On 11/26/2014 7:14 PM, Sean Cole (Pi) wrote: >> Ok, So use the 'effective ScreenRect' which will give you the location of >> the selected window. > > Is that an undocumented feature? The Dictionary (in 6.7 or 7.0) states > "Adding the effective adjective to either form returns the area of the > screen the application has to itself. In particular, if the keyboard is > activated, it take into account if the keyboard is taking up space on > the screen. (Android and iOS only)" so I assumed effective screenRect is > meaningless under OSX. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Nov 26 22:31:42 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 26 Nov 2014 19:31:42 -0800 Subject: Crashing V7.01(rc2) In-Reply-To: <9A35E401-8589-4308-802C-406FA6EF29FF@earthednet.org> References: <9A35E401-8589-4308-802C-406FA6EF29FF@earthednet.org> Message-ID: Folks: I?m getting an application crash in V7.0.1(rc2) that doesn?t occur in V7.0. This is OSX, 10.9.5. I?m copying symbol images onto a map image. Runs fine on V7.0. The symbols copy fine for most of the application, but one type causes the crash. Anybody else seeing crashes like this? I?ll investigate further, but I have a pretty complex app and it is going to be hard to narrow it down. It crashes in both stand-alines and in the IDE. After a bit more investigation tomorrow, I?ll report it as a bug. Bill William A. Prothero http://es.earthednet.org/ From livfoss at mac.com Thu Nov 27 05:13:21 2014 From: livfoss at mac.com (Graham Samuel) Date: Thu, 27 Nov 2014 10:13:21 +0000 Subject: hide / show oddities ? In-Reply-To: <5475BD91.6090904@tweedly.net> References: <5475BD91.6090904@tweedly.net> Message-ID: <62494898-F477-4F94-9B19-405AB20322FF@mac.com> Coming a little late to this conversation, I think I have seen this too, in LC 7 rc2. I have several instances of ?show? that work, and one, where I have to show a splash screen, that doesn?t. Like you Alex, I automatically thought that it must be something I?m doing wrong, but now I am not so sure. Am about to do more tests. I notice that if I put something that stops the app running (I mean an ?answer? message) as the next line after the ?show?, the shown stack does appear (is visible) behind the dialog box; but without the ?answer?, the ?show? appears to be completely ignored, even if I follow it with a ?wait?. Gotta find out what this is - it definitely worked in all the 6.x versions of LC. Graham > On 26 Nov 2014, at 11:46, Alex Tweedly wrote: > > > This feels so unlikely that I wonder if I'm simply doing something wrong - but thought I'd ask first. > > I had a script which is supposed to (amongst other things) hide one particular group. Although it usually worked OK, in some cases, sometimes, the group would remain visible when it is not supposed to. Trying to find this in the IDE/debugger wasn't getting anywhere, so I reverted to using "put"s (but still in the IDE). I finished up after a few iterations with some code that said > > > ...... > hide grp "abcde" > put "here now" && the vis of grp "abcde" &CR after msg > .... > > and it output > here now true > > So I changed the code to > ...... > set the vis of grp "abcde" to false > put "here now" && the vis of grp "abcde" &CR after msg > .... > and what do you know - not only does it output "here now false", but the group *always* becomes invisible. > > Does "hide" do anything different from simply setting the visibility to false? > Is it remotely possible this isn't me misunderstanding something ? > > And then - in a completely different bit of the same app, in a different group, I have some code (in the group script) that was doing > ... > show me > .... > to ensure that the group was visible (inside a timed / delay loop). This would occasionally result in some graphics showing up wrongly (in the wrong colour) very briefly. Simply changing the code to > .... > set the visible of me to true > .... > again seems to fix this. > > To be honest, if someone else described these symptoms to me, I'd be looking for what else was going on that they had forgotten about :-) > But I've already done that - now I'm hoping someone can offer an idea of whether this is feasible. > Has anyone else seen anything like this ? > Should I be pursuing an attempt to make this happen in a smaller sample so I can submit a useful bug report ? > > (oh - glad you asked - Mac OSX 10.8.5, LC 6.6.2) > > Thanks > -- Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Thu Nov 27 05:52:28 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Thu, 27 Nov 2014 10:52:28 -0000 Subject: Button is behavior Message-ID: <00a401d00a30$3d710770$b8531650$@FlexibleLearning.com> Is there a way to identify whether a button is used as a behavior? e.g. the isBehavior of btn 1 Just asking. Hugh Senior FLCo From alanstenhouse at hotmail.com Thu Nov 27 06:13:18 2014 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Thu, 27 Nov 2014 12:13:18 +0100 Subject: hide / show oddities ? In-Reply-To: References: Message-ID: Possibly mismatched lock screen / unlock screen ? (Though still seems very weird and sounds like a bug). On 27/11/2014, at 11:52 AM, use-livecode-request at lists.runrev.com wrote: > From: Alex Tweedly > To: How to use LiveCode > Subject: hide / show oddities ? > Message-ID: <5475BD91.6090904 at tweedly.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > This feels so unlikely that I wonder if I'm simply doing something wrong > - but thought I'd ask first. > > I had a script which is supposed to (amongst other things) hide one > particular group. Although it usually worked OK, in some cases, > sometimes, the group would remain visible when it is not supposed to. > Trying to find this in the IDE/debugger wasn't getting anywhere, so I > reverted to using "put"s (but still in the IDE). I finished up after a > few iterations with some code that said > > > ...... > hide grp "abcde" > put "here now" && the vis of grp "abcde" &CR after msg > .... > > and it output > here now true ... From revlist at azurevision.co.uk Thu Nov 27 06:26:57 2014 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 27 Nov 2014 11:26:57 +0000 Subject: EU VAT changes & small software businesses Message-ID: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> I searched and couldn't find any discussion on the list, and this affects rather a lot of us... http://ec.europa.eu/taxation_customs/taxation/vat/how_vat_works/telecom/index_en.htm From Jan 1st, business-to-customer software sales within the EU have to charge VAT based on the buyer's country rather than the seller's country, then paying that VAT to that country. A question to anyone on the list with a smaller business or selling as an individual - what plans do you have to cope with this? Ian From m.schonewille at economy-x-talk.com Thu Nov 27 06:45:03 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 27 Nov 2014 12:45:03 +0100 Subject: EU VAT changes & small software businesses In-Reply-To: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> Message-ID: <54770EBF.5040607@economy-x-talk.com> Hi Ian, Really, I don't have the slightest idea. It is not realistic for me to pay VAT to each individual country. I guess I will do nothing and wait for a letter from the tax office. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 11/27/2014 12:26, Ian Wood wrote: > I searched and couldn't find any discussion on the list, and this affects rather a lot of us... > > http://ec.europa.eu/taxation_customs/taxation/vat/how_vat_works/telecom/index_en.htm > >>From Jan 1st, business-to-customer software sales within the EU have to charge VAT based on the buyer's country rather than the seller's country, then paying that VAT to that country. > > > A question to anyone on the list with a smaller business or selling as an individual - what plans do you have to cope with this? > > Ian > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave.cragg at lacscentre.co.uk Thu Nov 27 07:08:47 2014 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 27 Nov 2014 12:08:47 +0000 Subject: EU VAT changes & small software businesses In-Reply-To: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> Message-ID: Ian, For UK businesses, the link below gives some information of one way to handle this. I'm not sure how useful this is. Thankfully, I'm not affected at the moment. https://www.gov.uk/government/publications/vat-supplying-digital-services-and-the-vat-mini-one-stop-shop Cheers Dave On 27 Nov 2014, at 11:26, Ian Wood wrote: > I searched and couldn't find any discussion on the list, and this affects rather a lot of us... > > http://ec.europa.eu/taxation_customs/taxation/vat/how_vat_works/telecom/index_en.htm > > From Jan 1st, business-to-customer software sales within the EU have to charge VAT based on the buyer's country rather than the seller's country, then paying that VAT to that country. > > > A question to anyone on the list with a smaller business or selling as an individual - what plans do you have to cope with this? > > Ian > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revlist at azurevision.co.uk Thu Nov 27 07:52:15 2014 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 27 Nov 2014 12:52:15 +0000 Subject: EU VAT changes & small software businesses In-Reply-To: References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> Message-ID: Hi Dave, I forgot to post that link. :-( It doesn't help much because I'm a sole trader under the UK VAT threshold - VAT-registering the entire business for the sake of 1000? in software turnover would wipe out about half my income. At the moment it looks like I'll either have to stop the software side completely or start posting the software on CDs instead of via digital download. I'm a *little* bit pissed off at the moment... Ian On 27 Nov 2014, at 12:08, Dave Cragg wrote: > Ian, > > For UK businesses, the link below gives some information of one way to handle this. I'm not sure how useful this is. Thankfully, I'm not affected at the moment. > > https://www.gov.uk/government/publications/vat-supplying-digital-services-and-the-vat-mini-one-stop-shop > > Cheers > Dave > > > On 27 Nov 2014, at 11:26, Ian Wood wrote: > >> I searched and couldn't find any discussion on the list, and this affects rather a lot of us... >> >> http://ec.europa.eu/taxation_customs/taxation/vat/how_vat_works/telecom/index_en.htm >> >> From Jan 1st, business-to-customer software sales within the EU have to charge VAT based on the buyer's country rather than the seller's country, then paying that VAT to that country. >> >> >> A question to anyone on the list with a smaller business or selling as an individual - what plans do you have to cope with this? >> >> Ian >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Nov 27 08:00:29 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 27 Nov 2014 14:00:29 +0100 Subject: AW: EU VAT changes & small software businesses In-Reply-To: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> Message-ID: <009201d00a42$1fb1a700$5f14f500$@de> Our backoffice software for invoicing etc. can't manage that either on line level. Btw. the new european tax law only affects business with downloadable digital products (video, software, etc.) no physical shipped products. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Ian Wood > Gesendet: Donnerstag, 27. November 2014 12:27 > An: How to use LiveCode > Betreff: EU VAT changes & small software businesses > > I searched and couldn't find any discussion on the list, and this affects > rather a lot of us... > > http://ec.europa.eu/taxation_customs/taxation/vat/how_vat_works/telecom/inde x_ > en.htm > > From Jan 1st, business-to-customer software sales within the EU have to charge > VAT based on the buyer's country rather than the seller's country, then paying > that VAT to that country. > > > A question to anyone on the list with a smaller business or selling as an > individual - what plans do you have to cope with this? > > Ian > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Nov 27 08:23:48 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 27 Nov 2014 14:23:48 +0100 Subject: EU VAT changes & small software businesses In-Reply-To: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> Message-ID: <95AC8BA1-2274-45C1-9CCD-35380CFA0B99@m-r-d.de> Hi Ian, thanks for bringing this to my attention. Until today i was not aware that there will be changes in EU law. At the moment i use 2 different ways to sell my license keys (which i create with Jacques great tool Zygodact) 1. Paypal from within my website There i am charging 19% VAT. That?s the german tax rate. 2. Kagi. This works very good. What i really love is, that i can use my Zygodact license generation stack. Kagi sent me a Template stack in which i integrated the Zygodact key generation stack. So all is now working automatically. Kagi is charging the VAT according to the country of the buyer. They take some money for handling. And to be true, it?s a little more than i would pay for Paypal. But i can live with that, because i have no more work except waiting for my payments from them. With Paypal i have to add each purchase to my account software/system and i have to create the license manually. With Kagi i just have to add one payment every 3 month (i set it for quarterly payment in my kagi seller account) to my accounting software. So for me this means, i just have to stop offering PayPal as purchase option. Regards, Matthias > Am 27.11.2014 um 12:26 schrieb Ian Wood : > > I searched and couldn't find any discussion on the list, and this affects rather a lot of us... > > http://ec.europa.eu/taxation_customs/taxation/vat/how_vat_works/telecom/index_en.htm > > From Jan 1st, business-to-customer software sales within the EU have to charge VAT based on the buyer's country rather than the seller's country, then paying that VAT to that country. > > > A question to anyone on the list with a smaller business or selling as an individual - what plans do you have to cope with this? > > Ian > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Thu Nov 27 09:25:21 2014 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 27 Nov 2014 15:25:21 +0100 Subject: EU VAT changes & small software businesses In-Reply-To: <95AC8BA1-2274-45C1-9CCD-35380CFA0B99@m-r-d.de> References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> <95AC8BA1-2274-45C1-9CCD-35380CFA0B99@m-r-d.de> Message-ID: So basically, every one of you EU software sellers is going to be fucked. It seems that using the MOSS is only applicable if you yourself have a VAT identification number. Furthermore it seems to be opt in and not mandatory. Nontheless, it seems to me that you then will need to do the Vat stuff by hand, especially if you do not have a registered VAT identification number yourself, and can't use the MOSS. What is the benefit of using the MOSS? They don't tell. The rules themselves are horribly vague and open to a ton of interpretation. In regards to software, an "automatic electronic service with no human interaction" does not apply, using an example of a price comparison service site. But selling antivirus software in an automated online shop is included in the examples where the new rule applies... where is the human interaction in that? The best parts are those that try to deal with moving sale-targets, or people who buy something trough a local wifi, then disconnect and go trough data roaming... Hilarious, if it weren't so sad, especially as a customer supplied "billing address" is NOT a valid proof of location! Even worse are the rules about re-sale chains, which makes determining whose countries tax in the chain of resellers to apply from hard to impossible. This is such a top down heavy and unwieldy legislature, it's a wonder it hasn't been sued on the basis of being against human rights :-P This Austrian Page is pretty interesting for trying to be readable, but instead is a prime example of legalese-obtuse: There's also the "practical guide" Almanach-sized PDF from the EU (love the chart on page 61): VAT rules per country, so you could do it by hand I guess: On 27 Nov 2014, at 14:23, Matthias Rebbe | M-R-D wrote: > Hi Ian, > > thanks for bringing this to my attention. Until today i was not aware that there will be changes in EU law. > > At the moment i use 2 different ways to sell my license keys (which i create with Jacques great tool Zygodact) > > 1. Paypal from within my website There i am charging 19% VAT. That?s the german tax rate. > > > 2. Kagi. This works very good. What i really love is, that i can use my Zygodact license generation stack. Kagi sent me a Template stack in which i integrated the Zygodact key generation stack. > So all is now working automatically. Kagi is charging the VAT according to the country of the buyer. They take some money for handling. And to be true, it?s a little more than i would pay for Paypal. > But i can live with that, because i have no more work except waiting for my payments from them. > > With Paypal i have to add each purchase to my account software/system and i have to create the license manually. With Kagi i just have to add one payment every 3 month (i set it for quarterly payment in my kagi seller account) to my accounting software. > > > So for me this means, i just have to stop offering PayPal as purchase option. > > Regards, > > Matthias > > > > >> Am 27.11.2014 um 12:26 schrieb Ian Wood : >> >> I searched and couldn't find any discussion on the list, and this affects rather a lot of us... >> >> http://ec.europa.eu/taxation_customs/taxation/vat/how_vat_works/telecom/index_en.htm >> >> From Jan 1st, business-to-customer software sales within the EU have to charge VAT based on the buyer's country rather than the seller's country, then paying that VAT to that country. >> >> >> A question to anyone on the list with a smaller business or selling as an individual - what plans do you have to cope with this? >> >> Ian >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revlist at azurevision.co.uk Thu Nov 27 10:37:32 2014 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 27 Nov 2014 15:37:32 +0000 Subject: EU VAT changes & small software businesses In-Reply-To: References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> <95AC8BA1-2274-45C1-9CCD-35380CFA0B99@m-r-d.de> Message-ID: <0B1FDEE4-C1A2-439B-B88F-5B5C15CB5D50@azurevision.co.uk> On 27 Nov 2014, at 14:25, Bj?rnke von Gierke wrote: > So basically, every one of you EU software sellers is going to be fucked. No, Anyone who sells in the EU and outside their own country, no matter *where* they're based in the world. :-( Ian From dunbarx at aol.com Thu Nov 27 10:49:13 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 27 Nov 2014 10:49:13 -0500 Subject: Button is behavior In-Reply-To: <00a401d00a30$3d710770$b8531650$@FlexibleLearning.com> References: <00a401d00a30$3d710770$b8531650$@FlexibleLearning.com> Message-ID: <8D1D870D3C2D03C-23C8-1FE5D@webmail-vm032.sysops.aol.com> Hugh. You could surely write a short function, asking if the behavior of your button of interest is empty. Craig -----Original Message----- From: FlexibleLearning.com To: use-livecode Sent: Thu, Nov 27, 2014 5:53 am Subject: Button is behavior Is there a way to identify whether a button is used as a behavior? e.g. the isBehavior of btn 1 Just asking. Hugh Senior FLCo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Thu Nov 27 11:16:18 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 27 Nov 2014 09:16:18 -0700 Subject: Button is behavior In-Reply-To: <8D1D870D3C2D03C-23C8-1FE5D@webmail-vm032.sysops.aol.com> References: <00a401d00a30$3d710770$b8531650$@FlexibleLearning.com> <8D1D870D3C2D03C-23C8-1FE5D@webmail-vm032.sysops.aol.com> Message-ID: Have perused the dictionary, don't think there is currently a way to do what you want. Feature request? The only other option would be to cycle through the controls and build a behavior list. Might be interesting to do though, build an array keyed by button id, that contains a list of objects that it supplies behavior to. On Thu, Nov 27, 2014 at 8:49 AM, wrote: > Hugh. > > > You could surely write a short function, asking if the behavior of your > button of interest is empty. > > > Craig > > > > -----Original Message----- > From: FlexibleLearning.com > To: use-livecode > Sent: Thu, Nov 27, 2014 5:53 am > Subject: Button is behavior > > > Is there a way to identify whether a button is used as a behavior? > > e.g. the isBehavior of btn 1 > > Just asking. > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Nov 27 11:20:07 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 Nov 2014 08:20:07 -0800 Subject: Server boot time - font init Message-ID: <25b427bdaa035111dbcd21192590a42b@fourthworld.com> Looking for ways to streamline CGI performance I made this simple script to measure boot time: #!livecode-server put "Howdy!" quit ...and then ran it with strace to see the system calls it makes: strace -v -o lctrace.txt ./test.lc Looking at the resulting output file I was surprised to find that more than 3/4 of all system calls during boot of the SERVER engine are related to FONT management. I realize that LC Server now also provides graphics handling, so I can appreciate the need for the lengthy font init. But for apps where fonts will never be used, should there be a way to turn that off? Maybe with a flag in the command line? 3/4 of boot instructions seems worth trimming if we can. Should I submit a request for an optional -f flag for LC Server to turn off font init? Or would it be more helpful to turn off all graphics initialization with something like -g? Also, for Mark Weider or anyone else familiar with Linux enough to help with this: I see a lot of lines in the strace output like this: access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) What is nohwcap, and why would the engine keep looking for it over and over after it's already been told it isn't there? -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mwieder at ahsoftware.net Thu Nov 27 11:25:28 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Nov 2014 08:25:28 -0800 Subject: Button is behavior In-Reply-To: References: <00a401d00a30$3d710770$b8531650$@FlexibleLearning.com> <8D1D870D3C2D03C-23C8-1FE5D@webmail-vm032.sysops.aol.com> Message-ID: <751967990505.20141127082528@ahsoftware.net> Mike- Thursday, November 27, 2014, 8:16:18 AM, you wrote: > Have perused the dictionary, don't think there is currently a way to do > what you want. Feature request? I'm not even sure a feature request would help here. Being used as a behavior isn't a property of an object, it's just a reference from some other object. > The only other option would be to cycle through the controls and build a > behavior list. Might be interesting to do though, build an array keyed by > button id, that contains a list of objects that it supplies behavior to. That's the only way I could think of doing this. You could also set a custom property on buttons that you're using as behavior objects and query on that. But Hugh, what are you trying to accomplish? -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From bonnmike at gmail.com Thu Nov 27 11:31:17 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 27 Nov 2014 09:31:17 -0700 Subject: Button is behavior In-Reply-To: <751967990505.20141127082528@ahsoftware.net> References: <00a401d00a30$3d710770$b8531650$@FlexibleLearning.com> <8D1D870D3C2D03C-23C8-1FE5D@webmail-vm032.sysops.aol.com> <751967990505.20141127082528@ahsoftware.net> Message-ID: Was curious and tried it. 4000 controls, took 107 milliseconds to index, on my system. It picked up datagrid behaviors too. local sObehaveListA on mouseUp put the milliseconds into tStart put empty into sObehaveListA repeat with i = 1 to (the number of controls of this stack) if the behavior of control i is not empty then put the name of control i & cr after sObehaveListA[(the behavior of control i)] end if end repeat put the milliseconds - tStart & cr put the keys of sObehaveListA after msg end mouseUp On Thu, Nov 27, 2014 at 9:25 AM, Mark Wieder wrote: > Mike- > > Thursday, November 27, 2014, 8:16:18 AM, you wrote: > > > Have perused the dictionary, don't think there is currently a way to do > > what you want. Feature request? > > I'm not even sure a feature request would help here. Being used as a > behavior isn't a property of an object, it's just a reference from > some other object. > > > The only other option would be to cycle through the controls and build a > > behavior list. Might be interesting to do though, build an array keyed > by > > button id, that contains a list of objects that it supplies behavior to. > > That's the only way I could think of doing this. You could also set a > custom property on buttons that you're using as behavior objects and > query on that. > > But Hugh, what are you trying to accomplish? > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Nov 27 11:41:13 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Nov 2014 08:41:13 -0800 Subject: Button is behavior In-Reply-To: References: <00a401d00a30$3d710770$b8531650$@FlexibleLearning.com> <8D1D870D3C2D03C-23C8-1FE5D@webmail-vm032.sysops.aol.com> <751967990505.20141127082528@ahsoftware.net> Message-ID: <1031968935684.20141127084113@ahsoftware.net> Mike- Nice. That gives you a concordance. And then isBehavior becomes function isBehavior pButtonName return pButtonName is among the lines of the keys of sObehaveListA end isBehavior -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From bodine at bodinetraininggames.com Thu Nov 27 11:45:24 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Thu, 27 Nov 2014 08:45:24 -0800 (PST) Subject: External files in Standalones In-Reply-To: References: Message-ID: <1417106724653-4686304.post@n4.nabble.com> Hi Bill. Have you run into any problems yet with your Mac standalone getting rejected by Gatekeeper under 10.9.5 or later? Apparently the app bundle structure is under new restrictions with Apple's V2 codesigning rules, "Resources should not be located in directories where the system expects to find signed code". Also, just curious, are you aiming for the Mac App Store with this or are you releasing it as a 3rd party developer? -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html Sent from the Revolution - User mailing list archive at Nabble.com. From ebeugelaar at gmail.com Thu Nov 27 12:00:25 2014 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Thu, 27 Nov 2014 18:00:25 +0100 Subject: EU VAT changes & small software businesses In-Reply-To: <0B1FDEE4-C1A2-439B-B88F-5B5C15CB5D50@azurevision.co.uk> References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> <95AC8BA1-2274-45C1-9CCD-35380CFA0B99@m-r-d.de> <0B1FDEE4-C1A2-439B-B88F-5B5C15CB5D50@azurevision.co.uk> Message-ID: The whole European ?dream? just sucks... That circus located in Brussel is only good for run-out politicians and their ?believers? who are eating our tax money earned by hard working people. By the way given away by our own stupid government esp. my Dutch government (642.M euro tax money). The European politicians have one goal: grasp as much as they can (e.g. This new tax rule) so that this circus can continue... I never talk about politics in forums but this time I could not control myself... :-( Erik On 27/11/14 16:37, "Ian Wood" wrote: > >On 27 Nov 2014, at 14:25, Bj?rnke von Gierke wrote: > >> So basically, every one of you EU software sellers is going to be >>fucked. > >No, Anyone who sells in the EU and outside their own country, no matter >*where* they're based in the world. > >:-( > >Ian >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Nov 27 12:07:57 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Nov 2014 09:07:57 -0800 Subject: Server boot time - font init In-Reply-To: <25b427bdaa035111dbcd21192590a42b@fourthworld.com> References: <25b427bdaa035111dbcd21192590a42b@fourthworld.com> Message-ID: <1641970539343.20141127090757@ahsoftware.net> Richard- Thursday, November 27, 2014, 8:20:07 AM, you wrote: > What is nohwcap, and why would the engine keep looking for it over and > over after it's already been told it isn't there? There's an *interesting* writeup over at https://saintaardvarkthecarpeted.com/blog/archive/2005/08/_etc_ld_so_nohwcap.html but the tl;dr is sudo touch /etc/ld.so.nohwcap should take care of it. The idea as I understand it is that nohwcap is supposed to offload the hardware capabilities check onto the distros so that there's only one place to check. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From pete at lcsql.com Thu Nov 27 12:19:38 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 27 Nov 2014 09:19:38 -0800 Subject: Button is behavior In-Reply-To: References: <00a401d00a30$3d710770$b8531650$@FlexibleLearning.com> <8D1D870D3C2D03C-23C8-1FE5D@webmail-vm032.sysops.aol.com> Message-ID: I have a script that does that and also makes bulk changes to a specific behavior. It's on the "Free Stuff" page of my web site www.lcsql.com, cleverly titled FindBehaviors. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Nov 27, 2014 at 8:16 AM, Mike Bonner wrote: > Have perused the dictionary, don't think there is currently a way to do > what you want. Feature request? > > The only other option would be to cycle through the controls and build a > behavior list. Might be interesting to do though, build an array keyed by > button id, that contains a list of objects that it supplies behavior to. > > On Thu, Nov 27, 2014 at 8:49 AM, wrote: > > > Hugh. > > > > > > You could surely write a short function, asking if the behavior of your > > button of interest is empty. > > > > > > Craig > > > > > > > > -----Original Message----- > > From: FlexibleLearning.com > > To: use-livecode > > Sent: Thu, Nov 27, 2014 5:53 am > > Subject: Button is behavior > > > > > > Is there a way to identify whether a button is used as a behavior? > > > > e.g. the isBehavior of btn 1 > > > > Just asking. > > > > Hugh Senior > > FLCo > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Thu Nov 27 12:34:48 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 27 Nov 2014 09:34:48 -0800 Subject: External files in Standalones In-Reply-To: <1417106724653-4686304.post@n4.nabble.com> References: <1417106724653-4686304.post@n4.nabble.com> Message-ID: Tom, I've been developing a large app in LC, while learning LC, and am just now at the stage of building a standalone. So, I haven't faced the apple store requirements yet. I guess I should spend more time looking at the forums, because for now I've concentrated on this list for info, and building the app for a January deadline. My plan for now is to finish the app, use InstallerMaker to build an installer, and send it to UC Santa Barbara for testing in an Earth Disasters course. This replaces an older app I made in Director. Then I'm going to add more bells and whistles, and try to get it into the Apple store. It would be really great if I could anticipate future problems with file structures, etc. ultimately, I will look at iPad deployment. One of the problems I've run into is the application builder changes the file structure and images that I have linked to controls lose their links when a standalone is built. But in general, It would be really useful if there was a place where sample file structures, application builder oddities, and apple store complexities were posted. The Livecode tutorials are laughably brief and un-informative, and I've googled to no avail. Any directions or links would be most welcome. Best, Bill William Prothero http://es.earthednet.org > On Nov 27, 2014, at 8:45 AM, tbodine wrote: > > Hi Bill. > > Have you run into any problems yet with your Mac standalone getting rejected > by Gatekeeper under 10.9.5 or later? > > Apparently the app bundle structure is under new restrictions with Apple's > V2 codesigning rules, "Resources should not be located in directories where > the system expects to find signed code". > > Also, just curious, are you aiming for the Mac App Store with this or are > you releasing it as a 3rd party developer? > > -- Tom Bodine > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Thu Nov 27 12:59:27 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 27 Nov 2014 09:59:27 -0800 Subject: External files in Standalones In-Reply-To: References: <1417106724653-4686304.post@n4.nabble.com> Message-ID: <5477667F.2040405@gmail.com> Ohanaware has just released App Wrapper 3 which I'm using (I'm just code signing, not using the App Store though) with success. Sam Rowlands is a great guy and has specifically worked with RunRev to make his product compatible with Livecode. Version 3 will take of Apple's new version 2 requirements. Marty Knapp > Tom, > I've been developing a large app in LC, while learning LC, and am just now at the stage of building a standalone. So, I haven't faced the apple store requirements yet. I guess I should spend more time looking at the forums, because for now I've concentrated on this list for info, and building the app for a January deadline. My plan for now is to finish the app, use InstallerMaker to build an installer, and send it to UC Santa Barbara for testing in an Earth Disasters course. This replaces an older app I made in Director. Then I'm going to add more bells and whistles, and try to get it into the Apple store. It would be really great if I could anticipate future problems with file structures, etc. ultimately, I will look at iPad deployment. > > One of the problems I've run into is the application builder changes the file structure and images that I have linked to controls lose their links when a standalone is built. But in general, It would be really useful if there was a place where sample file structures, application builder oddities, and apple store complexities were posted. The Livecode tutorials are laughably brief and un-informative, and I've googled to no avail. > > Any directions or links would be most welcome. > Best, > Bill > > William Prothero > http://es.earthednet.org > >> On Nov 27, 2014, at 8:45 AM, tbodine wrote: >> >> Hi Bill. >> >> Have you run into any problems yet with your Mac standalone getting rejected >> by Gatekeeper under 10.9.5 or later? >> >> Apparently the app bundle structure is under new restrictions with Apple's >> V2 codesigning rules, "Resources should not be located in directories where >> the system expects to find signed code". >> >> Also, just curious, are you aiming for the Mac App Store with this or are >> you releasing it as a 3rd party developer? >> >> -- Tom Bodine >> >> >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Nov 27 13:18:48 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Nov 2014 20:18:48 +0200 Subject: EU VAT changes & small software businesses In-Reply-To: References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> Message-ID: <54776B08.3010501@gmail.com> On 27/11/14 14:08, Dave Cragg wrote: > Ian, > > For UK businesses, the link below gives some information of one way to handle this. I'm not sure how useful this is. Thankfully, I'm not affected at the moment. > > https://www.gov.uk/government/publications/vat-supplying-digital-services-and-the-vat-mini-one-stop-shop > > Cheers > Dave > > My software floats in cyberspace and is a personal offering rather than linked to my company (which is a company based in Bulgaria solely for computer maintenance, educational software development and EFL teaching inwith the boundaries of Bulgaria): so, if somebody pays me for an item of software I produce (and the money goes into a PayPal account linked to a Scottish bank) the whole thing is extremely odd re who charges VAT and to whom, where? This, is like many things associated with the internet, a bit of a wobbly area, and one that greedy nation states are trying to muscle in on, but are going to find it hard to do. Richmond. From richmondmathewson at gmail.com Thu Nov 27 13:27:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Nov 2014 20:27:15 +0200 Subject: EU VAT changes & small software businesses In-Reply-To: References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> <95AC8BA1-2274-45C1-9CCD-35380CFA0B99@m-r-d.de> <0B1FDEE4-C1A2-439B-B88F-5B5C15CB5D50@azurevision.co.uk> Message-ID: <54776D03.6050305@gmail.com> On 27/11/14 19:00, Erik Beugelaar wrote: > The whole European ?dream? just sucks... > That circus located in Brussel is only good for run-out politicians and > their ?believers? who are eating our tax money earned by hard working > people. > By the way given away by our own stupid government esp. my Dutch > government (642.M euro tax money). > The European politicians have one goal: grasp as much as they can (e.g. > This new tax rule) so that this circus can continue... > > I never talk about politics in forums but this time I could not control > myself... > > :-( > > Erik > > > > That is probably why the 'UK' wants to get away from the EU with its fat bodies clogging up the corridors of ugly 70s buildings in Brussels. It would be 'nice' is England could see that the way Brussels behaves towards the 'UK' echos the way England behaves towards Scotland! What is the EU? Well, as far as I can see it has 2 reasons to exist: 1. So that people who cannot do anything productive can become EU bureaucrats and cream off the fat of those of us who do work. 2. To help semi-criminal countries such as Bulgaria (I know I live in Bulgaria) suck the hard-earned money of honest Germans and English people as "EU grants" (my god, you should just see how crook those grant proposals are). Of course the inevitable consequence of this shambles is that it tempts us hard workers into becoming tax dodgers . . . at which point things get into some sort of negative feedback downward spiral into Mafia-land. Well said Erik, echos my own very real cynicism. They can take their 'VAT' and stuff it up their fat European Union bottoms. Richmond. From prothero at earthednet.org Thu Nov 27 13:46:57 2014 From: prothero at earthednet.org (William Prothero) Date: Thu, 27 Nov 2014 10:46:57 -0800 Subject: External files in Standalones In-Reply-To: <5477667F.2040405@gmail.com> References: <1417106724653-4686304.post@n4.nabble.com> <5477667F.2040405@gmail.com> Message-ID: <31A6AA7A-CA2F-400E-8F4E-8D376D59C783@earthednet.org> Marty: Thanks! I just downloaded App Wrapper 3 and will be trying it out over the next day or so. Best, Bill On Nov 27, 2014, at 9:59 AM, Marty Knapp wrote: > Ohanaware has just released App Wrapper 3 which I'm using (I'm just code signing, not using the App Store though) with success. Sam Rowlands is a great guy and has specifically worked with RunRev to make his product compatible with Livecode. Version 3 will take of Apple's new version 2 requirements. > > > > Marty Knapp >> Tom, >> I've been developing a large app in LC, while learning LC, and am just now at the stage of building a standalone. So, I haven't faced the apple store requirements yet. I guess I should spend more time looking at the forums, because for now I've concentrated on this list for info, and building the app for a January deadline. My plan for now is to finish the app, use InstallerMaker to build an installer, and send it to UC Santa Barbara for testing in an Earth Disasters course. This replaces an older app I made in Director. Then I'm going to add more bells and whistles, and try to get it into the Apple store. It would be really great if I could anticipate future problems with file structures, etc. ultimately, I will look at iPad deployment. >> >> One of the problems I've run into is the application builder changes the file structure and images that I have linked to controls lose their links when a standalone is built. But in general, It would be really useful if there was a place where sample file structures, application builder oddities, and apple store complexities were posted. The Livecode tutorials are laughably brief and un-informative, and I've googled to no avail. >> >> Any directions or links would be most welcome. >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Nov 27, 2014, at 8:45 AM, tbodine wrote: >>> >>> Hi Bill. >>> >>> Have you run into any problems yet with your Mac standalone getting rejected >>> by Gatekeeper under 10.9.5 or later? >>> >>> Apparently the app bundle structure is under new restrictions with Apple's >>> V2 codesigning rules, "Resources should not be located in directories where >>> the system expects to find signed code". >>> >>> Also, just curious, are you aiming for the Mac App Store with this or are >>> you releasing it as a 3rd party developer? >>> >>> -- Tom Bodine >>> >>> >>> >>> >>> >>> -- >>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ebeugelaar at gmail.com Thu Nov 27 14:18:49 2014 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Thu, 27 Nov 2014 20:18:49 +0100 Subject: EU VAT changes & small software businesses In-Reply-To: <54776D03.6050305@gmail.com> References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> <95AC8BA1-2274-45C1-9CCD-35380CFA0B99@m-r-d.de> <0B1FDEE4-C1A2-439B-B88F-5B5C15CB5D50@azurevision.co.uk> <54776D03.6050305@gmail.com> Message-ID: LOL! Thanks Richmond for your mental support. Cheers, Erik On 27/11/14 19:27, "Richmond" wrote: >On 27/11/14 19:00, Erik Beugelaar wrote: >> The whole European ?dream? just sucks... >> That circus located in Brussel is only good for run-out politicians and >> their ?believers? who are eating our tax money earned by hard working >> people. >> By the way given away by our own stupid government esp. my Dutch >> government (642.M euro tax money). >> The European politicians have one goal: grasp as much as they can (e.g. >> This new tax rule) so that this circus can continue... >> >> I never talk about politics in forums but this time I could not control >> myself... >> >> :-( >> >> Erik >> >> >> >> > >That is probably why the 'UK' wants to get away from the EU with its >fat bodies clogging up the corridors of ugly 70s buildings in Brussels. > >It would be 'nice' is England could see that the way Brussels behaves >towards >the 'UK' echos the way England behaves towards Scotland! > >What is the EU? > >Well, as far as I can see it has 2 reasons to exist: > >1. So that people who cannot do anything productive can become EU >bureaucrats >and cream off the fat of those of us who do work. > >2. To help semi-criminal countries such as Bulgaria (I know I live in >Bulgaria) >suck the hard-earned money of honest Germans and English people as "EU >grants" >(my god, you should just see how crook those grant proposals are). > >Of course the inevitable consequence of this shambles is that it tempts us >hard workers into becoming tax dodgers . . . at which point things get >into some >sort of negative feedback downward spiral into Mafia-land. > >Well said Erik, echos my own very real cynicism. > >They can take their 'VAT' and stuff it up their fat European Union >bottoms. > >Richmond. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Nov 27 14:32:57 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Nov 2014 21:32:57 +0200 Subject: EU VAT changes & small software businesses In-Reply-To: References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> <95AC8BA1-2274-45C1-9CCD-35380CFA0B99@m-r-d.de> <0B1FDEE4-C1A2-439B-B88F-5B5C15CB5D50@azurevision.co.uk> <54776D03.6050305@gmail.com> Message-ID: <54777C69.2010802@gmail.com> On 27/11/14 21:18, Erik Beugelaar wrote: > LOL! > > Thanks Richmond for your mental support. > > Cheers, Erik > Almost all of my support is 'mental'. Richmond. > > > > On 27/11/14 19:27, "Richmond" wrote: > >> On 27/11/14 19:00, Erik Beugelaar wrote: >>> The whole European ?dream? just sucks... >>> That circus located in Brussel is only good for run-out politicians and >>> their ?believers? who are eating our tax money earned by hard working >>> people. >>> By the way given away by our own stupid government esp. my Dutch >>> government (642.M euro tax money). >>> The European politicians have one goal: grasp as much as they can (e.g. >>> This new tax rule) so that this circus can continue... >>> >>> I never talk about politics in forums but this time I could not control >>> myself... >>> >>> :-( >>> >>> Erik >>> >>> >>> >>> >> That is probably why the 'UK' wants to get away from the EU with its >> fat bodies clogging up the corridors of ugly 70s buildings in Brussels. >> >> It would be 'nice' is England could see that the way Brussels behaves >> towards >> the 'UK' echos the way England behaves towards Scotland! >> >> What is the EU? >> >> Well, as far as I can see it has 2 reasons to exist: >> >> 1. So that people who cannot do anything productive can become EU >> bureaucrats >> and cream off the fat of those of us who do work. >> >> 2. To help semi-criminal countries such as Bulgaria (I know I live in >> Bulgaria) >> suck the hard-earned money of honest Germans and English people as "EU >> grants" >> (my god, you should just see how crook those grant proposals are). >> >> Of course the inevitable consequence of this shambles is that it tempts us >> hard workers into becoming tax dodgers . . . at which point things get >> into some >> sort of negative feedback downward spiral into Mafia-land. >> >> Well said Erik, echos my own very real cynicism. >> >> They can take their 'VAT' and stuff it up their fat European Union >> bottoms. >> >> Richmond. >> >> _______________________________________________ >> From monte at sweattechnologies.com Thu Nov 27 15:14:09 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 Nov 2014 07:14:09 +1100 Subject: [OT] baby Message-ID: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Hi Folks We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! From admin at FlexibleLearning.com Thu Nov 27 15:19:49 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Thu, 27 Nov 2014 20:19:49 -0000 Subject: Button is behavior Message-ID: <000601d00a7f$7f91f2a0$7eb5d7e0$@FlexibleLearning.com> Thought as much, Mike. Only wondered if I had missed some new keyword among all the enhancements recently made by the mothereship. As the years advance I find I miss more than I used to, and what don't miss I forget! Hugh Senior FLCo Mike Bonner wrote: Was curious and tried it. 4000 controls, took 107 milliseconds to index, on my system. It picked up datagrid behaviors too. local sObehaveListA on mouseUp put the milliseconds into tStart put empty into sObehaveListA repeat with i = 1 to (the number of controls of this stack) if the behavior of control i is not empty then put the name of control i & cr after sObehaveListA[(the behavior of control i)] end if end repeat put the milliseconds - tStart & cr put the keys of sObehaveListA after msg end mouseUp From gerry.orkin at gmail.com Thu Nov 27 15:25:11 2014 From: gerry.orkin at gmail.com (Gerry) Date: Thu, 27 Nov 2014 20:25:11 +0000 Subject: [OT] baby References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Congratulations!!!!! So pleased for you! Gerry On Fri, 28 Nov 2014 at 7:14 am, Monte Goulding wrote: > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions > for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a > few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Thu Nov 27 15:26:54 2014 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 27 Nov 2014 20:26:54 +0000 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <5477890E.7000009@tweedly.net> Wonderful news ! Congratuations. -- Alex. On 27/11/2014 20:14, Monte Goulding wrote: > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Thu Nov 27 15:27:45 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 27 Nov 2014 15:27:45 -0500 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Congrats, Monte! ~Roger On Nov 27, 2014 3:14 PM, "Monte Goulding" wrote: > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions > for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a > few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From eric at canelasoftware.com Thu Nov 27 15:54:16 2014 From: eric at canelasoftware.com (Eric Corbett) Date: Thu, 27 Nov 2014 12:54:16 -0800 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <73A59C80-208C-4F58-9FD8-AFDDE3570A0B@canelasoftware.com> Congrats Monte and Rebecca. Best wishes. - eric > On Nov 27, 2014, at 12:14, Monte Goulding wrote: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Nov 27 15:55:55 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 27 Nov 2014 12:55:55 -0800 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Congrats on a new life adventure. Bill William Prothero http://es.earthednet.org > On Nov 27, 2014, at 12:14 PM, Monte Goulding wrote: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Thu Nov 27 16:11:34 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 27 Nov 2014 22:11:34 +0100 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Congrats Monte and Rebecca. Lots of ? Cr?er, donner, aimer ? to Sarah. Warm Regards, Pierre Le 27 nov. 2014 ? 21:14, Monte Goulding a ?crit : > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From kevin at runrev.com Thu Nov 27 16:14:10 2014 From: kevin at runrev.com (Kevin Miller) Date: Thu, 27 Nov 2014 21:14:10 +0000 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <73B5E365-682C-486D-AC35-81D94DCFDD24@runrev.com> Congratulations!! Sent from my iPhone > On 27 Nov 2014, at 20:14, Monte Goulding wrote: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Thu Nov 27 17:01:00 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 27 Nov 2014 14:01:00 -0800 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: How exciting! The best to you and your family. Bill Vlahos Sent from my iPhone > On Nov 27, 2014, at 12:14 PM, Monte Goulding wrote: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alain.vezina at logilangue.com Thu Nov 27 17:02:13 2014 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 27 Nov 2014 17:02:13 -0500 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Congratulations. The best for you three. Alain V?zina, directeur Logilangue 514-596-1385 www.logilangue.com Le 2014-11-27 ? 15:14, Monte Goulding a ?crit : > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marc.vancauwenberghe at pandora.be Thu Nov 27 17:15:12 2014 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Thu, 27 Nov 2014 23:15:12 +0100 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Congratulations!!! Verstuurd vanaf mijn iPhone > Op 27-nov.-2014 om 21:14 heeft Monte Goulding het volgende geschreven: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Thu Nov 27 17:16:39 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 27 Nov 2014 15:16:39 -0700 Subject: Button is behavior In-Reply-To: <000601d00a7f$7f91f2a0$7eb5d7e0$@FlexibleLearning.com> References: <000601d00a7f$7f91f2a0$7eb5d7e0$@FlexibleLearning.com> Message-ID: Mind if I ask why you need this? Always interested in the hows and whys of others, which often gives me new ideas I may not have otherwise had. On Thu, Nov 27, 2014 at 1:19 PM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > Thought as much, Mike. Only wondered if I had missed some new keyword among > all the enhancements recently made by the mothereship. > > > As the years advance I find I miss more than I used to, and what don't miss > I forget! > > Hugh Senior > FLCo > > > Mike Bonner wrote: > > Was curious and tried it. 4000 controls, took 107 milliseconds to index, on > my system. It picked up datagrid behaviors too. > > local sObehaveListA > on mouseUp > put the milliseconds into tStart > put empty into sObehaveListA > repeat with i = 1 to (the number of controls of this stack) > if the behavior of control i is not empty then > put the name of control i & cr after sObehaveListA[(the behavior > of control i)] > end if > end repeat > put the milliseconds - tStart & cr > put the keys of sObehaveListA after msg > end mouseUp > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Thu Nov 27 17:18:02 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 27 Nov 2014 15:18:02 -0700 Subject: [OT] baby In-Reply-To: References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Congrats! And prayers too. On Thu, Nov 27, 2014 at 3:15 PM, Marc Van Cauwenberghe < marc.vancauwenberghe at pandora.be> wrote: > Congratulations!!! > > Verstuurd vanaf mijn iPhone > > > Op 27-nov.-2014 om 21:14 heeft Monte Goulding < > monte at sweattechnologies.com> het volgende geschreven: > > > > Hi Folks > > > > We just had a baby so I won't be able to get to mergExt related > questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but > Sarah has a few breathing issues so needs some extra O2 for a while. > > > > Cheers > > > > Monte > > > > -- > > M E R Goulding > > Software development services > > > > mergExt - There's an external for that! > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Nakia.Brewer at westrac.com.au Thu Nov 27 17:55:46 2014 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 27 Nov 2014 22:55:46 +0000 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <67116DB20798A94285EEE12A67079A287770FD84@MALEXC01.westrac.com.au> Congrats! Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding Sent: Friday, 28 November 2014 7:14 AM To: How to use LiveCode Subject: [OT] baby Hi Folks We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From prothero at earthednet.org Thu Nov 27 17:58:55 2014 From: prothero at earthednet.org (William Prothero) Date: Thu, 27 Nov 2014 14:58:55 -0800 Subject: External files in Standalones In-Reply-To: <5477667F.2040405@gmail.com> References: <1417106724653-4686304.post@n4.nabble.com> <5477667F.2040405@gmail.com> Message-ID: <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> Marty: Where do you put the folders that contain external binary and image data? The App Wrapper somehow loses the path to them. The standalone that Livecode creates finds these files, but App Wrapper somehow loses the link, even tho the files are still present. So, I?m worrying over how to organize the external files so that the process goes smoothly. Bill On Nov 27, 2014, at 9:59 AM, Marty Knapp wrote: > Ohanaware has just released App Wrapper 3 which I'm using (I'm just code signing, not using the App Store though) with success. Sam Rowlands is a great guy and has specifically worked with RunRev to make his product compatible with Livecode. Version 3 will take of Apple's new version 2 requirements. > > > > Marty Knapp >> Tom, >> I've been developing a large app in LC, while learning LC, and am just now at the stage of building a standalone. So, I haven't faced the apple store requirements yet. I guess I should spend more time looking at the forums, because for now I've concentrated on this list for info, and building the app for a January deadline. My plan for now is to finish the app, use InstallerMaker to build an installer, and send it to UC Santa Barbara for testing in an Earth Disasters course. This replaces an older app I made in Director. Then I'm going to add more bells and whistles, and try to get it into the Apple store. It would be really great if I could anticipate future problems with file structures, etc. ultimately, I will look at iPad deployment. >> >> One of the problems I've run into is the application builder changes the file structure and images that I have linked to controls lose their links when a standalone is built. But in general, It would be really useful if there was a place where sample file structures, application builder oddities, and apple store complexities were posted. The Livecode tutorials are laughably brief and un-informative, and I've googled to no avail. >> >> Any directions or links would be most welcome. >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Nov 27, 2014, at 8:45 AM, tbodine wrote: >>> >>> Hi Bill. >>> >>> Have you run into any problems yet with your Mac standalone getting rejected >>> by Gatekeeper under 10.9.5 or later? >>> >>> Apparently the app bundle structure is under new restrictions with Apple's >>> V2 codesigning rules, "Resources should not be located in directories where >>> the system expects to find signed code". >>> >>> Also, just curious, are you aiming for the Mac App Store with this or are >>> you releasing it as a 3rd party developer? >>> >>> -- Tom Bodine >>> >>> >>> >>> >>> >>> -- >>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Nov 27 18:24:20 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Fri, 28 Nov 2014 00:24:20 +0100 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Monte, congratulations to you and your wife! Matthias > Am 27.11.2014 um 21:14 schrieb Monte Goulding : > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Thu Nov 27 18:24:45 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 27 Nov 2014 15:24:45 -0800 (PST) Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <1417130685257-4686332.post@n4.nabble.com> Congratulations to you and Rebecca - and to Sarah "Hello newbie!" ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-baby-tp4686315p4686332.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimolad at evergreeninfo.net Thu Nov 27 20:43:16 2014 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Thu, 27 Nov 2014 20:43:16 -0500 Subject: [OT] baby Message-ID: Margaret and I send our love. Congrats!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net
-------- Original message --------
From: Monte Goulding
Date:11/27/2014 15:14 (GMT-05:00)
To: How to use LiveCode
Subject: [OT] baby
Hi Folks We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Thu Nov 27 21:08:25 2014 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Thu, 27 Nov 2014 21:08:25 -0500 Subject: [OT] baby In-Reply-To: References: Message-ID: <20141128020825.6107286.51341.7107@gmail.com> Best wishes to you and your family. ?It truly is a day for Thanksgiving. ? And maybe we all have a new microcoder among us! ?That would be grand. ??:-) Mike ? Original Message ? From: Ralph DiMola Sent: Thursday, November 27, 2014 8:43 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: RE: [OT] baby Margaret and I send our love. Congrats!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net
-------- Original message --------
From: Monte Goulding
Date:11/27/2014 15:14 (GMT-05:00)
To: How to use LiveCode
Subject: [OT] baby
Hi Folks We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From smaclean at madmansoft.com Thu Nov 27 21:47:19 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Thu, 27 Nov 2014 21:47:19 -0500 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Congrats Monte!!! Best, Steve MacLean On Nov 27, 2014, at 3:14 PM, Monte Goulding wrote: > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Fri Nov 28 00:13:05 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 28 Nov 2014 01:13:05 -0400 Subject: Need list of books available for LiveCode Message-ID: on Mon, 24 Nov 2014 Andre Garzia wrote: > I know some of the books available about LiveCode > but I am sure I am missing some more recent endeavours. > Can you folks provide me with replies listing the current > and future books available? > I own livecodebooks.com and I want to set it up > like I did for firefoxosbooks.org Hi Andre, These are the Livecode books that I remember in this moment: http://www.amazon.com/LiveCode-Mobile-Development-Beginners-Guide/dp/1849692483 http://www.amazon.com/LiveCode-Mobile-Development-Hotshot-Lavieri/dp/1849697485 http://www.amazon.com/LiveCode-Mobile-Development-Cookbook-Lavieri/dp/1783558822 http://www3.economy-x-talk.com/file.php?node=book%253A-programming-livecode-for-real-starters http://livecodegamedeveloper.com/book.html *Dan Schafer's* book "Revolution at the Speed of Thought, Vol. 1" and hundreds of tutorials on the Web, that paints a more accurate portrait of Livecode's programming methods. Alejandro From richmondmathewson at gmail.com Fri Nov 28 01:54:48 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Nov 2014 08:54:48 +0200 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <54781C38.4070008@gmail.com> On 11/27/2014 10:14 PM, Monte Goulding wrote: > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > The ultimate excuse! Congratulations: here's hoping your daughter will be both as difficult and as wonderful as my children. Richmond. From userev at canelasoftware.com Fri Nov 28 02:07:16 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 27 Nov 2014 23:07:16 -0800 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Wonderful news Monte. Congratulations! -Mark On Nov 27, 2014, at 12:14 PM, Monte Goulding wrote: > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Nov 28 02:59:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 Nov 2014 01:59:46 -0600 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: Wonderful! So happy for you. Hugs to all round, and remember to sleep now while you can. On November 27, 2014 2:14:09 PM CST, Monte Goulding wrote: >Hi Folks > >We just had a baby so I won't be able to get to mergExt related >questions for a few days. Rebecca(mum) and Sarah(bub) are doing well >but Sarah has a few breathing issues so needs some extra O2 for a >while. > >Cheers > >Monte > >-- >M E R Goulding >Software development services > >mergExt - There's an external for that! >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From smudge.andy at googlemail.com Fri Nov 28 02:53:59 2014 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 27 Nov 2014 23:53:59 -0800 (PST) Subject: [OT] baby In-Reply-To: References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <1417161239214-4686340.post@n4.nabble.com> Congratulations!!! ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy My Tech site http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-baby-tp4686315p4686340.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave.cragg at lacscentre.co.uk Fri Nov 28 04:59:37 2014 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 28 Nov 2014 09:59:37 +0000 Subject: EU VAT changes & small software businesses In-Reply-To: References: <7B496804-6052-40E0-8ABC-1EBF13FB047B@azurevision.co.uk> Message-ID: <1F27B09D-FA76-4DCE-BDB8-23B3C8900082@lacscentre.co.uk> On 27 Nov 2014, at 12:52, Ian Wood wrote: > Hi Dave, > > I forgot to post that link. :-( > > It doesn't help much because I'm a sole trader under the UK VAT threshold - VAT-registering the entire business for the sake of 1000? in software turnover would wipe out about half my income. At the moment it looks like I'll either have to stop the software side completely or start posting the software on CDs instead of via digital download. > > I'm a *little* bit pissed off at the moment... > > Ian I can understand how pissed off you are. Wherever I read about it, it seems our worst thoughts are true. :-( For those in the UK, there is a petition at the link below to have the current exemption threshold still apply. https://www.change.org/p/vince-cable-mp-uphold-the-vat-exemption-threshold-for-businesses-supplying-digital-products From alanstenhouse at hotmail.com Fri Nov 28 06:12:59 2014 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Fri, 28 Nov 2014 12:12:59 +0100 Subject: [OT] baby In-Reply-To: References: Message-ID: Wow, congratulations Monte + Rebecca on the new addition! (Hmm, sounds like an app name there?!) :-) cheers Alan :-) On 28/11/2014, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte From admin at FlexibleLearning.com Fri Nov 28 08:09:33 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 28 Nov 2014 13:09:33 -0000 Subject: Button is behavior Message-ID: <001901d00b0c$8ed06700$ac713500$@FlexibleLearning.com> It's a supplementary idea for the upcoming Control Manager utility to show not only the style but the function of a button. More generally, behaviours are a bit like icons, although locating a behaviour source is easier than locating an image source! Hugh Senior FLCo Mike Bonner wrote > Mind if I ask why you need this? Always interested in the hows and whys of others, > which often gives me new ideas I may not have otherwise had. From ambassador at fourthworld.com Fri Nov 28 09:08:33 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Nov 2014 06:08:33 -0800 Subject: Button is behavior In-Reply-To: <001901d00b0c$8ed06700$ac713500$@FlexibleLearning.com> References: <001901d00b0c$8ed06700$ac713500$@FlexibleLearning.com> Message-ID: <547881E1.7030806@fourthworld.com> Hugh Senior wrote: > It's a supplementary idea for the upcoming Control Manager utility to show > not only the style but the function of a button. > > More generally, behaviours are a bit like icons, although locating a > behaviour source is easier than locating an image source! That got much easier a few builds ago with the "resolve image" command - from its Dictionary entry: This command resolves a short id or name of an image as would be used for an icon and sets it to the long ID of the image according to the documented rules for resolving icons. For behaviors, anything the IDE were to provide would have to use a brute-force on-the-fly algorithm very similar to the one Mike provided, since behaviors can be set and changed dynamically at any time. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pete at lcsql.com Fri Nov 28 10:35:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 28 Nov 2014 07:35:10 -0800 Subject: Button is behavior In-Reply-To: <001901d00b0c$8ed06700$ac713500$@FlexibleLearning.com> References: <001901d00b0c$8ed06700$ac713500$@FlexibleLearning.com> Message-ID: Check out the new resolve command to find the location of an image. On Nov 28, 2014 5:09 AM, "FlexibleLearning.com" wrote: > It's a supplementary idea for the upcoming Control Manager utility to show > not only the style but the function of a button. > > More generally, behaviours are a bit like icons, although locating a > behaviour source is easier than locating an image source! > > Hugh Senior > FLCo > > > Mike Bonner wrote > > > Mind if I ask why you need this? Always interested in the hows and whys > of > others, > > which often gives me new ideas I may not have otherwise had. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Fri Nov 28 11:36:26 2014 From: prothero at earthednet.org (William Prothero) Date: Fri, 28 Nov 2014 08:36:26 -0800 Subject: External files in Standalones In-Reply-To: <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> References: <1417106724653-4686304.post@n4.nabble.com> <5477667F.2040405@gmail.com> <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> Message-ID: <5BF90CB8-4DFA-4062-A1DF-2156B82AB1AC@earthednet.org> Folks: I am really confused about how LC's built-in standalone builder is set up to put user files where I want them. I?m building for MacOSX. There is a ?Copy Files? screen in the ?Satandalone Settings? window. I have specified the non-stack folders, which are copied, but there is also a ?Destination Folder? field and this seems to make no difference as to where the files are copied. I have set this to ?Contents/DataFiles/*?, but whatever I set this to doesn?t seem to make any difference. Obviously, I am missing some critical setting. Another mystery is that the standalone package contains folders with my ?Users? directory tree in the ?MacOS? folder. WTF? Why would this be included in a standalone? I would think there would be better documentation on this, as it is certainly frustrating for a newbie, and I am completely stuck on what should be a trivial problem. Regards, Bill On Nov 27, 2014, at 2:58 PM, William Prothero wrote: > Marty: > Where do you put the folders that contain external binary and image data? The App Wrapper somehow loses the path to them. The standalone that Livecode creates finds these files, but App Wrapper somehow loses the link, even tho the files are still present. > > So, I?m worrying over how to organize the external files so that the process goes smoothly. > Bill > > On Nov 27, 2014, at 9:59 AM, Marty Knapp wrote: > >> Ohanaware has just released App Wrapper 3 which I'm using (I'm just code signing, not using the App Store though) with success. Sam Rowlands is a great guy and has specifically worked with RunRev to make his product compatible with Livecode. Version 3 will take of Apple's new version 2 requirements. >> >> >> From martyknappster at gmail.com Fri Nov 28 11:55:04 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 28 Nov 2014 08:55:04 -0800 Subject: External files in Standalones In-Reply-To: <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> References: <1417106724653-4686304.post@n4.nabble.com> <5477667F.2040405@gmail.com> <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> Message-ID: <5478A8E8.1020207@gmail.com> I don't use any externals, other than what LC may include (like revmxl.bundle and rezip.bundle), My bundle structure looks like this: MyApp>Contents>MacOS>Externals>(all externals) MyApp>Contents>MacOS>components>(where I put all my stacks) App Wrapper 3 code signs just fine for me with this structure. I does code sign everything, so can take longer than it used to. You might drop an email to Sam Rowlands at Ohanaware, I've always had great support from him. Marty Knapp > Marty: > Where do you put the folders that contain external binary and image data? The App Wrapper somehow loses the path to them. The standalone that Livecode creates finds these files, but App Wrapper somehow loses the link, even tho the files are still present. > > So, I?m worrying over how to organize the external files so that the process goes smoothly. > Bill > > On Nov 27, 2014, at 9:59 AM, Marty Knapp wrote: > >> Ohanaware has just released App Wrapper 3 which I'm using (I'm just code signing, not using the App Store though) with success. Sam Rowlands is a great guy and has specifically worked with RunRev to make his product compatible with Livecode. Version 3 will take of Apple's new version 2 requirements. >> >> >> >> Marty Knapp >>> Tom, >>> I've been developing a large app in LC, while learning LC, and am just now at the stage of building a standalone. So, I haven't faced the apple store requirements yet. I guess I should spend more time looking at the forums, because for now I've concentrated on this list for info, and building the app for a January deadline. My plan for now is to finish the app, use InstallerMaker to build an installer, and send it to UC Santa Barbara for testing in an Earth Disasters course. This replaces an older app I made in Director. Then I'm going to add more bells and whistles, and try to get it into the Apple store. It would be really great if I could anticipate future problems with file structures, etc. ultimately, I will look at iPad deployment. >>> >>> One of the problems I've run into is the application builder changes the file structure and images that I have linked to controls lose their links when a standalone is built. But in general, It would be really useful if there was a place where sample file structures, application builder oddities, and apple store complexities were posted. The Livecode tutorials are laughably brief and un-informative, and I've googled to no avail. >>> >>> Any directions or links would be most welcome. >>> Best, >>> Bill >>> >>> William Prothero >>> http://es.earthednet.org >>> >>>> On Nov 27, 2014, at 8:45 AM, tbodine wrote: >>>> >>>> Hi Bill. >>>> >>>> Have you run into any problems yet with your Mac standalone getting rejected >>>> by Gatekeeper under 10.9.5 or later? >>>> >>>> Apparently the app bundle structure is under new restrictions with Apple's >>>> V2 codesigning rules, "Resources should not be located in directories where >>>> the system expects to find signed code". >>>> >>>> Also, just curious, are you aiming for the Mac App Store with this or are >>>> you releasing it as a 3rd party developer? >>>> >>>> -- Tom Bodine >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html >>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeff at siphonophore.com Fri Nov 28 11:56:58 2014 From: jeff at siphonophore.com (Jeff Reynolds) Date: Fri, 28 Nov 2014 11:56:58 -0500 Subject: [OT] baby In-Reply-To: References: Message-ID: <6822E70D-D9CE-4CCD-AF4B-BCC7F3646FB7@siphonophore.com> Monte, Congrats and best to you all! Jeff > On Nov 28, 2014, at 6:00 AM, use-livecode-request at lists.runrev.com wrote: > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. From prothero at earthednet.org Fri Nov 28 12:40:15 2014 From: prothero at earthednet.org (William Prothero) Date: Fri, 28 Nov 2014 09:40:15 -0800 Subject: External files in Standalones In-Reply-To: <5478A8E8.1020207@gmail.com> References: <1417106724653-4686304.post@n4.nabble.com> <5477667F.2040405@gmail.com> <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> <5478A8E8.1020207@gmail.com> Message-ID: <177B2525-FF45-4B62-B79E-1A71F0AD3199@earthednet.org> Marty: Is this what the folder structure looks like when you are developing the App? Perhaps this is where I?m going wrong. Do I need to use the same folder structure that the bundle will be, when I am doing the development. Currently, I have: myApp myApp->files ?this contains the sub-folders with images and various data items that I use. Bill On Nov 28, 2014, at 8:55 AM, Marty Knapp wrote: > I don't use any externals, other than what LC may include (like revmxl.bundle and rezip.bundle), My bundle structure looks like this: > > MyApp>Contents>MacOS>Externals>(all externals) > MyApp>Contents>MacOS>components>(where I put all my stacks) > > App Wrapper 3 code signs just fine for me with this structure. I does code sign everything, so can take longer than it used to. You might drop an email to Sam Rowlands at Ohanaware, I've always had great support from him. > > Marty Knapp > >> Marty: >> Where do you put the folders that contain external binary and image data? The App Wrapper somehow loses the path to them. The standalone that Livecode creates finds these files, but App Wrapper somehow loses the link, even tho the files are still present. >> >> So, I?m worrying over how to organize the external files so that the process goes smoothly. >> Bill >> >> On Nov 27, 2014, at 9:59 AM, Marty Knapp wrote: >> >>> Ohanaware has just released App Wrapper 3 which I'm using (I'm just code signing, not using the App Store though) with success. Sam Rowlands is a great guy and has specifically worked with RunRev to make his product compatible with Livecode. Version 3 will take of Apple's new version 2 requirements. >>> >>> >>> >>> Marty Knapp >>>> Tom, >>>> I've been developing a large app in LC, while learning LC, and am just now at the stage of building a standalone. So, I haven't faced the apple store requirements yet. I guess I should spend more time looking at the forums, because for now I've concentrated on this list for info, and building the app for a January deadline. My plan for now is to finish the app, use InstallerMaker to build an installer, and send it to UC Santa Barbara for testing in an Earth Disasters course. This replaces an older app I made in Director. Then I'm going to add more bells and whistles, and try to get it into the Apple store. It would be really great if I could anticipate future problems with file structures, etc. ultimately, I will look at iPad deployment. >>>> >>>> One of the problems I've run into is the application builder changes the file structure and images that I have linked to controls lose their links when a standalone is built. But in general, It would be really useful if there was a place where sample file structures, application builder oddities, and apple store complexities were posted. The Livecode tutorials are laughably brief and un-informative, and I've googled to no avail. >>>> >>>> Any directions or links would be most welcome. >>>> Best, >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>>> On Nov 27, 2014, at 8:45 AM, tbodine wrote: >>>>> >>>>> Hi Bill. >>>>> >>>>> Have you run into any problems yet with your Mac standalone getting rejected >>>>> by Gatekeeper under 10.9.5 or later? >>>>> >>>>> Apparently the app bundle structure is under new restrictions with Apple's >>>>> V2 codesigning rules, "Resources should not be located in directories where >>>>> the system expects to find signed code". >>>>> >>>>> Also, just curious, are you aiming for the Mac App Store with this or are >>>>> you releasing it as a 3rd party developer? >>>>> >>>>> -- Tom Bodine >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html >>>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Fri Nov 28 12:53:01 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 28 Nov 2014 12:53:01 -0500 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <9DB32EDB-BD31-4C49-84C5-DD2398EDA7B7@all-auctions.com> Hi Monte, Congratulations! We?ll stay tuned for her yearly upgrade reports! Rick > On Nov 27, 2014, at 3:14 PM, Monte Goulding wrote: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Fri Nov 28 12:58:08 2014 From: prothero at earthednet.org (William Prothero) Date: Fri, 28 Nov 2014 09:58:08 -0800 Subject: External files in Standalones In-Reply-To: <177B2525-FF45-4B62-B79E-1A71F0AD3199@earthednet.org> References: <1417106724653-4686304.post@n4.nabble.com> <5477667F.2040405@gmail.com> <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> <5478A8E8.1020207@gmail.com> <177B2525-FF45-4B62-B79E-1A71F0AD3199@earthednet.org> Message-ID: <5570A210-012E-4BB1-A17C-178B78EAD6BD@earthednet.org> Marty: Tried the development file structure that mimics the bundle structure (for development) and all the standalone builder does is put my Resources folder inside the Resources folder that is created for the bundle. There is a MacOS folder (Contents->MacOS)that contains only folders, no data. Then there is also, in the Resources folder created by the bundle, a folder named _MacOS(Contents->Resources-_MacOS), which contains my data folders with data. To get the path containing the actual data, I have to specify the path to the data within the Contents->Resources-_MacOS folder. I?m missing something, probably so trivial that nobody thinks to tell me. Bill On Nov 28, 2014, at 9:40 AM, William Prothero wrote: > Marty: > Is this what the folder structure looks like when you are developing the App? Perhaps this is where I?m going wrong. Do I need to use the same folder structure that the bundle will be, when I am doing the development. Currently, I have: > myApp > myApp->files ?this contains the sub-folders with images and various data items that I use. > > Bill > > On Nov 28, 2014, at 8:55 AM, Marty Knapp wrote: > >> I don't use any externals, other than what LC may include (like revmxl.bundle and rezip.bundle), My bundle structure looks like this: >> >> MyApp>Contents>MacOS>Externals>(all externals) >> MyApp>Contents>MacOS>components>(where I put all my stacks) >> >> App Wrapper 3 code signs just fine for me with this structure. I does code sign everything, so can take longer than it used to. You might drop an email to Sam Rowlands at Ohanaware, I've always had great support from him. >> >> Marty Knapp >> >>> Marty: >>> Where do you put the folders that contain external binary and image data? The App Wrapper somehow loses the path to them. The standalone that Livecode creates finds these files, but App Wrapper somehow loses the link, even tho the files are still present. >>> >>> So, I?m worrying over how to organize the external files so that the process goes smoothly. >>> Bill >>> >>> On Nov 27, 2014, at 9:59 AM, Marty Knapp wrote: >>> >>>> Ohanaware has just released App Wrapper 3 which I'm using (I'm just code signing, not using the App Store though) with success. Sam Rowlands is a great guy and has specifically worked with RunRev to make his product compatible with Livecode. Version 3 will take of Apple's new version 2 requirements. >>>> >>>> >>>> >>>> Marty Knapp >>>>> Tom, >>>>> I've been developing a large app in LC, while learning LC, and am just now at the stage of building a standalone. So, I haven't faced the apple store requirements yet. I guess I should spend more time looking at the forums, because for now I've concentrated on this list for info, and building the app for a January deadline. My plan for now is to finish the app, use InstallerMaker to build an installer, and send it to UC Santa Barbara for testing in an Earth Disasters course. This replaces an older app I made in Director. Then I'm going to add more bells and whistles, and try to get it into the Apple store. It would be really great if I could anticipate future problems with file structures, etc. ultimately, I will look at iPad deployment. >>>>> >>>>> One of the problems I've run into is the application builder changes the file structure and images that I have linked to controls lose their links when a standalone is built. But in general, It would be really useful if there was a place where sample file structures, application builder oddities, and apple store complexities were posted. The Livecode tutorials are laughably brief and un-informative, and I've googled to no avail. >>>>> >>>>> Any directions or links would be most welcome. >>>>> Best, >>>>> Bill >>>>> >>>>> William Prothero >>>>> http://es.earthednet.org >>>>> >>>>>> On Nov 27, 2014, at 8:45 AM, tbodine wrote: >>>>>> >>>>>> Hi Bill. >>>>>> >>>>>> Have you run into any problems yet with your Mac standalone getting rejected >>>>>> by Gatekeeper under 10.9.5 or later? >>>>>> >>>>>> Apparently the app bundle structure is under new restrictions with Apple's >>>>>> V2 codesigning rules, "Resources should not be located in directories where >>>>>> the system expects to find signed code". >>>>>> >>>>>> Also, just curious, are you aiming for the Mac App Store with this or are >>>>>> you releasing it as a 3rd party developer? >>>>>> >>>>>> -- Tom Bodine >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html >>>>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Fri Nov 28 13:07:10 2014 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 28 Nov 2014 10:07:10 -0800 Subject: External files in Standalones In-Reply-To: <177B2525-FF45-4B62-B79E-1A71F0AD3199@earthednet.org> References: <1417106724653-4686304.post@n4.nabble.com> <5477667F.2040405@gmail.com> <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> <5478A8E8.1020207@gmail.com> <177B2525-FF45-4B62-B79E-1A71F0AD3199@earthednet.org> Message-ID: <5478B9CE.6050904@gmail.com> No that's the structure in the standalone only. If you look in the Standalone settings, you'll see that there's a place to indicate which stacks to include and another place to indicate non-stack files to include. I would set up a folder on your hard drive and organize as you wish, then go into the Standalone settings and let it know where things are. Then when you reference any stacks, LC knows where they are so you don't have to include the path to the stack. For example, let's say you you want to open one of your stacks form the main stack. In a button you would just write 'go stack "MyStack"' and LC will know where it is (because you've indicated that in the standalone settings. It works in the IDE, it works in the standalone. I just tried a quick test app and code signed it with App Wrapper and it worked fine (though the structure of the standalone is different than my earlier example). I did find a lesson that may help you here: Marty Knapp > Marty: > Is this what the folder structure looks like when you are developing the App? Perhaps this is where I?m going wrong. Do I need to use the same folder structure that the bundle will be, when I am doing the development. Currently, I have: > myApp > myApp->files ?this contains the sub-folders with images and various data items that I use. > > Bill > > On Nov 28, 2014, at 8:55 AM, Marty Knapp wrote: > >> I don't use any externals, other than what LC may include (like revmxl.bundle and rezip.bundle), My bundle structure looks like this: >> >> MyApp>Contents>MacOS>Externals>(all externals) >> MyApp>Contents>MacOS>components>(where I put all my stacks) >> >> App Wrapper 3 code signs just fine for me with this structure. I does code sign everything, so can take longer than it used to. You might drop an email to Sam Rowlands at Ohanaware, I've always had great support from him. >> >> Marty Knapp >> >>> Marty: >>> Where do you put the folders that contain external binary and image data? The App Wrapper somehow loses the path to them. The standalone that Livecode creates finds these files, but App Wrapper somehow loses the link, even tho the files are still present. >>> >>> So, I?m worrying over how to organize the external files so that the process goes smoothly. >>> Bill >>> >>> On Nov 27, 2014, at 9:59 AM, Marty Knapp wrote: >>> >>>> Ohanaware has just released App Wrapper 3 which I'm using (I'm just code signing, not using the App Store though) with success. Sam Rowlands is a great guy and has specifically worked with RunRev to make his product compatible with Livecode. Version 3 will take of Apple's new version 2 requirements. >>>> >>>> >>>> >>>> Marty Knapp >>>>> Tom, >>>>> I've been developing a large app in LC, while learning LC, and am just now at the stage of building a standalone. So, I haven't faced the apple store requirements yet. I guess I should spend more time looking at the forums, because for now I've concentrated on this list for info, and building the app for a January deadline. My plan for now is to finish the app, use InstallerMaker to build an installer, and send it to UC Santa Barbara for testing in an Earth Disasters course. This replaces an older app I made in Director. Then I'm going to add more bells and whistles, and try to get it into the Apple store. It would be really great if I could anticipate future problems with file structures, etc. ultimately, I will look at iPad deployment. >>>>> >>>>> One of the problems I've run into is the application builder changes the file structure and images that I have linked to controls lose their links when a standalone is built. But in general, It would be really useful if there was a place where sample file structures, application builder oddities, and apple store complexities were posted. The Livecode tutorials are laughably brief and un-informative, and I've googled to no avail. >>>>> >>>>> Any directions or links would be most welcome. >>>>> Best, >>>>> Bill >>>>> >>>>> William Prothero >>>>> http://es.earthednet.org >>>>> >>>>>> On Nov 27, 2014, at 8:45 AM, tbodine wrote: >>>>>> >>>>>> Hi Bill. >>>>>> >>>>>> Have you run into any problems yet with your Mac standalone getting rejected >>>>>> by Gatekeeper under 10.9.5 or later? >>>>>> >>>>>> Apparently the app bundle structure is under new restrictions with Apple's >>>>>> V2 codesigning rules, "Resources should not be located in directories where >>>>>> the system expects to find signed code". >>>>>> >>>>>> Also, just curious, are you aiming for the Mac App Store with this or are >>>>>> you releasing it as a 3rd party developer? >>>>>> >>>>>> -- Tom Bodine >>>>>> >>>>>> From capellan2000 at gmail.com Fri Nov 28 13:33:22 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 28 Nov 2014 14:33:22 -0400 Subject: [OT] baby Message-ID: > > on Fri, 28 Nov 2014 07:14:09 +1100 > Monte Goulding wrote: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions > for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a > few breathing issues so needs some extra O2 for a while. > Hi Monte, Congratulations for all members of Goulding's family! :D Al From livfoss at mac.com Fri Nov 28 18:08:23 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 29 Nov 2014 00:08:23 +0100 Subject: hide / show oddities ? In-Reply-To: <62494898-F477-4F94-9B19-405AB20322FF@mac.com> References: <5475BD91.6090904@tweedly.net> <62494898-F477-4F94-9B19-405AB20322FF@mac.com> Message-ID: <9614F6B6-35CB-4EB3-98F7-36D951522B46@mac.com> Just to add that I got this working just now, in the strangest way. My code wanted to show a splash screen for three seconds, so I coded go to cd ?splash? of stack ?mySplashScreen? wait 3 seconds sometimes I put a ?show? in there too, but the splash screen didn?t show. I found that if I put wait 3 seconds with messages then the card does show up. Seems like snake oil to me. I hope I can create something simple that can be reported as a bug, but I haven?t got there yet. I should say that there shouldn?t be any messages, since this is pretty much the start of the program and no other actions have been launched (at least I don?t think so!). Graham > On 27 Nov 2014, at 11:13, Graham Samuel wrote: > > Coming a little late to this conversation, I think I have seen this too, in LC 7 rc2. I have several instances of ?show? that work, and one, where I have to show a splash screen, that doesn?t. Like you Alex, I automatically thought that it must be something I?m doing wrong, but now I am not so sure. Am about to do more tests. I notice that if I put something that stops the app running (I mean an ?answer? message) as the next line after the ?show?, the shown stack does appear (is visible) behind the dialog box; but without the ?answer?, the ?show? appears to be completely ignored, even if I follow it with a ?wait?. Gotta find out what this is - it definitely worked in all the 6.x versions of LC. > > Graham > >> On 26 Nov 2014, at 11:46, Alex Tweedly wrote: >> >> >> This feels so unlikely that I wonder if I'm simply doing something wrong - but thought I'd ask first. >> >> I had a script which is supposed to (amongst other things) hide one particular group. Although it usually worked OK, in some cases, sometimes, the group would remain visible when it is not supposed to. Trying to find this in the IDE/debugger wasn't getting anywhere, so I reverted to using "put"s (but still in the IDE). I finished up after a few iterations with some code that said >> >> >> ...... >> hide grp "abcde" >> put "here now" && the vis of grp "abcde" &CR after msg >> .... >> >> and it output >> here now true >> >> So I changed the code to >> ...... >> set the vis of grp "abcde" to false >> put "here now" && the vis of grp "abcde" &CR after msg >> .... >> and what do you know - not only does it output "here now false", but the group *always* becomes invisible. >> >> Does "hide" do anything different from simply setting the visibility to false? >> Is it remotely possible this isn't me misunderstanding something ? >> >> And then - in a completely different bit of the same app, in a different group, I have some code (in the group script) that was doing >> ... >> show me >> .... >> to ensure that the group was visible (inside a timed / delay loop). This would occasionally result in some graphics showing up wrongly (in the wrong colour) very briefly. Simply changing the code to >> .... >> set the visible of me to true >> .... >> again seems to fix this. >> >> To be honest, if someone else described these symptoms to me, I'd be looking for what else was going on that they had forgotten about :-) >> But I've already done that - now I'm hoping someone can offer an idea of whether this is feasible. >> Has anyone else seen anything like this ? >> Should I be pursuing an attempt to make this happen in a smaller sample so I can submit a useful bug report ? >> >> (oh - glad you asked - Mac OSX 10.8.5, LC 6.6.2) >> >> Thanks >> -- Alex. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Nov 28 18:09:53 2014 From: livfoss at mac.com (Graham Samuel) Date: Sat, 29 Nov 2014 00:09:53 +0100 Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <4BE5F23D-A81B-41A2-8C80-9D45BC449EF7@mac.com> Congratulations Monte and family - a bit late, but sincere. Graham > On 27 Nov 2014, at 21:14, Monte Goulding wrote: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few breathing issues so needs some extra O2 for a while. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bodine at bodinetraininggames.com Fri Nov 28 18:21:46 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Fri, 28 Nov 2014 15:21:46 -0800 (PST) Subject: [OT] baby In-Reply-To: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> References: <6E88342A-3510-4A1B-8C5E-A4FDAFCC008B@sweattechnologies.com> Message-ID: <1417216906914-4686356.post@n4.nabble.com> Happy day! Congratulations! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-baby-tp4686315p4686356.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Fri Nov 28 19:08:33 2014 From: prothero at earthednet.org (William Prothero) Date: Fri, 28 Nov 2014 16:08:33 -0800 Subject: External files in Standalones In-Reply-To: <5478B9CE.6050904@gmail.com> References: <1417106724653-4686304.post@n4.nabble.com> <5477667F.2040405@gmail.com> <8252EC6B-0091-4BAC-8991-BF6B0E0B1C59@earthednet.org> <5478A8E8.1020207@gmail.com> <177B2525-FF45-4B62-B79E-1A71F0AD3199@earthednet.org> <5478B9CE.6050904@gmail.com> Message-ID: <6BF019FB-F7BB-4F30-BE81-17070CABEFB5@earthednet.org> Marty: Thanks so much for your patience and help. I wasn?t worried about finding stacks because all of my project stacks are substacks. But, this situation will occur, I know. The buy site is very useful. I think I have it now. Best, Bill On Nov 28, 2014, at 10:07 AM, Marty Knapp wrote: > No that's the structure in the standalone only. If you look in the Standalone settings, you'll see that there's a place to indicate which stacks to include and another place to indicate non-stack files to include. I would set up a folder on your hard drive and organize as you wish, then go into the Standalone settings and let it know where things are. Then when you reference any stacks, LC knows where they are so you don't have to include the path to the stack. > > For example, let's say you you want to open one of your stacks form the main stack. In a button you would just write 'go stack "MyStack"' and LC will know where it is (because you've indicated that in the standalone settings. It works in the IDE, it works in the standalone. > > I just tried a quick test app and code signed it with App Wrapper and it worked fine (though the structure of the standalone is different than my earlier example). > > I did find a lesson that may help you here: > > > ____________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dick.kriesel at mail.com Fri Nov 28 20:58:14 2014 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 28 Nov 2014 17:58:14 -0800 Subject: hide / show oddities ? In-Reply-To: <5475BD91.6090904@tweedly.net> References: <5475BD91.6090904@tweedly.net> Message-ID: The subject is intriguing for some future release. "Hide oddities" would be great for giving demos; "show oddities" would great for debugging. Thanks for the suggestions, Alex. -- Dick From mwieder at ahsoftware.net Fri Nov 28 22:24:36 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Nov 2014 19:24:36 -0800 Subject: hide / show oddities ? In-Reply-To: References: <5475BD91.6090904@tweedly.net> Message-ID: <28605881888.20141128192436@ahsoftware.net> Dick- -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From stephenREVOLUTION2 at barncard.com Fri Nov 28 23:22:22 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 28 Nov 2014 20:22:22 -0800 Subject: Server boot time - font init In-Reply-To: <25b427bdaa035111dbcd21192590a42b@fourthworld.com> References: <25b427bdaa035111dbcd21192590a42b@fourthworld.com> Message-ID: On Thu, Nov 27, 2014 at 8:20 AM, Richard Gaskin wrote: > What is nohwcap, and why would the engine keep looking for it over and > over after it's already been told it isn't there? > and could that be an element of the slow engine loading problem? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From admin at FlexibleLearning.com Sat Nov 29 13:34:45 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 29 Nov 2014 18:34:45 -0000 Subject: Button is behavior Message-ID: <003401d00c03$272c8a50$75859ef0$@FlexibleLearning.com> 'Resolve image' is useful to know. However, the indexing solution to identify buttons used as behaviors is fine as far as it goes, but it will inevitable omit any behaviour buttons if any 'calling' objects are not currently loaded. As you say, behaviors can be set and changed dynamically, but then so can the icon property. On the other hand, I am coming to the conclusion that an 'isBehavior' property is essentially meaningless because a behaviour only means 'insert into message passing hierarchy'. There is no property to identify whether an object contains a frontscript or backscript, and the same would thus be true of a behaviour script. Until actually applied, it is not a behaviour anyway. My apologies for wasting everyone's time. Hugh Senior FLCo Richard Gaskin wrote: Hugh Senior wrote: > It's a supplementary idea for the upcoming Control Manager utility to > show not only the style but the function of a button. > > More generally, behaviours are a bit like icons, although locating a > behaviour source is easier than locating an image source! That got much easier a few builds ago with the "resolve image" command - from its Dictionary entry: This command resolves a short id or name of an image as would be used for an icon and sets it to the long ID of the image according to the documented rules for resolving icons. For behaviors, anything the IDE were to provide would have to use a brute-force on-the-fly algorithm very similar to the one Mike provided, since behaviors can be set and changed dynamically at any time. From ambassador at fourthworld.com Sat Nov 29 13:49:31 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Nov 2014 10:49:31 -0800 Subject: Server boot time - font init Message-ID: stephen barncard wrote: > On Thu, Nov 27, 2014 at 8:20 AM, Richard Gaskin wrote: > >> What is nohwcap, and why would the engine keep looking for it >> over and over after it's already been told it isn't there? > > and could that be an element of the slow engine loading problem? It'll probably help to clean up the engine init (and thankfully Peter B. at RunRev noted in the forums that font init is already being investigated), but both the numerous font init calls and the nohwcap calls are present in bpth 6.7and 7.0. So while it'll make things faster, it isn't unique to v7. On the other hand, we don't have the opportunity to test Dreamhost's Ubuntu 12.04 LTS upgrade with a 32-bit LiveCode engine, so we can't rule out that those calls may exacerbate something unique to Dreamhost's configuration. Either way, cleaning up init will give everyone a boost on all systems, and if RunRev can also bring up internal engine operations to the performance level of v6.7 (chunk expressions, arrays, file I/O, etc.) we may well have the fastest version of LiveCode we've ever had, with CGIs running better than ever before. -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com From mikedoub at gmail.com Sun Nov 30 11:56:43 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 30 Nov 2014 11:56:43 -0500 Subject: Request for feedback Message-ID: <547B4C4B.1000105@gmail.com> I would like the lists assistance in flushing out a enhancement request proposal that I would like to make to the development team. Because of a bug in the pageranges function where it did not take into account the spaceabove and spacebelow properties, i attempted to do this manually. I quickly learned that there is no easy way to understand where a line is actually wrapped. I was using the formatted size functions measuring each character and run and getting different answers when measuring the same text. This was attributed to kerning and letter spacing issues by the support folks. This was not a very satisfying answer. After working on this for several weeks, I have come to the conclusion that we can not accurately reproduce the algorithms of the field object with the current tools available to us. I would loved to be proven wrong here, but I threw in the towel and starting thinking about the the information that is really needed to understand what is actually being displayed within a field. I am proposing that a property or function be added to livecode field object. It would be similar to styled text, but it would provide a PERFECT representation of what is being displayed within a field. The structure returned would include all attributes needed to understand exactly how a field is laid out and how the text was flowed within the field. For the purposes of this discussion a field is made up of lines. A line is a string terminated by a return. A line is made up of softlines. A line may contain a single softline or multiple softlines. A softline is single row of text that fits in the visual area within the field. SoftLines are made up of runs as defined in styledtext. A tab character is considered a run. Ok to be clear, a softline is each segment of a line that was wrapped to fit in to the field. ;-) put the formatedStyledAttributes of fld "foo" into rArray rArray: "height": "width": "dontwrap": "borderwidth": "leftMargin": "topMargin": "rightMargin": "bottomMargin": [line_Nbr] -- a number for each string terminated by a return "borderwidth": "leftIndent": "rightIndent": "padding": "spaceAbove": "spaceBelow": [softline_number] -- this the segment of the line on a row within a field "MaxformattedHeight": -- of the softline including all runs "MaxformattedWidth": -- of the softline including all runs "leftIndent": "firstIndent": -- only applicable to the first segment of a paragraph "rightIndent": "padding": [run_number] -- this is the run within the soft line -- a tab character is considered a run "textSize": "textFont": "textStyle": "text": formattedHeight: formattedWidth: -- when text = tab, this is the length of space -- allocated to the tab [run_number + 1] [softline_number + 1] [pgh_Nbr + 1] I added the MaxFormatted Height/Width so it would be easer to calculate the scroll positions. A function that would tell you the softline number of a given chunk would also be a huge help. I look forward to hearing your comments about this proposal. I am specifically looking for suggestions on how lists should be handled. Regards, Mike From blueback09 at gmail.com Sun Nov 30 12:15:01 2014 From: blueback09 at gmail.com (Matt Maier) Date: Sun, 30 Nov 2014 09:15:01 -0800 Subject: datagrid form not scrolling Message-ID: I've got one datagrid (form) that never scrolled like it should have, and another that always did, but suddenly stopped. There's a picture of the shenanigans here http://forums.livecode.com/viewtopic.php?f=7&t=22132&p=114336#p114336 It's like the rows and content I'm filling it with are being put into a layer on top of the default drawing of an empty datagrid. So the content is there, but the border and scrollbar are attached to something else that didn't get any content. Is this a problem with the nested groups that a datagrid is made out of? From pete at lcsql.com Sun Nov 30 12:59:03 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 30 Nov 2014 09:59:03 -0800 Subject: Tracking openStack Message-ID: I'm trying to track down a strange situation where one of my stacks is being opened automatically when LC starts up. The stack is normally opened as a library stack from a plugin but the plugin is set to open when I select it from the Plugins menu, not at startup, I've verified that the plugin is not in memory, plus the stack is not listed in the message box Stacks In Use tab. I've checked the code of all front, back, and library stacks and can find no code that is opening the stack. I've checked the stack files of all open stacks and can find no reference to the stack. I thought I could figure it out if I got hold of the executionContexts when the stack opened so I put an openStack handler in the stack that is being opened with a red dot breakpoint, a breakpoint command, and code to put the executionContexts into the message box and also into a global variable. The breakpoints don't fire, the message box remains empty as does the global. Did the same with a libraryStack handler a preOpenStack handler, and a preOpenCard handler with the same results. I'm out of ideas as to how to track this down so hope someone out there can suggest something else to try. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From scott at tactilemedia.com Sun Nov 30 13:12:35 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 30 Nov 2014 10:12:35 -0800 Subject: Tracking openStack In-Reply-To: References: Message-ID: <235FDC96-9CAD-40B7-8827-399DF6064533@tactilemedia.com> You say the stack is opened as a library by a separate plugin stack. Is it possible you (inadvertently) assigned plugin settings to the library itself, independently of the plugin? From your description of the situation, that seems to be most likely. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Nov 30, 2014, at 9:59 AM, Peter Haworth wrote: > > I'm trying to track down a strange situation where one of my stacks is > being opened automatically when LC starts up. The stack is normally opened > as a library stack from a plugin but the plugin is set to open when I > select it from the Plugins menu, not at startup, I've verified that the > plugin is not in memory, plus the stack is not listed in the message box > Stacks In Use tab. From mwieder at ahsoftware.net Sun Nov 30 14:35:11 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 30 Nov 2014 11:35:11 -0800 Subject: Tracking openStack In-Reply-To: References: Message-ID: <155750514433.20141130113511@ahsoftware.net> Pete- Sunday, November 30, 2014, 9:59:03 AM, you wrote: > I thought I could figure it out if I got hold of the executionContexts when > the stack opened so I put an openStack handler in the stack that is being > opened with a red dot breakpoint, a breakpoint command, and code to put the > executionContexts into the message box and also into a global variable. > The breakpoints don't fire, the message box remains empty as does the > global. Did the same with a libraryStack handler a preOpenStack handler, > and a preOpenCard handler with the same results. I don't think breakpoints are going to help you here. Plugin stacks are counted as system stacks, and both hard and soft breakpoints are normally ignored in system stacks. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From pete at lcsql.com Sun Nov 30 14:51:51 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 30 Nov 2014 11:51:51 -0800 Subject: Tracking openStack In-Reply-To: <235FDC96-9CAD-40B7-8827-399DF6064533@tactilemedia.com> References: <235FDC96-9CAD-40B7-8827-399DF6064533@tactilemedia.com> Message-ID: Thanks for the idea Scott, hadn't thought of that. However, I checked my Plugins folder and the library stack is not in there so don't think that's the cause. If I could only get the executionContexts somehow when the stack opened, I'd know what was going on. It's almost as if lockMessages is set true when the stack is opened. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Nov 30, 2014 at 10:12 AM, Scott Rossi wrote: > You say the stack is opened as a library by a separate plugin stack. > > Is it possible you (inadvertently) assigned plugin settings to the library > itself, independently of the plugin? From your description of the > situation, that seems to be most likely. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > On Nov 30, 2014, at 9:59 AM, Peter Haworth wrote: > > > > I'm trying to track down a strange situation where one of my stacks is > > being opened automatically when LC starts up. The stack is normally > opened > > as a library stack from a plugin but the plugin is set to open when I > > select it from the Plugins menu, not at startup, I've verified that the > > plugin is not in memory, plus the stack is not listed in the message box > > Stacks In Use tab. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sun Nov 30 14:54:29 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Nov 2014 11:54:29 -0800 Subject: Tracking openStack In-Reply-To: References: Message-ID: <547B75F5.4090804@fourthworld.com> Might be a good use of Flight Recorder - it's saved my bacon in many similar circumstances: -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sun Nov 30 14:57:39 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 30 Nov 2014 11:57:39 -0800 Subject: Tracking openStack In-Reply-To: References: <235FDC96-9CAD-40B7-8827-399DF6064533@tactilemedia.com> Message-ID: <124751862330.20141130115739@ahsoftware.net> Pete- Sunday, November 30, 2014, 11:51:51 AM, you wrote: > Thanks for the idea Scott, hadn't thought of that. However, I checked my > Plugins folder and the library stack is not in there so don't think that's > the cause. > If I could only get the executionContexts somehow when the stack opened, > I'd know what was going on. It's almost as if lockMessages is set true > when the stack is opened. At the start of your openStack handler, try put true into gRevDevelopment -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Sun Nov 30 14:59:29 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 30 Nov 2014 11:59:29 -0800 Subject: Tracking openStack In-Reply-To: References: <235FDC96-9CAD-40B7-8827-399DF6064533@tactilemedia.com> Message-ID: <62751972506.20141130115929@ahsoftware.net> Pete- sorry... also, of course, add global gRevDevelopment -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dochawk at gmail.com Sun Nov 30 15:26:52 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 30 Nov 2014 12:26:52 -0800 Subject: Tracking openStack In-Reply-To: <155750514433.20141130113511@ahsoftware.net> References: <155750514433.20141130113511@ahsoftware.net> Message-ID: On Sun, Nov 30, 2014 at 11:35 AM, Mark Wieder wrote: > > I don't think breakpoints are going to help you here. Plugin stacks > are counted as system stacks, and both hard and soft breakpoints are > normally ignored in system stacks. Well, that doesn't make them any different than other stacks when the numerical day of the year, times the sum of the ascii values of the full program version, modulus 3 is all equal to 1. :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sun Nov 30 15:40:58 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 30 Nov 2014 12:40:58 -0800 Subject: Tracking openStack In-Reply-To: <62751972506.20141130115929@ahsoftware.net> References: <235FDC96-9CAD-40B7-8827-399DF6064533@tactilemedia.com> <62751972506.20141130115929@ahsoftware.net> Message-ID: Thanks Mark and Richard, I think I have found what is happening. I made a copy of my Plugins folder, deleted all the files from the original plugins folder then started moving each of my plugins back into the original Plugins folder one at a time, running LC each time. As an aside, it would be nice to have a command to refresh the plugins list so no need to keep quitting and restarting LC. As soon as I moved my plugin that opens the library stack into the plugins folder, lo and behold, the library file showed up in the Application browser even though the plugin is configured to open when I select it from the plugins menu. However, it wasn't showing in the message box "Stacks In Use" tab so my plugin is not opening it with its "start using" command. After prowling around, I think I see what's happening. My plugin has an entry in its stackFiles property which refers to the library stack. It shouldn't be there so I got got rid of it, saved the plugin, stopped and started LC and the library stack no longer turns up until I open my Plugin. I'm pretty sure that the IDE plugins mechanism opens every plugin at startup to get hold of the various plugin parameters that are stored in them and it locks messages while it is doing that. However, it seems that locking messages does not prevent it from opening any stack files that are referenced in the stackFiles property of any of the plugins and that's how my library stack was opened. I think I will enter a QCC report about this. The IDE is locking messages to make sure no openxxx/preOpenxxx messages are triggered when it opens the plugin stacks so seems like it should also prevent any stackFiles from being opened. Mostly, I'm just gad to have figured out what was going on! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Nov 30, 2014 at 11:59 AM, Mark Wieder wrote: > Pete- > > sorry... also, of course, add > global gRevDevelopment > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Sun Nov 30 15:52:50 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 30 Nov 2014 15:52:50 -0500 Subject: Request for feedback In-Reply-To: <547B4C4B.1000105@gmail.com> References: <547B4C4B.1000105@gmail.com> Message-ID: <000401d00cdf$9ad6c0b0$d0844210$@net> Mike, Thanks You! I'm a + 1 on this. We need to be able to reliably calculate field/line geometry especially on mobile. I've been wrestling getting this correct since the new field object was introduced. I have 2 related bugs on this: http://quality.runrev.com/show_bug.cgi?id=12176 and http://quality.runrev.com/show_bug.cgi?id=13551 It looks like you have all the bases covered. Let's see when RR and anybody into the sources has to offer on this. Button labels should have this property also. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Michael Doub Sent: Sunday, November 30, 2014 11:57 AM To: How To use LiveCode use LiveCode Subject: Request for feedback I would like the lists assistance in flushing out a enhancement request proposal that I would like to make to the development team. Because of a bug in the pageranges function where it did not take into account the spaceabove and spacebelow properties, i attempted to do this manually. I quickly learned that there is no easy way to understand where a line is actually wrapped. I was using the formatted size functions measuring each character and run and getting different answers when measuring the same text. This was attributed to kerning and letter spacing issues by the support folks. This was not a very satisfying answer. After working on this for several weeks, I have come to the conclusion that we can not accurately reproduce the algorithms of the field object with the current tools available to us. I would loved to be proven wrong here, but I threw in the towel and starting thinking about the the information that is really needed to understand what is actually being displayed within a field. I am proposing that a property or function be added to livecode field object. It would be similar to styled text, but it would provide a PERFECT representation of what is being displayed within a field. The structure returned would include all attributes needed to understand exactly how a field is laid out and how the text was flowed within the field. For the purposes of this discussion a field is made up of lines. A line is a string terminated by a return. A line is made up of softlines. A line may contain a single softline or multiple softlines. A softline is single row of text that fits in the visual area within the field. SoftLines are made up of runs as defined in styledtext. A tab character is considered a run. Ok to be clear, a softline is each segment of a line that was wrapped to fit in to the field. ;-) put the formatedStyledAttributes of fld "foo" into rArray rArray: "height": "width": "dontwrap": "borderwidth": "leftMargin": "topMargin": "rightMargin": "bottomMargin": [line_Nbr] -- a number for each string terminated by a return "borderwidth": "leftIndent": "rightIndent": "padding": "spaceAbove": "spaceBelow": [softline_number] -- this the segment of the line on a row within a field "MaxformattedHeight": -- of the softline including all runs "MaxformattedWidth": -- of the softline including all runs "leftIndent": "firstIndent": -- only applicable to the first segment of a paragraph "rightIndent": "padding": [run_number] -- this is the run within the soft line -- a tab character is considered a run "textSize": "textFont": "textStyle": "text": formattedHeight: formattedWidth: -- when text = tab, this is the length of space -- allocated to the tab [run_number + 1] [softline_number + 1] [pgh_Nbr + 1] I added the MaxFormatted Height/Width so it would be easer to calculate the scroll positions. A function that would tell you the softline number of a given chunk would also be a huge help. I look forward to hearing your comments about this proposal. I am specifically looking for suggestions on how lists should be handled. Regards, Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Nov 30 17:01:10 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 30 Nov 2014 17:01:10 -0500 Subject: Request for feedback In-Reply-To: <000401d00cdf$9ad6c0b0$d0844210$@net> References: <547B4C4B.1000105@gmail.com> <000401d00cdf$9ad6c0b0$d0844210$@net> Message-ID: <547B93A6.30804@gmail.com> After more testing of list formatting, we need the listdepth and listindent as part of a softline because a element of a list can wrap. Ralph, I have not used formatting within button labels, so I will have to research them. I am guessing that they do not have all of the settings as a field. Are they a proper subset of what is listed below or do we need to do the same exercise that is unique for button labels? Here is a updated view with some line shortenings so the comments wont wrap within the email. (i hope) -= Mike put the formatedStyledAttributes of fld "foo" into rArray rArray: "height": "width": "dontwrap": "borderwidth": "leftMargin": "topMargin": "rightMargin": "bottomMargin": [line_Nbr] -- a number for each string -- terminated by a return "borderwidth": "leftIndent": "rightIndent": "padding": "spaceAbove": "spaceBelow": [softline_number] -- this the segment of the -- line on a row within a field "MaxformattedHeight": -- of the softline including all runs "MaxformattedWidth": -- of the softline including all runs -- these are included to make -- calculating scroll positions easier "leftIndent": "firstIndent": -- only applicable to the first -- segment of a paragraph "rightIndent": "padding": "listIndent": -- listIndent and listdepth are needed "listdepth": -- as part of the softline because lists -- can wrap [run_number] -- this is the run within the soft line -- a tab character is considered a run "textSize": "textFont": "textStyle": "text": formattedHeight: formattedWidth: -- when text = tab, this is the length -- of space allocated to the tab [run_number + 1] [softline_number + 1] [pgh_Nbr + 1] On 11/30/14 3:52 PM, Ralph DiMola wrote: > Mike, > > Thanks You! I'm a + 1 on this. We need to be able to reliably calculate > field/line geometry especially on mobile. I've been wrestling getting this > correct since the new field object was introduced. I have 2 related bugs on > this: http://quality.runrev.com/show_bug.cgi?id=12176 and > http://quality.runrev.com/show_bug.cgi?id=13551 > > It looks like you have all the bases covered. Let's see when RR and anybody > into the sources has to offer on this. Button labels should have this > property also. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Michael Doub > Sent: Sunday, November 30, 2014 11:57 AM > To: How To use LiveCode use LiveCode > Subject: Request for feedback > > I would like the lists assistance in flushing out a enhancement request > proposal that I would like to make to the development team. Because of a bug > in the pageranges function where it did not take into account the spaceabove > and spacebelow properties, i attempted to do this manually. > I quickly learned that there is no easy way to understand where a line is > actually wrapped. I was using the formatted size functions measuring each > character and run and getting different answers when measuring the same > text. This was attributed to kerning and letter spacing issues by the > support folks. This was not a very satisfying answer. > > After working on this for several weeks, I have come to the conclusion that > we can not accurately reproduce the algorithms of the field object with the > current tools available to us. I would loved to be proven wrong here, but I > threw in the towel and starting thinking about the the information that is > really needed to understand what is actually being displayed within a field. > > I am proposing that a property or function be added to livecode field > object. It would be similar to styled text, but it would provide a PERFECT > representation of what is being displayed within a field. The structure > returned would include all attributes needed to understand exactly how a > field is laid out and how the text was flowed within the field. > > For the purposes of this discussion a field is made up of lines. > A line is a string terminated by a return. A line is made up of softlines. > A line may contain a single softline or multiple softlines. > A softline is single row of text that fits in the visual area within the > field. SoftLines are made up of runs as defined in styledtext. A tab > character is considered a run. > > Ok to be clear, a softline is each segment of a line that was wrapped to fit > in to the field. ;-) > > > put the formatedStyledAttributes of fld "foo" into rArray > > rArray: > "height": > "width": > "dontwrap": > "borderwidth": > "leftMargin": > "topMargin": > "rightMargin": > "bottomMargin": > [line_Nbr] -- a number for each string terminated by a return > "borderwidth": > "leftIndent": > "rightIndent": > "padding": > "spaceAbove": > "spaceBelow": > [softline_number] -- this the segment of the line on a row > within a field > "MaxformattedHeight": -- of the softline including all runs > "MaxformattedWidth": -- of the softline including all runs > "leftIndent": > "firstIndent": -- only applicable to the first segment of > a paragraph > "rightIndent": > "padding": > [run_number] -- this is the run within the soft line > -- a tab character is considered > a run > "textSize": > "textFont": > "textStyle": > "text": > formattedHeight: > formattedWidth: -- when text = tab, this is the length > of space > -- allocated to the tab > [run_number + 1] > [softline_number + 1] > [pgh_Nbr + 1] > > > I added the MaxFormatted Height/Width so it would be easer to calculate > the scroll positions. A function that would tell you the softline > number of a given chunk would also be a huge help. > > I look forward to hearing your comments about this proposal. I am > specifically looking for suggestions on how lists should be handled. > > Regards, > Mike > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Nov 30 18:46:53 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 30 Nov 2014 15:46:53 -0800 Subject: Tracking openStack In-Reply-To: References: <155750514433.20141130113511@ahsoftware.net> Message-ID: <190765615981.20141130154653@ahsoftware.net> > Well, that doesn't make them any different than other stacks when the > numerical day of the year, times the sum of the ascii values of the full > program version, modulus 3 is all equal to 1. LOL. Don't forget to carry the bum. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From bonnmike at gmail.com Sun Nov 30 19:02:38 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 30 Nov 2014 17:02:38 -0700 Subject: Tracking openStack In-Reply-To: <190765615981.20141130154653@ahsoftware.net> References: <155750514433.20141130113511@ahsoftware.net> <190765615981.20141130154653@ahsoftware.net> Message-ID: If you add a plugin and want to get it going without restarting LC is pretty simple. I'm doing it from the message box.. go invisible stack "revplugineditor" wait 1 tick with messages close stack "revplugineditor" after which, any new plugins added to your folder should appear in the plugins list. I'm sure with some digging it'd be possible to figure out what to "dispatch" to the stack, but this is quick and easy, and works. (at least on lc 7, didn't test elsewhere) On Sun, Nov 30, 2014 at 4:46 PM, Mark Wieder wrote: > > Well, that doesn't make them any different than other stacks when the > > numerical day of the year, times the sum of the ascii values of the full > > program version, modulus 3 is all equal to 1. > > LOL. > Don't forget to carry the bum. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sun Nov 30 19:07:38 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 30 Nov 2014 17:07:38 -0700 Subject: Tracking openStack In-Reply-To: References: <155750514433.20141130113511@ahsoftware.net> <190765615981.20141130154653@ahsoftware.net> Message-ID: Ah. Dug through the code of the revplugins stack (not much digging needed) and found this.. *on preOpenCard* * -- refresh the list of plugins* * send "revUpdatePlugins" to cd 1 of stack "revMenuBar"* * lock messages* * set the changedStacksList of this stack to empty* * send ("menuPick" && quote & line 1 of button "List" & quote) to button "List"* *end preOpenCard* So, I think i'd dispatch preopencard to cd 1 of stack "revPluginEditor" You could probably talk directly to revMenuBar, but if you go through the plugin editor, theres no need to worry about any of the house keeping that needs to be done. It's just handled. On Sun, Nov 30, 2014 at 5:02 PM, Mike Bonner wrote: > If you add a plugin and want to get it going without restarting LC is > pretty simple. I'm doing it from the message box.. > > go invisible stack "revplugineditor" > wait 1 tick with messages > close stack "revplugineditor" > > after which, any new plugins added to your folder should appear in the > plugins list. I'm sure with some digging it'd be possible to figure out > what to "dispatch" to the stack, but this is quick and easy, and works. (at > least on lc 7, didn't test elsewhere) > > On Sun, Nov 30, 2014 at 4:46 PM, Mark Wieder > wrote: > >> > Well, that doesn't make them any different than other stacks when the >> > numerical day of the year, times the sum of the ascii values of the full >> > program version, modulus 3 is all equal to 1. >> >> LOL. >> Don't forget to carry the bum. >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com >> >> This communication may be unlawfully collected and stored by the National >> Security Agency (NSA) in secret. The parties to this email do not >> consent to the retrieving or storing of this communication and any >> related metadata, as well as printing, copying, re-transmitting, >> disseminating, or otherwise using it. If you believe you have received >> this communication in error, please delete it immediately. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From ambassador at fourthworld.com Sun Nov 30 20:13:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Nov 2014 17:13:27 -0800 Subject: Tracking openStack In-Reply-To: References: Message-ID: <547BC0B7.1050705@fourthworld.com> Merely having a stack available in memory does not necessarily mean it's been opened in terms of receiving any messages it might respond to, or that it's in the message path at all. Perhaps I misunderstood something, but I thought the issue was a script that was in play unexpectedly, rather than just a stack unexpectedly listed among the rest in the App Browser, no? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From eric at canelasoftware.com Sun Nov 30 21:05:34 2014 From: eric at canelasoftware.com (Eric Corbett) Date: Sun, 30 Nov 2014 18:05:34 -0800 Subject: Request for feedback In-Reply-To: <000401d00cdf$9ad6c0b0$d0844210$@net> References: <547B4C4B.1000105@gmail.com> <000401d00cdf$9ad6c0b0$d0844210$@net> Message-ID: <67871C2B-E758-4701-9F1B-15529E8BD8F2@canelasoftware.com> I too would like to see some added field capabilities. What I want is a textSize of 17, a fixedLineHeight at 52, horizontal lines, and the text centered between the top and bottom lines. Is there a way to do this that I am not finding through extensive research? I don't want a custom control, I want one field. I'm sure I missed something simple, right? Do the properties you list account for adding this behavior? Additionally, I would like to specify that the horizontal lines start at item 1 of the margins; or I want to specific a beginning and end point. Am I dreaming? - eric On Nov 30, 2014, at 12:52 PM, Ralph DiMola wrote: > Mike, > > Thanks You! I'm a + 1 on this. We need to be able to reliably calculate > field/line geometry especially on mobile. I've been wrestling getting this > correct since the new field object was introduced. I have 2 related bugs on > this: http://quality.runrev.com/show_bug.cgi?id=12176 and > http://quality.runrev.com/show_bug.cgi?id=13551 > > It looks like you have all the bases covered. Let's see when RR and anybody > into the sources has to offer on this. Button labels should have this > property also. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Michael Doub > Sent: Sunday, November 30, 2014 11:57 AM > To: How To use LiveCode use LiveCode > Subject: Request for feedback > > I would like the lists assistance in flushing out a enhancement request > proposal that I would like to make to the development team. Because of a bug > in the pageranges function where it did not take into account the spaceabove > and spacebelow properties, i attempted to do this manually. > I quickly learned that there is no easy way to understand where a line is > actually wrapped. I was using the formatted size functions measuring each > character and run and getting different answers when measuring the same > text. This was attributed to kerning and letter spacing issues by the > support folks. This was not a very satisfying answer. > > After working on this for several weeks, I have come to the conclusion that > we can not accurately reproduce the algorithms of the field object with the > current tools available to us. I would loved to be proven wrong here, but I > threw in the towel and starting thinking about the the information that is > really needed to understand what is actually being displayed within a field. > > I am proposing that a property or function be added to livecode field > object. It would be similar to styled text, but it would provide a PERFECT > representation of what is being displayed within a field. The structure > returned would include all attributes needed to understand exactly how a > field is laid out and how the text was flowed within the field. > > For the purposes of this discussion a field is made up of lines. > A line is a string terminated by a return. A line is made up of softlines. > A line may contain a single softline or multiple softlines. > A softline is single row of text that fits in the visual area within the > field. SoftLines are made up of runs as defined in styledtext. A tab > character is considered a run. > > Ok to be clear, a softline is each segment of a line that was wrapped to fit > in to the field. ;-) > > > put the formatedStyledAttributes of fld "foo" into rArray > > rArray: > "height": > "width": > "dontwrap": > "borderwidth": > "leftMargin": > "topMargin": > "rightMargin": > "bottomMargin": > [line_Nbr] -- a number for each string terminated by a return > "borderwidth": > "leftIndent": > "rightIndent": > "padding": > "spaceAbove": > "spaceBelow": > [softline_number] -- this the segment of the line on a row > within a field > "MaxformattedHeight": -- of the softline including all runs > "MaxformattedWidth": -- of the softline including all runs > "leftIndent": > "firstIndent": -- only applicable to the first segment of > a paragraph > "rightIndent": > "padding": > [run_number] -- this is the run within the soft line > -- a tab character is considered > a run > "textSize": > "textFont": > "textStyle": > "text": > formattedHeight: > formattedWidth: -- when text = tab, this is the length > of space > -- allocated to the tab > [run_number + 1] > [softline_number + 1] > [pgh_Nbr + 1] > > > I added the MaxFormatted Height/Width so it would be easer to calculate > the scroll positions. A function that would tell you the softline > number of a given chunk would also be a huge help. > > I look forward to hearing your comments about this proposal. I am > specifically looking for suggestions on how lists should be handled. > > Regards, > Mike > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Nov 30 21:39:43 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 30 Nov 2014 18:39:43 -0800 Subject: Tracking openStack In-Reply-To: <547BC0B7.1050705@fourthworld.com> References: <547BC0B7.1050705@fourthworld.com> Message-ID: Hi Richard, The issue was that the stack was showing up in the Application Browser and I couldn't figure out why since I couldn't find any code anywhere that opened it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Nov 30, 2014 at 5:13 PM, Richard Gaskin wrote: > Merely having a stack available in memory does not necessarily mean it's > been opened in terms of receiving any messages it might respond to, or that > it's in the message path at all. > > Perhaps I misunderstood something, but I thought the issue was a script > that was in play unexpectedly, rather than just a stack unexpectedly listed > among the rest in the App Browser, no? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Sun Nov 30 21:55:11 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 1 Dec 2014 02:55:11 +0000 Subject: Request for feedback In-Reply-To: <67871C2B-E758-4701-9F1B-15529E8BD8F2@canelasoftware.com> References: <547B4C4B.1000105@gmail.com> <000401d00cdf$9ad6c0b0$d0844210$@net> <67871C2B-E758-4701-9F1B-15529E8BD8F2@canelasoftware.com> Message-ID: Hi Eric - I think you can probably get what you want as far as the first part of your request goes by fiddling with the textShift property. Set your textsize first, then your textHeight and then set the textShift to something like -20 (+ or - a bit) ? i.e. (set the textShift of char 1 to -1 of fld x to y ? and you should be almost there. Terry... On 1/12/2014 1:05 pm, "Eric Corbett" wrote: >I too would like to see some added field capabilities. What I want is a >textSize of 17, a fixedLineHeight at 52, horizontal lines, and the text >centered between the top and bottom lines. > >Is there a way to do this that I am not finding through extensive >research? I don't want a custom control, I want one field. I'm sure I >missed something simple, right? > >Do the properties you list account for adding this behavior? > >Additionally, I would like to specify that the horizontal lines start at >item 1 of the margins; or I want to specific a beginning and end point. > >Am I dreaming? > >- eric > > >On Nov 30, 2014, at 12:52 PM, Ralph DiMola wrote: > >> Mike, >> >> Thanks You! I'm a + 1 on this. We need to be able to reliably calculate >> field/line geometry especially on mobile. I've been wrestling getting >>this >> correct since the new field object was introduced. I have 2 related >>bugs on >> this: http://quality.runrev.com/show_bug.cgi?id=12176 and >> http://quality.runrev.com/show_bug.cgi?id=13551 >> >> It looks like you have all the bases covered. Let's see when RR and >>anybody >> into the sources has to offer on this. Button labels should have this >> property also. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>Behalf >> Of Michael Doub >> Sent: Sunday, November 30, 2014 11:57 AM >> To: How To use LiveCode use LiveCode >> Subject: Request for feedback >> >> I would like the lists assistance in flushing out a enhancement request >> proposal that I would like to make to the development team. Because of >>a bug >> in the pageranges function where it did not take into account the >>spaceabove >> and spacebelow properties, i attempted to do this manually. >> I quickly learned that there is no easy way to understand where a line >>is >> actually wrapped. I was using the formatted size functions measuring >>each >> character and run and getting different answers when measuring the same >> text. This was attributed to kerning and letter spacing issues by the >> support folks. This was not a very satisfying answer. >> >> After working on this for several weeks, I have come to the conclusion >>that >> we can not accurately reproduce the algorithms of the field object with >>the >> current tools available to us. I would loved to be proven wrong here, >>but I >> threw in the towel and starting thinking about the the information that >>is >> really needed to understand what is actually being displayed within a >>field. >> >> I am proposing that a property or function be added to livecode field >> object. It would be similar to styled text, but it would provide a >>PERFECT >> representation of what is being displayed within a field. The structure >> returned would include all attributes needed to understand exactly how a >> field is laid out and how the text was flowed within the field. >> >> For the purposes of this discussion a field is made up of lines. >> A line is a string terminated by a return. A line is made up of >>softlines. >> A line may contain a single softline or multiple softlines. >> A softline is single row of text that fits in the visual area within >>the >> field. SoftLines are made up of runs as defined in styledtext. A tab >> character is considered a run. >> >> Ok to be clear, a softline is each segment of a line that was wrapped >>to fit >> in to the field. ;-) >> >> >> put the formatedStyledAttributes of fld "foo" into rArray >> >> rArray: >> "height": >> "width": >> "dontwrap": >> "borderwidth": >> "leftMargin": >> "topMargin": >> "rightMargin": >> "bottomMargin": >> [line_Nbr] -- a number for each string terminated by a return >> "borderwidth": >> "leftIndent": >> "rightIndent": >> "padding": >> "spaceAbove": >> "spaceBelow": >> [softline_number] -- this the segment of the line on a row >> within a field >> "MaxformattedHeight": -- of the softline including all runs >> "MaxformattedWidth": -- of the softline including all runs >> "leftIndent": >> "firstIndent": -- only applicable to the first segment of >> a paragraph >> "rightIndent": >> "padding": >> [run_number] -- this is the run within the soft line >> -- a tab character is considered >> a run >> "textSize": >> "textFont": >> "textStyle": >> "text": >> formattedHeight: >> formattedWidth: -- when text = tab, this is the length >> of space >> -- allocated to the tab >> [run_number + 1] >> [softline_number + 1] >> [pgh_Nbr + 1] >> >> >> I added the MaxFormatted Height/Width so it would be easer to calculate >> the scroll positions. A function that would tell you the softline >> number of a given chunk would also be a huge help. >> >> I look forward to hearing your comments about this proposal. I am >> specifically looking for suggestions on how lists should be handled. >> >> Regards, >> Mike >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode