Commit Graph

4643 Commits

Author SHA1 Message Date
fbd0725e2a Minor stylistical fixup.
svn path=/trunk/; revision=5634
2000-09-29 09:06:45 +00:00
03e1e4756b another mem leak fix
svn path=/trunk/; revision=5633
2000-09-29 04:08:11 +00:00
e20e97c208 added prototype.
2000-09-28  Chris Toshok  <toshok@helixcode.com>

	* subscribe-control.h (subscribe_search): added prototype.

	* subscribe-control.c (subscribe_search): new function.

	* subscribe-control-factory.c (make_folder_search_widget): new
	function, to add search widget to toolbar.
	(control_activate): create the search widget and add it to the
	toolbar.

svn path=/trunk/; revision=5632
2000-09-29 03:09:26 +00:00
338c81f70a Fixed some memory leaks. (camel_smtp_transport_init): Initialize
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/smtp/camel-smtp-transport.c: Fixed some memory leaks.
	(camel_smtp_transport_init): Initialize supports_8bit to FALSE.
	(smtp_helo): If server supports 8bit, set supports_8bit to TRUE.

	* camel-transport.h (struct _CamelTransport): Added variable
	gboolean supports_8bit (we'll need this eventually? - see bugzilla
	bug #53)

	* providers/smtp/camel-smtp-transport.c
	(smtp_get_email_addr_from_text): Ugh, no wonder people were
	getting illegal seek warnings *sigh*. I guess I can only blame
	myself for this one though :-(

svn path=/trunk/; revision=5631
2000-09-29 02:53:47 +00:00
ad08b9bda3 add a FolderSearch control, and change "Refresh" to "RefreshList".
2000-09-28  Chris Toshok  <toshok@helixcode.com>

	* ui/evolution-subscribe.xml: add a FolderSearch control, and
	change "Refresh" to "RefreshList".

svn path=/trunk/; revision=5630
2000-09-29 02:52:12 +00:00
686a7adc09 Don't send the recipient data through smtp_get_email_addr_from_text - this
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/smtp/camel-smtp-transport.c (_send_to): Don't send the
	recipient data through smtp_get_email_addr_from_text - this is a
	complete waste. In fact, we don't want to have to use that
	function ever.

	* camel-internet-address.c, camel-address.c: Added some gtk-doc comments.

svn path=/trunk/; revision=5629
2000-09-29 01:56:39 +00:00
df3d5547e5 New file. Approximate UML description of ETable.
Thu Sep 28 20:01:53 2000  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.dia: New file.  Approximate UML description of ETable.

svn path=/trunk/; revision=5628
2000-09-29 00:01:19 +00:00
7ba4d2bed2 Make sure to add the space char after an encoded word when the encoding is
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-mime-utils.c (header_encode_string): Make sure to add the
	space char after an encoded word when the encoding is iso-8859-1.

svn path=/trunk/; revision=5626
2000-09-28 23:57:54 +00:00
ed988c5b23 Don't print "Folder registered successfully" if it didn't. (Duh. :)
* e-corba-storage.c (impl_StorageListener_new_folder): Don't print
	"Folder registered successfully" if it didn't. (Duh. :)

svn path=/trunk/; revision=5625
2000-09-28 23:27:07 +00:00
ddbb5d882b Fix a stupid crash in ::destroy that was my fault.
svn path=/trunk/; revision=5624
2000-09-28 23:26:59 +00:00
c540870b0c Check to see if the body has 8bit chars, if so - set the
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (build_message): Check to see if the body has
	8bit chars, if so - set the Content-Transfer-Encoding to 8bit.
	Addresses Bugzilla bug #652.

svn path=/trunk/; revision=5623
2000-09-28 22:12:23 +00:00
bb1d28d7c5 Messages should be appended to Sent as Seen. (do_send_mail): Same.
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (do_send_queue): Messages should be appended to Sent
	as Seen.
	(do_send_mail): Same.

svn path=/trunk/; revision=5622
2000-09-28 20:49:24 +00:00
4fccab6c19 When getting a literal string response, don't include the \r\n after the
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_message): When
	getting a literal string response, don't include the \r\n after
	the closing } (as in: "... {798}\r\n...")

	* providers/imap/camel-imap-stream.c (stream_read): Same.

