Re: LiveCode server as OAuth2 client for APIs?

2023-12-08 Thread Ralf Bitter via use-livecode
ta["ListItems"] get rigLoadView("homeMainView") I’m probably making multiple newbie errors, but I’ve been unable to find any worked examples of RevIgniter controller and view file markup for form posting. So, I’d be obliged for any hints and tips. Best, Keith On 6 Dec 2023, a

Re: LiveCode server as OAuth2 client for APIs?

2023-12-06 Thread Ralf Bitter via use-livecode
Hi Keith, using revIgniter you can always hard code the opening form tag, this way you can use any URL as an action attribute. However, your message has prompted me to change the rigFormOpen() function so that you can override the current URL with the value of an optional action attribute

Re: Universal buttons: bugs or feature

2023-10-18 Thread Ralf Bitter via use-livecode
These issues are fixed in the latest release version 1.4.0. Ralf On 15.10.2023 21:23, Mark Smith via use-livecode wrote: Hello all, Recently I decided to try out a number of different button styles to see which ones I liked best, and I ran across some odd behaviour with “Universal”

Re: Universal buttons: bugs or feature

2023-10-15 Thread Ralf Bitter via use-livecode
Neither, it is quite simply sloppiness. Sorry for that, will look into it. Ralf On 15.10.2023 21:23, Mark Smith via use-livecode wrote: Are these differences in the Universal button deliberate features or bugs? If features, why so? ___

Re: Encoding in LC server - the final piece of the puzzle

2023-09-17 Thread Ralf Bitter via use-livecode
Neville, you need to send the header before outputting anything else. So, this means your LC server script should send the header and then the HTML data. Ralf On 17.09.2023 01:56, Neville Smythe via use-livecode wrote: Ralf wrote did you try: put header "Content-Type: text/html;

Re: Encoding in LC server - the final piece of the puzzle

2023-09-16 Thread Ralf Bitter via use-livecode
Neville, did you try: put header "Content-Type: text/html; charset=" & quote & "UTF-8" & quote before sending the output to the client? Ralf On 16.09.2023 03:11, Neville Smythe via use-livecode wrote: With the help of forum readers I have textEncode/Decode working in LC Server so that I

Re: LC Server and forcing page refreshes

2023-05-30 Thread Ralf Bitter via use-livecode
Hi Tim, how about adding a query string in the form of a timestamp to the member’s URL like: ?foo=1685433742125 Ralf On 30.05.2023 02:32, Tim Selander via use-livecode wrote: Once again find myself over my head in just a simple programming project. I made a little club members directory

Re: Training the AI to write better LiveCode

2023-01-21 Thread Ralf Bitter via use-livecode
Richard, thanks very much, you certainly hit the nail. Ralf On 20.01.2023 20:22, Richard Gaskin via use-livecode wrote: If ChatGPT can write script, it can write machine code. If it can write machine code, scripting is unnecessary. If scripting goes, so goes scripting tools. So before

Re: Sad news about Brahmanathaswami

2022-12-25 Thread Ralf Bitter via use-livecode
I am very sorry to read this. We had worked together on and off for almost 10 years. I never met him in person, but I think I can say that we got along well. Brahmanathaswami, wherever you are, I will keep you in my memory. Ralf On 25.12.2022 18:00, Andre Garzia via use-livecode wrote: Dear

Re: Crash on launching LC server version > 9.6.7 using terminal

2022-12-09 Thread Ralf Bitter via use-livecode
Hi all, Applying Mark's advice to all included dylib files, in addition to the server executable, solved the problem. Ralf On 08.12.2022 17:59, Mark Waddingham via use-livecode wrote: Hi Ralf, have any of you ever experienced that a version of LC Server newer than 9.6.7 crashes on

Re: Crash on launching LC server version > 9.6.7 using terminal

2022-12-08 Thread Ralf Bitter via use-livecode
Hi Mark, thanks very much for taking the time. I made a note of your comment at the time but did not catch stam's subsequent comments (regarding the codesignature of server dylib files). Your instructions helped partially, as launching LC server from the terminal did not crash the executable,

Crash on launching LC server version > 9.6.7 using terminal

2022-12-07 Thread Ralf Bitter via use-livecode
Hi all, have any of you ever experienced that a version of LC Server newer than 9.6.7 crashes on launching using hashbangs? This is the case for me on a MacBook Pro M1 running macOS Monterey 12.6. I suspect this is related to incorrect code signing, as the crash report shows that the kernel

Re: arrayencode

