Trying out Livecode 8.0.1
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Trying out Livecode 8.0.1
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.
I would be grateful for feedback: Please include details of your OS and your browser.
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.
I would be grateful for feedback: Please include details of your OS and your browser.
Re: Trying out Livecode 8.0.1
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
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
Hi,
tried what I have here:
(all & everything fully updated)
If the result is not OK the JS console log is provided.
Hope I could help, have fun!
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
Hope I could help, have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!
Re: Trying out Livecode 8.0.1
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.
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Trying out Livecode 8.0.1
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.
(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
Re: Trying out Livecode 8.0.1
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
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
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Trying out Livecode 8.0.1
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.
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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Trying out Livecode 8.0.1
is interesting, and, frankly, a pain for testing purposes.this doesn't necessarily function the same when opening directly as a local file as it might when loaded from a web server
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.
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Trying out Livecode 8.0.1
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
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
-
- Livecode Opensource Backer
- Posts: 9454
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Trying out Livecode 8.0.1
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.
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.