Commit Graph

6933 Commits

Author SHA1 Message Date
fa2c19fdd1 Updates for CamelStore changes, small memory leak fixes. (lookup_folder):
* mail-local.c: Updates for CamelStore changes, small memory leak
	fixes.
	(lookup_folder): Removed (and moved into the reconfigure code)
	since this method no longer exists in CamelStore.
	(do_reconfigure_folder, etc): Update the info in the
	MailLocalStore after reconfiguring.
	(mail_local_lookup_folder): Removed

	* local-config.glade: fix padding of the label_format

	* message-list.c (ml_tree_value_at): Don't keep message infos
	reffed across calls, since this can cause badness after a
	reconfigure. Instead, just strdup the needed values and free those
	on the next call.

	* mail-tools.c (mail_tool_get_root_of_store): Unused, remove.
	(mail_tool_get_inbox): use camel_store_get_inbox.

	* evolution-outlook-importer.c (load_file_fn):
	* evolution-mbox-importer.c (load_file_fn): Use
	mail_tool_get_local_inbox() instead of mail_importer_get_folder()

	* mail-importer.c (mail_importer_get_folder): Removed

svn path=/trunk/; revision=8147
2001-02-09 16:45:09 +00:00
ec981301f5 save, THEN commit
svn path=/trunk/; revision=8146
2001-02-09 16:44:22 +00:00
65eb577ecd Rewrite a bunch. Replace the existing folder cache stuff with much simpler
* camel-store.c: Rewrite a bunch. Replace the existing folder
	cache stuff with much simpler code that still handles all the
	existing cases. Now the folder hash table is always created by the
	base class, using hash and compare functions provided by the class
	implementation. (If they are set to NULL, CamelStore won't cache
	folders.) lookup_folder, cache_folder, and uncache_folder are no
	longer class methods, and get_name is gone completely.

	(camel_store_get_inbox): Renamed from
	camel_store_get_default_folder, since that wasn't being used, and
	this is what we actually need.
	(camel_store_get_root_folder): Removed, since it's not needed for
	anything given get_folder_info.

	* camel-remote-store.c:
	* providers/local/camel-local-store.c:
	* providers/local/camel-mbox-store.c:
	* providers/local/camel-mh-store.c:
	* providers/local/camel-maildir-store.c:
	* providers/nntp/camel-nntp-store.c:
	* providers/pop3/camel-pop3-store.c:
	* providers/vee/camel-vee-store.c: Minor updates for CamelStore
	changes

	* providers/imap/camel-imap-store.c (camel_imap_store_class_init):
	Update for CamelStore changes.
	(hash_folder_name, compare_folder_name): treat INBOX
	case-insensitively, otherwise use g_str_hash and g_str_equal.

	* camel-service.c (camel_service_construct): Remove
	camel_service_new and create camel_service_construct (as a class
	method) in its place.

	* camel-session.c (camel_session_get_service): Use
	camel_object_new and camel_service_construct to replace
	camel_service_new.

	* providers/local/camel-local-store.c (construct): Append a '/' to
	the URL path if it doesn't end with one

svn path=/trunk/; revision=8145
2001-02-09 16:43:22 +00:00
154d1b95c8 Updated Slovenian translation
svn path=/trunk/; revision=8144
2001-02-09 16:24:33 +00:00
ab72a6acf0 Updated French translation.
svn path=/trunk/; revision=8143
2001-02-09 16:02:23 +00:00
5508cc95a7 Updated Slovak translation
svn path=/trunk/; revision=8142
2001-02-09 15:37:07 +00:00
0920661b2e Updated Spanish translation.
svn path=/trunk/; revision=8141
2001-02-09 12:56:39 +00:00
1d9656293e The built sources shouldn't be cleane
2001-02-09  JP Rosevear  <jpr@ximian.com>

	* src/libical/Makefile.am: The built sources shouldn't be cleane

svn path=/trunk/; revision=8139
2001-02-09 08:50:30 +00:00
cf2f750017 its NEEDS-ACTION rather than NEEDSACTION (icalparameter_as_ical_string):
2001-02-09  JP Rosevear  <jpr@ximian.com>

	* src/libical/icalparameter.c.in (icalparameter_new_from_string):
	its NEEDS-ACTION rather than NEEDSACTION
	(icalparameter_as_ical_string): ditto

