Commit graph

392 commits

Author SHA1 Message Date
Colin Leroy
d82bd6fb7e fix a leak introduced in claws24 - sorry 2003-01-31 11:23:54 +00:00
Colin Leroy
82783985dd freeze/thaw folder updates when deleting dups 2003-01-31 11:11:15 +00:00
Colin Leroy
6bc7ae453f speed improvements 2003-01-31 11:01:51 +00:00
Colin Leroy
11876920be Fix segfault when forwarding nothing
Patch from "Ruslan N. Balkin" <baron@voices.ru>
2003-01-30 23:49:53 +00:00
Paul Mangan
32db20d5e9 sync with 0.8.9cvs3 2003-01-30 11:27:22 +00:00
Paul Mangan
dfbb021651 sync with 0.8.9cvs2 2003-01-30 07:56:04 +00:00
Paul Mangan
475b3f1872 speed up of marking messages as read 2003-01-26 16:30:48 +00:00
Paul Mangan
63cdb1f145 rename summary_unread_clicked{} to summary_status_clicked{} 2003-01-26 13:16:44 +00:00
Paul Mangan
15b3953f2f rename the 'Unread' column to 'Status' 2003-01-26 12:56:56 +00:00
Paul Mangan
19db0f524e summary_thread_build{}, summary_thread_init{}: remove unneeded reference to summaryview->folder_item 2003-01-25 19:33:56 +00:00
Paul Mangan
7c28607819 re-implement per-folder message threading 2003-01-25 01:30:03 +00:00
Christoph Hohmann
7dbbc48392 0.8.8claws120
* src/summaryview.c
* src/procmsg.[ch]
        fix wrong usage of procmsg_find_children in summaryview
        by using procmsg_update_unread_children instead of
        summaryview_update_unread_children
2003-01-19 12:21:21 +00:00
Colin Leroy
d6b2678bb5 * src/mainwindow.c
* src/summaryview.c
	Quicksearch bugfixes:
	- hide help button at startup if not extended
	- switch to extended when looking for replies
2003-01-17 14:53:11 +00:00
Paul Mangan
61de0e82a6 sync with 0.8.8cvs6 2003-01-14 11:16:47 +00:00
Alfons Hoogervorst
88f960057c * src/summaryview.c
delete / execute performance: use new style folder update
2003-01-12 19:58:45 +00:00
Darko Koruga
869a09cf44 Fix description for marked messages. 2003-01-08 10:00:57 +00:00
Christoph Hohmann
9743a35bb2 0.8.8claws65
* src/folder.c
        fix update for source folder when moving messages
* src/procmsg.[ch]
* src/summaryview.c
        use function to set to_folder for message infos and
        automatically update the op_count for old and new
        folder
2003-01-07 22:48:35 +00:00
Christoph Hohmann
475d578702 0.8.8claws63
* src/compose.c
* src/folder.[ch]
* src/folderview.c
* src/import.c
* src/inc.c
* src/main.c
* src/mainwindow.c
* src/messageview.c
* src/prefs_folder_item.c
* src/procmsg.c
* src/summaryview.c
* src/toolbar.c
        o remove all folder update triggering from the UI code. The folder
          system should know much better when a folder needs an update.
        o to prevent multiple updates in a row the folder updates can be
          frozen for some time.

	Note: - Please verify that no updates are missing
	      - Check where freeze/thaws should be added
2003-01-07 21:49:44 +00:00
Christoph Hohmann
cd2e20e644 0.8.8claws58
* src/quote_fmt.c
* src/summaryview.[ch]
* src/gtk/Makefile.am
* src/gtk/description_window.[ch]       ** NEW **
        use a generic window to display syntax descriptions
        currently used in quote_fmt and summaryview (new description
        for extended quick search)

