Commit Graph

8344 Commits

Author SHA1 Message Date
bb6a06a3cb Create new files for the folder commands, and move the "Create new
folder" implementation into them.

svn path=/trunk/; revision=9889
2001-05-19 12:40:00 +00:00
e2edef6e5e Modify `e_gethostbyname_r()' so that it doesn't report an error if the
5-argument `gethostbyname_r()' returns a non-NULL hostent and a
nonzero herr.

This fixes the "Cannot resolve localhost" error on GNU/Linux with libc
2.2.x.

svn path=/trunk/; revision=9888
2001-05-19 12:38:39 +00:00
040905c9a2 Updated Japanese translation.
2001-05-19  Akira TAGOH  <tagoh@gnome.gr.jp>

	* ja.po: Updated Japanese translation.

svn path=/trunk/; revision=9887
2001-05-19 10:06:35 +00:00
98c32c5c11 Fix bug #2829.
2001-05-18  Federico Mena Quintero  <federico@ximian.com>

	Fix bug #2829.

	* gui/dialogs/delete-comp.c (delete_component_dialog): Allow the
	caller to specify whether just one or many components are to be
	deleted.

	* gui/e-calendar-table.c (tasks_popup_one): Popup menu definition
	for when one and only one task is selected.
	(tasks_popup_many): Likewise, for more than one task.
	(e_calendar_table_on_right_click): Do not create a structure for
	the closure data; we can simply pass the cal_table.  Use a
	different menu depending on the number of selected tasks.
	(mark_as_complete_cb): Renamed; now iterates over the selected
	rows.
	(delete_selected_components): New function to delete all the
	selected components.
	(delete_cb): Adjusted for delete_component_dialog().
	(open_task): New function, simply open a CalComponent in the task
	editor.
	(open_task_by_row): Renamed; use open_task().

	* gui/e-week-view.c (e_week_view_on_delete_appointment): Updated
	for delete_component_dialog().

	* gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise.

svn path=/trunk/; revision=9886
2001-05-19 03:05:25 +00:00
0289b86035 Added a lot of new content. Fixed old content. Validated. Still need to
2001-05-18  Aaron Weber  <aaron@ximian.com>

	* C/menuref.sgml: Added a lot of new content. Fixed old
	content. Validated. Still need to smooth the relation of this
	section with the preface.

2001-05-16  Aaron Weber  <aaron@ximian.com>

	* C/preface.sgml: Changed to include t-shirt offer for feedback.

svn path=/trunk/; revision=9885
2001-05-19 01:37:14 +00:00
9a308f2b93 Added two questions about importing Outlook (text from Iain). Fixed some
2001-05-18  Duncan Mak  <duncan@ximian.com>

	* C/evolution-faq.sgml: Added two questions about importing
	Outlook (text from Iain).
	Fixed some tags and cleaned up a bit here and there.