2022-06-23 Thread Ralf Bitter via use-livecode
On 23.06.22 14:23, Alex Tweedly via use-livecode wrote: On 23/06/2022 10:31, Ralf Bitter via use-livecode wrote: Hi Alex, the JSONtoArray() function is part of the mergJSON external. The README of this external describes how to use this function and it's counterpart JSONtoArray as follows

Re: arrayencode

2022-06-23 Thread Ralf Bitter via use-livecode
Hi Alex, the JSONtoArray() function is part of the mergJSON external. The README of this external describes how to use this function and it's counterpart JSONtoArray as follows: This external has been implemented to encode/decode UTF8 JSON to a LiveCode array as quickly as possible. Currently

Re: [ANN] Universal Button 1.2.0

2022-06-19 Thread Ralf Bitter via use-livecode
Thank you, Mike. On 19.06.22 15:17, Mike Kerner via use-livecode wrote: I, for one, appreciate these sorts of messages. On Fri, Jun 17, 2022 at 8:43 AM Ralf Bitter via use-livecode < use-livecode@lists.runrev.com> wrote: At the risk of getting on your nerves, but there is anoth

[ANN] Universal Button 1.2.0

2022-06-17 Thread Ralf Bitter via use-livecode
At the risk of getting on your nerves, but there is another new version of the "universal button" widget. Added text alignment controls and a horizontal margin ratio slider in the "Text" section. You have now better control over text and icon placement in case icon gravity is set to "left" or

[ANN] Universal Button version 1.1.1

2022-06-16 Thread Ralf Bitter via use-livecode
There is a new version of the "universal button" widget. Fixed the compatibility loss with buttons created with previous widget versions. Sorry if this caused problems. This release can be downloaded here: https://github.com/revig/universal-button-widget/releases Ralf

[ANN] Universal Button version 1.1.0

2022-06-15 Thread Ralf Bitter via use-livecode
There is a new version of the "universal button" widget which can be used as a replacement for the segmented control widget. The widget icon can now be placed independently of the label and the size of the icon can be customized. This release can be downloaded here:

Re: Would anyone miss convertOctals?

2022-06-09 Thread Ralf Bitter via use-livecode
On 09.06.22 14:44, Mark Waddingham via use-livecode wrote: So I'm currently sitting here about to embark on fixing (which is the final thing to sort out before being able to merge my constant expression patch) and I was reminded of

Re: Server directory of a running script

2021-11-12 Thread Ralf Bitter via use-livecode
You might try $_SERVER["PATH_TRANSLATED"] Ralf On 12.11.21 10:59, jbv via use-livecode wrote: Hi list, Is there a way to get the full path of the server directory/subdirectory in which an LC script is running, from within the script itself while it is running ? I have a Livecode Hosting

[ANN] New version of the "universal button" widget

2021-08-19 Thread Ralf Bitter via use-livecode
There is a new version of the "universal button" widget which can be used as a replacement for the segmented control widget. There was an issue with round corners and wide borders which was fixed by Bernd Niggemann, thanks Bernd. Furthermore spacing between icon, text and border has been

Re: Call lc from php?

2021-01-24 Thread Ralf Bitter via use-livecode
Hi Richard, I agree to your comments, especially to the first paragraph ;) Joking aside, regarding CMS, CRS, LMS etc., I was thinking about developing a CMS based on revIgniter for quite some time, just for the sake of increasing the diversity, but stayed away from doing it because, if done

Re: Trying to use the Segmented Control

2021-01-21 Thread Ralf Bitter via use-livecode
Thank you, I'm glad to see that there is someone who finds use for the widget. Ralf On 20.01.21 22:33, J. Landman Gay via use-livecode wrote: On 12/4/20 3:32 AM, Niggemann, Bernd via use-livecode wrote: Ralf Bitter wrote See: https://github.com/revig/universal-button-widget/releases/tag

Re: Checking a received header for LC Server or revIgniter>

2020-12-18 Thread Ralf Bitter via use-livecode
Accidentally I sent the following message to David directly, maybe it is helpful for others too: If you go the revIgniter route use rigGetHTTPheader("myCustomHeader"), otherwise you can use $_SERVER["HTTP_myCustomHeader"]. Ralf On 17.12.20 00:35, David Bovill via use-livecode wrote: I’m

Re: Checking a received header for LC Server or revIgniter>

2020-12-17 Thread Ralf Bitter via use-livecode
Hi David, if you go the revIgniter route use rigGetHTTPheader("myCustomHeader"), otherwise you can use $_SERVER["HTTP_myCustomHeader"]. Ralf On 17.12.20 00:35, David Bovill via use-livecode wrote: I’m looking to check for received custom headers on a Livecode + revIgniter based server. I

