Revisions for framework/Text_Flowed/Flowed.php

Location: [ Horde ] / framework / Text_Flowed / Flowed.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.46 (+2 -3 lines) 10/09/2008 01:54 AM Michael M Slusarz slusarz

ws; don't need since

1.14.10.20 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:30 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_3, HORDE_3_3_RC1, HORDE_3_2_2, HORDE_3_2_1, HORDE_3_2, HORDE_3_2_RC4, HORDE_3_2_RC3, HORDE_3_2_RC2

1.45 (+2 -2 lines) 01/02/2008 06:12 AM Jan Schneider jan

Happy New Year

1.14.10.19 FRAMEWORK_3 (+48 -29 lines) 12/20/2007 08:50 AM Jan Schneider jan

Merge from HEAD.

1.44 (+5 -4 lines) 04/30/2007 05:05 AM Jan Schneider jan

Fix warnings on lines with a single space character in flowed format.

Tags: BEFORE_MERGE_3_2, HORDE_3_2_RC1, HORDE_3_2_ALPHA

1.43 (+42 -24 lines) 01/20/2007 06:24 PM Michael M Slusarz slusarz

Vastly improved algorithm which allows us to loop through large strings
without crippling the system.

1.14.10.18 FRAMEWORK_3 (+3 -3 lines) 01/02/2007 08:54 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_1_9, HORDE_3_1_8, HORDE_3_1_7, HORDE_3_1_6, HORDE_3_1_5, HORDE_3_1_4, HORDE_3_1_4_RC1

1.42 (+2 -2 lines) 01/02/2007 07:47 AM Jan Schneider jan

Happy New Year

1.41 (+2 -2 lines) 01/01/2007 07:40 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.40 (+1 -1 lines) 05/01/2006 04:14 PM Karsten Fourmont karsten

The invisible commit: remove stray whitespace at end of line.

1.39 (+3 -3 lines) 03/13/2006 01:13 AM Michael M Slusarz slusarz

standardize my email address.

1.14.10.17 FRAMEWORK_3 (+1 -2 lines) 03/11/2006 04:50 AM Jan Schneider jan

MFH: 1.38

Tags: HORDE_3_1_3, HORDE_3_1_2, HORDE_3_1_1

1.38 (+1 -2 lines) 03/10/2006 02:32 PM Jan Schneider jan

Remove stray line

1.14.10.16 FRAMEWORK_3 (+2 -2 lines) 01/01/2006 04:28 PM Jan Schneider jan

Happy new year

Tags: HORDE_3_1, HORDE_3_1_RC3, HORDE_3_1_RC2, HORDE_3_1_RC1

1.37 (+2 -2 lines) 01/01/2006 04:10 PM Jan Schneider jan

Happy new year\!

1.36 (+2 -2 lines) 12/06/2005 05:42 AM Jan Schneider jan

MFB: 1.14.10.15

1.14.10.15 FRAMEWORK_3 (+2 -2 lines) 12/06/2005 05:30 AM Jan Schneider jan

Fix variable name.

1.14.10.14 FRAMEWORK_3 (+48 -15 lines) 12/05/2005 10:34 PM Michael M Slusarz slusarz

MFH: CHANGES - 1.765; Flowed.php - 1.34, 1.35; package.xml - 1.4;
Flowed.phpt - 1.10

1.35 (+4 -2 lines) 12/05/2005 10:21 PM Michael M Slusarz slusarz

typo, add @since tag

1.34 (+46 -15 lines) 12/05/2005 10:13 PM Michael M Slusarz slusarz

Update Text_Flowed:: to support RFC 3676.

1.14.10.13 FRAMEWORK_3 (+8 -8 lines) 11/25/2005 01:33 AM Michael M Slusarz slusarz

Bug: 3035
MFH 1.33

1.33 (+8 -8 lines) 11/25/2005 01:29 AM Michael M Slusarz slusarz

Bug: 3035
Don't re-stuff line when converting from flowed->fixed.

1.32 (+2 -2 lines) 11/18/2005 10:45 PM Chuck Hagenbuch chuck

I guess everyone was kidding when they said you should use curly
braces for string offsets. This is, if anything, relevant to PHP6 (and
E_STRICT warnings under 5.1), but may as well just get rid of it.

