1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/include
Gabor Kovesdan ad30f8e79b Add the BSD-licensed Citrus iconv to the base system with default off
setting. It can be built by setting the WITH_ICONV knob. While this
knob is unset, the library part, the binaries, the header file and
the metadata files will not be built or installed so it makes no impact
on the system if left turned off.

This work is based on the iconv implementation in NetBSD but a great
number of improvements and feature additions have been included:

- Some utilities have been added. There is a conversion table generator,
  which can compare conversion tables to reference data generated by
  GNU libiconv. This helps ensuring conversion compatibility.
- UTF-16 surrogate support and some endianness issues have been fixed.
- The rather chaotic Makefiles to build metadata have been refactored
  and cleaned up, now it is easy to read and it is also easier to add
  support for new encodings.
- A bunch of new encodings and encoding aliases have been added.
- Support for 1->2, 1->3 and 1->4 mappings, which is needed for
  transliterating with flying accents as GNU does, like "u.
- Lots of warnings have been fixed, the major part of the code is
  now WARNS=6 clean.
- New section 1 and section 5 manual pages have been added.
- Some GNU-specific calls have been implemented:
  iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into()
- Support for GNU's //IGNORE suffix has been added.
- The "-" argument for stdin is now recognized in iconv(1) as per POSIX.
- The Big5 conversion module has been fixed.
- The iconv.h header files is supposed to be compatible with the
  GNU version, i.e. sources should build with base iconv.h and
  GNU libiconv. It also includes a macro magic to deal with the
  char ** and const char ** incompatibility.
- GNU compatibility: "" or "char" means the current local
  encoding in use
- Various cleanups and style(9) fixes.

Approved by:	delphij (mentor)
Obtained from:	The NetBSD Project
Sponsored by:	Google Summer of Code 2009
2011-02-25 00:04:39 +00:00
..
arpa o addr2ascii(3) was removed ages ago. Fix the comment. 2010-07-06 03:48:46 +00:00
gssapi
protocols Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s. 2010-02-16 19:46:46 +00:00
rpc
rpcsvc
_ctype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
a.out.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ar.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
assert.h Add missing __dead2 to __assert(). 2011-01-09 21:39:46 +00:00
bitstring.h
complex.h
cpio.h
ctype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
db.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
dirent.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
dlfcn.h - Remove const'ness from dlerror(3) prototype, for consistency with POSIX. 2010-03-24 15:59:51 +00:00
elf-hints.h
elf.h
err.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fmtmsg.h
fnmatch.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fstab.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fts.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ftw.h
getopt.h
glob.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
grp.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
gssapi.h
hesiod.h
histedit.h libedit: Allow simple quoting in filename completion. 2010-06-15 21:34:57 +00:00
iconv.h Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
ieeefp.h
ifaddrs.h
inttypes.h Be like stdlib.h and bring in a wchar_t definition and use it to prototype 2010-03-31 02:12:24 +00:00
iso646.h
kenv.h
langinfo.h
libgen.h
limits.h Correct value for _POSIX_AIO_LISTIO_MAX in <limits.h>. 2010-08-29 22:22:15 +00:00
link.h
locale.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
Makefile Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
malloc_np.h
malloc.h
memory.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
monetary.h
mpool.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
mqueue.h
ndbm.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
netconfig.h
netdb.h Add capability to use a db version of services. It is enabled by 2010-04-04 08:31:03 +00:00
nl_types.h
nlist.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
nss.h
nsswitch.h Add capability to use a db version of services. It is enabled by 2010-04-04 08:31:03 +00:00
paths.h Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
printf.h
proc_service.h
pthread_np.h Introduce a non-portable function pthread_getthreadid_np(3) to retrieve 2011-02-07 21:26:46 +00:00
pthread.h Remove leftover for r214093. 2011-01-06 03:30:16 +00:00
pwd.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ranlib.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
readpassphrase.h Sync with OpenBSD, primarily better signal and terminal handling. 2010-11-13 10:38:06 +00:00
regex.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
res_update.h
resolv.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
runetype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
search.h
semaphore.h
setjmp.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
signal.h Add restrict keyword to pthread_sigmask prototype and manpage. 2011-02-20 09:52:29 +00:00
spawn.h
stab.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stdbool.h
stddef.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stdio.h Remove stale reference to UT_NAMESIZE from <stdio.h>. 2010-08-06 19:35:40 +00:00
stdlib.h Move realpath(3) prototype to a POSIX section. 2010-04-21 16:38:37 +00:00
string.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stringlist.h
strings.h
sysexits.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
tar.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
termios.h Add a new libc function: cfmakesane(3). 2010-11-02 17:00:56 +00:00
tgmath.h
time.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
timeconv.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
timers.h
ttyent.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ulimit.h
unistd.h rpc.lockd(8) WARNS cleanup 2010-12-20 21:12:18 +00:00
unwind.h Also the stop function should accept 64-bit exception class. 2010-09-30 03:16:35 +00:00
utime.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
utmpx.h
uuid.h
varargs.h
vis.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
wchar.h
wctype.h
wordexp.h