Jelmer Vernooij
e3661a6181
Use function-based initialization for ildap backend.
...
(This used to be commit 46e5027f56
)
2008-02-20 01:56:55 +01:00
Jelmer Vernooij
16109a40c0
Use struct-based rather than function-based initialization for ldb modules everywhere.
...
(This used to be commit 85c96a3258
)
2008-02-20 01:54:32 +01:00
Jelmer Vernooij
71bc5acead
Allow ldb backends without init function, use init function-less ldb modules.
...
(This used to be commit 141ee91272
)
2008-02-20 01:37:53 +01:00
Jelmer Vernooij
15b86081cd
Factor out IP marshalling into separate function.
...
(This used to be commit 2548c2a1e7
)
2008-02-19 23:53:04 +01:00
Jelmer Vernooij
836bab841c
Add configure test for vdeplug library.
...
(This used to be commit 89590d7dfe
)
2008-02-19 23:00:43 +01:00
Michael Adam
5233e43ec7
Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
...
Michael
(This used to be commit d10cbb533c
)
2008-02-19 17:25:42 +01:00
Michael Adam
c65cded541
Adapt source code checkout information to git repo in talloc website.
...
Michael
(This used to be commit 254be79799
)
2008-02-19 16:50:13 +01:00
Michael Adam
dd4ffd868b
Fix paths for talloc into unpacked directory (rsync commands).
...
Michael
(This used to be commit 2839d7f67a
)
2008-02-19 16:50:13 +01:00
Jelmer Vernooij
ff0315ba85
Rename include to mkinclude to emphasize it is different from make's include.
...
(This used to be commit 0e1d0a874a
)
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
602f4635da
Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'
...
(This used to be commit 269cbf84d8
)
2008-02-18 19:06:17 +01:00
Jelmer Vernooij
a53beee034
Add static header for gencache.
...
(This used to be commit 58c25657bf
)
2008-02-16 15:52:56 +01:00
Michael Adam
f3bbe1516c
Fix path to talloc guide. Noted by "teferi" on irc.
...
Michael
(This used to be commit bc4e03f2dd
)
2008-02-14 23:10:00 +01:00
Kai Blin
f22598a95c
util_ldb: Add a missing \n to debug string, fix trailing whitespaces.
...
(This used to be commit b0991cc09b
)
2008-02-14 12:32:29 +01:00
Jelmer Vernooij
cf2df1ebd5
Fix talloc .so installation.
...
(This used to be commit ae522f907e
)
2008-02-13 21:09:21 +01:00
Jelmer Vernooij
8a3f8dc646
Allow tdb.mk and talloc.mk to be included at the same time.
...
(This used to be commit af9e042152
)
2008-02-13 17:42:10 +01:00
Jelmer Vernooij
11bc6056ea
Never build .so versions of tdb/talloc from Samba 4 itself. Rather,
...
use shared library versions if they are provided by the system.
This puts talloc and tdb in a similar situation as popt:
the system version is used if provided but if it's not there or if it
is too old, we use our internal version statically.
(This used to be commit 86f88eb7b5
)
2008-02-13 17:01:37 +01:00
Michael Adam
3cfac63d16
Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
...
Michael
(This used to be commit 38855a9f14
)
2008-02-12 22:52:58 +01:00
Jelmer Vernooij
1ed346fcb3
Support using shared library during testsuite run if tdb was built with a shared lib internally.
...
(This used to be commit 28539f48e6
)
2008-02-12 13:51:03 +01:00
Jelmer Vernooij
285820bdd4
make sure libraries are built before attempting to install.
...
(This used to be commit deb1dae2da
)
2008-02-12 13:34:19 +01:00
Jelmer Vernooij
18ef767085
Specify PICFLAG when compiling python modules.
...
(This used to be commit 981957165d
)
2008-02-12 13:09:38 +01:00
Jelmer Vernooij
69d6dd1923
Make sure talloc.so is build before installing.
...
(This used to be commit 51769f5cfc
)
2008-02-12 12:46:33 +01:00
Jelmer Vernooij
923d1ec2f4
Fix installation of python module for ldb and tdb.
...
(This used to be commit 6c9a8bf9f0
)
2008-02-12 12:42:31 +01:00
Jelmer Vernooij
e84cd8d38b
tdb/ldb: Use prefix in case DESTDIR is not set.
...
(This used to be commit ab19a8f627
)
2008-02-12 02:15:09 +01:00
Jelmer Vernooij
9522586695
Create the required directories when installing Python code.
...
(This used to be commit 8ef36fe545
)
2008-02-12 01:58:42 +01:00
Jelmer Vernooij
1529331b97
Avoid using setup.py for intsallation.
...
(This used to be commit 7b93e43dad
)
2008-02-12 01:21:10 +01:00
Jelmer Vernooij
aa2fd8ee50
Manually compile python files rather than use setup.py.
...
(This used to be commit 056843a5c2
)
2008-02-12 00:49:36 +01:00
Jelmer Vernooij
8244b4c071
Manually compile python files rather than using setup.py.
...
(This used to be commit 94dfeb5e89
)
2008-02-12 00:35:11 +01:00
Jelmer Vernooij
ecb987c97c
Fix out of tree builds.
...
(This used to be commit 35c8ebdca2
)
2008-02-11 23:51:59 +01:00
Jelmer Vernooij
3e3946cdca
Split actual content out of tdb Makefile into a separate file.
...
(This used to be commit b5d4ab2cf4
)
2008-02-11 22:55:51 +01:00
Jelmer Vernooij
c3d7f14350
Split actual content out of talloc Makefile into talloc.mk.
...
(This used to be commit 2b89399752
)
2008-02-11 22:52:42 +01:00
Jelmer Vernooij
08b3d3ee94
Move some more rules to rules.mk
...
(This used to be commit 2ff3f72fd2
)
2008-02-11 22:14:31 +01:00
Jelmer Vernooij
94decfc49f
Split rules.mk out of Makefile.
...
(This used to be commit 75ffc2c50d
)
2008-02-11 22:05:52 +01:00
Jelmer Vernooij
25641ec13d
Split rules out of tdb Makefile.
...
(This used to be commit 9f233c1454
)
2008-02-11 22:02:57 +01:00
Jelmer Vernooij
3e0f0091e5
ldb: Split up the Makefile so it will be possible later on to directly include fragments in the Samba 3 or 4 makefile.
...
(This used to be commit 6d54e9104d
)
2008-02-11 21:54:13 +01:00
Jelmer Vernooij
4a603898c5
Remove unused function.
...
(This used to be commit e779cf4724
)
2008-02-11 15:19:24 +01:00
Jelmer Vernooij
e54f9c7749
Fix typo.
...
(This used to be commit a5db115dc6
)
2008-02-11 15:19:24 +01:00
Michael Adam
fee4ba14c0
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
(This used to be commit 1c14c457be
)
2008-02-11 15:07:47 +01:00
Volker Lendecke
a275310bcb
Fix a c++ warning
...
(This used to be commit 9f402c607f
)
2008-02-11 15:07:46 +01:00
Volker Lendecke
59820dcb43
talloc_free_children can only reset pool if it's empty
...
(This used to be commit 5cc7a638e9
)
2008-02-11 15:07:46 +01:00
Volker Lendecke
bdb52e4d58
Mark talloc_pool memory for valgrind
...
(This used to be commit 6deca23b6c
)
2008-02-11 15:07:46 +01:00
Volker Lendecke
7a9033fb2d
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
(This used to be commit 60ef9a84f0
)
2008-02-11 15:07:46 +01:00
Michael Adam
81abb395e0
Add a comment.
...
Michael
(This used to be commit 2a2c28584c
)
2008-02-11 15:07:46 +01:00
Michael Adam
af406133c1
Fix talloctort: move size check after referenced ptr check.
...
Michael
(This used to be commit a0caedb94f
)
2008-02-11 15:07:46 +01:00
Volker Lendecke
44cb6a81f2
Don't shrink a talloc area if we have less than 1k to gain
...
(This used to be commit 0c829e6ee6
)
2008-02-11 15:07:46 +01:00
Jelmer Vernooij
b4c81c0c18
Make data about what subsystems/libraries are enabled available in the mkconfig.mk file.
...
(This used to be commit 4cc93a98f9
)
2008-02-11 14:41:28 +01:00
Michael Adam
f890d1daea
Fix the build: remove reference to inexistent header samba3_proto.h
...
Michael
(This used to be commit 3b9b396292
)
2008-02-11 14:27:33 +01:00
Jelmer Vernooij
08c8d3b992
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)
(This used to be commit c16212e8bf
)
2008-02-11 13:51:09 +01:00
Jelmer Vernooij
d82b6dd09a
Fix switching of hives in regshell ( #5254 )
...
(This used to be commit 5f33545c78
)
2008-02-11 11:48:43 +01:00
Jelmer Vernooij
1a2544a24c
Fix tests.
...
(This used to be commit e4d7cd8ba7
)
2008-02-09 19:16:44 +01:00
Jelmer Vernooij
93bb85d293
Split up tests a bit, output subunit.
...
(This used to be commit 501259ff31
)
2008-02-09 19:04:14 +01:00