patch by Ivan Francolin Martinez (ivanfm@users.sourceforge.net)
2003-01-06 21:16:17 +00:00
Colin Leroy
6e464e5610 no regexp in reply-finder 2003-01-06 13:29:04 +00:00
Colin Leroy
96d18eb6ab cleanup & reply-finder now displays the first
matching message
2003-01-05 23:31:30 +00:00
Colin Leroy
7ab4951b32 basic reply-finder 2003-01-05 17:33:08 +00:00
Alfons Hoogervorst
3e3e6f1b0f fine tune solution to focus problems (bug #7)
* src/mainwindow.c
	mainwindow_focus_in_event(): remove grab event check
* src/summaryview.c
	summary_button_pressed(): move selection on right-click
	too. we can't possibly move the selection back after
	canceling a dialog, because gtk's incomplete focus
	management. whether this is a good solution, only time
	will tell.
2003-01-05 13:02:43 +00:00
Paul Mangan
9c4b0d395f fix bug 605957 'shortcuts in popup-menu' 2003-01-05 12:28:18 +00:00
Alfons Hoogervorst
443784997d * src/summaryview.c
set gtksctree's anchor correct (immediate execute
	changes the tree's layout, and anchor points at
	the incorrect row). fixes "[ 657233 ] multiple msg
	delete sometimes off by 1".
	we probably have to look for more tree layout /
	anchor glitches.
2002-12-29 01:12:28 +00:00
Paul Mangan
a34c434698 fix bug [ 659054 ] incorrect sorting of 'From' column 2002-12-29 00:50:48 +00:00
Paul Mangan
08d94c1222 fix 'sort by recipient' 2002-12-27 12:12:53 +00:00
Paul Mangan
c2bd9fa7b8 partial sync with 0.8.8 release 2002-12-26 00:40:41 +00:00
Alfons Hoogervorst
2dd239158b * src/summaryview.c
summary_thread_build(): fix real cause of the crash mentioned in
	0.8.7claws3. use subject_XXX() and not g_hash_table_XXX() functions,
	this way we get meaningful ctree nodes
2002-12-24 17:44:50 +00:00
Oliver Haertel
fda5525dc3 use generic toolbar handling 2002-12-24 14:38:23 +00:00
Alfons Hoogervorst
7b809672bb * src/summaryview.c
summary_thread_build(): fix crash because of focus != selection
	after threading. when deleting the selection, gtk tries but fails
	to find the correct focusable element. we now force the selection
	to be focused. this should solve the infamous bug reported by
	Jason Wojciechowski (bug "[ 633443 ] Crash on deleting messages").
	a test case is available.
2002-12-24 11:35:16 +00:00
Darko Koruga
91120427b5 Fix crash when unmarkin a message with unread children. 2002-12-24 10:10:00 +00:00
Christoph Hohmann
8fa18fb744 0.8.6claws121
* src/common/utils.c
* src/summaryview.c
        reimplement expand_search_string using GString to
        prevent crashs caused by miscalculated string
        lengths reported by Paul
2002-12-20 22:23:09 +00:00
Christoph Hohmann
4bf8211668 0.8.6claws120
* src/summaryview.c
        don't use "changed" to check if op_count has to be changed as it
        is also set when the message has unread children
        (closes bug [ 653221 ] crash while deleting duplicates)
