summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
AgeCommit message (Collapse)AuthorFilesLines
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 Metzmacher1-8/+8
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-10r25301: Merge my includes.h cleanups.Jelmer Vernooij1-1/+1
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r24721: Avoid True and False because they are only available within Samba.Jelmer Vernooij1-2/+2
(This used to be commit 2d049c8d30876075b03ff74f7ba6d0c57bfb5c45)
2007-10-10r24563: remove unused DCERPC specific stuff from the generated NDR codeStefan Metzmacher1-3/+0
metze (This used to be commit 2dbf89e22352dcb36c7246671ccc9cd55d9f6a57)
2007-10-10r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher1-10/+10
metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-2/+2
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher1-2/+2
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_listStefan Metzmacher1-2/+2
into ndr_interface_string_array and move it to libndr.h metze (This used to be commit 473bca74dc9d9dc54a239c9b5d3dc5fcf5a117a9)
2007-10-10r24535: rename struct dcerpc_interface_call -> struct ndr_interface_callStefan Metzmacher1-1/+1
and move it to librpc/ndr/libndr.h metze (This used to be commit abd5551aabae1820baaa52a963e8c7aa9605914e)
2007-10-10r24446: We only need one genric GenerateFunctionInEnvStefan Metzmacher1-7/+11
function metze (This used to be commit 0c5be644ba13c68b7378a6ae9dcd314018ece25d)
2007-10-10r22462: Fix test suite for ndr parser without using 'our'Jelmer Vernooij1-812/+812
(This used to be commit d491e60c70de8d78c333b317a143919c1a68c6d9)
2007-10-10r22357: Don't use 'our'Jelmer Vernooij1-5/+2
(This used to be commit 7989ee2aa015264dc9334b5e15d4fe6cb55f4e09)
2007-10-10r21656: Move tests a bit closer to the things they test, should make syncing ↵Jelmer Vernooij1-3/+0
with samba3 easier. (This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10r21654: Add simple test for print functions.Jelmer Vernooij1-1/+1
(This used to be commit 3c9df011a85aa8178a26d66faaaed5c88757800e)
2007-10-10r21578: Use utility function for naming pull/push/print functions.Jelmer Vernooij1-34/+39
(This used to be commit e0f626b79c43eb59ad3c6e3fb6c267504764bfef)
2007-10-10r21534: Add some more tests for wireshark.Jelmer Vernooij1-1/+0
(This used to be commit b10432096181cf8e7d729e58a5ab54fac5eaa5fe)
2007-10-10r21487: Fix warning when using anonymous types, initial work on nested type ↵Jelmer Vernooij1-0/+3
support in ejs. (This used to be commit a396c5de12cd958fe0457fa5372e539132ad7ed9)
2007-10-10r21484: Fix Needed* for nested datastructures.Jelmer Vernooij1-25/+45
(This used to be commit ec3c9ebfd0de287411ce399967409f902653d5c6)
2007-10-10r21459: Remove name argument, more refactoring.Jelmer Vernooij1-57/+76
(This used to be commit fad03f6c51b40bca2b60036835b998056fec0faa)
2007-10-10r21458: Prepare for generating separate primitives/deferred code.Jelmer Vernooij1-20/+23
(This used to be commit efaf476337e536740068334ee9af01eb6ce97c4f)
2007-10-10r21456: Allow anonymous and non-anonymous nested ↵Jelmer Vernooij1-43/+105
structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. (This used to be commit 8aac1fc98b812a0668bc0d803d1e2831396b455e)
2007-10-10r21455: Fix a bug in our handling of conformant arrays. The conformant array wasJelmer Vernooij1-30/+30
always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. (This used to be commit ffe387920473fb365f740942098085eb40299c84)
2007-10-10r21443: Refactor some of the NDR code in preparation of nested data ↵Jelmer Vernooij1-102/+125
structure support. (This used to be commit 1afedaad44d5d375ebd277017ec61bf9b5741d8a)
2007-10-10r21442: Allow more flexible data structure names.Jelmer Vernooij1-106/+111
(This used to be commit 5b091c5d75f8580f10bc6a61a0e2203abec98784)
2007-10-10r21440: Support different variables in environments.Jelmer Vernooij1-7/+7
(This used to be commit 1702a663ba4ce6f5803e265a969f2be564fce1e3)
2007-10-10r21433: Get rid of the COM support code - it's not used and unmaintained. We canJelmer Vernooij1-11/+11
always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. (This used to be commit 1ad0f99a439f0d52a735b391bf9900d50171aca5)
2007-10-10r21430: Support tagged types without typedef. This means:Jelmer Vernooij1-82/+131
struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). (This used to be commit a716aa70f0c90898e6fcf57d63a2cf4c40e7d4df)