Commit Graph

3737 Commits

Author SHA1 Message Date
e201c2da23 Add an icon to the "Print contacts" menu item.
svn path=/trunk/; revision=4638
2000-08-09 05:55:53 +00:00
c7b2533fef Fixed some warnings.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* cal-client/cal-client.c, gui/e-calendar-table.c, pcs/cal.c:
	Fixed some warnings.

svn path=/trunk/; revision=4637
2000-08-09 05:47:32 +00:00
3a7d6735fb Put the print menu item in the right placeholder for consistency.
svn path=/trunk/; revision=4636
2000-08-09 05:47:27 +00:00
7a90b39325 New file to hold auto filter/vfolder stuff.
2000-08-09  Not Zed  <NotZed@HelixCode.com>

        * mail-autofilter.c: New file to hold auto filter/vfolder stuff.

svn path=/trunk/; revision=4635
2000-08-09 05:46:46 +00:00
e7697db4fc Fixed some warnings.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* mail-display.c, mail-format.c, mail-ops.c: Fixed some warnings.

	* message-list.c: Fix the call to e_popup_menu_run to match the
	new signature.

svn path=/trunk/; revision=4634
2000-08-09 05:30:37 +00:00
5bdcadd4cf Use the placeholder for the "Print message..." menu item.
svn path=/trunk/; revision=4633
2000-08-09 05:28:16 +00:00
5a6dd4803e Add a placeholder for the print items in the "File" menu.
svn path=/trunk/; revision=4632
2000-08-09 05:27:58 +00:00
0b5dd5d2ed Fix the NNTP provider's Makefile.am so that it does not use installed
Camel headers before the source ones.  Also, get rid of an unused
variable.

svn path=/trunk/; revision=4631
2000-08-09 05:21:12 +00:00
3c36db8abb Ooops.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-popup-menu.c: Ooops.

svn path=/trunk/; revision=4630
2000-08-09 05:20:05 +00:00
fbf55cd7f3 Added uncompiled e_read_uri function.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added uncompiled e_read_uri function.

svn path=/trunk/; revision=4629
2000-08-09 05:16:53 +00:00
a0522bcc25 Changed e_popup_menu_run call to match the new arguments.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-item.c: Changed e_popup_menu_run call to match
	the new arguments.

svn path=/trunk/; revision=4628
2000-08-09 05:15:14 +00:00
44628427f8 Changed e_popup_menu_run call to match the new arguments.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.c, gui/minicard/e-minicard.c: Changed
	e_popup_menu_run call to match the new arguments.

	* gui/component/addressbook.oafinfo: Fixed this file to work
	properly.

	* gui/minicard/e-minicard-control.c: Use the correct oafinfo ID
	here.  Also cleaned up the code a bit with the help of Michael
	Meeks.

svn path=/trunk/; revision=4627
2000-08-09 05:13:35 +00:00
37f85438b2 use x-evolution-any-field.
2000-08-08  Chris Toshok  <toshok@helixcode.com>

	* gui/component/e-addressbook-model.c (e_addressbook_model_init):
	use x-evolution-any-field.

	* gui/component/addressbook.c (search_entry_activated): use
	x-evolution-any-field.
	(change_view_type): same.

	* gui/minicard/e-minicard-view.c (e_minicard_view_init): set query
	to x-evolution-any-field.

	* backend/pas/pas-backend-ldap.c (func_contains): support
	x-evolution-any-field for matching any evolution supported field.

	* backend/pas/pas-backend-file.c (compare_email): switch to using
	ECardSimple calls.
	(compare_phone): same.
	(compare_address): same.
	(entry_compare): switch to using ECardSimple calls, and support a
	'x-evolution-any-field' wildcard field.
	(vcard_matches_search): use an ECardSimple.

svn path=/trunk/; revision=4626
2000-08-09 05:12:19 +00:00
e367caf042 Added a hide_mask argument to the two popup menu functions.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-popup-menu.c, e-popup-menu.h: Added a hide_mask argument to
	the two popup menu functions.

