summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/literal.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25214: use talloc_strndup_append() instead of talloc_append_string()Stefan Metzmacher1-20/+4
and ugly hacks to handle the string termination. metze (This used to be commit 32bb276920d3f6987427613c6f1bc71557d8893e)
2007-10-10r19055: JSON-RPC is working! It passes the small qooxdoo JSON-RPC test suiteDerrell Lipman1-90/+233
perfectly. This check in covers the remaining fixes and enhancements to complete the server. In a subsequent check-in, I need to learn about the new qooxdoo packaging mechanism. Although it'd be nice to have the whole source tree, that's huge and needn't be in samba svn. It's now supposed to be very easy to package qooxdoo, so I'll figure out how that's done and then check in the relevant small number of files. Steps after that involve generating the stubs to allow various ejs functions to be called via JSON-RPC. Derrell (This used to be commit 5bfebbda7a5d28d4deb31c54a8feb24c4416cbf6)
2007-10-10r19048: ensure our memory gets cleaned up even upon exceptionDerrell Lipman1-1/+1
(This used to be commit bcf5e98a8c83791db93a9024b3433f9d5ee3cc7e)
2007-10-10r19019: Add a parser for javascript literals. This is implemented for ↵Derrell Lipman1-0/+670
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(). (This used to be commit 82fdcd9339a8ffb1016b96c06f7d6580aa759174)