svn path=/trunk/; revision=5621
2000-09-28 20:20:56 +00:00
5e8ab21b63 Translations from Keld
evolution/po/da.po gal/po/da.po gedit/po/da.po ggv/po/da.po
gimp/po/da.po glade/po/da.po gnome-chess/po/da.po
gnome-pilot/po/da.po gnopo/po/da.po gtranslator/po/da.po
oaf/po/da.po sodipodi/po/da.po

svn path=/trunk/; revision=5620
2000-09-28 16:09:12 +00:00
cfe0317a05 If the startup folder cannot be open, default to the local Inbox.
svn path=/trunk/; revision=5619
2000-09-28 13:35:05 +00:00
362f12e410 Updated Swedish translation.
svn path=/trunk/; revision=5618
2000-09-28 13:00:45 +00:00
303db392fa Don't compile the subscribe control for now, as it needs to be
converted to the new Bonobo UI handler code first.  (It doesn't even
compile with the current Bonobo.)

svn path=/trunk/; revision=5617
2000-09-28 12:40:13 +00:00
62f22b100f Updated Ukrainian translation
svn path=/trunk/; revision=5616
2000-09-28 12:32:07 +00:00
e71de4c021 New function to fold headers.
2000-09-28  Not Zed  <NotZed@HelixCode.com>

        * camel-mime-utils.c (header_fold): New function to fold headers.

2000-09-27  Not Zed  <NotZed@HelixCode.com>

        * camel-mime-parser.c (folder_scan_header): If we had an empty
        header, then it must be end of the headers too.
        (folder_scan_init): No we dont need to init the outbuf with a nul
        terminator.

        * camel-folder-summary.c (camel_folder_summary_set_uid): New
        function to reset the uid to a higher value.

        * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_sync):
        "something failed (yo!)" what sort of crap is this?  Fixed all the
        indenting again, what wanker keeps running stuff through indent?
        (message_info_new): Check the uid we loaded off the disk, if it
        existed already, assign a new one.  If it didn't then make sure
        the nextuid is higher.

        * camel-charset-map.c: New file, used to build a large unicode
        decoding mapping table, and use it to determine what is the
        lowest charset a given word can be encoded with.  Uses tables from
        libunicode's source.

        * camel-internet-address.c (internet_encode): Use
        header_phrase_encode to properly encode the fullname, as required.
        refixed indenting.  Who keeps doing that?
        (camel_internet_address_find_address): Changed fatal return/warnings
        into assertions.

        * camel-mime-utils.c (header_raw_append_parse): Check : explicitly
        (removed from is_fieldname() macro).
        (camel_mime_special_table): Changed to short, so we can represent
        more bit types.
        (quoted_encode): Take a mask of the safe chars for this encoding.
        (header_address_decode): Removed a #warning that makes no sense
        anymore.
        (header_decode_date): Fixed the 'broken date' parser code, if it
        ever decoded it it just threw away the result.
        (header_encode_string): Use better charset matching for encoding
        strings as well.

2000-08-31  Not Zed  <NotZed@HelixCode.com>

        * providers/mh/camel-mh-summary.c (camel_mh_summary_sync): Save
        the index if we do a sync.
        (camel_mh_summary_check): Save the index here too.  Probably.

