+2001-11-19
+
+ * src/textview.c: get_email_part(): replaced isalnum() with
+ the macro IS_ASCII_ALNUM() which restricts the range of
+ characters to 7bit ASCII (thanks to Shimamoto).
+
2001-11-18
* src/textview.c: textview_show_part(): show headers on nested
+2001-11-19 [paul] 0.6.5claws21
+
+ * sync with sylpheed 0.6.5cvs10
+ see ChangeLog entry 2001-11-19
+
2001-11-18 [alfons] 0.6.5claws20
* src/filtering.c
+2001-11-19
+
+ * src/textview.c: get_email_part(): isalnum() ¤òʸ»ú¤ÎÈϰϤò
+ 7bit ASCII ¤ÎÈϰϤ˲¡¤µ¤¨¤ë¥Þ¥¯¥í IS_ASCII_ALNUM() ¤ÇÃÖ¤´¹¤¨¤¿
+ (ÅçËܤµ¤ó thanks)¡£
+
2001-11-18
* src/textview.c: textview_show_part(): ¥Í¥¹¥È¤µ¤ì¤¿¥Þ¥ë¥Á¥Ñ¡¼¥È
* should pass some URI type to this function and decide on that whether
* to perform punctuation stripping */
-#define IS_REAL_PUNCT(ch) \
- (ispunct(ch) && ((ch) != '/'))
+#define IS_REAL_PUNCT(ch) (ispunct(ch) && ((ch) != '/'))
for (; ep_ - 1 > scanpos + 1 && IS_REAL_PUNCT(*(ep_ - 1)); ep_--)
;
!isspace(ch) && \
!strchr("()<>\"", (ch)))
+/* alphabet and number within 7bit ASCII */
+#define IS_ASCII_ALNUM(ch) (isascii(ch) && isalnum(ch))
#define IS_QUOTE(ch) ((ch) == '\'' || (ch) == '"')
/* get_email_part() - retrieves an email address. Returns TRUE if succesful */
/* TODO: should start with an alnum? */
bp_++;
- for (; bp_ < scanpos && !isalnum(*bp_); bp_++)
+ for (; bp_ < scanpos && !IS_ASCII_ALNUM(*bp_); bp_++)
;
if (bp_ != scanpos) {
;
/* TODO: really should terminate with an alnum? */
- for (; ep_ > scanpos && !isalnum(*ep_); --ep_)
+ for (; ep_ > scanpos && !IS_ASCII_ALNUM(*ep_); --ep_)
;
ep_++;