Re: s it a bug?

2022-05-24 Thread Neville Smythe via use-livecode
Bob: I'm not seeing this in the IDE or standalone. LC 9.6.7, macOS Monterey > > I found one thing I think is a bug, and I'd like to report it, but I want to > see if anyone else thinks this may be the expected behavior: > > It seems to me that when clicking and holding the mouse button down

Re Pulldownmenu button bug on Windows

2022-05-10 Thread Neville Smythe via use-livecode
Thanks again Richard In my case I don’t actually need a workaround. Once I had corrected my own error, the only effect of the inconsistent event order is that on Windows and Linux the colour coding of the selection turns off a fraction of a second earlier than on a Mac. I am not so obsessive

Re: Re Pulldownmenu button bug on Windows

2022-05-08 Thread Neville Smythe via use-livecode
Thanks Richard for your wise observations. As cross-platform developers we do indeed need to be aware of differences that will arise in standalones because of GUI differences in the operating systems – different placement of menus, different text string lengths, some features not even being

Re: Zip file problem on Mac

2022-05-07 Thread Neville Smythe via use-livecode
> On 8 May 2022, at 2:00 am, Brian Milby wrote: > > It is a bug somewhere. See this big report: > https://quality.livecode.com/show_bug.cgi?id=21447 > > > I actually think it is related. The zip should be created as a Unix variant > and not

Re Pulldownmenu button bug on Windows

