summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-11-18 23:18:12 -0700
committerEduardo Chappa <chappa@washington.edu>2016-11-18 23:18:12 -0700
commit608be97a394100c9af90f404ea0fe51b0f378eac (patch)
treef54340fe9c1e8d1239e7ca997d0b8c953aa9fc09
parent23a4eb6e84eaf355f4b4b2f6e6e308fb10a14b7d (diff)
downloadalpine-608be97a394100c9af90f404ea0fe51b0f378eac.tar.xz
* Remove limit of encoded words in the c-client library, since any
limit makes a search eventually fail for a long enough encoded word.
-rw-r--r--doc/tech-notes/tech-notes.txt102
-rw-r--r--imap/src/c-client/utf8aux.c4
-rw-r--r--pith/pine.hlp2
3 files changed, 2 insertions, 106 deletions
diff --git a/doc/tech-notes/tech-notes.txt b/doc/tech-notes/tech-notes.txt
index 9e561925..1cd14179 100644
--- a/doc/tech-notes/tech-notes.txt
+++ b/doc/tech-notes/tech-notes.txt
@@ -1,106 +1,4 @@
- Alpine Technical Notes
-
- Version 2.20.17, October 2016
-
-Table of Contents
-
- Introduction
-
- * Design Goals
- * Alpine Components
-
- Background Details
-
- * Domain Names
- * RFC 2822 Compliance
- * SMTP and Sendmail
- * Internet Message Access Protocol (IMAP)
- * Multipurpose Internet Mail Extensions (MIME)
- * Folder Collections
-
- Building and Installation
-
- * Compile-time Options
- * Including LDAP Functionality
- * Including Kerberos 5 Functionality
- * Other Alpine Compile-time Options
- * IMAPd Compile-time Options
- * Building the Alpine Programs
- * Installing Alpine and Pico on UNIX Platforms
- * Installing PC-Alpine
- * Installing IMAPd
- * Support Files and Environment Variables: UNIX Alpine
- * Support Files, Environment Variables, and Registry Values:
- PC-Alpine
-
- Command Line Arguments
-
- * Alpine
- * Pico
- * Pilot
-
- Configuration and Preferences
-
- * Alpine Configuration
- * General Configuration Variables
- * Configuration Features
- * Hidden Config Variables and Features
- * Retired Variables
- * Tokens for Index and Replying
- * Conditional Inclusion of Text for Reply-Leadin, Signatures, and
- Templates
- * Per Server Directory Configuration
- * Color Configuration
- * Index Line Color Configuration
- * Role Configuration
- * Filtering Configuration
- * Scoring Configuration
- * Other Rules Configuration
- * Search Rules Configuration
- * Patterns
- * Configuring News
- Configuration Notes
- + Alpine in Function Key Mode
- + Domain Settings
- + Syntax for Collections
- + Syntax for Folder Names
- + Server Name Syntax
- + Folder Namespaces
- + What is a Mail Drop?
- + Sorting a Folder
- + Alternate Editor
- + Signatures and Signature Placement
- + Feature List Variable
- + Configuration Inheritance
- + Using Environment Variables
- + SMTP Servers
- + MIME.Types file
- + Color Details
- + S/MIME Overview
- + Additional Notes on PC-Alpine
-
- Behind the Scenes
-
- * Address Books
- * Remote Configuration
- * Checkpointing
- * Debug Files
- * INBOX and Special Folders
- * Internal Help Files
- * International Character Sets
- * Interrupted and Postponed Messages
- * Message Status
- * MIME: Reading a Message
- * MIME: Sending a Message
- * New Mail Notification
- * NFS
- * Printers and Printing
- * Save and Export
- * Sent Mail
- * Spell Checker
- * Terminal Emulation and Key Mapping
-
Introduction
Design Goals
diff --git a/imap/src/c-client/utf8aux.c b/imap/src/c-client/utf8aux.c
index 5241b9e1..746ea47e 100644
--- a/imap/src/c-client/utf8aux.c
+++ b/imap/src/c-client/utf8aux.c
@@ -103,7 +103,6 @@ void utf8_searchpgm (SEARCHPGM *pgm,char *charset)
*/
#define MINENCWORD 9
-#define MAXENCWORD 75
/* This resizing algorithm is stupid, but hopefully it should never be triggered
* except for a pathological header. The main concern is that we don't get a
@@ -129,8 +128,7 @@ long utf8_mime2text (SIZEDTEXT *src,SIZEDTEXT *dst,long flags)
if (((se - s) > MINENCWORD) && (*s == '=') && (s[1] == '?') &&
(cs = (char *) mime2_token (s+2,se,(unsigned char **) &ce)) &&
(e = mime2_token ((unsigned char *) ce+1,se,&ee)) &&
- (te = mime2_text (t = e+2,se)) && (ee == e + 1) &&
- ((te - s) < MAXENCWORD)) {
+ (te = mime2_text (t = e+2,se)) && (ee == e + 1)){
if (mime2_decode (e,t,te,&txt)) {
*ce = '\0'; /* temporarily tie off charset */
if ((ls = strchr (cs,'*')) != NULL) *ls = '\0';
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 83129c52..506cd2f3 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 180 2016-11-16 20:32:23
+Alpine Commit 181 2016-11-18 23:17:58
============= h_news =================
<HTML>
<HEAD>