Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread J. Landman Gay via use-livecode
On 9/6/18 9:02 PM, Mark Wieder via use-livecode wrote: On 09/06/2018 06:08 PM, James At The Hale via use-livecode wrote: Mark asked: There's a new extension store on the way? Well it is here already. Only it currently only offers widgets. The plan, as presented in one of the LC Globals a

Re: Script Editor Magic Keys

2018-09-06 Thread J. Landman Gay via use-livecode
On 9/6/18 9:41 PM, Sannyasin Brahmanathaswami via use-livecode wrote: Is the some documentation the Script Editor, auto complete et. al.? It's in the User Guide, page 498. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread J. Landman Gay via use-livecode
On 9/6/18 10:56 PM, J. Landman Gay via use-livecode wrote: On 9/6/18 9:02 PM, Mark Wieder via use-livecode wrote: On 09/06/2018 06:08 PM, James At The Hale via use-livecode wrote: Mark asked: There's a new extension store on the way? Well it is here already. Only it currently only offers

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > On 9/6/18 9:02 PM, Mark Wieder via use-livecode wrote: >> On 09/06/2018 06:08 PM, James At The Hale via use-livecode wrote: >>> Mark asked: There's a new extension store on the way? >>> >>> Well it is here already. Only it currently only offers widgets. ... >> Did I

This is disturbing!

2018-09-06 Thread Bob Sneidar via use-livecode
Did anyone know that "6. " is equal to "6."??? THAT is disturbing! So now we have to check the length of a string as well to make sure there is an exact match??? Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Slow LC 9 Performance

2018-09-06 Thread Neville Smythe via use-livecode
Curry: Your last benchmark mentioned that this was a test for Windows 10. I may have missed this qualifier in the previous discussion: do I take it that the slowdown in performance noted are all Windows 10 tests? Has performance on Mac and Linux also degraded by similar amounts? I ask because

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread James At The Hale via use-livecode
Mark asked: > There's a new extension store on the way? Well it is here already. Only it currently only offers widgets. The plan, as presented in one of the LC Globals a while back, is for this to be a one stop shop for all. The current livecodeshare will be migrated across and the ability to

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread Mark Wieder via use-livecode
On 09/06/2018 06:08 PM, James At The Hale via use-livecode wrote: Mark asked: There's a new extension store on the way? Well it is here already. Only it currently only offers widgets. The plan, as presented in one of the LC Globals a while back, is for this to be a one stop shop for all.

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread Richard Gaskin via use-livecode
James At The Hale wrote: > The plan, as presented in one of the LC Globals a while back, is for > this to be a one stop shop for all. > The current livecodeshare will be migrated across and the ability to > upload snippets etc will be added. When? -- Richard Gaskin Fourth World Systems

Re: This is disturbing!

2018-09-06 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Yes, but it's the kind of thing that can bite a new programmer in the > butt. HyperTalk had a reputation for being difficult to learn. ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: The Visible Hilited Line of a Datagrid

2018-09-06 Thread Paul Dupuis via use-livecode
I don't have the dictionary handy, so check it for this, but I thought the: dgHilitedIndex is the record number in the array and dgHilitedLine was the visible line number? Look up dgHilitedLine vs dgHilitedIndex On 9/6/2018 7:38 PM, Bob Sneidar via use-livecode wrote: > It must be late in the

Re: This is disturbing!

2018-09-06 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: I like the is vs = idea. Me too, but I'm afraid decades of code across the entire xTalk world form a substantial enough legacy to render the change prohibitive. Any suggestions for a new operator token to specify numeric equivalence? -- Richard Gaskin Fourth World

Script Editor Magic Keys

2018-09-06 Thread Sannyasin Brahmanathaswami via use-livecode
Is the some documentation the Script Editor, auto complete et. al.? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread James At The Hale via use-livecode
Richard wrote of a repository but isn’t this what the new extension store is supposed to provide? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-06 Thread hh via use-livecode
How did you do the JavaScript (in browser?) and how did you do the timing? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Sample Stacks

2018-09-06 Thread Richard Gaskin via use-livecode
hh wrote: > Jacques LG wrote: >> We can upload zip files to Sample Stacks? ... > > No. Unfortunate. Hopefully that will be changed soon. Zip is a common foundation for many compound document types. > But you can, of course, use a stack container for zips. I used to do that, but ever since

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread Richard Gaskin via use-livecode
James At The Hale wrote: > Richard wrote of a repository but isn’t this what the new extension > store is supposed to provide? I haven't seen an announcement of a new extension store, but if it includes widgets, libraries, externals, scripts, and stack files and is searchable by type, license,

