Commit Graph

6152 Commits

Author SHA1 Message Date
d4ff693f85 Broke font and fontset parts of EFont into separate functions. Possibly
fixed bug #857 (needs some more testing)

svn path=/trunk/; revision=7279
2001-01-06 03:59:56 +00:00
7404de7250 Dont try and unref a messageinfo that wasn't there, and use the right free
2001-01-06  Not Zed  <NotZed@HelixCode.com>

        * providers/vee/camel-vee-folder.c (vee_folder_build_folder): Dont
        try and unref a messageinfo that wasn't there, and use the right
        free function too.  Modified patch from Iain.
        (vee_move_message_to): New method, call the real folders'
        move_message_to method.

svn path=/trunk/; revision=7278
2001-01-06 02:25:04 +00:00
40432fa8e1 Added missing PROG.
* autogen.sh: Added missing PROG.

svn path=/trunk/; revision=7277
2001-01-06 01:15:24 +00:00
5e06eaaa7e xml-i18n-toolize if AM_PROG_XML_I18N_TOOLS is found in configure.in.
* autogen.sh: xml-i18n-toolize if AM_PROG_XML_I18N_TOOLS is found
	in configure.in.

svn path=/trunk/; revision=7276
2001-01-06 00:54:34 +00:00
61058499ba Since the druid now handles adding the new account to the config, we'll
2001-01-05  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-accounts.c (mail_add): Since the druid now handles adding
	the new account to the config, we'll just connect to the destroy
	event and show the druid.
	(mail_add_finished): Just reload the account list here.

	* mail-config-druid.c (druid_finish): New callback to handle the
	"finish" signal. On second thought, it seems it would be best for
	the finish callback to be here rather than in mail-accounts.c.

	* mail-accounts.[c,h]: Added. Contains source for the Account manager
	window. And just like mail-config-druid.c, it's not yet complete.

	* mail-config-druid.c (mail_config_druid_get_incoming_keep_mail):
	Renamed from _delete_mail
	(mail_config_druid_get_transport_url): New convenience function
	that replaces the get_hostname, get_protocol, etc.
	(mail_config_druid_get_source_url): Same.

	* mail-config-druid.glade: Changed "Delete mail from server" to
	"Keep mail on server" as this has a more positive ring to it. Both
	I and Aaron agree this is the better phrase.

svn path=/trunk/; revision=7275
2001-01-05 21:40:42 +00:00
80aa9c98e1 disable indenting for now, it crashes editor
2001-01-05  Radek Doulik  <rodo@helixcode.com>

	* listener.c (impl_event): disable indenting for now, it crashes
	editor

svn path=/trunk/; revision=7274
2001-01-05 21:37:17 +00:00
9e5394aa6c Reverted, until me and maciej get some good ideas
svn path=/trunk/; revision=7273
2001-01-05 21:10:32 +00:00
63c43c06ab Renamed from _delete_mail (mail_config_druid_get_transport_url): New
2001-01-05  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c (mail_config_druid_get_incoming_keep_mail):
	Renamed from _delete_mail
	(mail_config_druid_get_transport_url): New convenience function
	that replaces the get_hostname, get_protocol, etc.
	(mail_config_druid_get_source_url): Same.

	* mail-config-druid.glade: Changed "Delete mail from server" to
	"Keep mail on server" as this has a more positive ring to it. Both
	I and Aaron agree this is the better phrase.

svn path=/trunk/; revision=7272
2001-01-05 20:33:11 +00:00
fc9fd0c4dd #define E_THREAD_NONE as ((pthread_t)~0) and use that instead of ~0
* e-msgport.c: #define E_THREAD_NONE as ((pthread_t)~0) and use
	that instead of ~0 throughout. (pthread_t is a pointer type on my
	system, so there are lots of warnings without the cast.)

