html5 - javascriptHandlers

2022-03-18 Thread Bernard Devlin via use-livecode
With the Browser widget javascript can send messages to the parent app, triggering some Livecodescript in the parent. Is there an equivalent in a html5 deployment? It seems that in html5 deployment Livecodescript can call to the Javascript of the parent browser by "do somestuff() as Javascript".

Re: 10.0.0-dp-2 html5 and liburlLastRHHeaders()

2022-03-18 Thread Bernard Devlin via use-livecode
Hi Mark It turns out it is an anomaly due to CORS. There were so many steps involved in trying to isolate what was going on (juggling different deployments, different servers). Eventually I got there. https://quality.livecode.com/show_bug.cgi?id=23633 I wonder if there are a whole host of CORS

Re: debugging javascript in html5

2022-03-18 Thread Bernard Devlin via use-livecode
Here's a peculiarity I haven't seen mentioned before. I am trying to test the viability of the idea of a function to call back to LC and provide debugging info. Assume you create a LC function lclog(pmsg,pval) and you put a breakpoint in the IDE inside that function body. Set the htmltext of a

debugging javascript in html5

2022-03-18 Thread Bernard Devlin via use-livecode
Considering the html5 enhancements might well be the biggest thing in LC 10, I can foresee a whole world of pain when it comes to us debugging Javascript interactions. Without access to all the development tools that come in modern browsers how is any interaction of any complexity between LC and

Re: 10.0.0-dp-2 html5 and liburlLastRHHeaders()

2022-03-17 Thread Bernard Devlin via use-livecode
Hi Mark Thank you for your response. However, I just tried in the Javascript console of Safari, Chrome and Firefox and the local test server to which I am POSTing is returning the headers (as LC does when running not as HTML5). Here's the JS I used. As you can see, it's a simple POST rather

Re: 10.0.0-dp-2 html5 and liburlLastRHHeaders()

2022-03-16 Thread Bernard Devlin via use-livecode
If one could get hold in Livecodescript of the Javascript Request object that was sent to the server, then one might be able to get hold of the Response headers. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders My guess is that the shim is getting hold of

Re: 10.0.0-dp-2 html5 and liburlLastRHHeaders()

2022-03-16 Thread Bernard Devlin via use-livecode
With some servers the cache-control header is returned too. It looks to me that there is some mysterious shim that exists between libUrl calls and Javascript, and this shim is the (likely) reason why only some headers are being returned to the app. Does anyone know what is going on here? I am

10.0.0-dp-2 html5 and liburlLastRHHeaders()

