<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libiconv_modules, branch release/10.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2013-11-23T12:17:05Z</updated>
<entry>
<title>MFC r258316:</title>
<updated>2013-11-23T12:17:05Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2013-11-23T12:17:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=258e8beb5321f3b35af6468a9e97e53719a75188'/>
<id>urn:sha1:258e8beb5321f3b35af6468a9e97e53719a75188</id>
<content type='text'>
Bug fixes in iconv(3) UTF-7 support.

- Add ' to the list of directly encoded characters and * to the list of
  optionally directly encoded characters as per RFC 2152.

- In _citrus_UTF7_mbtoutf16 on end of input when the next output character
  has only been partially decoded, save a copy of the buffer of input
  characters (not just its length).  On the next call with more input
  characters this buffer is reprocessed together with the new input to
  form a fully decoded output character.

- At the end of a base64 encoded sequence fully discard '-' (BASE64_OUT)
  by decrementing psenc-&gt;chlen and i.  This is needed to make room in
  psenc-&gt;ch (input buffer) in case the next input character starts a new
  base64 encoded sequence.  And also, if this is the end of input and no
  output character can be returned, this brings the encoder in the initial
  state as indicated by _citrus_UTF7_stdenc_get_state_desc_generic which
  is used by the caller to distinguish between no output and partial
  output.

- In _citrus_UTF7_mbrtowc_priv pass the s parameter (input pointer)
  directly to _citrus_UTF7_mbtoutf16 instead of a copy (s0).  This way s
  is updated correctly in case of errors.

- In _citrus_UTF7_mbrtowc_priv when called with psenc-&gt;surrogate set
  (previous call did not have enough input), retrieve the previously
  decoded UTF-16 character from (psenc-&gt;cache &gt;&gt; psenc-&gt;bits) instead of
  (psenc-&gt;cache &gt;&gt; 2).

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Use Makefile.inc instead of .export.</title>
<updated>2013-09-06T10:40:38Z</updated>
<author>
<name>David Chisnall</name>
<email>theraven@FreeBSD.org</email>
</author>
<published>2013-09-06T10:40:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=feae3109e8d4a501ca91f19c95a78b5d0bfbdda4'/>
<id>urn:sha1:feae3109e8d4a501ca91f19c95a78b5d0bfbdda4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the namespace pollution caused by iconv.h including stdbool.h</title>
<updated>2013-09-06T09:46:44Z</updated>
<author>
<name>David Chisnall</name>
<email>theraven@FreeBSD.org</email>
</author>
<published>2013-09-06T09:46:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b49c0d5878e49d8d3d094d0b2e4f00939e7aa662'/>
<id>urn:sha1:b49c0d5878e49d8d3d094d0b2e4f00939e7aa662</id>
<content type='text'>
This broke any C89 ports that defined bool themselves, including things
like gcc, gtk, and so on.
</content>
</entry>
<entry>
<title>As a followup to r252547, propate const down the call stack.</title>
<updated>2013-07-03T18:27:45Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2013-07-03T18:27:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7900abff04765b35813cd9bab7bfa53a458d76c5'/>
<id>urn:sha1:7900abff04765b35813cd9bab7bfa53a458d76c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the BSD-licensed Citrus iconv to the base system with default off</title>
<updated>2011-02-25T00:04:39Z</updated>
<author>
<name>Gabor Kovesdan</name>
<email>gabor@FreeBSD.org</email>
</author>
<published>2011-02-25T00:04:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ad30f8e79bd1007cc2476e491bd21b4f5e389e0a'/>
<id>urn:sha1:ad30f8e79bd1007cc2476e491bd21b4f5e389e0a</id>
<content type='text'>
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-&gt;2, 1-&gt;3 and 1-&gt;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
</content>
</entry>
</feed>