Re: Trying to use the Segmented Control

2020-12-11 Thread Ralf Bitter via use-livecode
Roland thanks, did what you proposed, means I added two check boxes to toggle the properties of the button group. And please don't forget to send me your button bar. Ralf On 10.12.20 23:30, R.H. via use-livecode wrote: @ Ralf Bitter Dear Ralf, I downloaded your segmented control from

Re: Trying to use the Segmented Control

2020-12-04 Thread Ralf Bitter via use-livecode
Bernd thanks, at some point I just wanted to do away with the shortcomings of the segmented control. Though modifying the segmented control might have been a better approach. Ralf On 04.12.20 10:32, Niggemann, Bernd via use-livecode wrote: Ralf Bitter wrote See:https://github.com/revig

Re: Trying to use the Segmented Control

2020-12-03 Thread Ralf Bitter via use-livecode
Hi Roland, I added a custom property "multipleHighlights" to the widgets group (segmented control) of the demo stack and modified the behavior script, so that the functionality is on par with the segmented control widget. See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1

Re: Trying to use the Segmented Control

2020-12-02 Thread Ralf Bitter via use-livecode
Hi Roland, I have a LCB widget I used as a replacement for the segmented control. My "segmented control" actually consists of a group of button widgets, but it seems it comes close to what you are looking for. See: https://github.com/revig/universal-button-widget Ralf On 30.11.20 12:05,

Re: mergDocCanOpen opens iOS sharing menu

2020-05-13 Thread Ralf Bitter via use-livecode
he behavior. Checking the result after > `mergDocShow*` commands will still report if the document interaction > controller was able to be shown for the document. > > Cheers > > Monte > >> On 13 May 2020, at 4:07 am, Ralf Bitter via use-livecode >> mail

mergDocCanOpen opens iOS sharing menu

2020-05-12 Thread Ralf Bitter via use-livecode
Seems there is an issue with mergDocCanOpen(). Whenever this function is called the iOS sharing menu shows up for a short moment at the top of the screen. I am running LC 9.6.0 (rc1) and iOS SDK 13.2. The particular script including this function worked fine in earlier versions. Does anybody have

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Ralf Bitter via use-livecode
Hi Martin, I agree with your proposed approach. But keep in mind that you can upgrade revIgniter directly to the latest version as long as you go the upgrade route as described in the user guide, see Upgrading from 1.10.3 to 2.0.0. The description applies to your case even if you upgrade from

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Ralf Bitter via use-livecode
If your server environment is 64bit and you upgrade your revIgniter installation to 2.x then from my point of view there is no reason not to use the latest stable LC server version. In any case the revIgniter version 2.x requires LC server 9.0 or higher. Ralf > On 19. Feb 2020, at 15:09, Martin

Re: LC Server - HTTP response code 500: permission denied error

2020-02-19 Thread Ralf Bitter via use-livecode
Martin, you mentioned that you migrated an application to a new server. Did you double-check the path to your executable in your server configuration? Are you sure that there is no library dependency problem on this server? What is the output if you run: ldd path/to/your/livecode-server from a

Re: LC Server - HTTP response code 500: permission denied error

2020-02-18 Thread Ralf Bitter via use-livecode
Hi Martin, don’t know if the issue is somehow related to the new server environment as I am not familiar with LiteSpeed Web Server. The permissions (644) for the files in drivers and externals should be OK (just check that the permissions for these folders are set to 755). Did you try to load a

Re: LC Server - HTTP response code 500: permission denied error

2020-02-10 Thread Ralf Bitter via use-livecode
Hi Martin, this is just a shot in the dark: What happens if your URL includes “index.lc”, like: https://api.myapp.com/index.lc/myapp_db/listProjects Ralf ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: revigniter.com - Temporarily closed for maintenance purposes.

2019-11-13 Thread Ralf Bitter via use-livecode
Sorry, I should have read the subject. So, of course the uncertainty comes from the closed site. Ralf > On 13. Nov 2019, at 13:55, Ralf Bitter via use-livecode > wrote: > > Hi Riko, > > don’t know where the uncertainty comes from. May be because > the official site was c

Re: revigniter.com - Temporarily closed for maintenance purposes.

2019-11-13 Thread Ralf Bitter via use-livecode
Hi Riko, don’t know where the uncertainty comes from. May be because the official site was closed for maintenance purposes. Yesterday I happened to find out that the value of the $_GET variable has changed for some reason without any effort on my part. This caused a “Page not found” error because

