svn commit: samba r19019 - in branches/SAMBA_4_0: jsonrpc source/scripting/ejs

derrell at samba.org derrell at samba.org
Mon Oct 2 02:36:28 GMT 2006


Author: derrell
Date: 2006-10-02 02:36:27 +0000 (Mon, 02 Oct 2006)
New Revision: 19019

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19019

Log:
Add a parser for javascript literals.  This is implemented for parsing JSON
strings, but is generally useful for creating ejs variables from object or
array literals, which aren't supported in the old version of ejs that we're
using.

This parser is implemented in C, but is callable from an ejs script via
literal_to_var().

Added:
   branches/SAMBA_4_0/source/scripting/ejs/literal.c
Modified:
   branches/SAMBA_4_0/jsonrpc/json.esp
   branches/SAMBA_4_0/source/scripting/ejs/config.mk


Changeset:
Sorry, the patch is too large (749 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19019


More information about the samba-cvs mailing list