summaryrefslogtreecommitdiff
path: root/lib/util/charset
AgeCommit message (Collapse)AuthorFilesLines
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2-97/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-21s4:lib/util/charset/iconv.c - remove a distinction which can never happenMatthias Dieter Wallnöfer1-4/+1
"ret->cd_direct" is never set before. It is set in the "if" upperwards but then the function is terminated with "return".
2010-09-19s3: Fix the charset_pull routine (bug 7531)Volker Lendecke1-1/+1
In the push routine we do the SVAL, so we should do the SSVAL here.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-5/+5
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-25Move UCS2 macros to common codeJelmer Vernooij1-0/+23
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell1-3/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2-0/+4
them
2010-04-06s4-waf: look for libiconv before checking libcAndrew Tridgell1-1/+6
This is needed for solaris8
2010-04-06s4-waf: remove the need for some of the lib aliasesAndrew Tridgell1-1/+1
2010-04-06build: updated configure checks or new syntaxAndrew Tridgell1-10/+2
2010-04-06build: check libc first for several librariesAndrew Tridgell1-1/+1
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+11
2010-04-06build: iconv checksAndrew Tridgell1-0/+10
2010-03-30charset: look for the codepages in the right placeAndrew Tridgell1-2/+2
selftest runs from source3/source4. The codepages when not installed are in ../codepages
2010-03-22convert_string_talloc_convenience - print out the input buffer in a better ↵Matthias Dieter Wallnöfer1-1/+2
way (using dump_data since it isn't always directly readable)
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell3-13/+39
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
2010-02-02Change uint_t to unsigned int in lib/utilMatt Kraai1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-18Return NULL in strlower_talloc if src is NULLBrendan Powers1-0/+4
Prevents strlower_talloc from segfaulting if you pass it a NULL string. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-20charset/tests/iconv - Remove the "const" from "ptr_in" to prevent ↵Matthias Dieter Wallnöfer1-7/+7
"discard_const_p" use Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-10-22util: fixed place where we could look one byte past end of stringAndrew Tridgell1-1/+1
We need to check the length before the value
2009-09-07s4:tests/iconv - Fix a warningMatthias Dieter Wallnöfer1-1/+2
2009-09-07s4: Fix "Small memory leak after calling several times lp_update"Inra1-37/+17
Should fix bug #6660.
2009-08-24Fix make test.Jeremy Allison1-0/+1
Jeremy.
2009-04-23Fix push_codepoint function without iconv_convenience.Jelmer Vernooij1-1/+1
2009-04-23Add a new non-convenience version of push_codepoint.Jelmer Vernooij4-7/+15
2009-03-09Fix prototype mismatch.Jelmer Vernooij1-1/+1
2009-03-08Revert accidental reintroduction of void ** bug.Jelmer Vernooij2-5/+7
2009-03-02Import ISO-8859-1, 646 from Samba 3 iconv.Jelmer Vernooij1-0/+29
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij3-38/+122
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij4-46/+77
2009-03-01Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2-2/+3
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij4-23/+31
consistency with Samba 3.
2009-01-16lib: add strlen_m_term_null from s3.Günther Deschner2-0/+20
Guenther
2008-11-01Remove convert_string_talloc_descriptor, add iconv_talloc().Jelmer Vernooij2-59/+77
2008-10-31finished adding UTF16_MUNGED charsetAndrew Tridgell4-72/+102
Changed the approach for the charset to go via utf16, which makes a bit more sense to read. Added a testsuiite for UTF16_MUNGED as part of LOCAL-ICONV
2008-10-31added a new charset for string2keyAndrew Tridgell1-0/+132
This charset follows the rules for converting random buffers to utf8 strings, matching the way windows does it. This should allow us to be compatible for the generation of AES keys
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-24Remove more global_loadparm instances, fix syntax errors.Jelmer Vernooij2-5/+5
2008-10-24Add version of next_codepoint without iconv_convenience.Jelmer Vernooij4-15/+23
2008-10-24Remove dependency of charset code on loadparm.Jelmer Vernooij2-2/+6
2008-10-24Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij3-24/+60
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24Avoid retrieving iconv convenience during loops.Jelmer Vernooij1-11/+15
2008-10-24Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij3-340/+345
functions.
2008-10-24Split up codepoints code, use consistent _m suffix.Jelmer Vernooij5-155/+187
2008-10-24Rename string_replace_w to string_replace_m, which is more correct.Jelmer Vernooij4-11/+9
2008-10-24Remove unnecessary include, improve function name.Jelmer Vernooij1-3/+2
2008-10-24Move charset library to top level.Jelmer Vernooij8-0/+3112