Commit Graph

12325 Commits

Author SHA1 Message Date
8638a240ac change to EBookCallback signature, and unref the book.
2001-10-27  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-quick-add.c (merge_cb): change to
	EBookCallback signature, and unref the book.
	(quick_add_merge_card): use addressbook_load_default_book.
	(ce_have_book): change to EBookCallback signature, and unref the
	book.
	(edit_card): use addressbook_load_default_book.

	* gui/component/e-address-popup.c (email_table_save_card_cb):
	change to EBookCallback signature, and unref the book.
	(add_card_idle_cb): use addressbook_load_default_book, and call
	the cb if it fails.
	(e_address_popup_cleanup): fix type -- should be "pop->card =
	NULL", not "pop = NULL".
	(contact_editor_cb): change to EBookCallback signature.
	(edit_contact_info_cb): use addressbook_load_default_book.
	(start_query): change to EBookCallback signature.
	(e_address_popup_query): use addressbook_load_default_book.

	* gui/widgets/e-minicard-control.c (book_open_cb): change to
	EBookCallback signature, and unref the book.
	(save_in_addressbook): use addressbook_load_default_book instead
	of e_book_use_local_address_book.

	* gui/widgets/Makefile.am (INCLUDES): change includes since we're
	including addressbook.h which has it's own set of funky include
	path requirements.

svn path=/trunk/; revision=14269
2001-10-28 03:25:28 +00:00
a9491dff65 change to EBookCallback signature, and unref the book. (add_card_idle_cb):
2001-10-27  Chris Toshok  <toshok@ximian.com>

	* gui/component/e-address-popup.c (email_table_save_card_cb):
	change to EBookCallback signature, and unref the book.
	(add_card_idle_cb): use addressbook_load_default_book, and call
	the cb if it fails.
	(e_address_popup_cleanup): fix type -- should be "pop->card =
	NULL", not "pop = NULL".
	(contact_editor_cb): change to EBookCallback signature.
	(edit_contact_info_cb): use addressbook_load_default_book.
	(start_query): change to EBookCallback signature.
	(e_address_popup_query): use addressbook_load_default_book.

	* gui/widgets/e-minicard-control.c (book_open_cb): change to
	EBookCallback signature, and unref the book.
	(save_in_addressbook): use addressbook_load_default_book instead
	of e_book_use_local_address_book.

	* gui/widgets/Makefile.am (INCLUDES): change includes since we're
	including addressbook.h which has it's own set of funky include
	path requirements.