svn path=/trunk/; revision=8138
2001-02-09 07:09:46 +00:00
210c0386a9 New location for this function.
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): New location for this
	function.

	* mail-format.c: Removed mail_generate_reply as it's ONLY ever
	used in mail-callbacks.c.

	* mail-ops.c (fetch_mail_fetch): Reworked some keep-mail-on-server
	logic so that we ALWAYS look for a cached array of UIDs that we
	may have downloaded previously so as not to download them again
	even if we will be deleting them off the server. This fixes bug
	#1344.

svn path=/trunk/; revision=8137
2001-02-09 02:51:22 +00:00
ffaad625fc depend on bonobo >= 0.36
2001-02-09  Michael Meeks  <michael@ximian.com>

	* configure.in: depend on bonobo >= 0.36

svn path=/trunk/; revision=8136
2001-02-09 02:43:39 +00:00
896d495a2a Reworked some keep-mail-on-server logic so that we ALWAYS look for a
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (fetch_mail_fetch): Reworked some keep-mail-on-server
	logic so that we ALWAYS look for a cached array of UIDs that we
	may have downloaded previously so as not to download them again
	even if we will be deleting them off the server. This fixes bug
	#1344.

svn path=/trunk/; revision=8135
2001-02-09 02:21:18 +00:00
cd101b3ffc only free driver, if set. (fetch_mail_fetched): Unref the driver here, so
2001-02-09  Not Zed  <NotZed@Ximian.com>

        * mail-ops.c (filter_folder_free): only free driver, if set.
        (fetch_mail_fetched): Unref the driver here, so it can cleanup
        before we call the 'done' callback.

        * component-factory.c (owner_set_cb): Add setup for mail
        autoreceive stuff.

        * mail-send-recv.c (free_info_data): Free the send info's from teh
        active hash, not the running list.
        (receive_done): As we finish downloads, remove them and clean them
        up, and also close the window.
        (mail_autoreceive_setup): New function to setup & maintain
        automatic download stuff.

svn path=/trunk/; revision=8134
2001-02-09 01:48:04 +00:00
a0eb135926 Oops, remove old widget
2001-02-08  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/task-editor-dialog.glade: Oops, remove old widget

svn path=/trunk/; revision=8133
2001-02-09 00:52:03 +00:00
fd6e9b7570 fill in new classification stuff properly (get_widgets): load new class.
2001-02-08  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/task-editor.c (fill_widgets): fill in new classification stuff properly
	(get_widgets): load new class. widgets
	(init_widgets): if the class. widgets change, mark the dialog dirty
	(dialog_to_comp_object): set the comp class. from the new widgets

	* gui/dialogs/task-editor-dialog.glade: Make more consistent,
	fixing bugs 1247 and 1249

	* gui/dialogs/task-editor.c (fill_widgets):

	* gui/event-editor-dialog.glade: Gui tidying

	* gui/event-editor.c: Remove old alarm cruft

	* cal-util/cal-component.c (cal_component_set_url): Don't try and
	write an empty string as a property

svn path=/trunk/; revision=8132
2001-02-09 00:48:07 +00:00
11c5b60d8c Set the sensitivity of the spin button based on the state of the checkbox.
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (construct): Set the sensitivity of the spin
	button based on the state of the checkbox.

svn path=/trunk/; revision=8130
2001-02-09 00:12:52 +00:00
5db2a79dbb more reasonable default for the auto-check minutes spin box
svn path=/trunk/; revision=8129
2001-02-09 00:09:24 +00:00
cd2628ec5b Properly do defaults here. (mail_config_write): Removed some of the
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (config_read): Properly do defaults here.
	(mail_config_write): Removed some of the settings being saved
	here.
	(mail_config_write_on_exit): Save those settings here instead.