Sample Stacks

2018-09-06 Thread hh via use-livecode
Was "ANN: LC Documentation Cache Cleaner" Jacques LG wrote: > We can upload zip files to Sample Stacks? ... No. But you can, of course, use a stack container for zips. I once uploaded a simple version: http://livecodeshare.runrev.com/stack/805/ZipContainer "Sample Stacks" had an update before

Re: Timezone library - how to use in Livecode Server?

2018-09-06 Thread Mark Waddingham via use-livecode
Hi Matthias, On 2018-09-05 10:34, Matthias Rebbe via use-livecode wrote: file "/home/xxx/public_html/xx/tz.lc" row 4, col 5: extension: error occurred with domain (runtime) row 4, col 5: extension: error occurred with description (unable to load foreign library) row 4, col 5:

Re: Timezone library - how to use in Livecode Server?

2018-09-06 Thread Matthias Rebbe via use-livecode
Thank you very much Mark. With that addition it works now. The timezone library is a great enhancement for Livecode Server. No need to call external php code to do timezone conversions. And thanks for the ps. I can´t wait for 9.1 to test. :) Regards Matthias > Am 06.09.2018 um 11:57

Re: 3WDevolution question

2018-09-06 Thread Richard Gaskin via use-livecode
William Prothero wrote: > Richard: > Here’s what I found on the palette thing. I’m no longer worried about > the backdrop because it was just me not seeing that there was a LC > toolbar menu item that would turn it off. In fact, I may have been > blaming Devo incorrectly, when it was LC’s

Re: Timezone library - how to use in Livecode Server?

2018-09-06 Thread Trevor DeVore via use-livecode
On Thu, Sep 6, 2018 at 5:55 AM Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > > And thanks for the ps. I can´t wait for 9.1 to test. :) > No need to wait. I downloaded the LCB file and built it in the extension builder using 9.0. I just had to comment out the “resolve

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-06 Thread Curry Kenworthy via use-livecode
hh: > How did you do the JavaScript (in browser?) I wrote the JS code by hand, scripted the stack to copy it to clipboard after each test, and ran it on js.do > and how did you do the timing? It's in the test code; download and all will be revealed! ;) Later I will add the empty loop

Re: Timezone library - how to use in Livecode Server?

2018-09-06 Thread Matthias Rebbe via use-livecode
Trevor, thanks for letting me know. I am not very used with GitHub. Still learning how to organize my stuff. So where do i find the .lcb file? Regards, Matthias > Am 06.09.2018 um 13:18 schrieb Trevor DeVore via use-livecode > mailto:use-livecode@lists.runrev.com>>: > > On Thu, Sep 6, 2018

Re: Timezone library - how to use in Livecode Server?

2018-09-06 Thread Matthias Rebbe via use-livecode
Mark, when using an other LCB library , where do i see what i have to enter in set the revLibraryMapping[“?? ”] ……. I cannot find any information about revLibraryMapping in the dictionary. Regards, Matthias > Am 06.09.2018 um 12:54 schrieb Matthias Rebbe via use-livecode > : > >

Re: Another Tree View Oddity

2018-09-06 Thread Bob Sneidar via use-livecode
Thanks Brian. I would have done it, but it seemed small potatoes to me. And I never know if there is a good reason it works the way it does. Bob S > On Sep 5, 2018, at 21:06 , Brian Milby via use-livecode > wrote: > > Bug report and PR submitted. > >

Re: Timezone library - how to use in Livecode Server?

2018-09-06 Thread panagiotis merakos via use-livecode
Hello Matthias, In the PR Mark posted, click on the tab "Files Changed". Then scroll down until you see the diffs for the macstatusmenu.lcb file. Click on the "View" button for this file. Then click on "Raw". This should take you to this page:

Re: This is disturbing!

2018-09-06 Thread Mike Kerner via use-livecode
so the description seems to imply that the comparison should be as strings if double-quotes are included around the literals. On Thu, Sep 6, 2018 at 12:14 PM Mike Kerner wrote: > Dictionary: > First, if you look in the operands, it says > *The operands value1 and value2 can be numbers, literal

Re: This is disturbing!

