summaryrefslogtreecommitdiff
path: root/source3/lib/iconv.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison1-0/+6
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit 5c050a735f86927c7ef2a98b6f3a56abe39e4674)
2003-09-29Merge from 3.0:Tim Potter1-1/+1
>iconv isn't const safe. Neither should smb_iconv be. >Jeremy. (This used to be commit 7bd450f8b678e835ba4f9cfdc3d096b04da6f8f7)
2003-09-15Alias charset 646 internallyAlexander Bokovoy1-0/+1
(This used to be commit f4eb7acc7dfc400cc6524dccdd8081acd707f937)
2003-05-27Jelmer was really excited about copyrights this year.Tim Potter1-1/+1
(This used to be commit 30a1b517fca6554c3beb5cc33fa0299d1376a542)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-7/+8
function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
2003-04-24Complain about duplicate charsets at debug level 0 instead of 2Jelmer Vernooij1-1/+1
(This used to be commit d29407d41eb2ed9cf370e278cb4c95c6c341a08d)
2003-04-24Get rid of module_path_get_name()Jelmer Vernooij1-10/+5
(This used to be commit 9f9bdd97dbbabde7b2979c62dfdf150fae8670ec)
2003-04-06strequal() returns True for equal, not an intAndrew Tridgell1-2/+4
(This used to be commit b96590ad092e32259ce24a20a6a8a30d98dfae7d)
2003-03-31- Support absolute paths in vfs and charset modulesJelmer Vernooij1-3/+6
- Fix typo in Makefile.in - Fix compatibility with older vfs modules (from patch by metze) - Build some modules shared by default and some static (and fall back to static when dlopen() is not available) (This used to be commit aa36f462d95f8a3a3a81a89c210b98a6f9fd295f)
2003-03-24Add modules support to charsetJelmer Vernooij1-29/+55
(This used to be commit cf3d31b9801d7ccb30334a92d4dc8a0ced2ecd31)
2003-02-28Doxygen janitorMartin Pool1-1/+1
(This used to be commit 9af07173152c5e861d13b33a8d4aee8167a50b66)
2003-02-28Add a comment about the meaning of samba's internal character set andMartin Pool1-0/+24
how this interacts with it. (This used to be commit eb876ee9cf24eda04e0856899b232d060c669c0c)
2003-02-27Doxygen janitorMartin Pool1-5/+6
(This used to be commit 67bf36c69d19463c28066b276d74ac4784b26bed)
2003-01-02BIG patch...Andrew Bartlett1-6/+6
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-11-13Move 'weird' character set into new 'developer' moduleJelmer Vernooij1-108/+0
(This used to be commit afbff33eba7edd98329114b5113b3360cd6dfcc6)
2002-11-12Don't throw out WEIRD - yet (I committed my local changes together with my ↵Jelmer Vernooij1-0/+108
last fix. D'oh!) (This used to be commit 5191719eeec7062118da2be3aefe35d065e97900)
2002-11-12Fix segfault with high debug levelsJelmer Vernooij1-109/+1
(This used to be commit a20676bc05f50bb89a55e67efef579eaaeac3f72)
2002-11-12Add smb_register_charset() and use itJelmer Vernooij1-33/+65
(This used to be commit 8b654658759a145c5c8aabb3c82220a70f70c3f7)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-12-20much better auto-init of valid_table[]. This should just about removeAndrew Tridgell1-1/+7
the need for valid.dat (This used to be commit 0cfd0a5e543181b1384f7afee93fbaf3ccb2b999)
2001-10-23get rid of compiler warnings (casts and delete unused variables)Herb Lewis1-2/+2
(This used to be commit 51cb4411df61d1caec9d84809b1a53a6a632f808)
2001-09-29Add a few const statements to various odd bits of the tree. (Fixes someAndrew Bartlett1-1/+1
warnings) (This used to be commit b648cc669d16eb40b477c8dc51efeab485a15de5)
2001-09-25allow all ucs2 chars in utf8, rather than mapping some to a singleAndrew Tridgell1-10/+1
char like libiconv does (This used to be commit e13e8b190c70136cb2c3588bdcf7328a7f61d152)
2001-09-17move to SAFE_FREE()Simo Sorce1-2/+2
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
2001-09-07added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell1-2/+2
which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT (This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)
2001-07-22changed the iconv interface to go via ucs2 for all conversions. ThisAndrew Tridgell1-71/+186
fixes some problems wih some character sets and allows for using internal charsets in conjunction with ionv charsets this makes us slower but more correct. speed will come later. (This used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)
2001-07-22switch from UCS2 to UCS-2LEAndrew Tridgell1-15/+1
(This used to be commit e236a3e29e4af24b20ec6af357ce67abf82b4528)
2001-07-06fixed a silly bug in the internal UTF8 implementationAndrew Tridgell1-1/+14
(This used to be commit 95a9a1814f1a1ac07c316cc920c7493a86d5a09b)
2001-07-06added some comments and removed an unnecessary checkAndrew Tridgell1-3/+2
(This used to be commit 25c4b3f19315bdef57041da79c12271b72015701)
2001-07-05optimised the 7 bit case for utf8 conversionAndrew Tridgell1-4/+4
(This used to be commit 0c61e54f152eca6b7607fcce9ea512bc60a19060)
2001-07-05make sure we reset the shift state on error for charsets like SJISAndrew Tridgell1-1/+10
(This used to be commit 42648a7aada48220fdfaf6acfe95b9614122f1da)
2001-07-04added builtin support for UTF8Andrew Tridgell1-1/+115
(This used to be commit 76d83e7f704cf016308dccaad9bc42d57db97686)
2001-07-04more portability fixesAndrew Tridgell1-4/+2
(This used to be commit bf818268516cfbebcdeacbb0528395e9bbb8e442)
2001-07-04portability fixesAndrew Tridgell1-4/+9
(This used to be commit 7a5c24c219d8b19f2c3cd11fdde3ebcede0646a2)
2001-07-04got rid of __FUNCTION__ debugAndrew Tridgell1-2/+2
(This used to be commit 815ca752744c2ae93390445f4bb6532d396bbc59)
2001-07-04The big character set handling changeover!Andrew Tridgell1-0/+346
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)