1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

15224 Commits

Author SHA1 Message Date
Jelmer Vernooij
94dfeb5e89 Manually compile python files rather than using setup.py. 2008-02-12 00:35:11 +01:00
Jelmer Vernooij
35c8ebdca2 Fix out of tree builds. 2008-02-11 23:51:59 +01:00
Jelmer Vernooij
b5d4ab2cf4 Split actual content out of tdb Makefile into a separate file. 2008-02-11 22:55:51 +01:00
Jelmer Vernooij
2b89399752 Split actual content out of talloc Makefile into talloc.mk. 2008-02-11 22:52:42 +01:00
Jelmer Vernooij
2ff3f72fd2 Move some more rules to rules.mk 2008-02-11 22:14:31 +01:00
Jelmer Vernooij
75ffc2c50d Split rules.mk out of Makefile. 2008-02-11 22:05:52 +01:00
Jelmer Vernooij
9f233c1454 Split rules out of tdb Makefile. 2008-02-11 22:02:57 +01:00
Jelmer Vernooij
6d54e9104d ldb: Split up the Makefile so it will be possible later on to directly include fragments in the Samba 3 or 4 makefile. 2008-02-11 21:54:13 +01:00
Jelmer Vernooij
d746fcde10 Use make variables in cflags file (now supported by cflags.pl) 2008-02-11 19:28:59 +01:00
Jelmer Vernooij
742e50aeb5 Support including files in the cflags.pl script. 2008-02-11 19:10:21 +01:00
Jelmer Vernooij
fc9b985312 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:

	source/Makefile
	source/rules.mk
2008-02-11 18:26:28 +01:00
Jelmer Vernooij
df5b712001 TORTUREDIR as target dir for binaries is no longer used, remove it. 2008-02-11 18:07:22 +01:00
Jelmer Vernooij
0d44e7a15a Clean up data.mk file in distclean. 2008-02-11 15:57:52 +01:00
Jelmer Vernooij
8776a0d2ba Print warning when config.status doesn't exist and the user tries to
run make.
2008-02-11 15:52:34 +01:00
Jelmer Vernooij
e779cf4724 Remove unused function. 2008-02-11 15:19:24 +01:00
Jelmer Vernooij
de7af69134 Move pidl bits to a separate file. 2008-02-11 15:19:24 +01:00
Jelmer Vernooij
a5db115dc6 Fix typo. 2008-02-11 15:19:24 +01:00
Jelmer Vernooij
ebf6e59dfe Avoid autogenerating the Makefile but rather include a data.mk file
that is autogenerated.
2008-02-11 15:19:24 +01:00
Michael Adam
1c14c457be Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
Not sure if we can produce one from the other, so I manually made
them equal for now.

Michael
2008-02-11 15:07:47 +01:00
Volker Lendecke
9f402c607f Fix a c++ warning 2008-02-11 15:07:46 +01:00
Volker Lendecke
5cc7a638e9 talloc_free_children can only reset pool if it's empty 2008-02-11 15:07:46 +01:00
Volker Lendecke
6deca23b6c Mark talloc_pool memory for valgrind 2008-02-11 15:07:46 +01:00
Volker Lendecke
60ef9a84f0 Implement talloc_pool()
A talloc pool is a chunk of memory that can be used as a context for further
talloc calls. Allocations with the pool as the parent just chew from that
memory by incrementing a pointer. If the talloc pool is full, then we fall back
to the normal system-level malloc(3) to get memory.

The use case for talloc pools is the transient memory that is used for handling
a single SMB request. Incrementing a pointer will be way faster than any malloc
implementation.

There is a downside of this: If you use talloc_steal() to move something out of
the pool, the whole pool memory is kept around until the last object inside the
pool is freed. So if you talloc_free() the pool, it might happen that the
memory is freed later. So don't hang anything off a talloc pool that should
live long.

Volker
2008-02-11 15:07:46 +01:00
Michael Adam
2a2c28584c Add a comment.
Michael
2008-02-11 15:07:46 +01:00
Michael Adam
a0caedb94f Fix talloctort: move size check after referenced ptr check.
Michael
2008-02-11 15:07:46 +01:00
Volker Lendecke
0c829e6ee6 Don't shrink a talloc area if we have less than 1k to gain 2008-02-11 15:07:46 +01:00
Jelmer Vernooij
4cc93a98f9 Make data about what subsystems/libraries are enabled available in the mkconfig.mk file. 2008-02-11 14:41:28 +01:00
Michael Adam
3b9b396292 Fix the build: remove reference to inexistent header samba3_proto.h
Michael
2008-02-11 14:27:33 +01:00
Jelmer Vernooij
6c7aa271b1 Fix accidently introduced typo. 2008-02-11 13:58:04 +01:00
Jelmer Vernooij
71dc1d5d1d Ignore mkconfig.mk file, which is autogenerated. 2008-02-11 13:54:12 +01:00
Jelmer Vernooij
c16212e8bf Remove Samba 3 backwards compatibility code in C.
This code is no longer used, and equivalent code already exists in Python
(scripting/python/samba/samba3.py)
2008-02-11 13:51:09 +01:00
Jelmer Vernooij
7aff2ddd8c Remove tests for Samba 3 EJS code. 2008-02-11 13:38:07 +01:00
Jelmer Vernooij
eff9c9cedd Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial 2008-02-11 13:26:59 +01:00
Jelmer Vernooij
eb04de69c0 Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths. 2008-02-11 13:20:24 +01:00
Jelmer Vernooij
35f5c8294e Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python 2008-02-11 13:10:11 +01:00
Jelmer Vernooij
54e7d10fe0 Fix typo. 2008-02-11 12:39:47 +01:00
Kai Blin
4557b34d82 autoconf: We build Samba from git now, not from SVN. 2008-02-11 11:58:43 +01:00
Jelmer Vernooij
5f33545c78 Fix switching of hives in regshell (#5254) 2008-02-11 11:48:43 +01:00
Kai Blin
38d4e2407a provision: Fix new user creation.
Spotted by nobody88 in IRC.
2008-02-11 10:38:19 +01:00
Stefan Metzmacher
99d6f49340 pidl/Samba3::ServerNDR: use talloc_tos() instead of NULL
metze
2008-02-11 08:44:56 +01:00
Jelmer Vernooij
95967e8bfb Avoid autogenerating the Makefile but rather include a data.mk file
that is autogenerated.
2008-02-11 01:42:29 +01:00
Jelmer Vernooij
67074ff4aa Fix case. 2008-02-11 01:15:54 +01:00
Jelmer Vernooij
a72d3ffade Move some more variables to static .mk file. 2008-02-11 01:02:16 +01:00
Jelmer Vernooij
a22bb7725b Automatically write AC_SUBST() vars to mkconfig.mk and use them. 2008-02-11 00:21:20 +01:00
Jelmer Vernooij
f44b838b68 Move some variables to a separate .mk file that could also be included by a non-smb_build build system. 2008-02-10 23:32:31 +01:00
Jelmer Vernooij
091f1e7314 Start working on generating .mk file from configure for inclusion in Makefile. 2008-02-10 22:58:03 +01:00
Jelmer Vernooij
ea718a0c0b Make formatting a bit more ReST-valid. 2008-02-10 22:24:09 +01:00
Jelmer Vernooij
20c15884c8 Change README to be ReST-compatible. 2008-02-10 22:14:08 +01:00
Jelmer Vernooij
ea07509b4a More syntax fixes, use more standard python functions. 2008-02-10 00:56:55 +01:00
Jelmer Vernooij
239a161664 Start working on python conversion of minschema. 2008-02-10 00:21:41 +01:00