Commit graph

150 commits

Author SHA1 Message Date
Colin Leroy
2c4b979207 allow dropping a folder to a root folder
(rescanning optimisations for soon)
2002-11-07 14:22:31 +00:00
Colin Leroy
b77287980a select folder after moving it 2002-11-07 01:00:26 +00:00
Colin Leroy
5349fee78a folder dnd 2002-11-06 23:56:26 +00:00
Christoph Hohmann
e8c287f434 * src/folder.c
set need_update folder flag when messages are added
        (closes bug [ 626922 ] folder not updated after receiving)
2002-10-26 20:38:01 +00:00
Christoph Hohmann
394cb2cb69 * src/folder.[ch]
* src/imap.c
* src/mbox_folder.c
* src/mh.c
* src/news.c
        folder->get_num_list now returns an error code
        (closes bug [ 609424 ] News cache cleared on failure)
2002-10-18 10:02:51 +00:00
Christoph Hohmann
080292f7bf * src/compose.c
* src/filtering.c
* src/summaryview.c
        remove calls to folder->change_flags that are now
        done by procmsg flag functions (seems it is not
        used by any foldertype anyway)
* src/folder.c
	init folder->change_flags with NULL
2002-10-14 22:13:40 +00:00
Christoph Hohmann
2df9d7f8f3 * src/folder.[ch]
* src/imap.[ch]
        use virtual functions for folder item new and destroy
        functions
2002-10-14 21:23:12 +00:00
Alfons Hoogervorst
241037b042 * sync with main changes of 2002-10-08
- drop changes to src/compose.c (requires claws specific changes)
- drop changes to src/summaryview.c (requires changes to compose.c)
2002-10-13 16:30:48 +00:00
Alfons Hoogervorst
9fec726098 * sync with main changes of 2002-10-07 2002-10-13 15:43:22 +00:00
Alfons Hoogervorst
c22c8dbfbc * sync with main changes of 2002-10-04
- drop changes to src/compose.c (requires claws specific changes)

- drop changes to src/prefs_folder_item.c (claws implementation
  seems to be working)
2002-10-13 14:12:29 +00:00
Christoph Hohmann
45a0ef8b0a * config/.cvsignore
added Makefile
* src/filtering.[ch]
* src/folder.[ch]
* src/folderview.[ch]
* src/import.c
* src/inc.[ch]
* src/mbox.[ch]
* src/procmsg.c
* src/summaryview.[ch]
        o added new flag need_update to FolderItem
        o removed folder_table from various functions from tracking
          folder updates
        o set need_update flags in folder.c's move, copy and delete
          functions and procmsg's flags functions
        o added function folderview_update_items_when_required that
          updates all folders with need_update set
        o call folderview_update_items_when_required instead of
          folderview_update_item_foreach
2002-10-10 18:21:11 +00:00
Christoph Hohmann
a0a44d1840 * src/folder.[ch]
* src/folderview.c
* src/mainwindow.c
        fix new folder ghost message bug
        (closes bug [ 619722 ] wrong count for newly created folders)
2002-10-07 21:47:32 +00:00
Christoph Hohmann
2df0a75cdb * major code cleanup (part 2)
- unused variables removed
        - unused functions removed
        - uninitialized variables checked
        - missing return statements added
        - missing function return types added
        - added parentheses around assignment
	  when suggested by gcc
2002-09-29 13:43:33 +00:00
Christoph Hohmann
1155f65dd7 * src/folder.c
initialize max values for cache and folder
        when cache or folder is empty