svn path=/trunk/; revision=4625
2000-08-09 05:10:40 +00:00
0efeeb2a5d Attached a double_click signal handler (on_double_click): Our lovely new
2000-08-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* message-list.c (message_list_init): Attached a double_click
	signal handler
	(on_double_click): Our lovely new double_click callback. Will
	display the current selected message in a new window

svn path=/trunk/; revision=4624
2000-08-09 04:11:34 +00:00
f4a16f3c8d Basic framework for saving the size of the vpaned in the main message view
svn path=/trunk/; revision=4623
2000-08-09 03:19:08 +00:00
520a2e89aa Added void as an argument to functions not needing any parameters to avoid
2000-08-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config.h: Added void as an argument to functions not
	needing any parameters to avoid compile warnings.

svn path=/trunk/; revision=4622
2000-08-09 02:16:03 +00:00
491b3c3c77 Value for threaded list view is now saved via gnome-config. This means that you can FINALLY shut off the threaded view once and for all :)
svn path=/trunk/; revision=4621
2000-08-09 02:06:20 +00:00
6d34729106 Attach a signal handler to call the "changed" function when the user
* mail-config-gui.c (service_page_item_new): Attach a signal
	handler to call the "changed" function when the user clicks the
	"keep on server" checkbox.

svn path=/trunk/; revision=4620
2000-08-09 01:56:51 +00:00
b9a9cd3a86 New convenience function with params of a normal Gtk callback function. We
2000-08-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (view_msg): New convenience function with params of a
	normal Gtk callback function. We also now create a new
	FolderBrowser object so that the message-view window isn't tied to
	the display in the main window
	(view_message): Now calls view_msg (this function is a bonobo
	callback and can't be used with gtk widgets)
	(edit_msg): Same idea as view_msg()
	(edit_message): Again, same as view_message()

	* message-list.c (on_right_click): Callback for creating an
	e-popup-menu
	(message_list_init): Added a right_click event to trigger a pop-up
	menu to be displayed

svn path=/trunk/; revision=4619
2000-08-09 01:09:55 +00:00
4b65801638 Reorder search result in summary order if we searched with a summary.
2000-08-09  Not Zed  <NotZed@HelixCode.com>

        * camel-folder-search.c (camel_folder_search_execute_expression):
        Reorder search result in summary order if we searched with a
        summary.

svn path=/trunk/; revision=4618
2000-08-09 00:40:03 +00:00
01f333dee5 Add "Don't delete messages from server" button to remote SOURCEs that
* mail-config-gui.c: Add "Don't delete messages from server"
	button to remote SOURCEs that aren't STORAGEs (ie, POP).
	(provider_list): Only list SOURCEs. (ie, not mh)

	* mail-config.c: Save/load "keep_on_server" flag.

	* mail-ops.c (fetch_remote_mail): New function, split out of
	real_fetch_mail. Deals with copying mail from a remote server into
	a temporary mbox, possibly using a CamelUIDCache to leave the
	messages on the server.

svn path=/trunk/; revision=4617
2000-08-09 00:13:32 +00:00
234e613bc3 New code to keep an on-disk cache of what UIDs have been seen in a folder.
* camel-uid-cache.c: New code to keep an on-disk cache of what
	UIDs have been seen in a folder.

	* camel-provider.h: Add new flags CAMEL_PROVIDER_IS_SOURCE (mail
	can arrive in it by non-Camel means) and CAMEL_PROVIDER_IS_STORAGE
	(you can work with mail directly without needing to copy it local).

	* providers/*/camel-*-provider.c: Add flags as needed: imap and
	mbox are SOURCE and STORAGE. mh and nntp are just STORAGE, pop3 is
	just SOURCE.

	* camel-mime-message.c (process_header): Add another subject
	g_strstrip that fejj's earlier commit missed.

svn path=/trunk/; revision=4616
2000-08-09 00:07:56 +00:00
ffaebb53fe Fix some compiler warnings.
* mail-crypto.c, mail-format.c, message-thread.c: Fix some
	compiler warnings.

svn path=/trunk/; revision=4615
2000-08-08 23:37:31 +00:00
14e163207e Added a get_objects_in_range() method. Takes in a time range and the type
2000-08-08  Federico Mena Quintero  <federico@helixcode.com>

	* idl/evolution-calendar.idl (Cal): Added a get_objects_in_range()
	method.  Takes in a time range and the type of component we are
	interested in; returns a list of UIDs.  The idea is that
	ocurrences get computed in the client; we can have multiple
	recurrences in iCalendar and we cannot identify them trivially
	across the wire.
	(Cal): Removed the get_events_in_range() method.

	* pcs/cal-backend.c (cal_backend_free_uid_list): New function.
	(cal_backend_get_objects_in_range): New function.
	(cal_backend_get_events_in_range): Removed.

	* pcs/cal-backend-file.c (cal_backend_file_get_objects_in_range):
	Implemented new method.
	(cal_backend_file_get_events_in_range): Removed.

	* pcs/cal.c (Cal_get_events_in_range): Removed.
	(uncorba_obj_type): New function.
	(Cal_get_uids): Use uncorba_obj_type().
	(Cal_get_n_objects): Likewise.
	(Cal_get_objects_in_range): Implemented new method.

	* cal-client/cal-client.c (cal_client_get_events_in_range): Removed.
	(cal_client_get_objects_in_range): Implemented.
	(corba_obj_type): New function.
	(cal_client_get_n_objects): Use corba_obj_type().
	(cal_client_get_uids): Likewise.

svn path=/trunk/; revision=4613
2000-08-08 22:39:13 +00:00
9734f4252d Fix up format of addresses. (write_headers): Use CamelAddress functions to
* mail-format.c (mail_generate_reply): Fix up format of addresses.
	(write_headers): Use CamelAddress functions to simplify this.

svn path=/trunk/; revision=4606
2000-08-08 20:45:36 +00:00
aae247db3d Removing old cruft - Federico
svn path=/trunk/; revision=4603
2000-08-08 19:14:19 +00:00
f0c7677a42 Lets get rid of the last separator in the toolbar until we add n/p
2000-08-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-view.c: Lets get rid of the last separator in the toolbar
	until we add n/p

svn path=/trunk/; revision=4601
2000-08-08 18:29:03 +00:00
9951ed2421 Add another subject g_strstrip that fejj's earlier commit missed.
* camel-mime-message.c (process_header): Add another subject
	g_strstrip that fejj's earlier commit missed.

svn path=/trunk/; revision=4596
2000-08-08 16:28:43 +00:00
1c2ad0f89d Move mail_config_init after session_init, since it depends on
* main.c (main): Move mail_config_init after session_init, since
	it depends on evolution_dir being set.

svn path=/trunk/; revision=4595
2000-08-08 16:12:45 +00:00
d48034f143 Check for ~/evolution/shortcuts.xml in addition to ~/evolution, to make
* e-setup.c (e_setup): Check for ~/evolution/shortcuts.xml in
	addition to ~/evolution, to make sure it's really the directory
	we're expecting it to be. Also, convert from old-style config file
	to new-style config directory.

svn path=/trunk/; revision=4594
2000-08-08 15:53:29 +00:00
ec85db2742 Updated russian translation.
svn path=/trunk/; revision=4593
2000-08-08 08:14:52 +00:00
8fed71251f Fix build by allowing includes for e-table dir
2000-08-08  JP Rosevear  <jpr@helixcode.com>

	* Makefile.am: Fix build by allowing includes for e-table dir

2000-08-08  JP Rosevear  <jpr@helixcode.com>

	* mail-ops.c (check_configured): Use config accessors
	(fetch_mail): ditto
	(composer_send_cb): ditto
	(create_msg_composer): ditto

	* mail-config-gui.h: Update API

	* mail-config.h: Update API

	* mail-config.c: Add accessor functions
	(mail_config_is_configured): accessor function
	(mail_config_get_default_identity): ditto
	(mail_config_get_default_source): ditto
	(mail_config_get_transport): ditto
	(mail_config_send_html): ditto
	(identity_copy): Make public
	(identity_destroy): ditto
	(identity_destroy_each): ditto
	(service_copy): ditto
	(service_destroy): ditto
	(service_destroy_each): ditto
	(mail_config_init): Rename from init_config and make public
	(mail_config_clear): Rename from clear_config and make public
	(mail_config_read): Rename from read_config and make public
	(mail_config_write): Reanme from write_config and make public

	* main.c (main): Call mail_config_init.

	* mail.h: Include mail-config-gui.h

	* mail-config-gui.c: Move config gui stuff here.
	(source_dialog): Kill memory leak from debug leftovers.
	Make sure returned source is NULL by default

svn path=/trunk/; revision=4592
2000-08-08 07:08:48 +00:00
b9eece78e6 Redone to show a dialogue first, and show progress of whats happening as
2000-08-07  Not Zed  <NotZed@HelixCode.com>

        * mail-local.c (local_reconfigure_folder): Redone to show a
        dialogue first, and show progress of whats happening as its done.

        * Makefile.am (glade_DATA): Added local-config.glade, for mailbox
        reconfig dialogue.

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

        * folder-browser.c (mail_uri_to_folder): Use local_uri_to_folder()
        for local uri's (file://).

        * mail-local.c (local_uri_to_folder): Handle looking up folder
        storage type before opening the store/folder.
        (local_reconfigure_folder): Function to reconfigure the format of
        a local mailbox into another storage format.

        * Makefile.am (evolution_mail_SOURCES): Added mail-local.c and
        missing mail-vfolder.h.

svn path=/trunk/; revision=4591
2000-08-08 03:55:11 +00:00
a7943ce5a4 Only retry another uid if we had a name clash, otherwise fail.
2000-08-07  Not Zed  <NotZed@HelixCode.com>

        * providers/mh/camel-mh-folder.c (mh_append_message): Only retry
        another uid if we had a name clash, otherwise fail.

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

        * camel-url.c (camel_url_set_protocol):
        (camel_url_set_host):
        (camel_url_set_path):
        (camel_url_set_port): Url editing functions.

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

        * providers/mh/camel-mh-summary.c (camel_mh_summary_sync): Expunge
        from the end, so the index isn't messed up when you remove a
        message.

        * providers/mh/camel-mh-folder.c (mh_append_message): Fix a bug
        where it would never open an output file/uid.

        * providers/mbox/camel-mbox-store.c (rename_folder):
        Implementation for mbox as well.

        * camel-store.c (camel_store_rename_folder): New method to rename folders.
        (rename_folder): Default implementation.

        * providers/mh/camel-mh-store.c (delete_folder): Implement this.
        (rename_folder): Implement a rename operation.

svn path=/trunk/; revision=4590
2000-08-08 03:42:47 +00:00
ac94f697a5 New function. (cal_component_get_icalcomponent): Ensure that the SEQUENCE
2000-08-07  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_clone): New function.
	(cal_component_get_icalcomponent): Ensure that the SEQUENCE
	property does not need incrementing.

	* gui/dialogs/alarm-notify-dialog.c (alarm_notify_dialog): Use
	CalComponent.  Deal with an empty summary property.

svn path=/trunk/; revision=4589
2000-08-08 02:55:29 +00:00
573ea91f0c Added mail-view.c
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* Makefile.am: Added mail-view.c

	* folder-browser-factory.c (control_activate): Adda menu item for
	viewing the message

	* mail-view.c: New file containing methods for viewing messages in
	separate windows

	* mail-ops.c (view_message): New callback for viewing messages in
	a new window.

svn path=/trunk/; revision=4588
2000-08-08 02:08:44 +00:00
5428d055d1 Removed the next and prev toolbar buttons since they don't do anything.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor.c: Removed the next and prev
	toolbar buttons since they don't do anything.

svn path=/trunk/; revision=4586
2000-08-07 22:19:10 +00:00
4de1f796a4 Big sync. Disable calendar compilation for a few hours - Federico
2000-08-07  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_get_as_string): Doh,
	libical owns the string's memory, so do not free it.

	* cal-client/client-test.c (create_client): Connect to the destroy
	signal of the client here.

	* cal-client/test.ics: New test file, modified from Eric Busboom's
	test file from RFC 2445.

2000-08-05  Federico Mena Quintero  <federico@helixcode.com>

	* cal-client/client-test.c (dump_component): This was gone for
	some reason.
	(main): Load a new test file.

2000-08-04  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_commit_sequence): New
	function to commit changes to the SEQUENCE property.
	(cal_component_get_as_string): Ensure that the sequence has been
	committed.

	* cal-client/cal-client.c (cal_client_get_object): Use
	CalComponent instead of the old iCalObject.
	(cal_client_update_object): Use iCalObject.  Commit the SEQUENCE
	property before stringifying the object and piping it over to the
	Wombat.

svn path=/trunk/; revision=4585
2000-08-07 21:38:28 +00:00
3d4dc806bf New function to replace real_create_imap_storage and
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* component-factory.c (real_create_generic_storage): New function
	to replace real_create_imap_storage and real_create_news_storage
	(create_imap_storage): Updated.
	(create_news_storage): Updated.

svn path=/trunk/; revision=4584
2000-08-07 21:16:09 +00:00
22381481e9 Fixed the tab order to not repeat the web page address field.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/contact-editor.glade,
	contact-editor/e-contact-editor.c: Fixed the tab order to not
	repeat the web page address field.

svn path=/trunk/; revision=4583
2000-08-07 20:39:03 +00:00
35bb85fdf6 If we are trying to get a subfolder listing of the root folder, always
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c
	(imap_get_subfolder_names_internal): If we are trying to get a
	subfolder listing of the root folder, always make sure INBOX is
	there...

	* providers/imap/camel-imap-utils.c (imap_parse_list_response):
	Check for NIL as a directory separator.

svn path=/trunk/; revision=4582
2000-08-07 20:32:27 +00:00
03baf85a6a Fixed the tab order for this dialog.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor.c: Fixed the tab order for this
	dialog.

svn path=/trunk/; revision=4581
2000-08-07 20:21:41 +00:00
5b1da3b439 Added e_container_change_tab_order.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* e-gui-utils.c, e-gui-utils.c: Added
	e_container_change_tab_order.

svn path=/trunk/; revision=4580
2000-08-07 20:20:37 +00:00
12f903a3b0 Added missing files that are in the build. Updated Norwegian translation.
2000-08-07  Kjartan Maraas  <kmaraas@gnome.org>

	* POTFILES.in: Added missing files that are in the build.
	* no.po: Updated Norwegian translation.

svn path=/trunk/; revision=4579
2000-08-07 20:11:09 +00:00
ffaf27e71d Added missing files that are in the build. Updated Norwegian translation.
2000-08-07  Kjartan Maraas  <kmaraas@gnome.org>

	* POTFILES.in: Added missing files that are in the build.
	* no.po: Updated Norwegian translation.

svn path=/trunk/; revision=4578
2000-08-07 20:01:45 +00:00
4b8cb90548 updated russian translation.
2000-08-07  Valek Filippov  <frob@df.ru>

	* ru.po: updated russian translation.

svn path=/trunk/; revision=4577
2000-08-07 19:23:50 +00:00
cdb87d2e0a Strip all \n's from the expression
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-utils.c (imap_translate_sexp): Strip
	all \n's from the expression

	* string-utils.c (strip): New convenience function to strip
	occurences of a single char from a string

svn path=/trunk/; revision=4576
2000-08-07 18:54:15 +00:00
0a9fdd8842 s/strncasecmp/g_strncasecmp
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-display.c:
	* component-factory.c: s/strncasecmp/g_strncasecmp

	* mail-format.c (write_headers): Get rid of kludge around subject
	beginning with spaces.
	(mail_generate_reply): Get rid of kludge around subject beginning
	with spaces and also use g_strncasecmp instead of strncasecmp for
	portability

	* mail-ops.c (forward_msg): Get rid of kludges around subject
	beginning with spaces.

svn path=/trunk/; revision=4575
2000-08-07 18:32:55 +00:00
f433ddf7b2 s/strcasecmp/g_strcasecmp
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-attachment-bar.c (attach_to_multipart):
	s/strcasecmp/g_strcasecmp

svn path=/trunk/; revision=4574
2000-08-07 18:28:51 +00:00