svn path=/trunk/; revision=9884
2001-05-18 21:40:38 +00:00
07621af19c Added items to the `File -> Folder' submenu.
svn path=/trunk/; revision=9883
2001-05-18 17:18:04 +00:00
d4a2e9f382 Do a better job constructing match strings, so we never try to use a
2001-05-18  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(match_name): Do a better job constructing match strings, so we
	never try to use a segment of the name that isn't there (resulting
	in ugly (null)'s in the string).  Boost our score if some part of
	the name also matches the front part of the e-mail address, so the
	name match will always trump the e-mail match.

svn path=/trunk/; revision=9882
2001-05-18 17:09:31 +00:00
7cffbe65d1 Added a question about the need for write permissions on
/var/spool/mail.

svn path=/trunk/; revision=9881
2001-05-18 15:39:27 +00:00
e810e08bca Added a question about the need for write permissions on
/var/spool/mail.

svn path=/trunk/; revision=9880
2001-05-18 15:15:18 +00:00
6e09232239 small update
svn path=/trunk/; revision=9879
2001-05-18 13:23:54 +00:00
3ca3f79dbe Return the serialized EDestinations (rather than just a string w/ e-mail
2001-05-18  Jon Trowbridge  <trow@ximian.com>

        * gui/component/select-names/e-select-names-bonobo.c
        (entry_get_property_fn): Return the serialized EDestinations
        (rather than just a string w/ e-mail addresses) through the bonobo
        component's property bag.

        * gui/component/select-names/e-select-names-model.c
        (e_select_names_model_export_destinationv): Added.  A convenience routine
        for serializing the model's EDestinations into a string.

        * gui/component/select-names/e-select-names-popup.c
        (add_html_mail): Added.  Puts in a check menu item for whether or
        not the recipient wants HTML mail.
        (popup_menu_card): Add menu item for HTML mail.  Enable edit
        contact info item.
        (popup_menu_nocard): Add menu item for HTML mail.  Enable edit
        contact info item.

        * backend/ebook/e-book-util.c (e_book_use_local_address_book):
        Added.  Fetches the local addressbook and caches it on the first
        call.  This is meant to be an easy and efficient way to get at the
        local addressbook with the minimum of code.
        (e_book_query_address_locally): Added.  Convenience code that
        does an e-mail only e_book_name_and_email_query against the
        local address book.

        * backend/ebook/e-destination.c
        (e_destination_set_html_mail_pref): Added.  Allows the intended
        recipient's HTML mail preference to be manipulated.
        (e_destination_get_email_verbose): Added.  Cleaned up to use
        e_destination_get_name.
        (e_destination_get_html_mail_pref): Added.  Read the recipient's HTML mail
        preference.  If the destination is linked to a card, the
        preference is taken from the card (unless it has been explicitly
        overridden by a called to e_destination_set_html_mail_pref).
        (e_destination_get_address_textv): Added.  Form a unified address string
        from a NULL-terminated vector of EDestinations.
        (e_destination_export): Added.  Serialize an EDestination to a string.
        (e_destination_import): Added.  Unserialize a string to build an
        EDestination.
        (e_destination_exportv): Added.  Serialize a NULL-terminated vector of
        EDestinations to a string.
        (e_destination_importv): Added.  Unserialize a string to build a
        NULL-terminated vector of EDestinations.

        * gui/component/select-names/e-select-names-completion.c:
        Implemented local versions of g_strcasecmp and g_strncasecmp
        (which should really be in glib, I think...) for utf8, and used
        them to make this code utf8-safe.

2001-05-18  Jon Trowbridge  <trow@ximian.com>

        * Makefile.am (evolution_mail_LDADD): Added libebook.la (which is
        now required by the composer.)

2001-05-18  Jon Trowbridge  <trow@ximian.com>

        * e-msg-composer-hdrs.c (set_recipients): Properly unserialize the
        string returned by the "text" property of the bonobo control,
        convert it into EDestinations, and use them to get the e-mail
        addresses of our recipients.

22001-05-18  Jon Trowbridge  <trow@ximian.com>

        * Makefile.am (SUBDIRS): Changed build order.  Now addressbook
        gets built before mail.

svn path=/trunk/; revision=9878
2001-05-18 07:10:04 +00:00
c8476fc1ff Updated Slovenian translation
svn path=/trunk/; revision=9877
2001-05-17 23:52:53 +00:00
fce0233ba9 no more ContactFind command.
2001-05-17  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (update_command_state): no more
	ContactFind command.

svn path=/trunk/; revision=9876
2001-05-17 23:42:30 +00:00
e49a1ffb39 add <commands> for the toolbar/menu items we set the sensitivity on.
2001-05-17  Chris Toshok  <toshok@ximian.com>

	* evolution-addressbook.xml: add <commands> for the toolbar/menu
	items we set the sensitivity on.

svn path=/trunk/; revision=9875
2001-05-17 23:32:32 +00:00
bb0671f820 add our selection_change signal. (e_minicard_view_widget_realize): connect
2001-05-17  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-view-widget.c
	(e_minicard_view_widget_class_init): add our selection_change
	signal.
	(e_minicard_view_widget_realize): connect to the ESelectionModel's
	selection_changed signal.
	(e_minicard_view_widget_selected_count): new function.
	(selection_change): new function - emit our "selection_change"
	signal.

	* gui/widgets/e-minicard-view-widget.h (struct
	_EMinicardViewWidgetClass): add selection_change signal.  also,
	add prototype for e_minicard_view_widget_selected_count.  *
	gui/widgets/e-addressbook-view.c

	(e_addressbook_view_class_init): add our command_state_change
	signal.
	(e_addressbook_view_init): connect to the writable_status signal
	on the EAddressbookModel.
	(minicard_selection_change): new function - calls
	command_state_change.
	(create_minicard_view): connect to selection_change on the
	minicard_view so we know when to update command state.
	(table_selection_change): new function - calls
	command_state_change.
	(writable_status): new function - calls command_state_change.
	(command_state_change): new function - emits our
	"command_state_change" signal.
	(create_table_view): connect to the selection_change signal so we
	know to update the command state.
	(change_view_type): update the command state every time we change
	view types.
	(e_addressbook_view_can_create): new function.
	(e_addressbook_view_can_print): new function.
	(e_addressbook_view_can_delete): new function.
	(e_addressbook_view_can_stop): new function.

	* gui/widgets/e-addressbook-view.h (struct
	_EAddressbookViewClass): add command_state_change signal, and
	prototypes of functions the component can use to test the state of
	commands.

	* gui/widgets/e-addressbook-model.c (addressbook_destroy): unlink
	the writable_status signal on the EBook.
	(writable_status): new function.
	(e_addressbook_model_class_init): add our writable_status signal.
	(e_addressbook_model_init): init writable_status_id.
	(e_addressbook_model_set_arg): unlink the writable_status signal
	on the old EBook, and connect it on the new one.

	* gui/widgets/e-addressbook-model.h: add writable_status signal.

	* gui/component/addressbook.c (update_command_state): new
	function, set the sensitivity of the bonobo commands.
	(control_activate): update our command state immediately upon
	activating the control.
	(addressbook_factory_new_control): register command_state_change
	to update the commands.

svn path=/trunk/; revision=9874
2001-05-17 23:30:57 +00:00
e435c042d0 mark Outbox messages as read.
* mail-callbacks.c (composer_postpone_cb): mark Outbox messages as
	read.

svn path=/trunk/; revision=9873
2001-05-17 18:52:47 +00:00
70c02ec888 New convenience function for all signature verification functions to use
2001-05-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_write_authenticity): New convenience
	function for all signature verification functions to use to
	display whether or not the signed part was authentic.
	(try_inline_pgp_sig): Use mail_write_authentic().
	(handle_multipart_signed): Add code to handle S/MIME
	multipart/signed parts and also use mail_write_authenticity().

svn path=/trunk/; revision=9872
2001-05-17 18:51:17 +00:00
7dac398365 Draft messages should be marked read.
* e-msg-composer.c (save_draft): Draft messages should be marked
	read.

svn path=/trunk/; revision=9871
2001-05-17 18:50:09 +00:00
0fe9b43f9a add new icons from jimmac
* mail-config.glade: add new icons from jimmac

svn path=/trunk/; revision=9870
2001-05-17 16:21:59 +00:00
10c364140e missed one
svn path=/trunk/; revision=9869
2001-05-17 16:20:17 +00:00
0eadef9b04 Install Jakub's new icons
* Makefile.am (images_DATA): Install Jakub's new icons

svn path=/trunk/; revision=9868
2001-05-17 16:12:15 +00:00
ff02cf593c Change the code to pop-up the folder context menu to use the stuff
already defined in the UI xml file for the shell views.

svn path=/trunk/; revision=9867
2001-05-17 13:43:54 +00:00
3f50ef47d5 Reformat a bit and add the folder context menu definition.
svn path=/trunk/; revision=9866
2001-05-17 13:33:03 +00:00
320c38c612 mail config druid icons
svn path=/trunk/; revision=9865
2001-05-17 12:54:15 +00:00
3ce07335d2 Removed editor-page.[ch]
svn path=/trunk/; revision=9864
2001-05-17 00:34:10 +00:00
7c76386907 The service can be NULL here too, thanks to Wayne Davis for pointing this
2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-session.c (camel_session_forget_password): The service can
	be NULL here too, thanks to Wayne Davis for pointing this out.

svn path=/trunk/; revision=9863
2001-05-17 00:34:02 +00:00
b18ddb9751 *** empty log message ***
svn path=/trunk/; revision=9862
2001-05-17 00:32:25 +00:00
f00e936738 Split the event and task editors into different objects for the separate
2001-05-16  Federico Mena Quintero  <federico@ximian.com>

	Split the event and task editors into different objects for the
	separate pages; this way they can be shared by both editors.

	* gui/dialogs/editor-page.[ch]: New abstract class for a page in a
	calendar component editor.

	* gui/dialogs/event-page.[ch]: Main page of an event editor.

	* gui/dialogs/alarm-page.[ch]: Alarm page of a calendar component
	editor.

	* gui/dialogs/recurrence-page.[ch]: Recurrence page of a calendar
	component editor.

	* gui/dialogs/event-page.c (event_page_fill_widgets): Eeek, this
	was missing a bunch of break statements.
	(event_page_fill_component): Use a temporary variable rather than
	allocating a struct icaltimetype.

	* gui/dialogs/alarm-page.c (get_alarm_string): Do not use
	fixed-size buffers.
	(alarm_page_fill_widgets): Use cal_obj_uid_list_free().
	(append_reminder): Now the list stores the plain CalComponentAlarm
	structures in the row data.  We do *NOT* want to be frobbing the
	component's data directly.  Rather, we clone the alarms from the
	component and maintain them on our own.
	(alarm_page_fill_component): Clone the alarms before adding them
	to the component so that we maintain the invariant that the alarm
	structures in the list did *not* come from the component.

	* cal-util/cal-component.c (cal_component_add_alarm): Added
	documentation.
	(cal_component_remove_alarm): Added documentation.
	(cal_component_remove_alarm): Do a lookup in our hash table of
	alarms instead of scanning the whole component.
	(CalComponentAlarm): Removed the `parent' field, since it was
	unused.
	(cal_component_free_alarm_uids): Removed function, since
	cal_component_get_alarm_uids() is documented so that the user will
	know that he must use cal_obj_uid_list_free().
	(cal_component_alarm_clone): New function.

