summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5360: Remove a couple of unused functions.Jelmer Vernooij2-11/+1
(This used to be commit d8a0a6972156c3211001b7f98e990c167be2468c)
2007-10-10r5345: Some more minor code readability fixes.Jelmer Vernooij2-149/+143
(This used to be commit 10f3bdce80ff67e05b14c3481a05362b054d1f11)
2007-10-10r5338: More efforts to handle types similarly.Jelmer Vernooij7-33/+35
(This used to be commit 95c4f3149925ee71e74ea36fae3a65d2eebf717c)
2007-10-10r5320: Treat structs and unions somewhat more similarly:Jelmer Vernooij8-391/+276
- use same names in hashes (DATA -> ELEMENTS, etc) - [case()] and [default] are no longer special case, they're just regular properties (This used to be commit 6a0f599f822f5c42d93e78c13765804ab2223968)
2007-10-10r5319: Make some more alignment code generic, move NDR-specific stuff toJelmer Vernooij4-205/+200
parser.pm (now renamed to ndr.pm). (This used to be commit a469a5fefb4e6941264c11f4bde60eab71f6f7aa)
2007-10-10r5298: - got rid of pstring.h from includes.h. This at least makes it a bitAndrew Tridgell2-10/+10
less likely that anyone will use pstring for new code - got rid of winbind_client.h from includes.h. This one triggered a huge change, as winbind_client.h was including system/filesys.h and defining the old uint32 and uint16 types, as well as its own pstring and fstring. (This used to be commit 9db6c79e902ec538108d6b7d3324039aabe1704f)
2007-10-10r5288: Make alignment code more genericJelmer Vernooij1-32/+42
(This used to be commit 5c2f0df566804cf0b8879504f5e41a8100a7fd40)
2007-10-10r5286: Some first steps in making the pidl code somewhat more generic for theJelmer Vernooij3-66/+29
various data types: Add ndr_flags argument to all ndr push/pull scalar functions (This used to be commit ab490c0c882bb13de190546c50a0631ecb8255ad)
2007-10-10r5245: Remove dead code.Tim Potter1-671/+1
(This used to be commit 949f31ad2865699da0f3a9e827606abd762b10b7)
2007-10-10r5241: Generate swig wrappers for unions as well as structures.Tim Potter1-2/+2
(This used to be commit e65741159d8578d629ccfcd863f034fda895f9fe)
2007-10-10r5223: Rename dom_sid2 to dom_sid as we don't care about the differenceTim Potter1-1/+5
for the swig wrappers. (This used to be commit edb32b9b5175f720bce110bf2bb4cf136ed47142)
2007-10-10r5197: moved events code to lib/events/ (suggestion from metze)Andrew Tridgell2-3/+1
(This used to be commit 7f54c8a339f36aa43c9340be70ab7f0067593ef2)
2007-10-10r5194: added support for using epoll instead of select() on systems that haveAndrew Tridgell1-0/+3
it. epoll is much more scalable than select(), but only exists on some systems (such as Linux with the 2.6.x kernel). The code detects any epoll system call failures at runtime and falls back to select() if there is a problem, so it should be safe to compile this on a 2.6 kernel and run it on a 2.4.x kernel. The speedup is quite large. It gains 20% in packet rate in the BENCH-NBT test, on top of another 20% gain from the better timer handling I added earlier. The really big gain will be when we are dealing with large numbers of file descriptors. With epoll we can handle hundreds of file descriptors all O(1), whereas with select it is O(n). (This used to be commit 26aa1aa69377e43da2942a42d137b95801e9fa1a)
2007-10-10r5190: Grr - typo.Tim Potter1-1/+1
(This used to be commit 5f40ff0f554323ed0a806be7a4d0f1fac97e3ffb)
2007-10-10r5188: Add config.mk file for swig.Tim Potter1-0/+1
(This used to be commit c40fb6625d5cc6b3ddadfdc3c63d7856a45ec134)
2007-10-10r5155: define ipv4address as a based IDL type, mapped to a "const char *" inAndrew Tridgell1-1/+3
the header, and defined on the wire as a 4 byte network byte order IP. This means the calling code doesn't have to worry about network byte order conversions. (This used to be commit 72048e37179dd5b9ada0c5280d2f0d8c23d1a17d)
2007-10-10r5133: fix type mapping to internal typesStefan Metzmacher1-5/+7
metze (This used to be commit 4cebc7a85810395a0b095127925bd88c7caddb63)
2007-10-10r5108: the beginnings of a nbtd server for Samba4. Currently just displaysAndrew Tridgell1-0/+1
the packets it receives, but it at least shows how the server structure will work. To implement it I extended the libcli/nbt/ library to allow for an incoming packet handler to be registered. That allows the nbt client library to be used for low level processing of the nbtd server packets. Other changes: - made the socket library always set SO_REUSEADDR when binding to an interface, to ensure that restarts of a server don't have to wait for a couple of minutes. - made the nbt port configurable. Defaults to 137, but other ports will be useful for testing. (This used to be commit 2fedca6adfd4df9e85cc86896dfa79630777a917)
2007-10-10r5104: - added support for task based servers. These are servers that withinAndrew Tridgell1-0/+1
themselves are run as a single process, but run as a child of the main process when smbd is run in the standard model, and run as part of the main process when in the single mode. - rewrote the winbind template code to use the new task services. Also fixed the packet queueing - got rid of event_context_merge() as it is no longer needed (This used to be commit 339964a596689278d2138cff05d7d444798a3504)
2007-10-10r5102: This is a major simplification of the logic for controlling top levelAndrew Tridgell1-2/+1
servers in smbd. The old code still contained a fairly bit of legacy from the time when smbd was only handling SMB connection. The new code gets rid of all of the smb_server specific code in smbd/, and creates a much simpler infrastructures for new server code. Major changes include: - simplified the process model code a lot. - got rid of the top level server and service structures completely. The top level context is now the event_context. This got rid of service.h and server.h completely (they were the most confusing parts of the old code) - added service_stream.[ch] for the helper functions that are specific to stream type services (services that handle streams, and use a logically separate process per connection) - got rid of the builtin idle_handler code in the service logic, as none of the servers were using it, and it can easily be handled by a server in future by adding its own timed_event to the event context. - fixed some major memory leaks in the rpc server code. - added registration of servers, rather than hard coding our list of possible servers. This allows for servers as modules in the future. - temporarily disabled the winbind code until I add the helper functions for that type of server - added error checking on service startup. If a configured server fails to startup then smbd doesn't startup. - cleaned up the command line handling in smbd, removing unused options (This used to be commit cf6a46c3cbde7b1eb1b86bd3882b953a2de3a42e)
2007-10-10r5086: Fix list of binaries to install:Andrew Bartlett1-4/+5
- nmblookup and net are generic, not torture programs. - Add ntlm_auth Andrew Bartlett (This used to be commit a2a49d1be00bdf33f941890399d6cbdf46968d9b)
2007-10-10r5085: add net and nmblookup to installed binariesAndrew Tridgell1-1/+3
metze, can you look at automating this when you get time? We really need a flag in config.mk for "BINARY::" sections for the install location, something like: [BINARY::nmblookup] OBJ_FILES = \ utils/nmblookup.o INSTALL_IN = bin (This used to be commit a69c1a91307dc5bd13db94fdbb7cbaba90b074aa)
2007-10-10r5073: Call new autogenerator function for swig stuff instead of old one.Tim Potter1-6/+6
(This used to be commit a1c98101e4ebdcc4a9504d401a9d34c88c797e6e)
2007-10-10r5072: oDecrease the amount of autogenerated code (sorry tridge) and use swig'sTim Potter1-63/+62
structure mapping features instead of doing it all ourselves. This basically works, but has broken all the existing checked in Python code. Sample: pipe = dcerpc.pipe_connect(binding, dcerpc.DCERPC_SAMR_UUID, int(dcerpc.DCERPC_SAMR_VERSION), domain, username, password) r = dcerpc.samr_Connect2() r.data_in.system_name = 'foo' r.data_in.access_mask = 0x02000000 result = dcerpc.dcerpc_samr_Connect2(pipe, r) (This used to be commit c2996ad910a24c977b4c0a1925118d36454514f7)
2007-10-10r5051: initialise all elements of an array (thanks to Mike Allan for pointingAndrew Tridgell1-1/+1
this out) (This used to be commit 7bd4ced313592310475b7403b87c7606afb1b7c1)
2007-10-10r5047: Fix swig dependencies.Tim Potter1-4/+4
(This used to be commit f9e56d39c943a3edd6a13b6d29fe4e614c32d289)
2007-10-10r5044: fix pidl--swigStefan Metzmacher1-1/+1
metze (This used to be commit 030bfd8d7feb16fd6d5117d17913b77b1468a507)
2007-10-10r5043: this broke more systems than it helped. Remove it and try to workAndrew Tridgell1-9/+0
around broken solaris headers some other way. (This used to be commit 1333522a6beea8d474aa36390acbd265b63413d3)
2007-10-10r5042: another attempt to get solaris10 buildingAndrew Tridgell1-1/+1
(This used to be commit 11277ddb4ca8a2917565f4e211816cbba431b90d)
2007-10-10r5040: attempt to get solaris10 building by defining _XOPEN_SOURCEAndrew Tridgell1-0/+9
(This used to be commit d9c1bf10608ecc3d6a4aace44fb0dce3547c5f53)
2007-10-10r5039: fixed eparser not to generate talloc_p()Andrew Tridgell1-2/+2
(This used to be commit dd67a5d833d7e44ff0ec1ba9f5c55c2b1e121b9a)
2007-10-10r5036: changed HYPER_T to the more standard "hyper"Andrew Tridgell1-24/+21
(This used to be commit 1d1a9c11ee681540ef8a1029409bb24fc26f976c)
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)