mutt stable branch with some hacks

Correct spelling mistakes.

+22 -22
+3 -3
buffy.c
··· 307 307 308 308 /* Checks the specified maildir subdir (cur or new) for new mail or mail counts. 309 309 * check_new: if true, check for new mail. 310 - * check_stats: if true, count total, new, and flagged mesages. 310 + * check_stats: if true, count total, new, and flagged messages. 311 311 * Returns 1 if the dir has new mail. 312 312 */ 313 313 static int buffy_maildir_check_dir (BUFFY* mailbox, const char *dir_name, int check_new, ··· 387 387 } 388 388 389 389 /* Checks new mail for a maildir mailbox. 390 - * check_stats: if true, also count total, new, and flagged mesages. 390 + * check_stats: if true, also count total, new, and flagged messages. 391 391 * Returns 1 if the mailbox has new mail. 392 392 */ 393 393 static int buffy_maildir_check (BUFFY* mailbox, int check_stats) ··· 412 412 } 413 413 414 414 /* Checks new mail for an mbox mailbox 415 - * check_stats: if true, also count total, new, and flagged mesages. 415 + * check_stats: if true, also count total, new, and flagged messages. 416 416 * Returns 1 if the mailbox has new mail. 417 417 */ 418 418 static int buffy_mbox_check (BUFFY* mailbox, struct stat *sb, int check_stats)
+1 -1
contrib/sample.muttrc
··· 37 37 #set fast_reply # skip initial prompts when replying 38 38 #set fcc_attach # keep attachments in copies of sent messages? 39 39 #set force_name # fcc by recipient, create if mailbox doesn't exist 40 - #set forward_decode # weed and MIME decode forwaded messages 40 + #set forward_decode # weed and MIME decode forwarded messages 41 41 #set forward_format="[%a: %s]" # subject to use when forwarding messages 42 42 #set forward_quote # quote the header and body of forward msgs 43 43 #set index_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s"
+1 -1
crypt-mod.h
··· 69 69 typedef void (*crypt_func_set_sender_t) (const char *sender); 70 70 71 71 /* 72 - A structure to keep all crypto module fucntions together. 72 + A structure to keep all crypto module functions together. 73 73 */ 74 74 typedef struct crypt_module_functions 75 75 {
+1 -1
crypt.c
··· 248 248 /* free tmp_body if messages was signed AND encrypted ... */ 249 249 if (tmp_smime_pbody != msg->content && tmp_smime_pbody != tmp_pbody) 250 250 { 251 - /* detatch and don't delete msg->content, 251 + /* detach and don't delete msg->content, 252 252 which tmp_smime_pbody->parts after signing. */ 253 253 tmp_smime_pbody->parts = tmp_smime_pbody->parts->next; 254 254 msg->content->next = NULL;
+1 -1
doc/manual.xml.head
··· 5266 5266 </para> 5267 5267 5268 5268 <para> 5269 - Special attention has to be payed when using regular expressions inside 5269 + Special attention has to be paid when using regular expressions inside 5270 5270 of patterns. Specifically, Mutt's parser for these patterns will strip 5271 5271 one level of backslash (<quote>\</quote>), which is normally used for 5272 5272 quoting. If it is your intention to use a backslash in the regular
+1 -1
hcache.c
··· 686 686 return hcpath; 687 687 } 688 688 689 - /* This function transforms a header into a char so that it is useable by 689 + /* This function transforms a header into a char so that it is usable by 690 690 * db_store. 691 691 */ 692 692 static void *
+1 -1
init.c
··· 3571 3571 AliasFile = safe_strdup (Muttrc); 3572 3572 } 3573 3573 3574 - /* Process the global rc file if it exists and the user hasn't explicity 3574 + /* Process the global rc file if it exists and the user hasn't explicitly 3575 3575 requested not to via "-n". */ 3576 3576 if (!skip_sys_rc) 3577 3577 {
+1 -1
intl/dcigettext.c
··· 573 573 /* When this is a SUID binary we must not allow accessing files 574 574 outside the dedicated directories. */ 575 575 if (ENABLE_SECURE && IS_PATH_WITH_DIR (single_locale)) 576 - /* Ingore this entry. */ 576 + /* Ignore this entry. */ 577 577 continue; 578 578 } 579 579
+1 -1
intl/libgettext.h
··· 42 42 43 43 #endif 44 44 45 - /* For automatical extraction of messages sometimes no real 45 + /* For automatic extraction of messages sometimes no real 46 46 translation is needed. Instead the string itself is the result. */ 47 47 #define gettext_noop(Str) (Str) 48 48
+2 -2
mh.c
··· 265 265 } 266 266 267 267 /* Checks new mail for a mh mailbox. 268 - * check_stats: if true, also count total, new, and flagged mesages. 268 + * check_stats: if true, also count total, new, and flagged messages. 269 269 * Returns 1 if the mailbox has new mail. 270 270 */ 271 271 int mh_buffy (BUFFY *mailbox, int check_stats) ··· 1394 1394 1395 1395 /* 1396 1396 * The maildir specification requires that all files in the cur 1397 - * subdirectory have the :unique string appeneded, regardless of whether 1397 + * subdirectory have the :unique string appended, regardless of whether 1398 1398 * or not there are any flags. If .old is set, we know that this message 1399 1399 * will end up in the cur directory, so we include it in the following 1400 1400 * test even though there is no associated flag.
+1 -1
mutt.h
··· 665 665 struct parameter *next; 666 666 } PARAMETER; 667 667 668 - /* Information that helps in determing the Content-* of an attachment */ 668 + /* Information that helps in determining the Content-* of an attachment */ 669 669 typedef struct content 670 670 { 671 671 long hibin; /* 8-bit characters */
+1 -1
mutt_ssl.c
··· 296 296 * Even though only OpenSSL 0.9.5 and later will complain about the 297 297 * lack of entropy, we try to our best and fill the pool with older 298 298 * versions also. (That's the reason for the ugly #ifdefs and macros, 299 - * otherwise I could have simply #ifdef'd the whole ssl_init funcion) 299 + * otherwise I could have simply #ifdef'd the whole ssl_init function) 300 300 */ 301 301 static int ssl_init (void) 302 302 {
+1 -1
pager.c
··· 179 179 resolve_color (struct line_t *lineInfo, int n, int cnt, int flags, int special, 180 180 ansi_attr *a) 181 181 { 182 - int def_color; /* color without syntax hilight */ 182 + int def_color; /* color without syntax highlight */ 183 183 int color; /* final color */ 184 184 static int last_color; /* last color set */ 185 185 int search = 0, i, m;
+1 -1
postpone.c
··· 298 298 { 299 299 if (ctx) 300 300 { 301 - /* if a mailbox is currently open, look to see if the orignal message 301 + /* if a mailbox is currently open, look to see if the original message 302 302 the user attempted to reply to is in this mailbox */ 303 303 p = skip_email_wsp(tmp->data + 18); 304 304 if (!ctx->id_hash)
+1 -1
send.c
··· 1575 1575 } 1576 1576 } 1577 1577 1578 - /* opportunistic encrypt relys on SMIME or PGP already being selected */ 1578 + /* opportunistic encrypt relies on SMIME or PGP already being selected */ 1579 1579 if (option (OPTCRYPTOPPORTUNISTICENCRYPT)) 1580 1580 { 1581 1581 /* If something has already enabled encryption, e.g. OPTCRYPTAUTOENCRYPT
+1 -1
sendlib.c
··· 2806 2806 * */ 2807 2807 mutt_write_rfc822_header (msg->fp, hdr->env, hdr->content, post ? -post : 0, 0); 2808 2808 2809 - /* (postponment) if this was a reply of some sort, <msgid> contians the 2809 + /* (postponment) if this was a reply of some sort, <msgid> contains the 2810 2810 * Message-ID: of message replied to. Save it using a special X-Mutt- 2811 2811 * header so it can be picked up if the message is recalled at a later 2812 2812 * point in time. This will allow the message to be marked as replied if
+2 -2
smime_keys.pl
··· 176 176 label : keyID required. changes/removes/adds label. 177 177 remove : keyID required. 178 178 verify : 1=keyID and optionally 2=CRL 179 - Verifies the certificate chain, and optionally wether 179 + Verifies the certificate chain, and optionally whether 180 180 this certificate is included in supplied CRL (PEM format). 181 181 Note: to verify all certificates at the same time, 182 182 replace keyID with "all" ··· 615 615 my $format = openssl_format($filename); 616 616 my @args = ("x509", "-in", $filename, "-inform", $format); 617 617 my $output = join("", openssl_exec(@args)); 618 - $? and die "openssl x509 certicate dump returned $?"; 618 + $? and die "openssl x509 certificate dump returned $?"; 619 619 620 620 return $output; 621 621 }
+1 -1
thread.c
··· 408 408 return (subjects); 409 409 } 410 410 411 - /* find the best possible match for a parent mesage based upon subject. 411 + /* find the best possible match for a parent message based upon subject. 412 412 * if there are multiple matches, the one which was sent the latest, but 413 413 * before the current message, is used. 414 414 */