2018-09-06 Thread Mark Wieder via use-livecode
On 09/06/2018 09:06 AM, Mark Waddingham via use-livecode wrote: P.S. The engine has *always* worked like this - as have xTalks in general. It's why you never have to put any explicit type conversion anywhere when you are interchanging anything and things still work as expected. Yeah. IMO

Re: This is disturbing!

2018-09-06 Thread Mark Waddingham via use-livecode
On 2018-09-06 18:52, Mike Kerner via use-livecode wrote: Right. If the explanation is clear then it's not an issue (even if it is a little weird - "6.abc"="6.xyz" is false but "6." is "6." is true) Well the explanation can be fixed :) Its hard to say whether the language would be better or

Re: This is disturbing!

2018-09-06 Thread Mike Kerner via use-livecode
dictionary says when comparing strings we go char by char, and says that quotes around the literal causes it to be evaluated as a string. On Thu, Sep 6, 2018 at 11:57 AM Mike Kerner wrote: > If I put anything else in place of the dot, I get a fail, but with the > dot, i get true > > On Thu, Sep

Re: This is disturbing!

2018-09-06 Thread Mark Waddingham via use-livecode
On 2018-09-06 18:02, Mike Kerner via use-livecode wrote: dictionary says when comparing strings we go char by char, and says that quotes around the literal causes it to be evaluated as a string. Where in the dictionary? That should be revised. Quotes make no difference - numbers and strings

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread Mark Wieder via use-livecode
On 09/06/2018 03:12 AM, Richard Gaskin via use-livecode wrote: James At The Hale wrote: > Richard wrote of a repository but isn’t this what the new extension > store is supposed to provide? I haven't seen an announcement of a new extension store, but if it includes widgets, libraries,

Re: Another Tree View Oddity

2018-09-06 Thread Bob Sneidar via use-livecode
actionDoubleClick message is not getting sent or else trapped by the widget either. Is that a read/write function only? I have a tree view set to read only. Bob S > On Sep 6, 2018, at 09:04 , Brian Milby via use-livecode > wrote: > > I’ve done so much in that widget that it was easy to

Re: 3WDevolution question

2018-09-06 Thread William Prothero via use-livecode
Richard, Thanks for looking into this. My problem came when the Devo palette wouldn’t move to the left, even if the IDE tools palette was closed. But, it’s easy to fix by just moving the IDE Tools palette to the right until it lets me move the Devo palette to the left, then it no longer snaps

Re: This is disturbing!

2018-09-06 Thread Mike Kerner via use-livecode
If I put anything else in place of the dot, I get a fail, but with the dot, i get true On Thu, Sep 6, 2018 at 11:55 AM Tore Nilsen via use-livecode < use-livecode@lists.runrev.com> wrote: > It seems to only compare the integer part of the statements. If you > substitute the integer with a

Re: Another Tree View Oddity

2018-09-06 Thread Brian Milby via use-livecode
I’ve done so much in that widget that it was easy to tackle. From an English like syntax, I think it just makes sense to use the “empty” method of removing the selection. Thanks, Brian On Sep 6, 2018, 9:43 AM -0500, Bob Sneidar via use-livecode , wrote: > Thanks Brian. I would have done it,

Re: This is disturbing!

2018-09-06 Thread Mike Kerner via use-livecode
Dictionary: First, if you look in the operands, it says *The operands value1 and value2 can be numbers, literal strings of characters (delimited with double quotes), or any sources of value, including arrays.* The example for comparing two strings is "ABC" = "abc" -- true if and only if

Re: This is disturbing!

2018-09-06 Thread Mark Waddingham via use-livecode
On 2018-09-06 18:21, Mark Wieder via use-livecode wrote: Yeah. IMO automatic type conversion is one of the failure points of the xtalk paradigm, but it's always been thus. To be fair, in the days of HyperCard when everything was strings (and numbers were decimal strings) the rules worked

Re: This is disturbing!

2018-09-06 Thread Tore Nilsen via use-livecode
I think this is because the dot is also the decimal sign. Therefore it interprets the strings as numerical values. And = and is are synonyms. I guess if you write something like put «6» + «6» you will get 12 as the result. Best regards Tore Nilsen --- This mail contains no viruses or

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-06 Thread hh via use-livecode
Curry, sorry I overlooked the post with your download link > http://curryk.com/showdown.zip This is a *fine* comparison stack. You could think about adding for LC 8/9 a browser widget and in handler "work done", instead of copying to the clipboard, set htmltext of widget "browser" to the cJS

Re: This is disturbing!

