summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/util Remove #if _SAMBA_BUILD_ == 4 that isn't required any moreAndrew Bartlett2011-02-181-2/+0
|
* lib/util/charset Use top level iconv.c in source3Andrew Bartlett2011-02-183-12/+90
| | | | | | | | | | | | The two files were very similar already, the only change required was to adopt the s3 module registration fucntion name. (NTSTATUS wasn't used as the charset code does not otherwise use that type). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* charset Remove use of {isupper,islower,toupper,tolower}_w functionsAndrew Bartlett2011-02-181-0/+2
| | | | | | | | | | | | | These now call the common _m functions that consider UTF16 code points. This removes the code which will make up a 'lame' table in memory, as this can just as correctly be handled by running the algorithm at runtime (which is to call toupper() and tolower() on characters < 128). When used, a top level waf build will always locate the correct table - in the build tree or outside - due to relinking the installed binary. Andrew Bartlett
* lib/util Make UTIL_LDB conditional on an s4 buildAndrew Bartlett2011-02-181-1/+2
| | | | This allows this file to be used in common.
* s4-util: removed the valgrind_strlen() routineAndrew Tridgell2011-02-182-18/+0
| | | | | | this was for a bug in valgrind from 7 years ago. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libutil: make waf rules usable by s3 waf buildAndrew Tridgell2011-02-181-38/+39
| | | | | | | we need samba-util to be s4 only for now, because of the debug system differences Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* charset: allow s3 waf build to use lib/util/charsetAndrew Tridgell2011-02-181-5/+6
| | | | | | | the only conflict is with 'CHARSET' itself, which now builds conditionally on _SAMBA_BUILD_==4 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util/charset use get_dyn_CODEPAGEDIR(), which is in commonAndrew Bartlett2011-02-181-2/+2
| | | | | | This is provided by the s3 and s4 dynconfig implementations. Andrew Bartlett
* lib/util/charset split codepoints.c into it's own subsystemAndrew Bartlett2011-02-181-3/+6
|
* lib/util/charset use a path to dynconfig.h that works in s3 and s4Andrew Bartlett2011-02-181-1/+1
|
* lib/util/charset add functions isupper_m and islower_mAndrew Bartlett2011-02-182-0/+19
|
* uid-wrapper: handle uwrap_enabled() as a macroAndrew Tridgell2011-02-181-0/+2
| | | | | | | some s3 code defines uwrap_enabled() as a macro. Detect this, and don't redeclare the functions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tevent: Fix a commentVolker Lendecke2011-02-171-2/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 17 18:16:18 CET 2011 on sn-devel-104
* s3-waf: move the KRB5_DEPRECATED configure check out of lib/replaceAndrew Tridgell2011-02-171-8/+0
| | | | | | | this needs to be in souce3/, as otherwise it can't handle an in-tree kerberos library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Return NULL if tevent_add_fd() is passed a negative fdStephen Gallagher2011-02-141-0/+6
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Feb 14 17:47:03 CET 2011 on sn-devel-104
* s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)Günther Deschner2011-02-141-1/+2
| | | | Guenther
* Fix some nonempty blank linesVolker Lendecke2011-02-131-18/+18
|
* tdb: Fix a C++ warningVolker Lendecke2011-02-121-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104
* waf: pure cosmetic reformatting of the two samba-util object lists (to ease ↵Günther Deschner2011-02-111-1/+30
| | | | | | comparing). Guenther
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-101-2/+2
|
* replace: Add missing eval to m4 scriptSumit Bose2011-02-101-2/+2
| | | | | Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
* socket_wrapper: avoid c++ style comments.Günther Deschner2011-02-101-2/+2
| | | | | | Seen on the aix s3-waf build where it causes the build to fail. Guenther
* s4-torture: not having an output dir is not a fatal errorAndrew Tridgell2011-02-101-1/+3
| | | | | | | just return NT_STATUS_OK, as nothing to cleanup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-1/+1
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tevent: Fix typosVolker Lendecke2011-02-091-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 18:13:18 CET 2011 on sn-devel-104
* lib/compression: add shared wscript_build.Günther Deschner2011-02-081-0/+6
| | | | Guenther
* waf: add clock_gettime clock ID checks to libreplace wscript.Günther Deschner2011-02-071-1/+17
| | | | Guenther
* build: removed the old autogen.sh and autogen-waf.sh scriptsAndrew Tridgell2011-02-076-46/+0
| | | | | | | for the builds that use waf only, these are no longer needed and just cause confusion Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-charset: use dyn_CODEPAGEDIR for location of upcase.dat/lowcase.datAndrew Tridgell2011-02-071-12/+4
| | | | | | this matches samba3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* charcnv: removed call to setlocale() (bug 7519)Andrew Tridgell2011-02-041-10/+0
| | | | | | | | | | We don't need this setlocale() call, and it can break applications that use our libraries Thanks to Milan Crha for pointing this out Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Feb 4 06:51:01 CET 2011 on sn-devel-104
* replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher2011-02-033-1/+10
| | | | | | | | | | | | As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Systems like ClearOS 5.2 need linux/types.h very early. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 3 05:26:12 CET 2011 on sn-devel-104
* Revert "replace: Try to fix broken sys/capabilites.h on Linux."Stefan Metzmacher2011-02-033-6/+1
| | | | | | | | This reverts commit c2207e9b2cdec9cd4c32184c668a2c469edb7148. This still doesn't build for me on ClearOS 5.2. metze
* replace: Try to fix broken sys/capabilites.h on Linux.Andreas Schneider2011-02-023-1/+6
| | | | | | | | As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 2 11:57:04 CET 2011 on sn-devel-104
* s4-waf Don't install any Samba packages into PYTHONDIRAndrew Bartlett2011-02-021-2/+2
| | | | | | | This causes the parts of Samba installed into PYTHONARCHDIR to then be missed in mixed python/C module namespaces. Andrew Bartlett
* lib/util: add tests for anonymous_shared_allocate/free()Stefan Metzmacher2011-01-201-0/+70
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
* lib/util: add anonymous_shared_free()Stefan Metzmacher2011-01-202-2/+40
| | | | metze
* lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/Stefan Metzmacher2011-01-202-2/+2
| | | | metze
* lib/util: fix rounding to page size in allocate_anonymous_shared()Stefan Metzmacher2011-01-201-1/+5
| | | | metze
* tdb: Added doxygen documentation.Andreas Schneider2011-01-193-25/+2454
| | | | | Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Wed Jan 19 11:26:34 CET 2011 on sn-devel-104
* waf: ensure "make dist" works from a clean git tree for all librariesAndrew Tridgell2011-01-084-8/+16
| | | | | | | this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
* lib/addns: move DNS client library to the main directory.Günther Deschner2011-01-0610-0/+2537
| | | | Guenther
* tdbrestore: Update to GPLv3+, remove old FSF address.Jelmer Vernooij2011-01-061-3/+2
|
* talloc: change version to 2.0.5 after a critical bugfixStefan Metzmacher2011-01-052-1/+63
| | | | metze
* talloc: fixed a use after free errorAndrew Tridgell2011-01-051-1/+16
| | | | | | | | | | | this is the minimal fix for the problem Rusty found. I previously thought that the best fix would be to change tc->parent to be valid for all pointers, but that is expensive for realloc with large numbers of child pointers, which is much more commmon than I expected it to be. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jan 5 07:22:27 CET 2011 on sn-devel-104
* talloc: added a test for the use after free Rusty foundAndrew Tridgell2011-01-051-0/+17
|
* talloc: Clarify error message on access after free.Jelmer Vernooij2011-01-051-4/+4
|
* talloc: Typo fix for api docsBrad Hards2011-01-041-1/+1
|
* lib/crypto: add aes_cfb8_encrypt()Stefan Metzmacher2011-01-032-0/+26
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 17:32:07 CET 2011 on sn-devel-104
* talloc: Fix warnings in test codeBrad Hards2011-01-033-3/+12
| | | | | | | | | | This should not change any behaviour - the intent is just to reduce the "nuisance" warnings. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 11:12:39 CET 2011 on sn-devel-104
* Revert broken destructor changes.Jelmer Vernooij2011-01-031-1/+1
|