util_ebcdic.c

Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Missing va_end spotted by cppcheck
Use 'apr_pstrmemdup' instead of 'apr_pstrndup' when applicable
Add lots of unique tags to error log messages

  1. … 172 more files in changeset.
Introduce ap_(get|set)_core_module_config() functions/macros and use them

everywhere.

We know that the core module has module_index 0. Therefore we can save

some pointer operations in ap_get_module_config(cv, &core_module) and

ap_set_module_config(cv, &core_module, val). As these are called rather often,

this may actually have some (small) measurable effect.

  1. … 42 more files in changeset.
remove more unused variables

revove some obsolete comments

netware file is untested

  1. … 12 more files in changeset.
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take

advantage of per-module loglevels

  1. … 169 more files in changeset.
update license header text
  1. … 316 more files in changeset.
Update the copyright year in all .c, .h and .xml files

  1. … 497 more files in changeset.
No functional Change: Removing trailing whitespace. This also

means that "blank" lines consisting of just spaces or

tabs are now really blank lines

  1. … 180 more files in changeset.
Update copyright year to 2005 and standardize on current copyright owner line.

  1. … 522 more files in changeset.
general property cleanup

  1. … 712 more files in changeset.
Use standardized names for ISO-8859-1, see http://www.iana.org/assignments/character-sets

(Using the name iso8859-1 may still work, because it is aliased in apr-iconv/ccs/charset.aliases)

  1. … 4 more files in changeset.
fix name of The Apache Software Foundation

  1. … 174 more files in changeset.
apply Apache License, Version 2.0

  1. … 262 more files in changeset.
update license to 2004.

  1. … 281 more files in changeset.
tidy up some charset recoding issues

the "need" for APACHE_XLATE went away some years ago when BUFF went

POOF and charset recoding (translation) of non-protocol data

could no longer be performed by the core...

  1. … 4 more files in changeset.
finished that boring job:

update license to 2003.

Happy New Year! ;-))

  1. … 271 more files in changeset.
Update our copyright for this year.

  1. … 260 more files in changeset.
insure that canned error msgs are translated to ascii before leaving

an ebcdic server in worst case scenarios.

  1. … 2 more files in changeset.
Update copyright to 2001

  1. … 205 more files in changeset.

The big change. This is part 3 of the apr-util symbols rename, please

see the first commit of srclib/apr-util/include (cvs apr-util/include)

for the quick glance at symbols changed.

  1. … 85 more files in changeset.
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.

  1. … 18 more files in changeset.
Force all Apache functions to be linked into the executable, whether they

are used or not. This uses the same mechanism that is used for APR

and APR-util. This may not be the correct solution, but it works, and that

is what I really care about. This also renames CHARSET_EBCDIC to

AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes

the exports script a bit easier.

  1. … 24 more files in changeset.
Introduce ap_xlate_proto_{to|from}_ascii() to clean up some of

the EBCDIC support. They are noops on ASCII machines, so this

type of translation doesn't have to be surrounded by #ifdef

CHARSET_EBCDIC.

  1. … 3 more files in changeset.
Get rid of much of the old implementation of translating the

charset of response bodies.

ap_checkconv() is removed, except for in os/bs2000 and os/tpf.

(Anything there is questionable for 2.0 anyway.)

  1. … 6 more files in changeset.
Include apr_strings.h to avoid missing-prototype warning.

Fix some problems with the apr conversion so that APACHE_XLATE builds work

again.

  1. … 9 more files in changeset.
prefix libapr functions and types with apr_

  1. … 143 more files in changeset.
Add support to ap_xlate_open() for an app to specify that the

charset of the locale is to be used for the source or target

charset.

At EBCDIC initialization, use the locale charset as one of the

pair when setting up the default translation handles for content.

Fix broken comment in util_ebcdic.c

Submitted by: Greg Ames