2018-09-06 Thread Mike Kerner via use-livecode
wow. that's not cool. I just tried "is" and yep. is. On Thu, Sep 6, 2018 at 11:47 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Did anyone know that "6. " is equal to "6."??? > > THAT is disturbing! So now we have to check the length of a string as well > to make

Re: This is disturbing!

2018-09-06 Thread Tore Nilsen via use-livecode
It seems to only compare the integer part of the statements. If you substitute the integer with a letter, then it reports false. But still strange as the quotation marks should indicates that this is a string. Best regards Tore Nilsen --- This mail contains no viruses or bacteria as it is

Re: This is disturbing!

2018-09-06 Thread Tore Nilsen via use-livecode
It seems as long as all characters in the string can be numerical values, they are treated as such. Space is treated as whitespace or empty. My guess for «6» + «6» to return 12 was right. Tore Nilsen --- This mail contains no viruses or bacteria as it is electronically produced and

Re: This is disturbing!

2018-09-06 Thread Mark Waddingham via use-livecode
On 2018-09-06 18:14, Mike Kerner via use-livecode wrote: Dictionary: First, if you look in the operands, it says *The operands value1 and value2 can be numbers, literal strings of characters (delimited with double quotes), or any sources of value, including arrays.* The example for comparing two

Re: This is disturbing!

2018-09-06 Thread Mike Kerner via use-livecode
Right. If the explanation is clear then it's not an issue (even if it is a little weird - "6.abc"="6.xyz" is false but "6." is "6." is true) On Thu, Sep 6, 2018 at 12:43 PM Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2018-09-06 18:21, Mark Wieder via

Re: This is disturbing!

2018-09-06 Thread Paul Dupuis via use-livecode
On 9/6/2018 11:46 AM, Bob Sneidar via use-livecode wrote: > Did anyone know that "6. " is equal to "6."??? > > THAT is disturbing! So now we have to check the length of a string as well to > make sure there is an exact match??? > This is the price of having a "type-less" programming language.

Re: This is disturbing!

2018-09-06 Thread Bob Sneidar via use-livecode
By way of rehtoric, and by no means a suggestion of any change in the engine, it might have been better if "is" did a strict string comparison, while "=" or "is equal to" attempted a numerical type conversion, and reverted to a string comparison if either arguement failed. What *might* be

Re: This is disturbing!

2018-09-06 Thread Mike Kerner via use-livecode
Ignoring the leading or trailing whitespace is weird and counterintuitive. If the language was more perfect, I think it would first not ignore the other characters in the string no matter what they look like, then do the implicit type coercion and then the comparison, even though there are

Re: Another Tree View Oddity

2018-09-06 Thread Bob Sneidar via use-livecode
If it is supposed to, I can file the bug report. Not asking anyone to do my work for me. I just need to know if it is supposed to and isn't, and I'll file it. Bob S > On Sep 6, 2018, at 10:33 , Bob Sneidar via use-livecode > wrote: > > actionDoubleClick message is not getting sent or else

Re: This is disturbing!

2018-09-06 Thread Richmond Mathewson via use-livecode
I wonder is the reason "6" and "6." are treated as the same is because "6." is read as "6.0"? Late to the party, I know . . . Richmond. On 6/9/2018 10:34 pm, Jim Lambert via use-livecode wrote: Did anyone know that "6. " is equal to "6."??? It’s somewhat similar to value(“h “) is

Re: This is disturbing!

2018-09-06 Thread Richmond Mathewson via use-livecode
"bite a new programmer in the butt" . . . well, as a person who was a new programmer in 1975 and found things very difficult to understand at first (FORTRAN IV) I certainly don't remember having a sore bottom! I do know, that is numerical calculations empty spaces are exactly that: empty

Re: Another Tree View Oddity

2018-09-06 Thread Brian Milby via use-livecode
It is working here. You only get the message for leaf nodes. In widget script I have: on actionDoubleClick pPath put pPath end actionDoubleClick Thanks, Brian On Sep 6, 2018, 12:35 PM -0500, Bob Sneidar via use-livecode , wrote: > If it is supposed to, I can file the bug report. Not asking

Re: This is disturbing!

2018-09-06 Thread Jim Lambert via use-livecode
> Did anyone know that "6. " is equal to "6."??? It’s somewhat similar to value(“h “) is equal to value(“h”), while “h “ is not equal to “h”. I’m not disturbed but appreciative that the engine tries to convert both sides to numbers when doing a comparison. Just must remember

