Commit graph

233 commits

Author SHA1 Message Date
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
tokul
5375447f43 adding workaround for encoding of long multibyte headers. Saves my head from
debugging of encodeHeader.

adding information about made changes to changelog.
2005-07-31 13:18:24 +00:00
tokul
ca512784c0 documenting functions and adding some sq_mb_list_encodings updates 2005-07-03 09:55:10 +00:00
tokul
574965eb4f replacing skip_SM_header with two different options. If admins want to shoot
their own foot, they have to do that themselves and remove headers
completely by modifying SquirrelMail scripts.
2005-05-12 08:15:19 +00:00
Fredrik Jervfors
2531f52955 Trimming whitespace and replacing tabs 2005-04-23 12:08:00 +00:00
stekkel
a2a0b64cd1 strings: adapt makeComposeLink to the new js
mailbox_display, retrieve aFetchHeaders.
read_body, behave well when the cache is invalidated
2005-04-16 11:12:22 +00:00
stekkel
24dc4ae0fa Templates 2005-04-14 22:09:03 +00:00
tokul
086e44b92f @since information about sm_print_r 2005-04-14 17:05:18 +00:00
tokul
0fb9a2d2ea preformated text is harder to read, when output is centered. 2005-04-14 16:33:16 +00:00
Thijs Kinkhorst
d492cf60ee When wanting to use mb_strtoupper, test for the existence of that function
(couldn't send any mail anymore because I am lacking that function).
2005-03-29 13:16:05 +00:00
tokul
824d024c73 using mbstring functions for body wrapping, if they are available.
own utf strlen implementation is removed because we need strlen, substr and
strpos implementation in order to use it correctly.
sqbodywrap function is modified to use sq_* functions instead of vanilla
string functions.
function calls that analize string in bytes ($body{$position}) are replaced
with string functions.

closes #1043576 in devel. code is not that complex in stable and it needs only
modified strlen calls.
2005-03-27 09:48:33 +00:00
tokul
c47e97e168 adding is_array() test to output of get_class_methods() 2005-03-06 12:54:24 +00:00
tokul
7bec762f54 print object methods if object is feeded to sm_print_r 2005-03-02 18:19:46 +00:00
tokul
55e7fd2fc8 adding str_pad replacement for multibyte charsets and some documentation fixes 2005-01-27 13:20:56 +00:00
tokul
6b73a2c9b7 Provides some fixes for #1043576 (incorrect wrapping of multibyte texts).
If same code is ported to stable, it could make that bug specific to
devel branch. Devel branch needs more fixes for sqBodyWrap function. I would
like to add Eastern charset support before moving it to 1.4.5
2005-01-10 18:43:44 +00:00
Fredrik Jervfors
9faf3051c1 Changing squirrelmail/Squirrelmail to SquirrelMail in some strings as well as other minor documentation fixes 2004-12-29 15:06:20 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
Fredrik Jervfors
66d6ea252d XHTML fixes 2004-11-12 14:21:31 +00:00
Fredrik Jervfors
8c8ecffa57 Replacing tabs with spaces, trimming white space at EOL and newline at EOF 2004-11-02 22:21:34 +00:00
Jimmy Conner
2cd94f0d75 Removed variables that were initialized, but never actually used
Also remove a few more globals that were unused
Remove a few newlines at the end of files
Hopefully this will help shrink the memory footprint of SM just slightly
2004-11-01 02:05:15 +00:00
Jimmy Conner
69b94b6a1c Minor bug fix, assignment in condition resulting in our seeding function to fail 2004-10-28 06:37:38 +00:00
tokul
232912ec98 adding sq_is8bit and sq_mb_list_encodings functions.
sq_is8bit can be used in decoding functions and read_body.php
sq_mb_list_encodings provides replacement for mb_list_encodings
2004-10-15 09:12:12 +00:00
tokul
34a0b16773 xtra_code updates in strings 2004-08-08 14:59:29 +00:00
stekkel
935fc22b6f Fixed warning.
TODO: look at lines which are longer then the editor size and and theirfor
do not reach the code responsable for the smart wrapping of short lines.
Those lines should also be tested on first words.
2004-06-16 09:48:31 +00:00
stekkel
1fc1409425 Tweaked wrapping a little more. 2004-06-15 18:09:57 +00:00
stekkel
b92481b314 Possible fix for our wrapping problem. Please review it because I might have
did some stupid things bvecause I used the trial and error method for this
one.
2004-06-14 19:29:56 +00:00
tokul
ff6d3d6fe3 rewriting tests after ctype/sm_ctype comparision and reading php manual more creafully.
converted ereg to pcre. It would be better to include function_exist('ctype_space') test
in this function. P.S. reply code is broken if message includes double quotes.
2004-06-07 14:41:52 +00:00
Brian G. Peterson
26f3fc4e59 - add sm_ctype_space and function_exists check to support PHP without ctype
- sm_ctype_space function contributed by Tomas Kuliavas
2004-06-06 18:46:38 +00:00
Brian G. Peterson
9fc0c3ae3b - add sqBodyWrap utility functions to rewrap entire body rather than one line at a time
- improves old sqWordWrap for reply
  - patch contributed by Justus Pendleton
2004-06-06 14:28:48 +00:00
Fredrik Jervfors
9d4db8b166 Phpdocumentor update - sed is your friend for these kinds of things ;) 2004-05-21 23:56:53 +00:00
tokul
22a39f04e3 this way it looks better. 2004-04-25 10:26:56 +00:00
tokul
d550e50eb0 adding sq_htmlentities function 2004-04-25 10:04:57 +00:00
tokul
c680669021 phpdoc formating fixes 2004-04-25 09:25:58 +00:00
Thijs Kinkhorst
67b3f9cb87 Fix quote_imap, the ereg pattern wasn't always interpreted right
due to the escaping of backslashes. I've replaced it with the
faster preg_replace and used double quotes to lessen the escaping
confusion.
2004-03-23 10:39:24 +00:00
Thijs Kinkhorst
eb0871d7c9 Make writing to prefs/abook/calendar files more reliable by handling it
the right way when writing fails (error in stead of truncating file).
2004-03-15 10:10:00 +00:00
Thijs Kinkhorst
cde0377d36 We're living in 2004 now... perl is your friend for these kinds of things :) 2004-02-24 15:51:22 +00:00
Erin Schnabel
589545163f wooops. mismatched my brackets! 2004-02-03 22:15:30 +00:00
Erin Schnabel
d08af2c50a ready for continued development 2004-02-02 04:54:08 +00:00
Erin Schnabel
563d99a96e get ready for 1.5.0 dev release 2004-02-02 04:45:45 +00:00
pdontthink
4a8890bec5 Removed right target, which is redundant and problematic when viewing right frame in separate window 2003-12-25 10:19:02 +00:00
Thijs Kinkhorst
2751145774 Add phpdoc doc blocks to some files. 2003-10-29 09:35:51 +00:00
tassium
9098cb73e4 Preparation to begin using phpdocumentor.
Added basic @package/@subpackage tags
The decode/ files were documented slightly more thoroughly, although they're almost self-explanatory anyway.