svn path=/trunk/; revision=9861
2001-05-16 23:38:58 +00:00
d0243a9182 add E_TEXT_TO_HTML_ESCAPE_8BIT to the flags
* mail-format.c (mail_format_raw_message): add
	E_TEXT_TO_HTML_ESCAPE_8BIT to the flags

svn path=/trunk/; revision=9860
2001-05-16 22:31:49 +00:00
23bcf6e31a add E_TEXT_TO_HTML_ESCAPE_8BIT to turn non-US-ASCII characters into "?"s.
* e-html-utils.c (e_text_to_html_full): add
	E_TEXT_TO_HTML_ESCAPE_8BIT to turn non-US-ASCII characters into
	"?"s.

svn path=/trunk/; revision=9859
2001-05-16 22:30:44 +00:00
1849ce6cd2 Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt.
2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Added S/MIME sign/encrypt code.
	(init): Initalize smime_sign/encrypt.
	(e_msg_composer_get_smime_encrypt): new
	(e_msg_composer_set_smime_encrypt): new
	(e_msg_composer_get_smime_sign): new
	(e_msg_composer_set_smime_sign): new
	(menu_security_smime_sign_cb): new
	(menu_security_smime_encrypt_cb): new
	(setup_ui): Setup the UI for S/MIME stuff.