2022-05-07 Thread Neville Smythe via use-livecode
The pulldownmenu bug I reported has been confirmed: bug 23693 To remind the reader: On a Mac, when a user select a menu item from a pulldown menu button, the menuPick message is sent first followed by a mouseLeave message (generated as the

Re: Zip file problem on Mac

2022-05-07 Thread Neville Smythe via use-livecode
> On 7 May 2022, at 2:00 am, use-livecode-requ...@lists.runrev.com wrote: > > This sounds like this enhancement request > https://quality.livecode.com/show_bug.cgi?id=9642 > Thanks Panos for pointing out this is a duplicate to bug 9642, an

Re: Zip file problem on Mac

2022-05-05 Thread Neville Smythe via use-livecode
I have submitting a report to QC (Bug 23698 ) Thanks Matthias for clarifying that permissions are not correct in the archive. I can now add that the Linux archive has the same problem. The Windows archive created by revZip executes correctly.

Zip file problem on Mac

2022-05-04 Thread Neville Smythe via use-livecode
I distribute a Mac standalone via a zip file, created using revZipOpenArchive etc. This has worked fine until macOS Monterey or LiveCode 9.6.x Either a bug has been introduced into the revZip tools in 9.6.x, or I have a corrupted version, or the Mac Archive Utility has changed so as to make

Pulldownmenu button bug on Windows

2022-04-28 Thread Neville Smythe via use-livecode
I have a pulldown menu button which has a menupick script and also a mouseLeave script. On a Mac, when a user brings up the menu and drags the mouse down to select a menu item (leaving the button rect but within the pulldown menu), the menupick handler is invoked, and then the mouseleave

IAC for Livecode standalones

2022-04-13 Thread Neville Smythe via use-livecode
When developing my recent utility I have thought it could be useful if other users could access the output from some of its features, in other words inter-application communication. Stacks can do this if the utility is running in the IDE but not when run as a standalone. Now a Mac

Re: widget properties

2022-04-13 Thread Neville Smythe via use-livecode
(Bug 23670 ) has been referred by QualityControl to Expert Review, as Panos was not sure whether this is a real bug. As a use-case I have commented that the properties of all controls, including widgets, is needed when comparing stacks for

Re: widget properties

2022-04-06 Thread Neville Smythe via use-livecode
Just a point of clarification; Ali’s post does not explain how to access the object properties of a widget. The properties returned by put the keys of (revIDEExtensionProperties("com.livecode.widget.foo")) are the intrinsic properties of the widget, which these days are accessible via the

Re: widget properties

2022-04-06 Thread Neville Smythe via use-livecode
I have submitted the bug report (Bug 23670 ) As others have said, it is not likely this will be considered a high priority bug but it should be on the record. Interestingly eg setting tbar[“textcolor”] to a value and then set the properties

Widget properties

2022-04-06 Thread Neville Smythe via use-livecode
Is it not a bug that the properties of widget “foo” returns empty (for all values of foo)? No rect, no visible, no disabled etc, even though these clearly are settable and functional properties of the widget. You can export widget “foo” to array “bar” but that gives the intrinsic

Plugin changes not saved

2022-03-24 Thread Neville Smythe via use-livecode
I hadn’t realised that LC does not offer to save changes to plugin stacks when it quits. Foo! I have therefore updated nsPropertyMapper (version 3.6. Revision 9) in Sample Stacks so changes to favorites and settings will be available on the next launch, there wasn’t much point to the favorites

nsScriptDatabase 1.1

2022-03-17 Thread Neville Smythe via use-livecode
I have uploaded version 1.1 of nsScriptDatabase to the Samples Stacks. This fixes a few problems with editing code snippets and running the stack as a standalone, which is the preferred environment. You don’t need to know anything about the technicalities of databases to use nsScriptDatabase

Re: Speaking of Filter and Match...

2022-03-15 Thread Neville Smythe via use-livecode
I just ran a speed test on Dick Kriesel’s method for removing duplicates and keeping the original sort order. It is indeed faster than Jacque’s method Sorting 11000 lines of text including 1000 duplicated lines: Jacque’s method: 2.807 seconds [lineoffset is really slow, and in effect the text

Re: Speed up a slow loop

2022-03-09 Thread Neville Smythe via use-livecode
I just ran a test to try to find out how much RAM is used when you create a large array; the result is rather surprising. BTW Bob: I did not imply that an array is implemented in LC as a database. Merely that to work its magic it must be indexing keys somehow. I had suggested a 2.5 MB list

Re: Speed up a slow loop

2022-03-08 Thread Neville Smythe via use-livecode
> On 9 Mar 2022, at 4:00 am, Alex Tweedly wrote: > > I guess I'm not convinced about VM space thrashing being the problem, > certainly not due to the wordlist. It's 2.5 Mb - i.e. 0.02% of the real > RAM in a Pixel 5. There may be something else in the app making the > total VM space very

Re: Speed up a slow loop

2022-03-08 Thread Neville Smythe via use-livecode
> On 9 Mar 2022, at 4:00 am,Alex Tweedly wrote: > > Oh, well, if you've got the fast boardwalk code in there anyway, that > opens up another possibility (with one caveat). > > The boardwalk will find all valid words on the board. So that list of > words can be used as the "dictionary" for the

Re: Speed up a slow loop

2022-03-07 Thread Neville Smythe via use-livecode
Jacque seems to have found a satisfactory solution to her problem with the help of the excellent suggestions we have seen here. Since there seems to have been a lot of interest, I thought I would take the opportunity to report on an alternative method I had been exploring with Jacque via email.

Re: Speed up a slow loop

2022-03-04 Thread Neville Smythe via use-livecode
Bob’s suggestion of storing the word list in an sqlite database would keep the list on disk and not in memory, so avoiding VM swapping which is I think the basic problem, and also use a much faster search engine than LC to do the checking for the existence of user candidates. A more elegant

Re: Speed up a slow loop

2022-03-04 Thread Neville Smythe via use-livecode
Jacque, are you trying to keep the whole of SOWPODS in memory the whole time? That’s a 2.5MB file. It sounds to me like you are getting virtual memory thrashing. If so, try breaking up the wordlist into 26 files for example - or even more by length as well as initial letter - kept as resources

Property mapper and a s script database

2022-02-19 Thread Neville Smythe via use-livecode
I have uploaded version 3.4 (revision 7) of nsPropertyMapper to the Sample Stacks site. You can now insert an image into a text field by dragging an image reference from the ImagePicker onto a character in the field. It looks like another revision soon will be needed in light of the new

Re: add a "scale" option to the icongravity

2021-12-24 Thread Neville Smythe via use-livecode
> Wouldn?t you really need another property like ?iconSizing? which would have > values of ?none? or ?clip? (current behavior), ?resize? or ?fill? (the > current iconGravity option), and ?scale? (your proposal)? I can think of > situations where clip and scale would need the current

nsPropertyMapper Revision 4

2021-12-19 Thread Neville Smythe via use-livecode
Sigh. Revision 4 fixes a bug: placing an image with the ImagePicker didn’t work, Something I thought I tested just before I uploaded Rev3. I really have angered Blind IO this year. ___ use-livecode mailing list use-livecode@lists.runrev.com Please

nsPropertyMapper revision 3

2021-12-18 Thread Neville Smythe via use-livecode
I have uploaded version 3 of my drag-and-drop property management tool, which now handles patterns, graphic objects and images. Included is an ImagePicker which gives access to images in all open stacks as well as LC built-in images, allowing easier transfer of images between stacks, and many

Pattern ID bug

2021-11-23 Thread Neville Smythe via use-livecode
Try setting the backgroundPattern of a button to ID 141, either from a script, or by using the Image Library chooser and going to the MetaCard Compatible Patterns, look for ID 141 which is small image of dots on the second page. What you get, at least on my Mac with LC9.6.5, is a pattern of red

Re: Object property management

2021-11-10 Thread Neville Smythe via use-livecode
Aaargh, I can’t even remember the name of my own stack! I have incurred the wrath of Blind Io by invoking her name in the help text. Thanks Matthias it is indeed nsPropertyMapper Neville ___ use-livecode mailing list use-livecode@lists.runrev.com

Object property management

2021-11-09 Thread Neville Smythe via use-livecode
I have uploaded a plugin tool nsFormatMapper 2.0 to RunRevOnline. It is designed to help with maintaining uniformity of UI elements such as colours and text properties. It works rather like the Format Paint brush in Word or Pages. You get all the required property types from an object, and set

Re: use-livecode Digest, Vol 217, Issue 30

2021-10-26 Thread Neville Smythe via use-livecode
> On 27 Oct 2021, at 3:00 am,Craig wrote: > > An array variable is just a variable, it is not a property. You cannot ?make? > one into the other. > > So, basically, put the pArrayName[pElementName] of button ?button? is just > syntax that does not exist in the lexicon, for the above reason.

Accessing array custom properties

2021-10-25 Thread Neville Smythe via use-livecode
Is there a logic behind the following? I want the values of a custom property which is an array: to take a specific example the dropShow of button “button” and I want the specific element color Of course I can write: put the dropShadow of button “button” into aa; put aa[color] Conveniently

Re: dropShadow knockout

2021-10-20 Thread Neville Smythe via use-livecode
>> Further occasionally the edit box appear to become corrupted > > This only happens to me when I accidentally close the edit box via the close > decoration and not via the "OK" button. > The same happens with the edit box for editing gradients. Thanks for confirming that Bernd. Closing that

dropShadow knockout

2021-10-19 Thread Neville Smythe via use-livecode
The knockout checkbox is missing from the graphic effect dropShadow edit dialog in LC9.6.5 (Mac). The knockout property still works however. Further occasionally the edit box appear to become corrupted - after a few launches the display is out of kilter, and eventually the edit box won’t open

Re: Stack with the same name loop

2021-10-07 Thread Neville Smythe via use-livecode
Jaque wrote > On 8 Oct 2021, at 7:54 am, use-livecode-requ...@lists.runrev.com wrote: > > For me, the confusion would be resolved if the Save button was renamed to > "Save and Purge". I was never quite sure what that button saved, though in > retrospect it's pretty obvious. And ... if the

Hi, I'm back for more fish - and a malware query

2021-09-08 Thread Neville Smythe via use-livecode
OK, Bob S, so I have jumped through the small hoop and turned through 180 degrees. And I’m impressed even if you were not: that is to say, I am really impressed with the generosity and goodwill of the great people at LC. Many thanks to those who urged me contact Heather and Kevin about

Bye, and thanks for the fish

2021-09-01 Thread Neville Smythe via use-livecode
> On 1 Sep 2021, at 11:36 pm, use-livecode-requ...@lists.runrev.com wrote: > > i am not sure, if everyone is aware of it, but standalones that were created > with the Starter Plan license will expire as soon as the Startert Plan > subscription expires. Not even Apple is that rapacious. I

Re: Property inspector opening with wrong object

2021-08-25 Thread Neville Smythe via use-livecode
s). >> >>> On Aug 24, 2021, at 11:39 PM, Neville Smythe via use-livecode >>> wrote: >>> >>> Has anyone else experienced this? It is very annoying. >>> >>> Sometime when I open the Property Inspector for an object it opens the >

Property inspector opening with wrong object

2021-08-24 Thread Neville Smythe via use-livecode
Has anyone else experienced this? It is very annoying. Sometime when I open the Property Inspector for an object it opens the inspector for the stack instead. I don’t know what triggers it, but once it starts happening it always happens; relaunching LC restores sanity for a while. This is on a

Re: Resources folder on mac, and the good old days

2021-03-31 Thread Neville Smythe via use-livecode
standalone to use such an uninstall strategy you would need and Installer; and I don’t think it is really appropriate to have an ordinary app to have a daemon running all the time. > On 31 Mar 2021, at 9:42 pm, Keith Martin wrote: > > >> On Mar 29, 2021, at 11:22 PM, Neville Smythe v

Re: Resources folder on mac, and the good old days

2021-03-29 Thread Neville Smythe via use-livecode
> On 30 Mar 2021, at 12:44 am, use-livecode-requ...@lists.runrev.com wrote: > > Unfortunately this has never been true on macOS X. > > The Resources folder (which is in the macOS app bundle) should be > treated as read-only… Mark Waddingham chides me for saying it is OK to write to the

Resources folder on mac, and the good old days

2021-03-28 Thread Neville Smythe via use-livecode
> you may already know this, but this will not work in a standalone! > We will surely not have write permissions in that folder! > > As a workaround I would probably use -> specialfolderpath("temporary") > Or even write the text to -> the tempname > I find this discussions strange - I had the

Re: revCopyFolder in LC Server

2021-01-27 Thread Neville Smythe via use-livecode
Thanks Matthias. I would not have guessed that from the Documentation which simply says that revCopyHandler is available for “desktop,server”. I was thinking I would just use a one-line shell call to replace the handler … but I suppose I should install the whole shebang Neville

revCopyFolder in LC Server

2021-01-27 Thread Neville Smythe via use-livecode
I get a “Can’t find handler (revCopyFolder)” error in LC Server from a script line revCopyFolder tTemplateDir,tDirPath The script works up to that line. Is there a problem with using revCopyFolder in LCServer? Neville ___ use-livecode mailing list

Call lc from php?

2021-01-21 Thread Neville Smythe via use-livecode
A slightly less cursory investigation informs me that works, as I should;d have known. Neville ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Call lc from php?

2021-01-20 Thread Neville Smythe via use-livecode
Quick question: is it possible to execute a .lc server script from within php (eg from an index.php page)? This other way is documented, but on a cursory perusal I couldn’t see how to do it, and I’ve forgotten more about php than I remember. Maybe using a shell command within the php, but is

Re: POST command does not work if Lock messages is set

2021-01-11 Thread Neville Smythe via use-livecode
For anyone wishing to follow this bug, it has been confirmed by QC at https://quality.livecode.com/show_bug.cgi?id=23058 As for my other fake news problem with data size and POST, please forget I ever misspoke. LiveCode Server is rather a

POST data size bug

2021-01-10 Thread Neville Smythe via use-livecode
Ah. My bad I just discovered libURLSetExpect100 Neville ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

POST data size bug

2021-01-09 Thread Neville Smythe via use-livecode
I seem to have hit another bug in POSTing data to LiveCoder Server (Community 9.6.2) If the data being posted has 139000 characters the POST succeeds and I get a response back from my LC script in about 2.5 seconds. If I try to send about 14 characters I get a time out error. I presume

POST does not work under lock messages

2021-01-08 Thread Neville Smythe via use-livecode
It took me a while to figure this one out. I have a number of scripts which POST to LiveCode Server .lc scripts. All were working fine except one which always returned the output from whatever POST had last been executed. Evidently the previous form request was being resubmitted. Turns out I

Re: Secure connection to server

2020-12-28 Thread Neville Smythe via use-livecode
I have now moved all my code from php to LiveCode server as the middle-ware. Firstly it appears that the LiveCode post operation does reuse authentication credentials to an https connection as long as calls are made within a single script. In my case the first call typically takes slightly more

Secure connection to server

2020-12-15 Thread Neville Smythe via use-livecode
A little while ago in this forum we were alerted to the fact that LC direct connection to a remote database not using SSL was a security hole. This also applies to managing Mailman lists on a remote server. After a steep (re-)learning curve with the various technologies, I now have a working

Rer: Decrypt problem on Windows solved

2020-12-14 Thread Neville Smythe via use-livecode
> Could you try to textEncode the encrypted data before saving it in the > custom property, and then, in the other platform, textDecode it before > decrypting it? Many thanks Panos, yes, that fixed the problem. It never occurred to me that reading binary data from the custom properties of a

Rer: Decrypt problem on Windows

2020-12-14 Thread Neville Smythe via use-livecode
The problem is platform-symmetric. That is, a string encrypted in LC on Windows will not decrypt on the Mac. Linux will not decrypt a string encrypted on the Mac, and presumably vice-versa. I did toy with the idea that the encryption keys might be device dependent, maybe the public and private

Decrypt problem on Windows

2020-12-13 Thread Neville Smythe via use-livecode
I am getting a difference in the results from decryption of a variable (stored in a stack custom property) between Mac and Windows 10. The script is decrypt using "aes-256-cbc" with password On the Mac this decrypts < myEncryptedStr > to its original value On Windows it gives an empty

Re: SSL cPanel mySql setup

2020-10-19 Thread Neville Smythe via use-livecode
> I'm not sure what that DH rep is going on about, because the same set of > LC Lessons that describe how to set it up via Apache config also include > one on setting it up via .htacces on shared hosts. Many thanks Richard I will give it a go. I was once told by a DreamHost support guy that

Re: SSL cPanel mySql setup

2020-10-18 Thread Neville Smythe via use-livecode
> On 19 Oct 2020, at 3:00 am, use-livecode-requ...@lists.runrev.com wrote: > > Dreamhost never did install LC ... but several of us have made it work. > Just get the right server executable and permissions. > I could never get it work account wide but it rocked for individual web > site

Re: SSL cPanel mySql setup

2020-10-17 Thread Neville Smythe via use-livecode
Thanks to this thread for the realisation my remote db connections are not secure. I just checked with Dreamhost and they gave their reasons for not use SSL with their mySQL setup — unacceptable burden on their server and undesirable for web app access; so in their opinion very few shared host

Re: Modal stacks cpu usage

2020-10-03 Thread Neville Smythe via use-livecode
Jacque wrote > If the Project Browser is open, try closing it. On my Mac, the CPU usage > while idle is usually close to 0 when in the background. Interesting. I would indeed have expected a good-citizen app doing nothing in the background to use less than 1% cpu: Mail, Safari. Finder, BBEdit,

Re: Modal stacks cpu usage

2020-10-02 Thread Neville Smythe via use-livecode
Looks like Elanor beat me to it Bug 22929 Neville Smythe ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Modal stacks cpu usage

2020-10-02 Thread Neville Smythe via use-livecode
> Confirmed here on macOS 10.14.5. The CPU load is indeed quite dramatic > with modal dialogs. > > I also checked on Linux (Ubuntu 18.04), and LC does not exhibit the > problem there. Thanks Richard for confirming, and testing on Linux. Yes I will file a bug report. It occurred to me that

Modal stacks cpu usage

2020-09-30 Thread Neville Smythe via use-livecode
I have just noticed something curious. I am running LiveCode 8.1 IDE 9.6.1 on a Mac Air 2020 quad core Catalina. Typically LC cpu usage shows about 34% (presumably of 1 core). When a modal stack is opened it immediately ramps up to 99% ; the fan kicks in, and if left for a while the OS

Catalina and Apple mail

2020-05-17 Thread Neville Smythe via use-livecode
Graham: before updating to Catalina definitely make a back of everything. When I updated I lost 35000 emails. Not just that they weren't loaded by Mail, they were actually deleted from the computer. That said, that was some months ago, and Catalina has since solved that problem - reportedly; I

Re: DataGrid table DeleteIndex

2020-04-18 Thread Neville Smythe via use-livecode
BobS wrote > Did you try the plural form of deleteIndex(es)? Well you see I read the documentation. Which says “DeleteIndexes” is a synonym of “DeleteIndex”. So I didn’t try it (didn’t try “DeleteIndices” either). Thanks Bob, that does work! So the documentation is wrong. There is no separate

DataGrid table DeleteIndex

2020-04-18 Thread Neville Smythe via use-livecode
Am I doing something wrong? I put a comma delimited list into tIndexes, then dispatch DeleteIndex to my DataGrid with tIndexes. Only the first index in my list is actually deleted. LC 9.5.1, Mac Catalina. [Also, If I perform another action in the same handler as the call to delete indexes

Re: Go to card has become slow

2020-04-13 Thread Neville Smythe via use-livecode
Mark Waddingham wrote > Each paragraph has at least one style run - even if no styles are > applied so this is a general thing. > > Most of the text in your generated test (data) stack was unstyled anyway > (as it uses 'the text of' to replicate the data) so minimizing those API > calls should

Re: Go to card has become slow

2020-04-12 Thread Neville Smythe via use-livecode
Mark Waddingham wrote > There appear to be two reasons for the difference: > > 1) When saving each style run (block) in a field the engine is making > three Win32 API calls. > > 2) The saving method uses (and always has used) direct Win32 system > calls to manipulate files without any

