Changed '@' to '!' for functions in URLs

2011-05-08 Thread Alexander Burger
Hi all,

please note that with 3.0.6.8 (the current testing version), a small but
critical change was introduced into the GUI.


Before, Lisp function calls could be embedded into URLs with the '@'
syntax. Examples are the 'start' and 'stop' functions in the demo
app/.

Now, '!' must be used instead of '@'. As a consequence, some existing
applications need to be fixed: All occurrences of @someFunction in the
GUI context must be changed to !someFunction.


The reason for the change was that the '@' meaning function conflicts
with the '@' meaning path to the installation directory. The server
tried to execute, for example, @lib.css as a function, instead of
sending it as a plain file to the client. This makes it effectively
impossible to use the installation path syntax in URLs.


Unfortunately, this conflict was not noticed here at 7fach, because we
_always_ run applications in a local (installation-directory relative)
setup. And default installations from the release tarball were also
strictly local.

Recently, however, PicoLisp began to appear in some Linux distributions.
Here the conflict became apparent, because the tutorial examples and
demo applications didn't run properly in a global installation where
they reside in /usr/share/picolisp instead of the user's current
working directory. This is resolved with the the described change.

Please excuse the inconvenience.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Changed '@' to '!' for functions in URLs

2011-05-08 Thread Edwin Eyan Moragas
On Sun, May 8, 2011 at 6:31 PM, Jakob Eriksson ja...@vmlinux.org wrote:
 In which Linux distributions?  This is great news!

debian for one. not sure about the others yet.



 // Jakob

 --
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Changed '@' to '!' for functions in URLs

2011-05-08 Thread Alexander Burger
On Sun, May 08, 2011 at 06:57:46PM +0800, Edwin Eyan Moragas wrote:
 On Sun, May 8, 2011 at 6:31 PM, Jakob Eriksson ja...@vmlinux.org wrote:
  In which Linux distributions?  This is great news!
 
 debian for one. not sure about the others yet.

Right. Since last autumn it is also in OpenWRT.

Thanks to Kan-Ru Chen it is now in the Debian 'unstable' branch. I'm in
the process of fixing some details (nothing critical except the one this
thread is about) and documentations to match the new situation.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe