Skip to content

Fix ISO-2022-JP support - fixes #36 #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
5a28c27
DM: adding I18N enhancements
Oct 25, 2005
5459997
DM: adding I18N enhancements
Oct 25, 2005
55f7c86
DM: adding I18N enhancements
Oct 25, 2005
ff5ad30
to parse address extensions correctly
Nov 1, 2005
47b86c5
fixed some markup problems
Nov 1, 2005
9c5a88d
markup fixes: to escape mail displaynames, added I18N code for haof f…
Nov 2, 2005
58f87b2
oops, forgot to free them!
Nov 2, 2005
832053f
replaced makemailcommand() and translateurl() to output valid URI str…
Nov 2, 2005
58b5024
fixed markup, escaping, and I18N
Nov 4, 2005
8506332
fixed markup, added id parameters to each anchors
Nov 4, 2005
c5418f4
markup fix
Nov 8, 2005
1489632
markup fix
Nov 8, 2005
3dc4b5d
Fixed a core dump with linkquotes = 1
Mar 15, 2006
d619fbf
Add rel="nofollow" to text message URLs
Mar 28, 2006
66bf454
changed description of mailing list to indicate need to subscribe to …
Sep 2, 2006
caed801
changes from Rick van der Zwet about spamify, dates, alignment
Feb 16, 2007
cd1d595
change int to size_t
Feb 16, 2007
3acd752
64bit fixes, possible buffer overrun fixes; disabled a ConvURLsString…
Oct 1, 2007
f7894c6
64bit fixes, possible buffer overrun fixes
Oct 1, 2007
85a08bc
xhtml patch
Nov 14, 2007
3969dba
fix bug that sometimes caused a charset problem when Content-Type is …
May 13, 2008
686c2d0
This is a writing access test
May 15, 2008
b3f5ac7
Back to 1.12
May 15, 2008
525da68
JK: lot of enhancements, markup changes, and minor bug fixes done
Oct 26, 2009
378fefa
JK: doc update, spelling fixes
Oct 26, 2009
8203e5c
JK: fixed date
Oct 26, 2009
863fe43
JK: accesskey 'd' and 't' in messages
Oct 27, 2009
885c18a
JK: hypermail version 2.3.0
Dec 22, 2009
99f4ad4
Correct includes for new glibc
ikuraj Apr 3, 2015
9a09cbc
Merge pull request #5 from kaptoxic/master
jkbzh Dec 8, 2015
fbc9cc5
Update for Ivan's change
jkbzh Dec 8, 2015
1a37cc5
Updating version
jkbzh Dec 8, 2015
632dad6
Updating doc and move from sf to github
jkbzh Dec 9, 2015
161f8a8
More precise info about maintenance
jkbzh Dec 9, 2015
dc5f963
Clarifying contribution status
jkbzh Dec 9, 2015
8cb7520
Fix ISO-2022-JP support - fixes #36
bshannon Jul 10, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
xhtml patch
  • Loading branch information
Peter McCluskey committed Nov 14, 2007
commit 85a08bc779d99ab7d215a7daca270831a7fe4c89
3 changes: 3 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Version Changes for Hypermail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Peter McCluskey (Nov 14, 2007)
Applied xhtml patch from Zvi Har'El.