Re: Go to card has become slow

2020-04-11 Thread Neville Smythe via use-livecode
Sorry Brian, I uploaded from the wrong folder. Here is the update test set. But the only difference is that you don’t need to hold down the shift key to see the binary save timing. https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0

Re: Go to card has become slow

2020-04-10 Thread Neville Smythe via use-livecode
> On 11 Apr 2020, at 2:00 am, Brian Milby wrote > > I just imported a 500kb image to the card, removed the text from the field, > created 300 cards. > 0.756 seconds normal (171MB). 1.124 from a variable. (image instead of > text) > 8.311 seconds normal (8.2MB). 0.047 from a variable. (original

Re: Go to card has become slow

2020-04-08 Thread Neville Smythe via use-livecode
I have updated the SlowSave test stack with Richard's enhancement to also show the time to save the binary data (no need to use the shift button) https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 Pleased to see everyone is seeing the problem at last, it doesn’t seem to

Re: Go to card has become slow

2020-04-08 Thread Neville Smythe via use-livecode
Richard: OK, so my impression, that LC saving a (binary) file on Windows 10 is not the problem, is correct, as you deduce it lies in the serialisation of the stack. Now why would that be platform, indeed OS, dependent? Could the LC cache/virtual memory settings be different for Windows 10 from

Re: Go to card has become slow

2020-04-07 Thread Neville Smythe via use-livecode
Richard Here is a link to the test stack for testing the speed of save stack https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 I don’t know why the test stacks I supplied disappeared from the QC bug report. You need the SlowSave.livecode and the data.livecode stacks.

Re: Go to card has become slow

2020-04-06 Thread Neville Smythe via use-livecode
Richard wrote > Bob Sneidar wrote: > >> In review, I tested saving stacks on a standalone Windows Workstation, >> a VMWARE VM on a very robust server host, a Parallels VM on a >> workstation and my Mac. As I am saving the stack, I am watching the >> folder the stack is in. I see the tilde

Re: Mobile Wondering

2020-04-06 Thread Neville Smythe via use-livecode
I had been wondering when the third-class status of mobile platforms in the LC world, particularly in relation to scrolling fields and groups, would crop up here. Some time ago I looked at converting an iOS project to LC, and was appalled at the crude 1984-style appearance of scroll bars. I

Re: Unicode mysteries

2020-03-27 Thread Neville Smythe via use-livecode
I have filed a bug report bug_22561 re the misreporting of codepoints for unicode characters. I am pretty convinced the treatment of the Rainbow flag emoji as three separate characters should be treated as incorrect behaviour and therefore

Re: Unicode mysteries

2020-03-26 Thread Neville Smythe via use-livecode
> >> Which should correspond to codepoints >> 1F3F4 E0067 E0062 E0073 E0063 E0074 E007F >> And indeed if I manually build a UTF-16 string with these code points >> it does display as the flag of Scotland. So the lesson is that the >> reported chunks are not to be naively trusted --- tho

Unicode mysteries

2020-03-26 Thread Neville Smythe via use-livecode
I am trying to understand the mysteries of unicode encodings; the following may (or may not) be useful (or confusing) to others. The docs say the full chunk expression for a unicode character is byte i of codeunit j of codepoint k of character c of str (with the warning that this is 'not

Re: Bug drawing card in LC9

2019-04-26 Thread Neville Smythe via use-livecode
A workaround for the bug is to use any visual effect in the Go to Card B script In fact to force a redraw of a card you can use visual effect plain go to this cd for example in an openCard handler. In interesting trick to remember! Neville Smythe

Bug drawing card in LC9

2019-04-26 Thread Neville Smythe via use-livecode
In LC 9.0.1 and later, a card in a stack is incorrectly drawn under the following circumstances: . the stack has a menubar set as the stack menu, and the stack is running on a Mac . the user is on card A and moves to card B The bottom part of card B (the height of the Mac menubar) is not

Re: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Neville Smythe via use-livecode
Bill: I agree sockets is the way go for communication between apps. AppleScript is great but can be frustrating until you get the hang of it. The recipe for setting up socket communication is briefly: . write a small unix shell script which your LC app installs [one caveat: the client must

tabbed windows

2018-10-27 Thread Neville Smythe via use-livecode
Extraordinary thanks, Paul, you have reduced my blood pressure by 30 points. I can’t think why I so obtuse as to not think of going to a different app and then sliding from the Development menu to the View menu! Simples! ___ use-livecode mailing

tabbed windows in Mac - as setProp

2018-10-25 Thread Neville Smythe via use-livecode
Well it seems the feature is “tabbed” windows. It is a feature of High Sierra. However for non-Apple apps it has to be implemented by the third party, and in this case I think the LC implementation is faulty. I can add windows to the tabs, but not remove the last tab.There is supposed to be a

setProp question - stacked windows

2018-10-25 Thread Neville Smythe via use-livecode
Aha. My first thought was that it must be a Mac system “feature” since the iconised version looked Mac-ish rather than LC-ish. But I hadn’t updated to Mojave, and I had just updated to LC9.0.1 and it didn’t affect LC8, so I deduced it was down to LC. Thanks Brian, you have given me a place to

RE setProp question

2018-10-25 Thread Neville Smythe via use-livecode
Thanks for the replies about may setProp question a little while back. But no-one game me any info about the annoying problem I raised concerning windows under LC9 and it’s driving me nuts. To recap: new stacks (but not old stacks) and some engine windows such as for scripts and the

setProp question

2018-10-16 Thread Neville Smythe via use-livecode
Is there any way to intercept setProp messages for properties you *don’t* want to set? I find with my poor typing skills I keep typing Set the of where NonexistentProperty is a mistype of SomePropertyWhichHasASetPropHandler and so I keep creating lots of superfluous properties for 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: 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: how to clear residual garbage in a stack?

2018-05-26 Thread Neville Smythe via use-livecode
> I haven't actually tried it but would it work to just put empty into the > field before deleting the card? That would be sort of a "clean as you go" > approach. That’s a very neat workaround which should leave at most a couple of bytes of uncollected garbage, until the bug is squashed. Of

Re: how to clear residual garbage in a stack?

2018-05-25 Thread Neville Smythe via use-livecode
So now we have confirmed the “delete-card-with-unshared-textfield-leaves-unreferenced-text-which-compact-does-not-remove” bug (thanks to Brian and Richard) the question remains how to actually remove the garbage. As Brian says deleting the background groups will remove the residual text; you

Re: how to clear residual garbage in a stack?

2018-05-23 Thread Neville Smythe via use-livecode
Thanks Richard. Disregard my nonsense about the EOF at 28KB, I misread the BBEdit output. The file did indeed have extra garbage after deleting all but 1 card. The extraneous data actually consists of the text of the background field from the deleted cards: “Lorem ipsum” occurs 2024 in the

Re: how to clear residual garbage in a stack?

2018-05-22 Thread Neville Smythe via use-livecode
Hmm, excellent suggestions from Phil and Richard, but evidently something else is going on. > Use "compact stack" to get rid of space formerly used by now-deleted > objects. compact stack did not recover the 8 MB after deleting all but the first card from my test stack to reduce it to what

Re: how to clear residual garbage in a stack?

2018-05-22 Thread Neville Smythe via use-livecode
Thanks Phil, I knew there had to be a command. Of all the synonyms I tried I got close with compress ;-) Turns out a stack of mine used by national organisation for 20 years had bloated from 3MB to 9MB. > Use "compact stack" to get rid of space formerly used by now-deleted > objects.

how to clear residual garbage in a stack?

2018-05-21 Thread Neville Smythe via use-livecode
I am constructing a large stack as a test for a bug report (to report the slow saving of large stacks for a standalone Windows 10 app under LC 8.x). I start with a stack with a single card which saves as a 28 KB file. I then use a script to create 299 copies of card 1. The resulting stack saves

LC on Windows 10

2018-04-30 Thread Neville Smythe via use-livecode
My users find Windows 10 takes 10 seconds or more to save a 9Mb stack with app compiled under 8.1.x, Mac and Linux save in a fraction of a second. Very annoying as the app freezes while saving. $@%?$@%?$@%?$@%?$@%?$@%? Neville Smythe IGF Director (Oceania) VicePresident, Australian Go