Commit graph

213 commits

Author SHA1 Message Date
Christoph Hohmann
a6fc32db87 0.9.4claws75
* src/folder.c
        free item->prefs in folder_item_destroy
2003-09-09 19:56:37 +00:00
Christoph Hohmann
407384b112 0.9.4claws72
* src/folder.c
* src/folderview.c
* src/mainwindow.c
        fix new folder notification

* src/mbox_folder.c
        fix cache path
2003-09-08 11:41:03 +00:00
Christoph Hohmann
6b5dc973c4 0.9.4claws71
* 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
2003-09-08 10:33:11 +00:00
Christoph Hohmann
bad90f2d08 0.9.4claws67
* 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)
2003-09-06 23:18:53 +00:00
Christoph Hohmann
7716bfe3fd 0.9.4claws66
* src/folder.c
        destroy folder's MsgCache if FolderItem is removed to make sure
        it is not saved when the FolderItem is destroyed
2003-09-06 18:52:29 +00:00
Christoph Hohmann
f82e4de5f4 0.9.4claws64
* 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.
2003-09-05 21:07:17 +00:00
Alfons Hoogervorst
61f185a407 * src/folder.c
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")
2003-09-04 18:51:58 +00:00
Paul Mangan
270ea103aa sync with 0.9.4cvs9 2003-08-26 07:13:40 +00:00
Paul Mangan
41311f7168 sync with 0.9.4cvs8 2003-08-25 14:14:47 +00:00
Christoph Hohmann
f7142f74c5 0.9.4claws33
* 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 ' '
2003-08-21 20:08:27 +00:00
Paul Mangan
797e8af305 sync with 0.9.4cvs3 2003-08-05 09:01:01 +00:00
Christoph Hohmann
757b71d95b 0.9.3claws68
* src/folder.c
* src/imap.c
* src/mh.c
* src/procmsg.[ch]
        fix copy to IMAP folder from other folder
2003-07-28 22:30:01 +00:00
Christoph Hohmann
484cf1fbb7 0.9.3claws64
* 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
2003-07-28 15:47:24 +00:00
Christoph Hohmann
50c29fc28b 0.9.3claws57
* sync with 0.9.3cvs18
        see ChangeLog 2003-07-24
2003-07-26 19:07:16 +00:00
Christoph Hohmann
5cc4aaae97 0.9.3claws56
* sync with 0.9.3cvs17
        see ChangeLog 2003-07-23
2003-07-26 18:30:25 +00:00
Christoph Hohmann
405beb615b 0.9.3claws55
* src/folder.[ch]
* src/imap.c
* src/mbox_folder.c
* src/mh.c
* src/news.c
        add support for copy function that copy multiple messages
        (not implemented yet)

* src/summaryview.c
        add missing return value
2003-07-26 17:01:47 +00:00
Christoph Hohmann
2d750d4894 0.9.3claws53
* src/folder.[ch]
* src/imap.c
* src/mh.c
        rewrite adding of multiple messages to a folder for
        claws' folder system
2003-07-25 18:47:43 +00:00
Christoph Hohmann
ffdbb7eb6e 0.9.3claws45
* sync with 0.9.3cvs14 (incomplete)
        see ChangeLog 2003-07-17
2003-07-23 14:51:47 +00:00
Alfons Hoogervorst
72387ad26c * src/folder.c
* src/procmsg.h
	sync with my local tree to restore some claws-only things
2003-07-23 09:24:20 +00:00
Christoph Hohmann
fd9527c0f0 0.9.3claws36
* 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
2003-07-20 18:04:11 +00:00
Christoph Hohmann
a4ff7ed49e 0.9.3claws34
* 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
2003-07-20 01:15:54 +00:00
Christoph Hohmann
44a772b9f2 0.9.3claws33
* src/compose.h
* src/folder.c
* src/folderview.h
* src/headerview.h
* src/prefs_filtering.h
* src/prefs_folder_item.[ch]
* src/procmime.h
* src/procmsg.h
* src/summaryview.h
        clean up header mess
	(always use 1. typedefs, 2. #includes, 3. structures)

* src/common/version.h.in
        add casts for constants

* src/plugins/demo/demo.c
        fix typo

* src/plugins/spamassassin/spamassassin.c
        remove unused variable
2003-07-19 22:36:53 +00:00
Christoph Hohmann
df9235ca8c 0.9.3claws12
* src/folder.c
        move folder_item_update_freeze() to correct place in
        folder_item_scan_full()
2003-07-16 16:54:16 +00:00
Christoph Hohmann
33f9537839 0.9.0claws94
* 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)
2003-07-10 09:48:05 +00:00
Christoph Hohmann
c3bfb12880 0.9.0claws78
* sync with 0.9.2cvs1
        see ChangeLog 2003-06-10
