Age | Commit message (Collapse) | Author | Files | Lines |
|
This copes with the
case of size_is(*size) where size is NULL, and the array is NULL
(This used to be commit 56769b4b1d900cce60cd35298b642a85e4eddfee)
|
|
this copes with 2 more situations:
1) where the array is NULL, which would previously be coped with by a
if (ptr) check, but now in the deferred array bounds checking needs
to look at the array variable in the ndr code. Not nice.
2) nest the array checking along with the SCALARS vs BUFFERS checks, ensuring we don't
do array bounds checking for a buffer when in scalars only mode
(This used to be commit ad1b9867a5a14bc9ed2e1a5eb8f05bb2046bc645)
|
|
interfaces to RPC. This makes large blobs of data much saner. Tim, you
will probably want to do the same for the smb_interfaces.h generated
code.
Next we will need ways of extracting different data types from these
blobs, for example asking for the blob to be interpreted as a utf16
string, or as a little-endian integer. That will allow for registry
scripting to be quite sane.
(This used to be commit a8bca2e8e27c953c0413693326ec3b5ecf17ba41)
|
|
function/structure, as the checks might involve variables that have
not yet been unmarshalled. This is needed to cope with the correct IDL
for the winreg pipe.
Jelmer, can you look at this when you get a chance and see if you
think this is a reasonable approach? Sorry its wrecks the nice
indentation in the generated code.
(This used to be commit 127ed0cfe2d210f5e927d3768d5372042d1c070c)
|
|
array is a [ref] pointer. For non-ref arrays it is quite valid for a
server to return a larger response array then the client gave (as can
happen with winreg) in which case this memcpy() will fault.
(This used to be commit 6cf20e7adb9891119fdc9a0b208c3f94fe823334)
|
|
of arrays that have length_is() or size_is() properties that refer to
later elements
(This used to be commit 9526f2a5104b50f4b6ab575cfa6270abb0377e51)
|
|
apply to Samba4 as well so change the DEBUGLEVEL > 10 to DEBUGLEVEL >= 10.
(This used to be commit 2215cc08b7b94df3fff9cfff6c839bbf2cb6e664)
|
|
Support fixed-size arrays
Give some more nicer warnings for not-supported IDL constructions such as inline arrays
Fix signed int-handling
(This used to be commit 2f1fcf3bc7a29e3089f1edafd45c70488f3cd565)
|
|
Support fixed-size arrays
Give some more nicer warnings for not-supported IDL constructions such as inline arrays
Fix signed int-handling
(This used to be commit 3456dc7846ec49e6d4c71e66557bd31c683daa60)
|
|
(This used to be commit b323e83e8df6ba331b3f0b3abe28aa8ddf9127ef)
|
|
help with the debugging and comments on the generated code (-:
(This used to be commit 4c165f8ff65b4500d8366b655d6df2a065f35bf5)
|
|
- map the result code from rpc calls into the ejs objects
- treat winreg_String like lsa_String, hiding the length elements
(This used to be commit 2f6311c9a34db46f9a4b1f31e865a373b15702bf)
|
|
broken as
well as handling more then two element levels.
(This used to be commit 952399aa68c22059a799e55fb92e039e68ea3dae)
|
|
remaining to get it to generate completely compilable code.
(This used to be commit d8727b8de75be7e44bd889c9650d5d68d486a95a)
|
|
(This used to be commit d0f540bc463959ec3602834d796192dc2879b979)
|
|
data call
(This used to be commit eef8bc97ed8d546955d9a03eb8c500293fd2f84e)
|
|
(This used to be commit 294e716621baa3e6fbc6bc471aed0b85ad93d1ed)
|
|
Ronnie Sahlberg's idl2eth.c
(This used to be commit 561aeca6490bdb7e37f12d60a67c551e5db3fc62)
|
|
the are actualy mapped to pointers in the api
metze
(This used to be commit d91e61ac680dfd2a9b257dc7e8cc8c393a65dae4)
|
|
(This used to be commit 732db744b287be71781b7577933bc54a0724f78c)
|
|
NBT/WINS/etc rather then having to depend on NDR.
(This used to be commit 5ee7af26dd220de06f1764cd1683abedeeda5131)
|
|
(This used to be commit 04f993721574b4532962b5845faa4cb40a90ca38)
|
|
Return array length entries for elements that have an array specifier.
(This used to be commit 17689ca7403dd8762185611da2e08545af611d71)
|
|
names for structs and unions also.
(This used to be commit c31be383461d8a2784aa85619b38f81a389024f2)
|
|
making an optional_const rule puts the parser in an infinite loop (?).
(This used to be commit 6339cc75fae8296757c4609cede1d5703b90d52a)
|
|
used to generate ejs objects for making raw smb calls.
Running 'make smb_interfaces' should run the build_smb_interfaces.pl
script which at the moment only displays a dump of the parsed data.
Const is also not working right now but it's bedtime.
(This used to be commit 1be5f55d7f6926bf7266ea72623990f0bb558c94)
|
|
(This used to be commit f850faca9797c9818a46fec72dba069cac5a6db7)
|
|
calls. This changes the generated RPC and IRPC calls to use the 'this'
object pointer instead of requiring the passing of the object on each
call. So typical usage is now:
var echo = echo_init();
var io = irpcObj();
status = echo.connect("ncacn_np:server");
assert(status.is_ok);
io.input.in_data = 7;
status = echo.AddOne(io);
assert(status.is_ok);
(This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
|
|
(This used to be commit 5c0a22167d3424573ede99937549d815d067f0bc)
|
|
(This used to be commit 26e1fdf63007e28468a05b18bede1e69981edc12)
|
|
(This used to be commit d292ab7ca6ce8232a182e7ec9480671bb3044a6a)
|
|
representation prefix
to pidl itself. Useful for supporting other data representation types.
(This used to be commit 5af68a04763f39f2a9898155e2c82ed2ee646f36)
|
|
(This used to be commit 7384b3c4a1450ad63356dcf586e3a7e7335f8e6d)
|
|
callers to optionally supply an existing object to add the properties
to. So you can do:
var rpc = samr_init();
lsa_init(rpc);
and you end up with 'rpc' having both the samr and lsa functions and
constants available.
(This used to be commit 6a1ed328e27769bd52899fc2437a43fc17104eff)
|
|
(This used to be commit 78ef2349c7a1bff19fb86a41bf5c074a2dfcb222)
|
|
(This used to be commit cd33b5efc544345411db498b178fa532a9a2c82f)
|
|
generator.
(This used to be commit 5610838385ca00a944fb4765df1854954a3a81bc)
|
|
(This used to be commit 8637a85e6a349cce15a298154500921e9a0183a3)
|
|
(This used to be commit 94e338805de465a3ec7d82aa599f09adfcc06bd8)
|
|
Values that are deferred but don't contain deferred data don't
need NDR_BUFFERS
Parse::Pidl::Samba::NDR::Parser:
Only use manually written array access functions when the array
functions are faster then the autogenerated ones. Makes ndr_basic.c
a bit shorter.
(This used to be commit cad40815dcfb7cdcab13bd0cd204ef8711605ef3)
|
|
(This used to be commit e43ac10e36e289966fdf34a8c5b523cd7fbcb368)
|
|
- Fixes annoying array-of-pointers bug in pidl.
- No longer "inherit" alignment thru subcontexts
- Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see
(This used to be commit bd706d496405d274b68c1ee560211837a8e63009)
|
|
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
(This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
|
|
(This used to be commit a9d05af0fd802cf0cbe1298c3c988dcd2eb1b848)
|
|
upstream sources. This makes it much easier to keep it up to date.
I will separate out the mpr code into lib/appweb/mpr next
(This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
|
|
enums
(This used to be commit 529370ed92f5a683ae7bd34d0cd2ce01c2bda81a)
|
|
code in pidl for ejs calls. This means that ejs_rpc_call() doesn't
need to scan the rpc tables for the right interface, and doesn't need
to scan for the call name
(This used to be commit 1c6b1102e5c2529206b917e7c6b279c4f63d0e9a)
|
|
(This used to be commit d5153d16e1630e85c05a19b2d279bb1100497be5)
|
|
(This used to be commit d1f754a0a34c5938579a605b4f113100e14bac3d)
|
|
(This used to be commit d64bffa17ea1c46d917e362d51741148b85fb97f)
|