1.14.10.12 FRAMEWORK_3 (+34 -54 lines) 11/17/2005 02:26 AM Michael M Slusarz slusarz

MFH: Flowed.php - 1.30; Flowed.phpt - 1.9

1.14.10.11 FRAMEWORK_3 (+7 -3 lines) 11/15/2005 02:46 AM Michael M Slusarz slusarz

MFH 1.31

1.31 (+7 -3 lines) 11/15/2005 02:44 AM Michael M Slusarz slusarz

Bug: 2969
Fix loop caused by long lines.

1.30 (+34 -54 lines) 11/15/2005 02:34 AM Michael M Slusarz slusarz

Tweak the algorithim a bit to remove duplicate steps.
Clean up handling of signature lines.
Remove some preg_* in favor of simpler string functions.

1.14.10.10 FRAMEWORK_3 (+28 -12 lines) 10/18/2005 07:01 AM Jan Schneider jan

Merged from HEAD.

1.29 (+3 -3 lines) 10/13/2005 01:59 AM Matt Selsky selsky

ws

Tags: BEFORE_MERGE_3_1

1.14.10.9 FRAMEWORK_3 (+6 -1 lines) 09/08/2005 10:10 PM Michael M Slusarz slusarz

Bug: 2567
Submitted by: leena.heino@uta.fi
MFH: 1.28

Tags: HORDE_3_0_12, HORDE_3_0_11, HORDE_3_0_10, HORDE_3_0_9, HORDE_3_0_8, HORDE_3_0_7, HORDE_3_0_6, HORDE_3_0_6_RC1

1.28 (+6 -1 lines) 09/08/2005 10:09 PM Michael M Slusarz slusarz

Bug: 2567
Submitted by: leena.heino@uta.fi
Fix formatting bug when a line with space stuffing is followed by a blank line.

1.14.10.8 FRAMEWORK_3 (+2 -2 lines) 07/29/2005 08:13 PM Michael M Slusarz slusarz

MFH: Flowed.phpt - 1.8, Flowed.php - 1.27

Tags: HORDE_3_0_5

1.27 (+2 -2 lines) 07/29/2005 08:12 PM Michael M Slusarz slusarz

Correctly quote the word 'From' if it is the only word on a line.

1.14.10.7 FRAMEWORK_3 (+1 -13 lines) 07/03/2005 01:14 AM Matt Selsky selsky

MFH: Remove "@access public" and fix formatting.

Tags: HORDE_3_0_5_RC2, HORDE_3_0_5_RC1

1.26 (+1 -13 lines) 07/03/2005 01:10 AM Matt Selsky selsky

Remove "@access public" and fix formatting.

1.14.10.6 FRAMEWORK_3 (+5 -5 lines) 06/23/2005 03:57 PM Matt Selsky selsky

MFH: Clean up phpdoc

1.25 (+6 -6 lines) 06/23/2005 03:40 PM Matt Selsky selsky

Clean up phpdoc

1.14.10.5 FRAMEWORK_3 (+4 -4 lines) 05/09/2005 10:01 PM Matt Selsky selsky

MFH: "optional" not needed in phpdoc.

1.24 (+6 -6 lines) 05/09/2005 09:55 PM Matt Selsky selsky

"optional" not needed in phpdoc.

1.14.10.4 FRAMEWORK_3 (+1 -2 lines) 04/21/2005 07:26 AM Matt Selsky selsky

Remove @version.

1.23 (+1 -2 lines) 04/21/2005 01:56 AM Matt Selsky selsky

Remove @version.

1.22 (+3 -19 lines) 02/09/2005 11:55 PM Michael M Slusarz slusarz

mbstring related code moved to String::.

1.21 (+2 -2 lines) 02/09/2005 05:38 AM Jan Schneider jan

Silence warning with unsupported charsets.

1.20 (+27 -11 lines) 02/08/2005 11:10 PM Michael M Slusarz slusarz

Factor encoding of the text into comparisons/regex.
Use the preg() functions if we are dealing with UTF-8 text.

1.19 (+11 -13 lines) 02/08/2005 12:34 AM Michael M Slusarz slusarz

Actually, looks like we always need mb_ereg() here if it exists; since 'flowed'
format is designed to increase human readability, we are always dealing in
terms of "characters" per line rather than "bytes" per line.
We will let our MIME wrapping functions elsewhere deal with the RFC line length constraints needed for mailing, etc.