svn path=/trunk/; revision=5615
2000-09-28 11:31:29 +00:00
18579aa7e0 Updated russian translation.
svn path=/trunk/; revision=5614
2000-09-28 11:31:13 +00:00
315ea376cb Make sure we map the 'free' block to a block number when unlinking a block
2000-09-28  Not Zed  <NotZed@HelixCode.com>

        * block.c (ibex_block_free): Make sure we map the 'free' block to
        a block number when unlinking a block (fixes a lot of assertion
        failures).
        (ibex_block_cache_open): Initialise sync flag on root block.  If
        it is not set on open then the index could be in an invalid state,
        and should be rescanned.
        (ibex_block_cache_sync): Sync root block last, and set the sync
        flag.
        (ibex_block_cache_open): Mirror root block flags in block_cache
        struct.
        (ibex_block_cache_sync): Likewise.
        (ibex_block_read): If we write a dirty block, then we clear the
        sync flag if its still set; we are no longer synced.

svn path=/trunk/; revision=5613
2000-09-28 11:25:16 +00:00
f9a01cf88d new function.
2000-09-27  Chris Toshok  <toshok@helixcode.com>

	* subscribe-control.c (subscribe_refresh_list): new function.

	* subscribe-control.h (subscribe_refresh_list): new prototype.

	* subscribe-control-factory.c (update_pixmaps): add RefreshList
	pixmap.  also, add it to the verbs list.

svn path=/trunk/; revision=5612
2000-09-28 06:48:49 +00:00
3e77ddc856 add an Refresh List button..
2000-09-27  Chris Toshok  <toshok@helixcode.com>

	* ui/evolution-subscribe.xml: add an Refresh List button..

svn path=/trunk/; revision=5611
2000-09-28 06:44:57 +00:00
67c50dc234 add SubscribeControl typedef.
2000-09-27  Chris Toshok  <toshok@helixcode.com>

	* mail-types.h: add SubscribeControl typedef.

	* Makefile.am (evolution_mail_SOURCES): add the subscribe stuff.

	* subscribe-control-factory.h
	* subscribe-control-factory.c
	* subscribe-control.c:
	* subscribe-control.h: Mostly mocked up subscribe ui.

svn path=/trunk/; revision=5610
2000-09-28 00:43:42 +00:00
6c4d416804 add evolution-subscribe.xml.
2000-09-27  Chris Toshok  <toshok@helixcode.com>

	* ui/Makefile.am (XML_FILES): add evolution-subscribe.xml.

	* ui/evolution-subscribe.xml: new file.

svn path=/trunk/; revision=5609
2000-09-28 00:39:09 +00:00
ef97f35231 Return untagged data in a GPtrArray rather than a string, since it saves
* providers/imap/camel-imap-store.c (camel_imap_command_extended):
	Return untagged data in a GPtrArray rather than a string, since it
	saves processing time and is much easier to deal with for several
	commands. Update for camel_imap_folder_changed change.
	(camel_imap_fetch_command): Update for camel_imap_folder_changed
	change.
	(imap_connect, imap_folder_exists): Update for
	camel_imap_command_extended change.

	* providers/imap/camel-imap-folder.c
	(imap_get_message_count_internal,
	imap_get_subfolder_info_internal, imap_search_by_expression):
	Update for camel_imap_command_extended change.

	(imap_get_summary_internal, imap_get_message_info_internal): Use
	camel_imap_fetch_command here now to get around the
	camel_imap_command_extended change.

	(camel_imap_folder_changed): turn expunged into a GArray of ints
	rather than a GPtrArray of strings representing ints.

