Re: open secure socket... using certificate

2021-01-27 Thread Bernard Devlin via use-livecode
ds. > > > > Sent from my iPhone > > > > > On Jan 26, 2021, at 2:13 PM, Bernard Devlin via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > > Thanks for the suggestion Erik, but I don't see from that how one > > specifies &

Re: open secure socket... using certificate

2021-01-27 Thread Bernard Devlin via use-livecode
/show_bug.cgi?id=13410 Regards, Bernard On Wed, Jan 27, 2021 at 12:57 AM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 1/26/21 6:05 AM, Bernard Devlin via use-livecode wrote: > > > Is it really the case that for the past 6 years LC documentation has been >

Re: open secure socket... using certificate

2021-01-26 Thread Bernard Devlin via use-livecode
; > > Examples: > > https://livecode.fandom.com/wiki/Secure_socket > > -Original Message- > From: use-livecode On Behalf Of > Bernard Devlin via use-livecode > Sent: dinsdag 26 januari 2021 16:40 > To: How to use LiveCode > Cc: Bernard Devlin > Subject: R

Re: open secure socket... using certificate

2021-01-26 Thread Bernard Devlin via use-livecode
rowser, so the problem is definitely on the LC side. On Tue, Jan 26, 2021 at 2:34 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > Did you try with “and key tKey”... it does not look like that part is > optional. > > Sent from my iPhone >

open secure socket... using certificate

2021-01-26 Thread Bernard Devlin via use-livecode
According to the Dictionary in LC 9.5.1 there is this command: open secure socket [from [localHostName][:localPort]] [to] socketID [with message callbackMessage] [without verification] *[using certificate certificate and key key]* However I can't get it to work. open secure socket to

Re: opened socket in IDE prevents script changes

2021-01-16 Thread Bernard Devlin via use-livecode
Hi Bernd Thanks for the suggestion. But I think the evidence points away from this. One thing I've done is - change the script (could be just addition of a comment) - copy entire script - apply & close - re-open script editor --> *change is missing* - close IDE - re-open LC - open stack script

Re: opened socket in IDE prevents script changes

2021-01-15 Thread Bernard Devlin via use-livecode
21 at 4:59 PM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > > On 15/01/2021 15:30, Bernard Devlin via use-livecode wrote: > > I'm seeing exactly the same range of behaviours I described earlier for > > 9.5.1 on Win 10 but with 9.6.1 on OS X. > >

Re: opened socket in IDE prevents script changes

2021-01-15 Thread Bernard Devlin via use-livecode
I'm seeing exactly the same range of behaviours I described earlier for 9.5.1 on Win 10 but with 9.6.1 on OS X. It's very strange that Alex is also editing scripts with sockets opened/closed but not losing changes made in the script editor. I also had 3 crashes on OS X within 30 minutes of

Re: opened socket in IDE prevents script changes

