Commit Graph

9146 Commits

Author SHA1 Message Date
9c367bf930 Finish off #809 by committing the menu and right click thingies for
marking as important.

svn path=/trunk/; revision=10765
2001-07-03 20:56:52 +00:00
8ce7603f83 Put in lots of orderedlists...more SGML, less for the user to read.
2001-07-03  Kevin Breit  <battery841@mediaone.net>

	* C/usage-mail.sgml: Put in lots of orderedlists...more SGML, less
	for the user to read.  They'll thank me in droves later.

svn path=/trunk/; revision=10764
2001-07-03 19:58:21 +00:00
3fe9876bc7 [Fix a problem with not being able to save a newly created
`shortcuts.xml' file, and another bug that caused the default
group to be added at every start-up, even there were groups
already.]

* e-shortcuts.c (e_shortcuts_new): If loading the shortcuts fails,
set the file_name.
(load_shortcuts): Update `num_groups'.

svn path=/trunk/; revision=10763
2001-07-03 19:40:31 +00:00
ed46ce99fe remove the timer id.
2001-07-03  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.h: remove the timer id.

	* e-msg-composer.c: use autosave manager.
	(autosave_save_draft): moved initialization to
	autosave_init_file. Only save the buffer if we get a valid
	message.
	(autosave_load_draft): unlink the old file, we own it now. and
	unref the stream when we are done with it.
	(autosave_is_owned): check if we own the file, this needs to be
	extended to check for other valid processes.
	(autosave_query_load_orphans): make this search through the
	managers list as it walks the dir.
	(autosave_query_load_orphans): make sure we use the full path.
	(autosave_run_foreach_cb): timeout foreach handler.
	(autosave_run): the timeout function.
	(autosave_start): start timer.
	(autosave_stop): stop timer.
	(autosave_register): register a composer with the autosave manager.
	(autosave_unregister): unregister a composer.
	(destroy): unregister the composer, everything is okay.
	(init): register the composer.

svn path=/trunk/; revision=10762
2001-07-03 19:31:06 +00:00
23dd7a254c querythe user to check if they want to load any orphans we've found.
2001-07-02  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (autosave_query_load_orphans): querythe user to
	check if they want to load any orphans we've found.
	(autosave_query_cb): the dialog callback.
	(autosave_is_orphan): test if if a particular file is orphaned.
	(autosave_load_draft): load a message from an autosave file.
	(autosave_save_draft): save the current buffer to the autosave file.

svn path=/trunk/; revision=10761
2001-07-03 19:17:31 +00:00
b7dede1a27 use bonobo-conf everywhere
2001-07-03  Dietmar Maurer  <dietmar@ximian.com>

	* *: use bonobo-conf everywhere

svn path=/trunk/; revision=10760
2001-07-03 18:15:31 +00:00
838d0849f2 Add a seperate pixbuf for the print button
svn path=/trunk/; revision=10759
2001-07-03 17:25:48 +00:00
cb058b63ed Fixed the bonobo warning
svn path=/trunk/; revision=10758
2001-07-03 17:24:58 +00:00
a507e83ea8 Compile fixes. #include errno.h and gnome-dialog-utils.h.
2001-07-03  Peter Williams  <peterw@ximian.com>

	* folder-browser.c (message_list_drag_data_get): Compile fixes.
	#include errno.h and gnome-dialog-utils.h. s/dirname/tmpdir/

svn path=/trunk/; revision=10757
2001-07-03 17:24:26 +00:00
ed48c8350f Forgot to save this
svn path=/trunk/; revision=10756
2001-07-03 17:15:50 +00:00
0e893f8bc4 Prevent folders from appearing to have -1 new messages. Prevent nonactive
2001-07-03  Peter Williams  <peterw@ximian.com>

	Prevent folders from appearing to have -1 new messages. Prevent
	nonactive folders from updating the title bar. Make the title
	bar update when switching to an already-opened folder.

	* mail-folder-cache.c (update_message_counts): Ignore the value for
	'unread' if it is -1.
	(get_mail_info_receive): Same
	(mail_folder_cache_note_folderinfo): Same.
	(get_folder_info): Initialize 'fb' to NULL.
	(mail_folder_info): Add 'fb' member.
	(mail_folder_cache_note_fb): Change note_message_list to this.
	(update_idle): Only update the ShellView if the active folder browser
	is the same as the one that the MFI references.
	(mail_folder_cache_set_folder_browser): New function. Use it to set
	the active folder browser. NULL is okay.
	(check_for_fb_match): Called from the above. If the MFI has the
	new folder browser as its view, queue an update.

	* mail-folder-cache.h: Fix prototypes.

	* mail-callbacks.c (create_folders): Check if fi->url is nonnull.

	* folder-browser.c (got_folder): Change to use note_fb instead of
	note_messge_list.

	* folder-browser-factory.c (control_activate): Set the folder browser
	(control_deactivate): Clear it here.
	(fb_get_svi): Kill some inappropriately cut-n-pasted code.

svn path=/trunk/; revision=10755
2001-07-03 17:15:26 +00:00
bb88c579bf Rename some of the widgets in the news config to not conflict with the
* mail-config.glade: Rename some of the widgets in the news config
	to not conflict with the mail config stuff, so the mail config
	druid will work again.

svn path=/trunk/; revision=10754
2001-07-03 16:57:13 +00:00
ea9e426096 Use mkdtemp if we have it, else use mktemp but make the code safer than it
2001-07-03  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (message_list_drag_data_get): Use mkdtemp if we
	have it, else use mktemp but make the code safer than it was
	previously.

	* mail-display.c (launch_cb): Free the template string if the
	tempdir failed to be created.

svn path=/trunk/; revision=10753
2001-07-03 16:52:38 +00:00
3f3936e0f9 More BonoboConf work
svn path=/trunk/; revision=10752
2001-07-03 16:40:01 +00:00
59b07be2c7 BonoboConf work New print icon
BonoboConf work
New print icon

svn path=/trunk/; revision=10751
2001-07-03 16:36:54 +00:00
c7553c75aa Fix crashes if the offline button is clicked before the summary has been created
svn path=/trunk/; revision=10750
2001-07-03 16:18:57 +00:00
ce575645ca Hide the URL passwd, auth, and params. (folder_browser_copy): Same.
2001-07-03  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (message_list_drag_data_get): Hide the URL
	passwd, auth, and params.
	(folder_browser_copy): Same.

svn path=/trunk/; revision=10749
2001-07-03 15:52:12 +00:00
8e7eea0d26 Doh. Don't remove things from the hash table while foreach'ing it. (And
* providers/imap/camel-imap-message-cache.c
	(camel_imap_message_cache_clear): Doh. Don't remove things from
	the hash table while foreach'ing it. (And can't use foreach_remove
	either because we have to remove them in a weird order). Fixes
	#3618.

	* providers/imap/camel-imap-folder.c (imap_get_message): If the
	server returns OK from the FETCH BODY, but there's no parseable
	BODY response, it's probably because there's an UN-parseable BODY
	response, implying the message is badly formatted, MIMEwise. In
	that case, fall back to fetching the message as a single part.

svn path=/trunk/; revision=10748
2001-07-03 15:24:55 +00:00
4834cba289 Updated Hungarian translation.
2001-07-03  Andras Timar <timar@gnome.hu>

        * hu.po: Updated Hungarian translation.

svn path=/trunk/; revision=10747
2001-07-03 14:57:39 +00:00
87f978acce remove a no-longer-relevant comment
svn path=/trunk/; revision=10746
2001-07-03 13:54:31 +00:00
47dc3d086d Remove `shortcuts.xml'. The shell is now able to create that by itself.
* Makefile.am (default_DATA): Remove `shortcuts.xml'.  The shell
is now able to create that by itself.

svn path=/trunk/; revision=10745
2001-07-03 13:35:10 +00:00
8a9d50f560 [The following makes the shell able to create the `shortcuts.xml'
file by itself when the file is not present or corrupted.  Fixes
#3668, failure to handle malformed shortcuts.xml file.]

* e-shell.c (e_shell_construct): If the `e_shortcuts_new()'
returns an object with no shortcuts in it, fill it in with
`e_shortcuts_add_default_group()'.

* e-shortcuts.c: New member `num_groups' in EShortcutsPrivate.
(init): Init to zero.
(e_shortcuts_add_group): Increment.
(e_shortcuts_remove_group): Decrement.
(e_shortcuts_get_num_groups): New.
(e_shortcuts_add_default_group): New function to set up the
default shortcuts.
(e_shortcuts_new): Return an empty EShortcuts object if loading
the file files, instead of returning NULL.

svn path=/trunk/; revision=10744
2001-07-03 13:29:12 +00:00
ed82a3aba8 Don't pass a dirty exception to camel_folder_sync. Fixes an IMAP filtering
* mail-ops.c (filter_folder_filter): Don't pass a dirty exception
	to camel_folder_sync. Fixes an IMAP filtering crash.

svn path=/trunk/; revision=10743
2001-07-03 13:07:36 +00:00
9786eb1d7a Ref/unref the handler so the signal handlers can unref it safely. Also, if
* e-shell-offline-handler.c
(e_shell_offline_handler_put_components_offline): Ref/unref the
handler so the signal handlers can unref it safely.  Also, if
`prepare_for_offline()' fails, don't say that there was an
internal error, as that's confusing.  Just say we couldn't put the
components off-line.

[Fix #3758, clicking on the online/offline button crashed
Evolution.]

* Evolution-Offline.idl: Don't derive OfflineProgressListener from
Bonobo::Unknown.

svn path=/trunk/; revision=10742
2001-07-03 12:24:29 +00:00
fc8b3ba203 oops. /tigert
svn path=/trunk/; revision=10741
2001-07-03 12:15:20 +00:00
4fd090fd15 new iconz warez for do0dz! /t1g3rt
svn path=/trunk/; revision=10740
2001-07-03 12:04:08 +00:00
dcd5194f42 [Fixed #3643, Shell crash when component crashed]
* e-shell-view.c (socket_destroy_cb): Fix Jason's broken fix for
#3205 that was causing #3643.  It is not safe to strcmp() the
return value from `e_shell_view_get_current_uri()' as it might be
NULL already.

svn path=/trunk/; revision=10739
2001-07-03 11:26:20 +00:00
9dbf178166 add the icaltimezone to the timezone array of the toplevel VCALENDAR
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalcomponent.c (icalcomponent_add_component): add the
	icaltimezone to the timezone array of the toplevel VCALENDAR component.

svn path=/trunk/; revision=10738
2001-07-03 09:17:53 +00:00
a753b72a98 fix warning, and added some debug messages.
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* gui/e-day-view.c (query_obj_updated_cb): fix warning, and added
	some debug messages.

	* gui/dialogs/comp-editor-util.c (write_label_piece):
	* gui/e-day-view-top-item.c (e_day_view_top_item_draw): call mktime()
	to set the weekday, though this is a temporary fix.

svn path=/trunk/; revision=10737
2001-07-03 09:12:12 +00:00
5181884e24 added $(BONOBO_CONF_LIBS) to all the LDADDs, to get it to compile. Not
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* Makefile.am: added $(BONOBO_CONF_LIBS) to all the LDADDs, to get
	it to compile. Not entirely sure it is correct.

svn path=/trunk/; revision=10736
2001-07-03 07:28:56 +00:00
94de273fd5 added bonobo_conf.
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* configure.in (MAILER_LIBS):
	(MAILER_CFLAGS): added bonobo_conf.

svn path=/trunk/; revision=10735
2001-07-03 07:22:44 +00:00
b9fa53b613 added $(BONOBO_CONF_LIBS) to get it to compile.
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* backend/ebook/Makefile.am (evolution_vcard_importer_LDADD):
	added $(BONOBO_CONF_LIBS) to get it to compile.

svn path=/trunk/; revision=10734
2001-07-03 07:09:54 +00:00
2d250ff733 fixed bad assertion, '!=' -> '=='. (icalcomponent_merge_vtimezone): get
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalcomponent.c (icalcomponent_merge_component): fixed
	bad assertion, '!=' -> '=='.
	(icalcomponent_merge_vtimezone): get the TZID from vtimezone, not comp.

svn path=/trunk/; revision=10733
2001-07-03 06:10:27 +00:00
2c95c4d8e9 added virtual method to get a VTIMEZONE component given a TZID. We need
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* pcs/cal-backend.[hc]: added virtual method to get a VTIMEZONE
	component given a TZID. We need this to resolve TZIDs when expanding
	an event using cal_recur_generate_instances() in query.c.

	* pcs/cal-backend-file.c (cal_backend_file_get_timezone): implemented
	virtual method.
	(cal_backend_file_update_object): fixed bug, kind -> child_kind.

	* pcs/query.c (func_occur_in_time_range): use the virtual method for
	resolving TZIDs. The other way didn't work anyway, as we didn't have
	the entire VCALENDAR with VTIMEZONEs in it.

	* gui/dialogs/recurrence-page.c (init_widgets):
	(make_ending_until_special): moved the call to
	e_date_edit_set_get_time_callback() from init_widgets to
	make_ending_until_special(), since that is where the widget gets
	created.

	* gui/e-timezone-entry.c (e_timezone_entry_set_timezone): handle zone
	being NULL.

svn path=/trunk/; revision=10732
2001-07-03 06:06:18 +00:00
eb52ee5a86 New files with the alarm options dialog; this configures the
2001-07-02  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/alarm-options.[ch]: New files with the alarm options
	dialog; this configures the repeat/duration properties and the
	options specific to each alarm action type.

	* gui/dialogs/alarm-page.c (AlarmPagePrivate): Added the alarm
	options button.  Also, keep an alarm structure which we are
	editing and an alarm options dialog.
	(init_widgets): Connect to the options button.
	(add_clicked_cb): Clone the component we are editing instead of
	creating a new one so that we preserve the data from the alarm
	options dialog.
	(button_options_clicked_cb): Pop up the alarm options dialog.

	* cal-util/cal-component.c (cal_component_alarm_new): Doh,
	initialize the other fields in the new alarm.

svn path=/trunk/; revision=10731
2001-07-03 04:48:06 +00:00
5847ef8566 If lines is NULL here split into lines and just return that the point is
2001-07-03  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c (e_text_point): If lines is NULL here split
	into lines and just return that the point is outside this text
	object.

svn path=/trunk/; revision=10730
2001-07-03 04:43:42 +00:00
642d32d63f cal-client/cal-client.[hc] cal-util/cal-component.c
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* cal-client/cal-client.[hc]
	* cal-util/cal-component.c
	* cal-util/cal-recur.[hc]
	* cal-util/test-recur.c
	* cal-util/timeutil.c
	* gui/calendar-config.c
	* gui/calendar-model.[hc]
	* gui/comp-util.[hc]
	* gui/e-calendar-table.c
	* gui/e-day-view-main-item.c
	* gui/e-day-view-top-item.c
	* gui/e-day-view.[hc]
	* gui/e-itip-control.c
	* gui/e-timezone-entry.[hc]
	* gui/e-week-view.[hc]
	* gui/gnome-cal.[hc]
	* gui/goto.c
	* gui/tag-calendar.[hc]
	* gui/dialogs/cal-prefs-dialog.c
	* gui/dialogs/comp-editor-page.[hc]
	* gui/dialogs/comp-editor-util.[hc]
	* gui/dialogs/comp-editor.c
	* gui/dialogs/e-timezone-dialog.[hc]
	* gui/dialogs/event-page.c
	* gui/dialogs/meeting-page.c
	* gui/dialogs/recurrence-page.c
	* gui/dialogs/task-details-page.c
	* gui/dialogs/task-details-page.glade
	* gui/dialogs/task-page.c
	* idl/evolution-calendar.idl
	* pcs/cal-backend-file.c
	* pcs/cal-backend.c
	* pcs/cal-backend.h
	* pcs/cal.c
	* pcs/query.c: timezone changes everywhere. There's still quite a
	few things to update, and its not working well at present.

svn path=/trunk/; revision=10729
2001-07-03 04:21:37 +00:00
bacd3a85a4 added functions to set a callback to get the current time, which is used
2001-07-02  Damon Chaplin  <damon@ximian.com>

	* e-calendar-item.c:
	* e-cell-date-edit.c:
	* e-dateedit.c: added functions to set a callback to get the current
	time, which is used instead of localtime(). We need this as we have to
	use our own timezones.

svn path=/trunk/; revision=10728
2001-07-03 04:12:17 +00:00
0e27010e0b more timezone stuff.
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* src/libical/icaltimezone.c (icaltimezone_get_builtin_timezone_from_tzid):
	* src/libical/icaltime.c:
	* src/libical/icalcomponent.c: more timezone stuff.

svn path=/trunk/; revision=10727
2001-07-03 04:11:38 +00:00
0c39016124 Only free the root here if it's non-NULL.
2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-sorted.c (ets_destroy): Only free the root here if it's
	non-NULL.

svn path=/trunk/; revision=10726
2001-07-03 04:03:16 +00:00
ae067f4ed9 Made the remove this column menu item greyed out if it's the last column.
2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c (ethi_header_context_menu): Made the
	remove this column menu item greyed out if it's the last column.

svn path=/trunk/; revision=10725
2001-07-03 03:50:27 +00:00
344dc8d241 Add publish free/busy item
2001-07-02  JP Rosevear  <jpr@ximian.com>

	* evolution-calendar.xml: Add publish free/busy item

svn path=/trunk/; revision=10724
2001-07-03 03:49:29 +00:00
d1d0712ae2 publish free/busy information for the currently viewed time range
2001-07-02  JP Rosevear  <jpr@ximian.com>

	* gui/calendar-commands.c (publish_freebusy_cmd): publish
	free/busy information for the currently viewed time range

svn path=/trunk/; revision=10723
2001-07-03 03:48:53 +00:00
e981cabe35 Added $(BONOBO_CONF_LIBS).
2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/Makefile.am (evolution_addressbook_LDADD): Added
	$(BONOBO_CONF_LIBS).

	* gui/component/select-names/e-select-names.c
	(e_select_names_create_categories),
	gui/contact-editor/e-contact-editor.c (categories_clicked):
	Switched to an ECategoriesMasterListWombat instead of an
	ECategoriesMasterListArray here.

svn path=/trunk/; revision=10722
2001-07-03 03:33:54 +00:00
36e1d69809 Forgot to commit this bit.
svn path=/trunk/; revision=10721
2001-07-03 03:24:33 +00:00
e3997d78ae Added e-categories-master-list-wombat.c and
2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (libeutil_la_SOURCES): Added
	e-categories-master-list-wombat.c and
	e-categories-master-list-wombat.h.
	(INCLUDES): Added $(BONOBO_CONF_CFLAGS).

	* e-categories-master-list-wombat.c,
	e-categories-master-list-wombat.h: New class implementing a master
	list that stores its state using bonobo-conf.

svn path=/trunk/; revision=10720
2001-07-03 02:57:58 +00:00
e1e2d6393d Added an MailAccountEditorNews, for NNTP configuratuion. Based on
2001-07-02  Sam Creasey  <sammy@oh.verio.com>
        * mail-account-editor-news.c: Added an MailAccountEditorNews, for
        NNTP configuratuion.  Based on MailAccountEditor, but stripped.

        * Makefile.am: added mail-account-editor-news.c and
        mail-account-editor-news.h to SOURCES if ENABLE_NNTP is defined.

        * mail-accounts.c (load_news): Moved this function, and fixed some
        slight brokenness.
        (news_edit): Added functional code using MailAccountEditorNews
        (news_add): Added functional code using news_edit after
        allocation.

        * mail-config.glade: news_editor_window widget added.  Used by
        MailAccountEditorNews.

        * mail-display.c (save_data_cb): Store the pathname used when
        saving messages so that the next save box will default to the
        previous path.

        * message-browser.c (message_browser_new): add signal handler for
        size_allocate on the message browser.  Thus new windows are size
        as they were last allocated.
        (message_browser_size_allocate_cb): handler to store allocations.

        * message-list.c (message_list_setup_etree): connect to the
        info_changed signals for the state of the message_list->tree.
        Save the folder state to disk, so that when additional
        message_lists are created, they are consistant.   e.g. the next
        buttons do the same thing in the browser, and in the message
        viewer after changing sorting options.

        * subscribe-dialog.c (build_tree): freeze sc->folder model while
        building the tree.  Not doing so takes a very long time over 40000
        newsgroups.

svn path=/trunk/; revision=10719
2001-07-03 02:56:39 +00:00
fd6ad06df5 Made evolution depend on bonobo-conf 0.2.
2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Made evolution depend on bonobo-conf 0.2.

From calendar/ChangeLog:

2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
	(evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS).

From composer/ChangeLog:

2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).

From shell/ChangeLog:

2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
	(evolution_LDADD): Added $(BONOBO_CONF_LIBS).

svn path=/trunk/; revision=10718
2001-07-03 02:55:58 +00:00
793f0a6b86 Added an integer type for filtering values. used for size.
2001-07-02  Sam Creasey <sammy@oh.verio.com>
        * filter-int.c: Added an integer type for filtering values.  used
        for size.

        * Makefile.am (SOURCES): added filter-int.c, filter-int.h

        * filtertypes.xml: added a part entry for size based filters

svn path=/trunk/; revision=10717
2001-07-03 02:54:48 +00:00
7cd517dc60 Implemented nntp_folder_search_by_expression and nntp_folder_search_free.
2001-07-02  Sam Creasey <sammy@oh.verio.com>

        * providers/nntp/camel-nntp-folder.c: Implemented
        nntp_folder_search_by_expression and
        nntp_folder_search_free.  Basic search functionality e.g. unread
        marking now works for NNTP folders.

        * camel_filter_search.c (get_size): Added get-size sexp directive
        to get the size of a message for filters.

        * providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new):
        Always check with the NNTP server after summary load -- this
        function now always expires old summary entries and syncs with
        the news server.

        * providers/nntp/camel-nntp-utils.c (camel_nntp_get_headers):
        Only fetch headers for articles not already logged in
        the summary file.

        * providers/nntp/camel-nntp-grouplist.c
        (camel_nntp_get_grouplist_from_*): change from g_list_append()
        to g_list_prepend() + g_list_reverse.  Traversing 40,000
        element linked lists sucks.

        * providers/nntp/camel-nntp-store.c (camel_nntp_command):
        Should the NNTP connection die with
        CAMEL_EXCEPTION_SERVICE_NOT_CONNECTED, make a single retry
        attempt.  Timing out the NNTP link is less painful this way.

svn path=/trunk/; revision=10716
2001-07-03 02:54:06 +00:00