r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
authorJelmer Vernooij <jelmer@samba.org>
Sun, 26 Aug 2007 15:16:40 +0000 (15:16 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:02:34 +0000 (15:02 -0500)
commit7a1eec6358bc863dfc671c542b7185d3e39d7b5a
tree426a796bcd91da543525c9814f5fb72ec7abe5f0
parent7f914b08a77c6035918d9f4463990f1dd8f3efb9
r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
63 files changed:
.bzrignore
BRANCH.TODO [new file with mode: 0644]
source/lib/basic.mk
source/lib/policy/adm.h [new file with mode: 0644]
source/lib/policy/config.mk [new file with mode: 0644]
source/lib/policy/dumpadm.c [new file with mode: 0644]
source/lib/policy/lex.l [new file with mode: 0644]
source/lib/policy/parse_adm.y [new file with mode: 0644]
source/lib/registry/Doxyfile
source/lib/registry/README
source/lib/registry/TODO
source/lib/registry/common/reg_interface.c [deleted file]
source/lib/registry/config.mk
source/lib/registry/dir.c [new file with mode: 0644]
source/lib/registry/hive.c [new file with mode: 0644]
source/lib/registry/hive.h [new file with mode: 0644]
source/lib/registry/interface.c [new file with mode: 0644]
source/lib/registry/ldb.c [new file with mode: 0644]
source/lib/registry/local.c [new file with mode: 0644]
source/lib/registry/man/regdiff.1.xml
source/lib/registry/man/regpatch.1.xml
source/lib/registry/man/regshell.1.xml
source/lib/registry/man/regtree.1.xml
source/lib/registry/patchfile.c
source/lib/registry/patchfile.h [new file with mode: 0644]
source/lib/registry/patchfile_dotreg.c [new file with mode: 0644]
source/lib/registry/patchfile_preg.c [new file with mode: 0644]
source/lib/registry/reg_backend_dir.c [deleted file]
source/lib/registry/reg_backend_ldb.c [deleted file]
source/lib/registry/reg_backend_nt4.c [deleted file]
source/lib/registry/reg_backend_w95.c [deleted file]
source/lib/registry/regf.c [new file with mode: 0644]
source/lib/registry/regf.idl
source/lib/registry/registry.h
source/lib/registry/rpc.c [moved from source/lib/registry/reg_backend_rpc.c with 57% similarity]
source/lib/registry/samba.c [moved from source/lib/registry/reg_samba.c with 57% similarity]
source/lib/registry/tests/diff.c [new file with mode: 0644]
source/lib/registry/tests/generic.c
source/lib/registry/tests/hive.c [new file with mode: 0644]
source/lib/registry/tests/registry.c [new file with mode: 0644]
source/lib/registry/tools/common.c [new file with mode: 0644]
source/lib/registry/tools/regdiff.c
source/lib/registry/tools/regpatch.c
source/lib/registry/tools/regshell.c
source/lib/registry/tools/regtree.c
source/lib/registry/util.c [moved from source/lib/registry/common/reg_util.c with 74% similarity]
source/lib/registry/wine.c [moved from source/lib/registry/reg_backend_wine.c with 96% similarity]
source/lib/util/become_daemon.c
source/rpc_server/handles.c
source/rpc_server/winreg/rpc_winreg.c
source/samba4-skip
source/script/lex_compile.sh
source/scripting/ejs/smbcalls_ldb.c
source/setup/provision.reg [new file with mode: 0644]
source/smbd/server.c
source/torture/local/config.mk
source/torture/ndr/winreg.c
source/torture/rpc/handles.c
source/torture/rpc/rpc.c
source/torture/rpc/winreg.c
source/torture/ui.c
source/torture/ui.h
webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po