2021-01-15 Thread Bernard Devlin via use-livecode
"do i understand it correctly that both, server and client stack, can communicate with each other using sockets in one instance of the LC IDE" Your understanding is correct. On the other project (where I didn't have this current problem) I had half a dozen clients and 1 "server" running in the

Re: opened socket in IDE prevents script changes

2021-01-15 Thread Bernard Devlin via use-livecode
Thanks Alex for your quick response. I'll try with 9.6.1 on Mac. The only other difference between us is that my sockets are interacting with a process outside of LC. But I can't see why that would make a difference (particularly once I've closed all sockets, I wouldn't expect sockets to

opened socket in IDE prevents script changes

2021-01-15 Thread Bernard Devlin via use-livecode
This is a strange phenomenon.I wonder if anyone else has seen this. Livecode 9.5.1 Windows 10. If a socket is opened then changes to scripts in the IDE are not applied/saved. There's no error message. It *appears* from the IDE that the changes are applied (i.e. the changes are visible in the

Re: Some sad news

2020-12-04 Thread Bernard Devlin via use-livecode
That's very sad news. I'd noticed he had been quiet on the forum. HH made some truly extraordinary contributions. Just a few days ago I was just looking at his Jigsaw HTML5 app, and was astonished at what he had achieved. He might not have been happy with the limitations in the HTML5 standalone,

Re: Naive XML questions

2020-10-25 Thread Bernard Devlin via use-livecode
In his reply to you I think Alex is suggesting you use the handlers that come with the Datagrid. These can convert xml to a LC array. You might find it easier just to deal with a familair data structure rather than learn XML. I found them here:

Re: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Bernard Devlin via use-livecode
Hi Martin In the Script Editor try unchecking the various entries under Edit/Options e.g. variable checking, live errors, etc. I've recently moved to using LC on OS X and was surprised how snappy the editor was i.e. I didn't need to switch off most of those things as I did on Windows 10. I

Re: LC iOS Command 'mergPopActivity'

2020-10-21 Thread Bernard Devlin via use-livecode
Hi Graham I wondered if this information is of use. URL calls are not limited to "http://;. Having a LC app respond to a URL call: http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes Apps and their URL schemas:

Re: Livecode server UNIX version (not Linux).

2020-10-18 Thread Bernard Devlin via use-livecode
Which is why my sentence finishes with "... to be in a situation to take on this level of complexity." :-) Apple first bought the domain iphone.org in 1999. That the iPhone was under development was even being discussed by mainstream media such as the New York Times in 2002. The public

Re: Livecode server UNIX version (not Linux).

2020-10-16 Thread Bernard Devlin via use-livecode
Hi Heriberto Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various proprietary unixes. The Linux server version has been seen to work on FreeBSD back in 2011 (after installing Linux compatibility layer).

Re: Fun with the templateimage

2020-10-15 Thread Bernard Devlin via use-livecode
This works: export snapshot from rect tRect of window tWinID at size tDim1,tDim2 to file tFile as GIF I saw a report in the forum saying that this scaled incorrectly if the snapshot was of a text field, but in my tests this was not a problem. On Thu, Oct 15, 2020 at 11:34 AM Bernard Devlin

Re: Fun with the templateimage

2020-10-15 Thread Bernard Devlin via use-livecode
Richard, just FYI The dictionary (LC 9.5.1) does say that "export snapshot ... at size x,x..." is supported since version 6.0, but I can't get it to change the size of the exported image. I'll add a note here if I get it to work. On Thu, Oct 31, 2019 at 4:38 PM Richard Gaskin via use-livecode <

Re: Getting URL to Work in specialFolderDocuments

2020-10-05 Thread Bernard Devlin via use-livecode
Hi I get a headache looking at concatenations like this. I don't use them unless I'm constructing a simple string. put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" It will be a cold day in

Re: Accessing files on a local network file server - BEST PRACTICE?

2020-09-25 Thread Bernard Devlin via use-livecode
>> So that in case (1) , we regenerate the file and in case (2) we present a warning that the server is disconnected or down? << For (2) you could save an empty file (as a flag of availability) and set it's attribute to hidden. If the file is not there when you get the files, then the folder is

Re: Adding items to a group

2020-08-26 Thread Bernard Devlin via use-livecode
Whilst Mark provided what Phil needed, I too cannot believe how easy and reliable Geoff's Navigator is. I use it for everything. When I need an Inspector a double-click on a line in Navigator brings it up. I love it. On Wed, Aug 26, 2020 at 7:14 PM Bob Sneidar via use-livecode <

Re: Cross Platform Font Layout - current workarounds

2020-08-25 Thread Bernard Devlin via use-livecode
I wondered how Java dealt with the issue of rendering fonts across platforms. It seems they have (had) the same problems you are experiencing. https://stackoverflow.com/questions/12202758/how-to-make-java-swing-application-has-a-consistent-font-in-windows-and-linux

Re: breakpoint causes 3 second delay then exit to top

2020-07-27 Thread Bernard Devlin via use-livecode
Here's another data point for this oddity. Once the IDE starts tripping out from breakpoints and I restart Livecode to fix the problem, the behavior in which the breakpoints stop working has "detached" from the object pointing to it. I say "detached", as the object still shows in the Inspector

Re: breakpoint causes 3 second delay then exit to top

2020-07-17 Thread Bernard Devlin via use-livecode
app or within the IDE) that leads to this situation. On Fri, Jul 17, 2020 at 5:09 PM Ludovic THEBAULT via use-livecode < use-livecode@lists.runrev.com> wrote: > > > > Le 17 juil. 2020 à 13:52, Bernard Devlin via use-livecode < > use-livecode@lists.runrev.com> a écrit :

