Commit Graph

8126 Commits

Author SHA1 Message Date
be2f9a67f6 Complete the shell side for supporting off-line operations, getting
the dialog to fully work and the menu item to change its label
according to the current status of the line.

svn path=/trunk/; revision=9662
2001-05-04 02:47:33 +00:00
7cfacb2f84 Initial implementation for the "warning, some connections are still
active" dialog.

svn path=/trunk/; revision=9661
2001-05-03 23:03:18 +00:00
08e6ede22a #include <camel/camel-file-utils.h>
* message-list.c: #include <camel/camel-file-utils.h>

	* mail-ops.c (get_folderinfo_get):
	* subscribe-dialog.c (build_tree): Update for
	camel_store_get_folder_info prototype change.

	* mail-format.c (handle_text_plain_flowed): Improve more on the
	fix from the other day: the first level of indentation adds blank
	lines, but further levels don't...

svn path=/trunk/; revision=9660
2001-05-03 20:54:07 +00:00
7c553e6e5b new abstract class for disconnectable remote stores
* camel-disco-store.c: new abstract class for disconnectable
	remote stores

	* camel-disco-folder.c: new abstract class for folders on
	disconnectable stores.

	* Makefile.am: Add camel-disco-folder.[ch] and
	camel-disco-store.[ch].

	* providers/imap/camel-imap-store.c: Make this a subclass of
	CamelDiscoStore, and fix up the offline interfaces for the changes
	since they were first written (particularly the fact that some
	IMAP stores don't just use subscribed folders).

	* providers/imap/camel-imap-folder.c: Make this a subclass of
	CamelDiscoFolder, although most ops still fail in disconnected
	mode.

	* camel-store.c (camel_store_get_folder_info): Change gboolean,
	gboolean, gboolean to guint32 in the prototype for this function.

	* providers/local/camel-local-store.c (get_folder_info): Update
	for prototype change.

svn path=/trunk/; revision=9659
2001-05-03 20:52:59 +00:00
57546880c8 signature editing fixes
* signature editing fixes

2001-05-03  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (get_signature_html): put signature in 100%
	width table
	(delete_old_signature): look only for first flow with signature == 1
	(e_msg_composer_new): don't insert <BR>
	(e_msg_composer_new_with_sig_file): ditto
	(delete_old_signature): don't delete whole signature paragraph,
	but just it's content
	(delete_old_signature): if signature isn't found, insert new empty
	paragraph to end of document for new signature
	(e_msg_composer_set_sig_file): delete signature always
	(e_msg_composer_set_sig_file): don't place signature to the end of
	document, but place it where previous one was (if there wasn't
	then new one is appended to the document)

2001-05-02  Radek Doulik  <rodo@ximian.com>

	* listener.c (impl_event): do automagic indenting only when
	in_signature_insert is FALSE

	* e-msg-composer.c (e_msg_composer_set_sig_file): do indent-zero
	before signature inserting
	(e_msg_composer_set_sig_file): use in_signature_insert flag

2001-05-01  Radek Doulik  <rodo@ximian.com>

	* listener.c (impl_event): set signature to 0 in newly created
	empty paragraphs
	(clear_signature): new helper function

svn path=/trunk/; revision=9658
2001-05-03 19:34:28 +00:00
8bf36627ed Rename WorkOffLine' into WorkOffline'.
svn path=/trunk/; revision=9657
2001-05-03 13:23:54 +00:00
56dbdf0fe5 Updated German translation
svn path=/trunk/; revision=9656
2001-05-03 12:50:15 +00:00
9a904c937f Make the `EShellOfflineHandler' object non-floating in the construct
method.

svn path=/trunk/; revision=9655
2001-05-03 12:18:43 +00:00
483ebae539 Add interfaces to the shell to handle off-line operation, as well as a
first (unfinished/untested) implementation for them.

svn path=/trunk/; revision=9653
2001-05-03 01:10:46 +00:00
0ac06ee5b0 new file.
2001-05-02  Chris Toshok  <toshok@ximian.com>

	* evolution-shell-component-dnd.c: new file.

	* evolution-shell-component-dnd.h: new file.

	* Makefile.am (libeshell_a_SOURCES): add
	evolution-shell-component-dnd.[ch].

svn path=/trunk/; revision=9652
2001-05-02 22:23:16 +00:00
af8abf4f2d I commited patches to mail and calendar summary which relied on this, but forgot
this file :(

2001-05-02  Gediminas Paulauskas <menesis@delfi.lt>

	* component/e-summary.c: set default content type of html to
	"text/html; charset=utf-8".

svn path=/trunk/; revision=9651
2001-05-02 20:51:10 +00:00
c5efeb1bb2 Found out that I forgot to commit this.
2001-04-21  Gediminas Paulauskas <menesis@delfi.lt>

	* menus/gal-view-menus.c: bonobo_ui_node_set_attr expects unstranslated
	strings, so change _() to N_().

svn path=/trunk/; revision=9650
2001-05-02 20:38:29 +00:00
d0edb93139 Clean this up a bit. Add a "tag_prefix" member. Move "useful_lsub" into
* providers/imap/camel-imap-store.h: Clean this up a bit. Add a
	"tag_prefix" member. Move "useful_lsub" into capabilities.

	* providers/imap/camel-imap-store.c (camel_imap_store_init):
	Initialize the tag_prefix, based on a static variable.

	* providers/imap/camel-imap-command.c (camel_imap_command): Use
	the store's tag_prefix character rather than "A" at the start of
	the tag. Makes the verbose debug output easier to parse when
	connected to multiple IMAP servers. (Well, unless you're connected
	to more than 26 servers...)

svn path=/trunk/; revision=9649
2001-05-02 19:53:53 +00:00
fec8edd681 unref the book if the view is being destroyed
2001-05-02  JP Rosevear  <jpr@ximian.com>

	* gui/component/addressbook.c (addressbook_view_free): unref the
	book if the view is being destroyed

	* backend/pas/pas-backend-file.c
	(pas_backend_file_process_get_book_view): unref the book_view when
	we are finished, it is only interesting if someone else has reffed
	it now (weak reference)
	(pas_backend_file_add_client): unref the book for the same reason
	as above

	* Fixes bug #2255

svn path=/trunk/; revision=9648
2001-05-02 19:10:48 +00:00
80e3acea85 unref the book if the view is being destroyed
2001-05-02  JP Rosevear  <jpr@ximian.com>

	* gui/component/addressbook.c (addressbook_view_free): unref the
	book if the view is being destroyed

	* backend/pas/pas-backend-file.c
	(pas_backend_file_process_get_book_view): unref the book_view when
	we are finished, it is only interesting if someone else has reffed
	it now (weak reference)
	(pas_backend_file_add_client): unref the book for the same reason
	as above

svn path=/trunk/; revision=9647
2001-05-02 19:09:47 +00:00
76808d38e9 initialize "continuation_line" to 0
2001-05-02  JP Rosevear  <jpr@ximian.com>

	* src/libical/icalparser.c (icalparser_new): initialize
	"continuation_line" to 0

svn path=/trunk/; revision=9646
2001-05-02 17:38:11 +00:00
f2d6ba3366 Updated Slovenian translation
svn path=/trunk/; revision=9645
2001-05-02 17:19:13 +00:00
d01a793455 Fix this up... it was losing count in some cases and giving a more verbose
* providers/imap/camel-imap-utils.c (imap_uid_array_to_set): Fix
	this up... it was losing count in some cases and giving a more
	verbose answer than it needed to.

svn path=/trunk/; revision=9644
2001-05-02 16:50:43 +00:00
42233e110a Rescue the KPOP code from bit rot.
* providers/pop3/camel-pop3-store.c: Rescue the KPOP code from bit
	rot.

svn path=/trunk/; revision=9643
2001-05-02 13:53:21 +00:00
81b8be17a7 Updated Azeri file Enabled Dutch header
Updated Azeri file
Enabled Dutch header

svn path=/trunk/; revision=9642
2001-05-02 11:20:54 +00:00
d3bcd3e9d6 Remove the last argument from camel_session_alert_user.
2001-05-01  Anders Carlsson  <andersca@codefactory.se>

	* camel-tcp-stream-ssl.c (ssl_bad_cert): Remove the last argument from
	camel_session_alert_user.

svn path=/trunk/; revision=9640
2001-05-01 19:44:45 +00:00
6a5e6fbbea Redo command locking. Since command_lock is recursive, we can just get a
* providers/imap/camel-imap-command.c (camel_imap_command): Redo
	command locking. Since command_lock is recursive, we can just get
	a lock here, and release it either on error, or when the caller
	frees the response data. (This simplifies a lot of stuff, and
	fixes some problems with camel_imap_folder_changed being called
	without the command_lock locked because of the 2001-03-22 change.)

	(camel_imap_response_free):
	(camel_imap_response_free_without_processing):
	(camel_imap_response_extract):
	(camel_imap_response_extract_continuation): These all take a
	CamelImapStore now as well, to deal with locking.

	* providers/imap/camel-imap-private.h: Add
	CAMEL_IMAP_STORE_ASSERT_LOCKED, which defaults to a noop, but can
	be made to call e_mutex_assert_locked.

	* providers/imap/camel-imap-folder.c, camel-imap-search.c,
	camel-imap-store.c: Simplify using new locking stuff. Add a few
	CAMEL_IMAP_STORE_ASSERT_LOCKED checks.

svn path=/trunk/; revision=9639
2001-05-01 19:16:14 +00:00
4ce894e3ab Debugging routine. (Only works for recursive mutexes right now.)
* e-msgport.c (e_mutex_assert_locked): Debugging routine. (Only
	works for recursive mutexes right now.)

svn path=/trunk/; revision=9638
2001-05-01 17:37:31 +00:00
eba2691d5d Don't use g_utf8_next_char on text that isn't valid UTF8, since it won't
* e-html-utils.c (e_text_to_html_full): Don't use g_utf8_next_char
	on text that isn't valid UTF8, since it won't work (and might even
	get into an infinite loop).

svn path=/trunk/; revision=9637
2001-05-01 16:46:31 +00:00
22f54199e7 remove unused assignment that calls non-existent function.
svn path=/trunk/; revision=9636
2001-05-01 15:44:06 +00:00
eb7438182a Support the IMAP UIDPLUS extension (RFC 2359), which lets you
resync after disconnected operation more efficiently, but also
	makes it possible to do appends and moves/copies more efficiently
	now.

	* providers/imap/camel-imap-folder.c (imap_append_message): If the
	server supports UIDPLUS, grab the APPENDUID response and cache the
	message into the folder's message cache.
	(imap_copy_messages_to): Likewise, for COPYUID, copy any message
	parts we have cached between the source and destination folder
	caches.
	(imap_get_message): If the entire message is already in the cache,
	just return that rather than building it from parts.
	(imap_update_summary): Fetch just the "UID FLAGS RFC822.SIZE" of
	the new messages first, then only fetch the headers for messages
	where we don't already have the headers cached.

	* providers/imap/camel-imap-message-cache.c: Add gtk-doc comments.
	(cache_put): Fix refcounting stuff here.
	(camel_imap_message_cache_insert_stream,
	camel_imap_message_cache_insert_wrapper): New.
	(camel_imap_message_cache_get): Fix a bug here so the memory
	caching actually works.
	(camel_imap_message_cache_copy): New routine, used by
	imap_copy_messages_to.

	* providers/imap/camel-imap-utils.c (imap_uid_set_to_array):
	Inverse operation of imap_uid_array_to_set. Used to parse COPYUID
	response.

svn path=/trunk/; revision=9635
2001-05-01 14:51:36 +00:00
c757cacd08 if the view does not contain a search context, the result is by default
2001-04-30  JP Rosevear  <jpr@ximian.com>

	* backend/pas/pas-backend-file.c (vcard_matches_search): if the
	view does not contain a search context, the result is by default
	false fixes #2470

svn path=/trunk/; revision=9634
2001-05-01 03:14:40 +00:00
56744d79e6 Mockups of the inline send and receiving mail dialog; including one using icons, and one (designed for better scalability) using clists.
svn path=/trunk/; revision=9633
2001-04-30 20:25:46 +00:00
8ad89adf8c New-and-improved version of get_uid_set() from camel-imap-folder.c. Looks
* providers/imap/camel-imap-utils.c (imap_uid_array_to_set):
	New-and-improved version of get_uid_set() from
	camel-imap-folder.c. Looks at the summary as it goes so that if
	you ask for messages 5, 6, 8, and 9, and there is no message 7,
	then you get "5:9" instead of "5:6,8:9"

	* providers/imap/camel-imap-folder.c (imap_copy_messages_to): Use
	imap_uid_array_to_set() rather than get_uid_set().
	(get_uid_set): Gone

svn path=/trunk/; revision=9632
2001-04-30 18:13:45 +00:00
155fcd8153 only remove event handlers if we set them up originally, to avoid
warnings from camel

svn path=/trunk/; revision=9631
2001-04-30 15:48:00 +00:00
246388d822 Unhook event handlers before syncing the folder, since the folder browser
* folder-browser.c (folder_browser_destroy): Unhook event handlers
	before syncing the folder, since the folder browser will have been
	destroyed by the time the sync thread completes and calls the
	signal handlers.

svn path=/trunk/; revision=9630
2001-04-30 13:55:29 +00:00
c4ff4d8239 Made fewer calls to functions like split_into_lines to save time when
2001-04-29  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c: Made fewer calls to functions like
	split_into_lines to save time when possible.

svn path=/trunk/; revision=9629
2001-04-29 19:06:24 +00:00
9071df0d8f Make this smarter. Now e_text_to_html_full calls it when it sees a '@',
* e-html-utils.c (email_address_extract): Make this smarter. Now
	e_text_to_html_full calls it when it sees a '@', and
	email_address_extract deals with scanning both forward and
	backward to find the bounds of the email address. It's still
	fooled by Message-IDs, but there's not a whole lot we can do
	there...

svn path=/trunk/; revision=9628
2001-04-29 17:41:33 +00:00
aeac2bb33b Mojo this a bit so that "\n\n>" gets translated to "<br><blockquote>"
* mail-format.c (handle_text_plain_flowed): Mojo this a bit so
	that "\n\n>" gets translated to "<br><blockquote>" rather than
	"<br><br><blockquote>", since the transition to blockquote mode
	creates a blank line itself. Makes Mozilla-generated flowed
	replies look better.

svn path=/trunk/; revision=9627
2001-04-29 16:59:00 +00:00
2a281b9296 Updated Swedish translation.
svn path=/trunk/; revision=9626
2001-04-29 15:39:04 +00:00
0105b1a601 Added widgets/e-categories-master-list-dialog-model.lo and
2001-04-29  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added
	widgets/e-categories-master-list-dialog-model.lo and
	widgets/e-categories-master-list-dialog.lo here.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	widgets/e-categories-master-list-dialog-model.c and
	widgets/e-categories-master-list-dialog.c here.
	(libwidgetsinclude_HEADERS): Added
	widgets/e-categories-master-list-dialog-model.h and
	widgets/e-categories-master-list-dialog.h here.
	(glade_DATA): Added e-categories-master-list-dialog.glade here.

	* gal/widgets/e-categories-master-list-dialog-model.c,
	gal/widgets/e-categories-master-list-dialog-model.h: New class
	defining an ETableModel for use in
	e-categories-master-list-dialog.c.

	* gal/widgets/e-categories-master-list-dialog.c,
	gal/widgets/e-categories-master-list-dialog.glade,
	gal/widgets/e-categories-master-list-dialog.h: New dialog for
	editing the master category list.

	* gal/widgets/e-categories.c: Added code to hook up the edit
	master category list button here to launch an
	e-categories-master-list-dialog.

	* gal/widgets/gal-categories.glade: Added a button here to edit
	the master category list.

svn path=/trunk/; revision=9625
2001-04-29 11:30:50 +00:00
0ec25e9430 Added a read only argument "model" to ETable.
2001-04-29  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c: Added a read only argument "model" to ETable.

svn path=/trunk/; revision=9624
2001-04-29 11:15:22 +00:00
ab58720ece Updated Finnish translation
svn path=/trunk/; revision=9623
2001-04-29 09:25:01 +00:00
2d3c06b3a4 (Make the alternating row colors a option in ETableSpecification instead
2001-04-28  Jason Leach  <jasonleach@usa.net>

	(Make the alternating row colors a option in ETableSpecification
	instead of a compiled in #define)

	* e-table-specification.c (e_table_specification_load_from_node):
	Read in the "alternating-row-colors=bool" option for
	ETableSpecifications.  Default value is true so unless it is
	specified to be false, row colors will alternate.
	(e_table_specification_save_to_node): Save the alternating row
	color options here.

	* e-table.c (et_build_groups): Pass down the alternating row
	colors through to the ETableGroup.

	* e-table-group-container.[ch]: Handle the new alternating row
	colors
	option here, passing it to ETableItem.

	* e-table-group-leaf.[ch]: Here too.

	* e-table-item.c (eti_get_cell_background_color): Got rid of the
	#define ALTERNATE_COLORS, replaced with truth check for
	ETableItem::alternating_row_colors.

	* e-tree.c: Make ETree recognize alternating row color options as
	well.

svn path=/trunk/; revision=9622
2001-04-29 01:14:50 +00:00
30cc6ee6da Reflect Danw's move of mail/session.c to mail/mail-session.c
2001-04-28  Peter Williams  <peterw@ximian.com>

       * POTFILES.in: Reflect Danw's move of mail/session.c to
       mail/mail-session.c

svn path=/trunk/; revision=9621
2001-04-28 19:08:06 +00:00
167af80880 Updated Ukrainian transaltion
svn path=/trunk/; revision=9619
2001-04-28 06:27:23 +00:00
d4b3c14fcd Renamed from session.c and made to be a subclass of CamelSession.
* mail-session.c: Renamed from session.c and made to be a subclass
	of CamelSession.

	* mail-mt.c (mail_user_message): Renamed from mail_get_accept and
	made more general-purpose, to implement the new
	camel_session_alert_user.

svn path=/trunk/; revision=9618
2001-04-27 21:08:51 +00:00
63e96e1002 Redo this a lot so that instead of having a class full of callbacks, we
* camel-session.c: Redo this a lot so that instead of having a
	class full of callbacks, we have a subclassable class. Also,
	replace the increasingly horrifying
	camel_session_query_authenticator with three new routines,
	camel_session_get_password, camel_session_forget_password, and
	camel_session_alert_user.

	* camel-pgp-context.c:
	* camel-pkcs7-context.c:
	* camel-smime-context.c:
	* providers/imap/camel-imap-store.c:
	* providers/pop3/camel-pop3-store.c:
	* providers/smtp/camel-smtp-transport.c:
	Use camel_session_get_password / camel_session_forget_password.

	* camel-tcp-stream-ssl.c (ssl_bad_cert): Use
	camel_session_alert_user.

svn path=/trunk/; revision=9617
2001-04-27 21:08:08 +00:00
d06ca412e4 remove hardcoded values (edit_attendee): ditto, and there are only 4 roles
2001-04-27  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-edit.c (put_property_in_list): remove hardcoded
	values
	(edit_attendee): ditto, and there are only 4 roles now

	* gui/e-meeting-dialog.glade: tweak

	* gui/itip-utils.c: There shouldn't be an "other" role

svn path=/trunk/; revision=9616
2001-04-27 20:14:17 +00:00
f413877346 add e-completion-test
svn path=/trunk/; revision=9615
2001-04-27 17:15:22 +00:00
6db4dcbf31 Updated Swedish translation.
svn path=/trunk/; revision=9614
2001-04-27 09:51:23 +00:00
b4b5a28b9a use enums not hard code values
2001-04-26  JP Rosevear  <jpr@ximian.com>

	 * gui/e-meeting-edit.c (edit_attendee): use enums not hard code
	 values

svn path=/trunk/; revision=9613
2001-04-27 03:18:53 +00:00
d9c49a4ba1 icalparameter_new_rsvp now takes an enum
2001-04-26  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-edit.c (add_button_clicked_cb):
	icalparameter_new_rsvp now takes an enum

svn path=/trunk/; revision=9612
2001-04-27 02:53:23 +00:00
69223166c6 the value type should be inited with ICAL_VALUE_* rather than ICAL_*_VALUE
2001-04-26  JP Rosevear  <jpr@ximian.com>

	* cal-util/cal-component.c (cal_component_alarm_set_trigger): the
	value type should be inited with ICAL_VALUE_* rather than
	ICAL_*_VALUE because it is a param argument.

svn path=/trunk/; revision=9611
2001-04-27 02:05:45 +00:00
80906820dc No need to camel_shutdown() anymore...
2001-04-26  Jeffrey Stedfast  <fejj@ximian.com>

	* main.c (main): No need to camel_shutdown() anymore...

svn path=/trunk/; revision=9610
2001-04-27 00:18:18 +00:00