svn path=/trunk/; revision=7271
2001-01-05 20:04:15 +00:00
9177914543 get categories button (init_widgets): listen for button click
2001-01-05  JP Rosevear  <jpr@helixcode.com>

	* gui/event-editor.c (get_widgets): get categories button
	(init_widgets): listen for button click
	(fill_widgets): fill in the categories area
	(dialog_to_comp_object): set the cal component categories
	(categories_clicked): throw up the categories dialog and update
	when ok is clicked

	* gui/event-editor-dialog.glade: Add categories and contacts buttons
	and fields

	* gui/dialogs/task-editor-dialog.glade: Rename button

svn path=/trunk/; revision=7270
2001-01-05 19:01:25 +00:00
3b1cd946df Renamed from _delete_mail
2001-01-05  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c (mail_config_druid_get_incoming_keep_mail):
	Renamed from _delete_mail

	* mail-config-druid.glade: Changed "Delete mail from server" to
	"Keep mail on server" as this has a more positive ring to it. Both
	I and Aaron agree this is the better phrase.

svn path=/trunk/; revision=7269
2001-01-05 18:36:18 +00:00
ec532d28e4 get categories button (init_widgets): listen for button click
2001-01-05  JP Rosevear  <jpr@helixcode.com>

	* gui/dialogs/task-editor.c (get_widgets): get categories button
	(init_widgets): listen for button click
	(fill_widgets): fill in the categories area
	(dialog_to_comp_object): set the cal component categories
	(categories_clicked): throw up the categories dialog and update
	when ok is clicked

	* gui/dialogs/task-editor-dialog.glade: Tweak to name the categories
	button and make it active

	* gui/calendar-model.c (get_categories): We can get the string list of
	categories directly now

	* cal-util/cal-component.c (cal_component_get_categories): new function
	to get the categories list as a string
	(cal_component_set_categories): same but for setting
	(free_icalcomponent): init the categories var
	(scan_categories): kill
	(scan_property): assign the prop to the categories var
	(cal_component_get_categories_list): deal with renaming var to categories
	(cal_component_set_categories_list): fix brokeness

svn path=/trunk/; revision=7268
2001-01-05 18:23:51 +00:00
601f4bc6b2 added support for xml-i18n-tools. This module is now required when
2001-01-06  Kenneth Christiansen  <kenneth@gnu.org>

        * configure.in, macros/autogen.sh:
          added support for xml-i18n-tools. This module is now required
          when building from cvs. Please make sure that the macrofile
          installed by xml-i18n-tools is installed so it's in aclocal's
          path. or do:

          export ACLOCAL_FLAGS='-I /usr/local/share/aclocal'

svn path=/trunk/; revision=7267
2001-01-05 13:58:54 +00:00
355c8a074e Fixed a few 'Oops'es.
2001-01-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c: Fixed a few 'Oops'es.

	* mail-config-druid.glade: Added a "Default" button for marking an
	account as the default.

