Commit Graph

11516 Commits

Author SHA1 Message Date
2
6df609098d Change the lock to a recursive e-mutex. (camel_object_hook_event):
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
2001-10-02 20:33:11 +00:00
ba14e3cb74 [Fix #11326, The folder list can become detached from its parent
window.]

* e-shell-view.c (folder_context_menu_popped_down_cb): Pop down
the folder bar if it's popped up.

svn path=/trunk/; revision=13346
2001-10-02 20:31:13 +00:00
8f6ee6cb9b Don't handle control-enter if allow_newlines is off. Fixes Ximian bug
2001-10-02  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-text-event-processor-emacs-like.c
	(e_text_event_processor_emacs_like_event): Don't handle
	control-enter if allow_newlines is off. Fixes Ximian bug #3742.

svn path=/trunk/; revision=13345
2001-10-02 19:27:47 +00:00
1057efd639 Complete intltool support.
* autogen.sh: Complete intltool support.

svn path=/trunk/; revision=13311
2001-10-02 19:19:44 +00:00
af8e425a76 Shoo! Shoo!
svn path=/trunk/; revision=13310
2001-10-02 19:13:36 +00:00
811d0de363 Make the crash message less dorky. [#10264]
* e-shell.c (e_shell_component_maybe_crashed): Make the crash
message less dorky.  [#10264]

svn path=/trunk/; revision=13309
2001-10-02 19:05:39 +00:00
9c9e6d8e0c Add intltool support.
svn path=/trunk/; revision=13308
2001-10-02 19:03:43 +00:00
1ea1b436aa [Don't allow dragging from a folder to one of its descendants or
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
2001-10-02 18:56:27 +00:00
11c665c925 Use bonobo_ui_component_new_default()', not bonobo_ui_component_new()'.
* 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
2001-10-02 18:33:34 +00:00
df580510c9 New, callback for the ::removed_folder signal on the shell's EStorageSet.
* 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 18:21:01 +00:00
3695ce0e60 add $(BONOBO_GNOME_CFLAGS) to make it compile with latest Bonobo, which
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 17:20:03 +00:00
2bef0f376d duplicate also the params member
2001-10-02  Rodrigo Moya <rodrigo@ximian.com>

	* e-url.c (e_uri_copy): duplicate also the params member

svn path=/trunk/; revision=13303
2001-10-02 14:50:59 +00:00
82ca0883f7 use bonobo-exception to tidy
2001-10-02  JP Rosevear  <jpr@ximian.com>

	* cal-client/cal-query.c: use bonobo-exception to tidy

svn path=/trunk/; revision=13302
2001-10-02 14:43:33 +00:00
8828ff2fa3 new functions
2001-10-02  Rodrigo Moya <rodrigo@ximian.com>

	* e-url.[ch] (e_uri_copy, e_uri_to_string): new functions

svn path=/trunk/; revision=13301
2001-10-02 14:40:45 +00:00
7e61b6213f handle -1 as well (comp_from_remote_record): fix monthly by day
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 14:37:30 +00:00
1f42dd5851 Made the max length of the textification be 2047 characters. Fixes Ximian
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 13:55:18 +00:00
f6be515182 Added a max length of 2047 to the standard ETextModel. Fixes Ximian bug
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 12:31:05 +00:00
ce45d995aa Only show the cursor during changes if it was already shown. Fixes Ximian
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 11:13:47 +00:00
a84d2e0d8c Bumped the sonumber to 14.
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-02 11:12:31 +00:00
27c2f5dd5d Make sure we aren't dealing with a pathological message w/o a From:
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-02 04:33:47 +00:00
40c8393cd7 removed an extraneous tab.
2001-10-01  Aaron Weber <aaron@ximian.com>

	* help/C/Makefile.am: removed an extraneous tab.

	* C/usage-mail.sgml: missing directory for figure file ref.

svn path=/trunk/; revision=13294
2001-10-02 03:08:34 +00:00
c23b30b3bc if there was no first name or last name, file as the company.
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 23:58:13 +00:00
f41afabb33 Check for errors
svn path=/trunk/; revision=13292
2001-10-01 23:43:29 +00:00
797efb77af 0.15.99.
* configure.in: 0.15.99.

svn path=/trunk/; revision=13291
2001-10-01 23:28:43 +00:00
71bff5ef17 0.15.
svn path=/trunk/; revision=13289
2001-10-01 23:17:13 +00:00
c634d2826e Remove any cached messages that belonged to the deleted folder.
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 22:33:24 +00:00
2d249c55ca Added more news.
2001-10-01  Christopher James Lahey  <clahey@ximian.com>

	* NEWS (Addressbook): Added more news.

svn path=/trunk/; revision=13287
2001-10-01 22:27:40 +00:00
9869829e3b NEWS
svn path=/trunk/; revision=13286
2001-10-01 22:24:59 +00:00
27570c9bb1 NEWS
svn path=/trunk/; revision=13285
2001-10-01 22:23:30 +00:00
053ee627a7 Updated.
svn path=/trunk/; revision=13284
2001-10-01 22:11:43 +00:00
b9d0a7131a News.
svn path=/trunk/; revision=13283
2001-10-01 22:07:55 +00:00
29bf2715b8 replace my_list_find() == NULL with my_list_find() != NULL.
2001-10-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vfolder.c (mail_vfolder_remove_uri): replace my_list_find()
	== NULL with my_list_find() != NULL.

svn path=/trunk/; revision=13282
2001-10-01 22:02:20 +00:00
37af98188c If the charset is x-unknown, return the locale_charset.
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 20:31:03 +00:00
12d2a2ee59 *** empty log message ***
svn path=/trunk/; revision=13280
2001-10-01 20:16:38 +00:00
3cf375e1c3 Updated russian translation.
svn path=/trunk/; revision=13279
2001-10-01 20:14:42 +00:00
0586d60922 unref the page objects here, instead of in close_dialog(). (This was fixed
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
2001-10-01 20:12:00 +00:00
8d3a2ebd28 create storages for providers that are STORAGE and aren't EXTERNAL, rather
* 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
2001-10-01 19:45:39 +00:00
a9decdd879 Fix up the provider flags to specify things more completely so we don't
* 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 19:43:14 +00:00
6b4869002b Set the window state to sticky. Thanks to Peter Teichman for the
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 19:35:19 +00:00
f3730d9037 added basic URI management functions
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
2001-10-01 19:25:06 +00:00
14d9f8c04e Don't use mail_tool_get_folder_name here since that function only existed
* 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 19:11:32 +00:00
80a4835173 Updates.
svn path=/trunk/; revision=13272
2001-10-01 19:04:39 +00:00
1801894965 Applied patch from Takuo Kitame
svn path=/trunk/; revision=13271
2001-10-01 19:03:26 +00:00
6c2a82a063 updated NEWS
svn path=/trunk/; revision=13270
2001-10-01 19:00:26 +00:00
eb4a715ad0 Convert the comp exceptions to the pilot record (comp_from_remote_record):
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
2001-10-01 18:54:13 +00:00
8fc405a0b1 Don't pass the CREATE flag, we shouldn't ever need this...
2001-10-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_uri_to_folder): Don't pass the CREATE
	flag, we shouldn't ever need this...

svn path=/trunk/; revision=13268
2001-10-01 18:46:52 +00:00
bd549a75ae if there is a db error, assume deletion (pas_backend_file_changes): write
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 18:27:46 +00:00
68a1ba7115 strdup the uid to avoid double free, write out only after everything is
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 18:24:31 +00:00
da449e4dac if gnome-vfs returns application/octet-stream with the magic check, use
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
2001-10-01 18:23:05 +00:00
0b2cc6633c Don't munge the URL; CamelSession's caching relies on it not changing.
* 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
2001-10-01 18:09:53 +00:00