Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-30 | Fix convert_string() to take a *converted_size arg. and return a bool. | Jeremy Allison | 4 | -39/+51 | |
Makes these interfaces much harder to misuse and easier to ensure error checking. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | lib/util/charset Add tests for convert_string_talloc_handle() | Andrew Bartlett | 3 | -0/+431 | |
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 30 13:02:47 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | lib/util Move base64 functions into lib/util/base64.c | Andrew Bartlett | 4 | -3/+155 | |
Andrew Bartlett | |||||
2011-03-30 | lib/util/charset Remove pointless static bool initialised | Andrew Bartlett | 1 | -5/+0 | |
2011-03-30 | tdb: Fix Coverity ID 2238: SECURE_CODING | Volker Lendecke | 1 | -24/+24 | |
2011-03-30 | talloc - improve doxygen comment of "talloc_move" | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
Express better that this should be a pointer of a pointer. Reviewed-by: Tridge | |||||
2011-03-30 | s3-messages: only include messages.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | lib/util/util_pw: share more code between lib/util/util_pw.c and ↵ | Günther Deschner | 2 | -8/+12 | |
source3/lib/username.c Guenther | |||||
2011-03-30 | lib/util/util_pw: share sys_get{pw,gr} group of calls. | Günther Deschner | 3 | -0/+94 | |
Guenther | |||||
2011-03-30 | lib/util/util_pw: temporary rename of getpwnam_alloc and getpwuid_alloc. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2011-03-29 | debug: ignore debug_set_logfile() with a blank string | Andrew Tridgell | 1 | -1/+5 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 29 07:03:58 CEST 2011 on sn-devel-104 | |||||
2011-03-29 | lib: removed a spurios declaration of 'logfile' | Andrew Tridgell | 1 | -1/+0 | |
we don't have a global logfile variable any more Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-27 | tdb: Fix Coverity ID 2192: NO_EFFECT | Volker Lendecke | 1 | -1/+1 | |
(ret < 0) can never be true | |||||
2011-03-27 | s3: Fix Coverity ID 958: BAD_SIZEOF | Volker Lendecke | 1 | -1/+1 | |
This is supposed to wipe out the md5 context, not only the first bytes of it. Others, please check! | |||||
2011-03-25 | charcnv: ensure convert_string_error doesn't conflict with s3 function | Andrew Tridgell | 1 | -5/+5 | |
use _handle for handle based functions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Mar 25 05:22:24 CET 2011 on sn-devel-104 | |||||
2011-03-25 | lib/util/charset rename iconv_convenience to iconv_handle | Andrew Bartlett | 6 | -79/+79 | |
This better reflects what this structure is Andrew Bartlett | |||||
2011-03-25 | charcnv: added convert_string_error() | Andrew Tridgell | 1 | -33/+57 | |
this will allow us to remove conv_silent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | unistr: moved some UCS2 macros into util_unistr | Andrew Tridgell | 1 | -9/+0 | |
we need to move towards eliminating smb_ucs2_t. This moves a couple of the related macros into the only file they are used in Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-25 | libcli: created smb_constants.h | Andrew Tridgell | 1 | -0/+1 | |
this starts the (long!) process of moving some of the SMB constants into common files. This just moves the FLAGS2_ defines, which are needed for common string routines (for FLAGS2_UNICODE_STRINGS) | |||||
2011-03-25 | tdb: rename convert_string() to tdb_convert_string() | Andrew Tridgell | 1 | -5/+5 | |
this prevents a conflict with the convert_string() in samba | |||||
2011-03-25 | lib: remove unused pieces of string_wrappers.h | Andrew Tridgell | 1 | -6/+0 | |
2011-03-25 | lib: move the string wrappers from source3/include to common lib/util | Andrew Tridgell | 1 | -0/+132 | |
this will allow the common charcnv library to use the string wrappers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-24 | charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵ | Andrew Tridgell | 5 | -46/+38 | |
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104 | |||||
2011-03-24 | charset: remove another allow_badcharcnv check | Andrew Tridgell | 1 | -3/+0 | |
better to fail only if there is a bad character | |||||
2011-03-23 | async_rec/async_sock.c - add an additional "const" | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
In order to suppress a build warning. Acked-by: Volker and Metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 23 10:26:23 CET 2011 on sn-devel-104 | |||||
2011-03-23 | lib/util: Merge basic string length and comparison functions | Andrew Bartlett | 5 | -343/+427 | |
These functions now use the codepoints for more accurate string handling and now form common code. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 23 08:21:54 CET 2011 on sn-devel-104 | |||||
2011-03-23 | charcnv: remove the automatic fail on allow_badcharcnv true | Andrew Tridgell | 1 | -5/+0 | |
we should just fail the call if the string really is bad | |||||
2011-03-23 | fault: fixed smb_panic() prototypes | Andrew Tridgell | 1 | -2/+0 | |
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104 | |||||
2011-03-23 | fault: moved fault.c into common library | Andrew Tridgell | 1 | -2/+2 | |
2011-03-23 | fault: switch s4 to use the common fault.c | Andrew Tridgell | 2 | -237/+1 | |
2011-03-23 | fault: get fault.c ready for use by s4 | Andrew Tridgell | 2 | -299/+74 | |
this moves the s3 specific dumpcore code into source3/lib/dumpcore.c, and uses a function pointer to setup which smb_panic call to use | |||||
2011-03-23 | fault: moved s3 fault.c to top level | Andrew Tridgell | 1 | -0/+380 | |
2011-03-23 | fault: rename fault.c to fault_s4.c | Andrew Tridgell | 2 | -11/+11 | |
this is in preparation for merging the s3 fault code into common | |||||
2011-03-19 | lib/replace/test: Add missing include for prototype. | Jelmer Vernooij | 1 | -0/+1 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104 | |||||
2011-03-19 | lib/: Fix prototypes for functions. | Jelmer Vernooij | 2 | -3/+5 | |
2011-03-19 | libreplace: Fix prototypes for all functions. | Jelmer Vernooij | 4 | -1/+8 | |
2011-03-17 | lib-util: put data_blob back in the public library | Simo Sorce | 1 | -2/+2 | |
data_blob is defined ina public header, so it needs to be exposed in the public library. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Mar 17 15:39:08 CET 2011 on sn-devel-104 | |||||
2011-03-16 | dcerpc: we do not need these as public headers | Simo Sorce | 1 | -1/+1 | |
latest openchange doesn't need these headers either fix _PRINTF_ATTRIBUTE in tdr.h, as it was failing to work after removing proto.h due to side effects. PRINTF_ATTRIBUTE is ok and is define in talloc.h which is included by tdr.h Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Mar 16 23:45:20 CET 2011 on sn-devel-104 | |||||
2011-03-15 | lib: don't install public headers if a private library | Andrew Tridgell | 3 | -0/+3 | |
for talloc/tevent/tdb, only install headers if we are doing a standalone build | |||||
2011-03-15 | lib: fixed header paths | Andrew Tridgell | 1 | -8/+8 | |
this is a public header, and needs to use sane paths for the public header creation | |||||
2011-03-15 | talloc: use <talloc.h> not "talloc.h" | Andrew Tridgell | 1 | -1/+1 | |
this ensures we use the right header | |||||
2011-03-15 | tdb: use public_headers to install header files | Andrew Tridgell | 1 | -1/+1 | |
2011-03-15 | tdb: use system include style for system headers | Andrew Tridgell | 1 | -1/+1 | |
2011-03-15 | tevent: use public_headers for tevent.h | Andrew Tridgell | 1 | -1/+1 | |
2011-03-15 | talloc: use public_headers to install talloc.h and pytalloc.h | Andrew Tridgell | 1 | -2/+2 | |
this allows them to be included in the test_headers.h generated header | |||||
2011-03-10 | lib/util/fault.c - "call_backtrace" - no need to have "backtrace_size" as size_t | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
The function "backtrace" returns an "int". | |||||
2011-03-10 | tevent: change version to 0.9.11 | Stefan Metzmacher | 2 | -1/+74 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 10 10:24:49 CET 2011 on sn-devel-104 | |||||
2011-03-10 | tevent/poll: use fde->additional_flags to hold the array index | Stefan Metzmacher | 1 | -17/+6 | |
metze | |||||
2011-03-10 | tevent: change tevent_fd->additional_flags to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-03-09 | socket_wrapper: fix handling of addr and addrlen | Stefan Metzmacher | 1 | -4/+5 | |
metze |