svn path=/trunk/; revision=7266
2001-01-05 04:50:50 +00:00
5dca3046d3 new function. (impl_BookListener_respond_authentication_result): new
2001-01-04  Chris Toshok  <toshok@helixcode.com>

	* backend/ebook/e-book-listener.c
	(e_book_listener_queue_authentication_response): new function.
	(impl_BookListener_respond_authentication_result): new function.
	(e_book_listener_get_epv): fill in
	epv->notifyAuthenticationResult.

	* backend/ebook/e-book-listener.h: add AuthenticationResponse to
	EBookListenerOperation.

	* backend/ebook/e-book.c (e_book_authenticate_user): new function.

	* backend/ebook/e-book.h: add prototype for
	e_book_authenticate_user.

	* backend/idl/addressbook.idl (GNOME:Evolution:Addressbook:Book):
	add authenticateUser method.
	(GNOME:Evolution:Addressbook:BookListener): add
	AuthenticationFailed and AuthenticationRequired to CallStatus.
	also add notifyAuthenticationResult method.

	* backend/pas/pas-backend-file.c
	(pas_backend_file_process_authenticate_user): dummy
	authenticate_user function that always succeeds.
	(pas_backend_file_process_client_requests): respond to the
	AuthenticateUser request.

	* backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query):
	gtk_object_unref(sexp) => s_exp_unref(sexp).
	(pas_backend_ldap_process_authenticate_user): fill in to use
	ldap_simple_bind_s.
	(pas_backend_ldap_process_client_requests): respond to the
	AuthenticateUser request.

	* backend/pas/pas-book.c (pas_book_queue_authenticate_user): new
	function.
	(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): new
	function.
	(pas_book_respond_authenticate_user): new function.
	(pas_book_get_epv): fill in epv->authenticateUser.

	* backend/pas/pas-book.h: add AuthenticateUser operation type, and
	add user/passwd to the PASRequest struct.

	* gui/component/addressbook-storage.c
	(addressbook_storage_get_source_by_uri): new function.  should use
	a hashtable, perhaps, but the lists will generally be small
	anyway.

	* gui/component/addressbook-storage.h: add prototype for
	addressbook_storage_get_source_by_uri.

	* gui/component/addressbook-config.c
	(addressbook_source_dialog_set_source): fill in the binddn if the
	auth page is shown.

	* gui/component/addressbook.c (book_open_cb): shoe-horn
	authentication in here.  if the source was configured to use
	authentication, authenticate the user after opening the ebook.
	also, be paranoid and clear out the password after authenticating.
	(book_auth_cb): callback for auth.  set the "book" arg on the
	view->view here.
	(passwd_cb): set the view's passwd that'll be used in
	book_open_cb.
	(addressbook_view_free): g_free view->passwd.

svn path=/trunk/; revision=7265
2001-01-05 02:22:47 +00:00
d760764af8 new version of the contacts mini-icon. /tigert
svn path=/trunk/; revision=7264
2001-01-05 01:06:37 +00:00
26318a84b2 Fixed the border bug. Borders draw properly now.
2001-01-04  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-text.c (e_text_draw): Fixed the border bug.
	Borders draw properly now.

svn path=/trunk/; revision=7263
2001-01-05 00:48:00 +00:00
3596cc5df5 Added this function.
2001-01-04  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook-component.c,
	gui/component/addressbook-component.h
	(addressbook_component_get_shell_client): Added this function.

	* gui/component/select-names/e-select-names.c,
	gui/component/select-names/e-select-names.h: Added code for the
	ability to switch between different folders.  This doesn't work
	yet.

	* gui/component/select-names/select-names.glade,
	gui/component/select-names/select-names.glade.h: Added an option
	menu to this dialog.

svn path=/trunk/; revision=7262
2001-01-04 23:20:44 +00:00
5ff5cd8153 Remove non-existent file
2001-01-04  JP Rosevear  <jpr@helixcode.com>

	* POTFILES.in: Remove non-existent file

