sync with 0.8.6cvs26

This commit is contained in:
Paul Mangan 2002-12-20 07:33:23 +00:00
parent 5123b7a16a
commit 0e62663c21
10 changed files with 72 additions and 9 deletions

View file

@ -1,3 +1,23 @@
2002-12-20
* src/textview.c: textview_make_clickable_parts(): fixed incorrect
parsing of email addresses.
2002-12-19
* src/defs.h: added DEFAULT_BROWSER_CMD.
* src/mimeview.c: mimeview_view_file()
src/prefs_common.c: prefs_other_create()
src/utils.c: open_uri(): changed the default web browser to
mozilla, and changed 'raise' command (which is undocumented)
to 'new-window' in 'netscape -remote'.
2002-12-19
* src/compose.c: compose_send_control_enter(): fixed crash on
Ctrl-Enter when Message/Send has no accelerator key (thanks to
Sergey Vlasov).
2002-12-18
* src/mainwindow.c:

View file

@ -1,3 +1,8 @@
2002-12-20 [paul] 0.8.6claws118
* sync with 0.8.6cvs26
see ChangeLog 2002-12-19 and 2002-12-20
2002-12-19 [alfons] 0.8.6claws117
* src/textview.c

View file

@ -1,3 +1,23 @@
2002-12-20
* src/textview.c: textview_make_clickable_parts(): 誤った email
アドレスのパースを修正。
2002-12-19
* src/defs.h: DEFAULT_BROWSER_CMD を追加。
* src/mimeview.c: mimeview_view_file()
src/prefs_common.c: prefs_other_create()
src/utils.c: open_uri(): デフォルトの web ブラウザを mozilla に
変更し、 'netscape -remote' 中の 'remote' コマンド(非公開)を
'new-window' に変更。
2002-12-19
* src/compose.c: compose_send_control_enter(): メッセージ/送信
がアクセラレータキーを持っていない場合に Ctrl-Enter を押すと
クラッシュする問題を修正(Sergey Vlasov さん thanks)。
2002-12-18
* src/mainwindow.c:

14
NEWS
View file

@ -1,5 +1,19 @@
Changes of Sylpheed
* 0.8.7
* The extended regular expression has been supported on filtering.
* The option to resize images to fit the size of view has been added.
* The previous account is now restored on reediting draft messages.
* The routine of MIME header encoding has been rewritten completely,
and Q-encoding for single-byte locales has been also implemented.
* Strings beginning with "www." are now treated as URI.
* The common preferences dialog has been reorganized a bit.
* Code cleanups for the implementation of SMTP has been made.
* Autotools and libtool have been updated.
* A fix for font loading problem has been made.
* Other minor bugfixes have been made.
* 0.8.6
* Per-folder account setting has been implemented.

View file

@ -11,7 +11,7 @@ MINOR_VERSION=8
MICRO_VERSION=6
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=claws117
EXTRA_VERSION=claws118
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target

View file

@ -74,6 +74,7 @@
/* #define DEFAULT_INC_PATH "/usr/bin/imget" */
/* #define DEFAULT_INC_PROGRAM "imget" */
#define DEFAULT_SENDMAIL_CMD "/usr/sbin/sendmail -t"
#define DEFAULT_BROWSER_CMD "mozilla -remote 'openURL(%s, new-window)'"
#ifdef _PATH_MAILDIR
# define DEFAULT_SPOOL_PATH _PATH_MAILDIR

View file

@ -2751,7 +2751,6 @@ void decode_uri(gchar *decoded_uri, const gchar *encoded_uri)
gint open_uri(const gchar *uri, const gchar *cmdline)
{
static gchar *default_cmdline = "netscape -remote openURL(%s,raise)";
gchar buf[BUFFSIZE];
gchar *p;
gchar encoded_uri[BUFFSIZE];
@ -2769,7 +2768,7 @@ gint open_uri(const gchar *uri, const gchar *cmdline)
if (cmdline)
g_warning("Open URI command line is invalid: `%s'",
cmdline);
g_snprintf(buf, sizeof(buf), default_cmdline, encoded_uri);
g_snprintf(buf, sizeof(buf), DEFAULT_BROWSER_CMD, encoded_uri);
}
execute_command_line(buf, TRUE);

View file

@ -7081,8 +7081,11 @@ static gboolean compose_send_control_enter(Compose *compose)
ifactory = gtk_item_factory_from_widget(compose->menubar);
send_menu = gtk_item_factory_get_widget(ifactory, "/Message/Send");
list = gtk_accel_group_entries_from_object(GTK_OBJECT(send_menu));
if (!list)
return FALSE;
accel = (GtkAccelEntry *)list->data;
if (accel->accelerator_key == kev->keyval &&
if (accel && accel->accelerator_key == kev->keyval &&
(accel->accelerator_mods & ~ignored_mods) ==
(kev->state & ~ignored_mods)) {
compose_send_cb(compose, 0, NULL);

View file

@ -976,8 +976,7 @@ static void mimeview_view_file(const gchar *filename, MimeInfo *partinfo,
{
static gchar *default_image_cmdline = "display '%s'";
static gchar *default_audio_cmdline = "play '%s'";
static gchar *default_html_cmdline =
"netscape -remote 'openURL(%s,raise)'";
static gchar *default_html_cmdline = DEFAULT_BROWSER_CMD;
static gchar *mime_cmdline = "metamail -d -b -x -c %s '%s'";
gchar buf[1024];
gchar m_buf[1024];

View file

@ -779,7 +779,7 @@ static PrefParam param[] = {
&interface.entry_pixmap_theme, prefs_set_data_from_entry, prefs_set_entry},
/* Other */
{"uri_open_command", "netscape -remote 'openURL(%s,raise)'",
{"uri_open_command", DEFAULT_BROWSER_CMD,
&prefs_common.uri_cmd, P_STRING,
&other.uri_entry, prefs_set_data_from_entry, prefs_set_entry},
{"print_command", "lpr %s", &prefs_common.print_cmd, P_STRING,
@ -2890,11 +2890,13 @@ static void prefs_other_create(void)
gtk_table_attach (GTK_TABLE (ext_table), uri_combo, 1, 2, 0, 1,
GTK_EXPAND | GTK_FILL, 0, 0, 0);
gtkut_combo_set_items (GTK_COMBO (uri_combo),
DEFAULT_BROWSER_CMD,
"galeon --new-tab '%s'",
"galeon '%s'",
"mozilla -remote 'openurl(%s,new-window)'",
"netscape -remote 'openURL(%s,raise)'",
"netscape -remote 'openURL(%s, new-window)'",
"netscape '%s'",
"gnome-moz-remote --raise --newwin '%s'",
"gnome-moz-remote --newwin '%s'",
"kfmclient openURL '%s'",
"opera -newwindow '%s'",
"kterm -e w3m '%s'",