Age | Commit message (Collapse) | Author | Files | Lines |
|
Change the exit value for an exception, usage error and other non-js
errors to 127 which is kinda like the return value for the system(3)
function.
(This used to be commit c77a232b1152a27e2d8ffb719aefba6c6b2ba6df)
|
|
(This used to be commit 4b775c619b7abed52d158ab70505320753a0c9cb)
|
|
(This used to be commit 31b9fadbed656f666f587a9dcb5a7627a2d388aa)
|
|
ejsEvalFile().
Still need to add advancement of the script past the hash-bang line but
it's home time now!!
(This used to be commit 14a2053c045a2df1d68838900c833c2a15cb5a36)
|
|
(This used to be commit 54051bf8bbb18653adafb37cc6181617ca60b781)
|
|
(This used to be commit fcf177c86e2bfbc993352b80824487e5df0a3f63)
|
|
- fixed handle passing in the smb/ejs interface calls, so they can be called
safely from esp
(This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
|
|
(This used to be commit 3db568eb6bb383c4c1e1fd0c7f043a9914dcc3cc)
|
|
(This used to be commit 92f85507df2bce5e246484860a43748321f2291e)
|
|
both esp scripts and ejs scripts. This allows the smbscript program to
call all the existing extension calls like lpGet() and ldbSearch()
Also fixed smbscript to load smb.conf, and setup logging for DEBUG()
I left the unixAuth() routine in web_server/calls.c at the moment, as
that is really only useful for esp scripts. I imagine that as we
extend esp/ejs, we will put some functions in scripting/ejs/ for use
in both ejs and esp, and some functions in web_server/ where they will
only be accessed by esp web scripts
(This used to be commit e59ae64f60d388a5634559e4e0887e4676b70871)
|
|
compiler still complains about "handle" (scripting/ejs/smbscrip.c:46) possibly
not being initialized and to me this looks true.
Running smbscript with the trivial write("Hello, world\n"); also leaves some
memory around.
Volker
(This used to be commit 06d27a19213dc8fe6dfc948a5e8cbafa74db7a29)
|
|
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
|
|
(This used to be commit b83dc8fbfb9ffe30654bc4869398f50dd9ccccb7)
|
|
(This used to be commit 805b6c7cf0f1e05fbb690bdfc93938747e13e6cd)
|
|
Tridge says there is a bug in defining per-engine CFunction's so move
calls to ejsDefineStringCFunction() above the ejsOpenEngine() call.
Test script now works!
(This used to be commit 5e2458ae6c863ff29b85fff3d093f7f4fa9dc2be)
|
|
command line environment instead of inside the web server.
It doesn't work yet though, rather an exception is thrown when trying
to call ejsDefineStringCFunction().
(This used to be commit 3444cd5429dfef5a67d5bf7818ae08e4e8cc5ccc)
|