2001-01-04  JP Rosevear  <jpr@helixcode.com>

	* conduit/Makefile.am: Fix hard coded library names that were
	accidentally committed (i'm looking at you miggie)

	* contact-editor/e-contact-editor.c (categories_clicked): Reflect
	renaming.

	* contact-editor/e-contact-editor-categories.[hc]: These are
	living in gal now

svn path=/trunk/; revision=7261
2001-01-04 21:56:16 +00:00
2bd88e7f25 bump version
2001-01-04  JP Rosevear  <jpr@helixcode.com>

	* configure.in: bump version

	* gal/widgets/gal-categories.glade: Glade file for category editor

	* gal/widgets/e-categories.[hc]: A category editor dialog taken
	and renamed from evolution

	* gal/widgets/Makefile.am: Build new files and install
	glade stuff

svn path=/trunk/; revision=7260
2001-01-04 21:55:49 +00:00
85e5e335ee Remove conflict thingie from a while back
svn path=/trunk/; revision=7259
2001-01-04 21:48:22 +00:00
f80697d7a5 oops, forgot the changelog entry
svn path=/trunk/; revision=7258
2001-01-04 21:47:21 +00:00
f9006ad0d8 Oops, this shouldn't have gone in yet
svn path=/trunk/; revision=7257
2001-01-04 20:53:42 +00:00
398db56250 Need to e_sexp_unref the the sexp, not gtk_object_unref it.
2001-01-04  JP Rosevear  <jpr@helixcode.com>

	* backend/pas/pas-backend-file.c (pas_backend_file_book_view_free):
	Need to e_sexp_unref the the sexp, not gtk_object_unref it.

svn path=/trunk/; revision=7256
2001-01-04 20:52:20 +00:00
b74ccc5a87 rebuilt this, glade crashed...so uh, maybe this is ok now? I dunno
svn path=/trunk/; revision=7255
2001-01-04 20:44:00 +00:00
cee5da38dd Updated. What else can I say?
2001-01-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.glade: Updated. What else can I say?

svn path=/trunk/; revision=7254
2001-01-04 20:35:26 +00:00
356797dc29 fix includes for compilation
2001-01-04  JP Rosevear  <jpr@helixcode.com>

	* tests/lib/Makefile.am: fix includes for compilation

	* tests/message/Makefile.am: Build test3 again

	* tests/message/test2.c: Kill warnings with header includes

	* tests/message/test3.c: ditto

	* tests/lib/streams.c: ditto

	* tests/lib/camel-test.c: ditto

	* tests/lib/messages.c: ditto

	* tests/lib/folders.c: ditto

svn path=/trunk/; revision=7253
2001-01-04 19:40:10 +00:00
5be1cc987a oops. commit-o
svn path=/trunk/; revision=7252
2001-01-04 18:53:41 +00:00
85661c534b Fix two problems in figuring out server-expunged messages.
* providers/imap/camel-imap-folder.c (imap_rescan): Fix two
	problems in figuring out server-expunged messages.

svn path=/trunk/; revision=7251
2001-01-04 18:40:57 +00:00
f325b6f0a7 Fix leaks, set unread count on folder creation as well as on changes
svn path=/trunk/; revision=7250
2001-01-04 18:28:09 +00:00
495030c715 Connect to "message_changed" on the folder if it's on a remote storage.
* folder-browser.c (got_folder): Connect to "message_changed" on
	the folder if it's on a remote storage.
	(update_unread_count): Update the folder unread count / highlight
	in the shell when the unread message count changes

svn path=/trunk/; revision=7249
2001-01-04 17:08:40 +00:00
f9f6c39872 New function to update a folder given its URI. Plus associated changes to
* evolution-storage.c (evolution_storage_update_folder_by_uri):
	New function to update a folder given its URI. Plus associated
	changes to other functions to keep track of the path<->URI
	mappings.

svn path=/trunk/; revision=7248
2001-01-04 17:02:57 +00:00
349554fff6 Fix two problems in figuring out server-expunged messages.
* providers/imap/camel-imap-folder.c (imap_rescan): Fix two
	problems in figuring out server-expunged messages.

svn path=/trunk/; revision=7247
2001-01-04 16:57:39 +00:00
f4f3ede9d3 Removed old implementation.
2001-01-04  Not Zed  <NotZed@HelixCode.com>

	* mail-ops.c (mail_do_send_mail): Removed old implementation.

	* folder-browser.c (do_message_selected): If we haven't got a real
	uid, then clear the display instead.

	* message-list.c (message_list_drag_data_get): Use new save
	message function, and also wait for it to finish before
	continuing.
	(folder_changed):
	(message_changed): Use mail_proxy_event instead of
	mail_do_forward.
	(mail_regen_list): New iplementation to replace the old.
	: remove <gnome.h> from headers.  Dont define timeit by default.
	(main_folder_changed):
	(message_list_set_folder):
	(message_list_set_threaded):
	(message_list_set_search):
	(message_list_hide_add):
	(message_list_hide_uids):
	(message_list_hide_clear): Use mail_regen_list instead of
	mail_do_regenerate_messagelist.
	(mail_do_regenerate_messagelist): Removed the old stuff.  No
	functionality changed yet, just using different thread stuff.

	* mail-callbacks.c (save_msg_ok): Use new save message function.

	* component-factory.c (create_view):
	(add_storage): Use mail_scan_subfolders to build the folder info.
	(create_folder): Use new implementation with our own callback.
	(owner_set_cb): Changed b ack to use mail_get_folder, but now wait
	for it to finish.  This will let any gui still run, but also gives
	us the required synchronous operation.
	(got_folder): Callback for when the folder has been opened.

	* mail-ops.c (mail_get_folderinfo): New function to just get the
	folder info in another thread.
	(mail_scan_subfolders): New scan subfolder implementation that
	uses mail_get_folderinfo.
	(mail_do_scan_subfolders): Removed old implementation.
	(mail_create_folder): Nerw implementation to create a folder, only.
	(mail_do_create_folder): Removed old implementation.
	(mail_save_messages): New implementation, fixes a couple of minor
	problems, and now provides a return so it can be waited on.  Also
	check that the writes worked, etc.
	(mail_do_save_messages): Remove previous implementation.
	(mail_do_flag_messages): Removed, nothing uses it.
	(mail_do_flag_messages): Removed, nothing uses it anymore.
	(mail_get_folder): REturn the operation id, so callers can wait
	for it.
	(sync_folder_desc):
	(expunge_folder_desc): Add describe functions so we know what its
	doing.
	(mail_send_mail): More generic implementation of sending mail.

	* mail-mt.c (mail_msg_new): Lock around seq increment.  And insert
	each new message into a hash table of active messages.
	(mail_msg_init): Init the active message table.
	(mail_msg_free): Remove the message from the active message table.
	(mail_msg_wait): New function, waits for a message to be
	processed, by id.
	(mail_msg_check_error): Dont display the error if it is a
	user-cancelled operation.
	(mail_proxy_event): new implementation of mail_op_forward_event.
	Only real difference is it uses the new	thread stuff, and you can
	wait for it to finish if you want.
	(mail_proxy_event): If we're already in the main thread, just call
	the function.

svn path=/trunk/; revision=7246
2001-01-04 07:34:26 +00:00
bf08ae0bb2 If we have a lot of messages changed, promote it to a folder changed
2001-01-04  Not Zed  <NotZed@HelixCode.com>

        * camel-folder.c (thaw): If we have a lot of messages changed,
        promote it to a folder changed event.

svn path=/trunk/; revision=7245
2001-01-04 07:28:40 +00:00
66b0d503f5 comment out some of the system flags as we don't want to use them.
2001-01-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* filter-system-flag.c: comment out some of the system flags as we
	don't want to use them.
	(xml_encode): Update the printf
	(get_widget): Use strcmp instead of g_strcasecmp.

svn path=/trunk/; revision=7244
2001-01-04 06:52:22 +00:00
d5f7afcbd6 Implemented. (search_header_exists): Implemented.
2000-01-03  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-folder-search.c (search_header_matches): Implemented.
	(search_header_exists): Implemented.
	(search_header_starts_with): Implemented.
	(search_header_ends_with): Implemented.

svn path=/trunk/; revision=7243
2001-01-04 06:40:33 +00:00
30ff318dbb check capabilities is valid before doing a strstr.
2001-01-03  Michael Meeks  <michael@helixcode.com>

	* gui/widgets/e-addressbook-model.c (get_view): check
	capabilities is valid before doing a strstr.

svn path=/trunk/; revision=7242
2001-01-04 00:59:29 +00:00
be58a48702 Updated Swedish translation.
svn path=/trunk/; revision=7241
2001-01-03 22:47:02 +00:00
c588a0358c Updates evolution/po/da.po gal/po/da.po galeon/po/da.po gernel/po/da.po
Updates
evolution/po/da.po gal/po/da.po galeon/po/da.po
gernel/po/da.po gimp/po/da.po gimp/po-plug-ins/da.po
gnome-games/po/da.po gnome-vfs/po/da.po gtranslator/po/da.po
helix-setup-tools/po/da.po libgda/po/da.po mc/po/da.po
nautilus/po/da.po pan/po/da.po sodipodi/po/da.po

svn path=/trunk/; revision=7240
2001-01-03 22:26:54 +00:00
0d208861a3 Updated to have a GtkWindow as a parent
svn path=/trunk/; revision=7239
2001-01-03 21:23:18 +00:00
14a8767534 New source file that implements mail-config-druid. Note: this is not yet
2001-01-03  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c: New source file that implements
	mail-config-druid. Note: this is not yet complete.

svn path=/trunk/; revision=7238
2001-01-03 20:50:37 +00:00
0419c2b3c7 Removed camel/providers/mbox/Makefile and camel/providers/mh/Makefile.
2001-01-03  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in (EVOLUTION_DIR): Removed
	camel/providers/mbox/Makefile and camel/providers/mh/Makefile.

svn path=/trunk/; revision=7237
2001-01-03 19:55:04 +00:00
bf7b4cec4f Update
svn path=/trunk/; revision=7236
2001-01-03 18:15:13 +00:00
b497fd53eb Initialize the exists variable so that we don't do random things if the
2001-01-03  Christopher James Lahey  <clahey@helixcode.com>

	* providers/imap/camel-imap-folder.c (camel_imap_folder_new):
	Initialize the exists variable so that we don't do random things
	if the imap server misbehaves.

svn path=/trunk/; revision=7235
2001-01-03 17:33:11 +00:00
e41312f0b7 If the headers have changed, then continue with the prompt else just
2001-01-03  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (do_exit): If the headers have changed, then
	continue with the prompt else just destroy the window.

	* e-msg-composer-hdrs.c (init): Initialize has_changed to FALSE.
	(entry_changed): New callback to set the value of has_changed.
	(add_header): Attach the "changed" signal.

svn path=/trunk/; revision=7234
2001-01-03 17:29:40 +00:00
faae476f99 Handle the case where the calendar view cannot be created; present a
2001-01-03  Federico Mena Quintero  <federico@helixcode.com>

	* gui/calendar-commands.c (new_calendar): Handle the case where
	the calendar view cannot be created; present a warning dialog box.
	(new_calendar): Do not show the widget here, since we already show
	it in control-factory.c.

	* gui/control-factory.c (control_factory_new_control): Handle the
	case where the calendar view cannot be created.

	* gui/component-factory.c (create_view): Ditto.

	* gui/calendar-summary.h: Added prototype for
	calendar_summary_factory_init().

svn path=/trunk/; revision=7233
2001-01-03 16:05:19 +00:00
c37da13423 Call mail-callbacks.c:forward_messages(), so the behaviour is the same as
2001-01-03  Not Zed  <NotZed@HelixCode.com>

        * mail-view.c (view_forward_msg): Call
        mail-callbacks.c:forward_messages(), so the behaviour is the same
        as from the folder browser.

        * mail-callbacks.c (forward_messages): New function to forward
        messages, attached or not.
        (forward_inlined): Changed to use new forward-messages
        implementation.
        (forward_attached): Likewise.
        (do_forward_attach): Callback for forwarding as attachment, once
        we have built it.
        (do_forward_inline): Likewise, for inline, once we have retrieved
        the message.
        (forward_message): Removed.

        * mail-ops.c (mail_build_attachment): New function to build an
        attachment of messages.
        (mail_do_attach_message): Removed, functionality superceeded by
        above.
        (mail_do_forward_message): Removed.  Likewise.
        (mail_create_folder): Started work on an alternative
        implementation of create_folder, but not sure about it yet.

        * mail-tools.c (mail_tool_generate_forward_subject): Remove locking.
        (mail_tool_make_message_attachment): Free the description when done.

svn path=/trunk/; revision=7232
2001-01-03 11:52:04 +00:00
3df84a345e add font color setting for table, changed border behavior
2001-01-03  Radek Doulik  <rodo@helixcode.com>

	* mail-format.c (write_headers): add font color setting for table,
	changed border behavior

	* mail-display.c (redisplay): don't set body bg and text color

svn path=/trunk/; revision=7231
2001-01-03 11:28:14 +00:00
94c359416e Updated Ukrainian translation
svn path=/trunk/; revision=7230
2001-01-03 11:18:50 +00:00