Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-03 | lib/charcnv/util_unistr: add next_codepoint_ext() that accepts input charset. | Michael Adam | 2 | -0/+8 | |
next_codepoint() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_ext() function adds the encoding of the input string as a parameter. next_codepoint() now only calls next_codepoint_ext() with CH_UNIX als src_charset argument. | |||||
2010-11-03 | lib/charset/charcnv: rename a parameter of next_codepoint_convenience_ext() ↵ | Michael Adam | 1 | -5/+5 | |
for clarity | |||||
2010-11-03 | lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input ↵ | Michael Adam | 2 | -11/+37 | |
charset. next_codepoint_convenience() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_convenience_ext() function adds the encoding of the input string as a parameter. next_codepoint_convenience() now only calls next_codepoint_convenience_ext() with CH_UNIX als src_charset argument. | |||||
2010-11-03 | util/charset: remove a duplicate comment. | Michael Adam | 1 | -5/+0 | |
This seems to have been copied twice from source3/ code. | |||||
2010-10-31 | build: check that if we provide -liconv we can build shared libs | Matthieu Patou | 1 | -0/+6 | |
On Solaris with sun studio compiling an executable with -liconv even if there is no libiconv.so or libiconv.a will work but not for a shared lib. This problem leads to build problem as the linker won't be able to find libiconv when building shared lib as liconv is wrongly specified | |||||
2010-10-31 | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 2 | -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-21 | s4:lib/util/charset/iconv.c - remove a distinction which can never happen | Matthias Dieter Wallnöfer | 1 | -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-19 | s3: Fix the charset_pull routine (bug 7531) | Volker Lendecke | 1 | -1/+1 | |
In the push routine we do the SVAL, so we should do the SSVAL here. | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 1 | -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-25 | Move UCS2 macros to common code | Jelmer Vernooij | 1 | -0/+23 | |
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 1 | -3/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 2 | -0/+4 | |
them | |||||
2010-04-06 | s4-waf: look for libiconv before checking libc | Andrew Tridgell | 1 | -1/+6 | |
This is needed for solaris8 | |||||
2010-04-06 | s4-waf: remove the need for some of the lib aliases | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: updated configure checks or new syntax | Andrew Tridgell | 1 | -10/+2 | |
2010-04-06 | build: check libc first for several libraries | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 1 | -0/+11 | |
2010-04-06 | build: iconv checks | Andrew Tridgell | 1 | -0/+10 | |
2010-03-30 | charset: look for the codepages in the right place | Andrew Tridgell | 1 | -2/+2 | |
selftest runs from source3/source4. The codepages when not installed are in ../codepages | |||||
2010-03-22 | convert_string_talloc_convenience - print out the input buffer in a better ↵ | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
way (using dump_data since it isn't always directly readable) | |||||
2010-03-18 | charset: fixed a problem with the global use of the iconv_convenience structure | Andrew Tridgell | 3 | -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-02 | Change uint_t to unsigned int in lib/util | Matt Kraai | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-12-18 | Return NULL in strlower_talloc if src is NULL | Brendan Powers | 1 | -0/+4 | |
Prevents strlower_talloc from segfaulting if you pass it a NULL string. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-20 | charset/tests/iconv - Remove the "const" from "ptr_in" to prevent ↵ | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
"discard_const_p" use Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-10-22 | util: fixed place where we could look one byte past end of string | Andrew Tridgell | 1 | -1/+1 | |
We need to check the length before the value | |||||
2009-09-07 | s4:tests/iconv - Fix a warning | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2009-09-07 | s4: Fix "Small memory leak after calling several times lp_update" | Inra | 1 | -37/+17 | |
Should fix bug #6660. | |||||
2009-08-24 | Fix make test. | Jeremy Allison | 1 | -0/+1 | |
Jeremy. | |||||
2009-04-23 | Fix push_codepoint function without iconv_convenience. | Jelmer Vernooij | 1 | -1/+1 | |
2009-04-23 | Add a new non-convenience version of push_codepoint. | Jelmer Vernooij | 4 | -7/+15 | |
2009-03-09 | Fix prototype mismatch. | Jelmer Vernooij | 1 | -1/+1 | |
2009-03-08 | Revert accidental reintroduction of void ** bug. | Jelmer Vernooij | 2 | -5/+7 | |
2009-03-02 | Import ISO-8859-1, 646 from Samba 3 iconv. | Jelmer Vernooij | 1 | -0/+29 | |
2009-03-01 | Use common header file for character set handling in Samba 3 and Samba 4. | Jelmer Vernooij | 3 | -38/+122 | |
2009-03-01 | s4: Use same function signature for convert_* as s3. | Jelmer Vernooij | 4 | -46/+77 | |
2009-03-01 | Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents. | Jelmer Vernooij | 2 | -2/+3 | |
2009-03-01 | Add allow_badcharcnv argument to all conversion function, for | Jelmer Vernooij | 4 | -23/+31 | |
consistency with Samba 3. | |||||
2009-01-16 | lib: add strlen_m_term_null from s3. | Günther Deschner | 2 | -0/+20 | |
Guenther | |||||
2008-11-01 | Remove convert_string_talloc_descriptor, add iconv_talloc(). | Jelmer Vernooij | 2 | -59/+77 | |
2008-10-31 | finished adding UTF16_MUNGED charset | Andrew Tridgell | 4 | -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-31 | added a new charset for string2key | Andrew Tridgell | 1 | -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-24 | Remove unused include param/param.h. | Jelmer Vernooij | 1 | -1/+0 | |
2008-10-24 | Remove more global_loadparm instances, fix syntax errors. | Jelmer Vernooij | 2 | -5/+5 | |
2008-10-24 | Add version of next_codepoint without iconv_convenience. | Jelmer Vernooij | 4 | -15/+23 | |
2008-10-24 | Remove dependency of charset code on loadparm. | Jelmer Vernooij | 2 | -2/+6 | |
2008-10-24 | Remove iconv_convenience argument from convert_string{,talloc}() but | Jelmer Vernooij | 3 | -24/+60 | |
make them wrappers around convert_string{,talloc}_convenience(). | |||||
2008-10-24 | Avoid retrieving iconv convenience during loops. | Jelmer Vernooij | 1 | -11/+15 | |
2008-10-24 | Remove iconv_convenience parameter from simple string push/pull | Jelmer Vernooij | 3 | -340/+345 | |
functions. | |||||
2008-10-24 | Split up codepoints code, use consistent _m suffix. | Jelmer Vernooij | 5 | -155/+187 | |
2008-10-24 | Rename string_replace_w to string_replace_m, which is more correct. | Jelmer Vernooij | 4 | -11/+9 | |