2002-12-20 17:03:14 +00:00
Colin Leroy
01f52c7371 fix bug 653231 (mainwin's handler problem when in quicksearch) 2002-12-13 13:45:24 +00:00
Colin Leroy
569995ece5 better handling of quicksearch show/hide 2002-12-13 12:12:09 +00:00
Colin Leroy
5ecfaf2249 save last used quicksearch type 2002-12-11 10:16:39 +00:00
Christoph Hohmann
f51685c4d8 0.8.6claws79
* src/folderview.c
* src/logwindow.c
* src/statusbar.c
* src/summaryview.c
        only abort hook invokation if required data is missing not
        if our own data pointer is NULL, update hookfunction for
        log window
2002-12-08 14:58:03 +00:00
Christoph Hohmann
ef85765076 0.8.6claws77
* src/folderview.c
* src/statusbar.c
* src/summaryview.c
* src/common/hooks.[ch]
        hook functions now have a gboolean return value, if a hook
        returns TRUE it will stop executing of any more hooks in
        the same hooklist for this invokation
2002-12-08 14:35:05 +00:00
Christoph Hohmann
42cffee3d7 0.8.6claws75
* src/summaryview.c
        The function that is called when a color lable changes
        should not change the color lable again
2002-12-08 13:37:37 +00:00
Christoph Hohmann
439153ecd4 0.8.6claws69
* src/procmsg.[ch]
* src/summaryview.c
        implement msginfo update callback using sylpheed's new
        hook system. Invoke hooks from procmsg_msginfo_[un]set_flags.

NOTE: nodes are updated 2 times for now when setting flags (user action),
      once by the hook and once by the summaryview flag setting functions.
2002-12-07 12:20:09 +00:00
Darko Koruga
e6dd47a7c9 Allow Mutt-like patterns in quick search. 2002-12-05 10:31:11 +00:00
Christoph Hohmann
6aa3d40bc0 0.8.6claws49
* doc-src/ui_seperation.txt     ** NEW **
        information for ui seperation

* src/Makefile.am
        remove files that were moved to common
        include common directory by default for the header files

* src/inc.c
* src/common/socket.c
* src/automaton.[ch]
        implement automaton using g_io_*-functions instead of
        gdk_input_add to make it ui independent

* src/codeconv.c
* src/compose.c
* src/ldif.c
* src/pgptext.c
* src/procmime.c
* src/rfc2015.c
* src/smtp.c
* src/unmime.c
        remove common/ prefix because directory is now in
        include path

* src/compose.c
* src/folder.c
* src/folderview.c
* src/mainwindow.c
* src/messageview.c
* src/prefs_common.c
* src/procmsg.c
* src/rfc2015.c
        fix warnings

* src/imap.c
* src/inc.c
* src/news.c
* src/pop.c
* src/send.c
* src/smtp.c
* src/ssl_certificate.c
        add log.h header file for logging functions

* src/main.c
* src/common/utils.c
* src/summaryview.c
* src/xml.c
        o move debug_mode to commno/utils.c
        o add functions to set and get debug_mode

* src/defs.h                    ** REMOVE **
* src/intl.h                    ** REMOVE **
* src/socket.[ch]               ** REMOVE **
* src/ssl.[ch]                  ** REMOVE **
* src/utils.[ch]                ** REMOVE **
        replaced by new files in src/common/

* src/common/Makefile.am
        add new files in src/common/

* src/common/defs.h             ** NEW **
* src/common/intl.h             ** NEW **
* src/common/log.[ch]           ** NEW **
* src/common/socket.[ch]        ** NEW **
* src/common/ssl.[ch]           ** NEW **
* src/common/utils.[ch]         ** NEW **
        replacement for files in src/
2002-12-02 17:41:39 +00:00
Colin Leroy
ac3b5f02d5 Visual feedback when there are unread answers to marked mails 2002-11-25 15:38:06 +00:00
Colin Leroy
1120a3a374 Add S_SEARCH_EXTENDED to the quick search, which
allows to search using filtering syntax.
2002-11-25 15:04:52 +00:00
Colin Leroy
646487c65e Deletion of duplicates now prefer deleting
the unread dup (fixes feature-request 638989).
2002-11-25 14:58:25 +00:00
Christoph Hohmann
3b8c899878 0.8.5claws179
* src/compose.c
* src/inc.c
* src/prefs_filtering.c
* src/summaryview.c
        more warning fixes
2002-11-22 23:26:53 +00:00
Alfons Hoogervorst
cb40f19acc * src/summaryview.c
summary_execute_delete_func(): if message is deleted, make
	sure to also remove its entry in the subject hash table.
	fixes a corner case bug.
2002-11-22 11:46:05 +00:00
Colin Leroy
52ca660f65 Revert too-soon integration of a feature planned for 0.8.6
(Sorry to have sent you this in an unrelated patch, Christoph...)
2002-11-17 09:36:23 +00:00
Christoph Hohmann
b0d60ee105 * src/compose.c
* src/folder.[ch]
* src/imap.c
* src/mbox_folder.c
* src/mh.c
* src/news.c
* src/procmsg.c
* src/summaryview.c
        replace claws' fetch_msginfo with main's get_msginfo
        (use main's implementation where possible)
2002-11-16 19:53:47 +00:00
Colin Leroy
8d01a63f07 Callback system for MsgInfo (better fix for updating the summaryview
after sending a mail)
2002-11-15 14:04:35 +00:00
Christoph Hohmann
51faf3c248 you should always test you code, shame on me ;) 2002-11-13 13:35:16 +00:00
Christoph Hohmann
be4d6c38c8 * src/summaryview.c
moved setting of important score to
        summary_set_prefs_from_folderitem
2002-11-13 13:16:20 +00:00
Colin Leroy
d6a37ec2a7 statusbar push/pop fix 2002-11-10 19:42:07 +00:00
Christoph Hohmann
042de6ca14 * src/compose.c
* src/folder.[ch]
* src/folderview.[ch]
* src/import.c
* src/inc.c
* src/main.c
* src/mainwindow.c
* src/messageview.c
* src/prefs_folder_item.c
* src/procmsg.c
* src/summaryview.c
        implement a callback system for folder item updates
2002-11-09 16:35:13 +00:00
Paul Mangan
3cfe5f39f8 sync with 0.8.5cvs17 2002-11-05 09:24:27 +00:00
Paul Mangan
d456393da2 remove main's 'filter' code 2002-10-31 13:06:34 +00:00
Paul Mangan
e35d30f2e3 fix 'Create filter rule' bug 2002-10-31 12:09:30 +00:00
Martin Schaaf
5d4cb83ea0 changed get_abbrev_newsgroup_name() that it shortens ng names only so long the name is shorter than the length param 2002-10-23 07:44:28 +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
Colin Leroy
c1ee9d4054 remove useless gtksctree_reanchor function 2002-10-13 20:09:14 +00:00
Alfons Hoogervorst
fd5f3318de * sync with remaining main changes 2002-10-09 - 2002-10-11
- drop changes to src/compose.c (requires claws specific changes)
2002-10-13 17:06:29 +00:00
Colin Leroy
03c4b7db66 fix problem where no mail is selected after moving the last one 2002-10-12 11:13:08 +00:00
Christoph Hohmann
781c1b68d9 * src/summaryview.c
update folderview stats after ignore/unignore thread
2002-10-11 17:19:54 +00:00
Christoph Hohmann
1ddc4506ea * src/summaryview.c
update folders after thread building for ignored threads
2002-10-10 18:44:39 +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
Colin Leroy
c4bc2ab814 anchor row and multiple selection fixes 2002-10-09 10:22:03 +00:00
Colin Leroy
c5f66b775d fix shift-click select after delete 2002-10-08 22:57:54 +00:00
Thorsten Maerz
f03f858310 exclude current msg from -hide read messages- 2002-10-08 20:30:31 +00:00
Paul Mangan
038c3f0a13 sync with 0.8.4cvs1 2002-10-02 10:24:03 +00:00
Colin Leroy
d9c1a23844 Fix an unwanted copy/paste 2002-09-29 22:12:36 +00:00
Colin Leroy
f4920f040b online, offline and quicksearch pixmaps follow theme changes 2002-09-29 21:46:05 +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
286d38b91d * src/summaryview.c
Fix wrong message counts in summaryview status
2002-09-26 12:41:14 +00:00
Paul Mangan
1490406429 sync with 0.8.3cvs7 2002-09-26 10:26:16 +00:00
Alfons Hoogervorst
b5e76df4d1 patch by Satoshi Nagayasu: allows appending / saving multiple
selected files (closes "[ 612279 ] save multiple mesg(s) in
'Save as ...'")

* AUTHORS
	add Satoshi Nagayasu
* src/summaryview.c
	summary_save_as(): allow saving selected files to
	one file
	summary_set_menu_sensitive: enable "Save As..." when
	multiple files are selected
* src/utils.[ch]
	append_file(): new function
2002-09-24 18:58:07 +00:00
Paul Mangan
a0a21d184b sync with 0.8.3cvs4 2002-09-20 22:22:19 +00:00
Alfons Hoogervorst
103fd0dfa3 * src/summaryview.c
summary_sort(): check non-NULL summaryview->folder_item when no
	folder is selected at all
	(closes "[ 610344 ] sort label make syl Crash")
2002-09-17 21:10:52 +00:00
Paul Mangan
4bfc41abd1 sync with 0.8.2cvs12 2002-09-10 07:41:59 +00:00
Paul Mangan
ebee082c1a sync with 0.8.2cvs10 2002-09-06 07:38:22 +00:00
Paul Mangan
677ac2d43d sync with 0.8.2cvs8 2002-09-03 07:47:27 +00:00
Colin Leroy
e78c725a74 sanity check for bug 601605 2002-08-29 07:45:41 +00:00
Hoà Viêt Dinh
50734844ef removed "filtering setting" menu option and add a "cancel a news message" menu option 2002-08-26 22:53:35 +00:00
Alfons Hoogervorst
8241eb54e7 * src/summaryview.c
treat sent boxes as special and allow sorting them by addressee
	(closes "[ 589418 ] Sent folder sorting misbehavior"
	submitted by Steve Lamb)
2002-08-25 11:01:36 +00:00
Alfons Hoogervorst
d01ad8c66d o fix another memory leak reported by Martin Kluge (see "[ 599568 ] Small Memory Leak")
o remove 'from' variable from 'summary_set_header()'; we can do with just 'to'
2002-08-24 09:21:39 +00:00
Alfons Hoogervorst
2e32d34b9a remove unnecessary allocations for search bar fixing leaks reported by Martin Kluge (see "[ 599451 ] Further memory leaks?") 2002-08-23 23:39:48 +00:00
Colin Leroy
d82d208be2 fix folder and search exchanging positions 2002-08-23 07:03:52 +00:00
Colin Leroy
821f1c4f56 fix last gdk warning :) 2002-08-23 06:52:15 +00:00
Colin Leroy
7effbc007f Fix my new `Creating pixmap from xpm' warning 2002-08-22 15:43:20 +00:00
Colin Leroy
e538d7aecf * src/Makefile.am
* src/stock_pixmap.c
	* src/stock_pixmap.h
	* src/pixmaps/quicksearch.xpm *ADDED*
		Add the quicksearch pixmap
	* src/mainwindow.c
	* src/summaryview.c
	* src/summaryview.h
		Make quicksearch bar visible/hidden via a button
2002-08-22 14:35:57 +00:00
Colin Leroy
83ce000a68 fix summaryview_searchtype_changed prototype 2002-08-21 13:21:54 +00:00
Christoph Hohmann
569b004102 * src/mainwindow.c
o fix broken menu update for sorting type, we have to
          get this info from the summaryview now
        o removed setting of threaded state in menu callback
* src/summaryview.[ch]
        more summaryview/folderitem seperation for
        threading option
* configure.in
        removed not required --with-compiler-flags option
2002-08-21 13:11:35 +00:00
Paul Mangan
654b37defb fix crash when changing field type in Quick Search bar 2002-08-21 07:43:50 +00:00
Colin Leroy
36c04a383d * src/summaryview.c
Made quick search case-insensitive
2002-08-21 07:18:43 +00:00
Christoph Hohmann
8c7643827c * src/folderview.c
* src/main.c
* src/summaryview.[ch]
        more summaryview/folderitem seperation for
        sort_key and sort_type
* src/procmsg.c
        added missing return statement
2002-08-20 19:50:04 +00:00
Colin Leroy
739a5cd252 * src/summaryview.[ch]
Added a quick search box
        * src/mainwindow.c
        * src/prefs_common.[ch]
                Added a show/hide option for the quick search
2002-08-20 19:14:30 +00:00
Alfons Hoogervorst
36e71d98bc fix one of the earlier memleaks reported by Martin Kluge 2002-08-19 20:56:50 +00:00
Christoph Hohmann
7da726105e * src/folderview.c
* src/prefs_folder_item.h
* src/summaryview.[ch]
        o add summary_set_prefs_from_folderitem to set
          summaryview prefs (first step to remove all
          references to the folderitem in summaryview)
        o moved compiled regex stuff from folderitem prefs
          to summaryview code
2002-08-19 17:55:14 +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