Search found 84 matches

by Peter Wood
Sun Aug 10, 2014 10:05 am
Forum: CGIs and the Server
Topic: Livecode CGIs co-existing with old-school Rev 2.x CGIs
Replies: 8
Views: 2779

Re: Livecode CGIs co-existing with old-school Rev 2.x CGIs

The problem with running CGIs with a shebang with LiveCode Server has been fixed in LiveCode 6.8.0 DP 8 and LiveCode 7.0.0 DP 7. So the following CGI script now runs happily: #!/path-to/livecode-server put header "Content-type: text/html" & crlf & crlf put "<p>Hello from a LiveCodeServer CGI script<...
by Peter Wood
Fri Aug 01, 2014 3:52 pm
Forum: Rich Media
Topic: Stretching an image
Replies: 16
Views: 4536

Re: Stretching an image

Max

I believe that LiveCode now uses the Skia 2D graphics library. Once "themes" are released it should be possible to access the full Skia api.

Regards

Peter
by Peter Wood
Thu Jul 31, 2014 2:49 pm
Forum: Extending LiveCode
Topic: ANN: 3D library
Replies: 13
Views: 6217

Re: ANN: 3D library

That's amazing Max!!
by Peter Wood
Wed Jul 30, 2014 4:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unicode Issue
Replies: 6
Views: 960

Re: Unicode Issue

You can do this is LiveCode < 7: [code] on mouseUp set the useUnicode to true set the unicodeText of Field "Smiley" to numToChar(55357) & numToChar(56836) end mouseUp [/code] It doesn't display a smiley as it seems non of the fonts supplied with LiveCode include the colour emoticons. (I know the fie...
by Peter Wood
Mon Jul 28, 2014 9:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Point Of Sale Software
Replies: 7
Views: 1272

Re: Point Of Sale Software

Given that LiveCode is "single-threaded", it would probably be worth considering using http to communicate with the server rather than a direct socket-to-socket approach. You can then the benefit of the web servers ability to run multiple LiveCode scripts in parallel.
by Peter Wood
Sun Jul 27, 2014 10:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: mySQL Examole and first steps in LiveCode
Replies: 2
Views: 256

Re: mySQL Examole and first steps in LiveCode

As far as I remember, you need to declare the global variable in each script that you wish to use it. Try adding

Code: Select all

global gConnectionID
at the top of your Disconnect Button script
by Peter Wood
Sun Jul 27, 2014 7:31 am
Forum: CGIs and the Server
Topic: Upload website to Livecode server.
Replies: 10
Views: 3848

Re: Upload website to Livecode server.

Tribblehunter wrote:Tried that. Comes up with ' ERR_NAME_NOT_RESOLVED '.
The message suggests that your Domain Name is not available in the Domain Name Service being used by your computer. Try http://myrunrevdomain.on-rev.com and see what response you get.
by Peter Wood
Sun Jul 27, 2014 12:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Point Of Sale Software
Replies: 7
Views: 1272

Re: Point Of Sale Software

The sockets mentioned earlier in the thread are not physical sockets that you plug hardware into but network sockets that allow a Client computer to communicate with a Server. You can write client/server applications in LIveCode by using sockets. (A socket is a combination of an IP address and a por...
by Peter Wood
Sat Jul 26, 2014 11:01 pm
Forum: CGIs and the Server
Topic: Upload website to Livecode server.
Replies: 10
Views: 3848

Re: Upload website to Livecode server.

Probably the best place to start is the original on-rev tutorial http://samples.on-rev.com/basic.irev . There are others at http://lessons.runrev.com/m/4070 . The original tutorials use the .irev file extension, the new ones the .lc extension. Both work but scripts with the .irev extension will be r...
by Peter Wood
Sat Jul 19, 2014 12:59 am
Forum: CGIs and the Server
Topic: Livecode CGIs co-existing with old-school Rev 2.x CGIs
Replies: 8
Views: 2779

Re: Livecode CGIs co-existing with old-school Rev 2.x CGIs

At the moment, it appears that you cannot run "old-fashioned" cgi scripts with LiveCode Server 6.6.1. The LiveCode server process does not end (even with a quit in the script) and has to be cancelled. I found this by trying the following simple script: #!/<full path to>/livecode-server set the outpu...
by Peter Wood
Tue Jul 01, 2014 3:18 pm
Forum: CGIs and the Server
Topic: Livecode Server with nginx
Replies: 9
Views: 2964

Re: Livecode Server with nginx

Fast CGI is normally dependent on threading. In a single-thread language like LiveCode you would likely find it frustrating, and almost certainly challenging in terms of system load. What is it about Nginx that makes it so compelling for your project? I wonder if there might be other means of getti...
by Peter Wood
Tue Jul 01, 2014 3:11 pm
Forum: CGIs and the Server
Topic: Livecode Server with nginx
Replies: 9
Views: 2964

Re: Livecode Server with nginx

Regarding your scheme (nginx - > Cheyenne) could you tell us why you did that, instead of using a classic Apache solution for instance ? Apache is very big (especially in terms of memory usage). My client prefers taking a lightweight approach (me too). I believe that nginx is faster at serving stat...
by Peter Wood
Tue Jul 01, 2014 2:42 am
Forum: CGIs and the Server
Topic: Livecode Server with nginx
Replies: 9
Views: 2964

Re: Livecode Server with nginx

I don't think it is possible to run LIvecode Server directly under nginx. nginx does not support cgi and I believe that LiveCode Server supports only gci. (Though I would be happy to be proved wrong.) I also don't believe that LiveCode Server has fast-cgi support either which could be used in conjun...
by Peter Wood
Mon Jun 30, 2014 12:09 am
Forum: Engine Contributors
Topic: Linux PPC build?
Replies: 202
Views: 27520

Re: Linux PPC build?

Richard I think that you seriously under-estimate the revenue and profit related to its Power system products. IBM's major customers such as the US Government and the world's top banks and insurance companies buy them and services related to them. They spend many, many times more than small and medi...
by Peter Wood
Sat Jun 28, 2014 11:49 pm
Forum: Engine Contributors
Topic: Linux PPC build?
Replies: 202
Views: 27520

Re: Linux PPC build?

FourthWorld wrote:Apple maintained their role as the only major computer vendor attempting to use PPC long after the rest of the world had switched to x86
Better not tell IBM ;-)

Go to advanced search