Re: This is disturbing!

2018-09-06 Thread Tom Glod via use-livecode
I have come across this before . I think what I encountered was "" = 0 I had to do a workaround, figured it was a a decision based on other engine factors. I can see it being ok in 99% of cases. On Thu, Sep 6, 2018 at 1:25 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com>

Re: This is disturbing!

2018-09-06 Thread Mike Kerner via use-livecode
I like the is vs = idea. I disagree with Paul that this is a price of it being typeless. No other whitespace character in LC seems to cause this behavior. It's not really true that it's typeless e.g. a blob (even though technically a blob is a type). It's just that the typing is implied and

Re: This is disturbing!

2018-09-06 Thread Bob Sneidar via use-livecode
Yes, but it's the kind of thing that can bite a new programmer in the butt. And the trouble with your comparison is that length("7. ") IS equal to length("6. "). So multiple comparisons have to be made. But this is an edge case I admit. I was only trying to maintain an index number for a

Re: Another Tree View Oddity

2018-09-06 Thread Bob Sneidar via use-livecode
Oh I get it! Crap. I am creating a little pallette I am callign QuickNotes, and the idea is that double clicking on an entry will add the thing you double clicked on after the current selection in the topstack. I was hoping I could just doubleclick a node to do this, but I can see I cannot. I

Re: Timezone library - how to use in Livecode Server?

2018-09-06 Thread Monte Goulding via use-livecode
> On 7 Sep 2018, at 12:34 am, Matthias Rebbe via use-livecode > wrote: > > when using an other LCB library , where do i see what i have to enter in > > set the revLibraryMapping[“?? ”] ……. > > I cannot find any information about revLibraryMapping in the dictionary. It is not documented

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-06 Thread Mark Wieder via use-livecode
On 09/06/2018 03:15 PM, Curry Kenworthy via use-livecode wrote: Hello Everyone, Updated stack and more complete results - let me know if you get something very different on your machine. I've added two additional LC benchmark test variations to the "showdown" test stack. That gives it

Re: 3WDevolution question

2018-09-06 Thread Mark Wieder via use-livecode
On 09/06/2018 01:15 AM, Richard Gaskin via use-livecode wrote: I see what's happening there.  It appears the IDE team is attempting to use a floating palette in a highly unusual way: rather than floating on top of a document, it's assumed to be placed at the left and when it is the

Re: Timezone library - how to use in Livecode Server?

2018-09-06 Thread Monte Goulding via use-livecode
> On 6 Sep 2018, at 9:18 pm, Trevor DeVore via use-livecode > wrote: > > I just had to comment out the “resolve file” line which > that caused an error because it is new syntax. It’s just important to remember if using the library with this commented out that it will only find images where

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-06 Thread Curry Kenworthy via use-livecode
Hello Everyone, Updated stack and more complete results - let me know if you get something very different on your machine. I've added two additional LC benchmark test variations to the "showdown" test stack. That gives it empty loop (with i) and math-intensive options in the "root loops"

The Visible Hilited Line of a Datagrid

2018-09-06 Thread Bob Sneidar via use-livecode
It must be late in the day, but I am having a hard time getting the VISIBLE hilited line of a table datagrid. I can do the math based on the scroll and all that, but what I want is for example, in a scrolled datagrid, the user clicks on the first visible line. I want to return 1, or if the

Re: Slow LC 9 Performance

2018-09-06 Thread Neville Smythe via use-livecode
ops, I should have waited for the next use-livecode email for the answer to my question! Thanks Curry Neville Smythe ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: This is disturbing!

2018-09-06 Thread Jim Lambert via use-livecode
> RichardG wrote: > Any suggestions for a new operator token to specify numeric equivalence? Or maybe to specify string equivalence. > Did anyone know that "6. " is equal to "6."??? string( "6. “) is not equal to string( "6.”) where the function string() would tell LC not to try to

mergButton - transparent image possible?

2018-09-06 Thread Alan via use-livecode
Is it possible to set the transparency of a background (or foreground) image for a mergButton button? Alternatively, are transparency settings used if using a PNG (if that's possible)? I see that we can set the transparency of the background, border and other colours. Monte or anyone else

Re: ANN: LC Documentation Cache Cleaner

2018-09-06 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > We can upload zip files to Sample Stacks? If that's the case then > I think the existing repository could work for now. Libraries, > script-only stacks, externals, LCB files could all be accommodated. > If something else is developed later, the files could be moved or >