Page 1 of 1

Trying out Livecode 8.0.1

Posted: Sun May 22, 2016 2:02 pm
by richmond62
Here's a very simple test made with an animated GIF on Xubuntu 64-bit.

Download the ZIP file (8 MB): https://www.dropbox.com/s/lgv2c35y2b9eg ... Y.zip?dl=0
decompress the file, and open the file "ANGRY.html" inside it with the web browser you usually use.
AKfile.png
ANGRYhtml5.png
I would be grateful for feedback: Please include details of your OS and your browser.

Re: Trying out Livecode 8.0.1

Posted: Sun May 22, 2016 9:10 pm
by paul_gr
Hi Richard,
running Windows 10 Professional here.

Animation loaded and running ok on Firefox 38.8 ESR and Firefox 45

Internet Explorer 11 -- no animation, just "Exception thrown, see Javascript console" error message.
Console contents were:
"still waiting on run dependencies"
"dependency: memory initializer"

Exactly the same error running Google Chrome 50...

Paul

Re: Trying out Livecode 8.0.1

Posted: Mon May 23, 2016 6:28 pm
by AxWald
Hi,

tried what I have here:
(all & everything fully updated)

Code: Select all

Win 10 pro (64-bit)
-------------------------------------------------------

Edge 25.10586.0.0:
	still waiting on run dependencies:
	ANGRY.html (177,13)
	dependency: memory initializer
	ANGRY.html (177,13)
	dependency: al standalone-community-8.0.1-rc-1.html.mem
	ANGRY.html (177,13)
	(end of list)
	ANGRY.html (177,13)

Firefox 46.0.1 -64
	OK

Ubuntu 16.04 (64-bit)/ LXDE
----------------------------------------------------------

Chromium 50.0.2661.102
	XMLHttpRequest cannot load file:///media/[path]/ANGRY/standalone-community-8.0.1-rc-1.html.mem. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
	Uncaught could not load memory initializer standalone-community-8.0.1-rc-1.html.mem
	[post-exception status] Preparing... (0/2)
	run() called, but dependencies remain, so not running
	still waiting on run dependencies:
	dependency: memory initializer
	dependency: al standalone-community-8.0.1-rc-1.html.mem
	(end of list)

Firefox 46.0.1 -64
	OK
If the result is not OK the JS console log is provided.

Hope I could help, have fun!

Re: Trying out Livecode 8.0.1

Posted: Mon May 23, 2016 7:22 pm
by wsamples
Richmond, this doesn't necessarily function the same when opening directly as a local file as it might when loaded from a web server. For example, it throws an exception when opened from the desktop under Chromium (64-bit Linux) but works perfectly in the same browser when accessed through a web server. Same with Vivaldi (runs the same Blink engine as Chromium and Chrome). Does not work at all in Microsoft Edge or IE. It runs under Firefox (Linux) both as a local file and from a web server.

Re: Trying out Livecode 8.0.1

Posted: Mon May 23, 2016 11:01 pm
by [-hh]
Hi all,
(a bit less specific than Warren, relates to current 'main' browsers):

= To run HTML5-standalones from an (extern or local) web server you need
(newest) Chrome, Firefox, Opera or Safari
(or LC browser(=revBrowserOpen)/widget).

= To run HTML5-standalones locally from file (without web server) you need
Firefox or Safari
(or LC browser(=revBrowserOpen)/widget).

*** Microsoft IE or Edge do NOT run HTML5-standalones ***
(also NOT revBrowserOpenCEF).

Hermann

Edit. Removed unvalid links.

Re: Trying out Livecode 8.0.1

Posted: Tue May 24, 2016 3:55 pm
by wsamples
Richmond, in case this leaves you with some interest in setting up a server on your computer to further play with the HTML5 feature, among the many available options you might look at Hiawatha. It has a tiny footprint and is extremely resource friendly. There is a Ubuntu package available. It's also (although I don't know that you have any interest in this) insanely simple to configure for LiveCode Server. Good luck!

Re: Trying out Livecode 8.0.1

Posted: Wed May 25, 2016 10:41 am
by peter-b
If you have Python installed on your system, you can run a tiny webserver in one command, without needing to make any changes to your system configuration. Look at the "HTML5 Deployment" guide for more info.

Re: Trying out Livecode 8.0.1

Posted: Wed May 25, 2016 3:28 pm
by FourthWorld
Richmond, as a Linux user no doubt you have Python pre-installed, but as a LiveCode user you may prefer using a LiveCode-based HTTP server for testing, and there are several to choose from.

Back before LiveCode was Revolution, MetaCard used to ship with mchttd, a simple HTTP server designed for these sorts of specialized use cases. Andre made a variant of it for a while called RevOnRockets, and I forked it as well with a simpler version that kept the original with only the header output enhanced to support newer browsers. You can download my fork here:
http://fourthworld.net/lc/mchttpd-4W.zip

I've found it so useful I've also made a faster and more feature-complete version, implemented as a library so it can be used either in a GUI as mchttpd is designed for, or even on faceless servers where it can be useful for workgroup solutions. It'll be on Github once I get a chance to clean it up and document it, but for now the updated mchttpd at the link above should be useful to get you going.

Re: Trying out Livecode 8.0.1

Posted: Wed May 25, 2016 6:11 pm
by richmond62
this doesn't necessarily function the same when opening directly as a local file as it might when loaded from a web server
is interesting, and, frankly, a pain for testing purposes.

However I won't be setting up a server soon as only made that very foolish standalone to stimulate debate
which seemed to have gone a bit flat recently.

I do hope that this gets further than the last web-based thing, as that was not a success.

Re: Trying out Livecode 8.0.1

Posted: Sun May 29, 2016 9:31 pm
by [-hh]
Richmond,

reading that I see that I should have asked you more explicitly whether you wish the link on my 'HTML5 community page'. Please tell me if it's OK, I removed the link until your permission.

Hermann

Re: Trying out Livecode 8.0.1

Posted: Sun May 29, 2016 9:37 pm
by richmond62
Thanks, but right at the moment I'm digging myself into another pile of something
by messing around with an alternative interface for Livecode, continuing work on my
Devawriter Pro, and preparing stuff for the Summer classes of Livecode for kids I'm starting in about 2 weeks
time.