svn path=/trunk/; revision=5608
2000-09-27 23:55:26 +00:00
6f2839b4d1 Now takes an argument to specify the log file (or NULL if logging is not
2000-09-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-driver.c (filter_driver_run): Now takes an argument to
	specify the log file (or NULL if logging is not to be performed).

svn path=/trunk/; revision=5605
2000-09-27 22:20:05 +00:00
9deac0edb9 Note: We need a configuration option to specify whether to log filtering
2000-09-27  Jeffrey Stedfast  <fejj@helixcode.com>
	Note: We need a configuration option to specify whether to log
	filtering actions or not.

	* mail-ops.c (do_filter_ondemand): Updated to pass a log file
	pointer to filter_driver_run.
	(do_fetch_mail): Same.
	(mail_do_fetch_mail): Fixed a compiler warning.

svn path=/trunk/; revision=5604
2000-09-27 22:19:27 +00:00
98a3ac0e6c *** empty log message ***
svn path=/trunk/; revision=5603
2000-09-27 22:17:19 +00:00
abd6186b37 Fix it so that "send later" will still mark a message as being replied,
2000-09-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-callbacks.c (composer_postpone_cb): Fix it so that "send
	later" will still mark a message as being replied, forwarded,
	whatever. Closes bug #568 on bugzilla.

svn path=/trunk/; revision=5602
2000-09-27 20:20:53 +00:00
0347b891dd If the message has been deleted, don't try filtering it - skip to the next
2000-09-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (do_filter_ondemand): If the message has been
	deleted, don't try filtering it - skip to the next message.
	Fixes bugzilla bug #639.

svn path=/trunk/; revision=5601
2000-09-27 17:54:48 +00:00
1a36cc706e Updated Swedish translation.
svn path=/trunk/; revision=5600
2000-09-27 00:09:37 +00:00
dac353c097 Fudge the location of a click in the tooltip, so that it selects the
2000-09-27  Iain Holmes  <iain@helixcode.com>

        * e-cell-text.c: Fudge the location of a click in the tooltip, so
        that it selects the current cell.
        Pass keyboard events to the e-table.

        * e-table-item.c: Don't show the tooltip if the cell is being editted.
        Also don't destroy the tooltip until the button release event (other
        wise the e-table-item starts a select)

2000-09-25  Iain Holmes  <iain@helixcode.com>

        * e-table-header-item.c (draw_button): Calculate the vertical
        offset correctly to centre text.

2000-09-25  Iain Holmes  <iain@helixcode.com>

        * e-table-header-item.c (ethi_popup_best_fit): Fill this out
        to call the "request_width" signal and set the new size.

svn path=/trunk/; revision=5599
2000-09-26 23:38:22 +00:00
d71561a2ae Added $(EXTRA_GNOME_CFLAGS).
Tue Sep 26 16:48:49 2000  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(EXTRA_GNOME_CFLAGS).

svn path=/trunk/; revision=5597
2000-09-26 20:48:20 +00:00
47db07dee8 Make sure that card->name and card->full_name are always valid.
Tue Sep 26 16:28:47 2000  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card.c: Make sure that card->name and
 	card->full_name are always valid.

	* contact-editor/e-contact-editor.c: Removed some unused
 	variables.

2000-09-22  Matt Bissiri  <bissiri@eecs.umich.edu>

	* contact-editor/e-contact-editor-fullname.c (extract_info): If
	(editor->name == NULL), store ptr to newly allocated ECardName in
 	editor->name, not just in a stack variable.  This fixes a crash
 	which happened when you click "New", then click "Full Name...",
 	then enter name, then click "OK".

	* backend/ebook/e-card.c (e_card_name_to_string): Add
 	g_return_val_if_fail.

svn path=/trunk/; revision=5596
2000-09-26 20:31:38 +00:00
a03e2e7529 Fix a bunch of EShortcutView problems. It's still buggy, but at least
it's usable now.

Also, implemented a "new group" command (which doesn't quite work
right yet for some reason) and a "remove group" one.

svn path=/trunk/; revision=5595
2000-09-26 19:01:28 +00:00
d9f93b90ee Fixed emission for "shortcut_dragged".
svn path=/trunk/; revision=5594
2000-09-26 18:59:29 +00:00
158f590f7e Updated Norwegian translation.
2000-09-26  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.

svn path=/trunk/; revision=5593
2000-09-26 17:59:44 +00:00
7fcd09767d Quote the folder name as it may contain spaces.
2000-09-26  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c
	(imap_get_message_count_internal): Quote the folder name as it may
	contain spaces.
	(imap_get_subfolder_info_internal): Same.

	* providers/imap/camel-imap-utils.c (imap_parse_list_response): Do
	proper unquoting for folder names.
	(func_get_current_date): Implemented.

	* providers/imap/camel-imap-store.c
	(imap_folder_exists): Quote the folder name as it may have spaces.
	(imap_create): Same.
	(check_current_folder): Same.

