summaryrefslogtreecommitdiff
path: root/lib/util/charset
AgeCommit message (Collapse)AuthorFilesLines
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