breakpoint causes 3 second delay then exit to top

2020-07-17 Thread Bernard Devlin via use-livecode
This is mystifying in so many ways. I've seen this a few times and I'm at a loss to explain it. It's LC 9.5.1 on Windows 10. I have a simple conditional, where I want to stop execution and debug some following actions. Here's the code: *try* *if* "15474" is in tControlLongId *then*

Re: DataGrid question...

2020-04-03 Thread Bernard Devlin via use-livecode
Hi Bernd Your modTableField is very impressive. Reminds me of the work of the late, great Eric Chatonet (author of many works on Hypercard). I see only one slight problem: after I click into a cell a trace of the I beam is left behind on leaving the cell (this becomes visible on selecting

Re: The Roadmap

2019-10-30 Thread Bernard Devlin via use-livecode
On Tue, Oct 29, 2019 at 7:00 PM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > If it were up to me I'd ditch it altogether. > Whatever frustrations I have with Livecode they are vastly outweighed by the things that it can do and the things it can do now that it

Re: Thank you for the 9.0.5 update

2019-10-10 Thread Bernard Devlin via use-livecode
>> I created a play/test stack yesterday - 1 button 2 functions and a mousup of a couple of lines no more than 30 lines of code. Did some debugging and got a crash in less than 15 minutes. << I was getting multiple random crashes with a test stack in 9.5 that were apparently totally unrelated to

Re: livecode connect framework

2019-04-19 Thread Bernard Devlin via use-livecode
Does anyone know if LiveCode Connect ever come out of beta? I have a project coming up which uses OpenAPI and it would save me a lot of work if Connect is available. Regards, Bernard On Fri, Jun 9, 2017 at 9:03 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > if the only

Enhancement: transparently persist/retrieve large amounts of array data as JSON

2019-02-04 Thread Bernard Devlin via use-livecode
As far as I can see, providing this enhancement is (in essence) no more than the addition of one line to Livecode's compilation process. Details here: https://quality.livecode.com/show_bug.cgi?id=21821 Seems to me to be a huge gain for virtually no effort. Array data could be stored and

HTML5 severely undocumented

2018-12-24 Thread Bernard Devlin via use-livecode
As I'm trying to work out why it is that the datagrid does not work in HTML5, I've realised that there are many really basic features of Livecode that do not work in HTML5. For instance, in a field the backspace key does not work. Moreover, it appears that the rawKeyDown message is not

Datagrids in HTML5

2018-12-24 Thread Bernard Devlin via use-livecode
Hi folks Am I mistaken in thinking datagrids are now supposed to work in HTML5? My datagrid and its contents display, but clicking on column headers has no effect. I ensured that the datagrid library was being included in the standalone settings. The datagrid template substack of the mainstack

Re: WordReport Registration

2018-12-10 Thread Bernard Devlin via use-livecode
Thanks Matthias. I did try variations of what I thought were a likely names for the registration handler (but that wasn't one of my guesses for the likely handler name). The file "WordReport Registered Uses.pdf" is not included in the zip file that is downloaded from within our user area on

WordReport Registration

2018-12-09 Thread Bernard Devlin via use-livecode
Hi all I've got a copy of this as part of one of my previous Livecode purchases. How does one go about using the registration code? The "Try WordReport" stack says either to buy a registration code *or* to simply use the code if one has it. Neither of the PDF files which come with the stack

Re: LiveCoders from London, lets meet!

2018-11-13 Thread Bernard Devlin via use-livecode
I live outside London, but easy enough to get in to meet up. On Sat, Nov 10, 2018 at 2:14 PM Keith Martin via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Andre, > > I'm based in London – I live in Mitcham/Tooting and I work in Elephant > & Castle. I'm game! > > k > > > On 9 Nov

Re: LC 9.0 Windows - tooltip broken for new datagrid?

2018-10-17 Thread Bernard Devlin via use-livecode
Thanks. If it's not supposed to work then best to remove it from the property inspector so the product doesn't appear buggy to new users. I have Livecode 5.5 on another machine. I'll see if the tooltip works there. I see no reason why a datagrid (even if it is a fancy group) shouldn't have a

LC 9.0 Windows - tooltip broken for new datagrid?

2018-10-16 Thread Bernard Devlin via use-livecode
Am I right that this is broken? A new stack with a single button will show the button's tooltip when the pointer hovers over it. Add a datagrid, and set the tooltip for the datagrid through the inspector. The tooltip does not display no matter where the pointer is in the datagrid. Regards

sqlite config/compilation files on github

2018-08-12 Thread Bernard Devlin via use-livecode
Hi all Could anyone point me to the file(s) on github determining how the sqlite external is configured and built. I've had a look round, but I can't seem to find the relevant file. I'm looking for the location at which the full-text search option is configured. Regards, Bernard

Re: LC on Windows - slow for others or just me?

2018-05-01 Thread Bernard Devlin via use-livecode
I've been using the final version of LC9 on Windows 7. I don't have these kinds of problems with any other program. I didn't notice it with earlier DP versions on the same machine (although admittedly I would leap-frog over many DP point versions, so I can't say at what point this problem was

Re: debugging a CEF browser instance

2017-07-08 Thread Bernard Devlin via use-livecode
Hi Mark, I suspect this is the problem. Is there a list of things which the LC embedded browser forbids? Is there an explanation of the rationale for the embedded browser to behave differently from a default browser? This should be noted in the Dictionary, perhaps in the top entry of:

Re: debugging a CEF browser instance

2017-07-07 Thread Bernard Devlin via use-livecode
Hi Mark, I've now found an app which has embedded the CEF browser within it. This embedded CEF browser has no trouble loading the page in question. This makes it very clear that the problem relates to the way that LC is embedding the CEF browser. This is also confirmed by the fact the page will

Re: debugging a CEF browser instance

2017-07-06 Thread Bernard Devlin via use-livecode
Hi Mark, I had no doubt that the debug log was disabled because enabling it by default would be expected to cause some significant slowdown. However, since this is a configurable option, I would have hoped that (at the very least) it could be turned on for situations such as the situation in

Re: debugging a CEF browser instance

2017-07-05 Thread Bernard Devlin via use-livecode
Replying to myself, for anyone else who thinks it ought to be possible to debug a browser widget. Ability to debug has been deliberately turned off. https://github.com/livecode/livecode/commit/ccfab94499425b6245f98b3328ebd043876f9be7 ___ use-livecode

Re: debugging a CEF browser instance

2017-07-05 Thread Bernard Devlin via use-livecode
Thanks Jonathan for confirming that there is no debug mechanism for the browser widget. But what my examples shows is that one cannot rely on the browser widget to present a working web page, even one that works in multiple standard browsers (including Chrome). This is not a web page of my

Re: debugging a CEF browser instance

2017-07-05 Thread Bernard Devlin via use-livecode
I tried with 9.0 dp7. Still no luck. The webpage opens and works with both Chrome and Firefox. But not with the browser widget in either LC 8 or LC 9. I even tried with LC8.1.4 on OS X and it fails there too. I'm surprised no-one else has run into the need to access the debug log, browser

debugging a CEF browser instance

2017-07-04 Thread Bernard Devlin via use-livecode
After a very long time away from Livecode, I'm trying to get back into it. On 8.1.4 in the Windows IDE I have a browser instance where a standalone web page with some Javascript code is not working. The same page works if I load it into Chrome. So, I thought there might be a way to display the