Re: Atom Linting

2019-11-11 Thread Ralf Bitter via use-livecode
> On 10. Nov 2019, at 03:12, Brian Milby via use-livecode > wrote: > > When I tried, I had to make an additional change > to get things to work. Brian, does linting LC code work for you an Mac OS too? On Ubuntu it works here as expected but since recently on Mac OS I get: [Linter]

Re: Atom Linting

2019-11-10 Thread Ralf Bitter via use-livecode
Brian, thank you. Hopefully your consolidated PR will be merged. Ralf > On 10. Nov 2019, at 03:12, Brian Milby via use-livecode > wrote: > > Well, I've been dealing with Atom not being able to lint my LiveCode files > for months. I finally decided to try to figure out what was going on. >

Re: LiveCode Server

2019-10-19 Thread Ralf Bitter via use-livecode
Thanks for the info Todd. This explains why I had an issue on Mac OS. I once added the directive to .htaccess. Ralf > On 19. Oct 2019, at 06:08, Todd Fabacher via use-livecode > wrote: > > GOOD NEWS - Got it to work. Someone should take note an issue with > Apache 2 and LiveCode server > >

Re: LiveCode Server

2019-10-17 Thread Ralf Bitter via use-livecode
> On 17. Oct 2019, at 19:27, Lagi Pittas via use-livecode > wrote: > > HI Ralph > > Basically the server script does this > > put arrayEncode($_SERVER) and sends back everything within the $_SERVER > variable > we then decode it in the App > > It gives us everything shown in the

Re: LiveCode Server

