2001-10-25 Damon Chaplin <damon@ximian.com>
* src/libical/icaltimezone.c (icaltimezone_get_tznames_from_vtimezone):
Outlooks (2000) places "Standard Time" and "Daylight Time" in the
TZNAME strings, which is useless, so return NULL in that case.
ETimezoneEntry will then use the TZID instead, in which Outlook does
place the actual timezone name. (I just hope Outlook doesn't translate
"Standard Time" to other languages, as we won't be able to fix it then)
svn path=/trunk/; revision=14107
* e-shell.c (impl_Shell_selectUserFolder): Handle failure from
XGetClassHint properly. Also, free res_name and res_class in case
of success. Fixes#13554.
svn path=/trunk/; revision=14104
2001-10-25 <NotZed@Ximian.com>
* folder-browser-ui.c (fbui_sensitize_timeout): So apparently the
uicomp can just 'vanish' while we're using it. Joy. Take care of
that case here, fixes#13482.
(fbui_sensitise_item): Check here too just for kicks.
* mail-folder-cache.c (store_finalised): If we can't destroy our
async event, then queue another one to do it.
(store_finalised_finish): And handle it here, until we can, then
free it.
(mail_note_store): Queue an async event to get folderinfo, dont
use mail_get_folderinfo.
(update_folders_get): thread-async event to retrieve the
folderinfo, and build it, then queues gui-async event to update
the gui.
(add_unmatched_info): Taken from mail-ops, adds unmatched if
required.
(add_vtrash_info): From mail-ops, add trash if required.
(update_folders): Thread async event to update gui.
(mail_note_store): Ref the store and storage when created.
(update_1folder): Changed to assume we have info_lock, and store
updates in an updates list.
(setup_folder): Same.
(folder_changed): Changed to call update_1folder directly.
(real_folder_changed): Removed.
(mail_note_folder): Changed to call update_1folder directly.
(real_note_folder): Removed.
(store_folder_subscribed): Call setup_folder directly.
(real_folder_created): Removed.
(real_flush_update): Function that actually does the updates in
the gui thread.
(mail_note_store): Go back to using mail_get_folderinfo.
(update_folders): Fixed upf ro changed api's.
(unset_folder_info): Changed to queue pending updates.
(real_folder_deleted): Removed.
(store_folder_unsubscribed): Do the removal work directly.
(mail_note_store): Dont link to finalised event of store - we now
ref it.
(mail_note_store_remove): If we have any pending updates, clear
them out. Also cancel any pending folderinfo retrieve operations.
(update_folders): Remove our update from the storeinfo list, if it
still exists.
(update_1folder): Make 'sent folder shows all counts' optional via
an environmental variable EVOLUTION_COUNT_SENT for all those
bloody whinging lusers out there.
(mail_note_store_remove): Unref the storage when done.
* mail-mt.c (mail_async_event_emit): If we're in main and have a
gui task, set it to run via an idle function.
(idle_async_event): Wrapper for calling do_async_event from idle
function, and freeing the message when done.
(idle_async_event): Call mail_msg_free not free on the finished
message.
* component-factory.c (mail_remove_storage): Destroy the storage
async.
(store_disconnect): This does the work.
(free_storage): Un-note the store when we remove it, so the store
noting code can unref things properly.
(idle_quit): Return false when done, dont loop.
2001-10-24 <NotZed@Ximian.com>
* component-factory.c (owner_set_cb): Setup an async_event
handler.
(idle_quit): Try to destroy the async_event, or keep dropping out
if it can't (deadlock).
* mail-mt.c (do_async_event): Set the threadid of the thread we're
running in so we know its running/which thread its in.
(mail_async_event_emit): Added new argument 'type' which is the
type of thread to execute against, gui or another one. Fixed all
callers.
(mail_async_event_destroy): Return -1 if this operation will fail
(deadlock possibility). If we're in the thread of the task
we're going to wait for, then return a failure (since we will
deadlock).
(mail_async_event_emit): Chagned to use MailAsyncFunc type as the
function type, which just takes 3 void args, change args to suit.
* mail-folder-cache.c (mail_note_store): Record the pending update
events in a pending list. We should really be able to use an
async event for this, but that doesn't return to the gui loop when
done :-/
(update_folders): Remove from pending update when done.
svn path=/trunk/; revision=14101
* e-activity-handler.c (impl_destroy): Set ->priv to NULL.
(impl_operationStarted): Check for priv not being NULL.
(impl_operationProgressing): Likewise.
(impl_operationFinished): Likewise.
(impl_requestDialog): Likewise.
svn path=/trunk/; revision=14099
2001-10-25 Jon Trowbridge <trow@ximian.com>
* e-summary-tasks.c (sort_uids): It is possible for
start_foo.value to be NULL after a cal to
cal_component_get_dtstart, so we need to check for this before
dereferencing it. (Bug #13259)
svn path=/trunk/; revision=14097
* e-shell-startup-wizard.c (make_mail_dialog_pages): Set the
->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwise
the caller will not realize about the problem.
svn path=/trunk/; revision=14095
* evolution-wizard.c (evolution_wizard_set_buttons_sensitive):
Don't use __FUNCTION__.
(evolution_wizard_set_show_finish): Likewise.
(evolution_wizard_set_page): Likewise.
* e-shell-startup-wizard.c (make_mail_dialog_pages): Do not use
__FUNCTION__ and __LINE__. This breaks the string freeze, but the
old way made Evolution non-compilable with non-GNU compilers.
svn path=/trunk/; revision=14094
2001-10-25 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/comp-editor.c (save_comp): show an error message when
we can't update the object on the calendar server
svn path=/trunk/; revision=14090
2001-10-25 Federico Mena Quintero <federico@ximian.com>
* gui/GNOME_Evolution_Calendar.oaf.in: The tasks folder does not
support the PersistFile interface; removed it. Removed it as well
from the calendar folder since it is aggregated but not actually
implemented.
svn path=/trunk/; revision=14088
2001-10-25 Federico Mena Quintero <federico@ximian.com>
* gui/component-factory.c (xfer_folder): Handle tasks folders as
well; was always using "calendar.ics" as the filename.
svn path=/trunk/; revision=14087
2001-10-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): No longer need to pass a
settext argument.
(do_forward_non_attached): Same.
svn path=/trunk/; revision=14085
2001-10-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_attachments_from_multipart): New function
that replaces handle_multpart() and handle_multipart_alternative()
for add_message_attachments().
(e_msg_composer_add_message_attachments): Call
add_attachments_from_multipart().
(handle_multipart_alternative): Now only used by
new_with_message() and is really only designed to work well with
messages generated by Evolution (ie for editing Drafts and such).
(handle_multipart): Same.
(e_msg_composer_new_with_message): No longer calls
add_message_attachments() because we can't ever have this fail and
the logic in add_message_attachments() is impossible
logic. Instead do like what we used to do before the addition of
add_message_attachments() came along.
svn path=/trunk/; revision=14084
2001-10-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_get_message_body): Fix to not always return
NULL for html parts, doh!.
svn path=/trunk/; revision=14081
* evolution-storage.c (evolution_storage_new_folder):
g_return_if_fail if the display_name is NULL. "Fixes" 11182
although there may be a few more cases lying around that pass
NULLs in.
svn path=/trunk/; revision=14078
2001-10-24 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c
(e_msg_composer_add_inline_image_from_mime_part): rework this so
that we don't end up freeing the cid then reading from it.
svn path=/trunk/; revision=14077
* main.c (quit_box_new): Set the WMClass of the quit dialog to be
different from the default one in an attempt to fix#13441.
svn path=/trunk/; revision=14076
2001-10-24 Kevin Breit <mrproper@ximian.com>
* C/figures/mail-composer.png: I updated this becuase the screenshot was humerously _old_.
svn path=/trunk/; revision=14075
2001-10-24 Christopher James Lahey <clahey@ximian.com>
* e-cell-combo.c: Added #include "gal/widgets/e-unicode.h".
* e-cell-text.c: Added lots of deactivated debugging printfs here.
(ect_event): Fixed the flags check here. Set edit->actions to 0
before calling e_text_event_processor_handle_event.
* e-table-item.c, e-table-item.h: Use eti_grab and eti_ungrab all
over the place. Added lots and lots of deactivated debugging
printfs here.
(eti_grab, eti_ungrab): New functions to encapsulate grabbing and
ungrabbing the cursor and to allow for recursive grabs
(refcounting style.)
* e-table.c: Added deactivated debugging printfs here.
(et_canvas_root_event): Attach to the event handler on the root
canvas item instead of the canvas itself when making the ETable
leave editing state. Fixes Ximian bug #9737.
svn path=/trunk/; revision=14072
2001-10-24 jacob berkman <jacob@ximian.com>
* aclocal-include.m4 (AM_ACLOCAL_INCLUDE): do a test that is not
only always false, but works with autoconf 2.52 and isn't trying
to be too smart
svn path=/trunk/; revision=13996
2001-10-24 Jon Trowbridge <trow@ximian.com>
* menus/gal-view-menus.c (gal_view_menus_apply): Ref the
BonoboUIComponent that we are holding.
(gvm_destroy): Unref our BonoboUIComponent.
svn path=/trunk/; revision=13994
2001-10-24 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): Same as in the TcpStreamRaw code.
(stream_write): And again here...
* camel-tcp-stream-raw.c (stream_read): Handle the EAGAIN error
case as well.
(stream_write): Same here, this might fix the SMTP truncation
thing? I hope?
svn path=/trunk/; revision=13993
2001-10-24 Damon Chaplin <damon@ximian.com>
* pcs/cal-backend-file.c (cal_backend_file_update_objects): when
iterating over the subcomponents, use 'subcomp' rather than 'icalcomp'.
That meant it wasn't working at all well when an entire VCALENDAR
was passed in.
* cal-util/cal-component.c: handle DURATION property used instead of
DTEND or DUE. In cal_component_get_dtend/due we will return DTSTART
+ DURATION if necessary. In set_dtend/due we remove any DURATION
property. Fixes bug #11262.
* gui/e-meeting-model.c (build_etable):
* gui/e-calendar-table.c (e_calendar_table_init): use U_ for the
ECellCombo popdown strings, as it expects UTF-8 strings.
svn path=/trunk/; revision=13992
* e-local-storage.c (storage_result_from_component_result): New.
(async_xfer_folder_callback): Use it so we get the right error
message.
(async_xfer_folder_complete): New arg @success. Don't remove the
directory and the metadata if @success is %FALSE.
svn path=/trunk/; revision=13991
2001-10-24 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
track the spacer vbox
(e_meeting_time_selector_style_set): make sure the rows are the
correct size for the style
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_paint_day_top): slight adjustments
to where the text is drawn
* gui/e-meeting-time-sel.h: new member
* gui/e-meeting-model.c (build_etable): ensure uniform row height
* conduits/todo/todo-conduit.c (comp_from_remote_record): mark
status as completed in appropriate places and don't overwrite
legitimate percentages and such
svn path=/trunk/; revision=13989
2001-10-24 Jon Trowbridge <trow@ximian.com>
* mail-search.c (mail_search_construct): Fixed some weird casting
crack that got in here somehow, removed superfluous box-packing
that was generating a gtk warning.
svn path=/trunk/; revision=13988
2001-10-24 Federico Mena Quintero <federico@ximian.com>
Fixes bug #5282.
* cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function
to avoid copying the same code all over the place.
(icaltimetype_to_tm): Also set the tm.tm_wday.
* gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use
time_day_end_with_zone().
(load_alarms_for_today): Likewise. And oops, we were only
computing the times and not loading the alarms.
(obj_updated_cb): Likewise.
(load_alarms): Removed assertion that is no longer valid because
we may load the alarms for a client in two stages.
* gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute
trigger times to the local timezone.
* gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
Convert the times to the local timezone.
(alarm_notify_dialog): Likewise, for the window title.
(alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP.
* gui/e-cell-date-edit-text.c (ecd_get_text): Use
icaltimetype_to_tm_with_zone().
* gui/alarm-notify/save.c (get_config_db): Made public.
(discard_config_db): Made public.
* gui/alarm-notify/config-data.[ch]: New files with functions to
fetch the calendar configuration data used by the alarm daemon.
svn path=/trunk/; revision=13986