svn path=/trunk/; revision=9858
2001-05-16 21:52:49 +00:00
7031a911d7 Functions to determine if a folderbrowser is one of the drafts, sent, or
* folder-browser.c (folder_browser_is_drafts,
	folder_browser_is_sent, folder_browser_is_outbox): Functions to
	determine if a folderbrowser is one of the drafts, sent, or outbox
	folders.
	(got_folder): Pass TRUE for the "outgoing" flag to
	message_list_set_folder if this is a Sent, Drafts, or Outbox
	folder.

	* message-list.c (message_list_set_folder): Take a flag saying
	whether or not the folder is an "outgoing" folder.
	(message_list_setup_etree): Ditto. Use that rather than a
	hardcoded list of foldernames for deciding whether to swap From
	and To in the default layout.

	* mail-config.c (mail_config_folder_to_cachename): Make IMAP
	folders have unique cachenames rather than only one per store, so
	that IMAP Sent and Drafts folders don't get forced into having the
	same layout as the INBOX.

	* mail-callbacks.c: (is_sent_folder, is_drafts_folder): Gone.
	Replaced with simpler folder_browser_is_* routines.
	(edit_msg, resend_msg, open_msg): Use folder_browser_is_*
	routines.

	* mail-local.c (reconfigure_clicked): Update call to
	message_list_set_folder.

svn path=/trunk/; revision=9857
2001-05-16 21:40:52 +00:00
d8fcf58700 Removed (this now exists in camel/camel-smime.c).
2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (mail_crypto_is_smime_v3_signed): Removed (this
	now exists in camel/camel-smime.c).
	(mail_crypto_is_pkcs7_mime): Same.
	(mail_crypto_smime_part_sign): new
	(mail_crypto_smime_part_verify): new
	(mail_crypto_smime_part_encrypt): new
	(mail_crypto_smime_part_decrypt): new
	(mail_crypto_pgp_mime_part_sign): Added code to set an exception
	if the context fails to be created.
	(mail_crypto_pgp_mime_part_verify): And here...
	(mail_crypto_pgp_mime_part_encrypt): Same.
	(mail_crypto_pgp_mime_part_decrypt): And here too.