2019-10-17 Thread Ralf Bitter via use-livecode
> On 17. Oct 2019, at 17:24, Lagi Pittas via use-livecode > wrote: > > There is no $_SERVER["HTTP_Authorization"] in the docs the closest is > $_SERVER["HTTP] but since > the code gives an error and the return is empty it's a moot point. Lagi, the original question was: > how to read an

Re: LiveCode Server

2019-10-17 Thread Ralf Bitter via use-livecode
rray > > Basically is there a way of doing that in pure livecode server? > > Regards Lagi (and Todd) > > On Thu, 17 Oct 2019 at 14:18, Ralf Bitter via use-livecode < > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>> wrote: > >> Tod

Re: LiveCode Server

2019-10-17 Thread Ralf Bitter via use-livecode
Todd, sending Authorization HTTP request headers to LC server on Linux should work. I have troubles with request headers too, but only on Mac OS. Ralf > On 17. Oct 2019, at 13:56, Todd Fabacher via use-livecode > wrote: > > Hello all, > > We are running LC Server Scripts to process some

Re: Questions about LC Server Apps

2019-10-09 Thread Ralf Bitter via use-livecode
> On 9. Oct 2019, at 14:43, Richard Gaskin via use-livecode > wrote: > > I remember reading about session management, and I believe it was in the > Server Guide. Do any of you have a copy? That would save me from poking > around through the old builds until I find it. > > Once we have it

Re: [off]sublimeText update

2019-03-26 Thread Ralf Bitter via use-livecode
Trevor, this looks very promising. Thanks for looking into it. Ralf > On 26. Mar 2019, at 15:05, Trevor DeVore via use-livecode > wrote: > > On Tue, Mar 26, 2019 at 8:28 AM Ralf Bitter via use-livecode < > use-livecode@lists.runrev.com <mailto:use-livecode@lis

Re: [off]sublimeText update

2019-03-26 Thread Ralf Bitter via use-livecode
> On 13. Mar 2019, at 15:17, Mike Kerner via use-livecode > wrote: > > The ST kluge works great for updating scripts live in > LC, except when it doesn't, and I don't think we have a way to do it with > Atom, yet. There are definitely ways to do it in Atom too. Here is how I managed to

Re: Troubleshooting revIgniter library functions

2018-11-30 Thread Ralf Bitter via use-livecode
Hi Keith, seems that you have overlooked that your library handler is not a function, see line put somehandler() into gData["testlib"] in your controller. Furthermore don’t forget to adjust the name of your library initialisation handler to “rigRunInitialteslibConfig”. Ralf

Re: Troubleshooting revIgniter library functions

2018-11-30 Thread Ralf Bitter via use-livecode
Hi Keith, if you change the name of your library to Testlib.lc and if you adjust the name in your controller respectively all should work as expected. There is a naming convention for library files, i.e. camel case is not allowed, but it seems this is not mentioned in the user guide. Sorry for

Re: Troubleshooting revIgniter library functions

2018-11-30 Thread Ralf Bitter via use-livecode
Hi Keith, in addition to Andre’s valuable tips I would like to comment that your approach should actually work, but be advised to make sure you include your custom library as described here: https://revigniter.com/userGuide/general/creating_libraries.html Furthermore you can leave

Re: LiveCode server with revIgniter - new controller pages get 404 errors?

2018-11-28 Thread Ralf Bitter via use-livecode
Hi Keith, sorry for responding late. Glad you found the source of the issue, and thanks for the suggestion to improve the docs, changed the user guide accordingly. Thanks again Ralf > On 28. Nov 2018, at 11:03, Keith Clarke via use-livecode > wrote: > > Fixed shared for future reference….

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

2018-09-05 Thread Ralf Bitter via use-livecode
Hmm... don't remember and don't have any further infos. > On 5. Sep 2018, at 10:07, Matthias Rebbe via use-livecode > wrote: > > One question: Did you find out about that by your own or was it announced > somewhere, maybe with additional useful information? > > Regards, > > Matthias

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

2018-09-05 Thread Ralf Bitter via use-livecode
Matthias, in my understanding you need to add the path to the resources where all the zoneinfo is lacated using "with resource path". Ralf > On 5. Sep 2018, at 10:34, Matthias Rebbe via use-livecode > wrote: > > Hm, > > seems i was a little bit to quick with my answer. > > Loading the

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

2018-09-05 Thread Ralf Bitter via use-livecode
Hi Matthias, loading extensions (.lcm files) works with LC server too. Please see "load extension" in the dictionary. Ralf > On 5. Sep 2018, at 00:56, Matthias Rebbe via use-livecode > wrote: > > Hi, > > i´ve just noticed that the new Timezone Library is not available under > Livecode

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-29 Thread Ralf Bitter via use-livecode
Panos, thanks a lot. Ralf > On 29. Jun 2018, at 00:18, panagiotis merakos wrote: > > Hi all, > > This problem happened because some on-rev servers (Jasmine, Sage and Diesel) > had only the 64 bit version of this library, while others (e.g. Tio) had both > the 32 and 64 bit version. > >

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-27 Thread Ralf Bitter via use-livecode
Hi Matthias, > On 26. Jun 2018, at 23:57, Matthias Rebbe via use-livecode > wrote: > > Hm, On-Rev support told me that GLIBC 2.1.4 is needed to run Livecode Server > 9 64bit on On-Rev. The 32bit version is working on On-Rev with the older one. > They did not mention that this library is also

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-27 Thread Ralf Bitter via use-livecode
Hi Charles, > On 27. Jun 2018, at 08:44, Charles Warwick via use-livecode > wrote: > > Are you referring to asynchronous functions that are only available in the > business edition? These will fail due to the same issue as tsNetGet and > tsNetSendCmd, so no need to file a separate bug

Re: What exactly does the status pending in Livecode Quality Control Center mean

2018-06-26 Thread Ralf Bitter via use-livecode
Panos, did tsNet tests only on localhost like you, using 64-bit Ubuntu 16.04 and 64-bit Ubuntu 16.04 Server. In a nutshell following the results of my tests: - There is bug 18961. An issue regarding tsNetSendCmd() is presumably related. Other Indy features work as expected. - Although the

Re: Levure - flicker prior to displaying UI stack on iOS

2018-06-08 Thread Ralf Bitter via use-livecode
Hi Trevor, wonderful, it works! Thanks a lot for looking into it. Now I am at risk to get addicted to Levure though. Ralf > On 7. Jun 2018, at 23:02, Trevor DeVore via use-livecode > wrote: > > Try changing line 507 (or thereabouts) in `levure.livecodescript` to the > following: > > ```

Re: Levure - flicker prior to displaying UI stack on iOS

2018-06-05 Thread Ralf Bitter via use-livecode
Hi Trevor, thanks a lot for offering your help. The test project to demonstrate the issue is available at: https://spideroak.com/browse/share/soRabit/trevorSharing Ralf > On 5. Jun 2018, at 21:15, Trevor DeVore via use-livecode > wrote: > > Can you upload a test stack for me to look at? If

Levure - flicker prior to displaying UI stack on iOS

2018-06-05 Thread Ralf Bitter via use-livecode
Currently I am developing an iOS app for iPad using Trevor DeVore’s awesome Levure framework. Unfortunately I am observing an annoying screen flicker during the startup sequence while the UI stack is opened and the Levure standalone is closed. The iOS splash screen, as defined in settings, is

Re: Livecode 9 Server seems not to run when custom installed on On-Rev and HostM

2018-05-31 Thread Ralf Bitter via use-livecode
> On 31. May 2018, at 13:21, Matthias Rebbe via use-livecode > wrote: > > Did you try to run Livecode Server from ssh command line? That sometimes > returns useful error messages. This returns: “error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No

Re: Livecode 9 Server seems not to run when custom installed on On-Rev and HostM

2018-05-31 Thread Ralf Bitter via use-livecode
Hi Matthias, to get LC server 9 running on On-Rev I was told by the support team: “We can't upgrade glibc because of operating system incompatibilities. However, we have installed it along side the current 2.12 version at /opt/glibc-2.14/bin” This means you have to launch the server

Re: mergDoc - no preview, no sharing

2018-05-30 Thread Ralf Bitter via use-livecode
Hi Monte, thanks a lot! Copied the files to specialFolderPath("documents") and all works as expected. Thanks again and warm regards Ralf > On 30. May 2018, at 00:29, Monte Goulding via use-livecode > wrote: > > Hi Ralf > > I think there is a bug or perhaps deliberate policy change on

mergDoc - no preview, no sharing

2018-05-29 Thread Ralf Bitter via use-livecode
Is there anybody who can confirm that the iOS external mergDoc plays nicely in an iOS 11.2 or iOS 11.3.1 environment? I am particularly interested to know if handler mergDocShowPreview and “Copy to …” share extensions using mergDocShowOpenInMenu or the share button work. My tests using the

Re: Is anyone using tsNet external with LCserver?

2018-05-28 Thread Ralf Bitter via use-livecode
Hi Panos, I know that tsNetVersion() yielding an error is fixed. But does this really mean that all tsNet Business features are enabled on LC server (business)? Just did tests (got my files from the shelf) using as an example asynchronous requests, which failed. Synchronous flavours worked as

Re: Is anyone using tsNet external with LCserver?

2018-05-28 Thread Ralf Bitter via use-livecode
Be aware of these issues - Using tsNetGet() on LC server to request a files list from a FTP server returns nothing, so tsNetRetrData() is empty. http://quality.livecode.com/show_bug.cgi?id=18961 related, but didn't write a separate report: - Using tsNetSendCmd() on LC server to send an

Re: Livecode Content Management System

2017-12-01 Thread Ralf Bitter via use-livecode
Hi Alex, here are my offhand and fairly blunt thoughts on your undertaking. First of all I think that the primary challenge in building a CMS, no matter if you use LiveCode, PHP or whatever, is to provide a tool for an audience which is not that tech-savvy. So, the process of managing web content

Re: Rant on my favourite topics : LC server with a side-dish of on-rev :-)

2017-11-18 Thread Ralf Bitter via use-livecode
Hi Alex, you should find the JSON extension in: Tools/Extensions/com.livecode.library.json/module.lcm If you use revIgniter create a folder “extensions” in your application folder and place the “com.livecode.library.json” folder including the “module.lcm” file there. Then load the

Re: tsNet licensing error using the business version of LC server

2017-06-03 Thread Ralf Bitter via use-livecode
Indeed, LC server Business does not differ from LC server Indy. Anyway, all I would like to achieve is to get access to the extended feature set of tsNet Business on LC server. Would be a pity if this is not possible, as this was one of the main reasons I purchased a LC Business license. Ralf

Re: tsNet licensing error using the business version of LC server

2017-06-02 Thread Ralf Bitter via use-livecode
gt; ‌matthiasrebbe.eu <http://matthiasrebbe.eu/> <http://matthiasrebbe.eu/ > <http://matthiasrebbe.eu/>>‌ > >> Am 29.05.2017 um 18:29 schrieb Ralf Bitter via use-livecode >> <use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com

tsNet licensing error using the business version of LC server

2017-05-29 Thread Ralf Bitter via use-livecode
LC server yields an error on Ubuntu 16.04 Lts using any LC server business version and the associated tsNet version: “external: unlicensed (tsNet)” This is strange as there is no licensing issue with the Indy version. Seems the business license being valid needs to be approved somehow, but how

Re: sysError List?

2017-05-14 Thread Ralf Bitter via use-livecode
Hi Rick, > On 14. May 2017, at 15:51, Rick Harrison via use-livecode > wrote: > > Hi Ralf, > > Are you doing this in an LC Server > by accessing the script through a > web-browser such as Safari? yes, the path the script yields is:

Re: sysError List?

2017-05-14 Thread Ralf Bitter via use-livecode
MacOS 10.12.4 LC server 8.1.4-rc-2 Your script works as expected here, yields the path to the temporary items folder. Ralf > On 13. May 2017, at 18:27, Rick Harrison via use-livecode > wrote: > > Hi Richard, > > Ok, so I did the upgrade to version 8.1.4 RC 2

Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Ralf Bitter via use-livecode
I can replicate this behavior, but it only happens in case the code is not indented. Mac Sierra LC 8.1.3-rc-1 Ralf > On 27 Jan 2017, at 07:23, Sannyasin Brahmanathaswami via use-livecode > wrote: > > I have a bug report on this but HQ says they cannot

Re: tsNetInit and LiveCode server

2016-10-18 Thread Ralf Bitter
Thanks very much Charles for the response. Ralf > On 18.10.2016, at 02:59, Charles Warwick > wrote: > > Hi Ralf, > > In the current versions of tsNet, tsNetInit can potentially return before it > is completely initialised (the initialisation completes on

tsNetInit and LiveCode server

2016-10-17 Thread Ralf Bitter
Is the tsNet external working with LiveCode server? Did tests using server version 8.1.1 rc2 on Mac OS X 10.11.6. Seems that initialization (tsNetInit) doesn't work. The result of tsNetGetSync is "tsneterr: Not initialised" although tsNetInit is called prior to calling any other tsNet handlers

Re: LC Server: Getting a file list when filenames use UTF8

2016-10-17 Thread Ralf Bitter
Seems that I can confirm your findings. Did a test on diesel using server version 8.1.1-rc-2. If there is a file "こんにちは.txt" the file list retrieved is empty. To get a file list I have to remove the Japanese file. Ralf > On 17.10.2016, at 10:21, Tim Selander wrote: >

Re: [revIgniter] revIgniter and LC8

2016-05-05 Thread Ralf Bitter
Sorry for coming late. The superfluous "then" keyword in system/libraries/Input.lc -> _rigValid_ipv4() was overlooked because server engine versions prior to 8 were forgiving and didn't complain. The bug is fixed since version 1.7.2. So, all of you who use older versions need to fix this in case

Re: Cool stuff with Atom

2015-09-17 Thread Ralf Bitter
Superb, thanks Monte! Ralf ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-03 Thread Ralf Bitter
> On 03.09.2015, at 02:06, Kay C Lan wrote: > > Ralf, > > you say you restarted Atom and the snippet was there: Where? There are two > locations for snippets in Atom as far as I'm aware: > > 1) Atom menu -> Open Your Snippets >This is empty for me because I

Re: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter
> On 01.09.2015, at 19:02, Roger Eller <roger.e.el...@sealedair.com> wrote: > > On Tue, Sep 1, 2015 at 10:24 AM, Ralf Bitter <ra...@revigniter.com> wrote: > >> >>>>> Did you install and enable the revIgniter theme? >>>>> >>&

Re: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter
You are right, I use custom packages, mainly to keep revIgniter stuff separat from LiveCode server syntax. But I disabled my packages, enabled the one provided by Peter Brett, restarted Atom and the snippet was there. So, assuming you use the latest version (0.5.1) I am at a loss. Ralf > On

Re: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter
> On 01.09.2015, at 16:08, Roger Eller <roger.e.el...@sealedair.com> wrote: > > On Tue, Sep 1, 2015 at 9:58 AM, Roger Eller <roger.e.el...@sealedair.com> > wrote: > >> On Tue, Sep 1, 2015 at 9:51 AM, Ralf Bitter <ra...@revigniter.com> wrote: >> &

Re: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter
> On 01.09.2015, at 05:44, Kay C Lan wrote: > > 6) Boilerplates. If you type 'if' or 'repeat' you are offered up an > autocomplete. For some reason 'switch' is not included but then again in my > TE I had to manually add the if and repeat boilerplates, Atom comes with

Re: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter
> On 01.09.2015, at 15:44, Roger Eller wrote: > > I just typed swi (tab) and it gave me: >switch switchExpression > case caseValue ># code... > break > default > # code... >end switch > > Colorization is not working though. Did

Re: How to show the Windows 8 on screen keyboard in LiveCode?

2015-01-16 Thread Ralf Bitter
to tPowerShellPath get shell(start ' $CommonProgramW6432 \microsoft shared\ink\TabTip.exe') -- Note the use of single and double quotes! Sorry for soliloquizing but I thought this could be useful for others too. Ralf On 14.01.2015, at 17:47, Ralf Bitter ra...@revigniter.com wrote

How to show the Windows 8 on screen keyboard in LiveCode?

2015-01-14 Thread Ralf Bitter
Shouldn't the on screen keyboard of Windows 8 tablets pop up automatically on touching a text input control? A client who installed a standalone built with LiveCode 6.7.1 on a Toshiba tablet reports that the soft keyboard doesn't show up tapping a text input field. Thought that, as a

Re: Livecode Server on Dreamhost fails in Ubuntu upgrade

2014-11-10 Thread Ralf Bitter
The do command does not work outside of a handler context. This applies currently to version 7.0 only. Ralf On 10.11.2014, at 20:30, Phil Davis rev...@pdslabs.net wrote: Hi Richard, Stephen, all, I upgraded my DH/LC server to 7.0 and am finding I can't use do in my scripts. Is that

Re: Livecode Server on Dreamhost fails in Ubuntu upgrade

2014-11-10 Thread Ralf Bitter
On 11.11.2014, at 00:14, Richard Gaskin ambassa...@fourthworld.com wrote: Is that a bug or a feature? One of the reasons I almost never use do is we have to be very careful in server environment to insulate it from inputs, lest it become a nasty injection exposure. In view of this I

Re: [ANN] mergExt Updates for iOS 8.1 and mergNotify 2

2014-10-23 Thread Ralf Bitter
That was quick. Thanks very much Monte! Ralf On 23.10.2014, at 09:12, Monte Goulding mo...@sweattechnologies.com wrote: Hi LiveCoders Today I am releasing updates for all the mergExt externals to add iOS 8.1 support. This will bean you can build with LiveCode 6.6.5 against Xcode 6.1.

Re: on-rev Client

2014-10-14 Thread Ralf Bitter
Same here. Ralf On 14.10.2014, at 06:49, Paul Hibbert paulhibb...@mac.com wrote: http://newsletters.livecode.com/august/issue177/newsletter2.html It was reported in the newsletter 177 that the On-Rev Client was working again, I tested it at the time and managed to log on successfully,

Re: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-11 Thread Ralf Bitter
Peter, code colorization (as well as code completion) is implemented solely for server related parts of the language because the bundle is meant to be used for working with LiveCode server files. So, if you add ?lc or ?rev or ?livecode at the top of your code, colorization should work (with

CEF browser - how to allow cross origin requests using the file:// protocol?

2014-07-11 Thread Ralf Bitter
As you might know the new CEF browser doesn't support access to local files (file://) using XMLHttpRequest. Of course, JSONP would be a solution but not in my special case. I need to display local Keynote presentations (exported to HTML). Keynote uses JSONP in case the protocol is file://. So,

Re: CEF browser - how to allow cross origin requests using the file:// protocol?

2014-07-11 Thread Ralf Bitter
Hi Mark, many thanks for your reply. The need to change the engine was what I was afraid of. This would mean, that I am at a loss as I hate to launch another application to display the presentations. Ralf On 11.07.2014, at 14:59, Mark Wilcox m...@sorcery-ltd.co.uk wrote: I had a very quick

Re: CEF browser of LiveCode 6.7 dp4 and video playback

2014-07-08 Thread Ralf Bitter
Hey Ralf, just use the right codec. Although Chrome plays H264, the CEF browser does not. Use ogg or webm instead. Ralf PS: Did I already mention that the performance of the CEF browser of LiveCode 6.7 dp4 on Mac seems to be pretty poor? On 07.07.2014, at 19:41, Ralf Bitter ra

CEF browser of LiveCode 6.7 dp4 and video playback

2014-07-07 Thread Ralf Bitter
Just to make sure that it is not my fault: Can anybody confirm that videos embedded using HTML5 syntax do not play in the new CEF browser? Tested a really simple HTML5 page including just one video emebedded using the video tag. This video plays fine in Chrome but not in the CEF browser of

Re: New browser

2014-04-03 Thread Ralf Bitter
Hi Jacqueline, in case you mean the ability to call a LiveCode handler from within the browser using the new revBrowserAddJavaScriptHandler command and not the other way round (like using revBrowserExecuteScript) my finding is that this works as expected. As an aside I noticed that on Mac the

mergExt Kickstarter Reward to give away for free

2013-07-30 Thread Ralf Bitter
The subject says it. I would like to pass my mergExt Kickstarter Reward on to someone else for free. So, those who are seriously interested in mergExt, an indispensable tool if you develop for iOS, may let me know by sending me a private email to rbprivate (at) mac.com. Ralf

  1   2   >