Search found 168 matches

by peter-b
Mon Mar 06, 2017 12:08 pm
Forum: HTML5
Topic: Newbie question re HTML5
Replies: 2
Views: 4638

Re: Newbie question re HTML5

The default page created when you deploy an HTML5 stack is just for testing.

If you look in the "HTML5 Deployment" guide in the LiveCode documentation, there are some detailed instructions that describe how to embed an HTML5 standalone in your own web page.
by peter-b
Mon Feb 27, 2017 12:05 pm
Forum: MergEXT
Topic: mergExt Indy Latest: missing docs & externals?
Replies: 4
Views: 8411

Re: mergExt Indy Latest: missing docs & externals?

You don't need to download mergExt separately from the LiveCode installer or app bundle any more. It's included, as is all the documentation.

You can read the documentation for all of the mergExt externals directly from 'Dictionary' window inside the LiveCode IDE.
by peter-b
Mon Feb 20, 2017 11:02 am
Forum: Engine Contributors
Topic: How is this test failing?
Replies: 8
Views: 11426

Re: How is this test failing?

Hmm, we should probably get the IDE to ignore user preference files when running the IDE tests. Could you please file a bug report about it for us please?
by peter-b
Mon Feb 13, 2017 10:28 am
Forum: Engine Contributors
Topic: How is this test failing?
Replies: 8
Views: 11426

Re: How is this test failing?

I think there are some missing dependency rules in the build system at the moment. You may have to nuke it from orbit:

Code: Select all

rm -rf linux-x86_64-bin build-linux-x86_64
by peter-b
Tue Nov 29, 2016 10:26 am
Forum: HTML5
Topic: HTML5 Blackjack w/REST API Sample
Replies: 8
Views: 12557

Re: HTML5 Blackjack w/REST API Sample

Adding the ability to send messages back into LiveCode is something we're currently hoping to get working in December or January. It will be a bit more involved than the "do as JavaScript" feature. I made some comments about it here: https://www.mail-archive.com/use-livecode@lists.runrev.com/msg8060...
by peter-b
Mon Nov 28, 2016 12:23 pm
Forum: LiveCode Builder
Topic: Why LCB exists?
Replies: 1
Views: 3454

Re: Why LCB exists?

LCB does some things that just can't be done in LiveCode Script (and indeed we don't want to do in LiveCode Script). It fills a very important niche: a language that can be used to do many of the things that we would previously use C++ to do, but which has similar accessible syntax to LiveCode Scrip...
by peter-b
Mon Nov 28, 2016 11:43 am
Forum: HTML5
Topic: HTML5 Blackjack w/REST API Sample
Replies: 8
Views: 12557

Re: HTML5 Blackjack w/REST API Sample

This is a fantastic demo of what can be done with LiveCode HTML5, Bob! Thank you for sharing it with us. :D
by peter-b
Wed Nov 23, 2016 11:12 pm
Forum: HTML5
Topic: External communication
Replies: 15
Views: 18099

Re: External communication

I've filed a bug report about the problem:
http://quality.livecode.com/show_bug.cgi?id=18903
by peter-b
Wed Nov 23, 2016 9:05 pm
Forum: HTML5
Topic: External communication
Replies: 15
Views: 18099

Re: External communication

Okay, I have done some quick tests locally. Can you please confirm which edition of LiveCode 9 DP 2 you're using? The following works fine for me (Community edition, Firefox 49.0 running on Fedora 24): if the platform is "HTML5" then do "document.title" as "JavaScript" put the result into field 1 en...
by peter-b
Wed Nov 23, 2016 8:33 pm
Forum: HTML5
Topic: External communication
Replies: 15
Views: 18099

Re: External communication

This is very interesting -- and somewhat concerning. Does JavaScript evaluation seem to work fine, as long as you are not trying to get a result back?
by peter-b
Wed Nov 23, 2016 9:28 am
Forum: LiveCode Builder
Topic: Working lcb script in LC 8 generates error in LC 9 dp 2
Replies: 8
Views: 6726

Re: Working lcb script in LC 8 generates error in LC 9 dp 2

I've never seen this before; please open a bug report and attach your LCB source code so that we can take a look at it! :shock:
by peter-b
Tue Nov 22, 2016 1:06 pm
Forum: HTML5
Topic: External communication
Replies: 15
Views: 18099

Re: External communication

I've drafted a blog post that gives a worked example of using this new capability to manipulate the document surrounding the HTML5 app, and we're currently hoping to publish it tomorrow. I wonder what's going on with the XMLHttpRequest? This could be a problem for anyone trying to make a liburl back...
by peter-b
Tue Nov 22, 2016 12:47 pm
Forum: HTML5
Topic: External communication
Replies: 15
Views: 18099

Re: External communication

I think this is failing because you are trying to do a synchronous fetch using an asynchronous API. When you call "LoadXMLDoc()", it creates and sends the HTTP request -- and then returns to LiveCode. The result of calling "LoadXMLDoc()" is empty. A bit later, when the HTTP request completes, it cal...
by peter-b
Tue Nov 22, 2016 11:45 am
Forum: HTML5
Topic: External communication
Replies: 15
Views: 18099

Re: External communication

There's no reason why you shouldn't be able to use the new capability to do an XMLHttpRequest and fetch data, but I haven't yet had the opportunity to play around and see what's possible (or not).
by peter-b
Fri Nov 18, 2016 11:27 am
Forum: LiveCode Builder
Topic: com.livecode.pi
Replies: 9
Views: 7336

Re: com.livecode.pi

MaxV wrote:What is the difference between com.livecode.pi.imageID and com.livecode.pi.image_id?
Is just a mistyping on the file?
The second one is a mis-typing. The first one is correct.

Go to advanced search