2003-07-04 11:59:46 +00:00
Christoph Hohmann
0782be424e 0.9.0claws76
* src/folder.[ch]
* src/imap.c
* src/mbox_folder.c
* src/mh.c
* src/news.c
        move folder_item_get_path() stuff into a folder virtual function

* src/procmsg.c
        use folder_item_fetch_msg() to get message and do not contruct
        the filename from path and number
2003-07-03 20:37:07 +00:00
Christoph Hohmann
c36e24b451 0.9.0claws66
* src/folder.c
        freeze folder updates while a folder is scanned
2003-06-26 20:33:05 +00:00
Christoph Hohmann
1d8829416c 0.9.0claws55
* src/folder.[ch]
        o add notification hook for folder tree changes
        o invoke hooks after folder tree scanning

* src/folderview.[ch]
        register hook for folder tree changes that
        updates the ctree

(there are more places that should be updated, like add, remove
 or move folder)

(closes Bug 164 Crash on rebuild folder tree)
(closes Bug 190 Crash on 'rebuilding folder tree')
2003-06-22 18:25:59 +00:00
Christoph Hohmann
82a40700f1 0.9.0claws43
* src/folder.c
        stop messages that are downloaded from POP3 and added to
        an IMAP inbox from being filtered twice (first by POP3
        and again when IMAP folder is scaned to get the UID of
        the APPEND operation when no UIDPLUS is available)
2003-06-18 14:01:40 +00:00
Alfons Hoogervorst
5faad42d2b * src/filtering.[ch]
* src/folder.c
* src/matcher.c
* src/scoring.[ch]
	- try fixing bug #18 (any brave testers?)
	- add more robustness by refusing previously
	  unchecked NULL pointers
2003-06-10 17:02:05 +00:00
Christoph Hohmann
f246acfb3c 0.9.0claws20
* src/Makefile.am
* src/crash.c
* src/export.c
* src/filesel.[ch]              ** REMOVE **
* src/folder.c
* src/main.[ch]
* src/common/sylpheed.[ch]
* src/gtk/Makefile.am
* src/gtk/filesel.[ch]          ** NEW **
* src/gtk/pluginwindow.c
* src/gtk/sslcertwindow.c
        move filesel.[ch] to gtk directory
2003-06-07 20:18:22 +00:00
Christoph Hohmann
b1a6468090 0.8.11claws161
* src/folder.c
* src/folderview.c
* src/imap.c
        don't use imap_scan_folder anymore. Instead call folder_item_scan
        for every folder after rebuilding the folder tree.

(closes Bug 19 imap_scan_folder() computes incorrectly number of new
 messages)
2003-05-17 13:15:38 +00:00
Christoph Hohmann
acb6643d6b 0.8.11claws152
* src/folder.c
        fix folder update after adding a message
2003-05-14 13:23:40 +00:00
Alfons Hoogervorst
f8e5d2cfaa * src/common/session.c
remove debug traces

* src/addrcache.[ch]
* src/filtering.[ch]
* src/folder.[c]
* src/gtkaspell.[ch]
* src/imap.[ch]
* src/mbox_folder.[ch]
* src/mh.[ch]
* src/mimeview.h
* src/msgcache.[ch]
* src/news.[ch]
* src/passphrase.[ch]
* src/prefs_common.[ch]
* src/prefs_gtk.[ch]
* src/procmsg.c
* src/scoring.[ch]
	be pedantic; (in prototypes () implies (int))
2003-05-13 11:54:19 +00:00
Christoph Hohmann
f3f91617ad 0.8.11claws117
* src/folder.c
        fix remove virtual check
2003-04-26 15:20:03 +00:00
Christoph Hohmann
1a89bbface 0.8.11claws114
* src/folder.c
        check if remove virtual really exists before
        calling the function