svn path=/trunk/; revision=8128
2001-02-09 00:03:19 +00:00
18df0dfdf2 Cast the CamelMedium to a CamelMimePart before performing actions on it as
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_object_requested): Cast the CamelMedium to a
	CamelMimePart before performing actions on it as if it were a
	CamelMimePart.

	* mail-config-druid.c (druid_finish): Save the auto-check settings.
	(construct): Initialize auto-check widgets.
	(mail_config_druid_get_auto_check): New function
	(mail_config_druid_get_auto_check_minutes): New functions

	* mail-config.c (config_read): Read in whether or not to check
	every x minutes.
	(mail_config_write): Save auto-check config data and SSL.

svn path=/trunk/; revision=8126
2001-02-08 22:57:34 +00:00
56f97fa4b4 Ooop, change log entry
svn path=/trunk/; revision=8125
2001-02-08 22:34:55 +00:00
9e8b5b53b7 Remove useless ldflags
2001-02-08  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: Remove useless ldflags

svn path=/trunk/; revision=8124
2001-02-08 22:34:35 +00:00
fd277e89cf Move the get_change code here
2001-02-08  JP Rosevear  <jpr@ximian.com>

	* pcs/cal-backend-file.c: Move the get_change code here

	* pcs/cal-backend.c: Remove get_changes related stuff and
	implement by calling the virtual method instead

	* pcs/cal-backend.h: New virtual method.

	* pcs/cal-backend-file.c (compute_alarm_range): Use
	icaldurationtype_as_int (replace _as_timet)
	(add_alarm_occurrences_cb): ditto

svn path=/trunk/; revision=8123
2001-02-08 22:34:14 +00:00
d85e3c9278 Upped the version number of gal required to 0.5.
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Upped the version number of gal required to 0.5.

svn path=/trunk/; revision=8121
2001-02-08 22:07:06 +00:00
88594ac53a Change the folder selection dialog so that, when you click on "New"
and create a folder, that folder becomes the default folder when you
go back to the selection dialog.

svn path=/trunk/; revision=8119
2001-02-08 21:20:50 +00:00
fb6c1a7afb Add a missing gtk_object_ref.
* e-table-sorter.c (ets_set_arg): Add a missing gtk_object_ref.

svn path=/trunk/; revision=8118
2001-02-08 21:05:03 +00:00
ccdc7bcf2a More 0.9 stuff
2001-02-08  JP Rosevear  <jpr@ximian.com>

	* gui/e-week-view.c (e_week_view_on_schedule_meet): new routine to
	throw up the meeting schedule dialog
	(e_week_view_show_popup_menu): add schedule meeting to the
	contextual menu where appropriate

svn path=/trunk/; revision=8117
2001-02-08 20:59:18 +00:00
67336a8d36 Pull up from 0.9 branch
2001-02-08  JP Rosevear  <jpr@ximian.com>

	* gui/event-editor.c: Remove assorted menu/bonobo stuff

	* gui/dialogs/task-editor.c: Remove assorted menu/bonobo stuff
	(task_editor_construct): no longer suck out the glade contents
	into a bonobo win, listen for apply and close signals
	(tedit_apply_event_cb): listen for apply signal and save object
	(tedit_close_event_cb): listen for close signal and prompt to save
	if need be
	(task_editor_focus): new function to bring the dialog to the front

	* gui/dialogs/task-editor.h: new prototype

	* gui/e-meeting-edit.c (schedule_button_clicked_cb): no need to
	update widgets in the event editor since the event editor won't be
	open
	(e_meeting_editor_new): don't need the event editor reference any
	more

	* gui/e-meeting-edit.h: Change prototype

	* gui/e-day-view.c (e_day_view_on_event_right_click): Make
	schedule meeting a new contextual menu item
	(e_day_view_on_schedule_meet): new routine to schedule a meeting
	from the contextual menu

	* gui/e-calendar-table.c (e_calendar_table_open_task): Call
	task_editor_focus

	* gui/event-editor-dialog.glade: Update to be a property box

	* gui/dialogs/task-editor-dialog.glade: Update to be a property
	box