The individual functions in the functions/ files need to be documented though, and now that this commit is in, anyone willing to write docblocks for functions should get cracking ;)
2003-10-28 21:27:47 +00:00
pdontthink
ec94b89f7d Fix: php_self() not working right for Windoze servers that don't have REQUEST_URI 2003-10-17 17:44:26 +00:00
indiri69
778a559cda A forward slash can appear in query of a string, so find the start of a query first. 2003-07-29 21:29:38 +00:00
Thijs Kinkhorst
6e8d622861 Extend sm_print_r so you can do:
sm_print_r($a, $b, $c);
2003-07-23 11:23:53 +00:00
tassium
2b5ba2626f New function: sm_print_r()
This is intended to be a debugging function.  Ever wanted to do a print_r, but found that some of the values were "eaten" by your browser's parser because they had <> in them?  Use this function instead.  It runs htmlentities() on the output of print_r() AND as a bonus wraps the entire thing in <pre> and </pre> tags.
2003-07-03 14:14:48 +00:00
Thijs Kinkhorst
9d5490c98a Fix comp_in_new: make outputing the compose link a function so that
the comp_in_new works the same everywhere.
In this new function, make sure that comp_in_new still works when
JavaScript off.
When JavaScript off, do not output all kinds of JavaScript functions
which are never going to be called.
2003-06-08 14:37:35 +00:00
Thijs Kinkhorst
62a3b54436 Remove some obsoleted parsing functions. 2003-05-22 16:22:52 +00:00
Erin Schnabel
f6730690f9 New Dev version strings.
slight include order change to avoid potential E_ALL message.
2003-04-04 04:00:36 +00:00
Thijs Kinkhorst
e04a02e1bd Continue development on 1.4.1!
Devel team can split 1.5.0 now if they wish.
2003-04-03 19:07:42 +00:00