2022-03-15 Thread Bernard Devlin via use-livecode
The only headers returned from a POST command are content-length content-type (in the IDE all the headers sent by the server are returned by this function). Seems a bit strange to me, as there may well be other important meta-information carried in headers (for example, Date:, at the very

Re: [ANN] Release 10.0.0 DP-1

2021-11-23 Thread Bernard Devlin via use-livecode
Thanks Panos. That kind of works. It always opens in the default browser i.e. trying to select another browser as the test target has no effect. Is this a known bug? >From test/save with browser closed (compile to standalone, then let IDE launch browser): Load time LC 10 - 5 secs Load time LC

Re: [ANN] Release 10.0.0 DP-1

2021-11-22 Thread Bernard Devlin via use-livecode
I'm not sure this merits a bug report (just yet). I suspect I'm doing something wrong. I installed LC 10 on Windows 10 and wanted to see how much difference webassembly made to the loading speed. However, after trying on 3 browsers (Firefox, Chrome, Edge), it fails to load. On each browser the

Re: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-11-12 Thread Bernard Devlin via use-livecode
I was having problems with SE on Windows randomly causing crashes just by clicking in the text are of SE. When I switched off all the bling, I never had another crash like that. I plan to slowly re-introduce the bling to see if I can identify which part causes the crashes. Regards, Bernard

Re: [OT] M1 Mac Mini USB problems

2021-10-28 Thread Bernard Devlin via use-livecode
I use a USB KVM to switch keyboard, mouse, monitor between M1 Mac Mini and a PC (the KVM is powered by USB even though it comes with an optional separate power source). If there was a general defectiveness in the Mac's USB support, I'd expect it to appear in this kind of scenario (as I switch

Re: Mudslinging and consequences - a change to our policy

2021-10-28 Thread Bernard Devlin via use-livecode
Thank heavens this policy change has finally come. Baseless accusations can end up affecting perception. Surrounded by negative criticism one can actually blame LC for defects that exist in oneself. It has happened to me, where I've tracked down the defect in my own work just before I was going

Re: OT: Priorities (was: Re: Stack with the same name loop)

2021-10-24 Thread Bernard Devlin via use-livecode
I don't see much benefit in coulda, woulda, shoulda. Tcl was so prominent it was actually listed in the HTML 4 reference spec as one of three possible languages which could be used to write dynamic HTML (VBScript, Tcl, Javascript). https://www.w3.org/TR/html401/interact/scripts.html Tcl being

Re: IDE crashing on Windows 10

2021-10-18 Thread Bernard Devlin via use-livecode
Hi Curry Thanks. It had occurred to me that it could be the SE bling that was causing the crashes. So I had switched off almost all of the bling. The crashes on clicking within the text field stopped after that - only a day or so now, but I haven't seen that kind of crash since I switched off

Re: IDE crashing on Windows 10

2021-10-16 Thread Bernard Devlin via use-livecode
Here's what I decided to do. I've put an intercept handler in a frontscript that doesn't allow mouseDown or mouseDoubleDown to pass if the target is the scriptEditor field. Those msgs are only sent when mousebutton 3 is used, so I'm disciplining myself to only click with that button in the script

IDE crashing on Windows 10

2021-10-15 Thread Bernard Devlin via use-livecode
LC 9.6.1 I can be in the Script Editor typing away. I move the mouse to click on another line of the script. Blammo. LC crashes. Any idea how this can be pinned down? I can't see any pattern. The only plugin open is Geoff's Navigator. There's only a few tabs open in the SE. The total size of

Re: Android SDK install without Android Studio (LC 9.6.5 App Bundles)

2021-10-15 Thread Bernard Devlin via use-livecode
I'm glad to hear that. I don't think my instructions were easy to follow. AFAIK Klaus was the only person able to benefit from them unaided. Others I had to walk through a debugging process as they either couldn't follow the instructions or they had a new problem which I hadn't yet encountered.

Re: Android SDK install without Android Studio (LC 9.6.5 App Bundles)

2021-10-15 Thread Bernard Devlin via use-livecode
One has to wonder why, if that is so simple, LC Ltd recommend that people install the full Android Studio. That is the only advice they provide on setting things up for Android development. You only have to look at the Lesson to see the problems people have with the existing procedure. There

Re: Webview scrolling

2021-10-09 Thread Bernard Devlin via use-livecode
Are you using mobileSetKeyboardDisplay "pan"? I found a bug with that too though. https://quality.livecode.com/show_bug.cgi?id=23245 On Sat, Oct 9, 2021 at 2:21 AM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > I told a web designer I'd ask here to see if anyone has

Re: OT: Priorities (was: Re: Stack with the same name loop)

2021-10-07 Thread Bernard Devlin via use-livecode
At least the new licensing model should allow LC to prioritise based on what customers use. IMO the open source initiative was the single biggest mistake LC Ltd made. With that drain on resources over hopefully they can get to work on fixing some of the outstanding deficiencies.

Re: Stack with the same name loop

2021-10-07 Thread Bernard Devlin via use-livecode
I guess it comes down to what different people are doing with LC. I get the erroneous "this script has been altered externally" message about 3 times a year. I never get the "A stack with the same name as the one you are trying to load" unless I really am opening two stacks with the same name.

Re: Starter Plan offer - China users

2021-09-28 Thread Bernard Devlin via use-livecode
Somehow I doubt that the process will be so crude that (e.g. Livecode.com DNS resolution fails) all standalones built with the Starter Plan would stop working. I'd imagine that the check for validity would happen for several days/weeks before an app stopped working. It surely isn't in LC Ltd's

Re: Android SDK lesson

2021-09-20 Thread Bernard Devlin via use-livecode
My advice to LC Ltd was: since Android Studio incorporates its own JDK and LC Ltd's official advice is to install Android Studio, then the simplest path is to have the IDE rely on the paths of that bundled JDK to setup and configure the LC/Android interactions. On Mon, Sep 20, 2021 at 12:43 PM

Re: Android SDK lesson

2021-09-19 Thread Bernard Devlin via use-livecode
Hi Lagi I'd suggest following the Lesson as the most straightforward route. Let us know if that doesn't work. Regards, Bernard On Sat, Sep 18, 2021 at 8:17 PM Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > > I will look for a thread by you and expect that it should be

Re: Android SDK lesson

2021-09-18 Thread Bernard Devlin via use-livecode
Good luck with that. For the last two people I helped on the Forum with that issue, it turned out that Google had provided a version of Android Studio where key build tools were missing. I discovered this after days of investigation in trying to help people get their setup working and after I

Re: M1 Mac possible problem

2021-09-15 Thread Bernard Devlin via use-livecode
No problems that I could see. On Wed, Sep 15, 2021 at 6:18 AM Peter Bogdanoff via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi to all those that did a test of my Music In the Air program some days > ago on your Mac. > > > ___ use-livecode

Re: M1 Mac possible problem

2021-09-10 Thread Bernard Devlin via use-livecode
I tried it on M1. After selecting "English" the next screen is in Chinese. However, going beyond that it is in English. I couldn't detect any problems. I went through half a dozen screens. The only one that didn't load was the Glossary, but a dialogue came up saying that wasn't available in this

Re: AW: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-09 Thread Bernard Devlin via use-livecode
o slowdown at > 13,000 lines on an older computer there is just no pattern. > > Lagi > > On Wed, 8 Sept 2021 at 18:54, Bernard Devlin via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > I pasted 8000 lines of text into Script Editor on Windows (ju

Re: SE Show Globals inverted

2021-09-08 Thread Bernard Devlin via use-livecode
Yes. I've also seen crashes on non-conditional breakpoints. I literally save before any test run. Then at suitable junctures I intercept savestack (+ controlKey down) to write the stack out as Json + script only stack and commit it all to my VCS. But again I haven't (yet) noticed a pattern with

Re: SE Show Globals inverted

2021-09-08 Thread Bernard Devlin via use-livecode
I've seen it for years too. I never worked out what caused it. But I'm an inveterate user of the message box when debugging. I will look out for a pattern to it now. On Wed, Sep 8, 2021 at 6:32 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > This has been going on

Re: AW: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-08 Thread Bernard Devlin via use-livecode
I pasted 8000 lines of text into Script Editor on Windows (just 1 large block comment). On typing chars take a couple of seconds to appear once there is that much text. Cut it down to 800 lines and it's fine. With 8000 lines switch off "live errors" and the slow typing issue is gone. I've

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-07 Thread Bernard Devlin via use-livecode
Hi Martin I'm interested in the web assembly for HTML5. I had actually written two different apps which I would have done as HTML5 but the loading time alone was just to slow. The increased loading speed alone should now make these possible as HTML5. There are still a lot of other things that

Re: Standard Plan Pricing Confusion

2021-09-07 Thread Bernard Devlin via use-livecode
I haven't looked into it as I have nothing to do with education. But doesn't the University plan give you all 7 platforms + additional features for about $950? https://livecode.com/education-plans/ On Tue, Sep 7, 2021 at 9:50 PM Timothy Bleiler via use-livecode < use-livecode@lists.runrev.com>

Re: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition)

2021-09-07 Thread Bernard Devlin via use-livecode
Without knowing anything other than "the IDE is like treacle" I loaded various stacks in Windows to see what the complaint could possibly be about. 8 seconds for IDE to start - no treacle on opening stacks 8 seconds to open Dictionary - no treacle on searching Dictionary (given it's loading 1000

Re: Suggestion: Non-Appbuilding Community Edition

2021-09-07 Thread Bernard Devlin via use-livecode
On Tue, Sep 7, 2021 at 12:13 AM Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > > Another company's software I used for visual Foxpro and Delphi over the > years was > > https://www.chilkatsoft.com/ > > Look at all the languages they support and livecode isn't on there

Re: Suggestion: Non-Appbuilding Community Edition

2021-09-06 Thread Bernard Devlin via use-livecode
Actually I wasn't particularly addressing you. For one thing, I'll wager you've got hundreds of posts on the Forum. On Mon, Sep 6, 2021 at 7:09 PM Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > My biggest "whine" is not the ending of the open source initiative - it's >

Re: Suggestion: Non-Appbuilding Community Edition

2021-09-06 Thread Bernard Devlin via use-livecode
On Mon, Sep 6, 2021 at 3:08 PM Kevin Miller via use-livecode < use-livecode@lists.runrev.com> wrote: > We have dabbled with a number of low cost /entry level offerings in the > past. There used to be a starter kit that allowed only a certain number of > lines of code per object. We had

Re: Suggestion: Non-Appbuilding Community Edition

2021-09-05 Thread Bernard Devlin via use-livecode
Over on the Forum I've seen several of the whiners criticising the lifetime licenses - people who have paid a tiny fraction of what we've paid (if they've paid anything at all)! I suspect their baseless criticisms have cost more than any of the whiners have paid in license fees. If I ran the

Re: Suggestion: Non-Appbuilding Community Edition

2021-09-05 Thread Bernard Devlin via use-livecode
I'm sure Kevin etc. doesn't share my view on this. But here it is. Get your popcorn. On Sun, Sep 5, 2021 at 2:56 PM Dan Brown via use-livecode < use-livecode@lists.runrev.com> wrote: > > It can't be any more harmful than abruptly pulling the rug from under the > feet of your largest user

Re: Suggestion: Non-Appbuilding Community Edition

2021-09-02 Thread Bernard Devlin via use-livecode
>> But the best way of selling it is to FIX the bloody IDE - I am running on a 16G 1 year Old 8th Generation CoreI7 processor and it STILL runs like treacle. << As I don't recognize this experience can you put a video of your experience on the cloud? I don't run on hardware anything like as

Re: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-02 Thread Bernard Devlin via use-livecode
Whilst waiting for a fix, would a temporary solution be to use sqlite to create an in-memory database and let sqlite do the sorting for you? Regards, Bernard. On Mon, Aug 30, 2021 at 8:23 PM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks to Mark Waddingham's

Re: LiveCode community edition is gone

2021-09-02 Thread Bernard Devlin via use-livecode
>> I can understand why there are users who feel betrayed by the company especially with the new pricing structure, and the discontinuance of support for the Community version which was even paid for in a marketing campaign in advance of it’s release. << The vast majority of the money contributed

Re: Licensing model change

2021-09-02 Thread Bernard Devlin via use-livecode
I see that some of "the community" have now uploaded dozens of the installers from the old Livecode page to archive.org. https://archive.org/search.php?query=creator%3A%22LiveCode%2C+Inc.%22 I don't know what LC Ltd's thinking was in deleting the old pages, but clearly some of "the community"

Re: Bye, and thanks for the fish

2021-09-02 Thread Bernard Devlin via use-livecode
Hi Kevin I've read your various interactions with people here and on the forum and I think you're handling this superbly In the last 5 years my house insurance has doubled in price (the house has remained the same size and the insurance offers no more features). At no point has my insurance

Re: Bye, and thanks for the fish

2021-09-02 Thread Bernard Devlin via use-livecode
Over on the forum Kevin has been encouraging people to contact support with any issues. Some are refusing to do so, making ridiculous demands in response. Yesterday I had a look at the historical prices to see if LC was significantly more expensive than Metacard: 2001 - Metacard ($995) [$288]

Re: LiveCode community edition is gone

2021-09-01 Thread Bernard Devlin via use-livecode
The vast majority of those who contributed to the Kickstarter were rewarded with something other than the free product. https://news.ycombinator.com/item?id=28379192 I suggest you go read the comments on the Forum and see who is being harsh. LC Ltd made a change that is within their rights to

Re: LiveCode community edition is gone

2021-09-01 Thread Bernard Devlin via use-livecode
FWIW over on the forums the sentiment seems to be mostly hostile to these changes. Many are talking of collecting and hosting past "community" installers to get around these changes by LC Ltd, others talking of jumping ship. Over there the attitude is "the sky is falling". I can only assume many

Re: LiveCode Community - anyone up for maintaining the community edition?

2021-09-01 Thread Bernard Devlin via use-livecode
nment presents? > > > > > > Schedule a call with me > > On 1 Sep 2021, 12:18 +0100, David V Glasgow via use-livecode < > > use-livecode@lists.runrev.com>, wrote: > > > > > > > > > > On 1 Sep 2021, at 11:26 am, Bernard Devlin vi

Re: LiveCode community edition is gone

2021-09-01 Thread Bernard Devlin via use-livecode
I can't say this surprises me. I didn't expect the open source offering to do anything but cut into the bottom line. But certainty isn't achieved until something is tried and actual results obtained. One of the good things about having the code source was that there have been times when I've

Re: forum login playing up

2021-08-14 Thread Bernard Devlin via use-livecode
On Fri, Aug 13, 2021 at 6:49 PM Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > > I check EVERY mail I receive! :-) > > But this is nothing I could fix, Heather needs to address this, so write > to: > supp...@livecode.com > > > Regards, Bernard > > Best > > Klaus > >

forum login playing up

2021-08-13 Thread Bernard Devlin via use-livecode
For days I've been having trouble logging in. Even if I choose "I forgot my password" and paste in the new long password the Forum emails to me, I can't log in with it. I was able to login the first time it did this, but as soon as I changed my password I was logged out and couldn't login again.

Re: httpd library

2021-07-25 Thread Bernard Devlin via use-livecode
Hi Andre It was probably 15 years ago when you said "I want to build a http daemon in Revolution". You were a young man :) BTW I've started using your dblibrary recently. If I pay for a license, will you get the money? Can you provide a link for where to make the payment? Regards, Bernard >

Re: httpd library

2021-07-25 Thread Bernard Devlin via use-livecode
Hi Rick Normally I'd agree with you (ever since Andre piped-up as a young man saying he was building a webserver in Livecode, I've thought "just use one of the many available webservers..") However this user wants this running on a mobile device. So he either gives up that idea or he starts

httpd library

2021-07-25 Thread Bernard Devlin via use-livecode
Hi all Over on the forum someone has run into what appear to be limitations of LC's included httpd library. I remember over the years seeing that various people implemented something like this (Andre comes to mind). The forum user wants to be able to run a LC app on a mobile device within a LAN

Java FFI on Windows

2021-02-01 Thread Bernard Devlin via use-livecode
In the Extending Livecode part of the Dictionary it says: *"Java bindings are currently supported on Android, Mac and Linux."* I am at a loss to understand why Java extensions are supported on Mac and Linux but *not* on Windows. I've seen no explanation for this anywhere. Can someone enlighten

Re: open secure socket... using certificate

2021-01-29 Thread Bernard Devlin via use-livecode
Hi Richard The idea of client certificates was why I was looking for this feature for the past 15 years. I know that PKI is complex but it is important (which is why browsers implemented it decades ago). Even tsNet behaves very differently on Windows and OS X when it comes to server certificates

Re: open secure socket... using certificate

2021-01-29 Thread Bernard Devlin via use-livecode
Hi Richard, it's client side. The project is a messaging app, principally for mobile. SSL/TLS certificates issued with client software enable servers to know that the connection is allowed at a network level before any user authentication. In the early stages of development it was simple enough

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

  1   2   >