svn path=/trunk/; revision=5592
2000-09-26 17:25:22 +00:00
ed86d76a07 drag/drop signals need to be added to the same object that is passed to
2000-09-26  Chris Toshok  <toshok@helixcode.com>

	* gal/e-table/e-table.c (e_table_setup_table): drag/drop signals need to be
	added to the same object that is passed to gtk_drag_begin in
	e_table_drag_begin.  namely, the ETable.
	(et_drag_data_received): fix typo - should emit
	TABLE_DRAG_DATA_RECEIVED, not TABLE_DRAG_MOTION.

svn path=/trunk/; revision=5590
2000-09-26 17:10:59 +00:00
190d525a99 Completed the Swedish translation.
svn path=/trunk/; revision=5589
2000-09-26 00:20:50 +00:00
87d8750ba0 Moved the (un)select all menu items over to the Edit menu - this looks
2000-09-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* ui/evolution-mail.xml: Moved the (un)select all menu items over
	to the Edit menu - this looks nicer.

svn path=/trunk/; revision=5588
2000-09-25 23:38:22 +00:00
ffa24114fc Shuffling (un)select all menu items to the Edit menu.
2000-09-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Shuffling (un)select all menu items to
	the Edit menu.

svn path=/trunk/; revision=5587
2000-09-25 23:37:16 +00:00
3d4012f543 Added some new menu items to the Message menu like (un)select all and
2000-09-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* ui/evolution-mail.xml: Added some new menu items to the Message
	menu like (un)select all and moved "mark as read" to the Message
	menu.

svn path=/trunk/; revision=5586
2000-09-25 23:21:27 +00:00
032df17d2c Added new menu items
2000-09-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Added new menu items

	* mail-callbacks.c (mark_as_seen): New callback to mark all
	selected messages as Seen.
	(mark_as_unseen): New callback to mark all selected messages as
	Unseen.
	(select_all): New callback to select all messages (not yet
	finished)
	(unselect_all): New callback to unselect all messages (not yet
	finished)

svn path=/trunk/; revision=5585
2000-09-25 23:20:34 +00:00
bd6bb30bef Function to convert a folder name/path to a filename for per-folder data.
2000-09-25  Not Zed  <NotZed@HelixCode.com>

        * message-list.c (folder_to_cachename): Function to convert a
        folder name/path to a filename for per-folder data.
        (save_tree_state):
        (load_tree_state):
        (free_tree_state): For loading/saving the state of the expansion
        of nodes in the tree.
        (message_list_destroy): Save the tree state when done.
        (save_node_state): Changed logic, we save when the node should be
        closed on startup.  i.e. any new nodes with children automatically
        default to being open.
        (subtree_unread): Check for unread messages in a subtree.  So
        false messages (for tree roots) are properly displayed.

svn path=/trunk/; revision=5584
2000-09-25 22:20:06 +00:00
3efafe586b Updated to use Nat's ENameWestern parser.
2000-09-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* message-list.c (address_compare): Updated to use Nat's
	ENameWestern parser.

	* Makefile.am: link against e-util/ename/libename.la

svn path=/trunk/; revision=5583
2000-09-25 21:49:55 +00:00
3a5399b3af Add the libical include path.
2000-09-25  Federico Mena Quintero  <federico@helixcode.com>

	* Makefile.am (INCLUDES): Add the libical include path.

svn path=/trunk/; revision=5582
2000-09-25 21:47:00 +00:00
daf7310b12 ename moved so link against e-util/ename/libename.la
2000-09-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* Makefile.am: ename moved so link against
	e-util/ename/libename.la

svn path=/trunk/; revision=5581
2000-09-25 20:57:17 +00:00
098953653a add ename as a SUBDIR
2000-09-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* Makefile.am: add ename as a SUBDIR

svn path=/trunk/; revision=5580
2000-09-25 20:47:23 +00:00