svn path=/trunk/; revision=8115
2001-02-08 20:50:49 +00:00
2ca1db97c9 Minor Changes.
2001-02-08  Aaron Weber  <aaron@helixcode.com>

	* C/usage-contact.sgml: Minor Changes.

	* C/usage-mail.sgml: Minor Changes.

2001-02-07  Aaron Weber  <aaron@helixcode.com>

	* C/menuref.sgml: Added section, but left blank til UI stabilizes.

	* C/usage-exec-summary.sgml: A little functionality described.

	* C/usage-mainwindow.sgml: Added tasks and Exec-summary.

	* C/usage-calendar.sgml: Describe semi-autonomy of task pad.

svn path=/trunk/; revision=8114
2001-02-08 20:44:25 +00:00
5af829a6d2 Use e_format_number.
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-number.c (ecn_get_text): Use e_format_number.

svn path=/trunk/; revision=8111
2001-02-08 18:00:23 +00:00
aa92a8935b Set the dnd_code on the header properly.
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (e_table_setup_header): Set the dnd_code on the header
	properly.

svn path=/trunk/; revision=8110
2001-02-08 17:59:50 +00:00
7eb5320460 Commented out this function since it's not being used.
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text-model-test.c (describe_model): Commented out
	this function since it's not being used.

svn path=/trunk/; revision=8109
2001-02-08 17:40:01 +00:00
82d69c876f Added a "header" argument to set the label at the top of the dialog.
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/gal-categories.glade, gal/widgets/e-categories.c
	(ec_set_header): Added a "header" argument to set the label at the
	top of the dialog.

svn path=/trunk/; revision=8108
2001-02-08 17:38:38 +00:00
6827ac920d Don't handle C-Enter.
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text-event-processor-emacs-like.c
	(e_text_event_processor_emacs_like_event): Don't handle C-Enter.

svn path=/trunk/; revision=8107
2001-02-08 16:48:09 +00:00
3d3ac18e0e Added this function. Made frozen an int so that recursive freezes and
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-model.c, e-tree-model.h (e_tree_model_show_node): Added
	this function.  Made frozen an int so that recursive freezes and
	thaws behaves properly.

svn path=/trunk/; revision=8106
2001-02-08 16:40:26 +00:00
afa21bb264 Oops, include the camel-tcp-stream-ssl header instead of the raw one.
2001-01-31  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-tcp-stream-ssl.c: Oops, include the camel-tcp-stream-ssl
	header instead of the raw one.

svn path=/trunk/; revision=8103
2001-02-08 04:50:59 +00:00
5870f8ab9b Added more test rules.
svn path=/trunk/; revision=8102
2001-02-08 03:53:15 +00:00
5e15f4ae88 Use "contains" because the subject might be broken into subparts and using
2001-02-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-autofilter.c (rule_add_subject): Use "contains" because the
	subject might be broken into subparts and using the "is" rule will
	then fail ;-)

svn path=/trunk/; revision=8101
2001-02-08 03:51:34 +00:00
fc1cb88c14 Changed to allocate raw blocks for the data, and keep track of them with
2001-02-08  Not Zed  <NotZed@Ximian.com>

        * e-memory.c (EMemChunk): Changed to allocate raw blocks for the
        data, and keep track of them with an array, this is so the native
        malloc alignment is not lost at the allocation stage.

svn path=/trunk/; revision=8100
2001-02-08 03:19:37 +00:00
490ce976f1 Init active_downloads hash if it hasn't been yet.
2001-02-08  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c (mail_send_receive):
        (mail_receive_uri):  Init active_downloads hash if it hasn't been yet.

svn path=/trunk/; revision=8098
2001-02-08 02:03:56 +00:00
e66038cbaf flesh out this check. #ifdef the entire thing OPENLDAP2, as it only works
2001-02-07  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-ldap.c (check_for_evolve_person): flesh
	out this check.  #ifdef the entire thing OPENLDAP2, as it only
	works with the new schema stuff in openldap 2.x (both on server
	and client, so upgrade your server.)

