2001-10-02 <NotZed@Ximian.com>
* camel-object.c (camel_object_get_hooks): Change the lock to a
recursive e-mutex.
(camel_object_hook_event): Maintain list length of hook list.
(camel_object_unhook_event): "
(camel_object_unhook_event): If we are in an event, just mark the
pair as removed, without removing it.
(camel_object_trigger_event): Before running events, copy the
list, and also ignore 'removed' events. After running events, if
we're all out of events, then free up any pending-removed events.
(camel_object_free_hooks): Add some new assertions on the state of
the hook structure.
Removed the #error if threads not defined. It _should_ actually
work without threads.
(camel_object_free_hooks): Free mutex when done.
svn path=/trunk/; revision=13347
onto itself, when the operation is GDK_DRAG_MOVE. This fixes bugs
like #8737.]
* e-storage-set-view.c (handle_evolution_path_drag_motion): Don't
highlight if the user is attempting to move a folder to one of its
descendants.
svn path=/trunk/; revision=13307
* e-shell-view.c (e_shell_view_construct): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
* mail-account-gui.c (launch_signature_editor): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
* e-msg-composer.c (setup_ui): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
* gui/dialogs/comp-editor.c (setup_widgets): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
svn path=/trunk/; revision=13306
* e-shell-view.c (storage_set_removed_folder_callback): New,
callback for the ::removed_folder signal on the shell's
EStorageSet.
(e_shell_view_construct): Connect.
(e_shell_view_remove_control_for_uri): Removed.
* e-shell-folder-commands.c
(folder_selection_dialog_folder_selected_callback): Don't call
`e_shell_view_remove_control_for_uri()'.
(e_shell_command_delete_folder): Not here either. And don't
display the default URI either.
svn path=/trunk/; revision=13305
2001-10-02 Rodrigo Moya <rodrigo@ximian.com>
* Makefile.am: add $(BONOBO_GNOME_CFLAGS) to make it compile with
latest Bonobo, which does not install headers in
$(gnome_prefix)/include
svn path=/trunk/; revision=13304
2001-10-02 JP Rosevear <jpr@ximian.com>
* conduits/calendar/calendar-conduit.c (nth_weekday): handle -1 as
well
(comp_from_remote_record): fix monthly by day recurrences and
handle "last" day type
svn path=/trunk/; revision=13300
2001-10-02 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): Made the max length of
the textification be 2047 characters. Fixes Ximian bug #3021.
svn path=/trunk/; revision=13299
2001-10-02 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text-model.c (MAX_LENGTH): Added a max length of
2047 to the standard ETextModel. Fixes Ximian bug #3021.
svn path=/trunk/; revision=13298
2001-10-02 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c, e-table-item.h: Only show the cursor during
changes if it was already shown. Fixes Ximian bug #9810 and
Ximian bug #4048.
svn path=/trunk/; revision=13297
2001-10-02 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the sonumber to 14.
* gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h
(e_canvas_item_area_shown): New function returns TRUE iff
e_canvas_item_show_area would be a noop.
svn path=/trunk/; revision=13296
2001-10-01 Jon Trowbridge <trow@ximian.com>
* mail-display.c (on_url_requested): Make sure we aren't dealing
with a pathological message w/o a From: header.
(ebook_callback): Properly check that the address we queried
matches the address on the current message. (Bug #10038)
svn path=/trunk/; revision=13295
2001-10-01 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): if there
was no first name or last name, file as the company.
svn path=/trunk/; revision=13293
2001-10-01 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (delete_folder): Remove any
cached messages that belonged to the deleted folder.
(subscribe_folder): Don't ever let the info->name be NULL and
don't use the stupid concat kludge to generate the URL, just use a
CamelURL to do it. This way we don't risk breaking stuff by having
a url like imap://fejj@imap//folder
svn path=/trunk/; revision=13288
2001-10-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-charset-map.c (camel_charset_to_iconv): If the charset is
x-unknown, return the locale_charset.
svn path=/trunk/; revision=13281
2001-10-01 Damon Chaplin <damon@ximian.com>
* gui/dialogs/comp-editor.c (comp_editor_destroy): unref the page
objects here, instead of in close_dialog(). (This was fixed a while
ago, but accidentally reverted.) Fixes bug #7543.
svn path=/trunk/; revision=13278
* component-factory.c (mail_load_storage_by_uri): create storages
for providers that are STORAGE and aren't EXTERNAL, rather than
"(STORAGE and REMOTE) or spool, maildir, or vfolder".
(mail_remove_storage_by_uri): Use the same rule here (which makes
it possible now to remove maildir and spool stores now, which
weren't properly special-cased before). Remove some CamelException
misuse.
* mail-config.c (new_source_created): Fix up the broken INBOX-
shortcut-generating assumption a little by only assuming that if
you call camel_store_get_inbox(), that its full_name is the same
as its path. (This happens to always be true for inboxes now, and
will be always true by definition at some point in the future.)
Now maildir stores get working Inbox shortcuts.
* mail-send-recv.c (get_receive_type): If PROVIDER_IS_STORAGE
then use SEND_UPDATE, if not, use SEND_RECEIVE.
* mail-local.c (local_provider): The local provider is EXTERNAL.
(The shell creates it.)
(mail_local_reconfigure_folder): Allow reconfiguring between
IS_LOCAL providers.
* mail-accounts.c (news_delete): Don't need to check the provider
flags here... we know nntp is a STORAGE.
svn path=/trunk/; revision=13277
* camel-provider.h: Fix up the provider flags to specify things
more completely so we don't have to hardcode provider names in the
mailer.
* providers/local/camel-local-provider.c: MH, mbox, and Maildir
are LOCAL. MH and mbox are no longer STORAGE by the new
definition.
* camel-session.c (vee_provider): The vfolder store is a STORAGE.
svn path=/trunk/; revision=13276
2001-10-01 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
Set the window state to sticky. Thanks to Peter Teichman for the
suggestion.
svn path=/trunk/; revision=13275
2001-10-01 Rodrigo Moya <rodrigo@ximian.com>
* e-url.[ch]: added basic URI management functions
* Makefile.am: added BONOBO flags to make it compile with latest
Bonobo, which installs headers in a version-based directory
svn path=/trunk/; revision=13274
* mail-local.c (mail_local_reconfigure_folder): Don't use
mail_tool_get_folder_name here since that function only existed to
be clever in a certain case that this is not.
(reconfigure_folder_free): Remove the dialog from the hash table
here so that it gets removed in the successfully-reconfigured case
too. Don't unref folder_out if it never got set.
(reconfigure_clicked): Remove the hash table code from here; it's
in reconfigure_folder_free now.
* mail-tools.c (mail_tool_get_folder_name): No longer used by
anything.
(mail_tool_get_folder_from_urlname): Also not used anywhere.
svn path=/trunk/; revision=13273
2001-10-01 JP Rosevear <jpr@ximian.com>
* conduits/calendar/calendar-conduit.c (local_record_from_comp):
Convert the comp exceptions to the pilot record
(comp_from_remote_record): record exceptions in the comp and
use time zone stuff on recurrence end date
svn path=/trunk/; revision=13269
001-10-01 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key): if there is a db error,
assume deletion
(pas_backend_file_changes): write after all is done for efficiency
svn path=/trunk/; revision=13267
2001-10-01 JP Rosevear <jpr@ximian.com>
* pcs/cal-backend-file.c (cal_backend_file_compute_changes):
strdup the uid to avoid double free, write out only after
everything is done
svn path=/trunk/; revision=13266
2001-10-01 Larry Ewing <lewing@ximian.com>
* mail-identify.c (mail_identify_mime_part): if gnome-vfs returns
application/octet-stream with the magic check, use the filename
check instead since it at least has a chance of being useful.
svn path=/trunk/; revision=13265
* providers/local/camel-local-store.c (construct): Don't munge the
URL; CamelSession's caching relies on it not changing. Instead,
add a toplevel_dir field to CamelLocalStore, and set that to the
path, but always ending with /.
(camel_local_store_finalize): Free toplevel_dir
(camel_local_store_get_toplevel_dir): Return toplevel_dir rather
than url->path.
* providers/local/*: Lots of s/url->path/toplevel_dir/
* providers/local/camel-spool-store.c (construct): Likewise, don't
try to strip a trailing / from url->path here, but I didn't make
the corresponding toplevel_dir change, because there's no good
reason someone should expect "/var/spool/mail/danw/" to work since
that's not a directory.
svn path=/trunk/; revision=13264