2003-04-26 11:43:05 +00:00
Alfons Hoogervorst
5fac0565d3 * src/folder.c
plug a Claws memleak
2003-04-25 21:37:47 +00:00
Christoph Hohmann
c48ed9f6d2 0.8.11claws109
* src/folder.c
        freeze folder item updates when unsetting new flags

* src/gtk/pluginwindow.c
        correct strange float value
2003-04-24 18:49:29 +00:00
Oliver Haertel
f6b96c964f fix crash in folder_destroy 2003-04-09 18:24:52 +00:00
Christoph Hohmann
15b258ea16 0.8.11claws79
* src/folder.c
* src/prefs_account.c
        Filter new messages that are found in an INBOX folder
        when 'Filter messages on receiving' is enabled in the
        Folder's AccountPrefs. This allows to use Sylpheed's
        filtering engine for IMAP folders where messages are
        added to the INBOX by a MTA
2003-04-08 20:47:42 +00:00
Christoph Hohmann
62446ff785 0.8.11claws72
* src/account.c
* src/folder.[ch]
* src/folderview.c
* src/imap.c
* src/inc.c
* src/main.c
* src/mainwindow.c
* src/mbox_folder.c
* src/mh.c
* src/mimeview.h
* src/msgcache.[ch]
* src/news.c
* src/procmime.h
* src/procmsg.[ch]
* src/setup.c
* src/gtk/gtkutils.c
        o rename structure field names class and new to klass and
          new_msgs, to allow including files in C++
        o add 'extern "C"' block to some header files
        o add MsgInfoList and MsgNumberList as alias for GSList for
          developers to know what type of list is expected

* src/plugins/image_viewer/plugin.c
* src/plugins/image_viewer/viewer.[ch]
* src/plugins/image_viewer/viewerprefs.[ch]
        rename function names to prevent conflicts
2003-04-05 20:38:53 +00:00
Christoph Hohmann
c58e92dbf7 0.8.11claws70
* src/folder.[ch]
* src/imap.[ch]
* src/mbox_folder.[ch]
* src/mh.[ch]
* src/news.[ch]
        o Make all virtual folder functions private
        o remove unused folder code

* src/common/socket.[ch]
* src/summaryview.c
        fix warnings
2003-04-02 15:33:25 +00:00
Christoph Hohmann
f4382170dd 0.8.11claws67
* src/folder.c
        change processing folder name from .processing to processing

* src/common/ssl.c
        disable SSL certificate check because it causes Xlib error
        when the child process want's to open an GTK window
2003-03-30 14:48:13 +00:00
Christoph Hohmann
033ee91461 0.8.11claws66
* src/folder.c
        don't use default folder for processing folder item because
        it can be a non local folder

(fixes bug reported by Stephen Lewis <slewis@paradise.net.nz>)
2003-03-30 14:02:37 +00:00
Christoph Hohmann
bd6aa0c4da 0.8.11claws60
* src/folder.c
* src/imap.c
* src/common/socket.[ch]
        set socket state to DISCONNECTED when any operation
        fails to allow reconnecting in IMAP code without
        checking the return code of all calls to the command
        functions

* src/folderview.c
* src/summaryview.c
        remove some more stuff that depends on specific
        folder types
2003-03-27 21:52:32 +00:00
Christoph Hohmann
11cc4f70d3 0.8.11claws58
* src/folder.c
        fix handling of tmp_flags in flag copy function
2003-03-27 12:19:56 +00:00
Christoph Hohmann
b895c42c87 0.8.11claws43
* src/folder.c
        code cleanup for flags copying
2003-03-24 21:48:10 +00:00
Colin Leroy
57723d335f speed up a bit folder dnd 2003-03-21 17:28:52 +00:00
Christoph Hohmann
33d83ae6f2 0.8.11claws33
* src/folder.c
        remove NEW and UNREAD flag in special folders when scanning

* src/common/smtp.c
        fix ESMTP AUTH CRAM-MD5
2003-03-20 14:44:47 +00:00
Christoph Hohmann
2935c23e68 0.8.11claws29
* src/procmsg.c
        add temp flag handling, will make moving and copying
        messages possible again

* src/folder.c
        correct calulation of folder stats
2003-03-19 18:39:42 +00:00