summaryrefslogtreecommitdiff
path: root/source4/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev ↵Jelmer Vernooij2-3/+6
<timur@com.bat.ru> (This used to be commit 8d4a435601c1af42a4a6704b3181e194eb40f75a)
2007-10-10r25447: Fix installation of headers. Patch by Brad Hards.Jelmer Vernooij1-0/+1
(This used to be commit b1aae72420362dfda7df94e8aaab8739632195dc)
2007-10-10r25307: add string_sub_talloc.Jelmer Vernooij3-0/+83
(This used to be commit 96c1a24874289fdeddcac43d23c2d1214b9b6225)
2007-10-10r25306: Add tests for string_sub().Jelmer Vernooij3-4/+82
(This used to be commit 2d37ddcbd1243f48d81af17d8ea3cdd6e8e35b8d)
2007-10-10r25267: Move PRINTF_ATTRIBUTE to lib/util as well.Jelmer Vernooij2-6/+18
(This used to be commit 72b9d6c03661d72e83a5d60d43b75bb9bd5f5285)
2007-10-10r25265: Move attribute definitions to lib/util.Jelmer Vernooij2-0/+81
(This used to be commit 5bb9f041f47a1b7e03c3dc02e38546bc43bcc856)
2007-10-10r25193: Update headers to easy use by external apps.Jelmer Vernooij2-0/+5
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-3/+3
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25047: Fix more warnings.Jelmer Vernooij4-62/+21
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij4-9/+10
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25014: Use talloc for allocating values as well.Jelmer Vernooij2-29/+11
(This used to be commit 43f0e2622ef61bd865fcf17191118c050ec8cfcb)
2007-10-10r25008: Remove use of pstring.Jelmer Vernooij1-1/+0
(This used to be commit c57869e2620de30c303b0cb2f70cd07b32f269fc)
2007-10-10r25007: Remove more uses of pstring, move ntlmauth-specific utility function ↵Jelmer Vernooij3-30/+3
to ntlm-auth.c (This used to be commit 6f224480b230ab7ccfc0417c13e7f4fc3f6f2a13)
2007-10-10r25006: Use system constant.Jelmer Vernooij1-7/+6
(This used to be commit d9b2464598efe0f0cbecd4d8a90fbd137fad0daf)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2-3/+3
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24941: Simplify samdb_result_nttime(), and remove nttime_from_string()Andrew Bartlett1-8/+0
Andrew Bartlett (This used to be commit bcd994a139e2e8fb2e97c8b897c987ff234e0b0a)
2007-10-10r24814: Fix headers, trim core.h even more.Jelmer Vernooij3-134/+23
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10r24812: Fix headers for external users.Jelmer Vernooij1-0/+10
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij6-17/+1101
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10r24710: Use standard boolean type for easier use by external users.Jelmer Vernooij15-145/+146
(This used to be commit 99f4124137d4a61216e8189f26d4da32882c0f4a)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-3/+3
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 (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.Andrew Bartlett1-4/+5
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
2007-10-10r24333: Add convenience function for checking the contents of a file in tests.Jelmer Vernooij1-0/+3
(This used to be commit 4e304101241ea7bcb9111b757bb51b16665d492d)
2007-10-10r24273: Fix bug #4817 by <mwallnoefer@yahoo.de>. (Unable to add a computerAndrew Bartlett1-5/+10
from MMC Active Directory Users and Computers). Windows sets a 14 UCS2 char buffer as the password in this case. We need to allow random buffers to be accepted as complex passwords, even if they don't have ASCII upper or lower case characters. (If half the bytes are > 127, then it's likely a random buffer). Also make the test match the documented windows behaviour of '3 of the 4 classes: upper, lower, digit, special'. Andrew Bartlett (This used to be commit 5ef26a2ba3561580f0a73ee61eb707573cc98cd3)
2007-10-10r23807: added hex_encode_talloc()Andrew Tridgell1-0/+16
(This used to be commit 1b105097e3f4a8475d3a2623205ecdea2aef91cf)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10r23796: main COPYING file for samba4, plus some formatting varientsAndrew Tridgell1-1/+1
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell35-105/+70
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with ↵Andrew Bartlett1-10/+12
qsort(). Andrew Bartlett (This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
2007-10-10r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, ↵Jelmer Vernooij2-8/+8
_NORETURN_ and _WARN_UNUSED_RESULT_. (This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
2007-10-10r23021: test some boundary conditions for idtree, after I saw some suspiciousAndrew Tridgell1-1/+18
behaviour (This used to be commit e862cf17b891885f3a733819869a06895c1fb324)
2007-10-10r22379: add missing fileStefan Metzmacher1-0/+94
metze (This used to be commit 893b6f56b6aef14de7b54c57c23b8a2f885ba6ce)
2007-10-10r22373: move in_list() to util_strlist.c to remove the dependencyStefan Metzmacher2-24/+25
from util.o to next_token() and strcasecmp_m() with this the pidl tests link better on some hosts metze (This used to be commit 54bfc1dccc40883d602402865eff3cfae676e9af)
2007-10-10r22372: split out become_daemon() into it's own functionStefan Metzmacher2-67/+2
this remove the dependency of util.o to swrap_close which causes sometrouble with the pidl tests on some hosts metze (This used to be commit 8cd36c47aaf1098876bceb314cb0a1f39369cb46)
2007-10-10r22371: readd discard_const() to lib/util/util.hStefan Metzmacher1-0/+27
metze (This used to be commit 76fbe90596f5f26c09185129d9a4f3e2b42428e1)
2007-10-10r22369: add ZERO_STRUCT() ... macros to lib/util/util.h againStefan Metzmacher1-0/+41
to fix the openchange build... we need to remove them from libreplace, but I'll think about that next week. metze (This used to be commit 2243142b46e20825339b4f6ed0e878c18e50e45f)
2007-10-10r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplaceStefan Metzmacher1-25/+0
metze (This used to be commit b69c950858d837d7bd734d418129ade69106a00d)
2007-10-10r22226: move discard_const macros to librelaceStefan Metzmacher1-23/+0
metze (This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10r21740: this fixes the real cause of the large log files we had. The problemAndrew Tridgell1-0/+17
was we were not checking the result of a convert_string() call, and it was giving -1. We then passed -1 to fwrite() on stdout, which on aix and macosx wrote all of available memory to stdout :) To fix this, replace non-printing chars with ? in d_printf if the string cannot be converted (This used to be commit d20102d363f4b9214e29296ad8ec45c8d95614b5)
2007-10-10r21688: Add simple tests for genrandJelmer Vernooij1-0/+66
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
2007-10-10r21656: Move tests a bit closer to the things they test, should make syncing ↵Jelmer Vernooij3-0/+279
with samba3 easier. (This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10r21174: many thanks to Paul Wayper for pointing out that C99 requires aAndrew Tridgell3-3/+3
matching va_end() for each va_copy(). This doesn't matter for most architectures, but there could be some obscure ones where it does matter. some of this should be ported to Samba3 (This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
2007-10-10r20734: always terminate the string... so that an empty data_blobStefan Metzmacher1-0/+1
gets '\0' as "" string metze (This used to be commit 4f5daa830a3c02a05ba1bc7f32eedbe1d52640a1)
2007-10-10r20730: this can be constStefan Metzmacher1-1/+1
metze (This used to be commit 181db920476a9ebddeee1ebea17be0baf85ea59e)
2007-10-10r20436: add more comments and add macros signed versions of the 64 bitStefan Metzmacher1-3/+9
macros metze (This used to be commit e77d0d1532e800e0a7b0a4a30cf9b4d97761ee52)
2007-10-10r20325: handle NULL strings in is_ipaddress()Stefan Metzmacher1-1/+3
metze (This used to be commit b8b69ff6bec0c1d412b1f935721b45ef07e9c9f5)
2007-10-10r20091: remove blank lines at the end of text lines loaded from a fileAndrew Tridgell1-1/+7
(This used to be commit afcc797e8a25d99269f67e05fe57e952dd5d65bc)
2007-10-10r19672: Make LIBSAMBA-UTIL a subsystem again for now because it has ↵Jelmer Vernooij1-4/+4
interdependencies with LIBSAMBA-CONFIG. (This used to be commit 4a044fb529075044755a0b5cc21446bf24bec72e)
2007-10-10r19671: Fix remaining unresolved symbols in shared library build.Jelmer Vernooij1-1/+2
Fix starting tests in shared library build. (This used to be commit 3b65a0d6e491a57ed216dc0cd9c31d46e0cb6a35)