★ wanayoo — archive 1999 http://cvs.php.net/cvsweb.cgi/functions/imap.cNouvelle recherche | Portail wanayoo

CVS log for functions/imap.c

Up to functions/

Request diff between arbitrary revisions


No default branch

1.68 Thu Aug 19 17:01:42 1999 UTC by chagenbu
CVS Tags: HEAD
Changed since 1.67: +4 -1 lines
Diffs to 1.67 (nice version)
cjh: message sequence numbers are always 1 or greater. so let's just return false on invalid input rather than segfaulting.

1.67 Thu Aug 19 3:07:24 1999 UTC by rasmus
Changed since 1.66: +4 -4 lines
Diffs to 1.66 (nice version)
Careful...

1.66 Wed Aug 18 18:52:36 1999 UTC by musone
Changed since 1.65: +2 -1 lines
Diffs to 1.65 (nice version)
fixed seg fault with reopening a stream, courtesy of Stig Venaas

1.65 Wed Aug 18 17:15:04 1999 UTC by chagenbu
Changed since 1.64: +3 -4 lines
Diffs to 1.64 (nice version)
cjh: in imap_add_body, strncasecmp was being used to test if a part was of
type message/rfc822. This caused parts of type message/rfc822-headers to be
treated as message/rfc822s, which in turn caused a segfault.

Using strcasecmp fixes the problem.

1.64 Sun Aug 15 17:27:19 1999 UTC by chagenbu
Changed since 1.63: +2 -2 lines
Diffs to 1.63 (nice version)
cjh: This fixes a problem in imap_fetchstructure that caused the piece of
the returned object that should have had the content-id header of that
message part to instead include the content-description header.

1.63 Fri Aug 6 16:05:19 1999 UTC by chagenbu
Changed since 1.62: +3 -2 lines
Diffs to 1.62 (nice version)
chagenbu: The check that was added for (body->CONTENT_MSG_BODY) caused a
segfault for me where there hadn't been one before. I'm commenting it out for
now, as it apparently didn't fix the problem it was intended to fix either.

1.62 Wed Aug 4 14:47:05 1999 UTC by musone
Changed since 1.61: +2 -2 lines
Diffs to 1.61 (nice version)
fixed small bug

1.61 Sun Jul 25 6:59:30 1999 UTC by eschmid
CVS Tags: php_3_0_12
Changed since 1.60: +6 -6 lines
Diffs to 1.60 (nice version)
Need a paramdef here.

1.60 Sat Jul 24 19:06:16 1999 UTC by rasmus
Changed since 1.59: +118 -9 lines
Diffs to 1.59 (nice version)
imap_search() function from Chuck

1.59 Tue Jul 20 22:05:18 1999 UTC by musone
Changed since 1.58: +2 -2 lines
Diffs to 1.58 (nice version)
last test for proper rfc822 date

1.58 Tue Jul 20 21:39:56 1999 UTC by musone
Changed since 1.57: +2 -2 lines
Diffs to 1.57 (nice version)
small change..test for proper cvs mai ldate

1.57 Fri Jul 2 21:05:17 1999 UTC by musone
Changed since 1.56: +735 -108 lines
Diffs to 1.56 (nice version)
===== Chuck Hagenbuch =====
- the \\Draft flag is included in the flags returned by imap_header, etc.

- there are two new list functions, imap_getmailboxes() and
  imap_getsubscribed(). These return arrays of objects, and the objects
  contain the name of the mailbox, the hierarchy delimiter for that part of
  the namespace, and the mailbox attributes. These flags are essential for
  figuring out anything much about mailboxes.

- there is a new constant, SA_ALL, that can be passed to imap_status in
  order to populate all the members of the returned object.

- there are now imap_errors() and imap_last_error() functions. imap_errors
  returns an array containing all of the errors since the page started or
  since imap_errors() was last called. imap_errors() clears the error stack
  when it's called.
  imap_last_error() simply returns the last error that occurred; it does NOT
  clear the error stack.

- imap_alerts() behaves exactly like imap_errors() wrt behavior, but it acts
  on the alert list. Previously [ALERT] messages were not accessible from
  PHP; the IMAP spec requires that be passed onto the user. This function
  allows the script author the option of doing so.

Finally, I tried to write an end_request function that would output any
errors and alerts that hadn't been gotten with imap_errors/imap_alerts()
(alerts at E_NOTICE level, errors at their original level), but
imap_end_request() doesn't seem to get called. Is output not allowed from
the end_request() function?

This form allows you to request diff's 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.

Diffs between and
Human readable Unidiff
Context diff Side-by-Side

You may select to see revision information from only a single branch.

Branch:

webmaster@php.net