summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4/NDR
AgeCommit message (Collapse)AuthorFilesLines
2008-09-17Move pidl to top-level directory.Jelmer Vernooij3-3179/+0
2008-09-17Fix warning.Jelmer Vernooij1-1/+1
2008-09-15Avoid writing structs for inherited functions.Jelmer Vernooij1-11/+18
2008-09-15Fix imports.Jelmer Vernooij1-3/+3
2008-08-20pidl/NDR::Parser: pass typedefs through the ParseElement*Level() functionsStefan Metzmacher1-2/+14
metze (This used to be commit e51c0cf62c91f79f703b17bcf37c4a6fa8107ae0)
2008-08-20pidl/NDR::Parser: pass $ndr to ->start_flags() and ->end_flags()Stefan Metzmacher1-35/+35
metze (This used to be commit bdff9728cc1c8b5fe5a29040e092a8e48603725b)
2008-08-20pidl/NDR::Parser: pass $ndr to ParseMemCtxPull*()Stefan Metzmacher1-11/+11
metze (This used to be commit c3921c7b4e7a3b51b97a2afb688271a8ae403105)
2008-08-20pidl/NDR::Parser: pass $ndr to ParsePtrPush()Stefan Metzmacher1-7/+7
metze (This used to be commit 77571cd7c74dfaa93e58f047530df369ae293ffd)
2008-08-20pidl/NDR::Parser: use my $ndr = "ndr" in the remaining top functionsStefan Metzmacher1-26/+29
metze (This used to be commit ce83f4bb596fad23000acc1f6691669e2f2cfe1b)
2008-08-20pidl/NDR::Parser: pass down $ndr from the top functionsStefan Metzmacher1-27/+32
metze (This used to be commit b01d7457fa5b3572989b821f04e023fd9abd0d52)
2008-08-20pidl/NDR::Parser: pass $ndr to ->PRINT_FN_BLOB()Stefan Metzmacher1-43/+43
metze (This used to be commit a143806364051141604ebb40eb5a4ef72958b55f)
2008-08-20pidl/NDR::Parser: pass $ndr to ->PUSH_FN_BLOB()Stefan Metzmacher1-43/+43
metze (This used to be commit 71b0d64866eb1a4f6dc73eeb57b5f0fe5d8a5780)
2008-08-20pidl/NDR::Parser: pass $ndr to ->PULL_FN_BODY()Stefan Metzmacher1-42/+42
metze (This used to be commit 38c4b2a3e9b316f390651297854de033ede0d128)
2008-08-20pidl/NDR::Parser: use $ndr instead of "ndr"Stefan Metzmacher1-14/+14
metze (This used to be commit a1cf2289dd4ff9a3f9cf61da680223193235e35f)
2008-07-21Properly cast array length in print functions.Jelmer Vernooij1-1/+1
(This used to be commit f321240fa91fa19c1131f119c42f64897d220682)
2008-04-16Provide stubs when the [todo] attribute is set.Jelmer Vernooij1-13/+41
(This used to be commit 356a5d24747bb5e1ef9774c690a5ec386a4a165e)
2008-04-06Add test for authservice struct.Jelmer Vernooij1-15/+22
(This used to be commit da8b8364b06a79a10d4ebdc0e451463b3105730e)
2008-04-06Fix authservice count.Jelmer Vernooij1-1/+1
(This used to be commit 761536a5e4dd3dbfacf1576d7092827cdeda897b)
2008-02-23Respect the return value of asprintfVolker Lendecke1-2/+1
This removes tons of warnings warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result for me. Lots of that kind left though :-) (This used to be commit ba29219ea243cc217ab3522b036a82ff8dfeedc8)
2008-02-13pidl: $size can be 'foo / 2' so we need to add '(' and ')'Stefan Metzmacher1-2/+2
'foo / 5 * sizeof(bar)' isn't the same as '(foo / 2) * sizeof(bar)'. metze (This used to be commit a496abc4042a98835d485769e0972826da161984)
2008-02-09pidl: Allow fixed size arrays inside unions.Julien Kerihuel1-2/+2
(This used to be commit c9c115647893478e21134f8c703e0f52e2478882)
2008-02-07pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointersStefan Metzmacher1-7/+7
The memory allocation of embedded "ref" pointers needs to be the same as for all other embedded pointers. metze (This used to be commit 6b3817c2250b94307ffcbd9f8eeb9a593eb7a82d)
2008-02-02pidl/Samba4::NDR::Parser: correctly get the name of an array elementStefan Metzmacher1-4/+4
When we have "*r->out.ous" (char ***ous, a pointer to a pointer to an array of pointers). we need to use "(*r->out.ous)[3]" to access the 3rd element of the array "*r->out.ous[3]" was generated before, but that's the same as "*(r->out.ous[3])" which would mean the array would apply to a different level. This patch prepares support for: [out,ref,size_is(,num)] [string,charset(UTF16)] uint16 ***names; It means a [ref] pointer to a [unique] pointer to an array of [unique] pointers which point to an UTF16 string. metze (This used to be commit ec0ee2aa5f4bef32f09a426d91c28c985f843038)
2008-02-02pidl/Samba4::NDR::Parser: fix $var_name for arrays of scalar reference typesStefan Metzmacher1-3/+14
uint32 num; nstring strings[num]; this should use 'r->strings' instead of '*r->strings' as the pointer to the array. metze (This used to be commit 7c7acae817cd00ab5c915742338b019af79e9193)
2008-02-02pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a functionStefan Metzmacher1-25/+34
metze (This used to be commit 26d7f5bf96cd7e950ceb532402afd6b8a58871ea)
2008-02-02pidl: revert changes it didn't want to push...sorry!Stefan Metzmacher1-58/+38
8ebf16c0741085fa769fcc2929f275ab49b1ea5d Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers 6fcf2456d0e81898b5779ef1650f38b4c5363a80 WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements 0569139ca2960ec5478829c3e66f7ff69bdb55cd LOOKS OK... pidl: get the pointer types correct when an element has multiple pointe rs 13afc89a87716063180723f0e9cb4f76daca837e CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element 29c104944bcad30c6a2a3fa70d527bf0ee8969de CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ... 3369015f5d8c425e1a9f9d861471028f03f163bb CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a f unction metze (This used to be commit 0bcc8e53d1470ba9dfe93e5d6925b8f4c20c7c66)
2008-02-01Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointersStefan Metzmacher1-7/+7
The memory allocation of embedded "ref" pointers needs to be the same as for all other embedded pointers. metze (This used to be commit 8ebf16c0741085fa769fcc2929f275ab49b1ea5d)
2008-02-01CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array elementStefan Metzmacher1-4/+4
When we have "*r->out.ous" (char ***ous, a pointer to a pointer to an array). we need to use "(*r->out.ous)[3]" to access the 3rd element of the array "*r->out.ous[3]" was generated before, but that's the same as "*(r->out.ous[3])". metze (This used to be commit 13afc89a87716063180723f0e9cb4f76daca837e)
2008-02-01CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ...Stefan Metzmacher1-3/+14
metze (This used to be commit 29c104944bcad30c6a2a3fa70d527bf0ee8969de)
2008-02-01CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() ↵Stefan Metzmacher1-25/+34
into a function metze (This used to be commit 3369015f5d8c425e1a9f9d861471028f03f163bb)
2008-02-01pidl/IDL: don't strip ',' from the properties contentStefan Metzmacher1-6/+6
metze (This used to be commit fdf9bcb163516f7d96675ae0dce2917afb8f86d3)
2008-02-01pidl/Samba4::NDR::Parse: move the calculation of NDR_PULL_SET_MEM_CTX() ↵Stefan Metzmacher1-43/+27
flags into one function metze (This used to be commit 74bf021aa7016ace02a0238e71573f18016e3722)
2008-01-31pidl/Samba4::NDR::Parser: pass down the correct $var_name to ↵Stefan Metzmacher1-4/+2
AllocateArrayLevel() metze (This used to be commit c630bece38eed3278466c2934763fcd8dcfb0610)
2008-01-14pidl/python: Fix parsing arguments, fix more pointer issues.Jelmer Vernooij1-14/+1
(This used to be commit b00c1a072457e5083ffc24a8b74b3793d0b44eee)
2008-01-14pidl: Move Generate*Env functions to Parse::Pidl::Samba4::Header because ↵Jelmer Vernooij1-63/+2
they only work with the structures generated by that file. (This used to be commit 9aeb7f31b0fc3b9679e5af07e65e79bc8073c4e1)
2008-01-13pidl: Avoid accidently filling in empty body for types without body.Jelmer Vernooij1-0/+1
(This used to be commit 1fe5c1ad07c574dc094f59f728025dfcafa0cf22)
2008-01-12pidl/ejs: Fix bug that filled in the body for types without body.Jelmer Vernooij1-1/+2
(This used to be commit 4f4dfa6042178c157a09df61d72a42af7aa5c67b)
2008-01-12pidl: Add function for determining whether a type has a body.Jelmer Vernooij1-1/+2
(This used to be commit 893f4102c93c1c2cd6b836f12644d06d9e31800c)
2008-01-12pidl: Remove support for the declare keyword in other parts of the pidl code.Jelmer Vernooij1-1/+1
(This used to be commit 2fe013f715bdee6c01a833bc6c883e830bdc5dfd)
2008-01-11pidl: Remove multiple copies of get_pointer_of and get_value_of.Jelmer Vernooij1-23/+1
(This used to be commit 79344c9c5e0e38155facb0c7b16e84a0dca3d2eb)
2007-12-21r26049: pidl: don't use ndr_pull_save anymoreStefan Metzmacher1-3/+3
metze (This used to be commit d361bb174131227c426a247ca0262930a714c37a)
2007-12-21r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)Stefan Metzmacher2-14/+14
Samba4/NDR/Parser.pm Samba4/NDR/Server.pm Samba3/ServerNDR.pm tests/ metze (This used to be commit 7106f21de8dfc472aa0846b49bfdb7543c63b310)
2007-12-21r25806: let libndr.h include needed stuff and remove pidl magicStefan Metzmacher1-6/+0
for choosing common required headers metze (This used to be commit c97fe5b54c0da68c7e71ea79678fa6348ecdaab9)
2007-12-21r25805: pidl: include libndr.h as first header in ndr_foo.hStefan Metzmacher1-2/+1
metze (This used to be commit 18fce1174199d67d822ea92e048443b60dd3dfa5)
2007-12-21r25804: move including ndr_compression.h into HeaderInterface()Stefan Metzmacher1-7/+7
metze (This used to be commit 2aecc1e9fd19d4e176f5475c8ee0b292d68c85f9)
2007-12-21r25745: [pidl] ndr_pull/push_error(ndr, NDR_ERR_INVALID_POINTER,..)Stefan Metzmacher1-9/+24
instead NT_STATUS_INVALID_PARAMETER_MIX metze (This used to be commit 76b628df53d6cf028fb9f22df003ac87fe3b3c56)
2007-10-10r25453: Fix include for NTSTATUS.Jelmer Vernooij1-1/+1
(This used to be commit 3c2d06d8fc8783362a6ff934e86ea4a4da2c6906)
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij1-1/+1
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r24983: setup the correct talloc name for structures used in the generatedStefan Metzmacher1-1/+4
server stubs metze (This used to be commit 678de9ce6022040403a1afb9157b7ae3af1b027c)
2007-10-10r24721: Avoid True and False because they are only available within Samba.Jelmer Vernooij2-6/+6
(This used to be commit 2d049c8d30876075b03ff74f7ba6d0c57bfb5c45)