Commit graph

69 commits

Author SHA1 Message Date
pdontthink
598a599ba3
Happy New Year 2025-01-03 11:47:03 -08:00
pdontthink
39cfdaadfd
Happy New Year 2024-01-02 14:58:16 -08:00
pdontthink
380afc7213
Happy New Year 2023-01-02 22:04:25 -08:00
pdontthink
bcdfe6e9f1
Happy New Year 2022-01-26 01:06:50 -08:00
pdontthink
c4ef1a0eea
Happy New Year 2021-02-05 11:55:37 -08:00
pdontthink
fc283980d0
Happy New Year 2020-01-07 00:12:38 -08:00
pdontthink
fbcb1ca1f5
Happy New Year 2019-01-07 21:55:08 -08:00
pdontthink
23cd61b628 Happy New Year 2018-01-16 23:44:07 +00:00
pdontthink
6cd24c0552 Happy 2017 2017-01-27 20:34:08 +00:00
pdontthink
2934017d92 Happy New Year 2016-01-01 20:59:53 +00:00
pdontthink
3b465a0d0f Happy 2015 2015-01-03 04:09:49 +00:00
pdontthink
581dc23061 Happy 2014 2014-01-01 20:33:20 +00:00
Fredrik Jervfors
c076a1f1ae Update copyright 2013-07-26 17:31:02 +00:00
pdontthink
acc409fb2a Updating copyrights. Happy New Year. 2012-01-02 02:09:17 +00:00
pdontthink
fc57bf2b59 Happy New Year! 2011-01-06 03:16:21 +00:00
pdontthink
7aa0e60863 Update copyrights to 2010 2010-01-25 03:23:30 +00:00
Fredrik Jervfors
134d462c94 The copyright symbol isn't really needed since the word "copyright" is there. Also it doesn't display right in the documentation. 2009-09-29 12:15:33 +00:00
Fredrik Jervfors
0a6245814a There are too many modified files being committed without the copyright year being updated, so here's a copyright year update the old-fashioned style. 2009-04-15 22:00:49 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
tokul
c30a0f5bf2 adding index files in order to prevent directory listing.
adding some phpdoc blocks to mime classes.
tagging possible programming errors
2005-05-22 08:20:11 +00:00
tokul
7ced165a76 prevent errors when files are opened directly 2005-04-26 14:27:29 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
Jimmy Conner
6bfd0f1168 Remove unused globals 2004-10-31 23:24:09 +00:00
Fredrik Jervfors
8a714b865f Phpdocumentor update - sed is your friend for these kinds of things ;) 2004-05-22 13:41:17 +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
tassium
46e4bd65a4 phpdocumentor basic preparation, continued 2003-10-28 21:30:57 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
thomppj
c8b6bdf9d9 More SM_PATH fixes. This time, everything in class/. 2002-09-06 00:21:24 +00:00
thomppj
2692b136f3 Ok. One simple mistake... :) 2002-08-29 23:45:08 +00:00
thomppj
caeff8b548 First, more formatting conventions.
1. Wrap all operands of a complex expression with parentheses.
     For instance:
         if ($bob == 'foo' || $bob == 'bar') {
     is wrong. Do this instead:
         if (($bob == 'foo') || ($bob == 'bar')) {

  2. Carefully decide between pre and post incrementation. If it
     does not matter, always choose pre because it is technically
     more efficient. For instance:
         for ($i = 0; $i < $count; $i++) {
     is wrong. Do this instead:
         for ($i = 0; $i < $count; ++$i) {

  3. Classes should be named in style like this:
         MessageHeader
         Rfc8222Header
     etc. When there is an acronym at the beginning, treat it
     like a word - do NOT captitalize each letter of the acronym.

  4. Put each class in a seperate file named ClassName.class.php.
     Related classes can be put in one directory and then included
     in a main include file.

Second, big changes with mime.class.php here. And I don't think I broke
anything. (Sounds like famous last words, eh?)
2002-08-29 23:42:46 +00:00
indiri69
f905ffeb5e Move -1 to first section of for loop. 2002-08-28 20:38:33 +00:00
stekkel
ab66eca299 code cleanup 2002-08-28 16:35:37 +00:00
stekkel
8cece0472d added var to message-class where we put the location of the temporary
attachment name in case we use the message-object also for composing
messages. (Not finished yet but I'm working on it)
2002-08-28 16:23:25 +00:00
indiri69
ab5e17e9a9 Changed the way we handle entities in message/rfc822 types. $msg->entity_id++
would increment by 0.1 in php 4.0.4 but would increment by 1.0 in php 4.0.6.
This meant that a message/rfc822 type with only a text/plain part would label
the text/plain part entity 3.0 instead of 2.1.  This should fix that problem.
2002-08-26 22:13:56 +00:00
stekkel
8d8ad53091 fix for getFilename 2002-08-26 14:21:35 +00:00
stekkel
e4518532d4 fix for the bodystructure parser 2002-08-26 10:07:22 +00:00
indiri69
6ac50d3de5 More code cleanup 2002-08-24 21:37:52 +00:00
indiri69
2d12473e69 Code cleanup 2002-08-24 21:28:18 +00:00
indiri69
91d07bb8f4 Added argument $strict to findDisplayEntity. When false (the default) it
assume 'text/plain', 'text/html', and 'text/message' are viewable.  When
true (strict mode), it will only treat the types passed as viewable.  This
means if you pass just 'text/html' in alt_order, then it will only return
those parts that are viewable 'text/html'.
2002-08-24 19:34:57 +00:00
indiri69
f5fd7d5dbd Cleaned up parseComments so it handles comments inside of comments. Changed
a for to a foreach for simplify the clean up function.
2002-08-23 16:31:32 +00:00
stekkel
b43252a5df Bugfixes mime class. (Like I mentioned in the mail Paul) 2002-08-23 12:33:08 +00:00
indiri69
fcc5426708 Fixed a few typos, removed so trailing spaces. 2002-08-22 21:54:22 +00:00
thomppj
90fa1d7ea2 Reformatted, cleaned up, optimized, and so forth... Dang, people! Write
neat code. I removed almost 400 lines of code do to sloppy coding!
2002-08-22 20:15:13 +00:00
indiri69
ea06e59f3a Subject doesn't have comments 2002-08-22 15:14:12 +00:00
stekkel
a3aa553ca0 removed double code (sorry forgot) 2002-08-22 13:07:40 +00:00
stekkel
fdcfd2b03a added user-agent check (from Masato Japanese patches)
(this has nothing to do with Japanese, just an enhancement)
2002-08-22 12:20:48 +00:00
philippe_mingo
db3fa82a09 Indentation & Bugfix 2002-08-22 10:04:34 +00:00