svn path=/trunk/; revision=8097
2001-02-08 01:57:09 +00:00
4459154549 Handle internal camel status return. (receive_done): Remove active
2001-02-07  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c (operation_status): Handle internal camel status return.
        (receive_done): Remove active download when done.
        (mail_receive_uri): Initiate download of a single source, with no gui.
        (build_dialogue): Mark any new items as real active downloads.
        (do_show_status): Make the progress bar optional.

2001-02-06  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c: camel_cancel->camel_operation.

        * mail-ops.old.c: camel_cancel->camel_operation.

        * mail-ops.c: camel_cancel->camel_operation.

        * mail-mt.c: camel_cancel->camel_operation.

        * mail-callbacks.c (stop_threads): camel_cancel->camel_operation.

        * mail-mt.h: CamelCancel->CamelOperation.

svn path=/trunk/; revision=8096
2001-02-08 01:45:37 +00:00
49f8a687a4 Changed to push the operation into a status stack.
2001-02-07  Not Zed  <NotZed@Ximian.com>

        * camel-operation.c (camel_operation_start): Changed to push the
        operation into a status stack.
        (camel_operation_progress): Changed to only accept % complete.
        (camel_operation_reset): Free status stack as well.

        * providers/pop3/camel-pop3-folder.c (pop3_get_message): Get the
        octect count from the return line, and pass it to
        get_additional_data().
        (pop3_refresh_info): Added status stuff.

        * providers/pop3/camel-pop3-store.c
        (camel_pop3_command_get_additional_data): Added a total bytes
        expected argument for progress reporting & fixed callers.
        (camel_pop3_command_get_additional_data): Added progress
        reporting.

        * providers/local/camel-mbox-summary.c (mbox_summary_sync_full):
        (mbox_summary_sync_quick):
        (summary_rebuild): Added progress reporting stuff.

svn path=/trunk/; revision=8095
2001-02-08 01:42:53 +00:00
1290da3f28 Updated Swedish translation.
svn path=/trunk/; revision=8094
2001-02-08 00:41:17 +00:00
4bac88ea16 Check current_message for NULL - this fixes a bug running under SunOS (not
2001-02-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-mt.c (set_view_data): Check current_message for NULL - this
	fixes a bug running under SunOS (not a major deal tho as it's in a
	debug printf).

svn path=/trunk/; revision=8093
2001-02-08 00:22:34 +00:00
1a02a9edf6 update
svn path=/trunk/; revision=8090
2001-02-07 23:20:13 +00:00
2132c03854 Added test for xml-i18n-tools if AM_PROG_XML_I18N_TOOLS is found.
2001-02-07  Kenneth Christiansen  <kenneth@gnu.org>

        * autogen.sh: Added test for xml-i18n-tools if
        AM_PROG_XML_I18N_TOOLS is found.

svn path=/trunk/; revision=8066
2001-02-07 22:53:06 +00:00
93c63ca49a Added N_("* Click here to add a contact *").
2001-02-07  Christopher James Lahey  <clahey@ximian.com>

	* gui/widgets/e-addressbook-view.c: Added N_("* Click here to add
	a contact *").

svn path=/trunk/; revision=8065
2001-02-07 22:38:20 +00:00
a48def7054 Store the whole GdkColor instead of just the pixel.
2001-02-07  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_realize): Store
	the whole GdkColor instead of just the pixel.

svn path=/trunk/; revision=8063
2001-02-07 22:16:47 +00:00
b9e5bae616 only set the DEBUG_LEVEL if we're OPENLDAP2.
2001-02-07  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only
	set the DEBUG_LEVEL if we're OPENLDAP2.

svn path=/trunk/; revision=8062
2001-02-07 21:50:12 +00:00
66c11c2547 Quote first argument to AC_DEFUN. Likewise. Likewise. Likewise. Likewise.
* macros/curses.m4: Quote first argument to AC_DEFUN.
* macros/gnome-cxx-check.m4: Likewise.
* macros/gnome-gettext.m4: Likewise.
* macros/gnome-libgtop-check.m4: Likewise.
* macros/gnome-print-check.m4: Likewise.
* macros/linger.m4: Likewise.
* macros/need-declaration.m4: Likewise.

svn path=/trunk/; revision=8059
2001-02-07 21:33:01 +00:00