Peter McCluskey (Oct 1, 2007)
Changes from Fumihiro Kato to fix bugs on 64 bit systems and some
possible buffer overflow problems.
Expand Down
22 changes: 11 additions & 11 deletions src/print.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,19 +302,19 @@ void fprint_menu0(FILE *fp, struct emailinfo *email, int pos)
fprintf (fp, "<a name=\"%s\" id=\"%s\"></a>",id,id);
fprintf(fp, "<dfn>%s</dfn>:", lang[MSG_CONTEMPORARY_MSGS_SORTED]);
if (show_index[dlev][DATE_INDEX])
fprintf(fp, " [ <a href=\"%s#%d\" title=\"%s\">%s</a> ]",
fprintf(fp, " [ <a href=\"%s#msg%d\" title=\"%s\">%s</a> ]",
index_name[dlev][DATE_INDEX], num,
lang[MSG_LTITLE_BY_DATE], lang[MSG_BY_DATE]);
if (show_index[dlev][THREAD_INDEX])
fprintf(fp, " [ <a href=\"%s#%d\" title=\"%s\">%s</a> ]",
fprintf(fp, " [ <a href=\"%s#msg%d\" title=\"%s\">%s</a> ]",
index_name[dlev][THREAD_INDEX], num,
lang[MSG_LTITLE_BY_THREAD], lang[MSG_BY_THREAD]);
if (show_index[dlev][SUBJECT_INDEX])
fprintf(fp, " [ <a href=\"%s#%d\" title=\"%s\">%s</a> ]",
fprintf(fp, " [ <a href=\"%s#msg%d\" title=\"%s\">%s</a> ]",
index_name[dlev][SUBJECT_INDEX], num,
lang[MSG_LTITLE_BY_SUBJECT], lang[MSG_BY_SUBJECT]);
if (show_index[dlev][AUTHOR_INDEX])
fprintf(fp, " [ <a href=\"%s#%d\" title=\"%s\">%s</a> ]",
fprintf(fp, " [ <a href=\"%s#msg%d\" title=\"%s\">%s</a> ]",
index_name[dlev][AUTHOR_INDEX], num,
lang[MSG_LTITLE_BY_AUTHOR], lang[MSG_BY_AUTHOR]);
if (show_index[dlev][ATTACHMENT_INDEX])
Expand Down Expand Up @@ -808,7 +808,7 @@ void printdates(FILE *fp, struct header *hp, int year, int month, struct emailin
subj_tag = "";
subj_end_tag = "";
}
fprintf(fp,"%s<a href=\"%s\">%s%s%s</a>%s<a name=\"%d\" id=\"%d\"><em>%s</em></a>%s%s%s\n",
fprintf(fp,"%s<a href=\"%s\">%s%s%s</a>%s<a name=\"msg%d\" id=\"msg%d\"><em>%s</em></a>%s%s%s\n",
startline, msg_href(em, subdir_email, FALSE),
subj_tag, subj, subj_end_tag, break_str, em->msgnum, em->msgnum, tmpptr=convchars(em->name,em->charset),
break_str, date_str, endline);
Expand Down Expand Up @@ -850,11 +850,11 @@ int printattachments(FILE *fp, struct header *hp, struct emailinfo *subdir_email
/* consider that if there's an attachment directory, there are attachments */
nb_attach++;
if (set_indextable) {
fprintf(fp, "<tr><td>%s%s</a></td><td><a name=\"%d\" id=\"%d\"><em>%s</em></a></td>" "<td>%s</td></tr>\n", msg_href(em, subdir_email, TRUE), subj, em->msgnum, em->msgnum, tmpptr=convchars(em->name,em->charset), getindexdatestr(em->date));
fprintf(fp, "<tr><td>%s%s</a></td><td><a name=\"msg%d\" id=\"msg%d\"><em>%s</em></a></td>" "<td>%s</td></tr>\n", msg_href(em, subdir_email, TRUE), subj, em->msgnum, em->msgnum, tmpptr=convchars(em->name,em->charset), getindexdatestr(em->date));
}
else {
fprintf(fp, "<li>%s%s<dfn>%s</dfn></a>&nbsp;"
"<a name=\"%d\" id=\"%d\"><em>%s</em></a>&nbsp;<em>(%s)</em>\n",
"<a name=\"msg%d\" id=\"msg%d\"><em>%s</em></a>&nbsp;<em>(%s)</em>\n",
(*is_first) ? first_attributes : "",
msg_href(em, subdir_email, TRUE), subj, em->msgnum, em->msgnum, tmpptr=convchars(em->name,em->charset),
getindexdatestr(em->date));
Expand Down Expand Up @@ -1271,7 +1271,7 @@ void printbody(FILE *fp, struct emailinfo *email, int maybe_reply, int is_reply)
fprintf(fp, "</pre>\n");
pre = FALSE;
}
fprintf(fp, "<p>\n");
fprintf(fp, "<br />\n");
}
else {
if (!pre) {
Expand Down Expand Up @@ -1322,7 +1322,7 @@ void printbody(FILE *fp, struct emailinfo *email, int maybe_reply, int is_reply)
Akis Karnouskos <[email protected]> */
{
if (!pre)
fprintf(fp, "<p>");
fprintf(fp, "<br />");
}
else {
if (insig) {
Expand Down Expand Up @@ -2634,7 +2634,7 @@ void printsubjects(FILE *fp, struct header *hp, char **oldsubject,
endline = "</li>";
}
fprintf(fp,
"%s%s%s</a>%s <a name=\"%d\" id=\"%d\">%s</a>%s\n", startline,
"%s%s%s</a>%s <a name=\"msg%d\" id=\"msg%d\">%s</a>%s\n", startline,
msg_href(hp->data, subdir_email, TRUE), tmpptr=convchars(hp->data->name,hp->data->charset), break_str,
hp->data->msgnum, hp->data->msgnum, date_str, endline);
*oldsubject = hp->data->unre_subject;
Expand Down Expand Up @@ -2788,7 +2788,7 @@ void printauthors(FILE *fp, struct header *hp, char **oldname,
snprintf(date_str, sizeof(date_str), "<em>(%s)</em>", getindexdatestr(hp->data->date));
endline = "</li>";
}
fprintf(fp,"%s%s%s</a>%s<a name=\"%d\" id=\"%d\">%s</a>%s\n",
fprintf(fp,"%s%s%s</a>%s<a name=\"msg%d\" id=\"msg%d\">%s</a>%s\n",
startline, msg_href(hp->data, subdir_email, TRUE), subj, break_str,
hp->data->msgnum, hp->data->msgnum, date_str, endline);
if(subj)
Expand Down
4 changes: 2 additions & 2 deletions src/threadprint.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ static void format_thread_info(FILE *fp, struct emailinfo *email,
if (set_indextable) {
fprintf(fp,
"<tr><td>%s<a href=\"%s\"%s><strong>%s</strong></a></td>"
"<td nowrap><a name=\"%d\" id=\"%d\">%s</a></td>" "<td nowrap>%s</td></tr>\n",
"<td nowrap><a name=\"msg%d\" id=\"msg%d\">%s</a></td>" "<td nowrap>%s</td></tr>\n",
level > 1 ? "--&gt; " : "",
href, first_attributes,
subj, email->msgnum, email->msgnum, tmpname, getindexdatestr(email->date));
Expand All @@ -290,7 +290,7 @@ static void format_thread_info(FILE *fp, struct emailinfo *email,
num_open_li[level]--;
}
fprintf(fp, "<li><a href=\"%s\"%s>%s</a>&nbsp;"
"<a name=\"%d\" id=\"%d\"><em>%s</em></a>&nbsp;<em>(%s)</em>\n",
"<a name=\"msg%d\" id=\"msg%d\"><em>%s</em></a>&nbsp;<em>(%s)</em>\n",
href, first_attributes,
subj, email->msgnum, email->msgnum, tmpname, getindexdatestr(email->date));
}
Expand Down