summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_nt4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3323: more warning reductionsAndrew Tridgell1-11/+1
(This used to be commit 5921587ec26e4892efc678421277e4969417d7f5)
2007-10-10r2857: this commit gets rid of smb_ucs2_t, wpstring and fpstring, plus lots ↵Andrew Tridgell1-4/+4
of associated functions. The motivation for this change was to avoid having to convert to/from ucs2 strings for so many operations. Doing that was slow, used many static buffers, and was also incorrect as it didn't cope properly with unicode codepoints above 65536 (which could not be represented correctly as smb_ucs2_t chars) The two core functions that allowed this change are next_codepoint() and push_codepoint(). These functions allow you to correctly walk a arbitrary multi-byte string a character at a time without converting the whole string to ucs2. While doing this cleanup I also fixed several ucs2 string handling bugs. See the commit for details. The following code (which counts the number of occuraces of 'c' in a string) shows how to use the new interface: size_t count_chars(const char *s, char c) { size_t count = 0; while (*s) { size_t size; codepoint_t c2 = next_codepoint(s, &size); if (c2 == c) count++; s += size; } return count; } (This used to be commit 814881f0e50019196b3aa9fbe4aeadbb98172040)
2007-10-10r2518: Some long overdue changes:Jelmer Vernooij1-73/+70
- Samba4-style code in lib/registry (struct registry_key instead of REG_KEY, etc) - Use hives (like Windows has drives) instead of one root key (like a Unix FS) - usability fixes in the GTK utilities (autodetect the username, enable/disable options, etc) - fix gwsam compile - several bugfixes in the registry rpc code - do charset conversion in nt4 registry backend (This used to be commit 2762ed3b9bf1d67dd54d63e02cddbfd71ea89892)
2007-10-10r1894: Convert // to /* */Volker Lendecke1-1/+1
(This used to be commit 5dc793b2b4b5c54df4aa3b0c98c248bdd671bbb1)
2007-10-10r960: convert 'unsigned int' to uint_t in the most placesStefan Metzmacher1-14/+14
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher1-8/+8
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-1/+1
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-2/+1
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.Jelmer Vernooij1-5/+2
(This used to be commit ad88561becf59cd38a3e329e68cbe5518a3373d7)
2007-10-10r828: Some fixes in the core and regshell concerning hives andJelmer Vernooij1-1/+4
unicode (This used to be commit 25c27b176c9905f3968e955f33a6db41b0102a38)
2007-10-10r825: - Introduce support for multiple roots (or 'hives')Jelmer Vernooij1-2/+3
- Clean up rpc backend (possible now that multiple hives are supported) (This used to be commit 8cd1b6bc70510fe576135a66351e9e3ea895c9ff)
2007-10-10r665: merge over the new build system from my tmp branchStefan Metzmacher1-1/+1
to the main SAMBA_4_0 tree. NOTE: that it's not completely ready, but it's functional:-) metze (This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
2007-10-10r355: Fix a bunch of compiler warnings in the registry code.Tim Potter1-3/+8
(This used to be commit 0be7a866dc39e2d63c9c114d0f668287259e7c9e)
2007-10-10r200: fix compile errorsHerb Lewis1-1/+2
(This used to be commit c64132ddc6396a599a2e13b893e8abf1f731478f)
2007-10-10r174: Win95 registry files (like USER.DAT) can now be partially parsedJelmer Vernooij1-1/+1
(This used to be commit dd31d3bcbfbb0ef7a96a1b86c1b4c54b650e9fd5)
2007-10-10r168: - Cleanups in rpc backendJelmer Vernooij1-20/+13
- Small fixess in nt4 and dir backends - Start on w95 file backend (This used to be commit aa739e8d3c7108f6f2089af2d8d522feacc7f698)
2007-10-10r166: Fix enumerating values in nt4 backendJelmer Vernooij1-0/+4
(This used to be commit 1a7de762c60177b6e250f81cdeb3466fce148bff)
2007-10-10r128: Another registry update. Changes:Jelmer Vernooij1-48/+58
- 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.. (This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)
2007-10-10r20: Add the registry library. Still needs a lot of work,Jelmer Vernooij1-0/+1745
see source/lib/registry/TODO for details. (This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)