1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

13 Commits

Author SHA1 Message Date
Andrew Tridgell
514731b0ee r8253: fixed two crash bugs in ejs. I will send these fixes off to the appweb guys soon.
(This used to be commit 3fe83b48c3fe4cdc1e7ec0271e08f7bd77e90de9)
2007-10-10 13:19:26 -05:00
Andrew Tridgell
aa37e5483b r8240: support comparing pointers in ejs. This allows for
if (io.output.samr == NULL) {
	print("no result\n");
  }
(This used to be commit 89db5c68a5ee6875ccddcfe70a6e1232b40039b3)
2007-10-10 13:19:24 -05:00
Tim Potter
182dd02ebe r7481: Add a mprVarIsPtr macro.
(This used to be commit 633b24345fecad1111f40999efa2897bba521f19)
2007-10-10 13:17:57 -05:00
Tim Potter
a925848704 r7456: Add a simple type that represents a pointer. The ejs people may ask us
to change this later but that will be pretty easy.

We can use this type to pass around pointers to handles in C.  Talloc
allows us to do type checking too.
(This used to be commit b95c0bc9b0a18aeaa89f704e37669f01df2c2ad0)
2007-10-10 13:17:54 -05:00
Volker Lendecke
84ee48e3e9 r7441: Get rid of // comments. Tridge, if this breaks anything, please revert it. More tomorrow
Volker
(This used to be commit 02efa4427d80aa1e9a8f0275c568d977faa0f9b8)
2007-10-10 13:17:54 -05:00
Tim Potter
65d685c722 r7214: Undo my interpreter patch. Tridge thought of a much better way to do it
that doesn't involve any changes to ejs at all.
(This used to be commit 7b49711ecb87e8618be5ae934ffed5995408b748)
2007-10-10 13:17:26 -05:00
Tim Potter
0253adcab3 r7213: Add a small bit to the ejs parser to ignore a #!/path/to/interpreter
as the first line of the script.  This allows smbscript to be used as an
interpreter.
(This used to be commit 875c8164096e7334de25cc57ac4b8bdc39b9c46b)
2007-10-10 13:17:26 -05:00
Andrew Tridgell
999d0eb6e8 r7127: allow for recursive ejs functions
(This used to be commit 567bb9568c4e46a4abf9250e7319c702fc3a2fc9)
2007-10-10 13:17:20 -05:00
Andrew Tridgell
5c1a3defc6 r7124: fixed a bug in array construction (see ECMA standard section 15.4.2.2)
(This used to be commit f9f1d85e651afca7a65804b3124daa11208965e8)
2007-10-10 13:17:19 -05:00
Andrew Tridgell
89f796006f r7085: fixed a bug in ejs with setting up the arguments[] array
(This used to be commit 722950c21365982ac9a62f97360b6c4a0bdd4acc)
2007-10-10 13:17:14 -05:00
Andrew Tridgell
973ea5feb1 r7071: allow access to the current mpr memory context from ejs calls
(This used to be commit a58531dcf30b091913563ca2b8ce5e5843896441)
2007-10-10 13:17:12 -05:00
Tim Potter
7756b990f3 r7066: Rename http_exception to ejs_exception.
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
2007-10-10 13:17:11 -05:00
Tim Potter
14ade23914 r7065: Move ejs from web_server to lib so it can be shared with smbscript.
(This used to be commit b83dc8fbfb9ffe30654bc4869398f50dd9ccccb7)
2007-10-10 13:17:11 -05:00