Interchange

CVS log for interchange/lib/Vend/CharSet.pm

[BACK] Up to [Local Repository] / interchange / lib / Vend

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 2.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 26 15:44:15 2008 UTC (3 months, 1 week ago) by jon
Branches: STABLE_5_6-branch
CVS tags: REL_5_6_1, DEB_5_6_1_2
Diff to: previous 2.8: preferred, colored; next MAIN 2.9: preferred, colored
Changes since revision 2.8: +3 -6 lines
Quell bogus warnings from Encode::Alias. Resolves RT #224.

Thanks to Andy <ic@tvcables.co.uk> and Rene Hertell <icdevgroup@hertell.com> for reporting.

Revision 2.10: download - view: text, markup, annotated - select for diffs
Fri Sep 26 15:38:17 2008 UTC (3 months, 1 week ago) by jon
Branches: MAIN
CVS tags: REL_5_7_1, HEAD
Diff to: previous 2.9: preferred, colored
Changes since revision 2.9: +3 -5 lines
Quell bogus warnings from Encode::Alias. Resolves RT #224.

Thanks to Andy <ic@tvcables.co.uk> and Rene Hertell <icdevgroup@hertell.com> for reporting.

Revision 2.9: download - view: text, markup, annotated - select for diffs
Thu Jul 17 15:00:04 2008 UTC (5 months, 3 weeks ago) by mheins
Branches: MAIN
Diff to: previous 2.8: preferred, colored
Changes since revision 2.8: +1 -2 lines
* Don't "use warnings" in a module unless you are committed to removing them
  all.

Revision 2.8: download - view: text, markup, annotated - select for diffs
Sat Apr 19 14:37:27 2008 UTC (8 months, 2 weeks ago) by jon
Branches: MAIN
CVS tags: STABLE_5_6-root, REL_5_5_3, REL_5_5_2
Branch point for: STABLE_5_6-branch
Diff to: previous 2.7: preferred, colored
Changes since revision 2.7: +8 -7 lines
Be more specific in logging for character set handling.

Revision 2.7: download - view: text, markup, annotated - select for diffs
Thu Apr 17 22:50:33 2008 UTC (8 months, 3 weeks ago) by jon
Branches: MAIN
Diff to: previous 2.6: preferred, colored
Changes since revision 2.6: +24 -4 lines
Fix regexes that use UTF-8 inside a Safe compartment.

Patch by Sonny Cook <sonny@endpoint.com>, with some logging tweaks by me.

Revision 2.6: download - view: text, markup, annotated - select for diffs
Thu Apr 17 10:52:37 2008 UTC (8 months, 3 weeks ago) by racke
Branches: MAIN
Diff to: previous 2.5: preferred, colored
Changes since revision 2.5: +9 -8 lines
remove default charset, effectively disabling UTF-8 by default until we
solved the issue with embedded Perl
log error message if decode operation fails

Revision 2.5: download - view: text, markup, annotated - select for diffs
Wed Mar 26 10:29:06 2008 UTC (9 months, 1 week ago) by racke
Branches: MAIN
Diff to: previous 2.4: preferred, colored
Changes since revision 2.4: +1 -22 lines
removed incomplete POD documentation which provided more typos than
additional information

Revision 2.4: download - view: text, markup, annotated - select for diffs
Tue Mar 25 17:13:21 2008 UTC (9 months, 2 weeks ago) by jon
Branches: MAIN
Diff to: previous 2.3: preferred, colored
Changes since revision 2.3: +19 -24 lines
Various minor UTF-8 changes.

Correct attribution of &Vend::CharSet::display_chars (which is from
perluniintro manpage).

Enable localization of an error string.

Match content type more tightly in 2 spots ("text" is only trustworthy
in the MIME major type, not minor, and even that may be a stretch).

Simplify request method matching in a few places for readability and a
(trivial) performance benefit.

Use conventional $c lexical instead of $g for catalog hashref.

Fix tab/space differences to match context.

Update copyrights of files changed in 2008.

Revision 2.3: download - view: text, markup, annotated - select for diffs
Tue Mar 25 10:53:38 2008 UTC (9 months, 2 weeks ago) by kwalsh
Branches: MAIN
Diff to: previous 2.2: preferred, colored
Changes since revision 2.2: +2 -3 lines
    * Fixed the copyright attribution.  I just copied the header from
      Config.pm without thinking.  Thanks to Peter and Racke for the
      kicking. :-)

Revision 2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 25 10:42:20 2008 UTC (9 months, 2 weeks ago) by kwalsh
Branches: MAIN
Diff to: previous 2.1: preferred, colored
Changes since revision 2.1: +25 -0 lines
    * Added the Interchange copyright and GPL header comments.

Revision 2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 25 10:17:18 2008 UTC (9 months, 2 weeks ago) by kwalsh
Branches: MAIN
    * Committing Sonny Cook's UTF-8 patches, along with a fix for the
      PreFork issue caused by the patches.  Thanks, Sonny!

    * From Sonny's original article on interchange-core:

	There are two variables that will need to be added to your
	catalog.cfg:  MV_HTTP_CHARSET and MV_UTF8.  They should be set
	like so:

	    Variable MV_HTTP_CHARSET UTF-8
	    Variable MV_UTF8         1

	The MV_UTF8 variable tells the system that we are using UTF-8
	for stuff internally when that needs to be specified.  Perl mostly
	does the right thing wrt UTF-8, but when we need to explicitly
	specify for one of a handful of reasons, this variable lets us
	configure that.

	The MV_HTTP_CHARSET specifies which character set that the web
	pages are going to be encoded with.  UTF-8 is the only value that
	has been tested at the moment, although it probably generalises
	to whatever you would like to use.

	Communication with the database introduces three database
	directives.  These are required to ensure that data is properly
	communicated with the database:

	    PG_ENABLE_UTF8
	    MYSQL_ENABLE_UTF8
	    GDBM_ENABLE_UTF8

	These can be set on a table by table basis or with DatabaseDefault.
	You will probably want to set the one for the sql database you are
	using and one for GDBM, like so:

	    DatabaseDefault PG_ENABLE_UTF8 1
	    DatabaseDefault GDBM_ENABLE_UTF8 1

	You will need to make sure that your database is encoded in UTF-8
	and that all of your data is encoded that way as well.

	Enabling UTF-8 should not cause any problems if your data is all in
	US-ASCII, but might cause problems if other encodings are involved.

    * Note: This commit is missing the latest safeuntrap/reval/safetrap
      code, which should be added ASAP.  In the meantime, the following
      works in the interchange.cfg file (with Perl 5.8.8):

	SafeUntrap  rand require caller dofile print

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

Interchange CVSweb <info@icdevgroup.org>