svn path=/trunk/; revision=14268
2001-10-28 03:04:53 +00:00
14557ba81a Don't leak stuff. (Bug #13709)
2001-10-27  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-book.c (activate_factories_for_uri): Don't leak
	stuff. (Bug #13709)

svn path=/trunk/; revision=14267
2001-10-28 02:45:16 +00:00
70708440ca when the week start day is set to Sunday, we have to be careful to make
2001-10-27  Damon Chaplin  <damon@ximian.com>

	* gui/print.c (print_week_view):
	(range_selector_new): when the week start day is set to Sunday, we
	have to be careful to make sure we print the correct week, since
	the previous Saturday is actually printed first. Fixes bug #13687.
	(print_week_summary): always set compress_weekend to true if
	multi_week_view is FALSE (i.e. we are printing the week view).
	Fixes bug #13688.

	* gui/e-itip-control.c (send_freebusy): use the timezones from the
	DTSTART and DTEND.
	(write_label_piece): output the date-time and the timezone after it.
	Note that we may want to convert it to the current timezone and display
	that as well. Also converted COMPLETED to the current timezone.
	And fixed all uses of old timezone functions.

	* gui/dialogs/comp-editor.c (commit_all_fields): added function to
	set the focus in the window to NULL, so all fields lose their focus,
	so they emit "changed" signals and update their values if needed.
	We call this when most menu commands are used, e.g. 'Save and Close',
	'Print' etc. Fixes bug #11434. In future we should also check fields
	are valid and show dialogs if they are not.

	* gui/calendar-model.c (get_completed): use the completed value
	properly. Fixes bug #13694.

	* cal-util/timeutil.c (icaltimetype_to_tm_with_zone): don't check
	from_zone and to_zone != NULL. A NULL zone is valid, it is for
	floating times.

svn path=/trunk/; revision=14266
2001-10-28 02:26:21 +00:00
27c2d8fee6 added function to get a reasonable name to display for the timezone.
2001-10-27  Damon Chaplin  <damon@ximian.com>

	* src/libical/icaltimezone.c (icaltimezone_get_display_name): added
	function to get a reasonable name to display for the timezone.
	(Though it won't be translated.)

svn path=/trunk/; revision=14265
2001-10-28 02:24:22 +00:00
97bf637806 Rewrite of the calendar preferences. I love how I'm having to rewrite this
2001-10-27  Kevin Breit  <mrproper@ximian.com>

	* C/config-prefs.sgml: Rewrite of the calendar preferences.  I love how I'm having to rewrite this 48 hours before the freeze.  Why are we waiting this long?  It's beyond me, but oh well.  I'll continue writing and listening to The Doors.

svn path=/trunk/; revision=14249
2001-10-28 01:06:04 +00:00
b4e9733bdc Cancel editing if the user presses Escape.
2001-10-27  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-day-view.c (e_day_view_on_text_item_event): Cancel editing
	if the user presses Escape.

	* gui/e-week-view.c (e_week_view_on_text_item_event): Likewise.

	* gui/cal-search-bar.c: #include <string.h>

svn path=/trunk/; revision=14245
2001-10-28 00:22:10 +00:00
aa4757662d Comment out the "Action" submenu, which isn't hooked up to anything in the
2001-10-27  Jon Trowbridge  <trow@ximian.com>

	* evolution-contact-list-editor.xml: Comment out the "Action"
	submenu, which isn't hooked up to anything in the code and thus
	does nothing.

svn path=/trunk/; revision=14244
2001-10-28 00:16:10 +00:00
da4b2a5d9f Fix the address of the FSF in the licensing comments.
svn path=/trunk/; revision=14243
2001-10-27 23:48:19 +00:00
10b85c3677 More fixing of the license texts.
svn path=/trunk/; revision=14242
2001-10-27 23:42:27 +00:00
be7e0fd349 More fixing of the license texts.
svn path=/trunk/; revision=14241
2001-10-27 23:36:16 +00:00
6cf3eed590 Allow the user to shoot him/herself in the foot when overriding message
2001-10-27  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_format_get_data_wrapper_text): Allow the
	user to shoot him/herself in the foot when overriding message
	charsets. Permanantly fixes bug #921.

svn path=/trunk/; revision=14240
2001-10-27 23:30:07 +00:00
d109123edc Slow down reload requests to work around a bug in gnome-vfs. Ugly, but it
2001-10-27  Jon Trowbridge  <trow@ximian.com>

	* e-summary.c (e_summary_reload): Slow down reload requests
	to work around a bug in gnome-vfs.  Ugly, but it works.
	(Bug #12956)

svn path=/trunk/; revision=14239
2001-10-27 23:16:13 +00:00
54634a1357 Delete appointments with empty summaries. Fixes Ximian bug #780.
2001-10-27  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-day-view.c (e_day_view_on_editing_stopped): Delete
	appointments with empty summaries.  Fixes Ximian bug #780.

	* gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise.

	* gui/dialogs/delete-comp.c (delete_component_dialog): Added an
	argument to specify whether we unconditionally want single
	components to be considered as not having a summary.

	* gui/comp-util.c (cal_comp_confirm_delete_empty_comp): New
	function.

	* gui/misc.[ch]: New files with miscellaneous utility functions;
	moved string_is_empty() over from calendar-model.c.

	* gui/calendar-model.c: Use the string_is_empty()
	function from misc.c.

	* gui/Makefile.am (evolution_calendar_SOURCES): Added misc.[ch] to
	the list of sources.

svn path=/trunk/; revision=14233
2001-10-27 22:13:20 +00:00
18f549eefb Added labels
2001-10-27  Kevin Breit  <mrproper@ximian.com>

	* C/figures/calendar.png: Added labels

svn path=/trunk/; revision=14232
2001-10-27 22:01:40 +00:00
49b6423312 Added labels and changed which image is used
2001-10-27  Kevin Breit  <mrproper@ximian.com>

	* C/figures/mail-inbox.png: Added labels and changed which image is used

svn path=/trunk/; revision=14231
2001-10-27 21:51:51 +00:00
4c06d16120 Set book_uri when cardification occurs.
2001-10-27  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-destination.c (name_and_email_simple_query_cb,
	nickname_simple_query_cb): Set book_uri when cardification occurs.

svn path=/trunk/; revision=14230
2001-10-27 21:13:23 +00:00
ae98b77f3a Bumped required version of gal to 0.15.99.6.
2001-10-27  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped required version of gal to 0.15.99.6.

From addressbook/ChangeLog:

2001-10-27  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_add_section): Turned off use_ellipsis (it breaks
	emulate_label_resize) and on emulate_label_resize.

svn path=/trunk/; revision=14228
2001-10-27 21:07:02 +00:00
0d56746e85 Bumped the version number to 0.15.99.6 for emulate_label_resize.
2001-10-27  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.15.99.6 for
	emulate_label_resize.

	* gal/e-text/e-entry.c: Added "emulate_label_resize" argument to
	make EEntry act like a label for width resizing purposes.

svn path=/trunk/; revision=14227
2001-10-27 21:01:42 +00:00
8f12c1133e I played with the labels a bit
2001-10-27  Kevin Breit  <mrproper@ximian.com>

	* C/figures/summary.png: I played with the labels a bit

svn path=/trunk/; revision=14226
2001-10-27 20:54:20 +00:00
1781b2ad90 Updated Spanish translation.
svn path=/trunk/; revision=14225
2001-10-27 20:28:54 +00:00
101fa50c32 Removed two labels cuz I'm dumb
2001-10-27  Kevin Breit  <mrproper@ximian.com>

	* C/figures/mainwindow-pic.png: Removed two labels cuz I'm dumb

svn path=/trunk/; revision=14224
2001-10-27 20:27:31 +00:00
b412726953 Doh! We should be sorting our contacts so that the most frequently used
2001-10-27  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(make_match): Doh!  We should be sorting our contacts so that the
	most frequently used ones are at the top of the list, not the
	bottom.

svn path=/trunk/; revision=14223
2001-10-27 20:25:52 +00:00
2fa613f46a Bumped the version # to 1.0 Added labels
2001-10-27  Kevin Breit  <mrproper@ximian.com>

	* C/evolution.sgml: Bumped the version # to 1.0
	* C/figures/mainwindow-pic.png: Added labels

svn path=/trunk/; revision=14222
2001-10-27 20:20:07 +00:00
9daaceea4e Change the help string on "--enable-nntp" to mention the fact that NNTP
* configure.in: Change the help string on "--enable-nntp" to
	mention the fact that NNTP support is incomplete and unsupported.
	If the user doesn't pass --enable-nntp, don't mention NNTP at all
	in the summary at the end. Also, mention which SSL library is
	being used when SSL support is enabled, and don't mention anything
	about S/MIME since it doesn't work.

svn path=/trunk/; revision=14221
2001-10-27 20:16:27 +00:00
8c0ef28e55 More fixing of the license texts.
svn path=/trunk/; revision=14220
2001-10-27 18:57:27 +00:00
647f9c02b7 oops, left a collision marker in
svn path=/trunk/; revision=14219
2001-10-27 18:27:17 +00:00
41fd8740f4 That should be a bonobo_object_unref, not a gtk_object_unref.
2001-10-27  Jon Trowbridge  <trow@gnu.org>

	* backend/pas/pas-book.c (pas_book_check_queue): That should be a
	bonobo_object_unref, not a gtk_object_unref.
	(pas_book_queue_request): Likewise, we need to bonobo_object_ref
	here.
	(pas_book_destroy): If our pas_book_check_queue timeout is still
	active, disable it.  This should never happen, but it never hurts
	to be careful.
	(pas_book_destroy): Set book->priv to NULL after we free it.

svn path=/trunk/; revision=14218
2001-10-27 18:26:34 +00:00
4ca07463a0 More fixing of the license texts.
svn path=/trunk/; revision=14217
2001-10-27 18:21:05 +00:00
42606efd98 More fixing of the license texts.
svn path=/trunk/; revision=14216
2001-10-27 18:06:04 +00:00
f84e94ae7f Fixing the license text.
svn path=/trunk/; revision=14215
2001-10-27 17:59:02 +00:00
7ba9607966 Fixing the license text.
svn path=/trunk/; revision=14214
2001-10-27 17:38:13 +00:00
f0fffd85df copy phone labels and show phone as well, clear correct entry text and
2001-10-27  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (local_record_from_ecard): copy phone
	labels and show phone as well, clear correct entry text and
	correctly detect unsyncable cases

svn path=/trunk/; revision=14213
2001-10-27 17:04:57 +00:00
08fb7329cb Fixing the license text.
svn path=/trunk/; revision=14212
2001-10-27 16:59:46 +00:00
0d1d16f053 Fixing the license text.
svn path=/trunk/; revision=14211
2001-10-27 16:44:12 +00:00
1b033e82e8 touch on lookup (check_for_slow_setting): write touched only if slow sync
2001-10-27  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/todo-conduit.c (local_record_from_comp): touch on
	lookup
	(check_for_slow_setting): write touched only if slow sync
	(match): touch on lookup

	* conduits/calendar/calendar-conduit.c (local_record_from_comp):
	touch the record on lookup
	(check_for_slow_setting): write touched only if slow sync
	(pre_sync): don't touch on lookup
	(match): touch on lookup

svn path=/trunk/; revision=14210
2001-10-27 15:39:26 +00:00
5944eda9fa touch the record on lookup (check_for_slow_setting): write touched only if
2001-10-27  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (local_record_from_ecard): touch the
	record on lookup
	(check_for_slow_setting): write touched only if we are doing a
	slow sync
	(card_removed): don't touch on lookup
	(match): touch on lookup

svn path=/trunk/; revision=14209
2001-10-27 15:35:37 +00:00
716da0ac90 update proto
2001-10-27  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.h: update proto

	* e-pilot-map.c (e_pilot_map_lookup_pid): touch the nodes if
	indicated and found
	(e_pilot_map_lookup_uid): ditto

svn path=/trunk/; revision=14208
2001-10-27 15:33:10 +00:00
ee72dd5eb5 Updated russian translation.
svn path=/trunk/; revision=14207
2001-10-27 13:03:55 +00:00
cf59ac9504 Updated Lithuanian translation.
2001-10-27  Gediminas Paulauskas <menesis@delfi.lt>

	* lt.po: Updated Lithuanian translation.

svn path=/trunk/; revision=14206
2001-10-27 08:46:47 +00:00
6
8f8b24c737 Changed to open the source store from '/', so we can do renames across
2001-10-26    <NotZed@Ximian.com>

        * mail-local.c (mlf_set_folder): Changed to open the source store
        from '/', so we can do renames across directories.  Of course,
        this doesn't quite work with different filesystems, but we'll
        assume this isn't a problem we're going to have.
        (mail_local_folder_get_type): Setup parent_class.
        (mlf_rename): Implement folder rename call, rename internal data.

        Is this a security issue?  Well, not really, no more than anything
        else.

        * mail-folder-cache.c (mail_note_store): Listen to rename event.
        (store_folder_renamed): Function to handle it, empty.
        (mail_note_store_remove): Unhook from rename event.
        (mail_note_folder): Hook onto renamed event.
        (unset_folder_info): Unhook from renamed event.
        (folder_finalised): Lock around update.
        (folder_deleted): Lock around update.
        (real_flush_updates): If we have a path to remove remove it.
        (rename_folders): Scan folderinfo's, if we can find ones renamed,
        rename them, otherwise add them.

        * component-factory.c (owner_unset_cb): Use a timeout not an idle handler.
        (storage_xfer_folder): Implementation of xfer_folder signal
        handler, so we can rename imap/vfolders/etc.

svn path=/trunk/; revision=14205
2001-10-27 06:02:04 +00:00
7
c4d87ba45a Finished implementation.
2001-10-27    <NotZed@Ximian.com>

        * providers/imap/camel-imap-store.c (rename_folder): Finished
        implementation.

        * providers/local/camel-local-folder.c (local_rename): Implement
        local rename of folder objects.

2001-10-26    <NotZed@Ximian.com>

        * camel-vee-folder.c (camel_vee_folder_class_init): Hook into
        rename function.
        (vee_rename): Implement the veefolder rename function.
        (camel_vee_folder_class_init):
        (folder_changed_change): Kill a warning with a cast.

        * camel-vee-store.c (vee_rename_folder): Emit a folder_renamed
        event properly, also call parent to do some rename stuff.

        * camel-store.h: Added a CamelRenameInfo for the rename event.

        * camel-folder.c (camel_folder_rename): New function to rename a
        folder object.
        (camel_folder_class_init): Added a renamed event.
        (folder_rename): Default impl, set full_name, and set name
        assuming the dir separator is '/'.

        * camel-store.c (camel_store_class_init): Added folder_renamed
        event.
        (camel_store_rename_folder): Rename an active folder object if we
        have one, and update the folder table.
        (rename_folder): Make a default implementation that handles
        updating the folder tree.

svn path=/trunk/; revision=14204
2001-10-27 06:00:34 +00:00
f4bb7b53dd Now more abusive.
svn path=/trunk/; revision=14203
2001-10-27 05:28:18 +00:00
dfd9f83933 Added paranoid reentrancy guards. (pas_book_queue_request): Changed our
2001-10-27  Jon Trowbridge  <trow@ximian.com>

	* backend/pas/pas-book.c (pas_book_check_queue): Added paranoid
	reentrancy guards.
	(pas_book_queue_request): Changed our idle handler into a timeout,
	so as to work w/ reentrancy guards.
	(pas_book_init): Explicit initialization.

svn path=/trunk/; revision=14202
2001-10-27 05:27:40 +00:00
04dd664175 Don't bother checking ex since we can rely on the response being NULL on
2001-10-26  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-store.c (delete_folder): Don't bother
	checking ex since we can rely on the response being NULL on error.
	(rename_folder): Implemented.

svn path=/trunk/; revision=14201
2001-10-27 05:12:50 +00:00
1d0c3ca254 add prototypes for addressbook_config_database, and
2001-10-26  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.h: add prototypes for
	addressbook_config_database, and addressbook_load_default_book.

	* gui/component/addressbook.c (addressbook_config_database): new
	function, so we aren't activating the db everywhere we need to use
	it.
	(addressbook_load_default_book): load the default book, after
	getting the uri from bonobo-config.

svn path=/trunk/; revision=14200
2001-10-27 04:25:42 +00:00
d08917c280 Return on cancellation. (simple_query_sequence_complete_cb): Act if not
2001-10-26  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-book-util.c (simple_query_card_added_cb): Return
	on cancellation.
	(simple_query_sequence_complete_cb): Act if not cancelled.
	(simple_query_book_view_cb): Free & return on cancellation.
	(e_book_simple_query_cancel): Set cancellation flag.

	* gui/component/e-address-popup.c (e_address_popup_query): Hold a
	reference to ourselves for the duration of our addressbook fetch.
	(start_query): Release when we've fetched our addressbook.
	(e_address_popup_cleanup): Break out most of what we do in
	_destroy into a separate function.
	(e_address_popup_destroy): Class cleanup.
	(contact_editor_cb): Paranoid clean-up.
	(add_contacts_cb): Paranoid clean-up.
	(e_address_popup_ambiguous_email_add): Paranoid clean-up.

svn path=/trunk/; revision=14199
2001-10-27 04:02:25 +00:00
3ba5381842 remove the merges as valid sync types
2001-10-26  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/e-calendar.conduit.in: remove the merges as valid sync
	types

	* conduits/todo/e-todo.conduit.in: as above

	* conduits/calendar/calendar-conduit.c (pre_sync): write out only the
	touched records if we are doing copies

	* conduits/todo/todo-conduit.c: as above

	* conduits/calendar/calendar-conduit-config.h
	(calconduit_load_configuration): get the sync type

	* conduits/todo/todo-conduit-config.h: as above

svn path=/trunk/; revision=14198
2001-10-27 03:51:03 +00:00
8f983e58b6 remove the merges as valid sync types
2001-10-26  JP Rosevear  <jpr@ximian.com>

	* conduit/e-address.conduit.in: remove the merges as valid sync
	types

	* conduit/address-conduit.c (pre_sync): write out only the touched
	records if we are doing copies

	* conduit/address-conduit-config.h
	(addrconduit_load_configuration): get the sync type

svn path=/trunk/; revision=14197
2001-10-27 03:45:26 +00:00
a06095af85 take an extra param on whether to mark touched (map_sax_start_element):
2001-10-26  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (real_e_pilot_map_insert): take an extra param on
	whether to mark touched
	(map_sax_start_element): use above
	(e_pilot_map_insert): ditto
	(e_pilot_map_write): pass in extra info to foreach call
	(map_write_foreach): if we are in touched only mode, write out the
	map only if its been touched

	* e-pilot-map.h: add new member

svn path=/trunk/; revision=14196
2001-10-27 03:44:02 +00:00