2002-09-17 12:19:16 +00:00
Colin Leroy
7f5ca7e8a9 fix a typo 2002-09-10 22:23:56 +00:00
Christoph Hohmann
1e08bfc414 remove debugging printf 2002-09-10 14:29:46 +00:00
Christoph Hohmann
c7dfafaa90 fix news folder scan (didn't check this before last commit) 2002-09-10 13:25:04 +00:00
Christoph Hohmann
cc66938415 * src/folder.c
fix problem with too large message number range
        causing a crash in folder_item_scan
2002-09-10 13:06:50 +00:00
Paul Mangan
dd76734a75 sync with 0.8.2cvs9 2002-09-04 08:12:49 +00:00
Alfons Hoogervorst
dd22247ad3 * src/folder.c
* src/mh.c
	revert change of 0.8.2claws16 and use the mh_folder_destroy
	as folder->destroy virtual as suggested by Hiro
	(the mh.c code seems to have been lost around mh.c.1.20)
2002-09-02 12:32:43 +00:00
Alfons Hoogervorst
f824828f06 * src/folder.c
folder_destroy(): remove mailbox from folderlist even if it has
	no destroy virtual
2002-08-31 09:03:31 +00:00
Alfons Hoogervorst
32ccf4fe2a * src/folder.c
:%sno/if(/if (/gc
	:%sno/for(/for (/gc
	(being pedantic I know)
2002-08-31 08:26:28 +00:00
Alfons Hoogervorst
a84ece2c9d * src/folder.c
check for NULL pointers returned from folder->fetch_msginfo virtual
	(should solve some reported crashes)
2002-08-31 08:06:06 +00:00
Paul Mangan
ea048c0b47 sync with 0.8.2cvs4 2002-08-28 11:54:45 +00:00
Christoph Hohmann
22999b38b5 * src/folder.c
fix folder update for newsgroups with message
        numbers below minimum number of articles to fetch
        (closes bug #598445)
2002-08-22 13:32:16 +00:00
Paul Mangan
6d79a76586 sync with 0.8.1cvs24 2002-08-16 09:34:01 +00:00
Paul Mangan
c443ed903f don't translate debug info 2002-08-15 07:38:17 +00:00
Christoph Hohmann
6a88793610 * src/folder.c
don't free the cache of the opened
        folder in the summaryview
* src/summaryview.c
        don't unset flags, if it is not required
2002-08-01 20:50:31 +00:00
Christoph Hohmann
78eaab4e11 * src/folder.c
check if folder_item_get_msginfo in
        folder_item_remove_msg returned NULL
* src/imap.c
        better clear the uid cache in the
        uid validity check function and delete
        cached messages
2002-07-31 15:35:26 +00:00
Christoph Hohmann
d7195713ea * src/folder.c
add extra check if fetching the msginfo
        returned NULL
2002-07-27 23:57:07 +00:00
Alfons Hoogervorst
10310357d7 * src/folder.c
ofcourse compare with identifier, not the path
2002-07-26 21:45:22 +00:00
Alfons Hoogervorst
19708ce08c * src/folder.c
use folder item identifier for saving / restoring
	preferences because folder->path might not be unique
2002-07-26 20:24:58 +00:00
Hoà Viêt Dinh
9035369098 fixed some precondition in folder item 2002-07-26 18:24:39 +00:00
Christoph Hohmann
c063763e1c * src/folder.c
* src/folderview.c
* src/imap.c
        fix imap folder rescanning
2002-07-25 23:00:59 +00:00
Christoph Hohmann
e309839874 * src/filter.c
* src/folder.[ch]
* src/folderview.c
* src/imap.[ch]
* src/mainwindow.c
* src/mbox_folder.c
* src/mh.c
* src/news.c
        implement imap uid cache and uid validity check
2002-07-25 21:09:10 +00:00
Christoph Hohmann
ee51bcbc75 * src/folder.c
don't mix copy, fetch_msginfo and remove
        operations in folder item copy and move
        operations
2002-07-25 13:24:39 +00:00
Christoph Hohmann
e9dc05fb7d * src/folder.c
* src/folder.h
* src/summaryview.c
* src/summaryview.h
* src/main.c
        o separate processing and summaryview
        o removed summary_write_cache from summaryview
        o removed summaryview->killed_messages, because we don't have
          to keep a list of killed messages anymore. New cache will
          keep the hidden messages in cache anyway
* src/folderview.c
* src/inc.c
* src/selective_download.c
        o removed unnecessary summary_write_cache calls
* src/procmsg.c
        o don't set ignore thread flag in procmsg_get_thread_tree
          if it is already set
* src/mainwindow.c
* src/statusbar.h
        o moved STATUSBAR_PUSH/POP to statusbar.h because
          they are used in different files
2002-07-23 18:18:21 +00:00
Christoph Hohmann
648d486aa4 * src/folder.c
fix folder message count for folders without
        msg_is_changed (includes news folders)
2002-07-15 18:33:13 +00:00
Christoph Hohmann
beab0e0aa6 * src/folder.[ch]
* src/msgcache.[ch]
        Added message-id table to the cache in memory
        and functions to msgcache.c and folder.c to
        fetch MsgInfos by message id
* src/compose.c
* src/procmsg.c
        store folder and message-id of message replying
        to in queue header and set reply flag after sending
        (Closes bug #469498)
2002-07-10 13:11:25 +00:00
Christoph Hohmann
e732cdbdd8 * src/folder.c
* src/mainwindow.c
        fix folder_item_remove_all_msg and folderview
        status for trash folders after emptying trash
2002-07-06 01:07:26 +00:00
Alfons Hoogervorst
12b1484ac4 dupe folder item's path because it's being reallocated by new folder scanning code 2002-07-03 19:51:14 +00:00
Christoph Hohmann
8da5cfd6ba * major code cleanup (part 1)
- unused variables removed
        - unused functions removed
        - uninitialized variables checked
        - missing return statements added
        - missing function return types added
        - added parentheses around assignment and
          && in || when suggested by gcc

* src/mh.c
* src/folder.c
        replaced direct calls to folder->scan_tree
        with folder_scan_tree and restore folder
        prefs in this function. The folder should
        not have to deal with them.
        ( Should now work for all folder types )
2002-07-02 19:49:11 +00:00
Christoph Hohmann
340147c3f4 * src/folder.c
* src/folderview.c
* src/mh.c
* src/news.c
* src/procmsg.c
    fix broken folder tree rescaning
    and don't use procmsg_get_mark_sum
    anymore
2002-06-30 16:35:20 +00:00
Christoph Hohmann
c3f63eb642 * src/folder.c
improved folder_item_scan
    it should now always set the correct
    new, unread and total message counts
2002-06-30 13:45:59 +00:00
Christoph Hohmann
30555a9068 merge new cache branch 2002-06-29 23:33:42 +00:00
Paul Mangan
c333f0c843 sync with 0.7.8cvs1 2002-06-19 07:31:13 +00:00
Alfons Hoogervorst
62bfbf7859 make sure lock sort mode (claws specific) is also persists after a tree rescan 2002-06-16 20:27:31 +00:00
Alfons Hoogervorst
aa37ff008c fix persistence of folder sort mode (broken by adapting Hiro's new folder persistence code) 2002-06-16 18:16:57 +00:00
Paul Mangan
6e7364537a sync with 0.7.6cvs25 2002-06-08 15:52:42 +00:00
Paul Mangan
e4f3a8d10b sync with 0.7.6cvs21 2002-06-03 06:03:31 +00:00
Paul Mangan
65a932a8d1 sync with 0.7.4cvs49 2002-04-21 09:24:27 +00:00
Alfons Hoogervorst
3fcaa1098f apply sync patch from Paul; use old claws prefs_folder_item_create() for now 2002-04-20 22:57:52 +00:00
Paul Mangan
7dcf6f631c sync with 0.7.4cvs31 2002-04-05 08:20:10 +00:00
Paul Mangan
5da4e7cf55 sync with 0.7.4cvs29 2002-04-03 08:58:44 +00:00
Paul Mangan
4e6edd2bea sync with sylpheed 0.7.4cvs8 2002-03-19 08:37:53 +00:00
Paul Mangan
adbd55ae28 sync with sylpheed 0.7.3cvs4 2002-03-07 13:22:39 +00:00
Alfons Hoogervorst
52e16a43bf implement news->remove_msg() 2002-01-27 14:32:18 +00:00
Paul Mangan
6a079c5280 sync with sylpheed 0.7.0cvs7 2002-01-16 11:48:36 +00:00
Alfons Hoogervorst
0e839e02ef clean up some code 2001-12-30 12:26:45 +00:00
Alfons Hoogervorst
60131c7de8 make folder properties persistent so they are properly restored after rescanning the folder tree 2001-12-30 01:27:14 +00:00
Alfons Hoogervorst
3b5a4d5739 add and adapt Thomas Link's subject simplification patch 2001-12-23 14:30:06 +00:00
Paul Mangan
cb4603f724 enable ability to hide read messages 2001-12-11 15:06:46 +00:00
Hoà Viêt Dinh
0f5ea7d23c bugfix for filtering 2001-12-08 17:41:56 +00:00
Alfons Hoogervorst
0e7a5f5279 more revision of filtering system 2001-12-05 22:09:25 +00:00
Paul Mangan
df53a63311 sync with sylpheed 0.6.5cvs21 2001-12-04 09:10:36 +00:00
Christoph Hohmann
61799e6b33 changed german translation of undo
don't reinvent the wheel to traverse a GNode
seperate code to create the compose gui into functions add "Others" page with folder selection for saving copy of the message. the folder identifier is saved to queue header
save message to folder in queue header
2001-12-03 16:04:12 +00:00
Paul Mangan
a0d67ea2a9 sync with sylpheed 0.6.5cvs16 2001-11-26 07:53:20 +00:00
Christoph Hohmann
0d249e3c40 added ylwrap to .cvsignore
fixed gpg signing and encodin
added --status option to get new, unread and total message count from a running sylpheed
temporary fix for reply_with_quote problem (don't call functions for non existing widget)
one more check for ignored threads
2001-11-23 15:58:59 +00:00
Hoà Viêt Dinh
788289df17 new matcher parser / bounce fix / rrr fixed 2001-11-15 22:41:46 +00:00
Christoph Hohmann
04ee67da30 made search for accounts by email address not case sensitive
fixed memory leak in folder_item_get_identifier
fixed wrong strstr2 (should work like strstr)
2001-10-26 19:39:20 +00:00
Paul Mangan
d50ed0b9ed sync with sylpheed 0.6.3cvs9 2001-10-20 07:04:54 +00:00
Paul Mangan
214db07af8 sync with sylpheed 0.6.2cvs12 2001-10-07 09:15:06 +00:00
Paul Mangan
bb05707025 sync with sylpheed 0.6.2cvs6 2001-09-27 08:14:23 +00:00
Paul Mangan
395225ed16 more sync with sylpheed 0.6.2cvs5 2001-09-25 09:12:39 +00:00
Alfons Hoogervorst
7e48c3731a More plumbing: migrating request return receipt folder setting to folderlist.xml 2001-09-23 01:19:22 +00:00
Alfons Hoogervorst
37eccfbdbf re-implement per folder threading setting (now stored in folderlist.xml) 2001-09-22 13:24:51 +00:00
Paul Mangan
97225d3545 sync with sylpheed 0.6.0 release 2001-08-30 12:59:38 +00:00
Paul Mangan
dfb832d2be sync with sylpheed 0.5.1cvs7 2001-08-01 07:22:54 +00:00
Darko Koruga
ef6fa97f0e Target folder colourization. 2001-07-31 06:17:48 +00:00
Alfons Hoogervorst
bda3b802ed sync with Hiroyuki's 0.5.0cvs5; back up claws to 0.5.0claws5 2001-07-17 20:05:22 +00:00
Alfons Hoogervorst
9b961e66f3 sync with Hiroyuki's 0.5.0cvs4 2001-07-16 18:18:53 +00:00
Alfons Hoogervorst
72042fc35a sync with Hiroyuki's 0.5.0claws2-3 2001-07-15 13:42:30 +00:00
Alfons Hoogervorst
827ee13e8e sync with Hiroyuki's 0.5.0cvs1 2001-07-14 17:21:51 +00:00
Alfons Hoogervorst
430559c255 add persistence for collapsed / expanded folder trees 2001-07-10 16:14:23 +00:00
Paul Mangan
16bd5f1fb5 sync with sylpheed 0.5.0pre3 release 2001-07-01 08:37:50 +00:00
Alfons Hoogervorst
7d43271511 changes and bugfixes submitted by Andre Eibel 2001-06-30 11:40:01 +00:00
Paul Mangan
9e2b5e4869 more sync with sylpheed 0.5.0pre3 2001-06-28 08:44:31 +00:00
Paul Mangan
9815a723b5 sync with sylpheed 0.4.99cvs11 2001-06-15 10:29:27 +00:00
Paul Mangan
9ec20f20b0 sync with sylpheed 0.4.99cvs8 2001-06-09 10:49:52 +00:00
Paul Mangan
77aa96498e sync with sylpheed 0.4.99cvs7 2001-06-08 10:14:40 +00:00
Hoà Viêt Dinh
33299f71f8 handle menu option 'filter messages' / bugfix in mbox folders 2001-05-30 03:05:08 +00:00
Hoà Viêt Dinh
1d1c316bd9 global names for folder / read permission for folders / filtering to mbox 2001-05-29 00:29:13 +00:00
Hoà Viêt Dinh
4af086d641 mbox format completed 2001-05-27 22:40:29 +00:00
Hoà Viêt Dinh
6c39d84b21 removed debugging info 2001-05-23 14:55:49 +00:00
Hoà Viêt Dinh
5918d23465 mbox folder / fix for filtering 2001-05-23 12:08:40 +00:00
Alfons Hoogervorst
e3c2780083 sync with sylpheed 0.4.67cvs7-8 2001-05-17 13:25:31 +00:00
Hoà Viêt Dinh
3c4c27b16a scoring / expression matcher 2001-05-06 04:27:28 +00:00
Alfons Hoogervorst
f311c04471 *** empty log message *** 2001-05-01 18:35:02 +00:00
Alfons Hoogervorst
6d56b06e24 sync with sylpheed 0.4.65cvs10 2001-04-27 20:27:24 +00:00
Paul Mangan
036b63d8fc Imported version 1.0 2001-04-19 12:21:46 +00:00