summaryrefslogtreecommitdiff
path: root/xlate
Commit message (Collapse)AuthorAgeFilesLines
* correct trivial size_t > int flawwrowe2007-10-231-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@587438 13f79535-47bb-0310-9956-ffa450edef68
* Fix test crash, anticipate some output buff and no input buffwrowe2007-10-181-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@586177 13f79535-47bb-0310-9956-ffa450edef68
* Revision 57631 rearranged the error codes, returning apr_status_t instead ofdavi2007-07-221-3/+3
| | | | | | | | | setting errno. PR: 33946 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@558449 13f79535-47bb-0310-9956-ffa450edef68
* Update license headers.jerenkrantz2007-01-151-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@496440 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-041-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@151413 13f79535-47bb-0310-9956-ffa450edef68
* * include/apr_xlate.h (apr_xlate_conv_buffer): Document thejorton2004-11-221-1/+1
| | | | | | | | | | | | | | | | final inbuf=NUL call necessary to correctly terminate the output buffer. * xlate/xlate.c (apr_xlate_conv_buffer): Handle a NULL inbuf parameter. * text/testxlate.c (test_conversion): Call apr_xlate_conv_buffer with NULL inbuf paramater to terminate the output buffer. Reviewed by: Uwe Zeisberger, Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@106176 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.jorton2004-11-181-4/+0
| | | | | | | Tipped-of-by: Uwe Zeisberger git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@76270 13f79535-47bb-0310-9956-ffa450edef68
* hrm, seems like somebody already fixed this in APR HEAD. Now gotta findjwoolley2004-08-261-1/+1
| | | | | | | out why this fix didn't make it into 1.0.0 RC6 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@59126 13f79535-47bb-0310-9956-ffa450edef68
* As per 0.9 branch:jorton2004-06-251-3/+4
| | | | | | | | | | * xlate/xlate.c (check_sbcs): Fix build breakage on APR_HAVE_APR_ICONV path. Submitted by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@59079 13f79535-47bb-0310-9956-ffa450edef68
* * xlate/xlate.c (check_sbcs): Reinstate function with fix to resetjorton2004-06-061-0/+85
| | | | | | | iconv handle per 0.9 branch pending any progress on API issues. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@59048 13f79535-47bb-0310-9956-ffa450edef68
* * xlate/xlate.c (check_sbcs): Remove function which made unsafejorton2004-03-301-73/+0
| | | | | | | | | assumptions (a theoretical issue), and was buggy in not resetting the iconv handle on failure (the cause of at least one real issue). (apr_xlate_open): Updated caller. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@59016 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0.jerenkrantz2004-02-131-49/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58989 13f79535-47bb-0310-9956-ffa450edef68
* First whack at switching to a single top-level make. This adds a dependencygstein2004-02-051-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upon Python at packaging time, but not at end-user config/build time. As far as I can tell, the build continues to function properly. (out-of-dir config/make not tested, and apr-iconv prolly needs some work) The buildconf scripts now generate a build-outputs.mk file which is included by the root's Makefile (via the build/gen-build.py script). bulid-outputs.mk specifies all of the various files present in the distribution. The top-level Makefiles were simplified to use an $(OBJECTS) symbol rather than 'find'ing them. Similarly, a $(HEADERS) symbol is used for the exports. The corresponding delete-* targets were eliminated since we have a precise set of inputs. The subdirs' Makefiles were removed since they are no longer called/used. The apr-util/uri Makefile was responsible for compiling a C program to generate the uri_delims.h file. That process was replaced by a Python script to generate the header (called by buildconf). The .c and .dsp were left for the Windows build to continue, but that should be revamped. build/apr_rules.mk was revamped somewhat to avoid recursion, but a lot of cleanup is still needed. Much of the recursive/local/x- logic is no longer needed and can be elimianated. rules.mk was created for inclusion by N makefiles, but that isn't really true any more, so it could probably be tossed (caveat: test/Makefile). Saved for a phase 2. Some additional work was added to properly clean up files in */build/, rather than relying on a makefile in there. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58980 13f79535-47bb-0310-9956-ffa450edef68
* Axe deprecated functions, #defines, etc. in apr-util.jerenkrantz2003-11-161-7/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58953 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a typo in the status-checking code when usin apr-iconv to translatebrane2003-01-121-1/+1
| | | | | | | | a buffer: The code was checking the inbytes_left pointer, instead of the value it pointed to. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58825 13f79535-47bb-0310-9956-ffa450edef68
* Fix APU test bogositywrowe2003-01-101-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58824 13f79535-47bb-0310-9956-ffa450edef68
* Some problematic code since Mr. Stoddard recognized we weren't settingwrowe2003-01-101-8/+46
| | | | | | | or testing the correct #defines. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58823 13f79535-47bb-0310-9956-ffa450edef68
* There is no such beast as APU_HAS_APR_ICONVstoddard2003-01-081-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58822 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notifications to 2003.thommay2003-01-011-1/+1
| | | | | | | No Functional changes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58816 13f79535-47bb-0310-9956-ffa450edef68
* Use apr_os_default_encoding and apr_os_locale_encoding insteadbrane2002-11-121-67/+6
| | | | | | | of get_default_charset and get_locale_charset, respectively. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58788 13f79535-47bb-0310-9956-ffa450edef68
* Kill a stray tab, get rid of trailing whitespace, do something aboutstriker2002-07-211-22/+31
| | | | | | | code crunch. No code changes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58718 13f79535-47bb-0310-9956-ffa450edef68
* HAVE_ICONV is never defined, use the value of APU_HAVE_ICONV instead.striker2002-07-211-7/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58717 13f79535-47bb-0310-9956-ffa450edef68
* Undo the wrappers that were down right ugly and impotent... and add newwrowe2002-07-201-28/+82
| | | | | | | sections to deal with apr_iconv on it's own. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58713 13f79535-47bb-0310-9956-ffa450edef68
* * apr-util/xlate/xlate.ckfogel2002-07-191-4/+4
| | | | | | | | | | | | (apr_xlate_open, apr_xlate_cleanup): Return APR_EINVAL where used to return EINVAL. * apr-util/include/apr_xlate.h (apr_xlate_open, apr_xlate_sb_get, apr_xlate_conv_buffer, apr_xlate_close): Document error return case. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58707 13f79535-47bb-0310-9956-ffa450edef68
* More fun with xlate...striker2002-07-191-8/+12
| | | | | | | | Make sure the macros actually work. Suck in apu_config, so that we actually have a value for HAVE_ICONV. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58705 13f79535-47bb-0310-9956-ffa450edef68
* A Fuggly patch to get things moving along. Define iconv_() as a wrapperwrowe2002-07-191-13/+20
| | | | | | | | | to prefix apr_iconv or iconv as appropriate based on APR_HAS_APR_ICONV. Not even trying to teach Unix about APR_HAS_APR_ICONV right now. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58702 13f79535-47bb-0310-9956-ffa450edef68
* Missed one earlier, all became APU_DECLARE.wrowe2002-07-182-1/+2
| | | | | | | Submitted by: David Shane Holden <dpejesh@yahoo.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58701 13f79535-47bb-0310-9956-ffa450edef68
* Fix some error handling for platforms with a broken iconv(). Ingstein2002-07-181-4/+19
| | | | | | | | certain cases, iconv will return -1 to indicate an error, but it won't set the errno variable. Return EINVAL in these cases. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58700 13f79535-47bb-0310-9956-ffa450edef68
* APU declares nowwrowe2002-07-171-12/+17
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58697 13f79535-47bb-0310-9956-ffa450edef68
* Right header alreadywrowe2002-07-171-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58696 13f79535-47bb-0310-9956-ffa450edef68
* Changed APR_HAS_XLATE within apr to an APR_HAVE_ICONV feature test.wrowe2002-07-173-0/+434
Moved xlate.c into apr-util. Define APR_HAS_XLATE based on APR_HAVE_ICONV. It could become an APU_HAVE_ICONV test, but my configure.in.foo isn't that worthy. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58695 13f79535-47bb-0310-9956-ffa450edef68