svn path=/trunk/; revision=9856
2001-05-16 21:33:17 +00:00
ae9d99bda3 We don't need to be passed the certdb path anymore.
2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-smime-context.c (camel_smime_context_new): We don't need
	to be passed the certdb path anymore.

svn path=/trunk/; revision=9855
2001-05-16 21:23:20 +00:00
434c0c8ca5 Added S/MIME menu items.
2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-message-composer.xml: Added S/MIME menu items.

svn path=/trunk/; revision=9854
2001-05-16 21:08:05 +00:00
8e68e9ce08 Build the GnomeCard importer
svn path=/trunk/; revision=9853
2001-05-16 20:48:26 +00:00
ea3a7ec75e Remove importers/evolution-gnomecard-importer.c
2001-05-16  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: Remove importers/evolution-gnomecard-importer.c

svn path=/trunk/; revision=9852
2001-05-16 19:32:44 +00:00
52bbd2e621 Fixed Grammar, edited a few answers, did the vfolder thing.
svn path=/trunk/; revision=9851
2001-05-16 19:00:40 +00:00
866d1a8d52 Deal with full-header mode in addition to source mode
* mail-display.c (mail_display_redisplay): Deal with full-header
	mode in addition to source mode

	* mail-format.c (write_field_row_begin): Add WRITE_NOCOLUMNS flag
	to write the header in a single table cell rather than two. Output
	the second columns's "<td>" when not in NOCOLUMNS mode. Don't
	include the ":" in the passed-in header name.
	(write_date, write_address): Update for write_field_row_begin
	changes.
	(write_text_field): Genericified and updated from write_subject.
	(write_headers): Deal with both normal and full-header mode.

svn path=/trunk/; revision=9850
2001-05-16 18:30:16 +00:00
71002d1544 New function to return an array of all headers.
* camel-medium.c (camel_medium_get_headers): New function to
	return an array of all headers.
	(camel_medium_free_headers): And free them.

	* camel-mime-part.c (get_headers, free_headers): Implement this
	for CamelMimePart. (Works for CamelMimeMessage too.)

svn path=/trunk/; revision=9849
2001-05-16 18:23:15 +00:00
7e5b838da2 Update
svn path=/trunk/; revision=9848
2001-05-16 18:00:47 +00:00
367ebf17fa Remove camel/camel-pkcs7-context.c
2001-05-16  JP Rosevear  <jpr@ximian.com>

	* POTFILES.in: Remove camel/camel-pkcs7-context.c

svn path=/trunk/; revision=9847
2001-05-16 16:41:33 +00:00
9c6449411d forgot to mention color change for calendar
svn path=/trunk/; revision=9846
2001-05-16 16:12:23 +00:00
166c0e477a fixes #2862
svn path=/trunk/; revision=9845
2001-05-16 16:02:39 +00:00
2f0b59f1b2 Modify ChangeLog to say that the icons are by Tuomas.
svn path=/trunk/; revision=9844
2001-05-16 15:53:23 +00:00
73f9bcdb64 New icons for offline/online status.
svn path=/trunk/; revision=9843
2001-05-16 15:52:12 +00:00
6344abaebc Updated Norwegian translation.
2001-05-16  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.

svn path=/trunk/; revision=9842
2001-05-16 13:30:34 +00:00
d1735f70b7 Fixes to make it make dist and make distcheck. Kind of kludgy but they
2001-05-16  JP Rosevear  <jpr@ximian.com>

	* src/libical/Makefile.am: Fixes to make it make dist and make
	distcheck.  Kind of kludgy but they seem to work.  Time will tell.

svn path=/trunk/; revision=9841
2001-05-16 07:16:31 +00:00
8743d8c293 initialize the model and adapter. (button_press): set on the model.
2001-05-15  Chris Toshok  <toshok@ximian.com>

	* gui/search/e-addressbook-search-dialog.c
	(e_addressbook_search_dialog_init): initialize the model and
	adapter.
	(button_press): set on the model.
	(e_addressbook_search_dialog_new): same.
	(e_addressbook_search_dialog_set_arg): same.
	(e_addressbook_search_dialog_destroy): unref the model and
	adapter.

	* gui/search/e-addressbook-search-dialog.h (struct
	_EAddressbookSearchDialog): add our model and reflow adapter.

svn path=/trunk/; revision=9840
2001-05-16 06:05:29 +00:00