Sprout from master 2003-09-10 16:38:28 UTC twb '0.9.5claws released'
Cherrypick from master 2003-09-29 13:09:51 UTC twb 'move Font config options to Other Prefs/Display/Fonts':
src/gtk/logwindow.c
src/gtk/logwindow.h
src/prefs_fonts.h
tools/vcard2xml.py
* src/compose.c
replace '\n' and '\r' before removing trailing spaces
* src/folder.[ch]
* src/folderview.c
add information about new or removed items in folder tree change
notification and use this in folderview to add and remove only
the appected items and not refresh the whole tree
abandon setting usize for messageview because it gives layout problems
with the quick search bar and the headerview; fixes assorted UI glitches:
o bug #148, "Toggling of quick-search bar reduces index view area"
o bug #280, "Window resiizes for line length but does not revert"
* src/compose.c
o make sure we don't have any newlines in header values
o check custom headers for spaces and newlines and ignore
malformed header names
* src/folder.c
* src/folderview.c
invoke notification hook for folder tree changes after append
and remove folder
(closes Bug 294 Crash while moving folder with many subdirectories)
* src/folder.c
* src/messageview.[ch]
* src/procmsg.[ch]
* src/summaryview.c
extend MSGINFO_UPDATE_HOOK to send delete notifications. Used
by MessageView to clear it when the message is deleted. Should
work even if messages are deleted in MainWindow or by
processing.
deleting a message in a message view frees its msginfo, make
messageview_update_all() aware of that (should fix bug #293,
"deleting message caused crash
source folder item's GNode should already have been freed in
a previous call to src->folder->klass->remove_folder()
(should fix bug #287, "crash when moving folders")
* configure.ac
fix bug found by Ivan Rayner <ivanr@sgi.com>
* src/stock_pixmap.c
change unecessary warning into a debug message
* src/plugins/clamav/Makefile.am
Fix error "-I$(CLAMAV_LIBS)"
* intl/Makefile.in
* src/Makefile.am
* src/matcher.h
* src/common/Makefile.am
* src/common/passcrypt.c
commit fixes and patches for some of the IRIX problems found by
Ivan Rayner <ivanr@sgi.com>
* src/folderview.c
fix bug that the current summary settings were copied to the
wrong folder item, when the folder item prefs are opened.
Copying is not required because summary settings and
folder_item_prefs do not contain the same settings
* src/prefs_filtering.c
shouldn't remove items from a GSList while iterating over the
list (makes cur invalid and cur->next not accessable)
(closes Bug 272 i deleted an folder and some seconds later sylpheed
crashed)
* src/prefs_folder_item.c
use macro to assign strings that always frees the old string
* src/gtk/gtkaspell.[ch]
add gtkaspell_set_dictionary_menu_active_item() to set active
item in dictionary option menu
* src/prefs_spelling.c
use gtkaspell_set_dictionary_menu_active_item() to select
dictionary
* src/folder.[ch]
* src/imap.c
* src/mbox_folder.c
* src/mh.c
* src/news.c
optimize folder system
* src/gtk/gtkstext.c
fix division by zero when font has 0 width for ' '
* src/gtk/gtkvscrollbutton.[ch]
o removed gtk_vscrollbutton_reset() (reasons: reduce
dependencies; do it the GTK way; reduce code -14/+2 lines)
o removed horizontal separator between icons
* src/mainwindow.c
remember and restore window sizes and position when the main
window is hidden or shown
(closes Bug 274 Window size in 0.9.4claws18 not remembered when
minimised/reopened using trayicon)
* src/news.c
o check number of messages and don't return a 0 message
when no messages are available
o don't parse xref header anymore
(closes Bug 203 I'm not getting any news)
* src/procmsg.c
* src/common/utils.h
add possibility to check all nodes with the same subject for
subject threading, not only the oldest node. Should not break
threads anymore if the oldest node is thread_by_subject_max_age
days older then parent, because it can now find a child of
oldest node as new parent.
* src/gtk/Makefile.am
* src/gtk/colorsel.[ch] ** NEW **
create a color selection dialog that can be used as a simple
function call with it's own gtk main loop like filesel.[ch]
* src/Makefile.am
* src/main.c
* src/prefs_common.c
* src/prefs_spelling.[ch] ** NEW **
* src/prefs_spelling.glade ** NEW **
* src/gtk/gtkutils.[ch]
move "Spell Checker" prefs to new prefs dialog
* src/prefs_folder_item.c
use new colorsel dialog
* .cvsignore
* Makefile.am
* configure.ac
* sylpheed-claws.pc.in ** NEW **
* src/Makefile.am
* src/common/Makefile.am
* src/gtk/Makefile.am
install sylpheed header files in $(pkgincludedir) and create a
pkg-config file to allow building a plugin without the source
package
mark flag has precedence over important flag - seems
to have been changed in sync of 0.9.3claws45. this fixes
a regression where messages that were scored as important
don't show their mark flags. (using the same column for
both importance as mark flags is the real problem
ofcourse)
o fixed appearance of icon list when toggling back from the
ctree
o toggling of icons using the keyboard works correctly
o fixed all other keyboard shortcuts to work when icons are
active
* configure.ac
o try to build all plugins (except spamassassin) by default
o don't build a plugin if a dependency check fails
* src/common/hooks.c
fix warning
tweak icon box UI a bit more, now allowing right-clicks actions
getting the relevant mime data too; should fix#250, "Can't save
attachments sometimes".
don't do auto-save-draft inside key press handler, but rather
schedule it half of a second later; should fix#67, "autosave
make re-rediting message crazy"
* src/main.c
o added/moved signal handlers for SIGTERM (normal kill command) and
SIGINT (Ctl-c) to be used even without --enable-crash-dialog,
fixing bug 166
* src/messageview.c
* src/procheader.c
rewrite return receipt request work a little bit (the former
implementation presumably depended too much on the UI setting
flags). (we're losing the old pending flag.)
* src/folder.[ch]
* src/imap.c
* src/mh.c
return new message numbers as a GRelation instead of a GSList
that has to be in the same order as the input list. A list
would make it hard for IMAP to optimize oepration by sorting
the input list. The returned list would have to be reordered
to match the same order that input list has.
* src/gtk/gtkaspell.c
fix missing return value, could cause a crash when garbage is
on the stack that is used as the expected return value
o mimeview ctree arranged vertically above the viewer
o icons changed to buttons
o can use keyboard to select an icon (Enter)
o resize icon list to width of icons
* src/pixmaps/mimeview_gpg_failed.xpm
* src/pixmaps/mimeview_gpg_passed.xpm
* src/pixmaps/mimeview_text_html.xpm
* src/pixmaps/mimeview_image.xpm
o made all icons the same size
* src/procmsg.c
fix wrong flags in MsgInfo returned by
procmsg_msginfo_get_full_info()
(closes Bug 221 Deleting messages from the Message View gives incorrect
new/unread message counts in the folder view)
* src/plugins/spamassassin/spamassassin_gtk.c
add gettext macro for prefs page title
* src/Makefile.am
* src/account.c
* src/folder.[ch]
* src/folder_item_prefs.[ch] ** NEW **
* src/folderview.c
* src/mainwindow.c
* src/mh.c
* src/prefs_gtk.c
* src/prefs_scoring.c
* src/summaryview.c
* src/prefs_folder_item.[ch]
o seperate FolderItemPrefs (formerly PrefsFolderItem) and the
Properties dialog
o use prefswindow for folder properties
* src/gtk/prefswindow.[ch]
change implementation to use an invisible notebook instead
of unparenting widgets
* src/gtk/gtkvscrollbutton.c
* src/messageview.c
o improved mimeview behaviour when selecting a new message
o plus code cleanups to remove compile warnings
* configure.ac
* src/common/sylpheed.[ch]
* src/common/version.h.in
add version in numeric form to allow easy comparison
* src/plugins/demo/demo.c
add version check
- sylpheed version > plugin version => never allowed, sylpheed
could contain unknown API changes
- sylpheed version < minimum version required => don't load,
API required not available (if linking does not fail)
* src/common/hooks.c
fix crash when hooks where unregisted
* src/plugins/trayicon/trayicon.c
unregister detroy signal before destroying the widget
(still crashes when the plugin is unloaded)
* src/common/session.c
fix opening of SSL connections
* src/plugins/image_viewer/Makefile.am
add OPENSSL_CFLAGS (we should find a better solution to remove
this dependencies if they are not required)
* src/plugins/spamassassin/spamassassin.c
remove setlocale workaround (fixed in libspamc)
o fix a bug where 'last' didn't really point to the last message
in the top level list of children, but to the last threaded
message.
o clean up and make it easier to sync
tune the threader so it will not subject-thread any message
without a subject prefix (this will not thread correctly if
a parent is delivered after their childs, but it looks
better right now)
summary_searchbar_pressed() should return TRUE to signal that
event was handled. when returning void, the return value passed
to GTK is actually random, but maybe FALSE, in which case the
event is handled by parent
* src/folder.c
correct check if folder supports removing when a message is
moved. if not the message is only copied.
(closes Bug 132 crash on startup in newsgroups folders)
* src/Makefile.am
* src/messageview.c
* src/mimeview.[ch]
* src/stock_pixmap.[ch]
move mimeview tabs to the right side and use icons
instead of text to save some space
(patch by Luke Plant <lukeplant@softhome.net>)