Trying out Livecode 8.0.1

Bringing your stacks to the web

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2587
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Trying out Livecode 8.0.1

Post by richmond62 » Sun May 22, 2016 2:02 pm

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.

paul_gr
Posts: 318
Joined: Fri Dec 08, 2006 7:38 pm
Location: Blenheim, New Zealand

Re: Trying out Livecode 8.0.1

Post by paul_gr » Sun May 22, 2016 9:10 pm

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

AxWald
Posts: 313
Joined: Thu Mar 06, 2014 2:57 pm

Re: Trying out Livecode 8.0.1

Post by AxWald » Mon May 23, 2016 6:28 pm

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!
Livecode programming until the cat hits the fan ...

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 192
Joined: Mon May 18, 2009 4:12 am

Re: Trying out Livecode 8.0.1

Post by wsamples » Mon May 23, 2016 7:22 pm

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.

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1693
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Trying out Livecode 8.0.1

Post by [-hh] » Mon May 23, 2016 11:01 pm

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.
Last edited by [-hh] on Mon May 30, 2016 12:28 am, edited 1 time in total.
shiftLock happens

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 192
Joined: Mon May 18, 2009 4:12 am

Re: Trying out Livecode 8.0.1

Post by wsamples » Tue May 24, 2016 3:55 pm

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!

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: Trying out Livecode 8.0.1

Post by peter-b » Wed May 25, 2016 10:41 am

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.
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6025
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Trying out Livecode 8.0.1

Post by FourthWorld » Wed May 25, 2016 3:28 pm

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.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2587
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: Trying out Livecode 8.0.1

Post by richmond62 » Wed May 25, 2016 6:11 pm

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.

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1693
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Trying out Livecode 8.0.1

Post by [-hh] » Sun May 29, 2016 9:31 pm

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
shiftLock happens

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2587
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: Trying out Livecode 8.0.1

Post by richmond62 » Sun May 29, 2016 9:37 pm

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.

Post Reply

Return to “HTML5”