Search found 82 matches

by Peter Wood
Mon May 28, 2018 3:18 am
Forum: Off-Topic
Topic: Devawriter Pro
Replies: 38
Views: 33047

Re: Devawriter Pro

It does look good Richmond ... but extremely complicated for someone like me who finds a qwerty keyboard difficult to master. Good luck with your Indiegogo campaign. By the way, from what I've seen about the Indiegogo campaigns that seem to raise the most money, they never talk in terms of seeking f...
by Peter Wood
Sun Aug 07, 2016 1:30 am
Forum: CGIs and the Server
Topic: "dà © jà vu" ----> "déjà-vu" (='.'=)
Replies: 32
Views: 24818

Re: "dà © jà vu" ----> "déjà-vu" (='.'=)

Adding this to your LiveCode script will get it to output UTF-8

Code: Select all

set the outputTextEncoding to "utf8"
by Peter Wood
Fri Mar 11, 2016 2:34 am
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 75
Views: 192452

Re: POLL: LiveCode Server deployment

A. None of the above

I use it to develop LiveCode script only stacks on a desktop machine.

I tried to use it for a website on on-rev but found the installed version to have bugs that affected my scripts so I used Ruby instead.
by Peter Wood
Tue Aug 04, 2015 4:41 am
Forum: CGIs and the Server
Topic: CGI processing + LC + OS X
Replies: 4
Views: 6430

Re: CGI processing + LC + OS X

I happily run LiveCode server on OS X Yosemite. I ran this script: <html> <head> <title>My LiveCode Server Test Page</title> </head> <body> <h1>My LiveCode Server Test Page</h1> <?lc put "<p>Hello World! from LiveCode Server</p>" put "<p>The date is" && the date & "</p>" put "<p>The platform is" && ...
by Peter Wood
Tue Jul 28, 2015 7:47 am
Forum: CGIs and the Server
Topic: Did LiveCode Server Support HTTPS(SSL)??
Replies: 3
Views: 5012

Re: Did LiveCode Server Support HTTPS(SSL)??

This is a bug that is currently being fixed - http://quality.runrev.com/show_bug.cgi?id=15162
by Peter Wood
Tue May 05, 2015 3:06 pm
Forum: Mac OS
Topic: Yosemite, Server.app and LiveCode Server
Replies: 3
Views: 4071

Re: Yosemite, Server.app and LiveCode Server

David I am running LiveCode Server on OS X Yosemite. When I upgraded to the Yosemite, I had to make some minor changes to the http.config file as OS X now ships with Apache 2.4 whereas previously it shipped with Apache 2.2. The Apache config syntax seems to have changed between versions 2.2 and 2.4....
by Peter Wood
Tue May 05, 2015 7:03 am
Forum: CGIs and the Server
Topic: $_POST Not being created
Replies: 2
Views: 4099

Re: $_POST Not being created

I think it is a bug. The $_POST variables are empty when the Content-Type is "application/x-www-form-urlencoded; charset=UTF-8". If you can use a Content-Type of "text/plain", the $_POST variables will contain data. I submitted a bug report http://quality.runrev.com/show_bug.cgi?id=15173 on 8th Apri...
by Peter Wood
Fri May 01, 2015 6:12 am
Forum: Announcements
Topic: LiveCode Mini Test
Replies: 1
Views: 3334

Re: LiveCode Mini Test

As examples of using LiveCode MiniTest, I’ve converted to Mini Test a few tests of LiveCode that I have written in the past to test features of LiveCode. I’ve published these tests on Github at https://github.com/PeterWAWood/LiveCode-Tests There is an example of a stack to run the tests in the IDE a...
by Peter Wood
Thu Apr 30, 2015 9:36 am
Forum: Announcements
Topic: LiveCode Mini Test
Replies: 1
Views: 3334

LiveCode Mini Test

I have written a few automated test scripts to test elements of LiveCode. The testing commands and the tests were all in a single script. I’m now about to modernise a stack I use personally and want to develop a set of tests for it as I write it. Rather than copy and paste the few testing commands i...
by Peter Wood
Thu Apr 30, 2015 4:00 am
Forum: Talking LiveCode
Topic: Unicode - Encode LC field for export to txt?
Replies: 2
Views: 2672

Re: Unicode - Encode LC field for export to txt?

Tom Yes it is necessary. I'm not sure how text is stored within fields and variables in LiveCode but it will either be in UTF-16 or a clever scheme which uses either 8, 16 or 32 bits per character (like Python). If you always encode text before doing any I/O as suggested, you don't need to worry how...
by Peter Wood
Mon Apr 27, 2015 8:50 am
Forum: CGIs and the Server
Topic: livecode server json parse or xml
Replies: 1
Views: 3262

Re: livecode server json parse or xml

The quick answer is yes. You can retrieve the JSON or XML on your server, process it for later retrieval by your app.

XML support is built in to LiveCode and there are library scripts available to handle JSON>
by Peter Wood
Fri Apr 10, 2015 12:03 pm
Forum: LiveCode Builder
Topic: How to find out what is in a default library?
Replies: 5
Views: 5319

Re: How to find out what is in a default library?

Thanks for the explanation Ali.
by Peter Wood
Thu Apr 09, 2015 2:41 pm
Forum: CGIs and the Server
Topic: Put RSA key into variable
Replies: 2
Views: 3783

Re: Put RSA key into variable

The LiveCode dictionary says that the keys should be in pem format and shows how to create then using openSSL. I successfully tried this code: #!livecode if the environment is "server" and the platform is "MacOS" then set the outputLineEndings to "lf" set the outputTextEncoding to "utf8" end if[code...
by Peter Wood
Thu Apr 09, 2015 1:58 pm
Forum: LiveCode Builder
Topic: How to find out what is in a default library?
Replies: 5
Views: 5319

Re: How to find out what is in a default library?

Many thanks Ali.

I suspect that the issue I faced with min was that I didn't add

Code: Select all

use com.livecode.math
to the widget. I didn't think it was needed as the docs referred to it as a "default" library.

Go to advanced search