summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5034: - added a type mapping function in pidl, so the type names in our IDLAndrew Tridgell4-12/+43
files don't need to match the type names in the generated headers - with this type mapping we no longer need definitions for the deprecated "int32", "uint8" etc form of types. We can now force everyone to use the standard types int32_t, uint8_t etc. - fixed all the code that used the deprecated types - converted the IDL types "int64" and "uint64" to "dlong" and "udlong". These are the 4 byte aligned 64 bit integers that Microsoft internally define as two 32 bit integers in a structure. After discussions with Ronnie Sahlberg we decided that calling these "int64" was confusing, as it implied a true 8 byte aligned type - fixed all the cases where we incorrectly used things like "NTTIME_hyper" in our C code. The generated API now uses a NTTIME for those. The fact that it is hyper-aligned on the wire is not relevant to the API, and should remain just a IDL property (This used to be commit f86521677d7ff16bdc4815f9524e5286026f10f3)
2007-10-10r5033: Remove --with-eparserdir configure option and eparser_idl make target.Tim Potter2-23/+0
This is all done in the lorikeet/ethereal Makefile now. (This used to be commit 5ec9fad5cfc9c6010550aa1890e9d213030db55d)
2007-10-10r5032: get rid of the init fns in eparserAndrew Tridgell1-0/+3
(This used to be commit dc8c7cb85cf87d5976573ea6e9de43c0c9d5f44a)
2007-10-10r5024: Fix build.Tim Potter1-7/+1
(This used to be commit 425b988541fa669e7f2905fe959522f2d2d50da1)
2007-10-10r5019: Some tweaks to building the swig .i files.Tim Potter1-7/+12
(This used to be commit c252a286efcb9ca2024c8d234c8a65855522fb25)
2007-10-10r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into theTim Potter1-5/+5
build system. This still generates bogus targets (i.e bin/swig_dcerpc.so.0.0.1) and the subsystem initialisation needs to be done by hand but it is less of a hack. (This used to be commit e9b69d19a84b31966fb6e66e9d8682b0f9b40a47)
2007-10-10r5010: Handle weird-ass NTTIME_1sec and NTTIME_hyper types.Tim Potter1-1/+2
(This used to be commit a38db33713348e8a07d3fc932865b2f649dc962f)
2007-10-10r5009: Put bitmaps in their own subtree.Tim Potter1-1/+6
(This used to be commit 8ca1e3aa3b5007f9da3e951e15e0380ae170a1cf)
2007-10-10r5008: 32-bits is the default bitmap size.Tim Potter1-2/+1
(This used to be commit 493ba2da6bb93d080ff92c50d920df8c858f3010)
2007-10-10r5007: Fix bug in regexp where we were eating the strings "in" or "out" fromTim Potter1-3/+3
structure names if they started with those strings. (This used to be commit e983de6ead6ed23b51c2df70e69586b1e7be5a60)
2007-10-10r5006: Implement parsing of pidl bitmaps in ethereal parsers. This worksTim Potter1-5/+34
well but needs to be stuck in a subtree. (This used to be commit a34212247b5dfb87d87c1ce12aab1835c88a0651)
2007-10-10r4993: Generate nicer name for enum hf.Tim Potter1-2/+15
Start work on supporting bitmaps. (This used to be commit 6f418f14267291bf8637e5dcd7e8ceca4e430314)
2007-10-10r4991: Remove debugging statement.Tim Potter1-1/+0
(This used to be commit 4640d3371eb57de90d972719e8550fea65831f74)
2007-10-10r4990: Generate value strings for pidl enumerations.Tim Potter1-13/+57
(This used to be commit edaf81b6395e1af06e9546027f9a9c3c4975c4b4)
2007-10-10r4983: On second thoughts don't include the config.mk file for the swig stuffTim Potter1-1/+0
just yet. More testing required. (This used to be commit c2664bb365e31a160b72e6eecfdfce9921e913f0)
2007-10-10r4982: Start to move swig dependencies into new build system. UnfortunatelyTim Potter2-34/+6
I can only get something useful happening by using the BINARY keyword as nothing else seems to generate dependency lists that can be used when linking the swig shared libraries. Anyway this is a lot nicer than having lots of junk in makefile.pm. (This used to be commit 71a22f5206086c5ab7315d38934d65483aff7a70)
2007-10-10r4940: Add a variable to hold a list of typedefs for which we shouldn't generateTim Potter1-1/+20
a dissector for. A hand written dissector needs to be added to eparser.c for the plugin to link. (This used to be commit d4f7f6b0b41cb572320a5aeaf771c5af2b7bf13d)
2007-10-10r4930: Update my copyright.Tim Potter1-1/+1
(This used to be commit 362151788bed06d934f111459abe7f6491362906)
2007-10-10r4884: - 2nd part of support ndr_size_ generation on unions as well as ↵Andrew Tridgell4-426/+514
structures - added "nopull" and "nopush" flags, to allow for externally written parsers for sub-structures (This used to be commit f65f239978425de795a0e188aaad3d5d1167da32)
2007-10-10r4883: support ndr_size_ generation on unions as well as structuresAndrew Tridgell1-1/+6
(This used to be commit 852ad354b481f130f80213f2924ad44d10340b21)
2007-10-10r4865: Fix up subtree name when dissecting unions. E.g in LSA, The subtreeTim Potter1-7/+23
used to be called something like "Level, R->out.info" but now is called "Lsa PolicyInformation". (This used to be commit be2bb36856bee1c2882e063beb7c04ac5e5889de)
2007-10-10r4858: a better fix for alignment of enumerated types (I'm not even sure whyAndrew Tridgell1-4/+4
the last fix worked at all) (This used to be commit 99cef2e5a0412ede455cb1579541550efa49502a)
2007-10-10r4843: fixed the alignment handling of enumerated typesAndrew Tridgell2-0/+7
(This used to be commit d2946dfabbc727633cdb17c3956fc120e214140c)
2007-10-10r4842: Set the end of a structure so that when you click on the proto tree,Tim Potter1-0/+4
the hex display window highlights the part of the buffer occupied by the structure. Cool! (This used to be commit b5c13fc6b8fe3f8dfa5ada73d33bd13cd607ebc4)
2007-10-10r4841: Handle levels that are signed integer types.Tim Potter1-1/+1
(This used to be commit 40d49d6279431bf1af343e3eb22038ef9d8b39e6)
2007-10-10r4815: Handle uint8 and uint16 bitmap types.Tim Potter1-3/+10
Break out arguments to proto_register_protocol() so they can be renamed easily. Unfortunately the "pidl_" prefix will have to stick around if/when the old dissectors are removed because the filter and short names clash. (This used to be commit f2ce80e3350337ef795eb32f2478d218c2e382c3)
2007-10-10r4814: cope with perl not being in /usr/bin for idl buildingAndrew Tridgell1-1/+1
(This used to be commit 1fc9448ccb0c2038c128e13535fce83d32f39058)
2007-10-10r4813: this is a temporary solution to a link problem we have on someAndrew Tridgell1-1/+2
platforms. The problem is that some loaders (for example the IRIX 6.5 machine us4 in the build farm) must have libs listed after object files that depend on them on the link line. If you put the libs first then all the symbols in the libs remain unresolved. I think the correct fix for this is to separate xxx_LINK_LIBS out from the current xxx_LINK_FLAGS, and use xxx_LINK_FLAGS followed by xxx_LINK_LIST followed by xxx_LINK_LIBS. I'm hoping metze or jelmer, as our build wizards, might take a look at this when they get time. This interim fix should work fine, but its rather ugly, as it lists the flags and libs twice in each link. (This used to be commit db7d43fbb95748c85316b41ad3dc4eb967ed8a08)
2007-10-10r4812: removed dependence on Data::DumperAndrew Tridgell1-1/+0
if you need Dumper for debugging (and it is damn useful!) then please use the require trick in MyDumper() from pidl so we don't end up depending on it. Too many systems don't have it. (This used to be commit b9f32d2812bde0a4389971487006f9c553b5e3c1)
2007-10-10r4800: proper fix for the _GNU_SOURCE problem with comparison_fn_tAndrew Tridgell1-11/+1
(This used to be commit 4181b38fac426cfc786e52cdd43fdeddbc26651f)
2007-10-10r4799: comparison_fn_t is under __USE_GNU on GNU systems, therefore, we need ↵Alexander Bokovoy1-0/+5
_GNU_SOURCE defined in the test (This used to be commit b4200a462354cb605eb6af41427027147798de6e)
2007-10-10r4798: When dissecting structures, name the protocol tree after the field name,Tim Potter1-2/+2
not the field type (i.e DACL and SACL instead of dom_sid). (This used to be commit 2c0e77869f9f04a75785990c79e611134643f89e)
2007-10-10r4797: Add the name of what we are pointing to when dissecting pointers.Tim Potter1-3/+3
(This used to be commit 6fc162738f86f8f7df013623e57a21970a8b6f36)
2007-10-10r4796: Get rid of unecessary #includeTim Potter1-0/+2
(This used to be commit 2950dbd87c8ff535277b817268c8a601eee42ba2)
2007-10-10r4794: - disabled the ntacl command line utilities until they are rewritten ↵Andrew Tridgell2-609/+20
to use the same acl format as we use in pvfs (and hopefully use common code too) - removed a lot of old cruft from our autoconf tests. This may well break some builds, but then we can fix them properly instead of the "if solaris version 5.1.2" crap This was prompted by someone sending me solaris 10 patches that patched the configure script with if statements for several more versions of solaris to check for and do special stuff. That is just silly. (This used to be commit 1ea59d1146f041e9befbb435e901c6d7d497c52c)
2007-10-10r4773: Handle arrays of scalar types as function arguments.Tim Potter1-24/+61
Add hf for function return value. Rename struct field members to be named after the structure name and element name rather than element name and element type. Remember which structure or function we are processing and use it to generate hf fields according to the naming scheme above. (This used to be commit fd14622d132c3f2dfd837ea7beccd0fc11a6bf3e)
2007-10-10r4771: Fix some indentation.Tim Potter1-6/+25
(This used to be commit b2a3b0221680fb54b058631846559e6151a7b562)
2007-10-10r4770: Change from processing ndr_*.[ch] files all at once to line-by-line.Tim Potter1-20/+16
I'm hoping this will allow better mapping hf fields to the structures they are present in which isn't possible at the moment. (Line mode allows us to use /foo/ .. /bar/ regexps and to store state during the processing. (This used to be commit 75b6df15f2edfac99fbcd7cefb7b404591a1ecb6)
2007-10-10r4729: add dummy "winbind" serviceStefan Metzmacher1-1/+2
- this creates a new task and then starts a process_model "single" with service "winbind_task" - that means with -M single everything is in one process with - M standard winbind is a seperate process but didn't fork for each connection with -M thread winbind is a seperate thread but didn't thread for each connection - the dummy server listen s on /tmp/.winbind/echo and for better testing with telnet also on 127.0.255.1 port 55555 metze (This used to be commit 5190f60dedc4076d94fbf77e02eb3b5312d953ec)
2007-10-10r4717: fixed our usage of VA_COPY to be more standards compliantAndrew Tridgell1-3/+13
(This used to be commit 48b52584ab7db747feaf7ad4382bd3877935ee26)
2007-10-10r4690: - add support for async rpc server repliesStefan Metzmacher2-35/+120
the backend should check for (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_MAY_ASYNC) then it's allowed to reply async then the backend should mark that call as async with dce_call->state_flags |= DCESRV_CALL_STATE_FLAG_ASYNC; later it has to manualy set r->out.result and then send the reply by calling status = dcesrv_reply(p->dce_call); NOTE: that ncacn_np doesn't support async replies yet - implement an async version of echo_TestSleep - reenable the echo_TestSleep torture test (this need to be more strict when we have support for async ncacn_np) metze (This used to be commit f0a0dbeb25b034b1333078ca085999359f5f6209)
2007-10-10r4677: stub.pm must be synced with server.pmStefan Metzmacher1-2/+2
metze (This used to be commit b467635c2dd90dc40e2358b8d18bec238a85786f)
2007-10-10r4673: Fix the IDL for the QuerySecret LSA call.Andrew Bartlett1-1/+2
This call uses a new IDL type, NTTIME_hyper. This is 8-byte aligned, as the name suggests. Expand the QuerySecret LSA calls in RPC-SAMLOGON and RPC-LSA, to validate the behaviour of times, and of the old secrets. Thanks to tridge for spotting the use of HYPER! Andrew Bartlett (This used to be commit 1fed79cb0f2ae7940639d08ef99576559d4cd06e)
2007-10-10r4640: first stage in the server side support for multiple context_ids on ↵Andrew Tridgell1-2/+2
one pipe this stage does the following: - simplifies the dcerpc_handle handling, and all the callers of it - split out the context_id depenent state into a linked list of established contexts - fixed some talloc handling in several rpc servers that i noticed while doing the above (This used to be commit fde042b3fc609c94e2c7eedcdd72ecdf489cf63b)
2007-10-10r4637: log packets when the server code returns an DCERPC_FAULTStefan Metzmacher2-0/+5
metze (This used to be commit 64805e5dc58ad1d1fefc3e36158131fa2d531592)
2007-10-10r4624: Several crash fixes for DCOMJelmer Vernooij1-2/+9
More work on the example class implementation (This used to be commit 1f8f4dd179d5aa0472c676d115dc2fc1749ce32d)
2007-10-10r4616: the first phase in the addition of proper support forAndrew Tridgell2-4/+4
dcerpc_alter_context and multiple context_ids in the dcerpc client library. This stage does the following: - split "struct dcerpc_pipe" into two parts, the main part being "struct dcerpc_connection", which contains all the parts not dependent on the context, and "struct dcerpc_pipe" which has the context dependent part. This is similar to the layering in libcli_*() for SMB - disable the current dcerpc_alter code. I've used a #warning until i get the 2nd phase finished. I don't know how portable #warning is, but it won't be long before I add full alter context support anyway, so it won't last long - cleanup the allocation of dcerpc_pipe structures. The previous code was quite awkward. (This used to be commit 4004c69937be7e5dae56f9567ca607f982d395d3)
2007-10-10r4613: Fix stuff I broke in the last commit with the /x regexp flag.Tim Potter1-44/+45
(This used to be commit 20f9143221021ab050802d6aed359677bee978ed)
2007-10-10r4606: Start adding some more comments and some indentation for the eparserTim Potter1-43/+93
regexps. Hopefully this will make things a bit easier to understand later on. (This used to be commit c325859eb6a0972638bbbb83ebb2dfda489ac8ee)
2007-10-10r4600: Remove Data::Dumper import leftover from debugging.Tim Potter1-12/+16
Return more ethereal types and bases for hf fields. Currently we assume that enums always fit into a uint16 which will probably have to change soon. (This used to be commit 25f6e11f3156e21c1dc03afa879e9cda2f5dd341)