1.18 (+24 -6 lines) 02/08/2005 12:26 AM Michael M Slusarz slusarz

Text_Flowed package now correctly handles multibyte characters.

1.14.10.3 FRAMEWORK_3 (+17 -17 lines) 02/03/2005 10:13 PM Michael M Slusarz slusarz

Bug: 1301
MFH 1.17

Tags: HORDE_3_0_4, HORDE_3_0_4_RC2, HORDE_3_0_4_RC1, HORDE_3_0_3

1.17 (+18 -18 lines) 02/03/2005 10:08 PM Michael M Slusarz slusarz

Bug: 1301
This should fix the issues with flowed formatting and the '-- ' signature
separator.

1.14.10.2 FRAMEWORK_3 (+19 -21 lines) 02/01/2005 02:49 PM Michael M Slusarz slusarz

MFH: Flowed.php - 1.16; CHANGES - 1.561

Tags: HORDE_3_0_3_RC1

1.16 (+19 -21 lines) 02/01/2005 02:46 PM Michael M Slusarz slusarz

Fix bug in Text_Flowed where unquoted lines could not be flowed.

1.15 (+1 -1 lines) 01/03/2005 08:09 AM Jan Schneider jan

Happy New Year

1.14.10.1 FRAMEWORK_3 (+3 -3 lines) 01/03/2005 07:19 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_0_2, HORDE_3_0_1

1.14 (+5 -3 lines) 10/02/2004 06:46 AM Jan Schneider jan

Don't trim signature lines when converting to flowed.
Michael, is that the right place?

Tags: FRAMEWORK_3, HORDE_3_0, HORDE_3_0_RC3

1.13 (+10 -5 lines) 09/23/2004 10:53 PM Michael M Slusarz slusarz

Fixed error with flowed->plain conversion when a signature block identifier
was located in quoted text.

1.12 (+3 -3 lines) 07/02/2004 10:42 AM Jan Schneider jan

typo

1.11 (+32 -22 lines) 02/12/2004 03:28 AM Michael M Slusarz slusarz

Clear up some space stuffing issues - mainly we were doing incorrect stuffing
when converting to fixed and doing incorrect unstuffing when converting to
flowed.
Allow more granular control in converting to/from both quoted and flowed
instead of having to do both at once.
some documentation additions

Tags: HORDE_3_0_ALPHA

1.10 (+29 -7 lines) 01/23/2004 02:44 PM Michael M Slusarz slusarz

Only remove the first space stuff character in the line instead of deleting
all whitespace (i.e. use strpos()/substr() instead of ltrim()).

1.9 (+5 -4 lines) 01/23/2004 01:28 PM Michael M Slusarz slusarz

Don't treat the Usenet signature line as a special case when converting text
to flowed format.

1.8 (+3 -3 lines) 01/21/2004 01:15 PM Michael M Slusarz slusarz

Nuke whitespace at end of toFixed() output.

1.7 (+16 -24 lines) 01/21/2004 01:04 PM Michael M Slusarz slusarz

Remove _isFlowed() - the first of the two tests can be accomplished with a
simple empty() call, and we only use it in one place.
Usenet-style signature separators ('-- ') are a special case specifically
mentioned by RFC 2646 [4.3]; they should not be construed as flowed and put
into the output unmodified.

1.6 (+3 -3 lines) 01/20/2004 05:51 PM Michael M Slusarz slusarz

Don't wrap if maxlength = 0.

1.5 (+15 -16 lines) 01/19/2004 10:13 PM Michael M Slusarz slusarz

Fix more regex's.
Short-circuit some code if we know it won't do anything.
Simplify call to _reformat().

1.4 (+5 -5 lines) 01/19/2004 03:16 AM Michael M Slusarz slusarz

Fix regex

1.3 (+117 -24 lines) 01/19/2004 02:47 AM Michael M Slusarz slusarz

Reorganization of code/code cleanups from the converted perl code.

1.2 (+4 -4 lines) 01/15/2004 06:33 PM Michael M Slusarz slusarz

get rid of crap tabs

1.1 01/15/2004 06:29 PM Michael M Slusarz slusarz

Added Text_Flowed class to parse text input according to the 'flowed'
definition in RFC 2646.