Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2011-03-09 | tevent: Fixed tevent_wakeup_send code example. | Andreas Schneider | 1 | -1/+1 | |
2011-03-04 | lib/socket_wrapper: try to fix the build on solaris | Stefan Metzmacher | 1 | -0/+13 | |
struct msg does not contain msg_control, msg_controllen and msg_flags on solaris. metze | |||||
2011-03-04 | debug: fixed a valgrind error | Andrew Tridgell | 1 | -1/+4 | |
Thanks to Volker for spotting this one! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Mar 4 03:09:52 CET 2011 on sn-devel-104 | |||||
2011-03-04 | libreplace: move "struct timespec" checks into libreplace (where timespec is ↵ | Günther Deschner | 3 | -0/+31 | |
already used). Bjoern, Metze, please check. Guenther | |||||
2011-03-03 | socket_wrapper: use swrap_sendmsg_before()/after() in swrap_writev() | Stefan Metzmacher | 1 | -49/+17 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 3 23:43:39 CET 2011 on sn-devel-104 | |||||
2011-03-03 | socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendmsg() | Stefan Metzmacher | 1 | -47/+66 | |
This also adds the same logic for broadcast as in swrap_sendto() for SOCK_DGRAM. metze | |||||
2011-03-03 | socket_wrapper: use swrap_sendmsg_before()/after() in swrap_send() | Stefan Metzmacher | 1 | -37/+18 | |
metze | |||||
2011-03-03 | socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendto() | Stefan Metzmacher | 1 | -86/+35 | |
metze | |||||
2011-03-03 | socket_wrapper: add swrap_sendmsg_before/after helper functions | Stefan Metzmacher | 1 | -0/+191 | |
Currently have almost the same logic in swrap_send(), swrap_sendto(), swrap_writev() and swrap_sendmsg(), this helper functions let combine all the logic in 2 places. metze | |||||
2011-03-03 | socket_wrapper: replace recvmsg() correctly | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2011-03-03 | socket_wrapper: readv() should only work on connected sockets | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2011-03-03 | socket_wrapper: move swrap_ioctl() above the send*/recv* functions | Stefan Metzmacher | 1 | -26/+26 | |
metze | |||||
2011-03-03 | socket_wrapper: fix compiler warnings | Stefan Metzmacher | 1 | -28/+37 | |
metze | |||||
2011-03-03 | socket_wrapper: don't allow connect() to the broadcast address | Stefan Metzmacher | 1 | -1/+8 | |
This will simplify other code later. metze | |||||
2011-03-03 | lib/util: LIBCRYPTO is in common already, so add it to samba-util-common. | Günther Deschner | 1 | -2/+2 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 3 18:08:30 CET 2011 on sn-devel-104 |