Age | Commit message (Collapse) | Author | Files | Lines |
|
names)
(This used to be commit b3bc055ac73ff239c2b267717ee91669ecdd4c9b)
|
|
- Initialise hive name (reg_interface)
- Fix LDB backend (enumerating keys works now!)
(This used to be commit 5086d6b2494f236ef67096b2dd4da4f7402a65c5)
|
|
(This used to be commit e7c256a92cc6cbe1cd6cc11a8fb37feba272d01c)
|
|
- Some LDB updates
(This used to be commit 4b5bf739f5a8f39ff3633d738f6de42681a6b30f)
|
|
(This used to be commit f4860afc486da9fcd43798c81181d01eb0120a59)
|
|
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)
|
|
metze
(This used to be commit d1e8b340a9942553ec7f281affd11ea4315ac448)
|
|
call name
(This used to be commit 015db2ed8cdde6d6eb79857cb9b6d72185382acc)
|
|
taking a context (so when you pass a NULL pointer you end up with
memory in a top level context). Fixed it by changing the API to take a
context. The context is only used if the pointer you are reallocing is
NULL.
(This used to be commit 8dc23821c9f54b2f13049b5e608a0cafb81aa540)
|
|
compilers
(This used to be commit c2be7b696ccb338df06a5212ed1f7b78e4c116c2)
|
|
- 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)
|
|
in the current key)
(This used to be commit 83f9f8eaa4825bb49e2b160a1a810080ecae4d39)
|
|
(This used to be commit 8056f4a9a7f5065eeb3a3bec81977c5e4163bf8e)
|
|
an SPNEGO login from WinXP at least).
talloc_asprintf_append() lost an argument, but because TALLOC_CTX is
now a void*, this was not picked up by the compiler.
I've tested the login (asn1), but not the registry/gtk changes.
Andrew Bartlett
(This used to be commit 4294be44057124568fe1d176702056bb62ad3214)
|
|
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().
(This used to be commit e35bb094c52e550b3105dd1638d8d90de71d854f)
|
|
(This used to be commit 5dc793b2b4b5c54df4aa3b0c98c248bdd671bbb1)
|
|
directory gtk/
- Move common "Samba-Gtk" code into gtk/common/ ("Connect to RPC pipe"-dialog, etc)
- Add a new utility 'gwcrontab' that can currently list, delete and add 'atsvc' jobs. It still displays times and dates as integers though, will fix that later.
Some screenshots available at:
http://samba.org/~jelmer/gwcrontab/
(This used to be commit d321cf20f1f0ff33603b013c26d370669f255868)
|
|
(This used to be commit 3af8419fa4053a3b2887e91b4bda5c93327efad4)
|
|
(This used to be commit 971941acc7e75da89b1bdc612fd476a7f6124dcb)
|
|
(This used to be commit 456f97eed05047b20acceb50708b47209c37ca20)
|
|
(This used to be commit 7c2279e4bc631d88e402ac82c6c17fb811785394)
|
|
(This used to be commit 7949dc25ab05f7d5ad6217a6304e1f50b8b5dc41)
|
|
(This used to be commit db902bff3c5eb54d6b1035d009948ff316cffa94)
|
|
metze
(This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
|
|
- some minor format fixes
metze
(This used to be commit 72d9c70fdd21101744f6fad230c75b6a13105696)
|
|
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)
|
|
metze
(This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
|
|
(This used to be commit 66eb46dbb1486c5916194bf6b303cf16373a272a)
|
|
metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
|
|
metze
(This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
|
|
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)
|
|
metze
(This used to be commit 44de741038ccdbca1e3c950670748e99483a7417)
|
|
metze
(This used to be commit b5567601464a649374e0ef280661292322b3334c)
|
|
(This used to be commit fe5166ee88d401cdd493644af4876e803f546aef)
|
|
(This used to be commit e4f6ca85223b86beac237398ea5474f4f56404a2)
|
|
(This used to be commit 9228aeeafd956a2885b5f1dfaa6feacb555b7483)
|
|
(This used to be commit ad88561becf59cd38a3e329e68cbe5518a3373d7)
|
|
(This used to be commit 2a87981bd0a79f0d685441d690e2f810d6ed86d0)
|
|
unicode
(This used to be commit 25c27b176c9905f3968e955f33a6db41b0102a38)
|
|
- Clean up rpc backend (possible now that multiple hives are supported)
(This used to be commit 8cd1b6bc70510fe576135a66351e9e3ea895c9ff)
|
|
(This used to be commit d4cc4b3d682eb828208a621fe6b795f3e77c746a)
|
|
(This used to be commit 178cd902fc7069e3d613c46fc4845101a0229655)
|
|
metze
(This used to be commit b6ac3021f275ba6b0ee0035933c290db4e8bda00)
|
|
(This used to be commit 30d3915c760ac5ee5e632539a3503fc7fed9cc63)
|
|
(This used to be commit 0ace3bf289777c30310a05e66fd674337413f0d8)
|
|
- Build gregedit and registry_gconf again if the required libs are found (gconf and gtk)
(This used to be commit a63b704c36f2f5b52e932b6b2c99e7d664c9bdc7)
|
|
metze
(This used to be commit f7ded36699dabecf31ccaf765d667b7240822f8d)
|
|
metze
(This used to be commit 5bbf0c240730fc27b7341eb7c6891c7741640e74)
|
|
metze
(This used to be commit 63600a2a9b2607130efe8e4336a48b5e9584d929)
|
|
metze
(This used to be commit ba5e71f59e0547aa8329661c7fec73a6469726a5)
|