1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-17 04:23:50 +03:00
Commit Graph

70 Commits

Author SHA1 Message Date
Jelmer Vernooij
8056f4a9a7 r2254: Fix a couple of compiler warnings... 2007-10-10 12:58:35 -05:00
Andrew Tridgell
e35bb094c5 r1983: a completely new implementation of talloc
This version does the following:

  1) talloc_free(), talloc_realloc() and talloc_steal() lose their
     (redundent) first arguments

  2) you can use _any_ talloc pointer as a talloc context to allocate
     more memory. This allows you to create complex data structures
     where the top level structure is the logical parent of the next
     level down, and those are the parents of the level below
     that. Then destroy either the lot with a single talloc_free() or
     destroy any sub-part with a talloc_free() of that part

  3) you can name any pointer. Use talloc_named() which is just like
     talloc() but takes the printf style name argument as well as the
     parent context and the size.

The whole thing ends up being a very simple piece of code, although
some of the pointer walking gets hairy.

So far, I'm just using the new talloc() like the old one. The next
step is to actually take advantage of the new interface
properly. Expect some new commits soon that simplify some common
coding styles in samba4 by using the new talloc().
2007-10-10 12:58:14 -05:00
Jelmer Vernooij
456f97eed0 r1118: Read-only enumeration of keys in the LDB backend works now :-) 2007-10-10 12:56:38 -05:00
Jelmer Vernooij
3df8ff6cf1 r955: Update debian package rules... builds now 2007-10-10 12:56:22 -05:00
Stefan Metzmacher
0e5517d937 r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
2007-10-10 12:56:15 -05:00
Jelmer Vernooij
e4f6ca8522 r833: Compile error 2007-10-10 12:53:54 -05:00
Jelmer Vernooij
9228aeeafd r832: Only show menu items for backends if they're present 2007-10-10 12:53:54 -05:00
Jelmer Vernooij
25c27b176c r828: Some fixes in the core and regshell concerning hives and
unicode
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
8cd1b6bc70 r825: - Introduce support for multiple roots (or 'hives')
- Clean up rpc backend (possible now that multiple hives are supported)
2007-10-10 12:53:53 -05:00
Stefan Metzmacher
c78a2ddb28 r665: merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree.

NOTE: that it's not completely ready, but it's functional:-)

metze
2007-10-10 12:53:36 -05:00
Stefan Metzmacher
cd609eb2fe r425: add some comments to ugly code parts
we should take care of 'char *' and 'const char *' and DO NOT mix them!

Jelmer: please fix this

metze
2007-10-10 12:51:38 -05:00
Jelmer Vernooij
f832d6776c r187: RPC registry backend fixes 2007-10-10 12:51:15 -05:00
Jelmer Vernooij
88911bbcca r183: More bugfixes 2007-10-10 12:51:15 -05:00
Jelmer Vernooij
4d6ce64856 r181: Parsing windows '95 registry files now works (including values) 2007-10-10 12:51:15 -05:00
Jelmer Vernooij
aa739e8d3c r168: - Cleanups in rpc backend
- Small fixess in nt4 and dir backends
- Start on w95 file backend
2007-10-10 12:51:13 -05:00
Jelmer Vernooij
1a7de762c6 r166: Fix enumerating values in nt4 backend 2007-10-10 12:51:13 -05:00
Jelmer Vernooij
3adffa0217 r128: Another registry update. Changes:
- Start with the LDB backend
- The API is now more windows-like, which should make it easier to use
  in rpc_server
- Added a GTK+ front-end
- Added some more IDL

More updates will follow, especially in the RPC field..
2007-10-10 12:51:09 -05:00
Jelmer Vernooij
d85b8fb3b7 r36: - Start using memory pools in the registry library
- Remove obsolete file
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
98224f5436 r31: More registry updates. regdiff/regpatch work now. 2007-10-10 12:50:40 -05:00
Jelmer Vernooij
7cab3a00d7 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
2007-10-10 12:50:33 -05:00