platform/upstream/evolution-data-server.git
20 years ago12/7/04 aman <amanlinux@netscape.net>add file
Amanpreet Singh Alam [Mon, 12 Jul 2004 12:58:09 +0000 (12:58 +0000)]
12/7/04  aman <amanlinux@netscape.net>add file

20 years agoread "use_ssl" property from the ESource and form the uri accordingly
Sivaiah Nallagatla [Mon, 12 Jul 2004 09:08:36 +0000 (09:08 +0000)]
read "use_ssl" property from the ESource and form the uri accordingly

2004-07-12  Sivaiah Nallagatla   <snallagatla@novell.com>

        * backends/groupwise/e-cal-backend-groupwise.c
        (form_uri) : read "use_ssl" property from the ESource
        and form the uri accordingly
        (connect_to_server) : when "use_ssl" is "when-possible"
        try with https first and then with http if that fails

20 years agoTranslation updated by Daniel van Eeden.
Vincent van Adrighem [Sat, 10 Jul 2004 13:46:22 +0000 (13:46 +0000)]
Translation updated by Daniel van Eeden.

2004-07-10  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Daniel van Eeden.

20 years agomade this function public.
Rodrigo Moya [Fri, 9 Jul 2004 16:12:35 +0000 (16:12 +0000)]
made this function public.

2004-07-07  Rodrigo Moya <rodrigo@novell.com>

* libedataserver/e-source.[ch] (e_source_build_absolute_uri): made
this function public.

20 years agoUpdated Korean translation
Changwoo Ryu [Fri, 9 Jul 2004 15:36:32 +0000 (15:36 +0000)]
Updated Korean translation

20 years agouse CAMEL_GROUPWISE_CFLAGS. (libcamelgroupwise_la_LIBADD): use
Chris Toshok [Thu, 8 Jul 2004 19:53:01 +0000 (19:53 +0000)]
use CAMEL_GROUPWISE_CFLAGS. (libcamelgroupwise_la_LIBADD): use

2004-07-07  Chris Toshok  <toshok@ximian.com>

* providers/groupwise/Makefile.am (INCLUDES): use
CAMEL_GROUPWISE_CFLAGS.
(libcamelgroupwise_la_LIBADD): use CAMEL_GROUPWISE_LIBS.

20 years agobind to the right charset (i.e. utf8). See #58976.
Not Zed [Thu, 8 Jul 2004 02:17:36 +0000 (02:17 +0000)]
bind to the right charset (i.e. utf8). See #58976.

2004-07-07  Not Zed  <NotZed@Ximian.com>

        * src/server.c (main): bind to the right charset (i.e. utf8).  See
        #58976.

20 years agoUpdated Albanian translation.
Laurent Dhima [Mon, 5 Jul 2004 15:39:22 +0000 (15:39 +0000)]
Updated Albanian translation.

2004-07-05  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

20 years agobump version, libtool numbers
JP Rosevear [Mon, 5 Jul 2004 14:58:46 +0000 (14:58 +0000)]
bump version, libtool numbers

2004-07-02  JP Rosevear  <jpr@novell.com>

* configure.in: bump version, libtool numbers

20 years agoFixes #60463 Added a timezone argument and used it to convert the freebusy
Harish Krishnaswamy [Mon, 5 Jul 2004 06:21:48 +0000 (06:21 +0000)]
Fixes #60463 Added a timezone argument and used it to convert the freebusy

Fixes #60463
* backends/groupwise/e-cal-backend-groupwise-utils.c:
(e_gw_connection_get_freebusy_info):
Added a timezone  argument and used it to convert the freebusy
times to default timezone.

20 years agofix the problem of returning from the fucntion without singalling the
Sivaiah Nallagatla [Sat, 3 Jul 2004 13:04:57 +0000 (13:04 +0000)]
fix the problem of returning from the fucntion without singalling the

2004-07-03  Sivaiah Nallagatla <snallagatla@novell.com>

        * backends/groupwise/e-book-backend-groupwise.c
        (book_view_thread) : fix the problem
        of returning from the fucntion without singalling the
        parent thread when cnc is null. A probable fix for #60947
        Also send the query to server when summary is not present
        (build_summary), (update_summary) : set priv->is_summary_ready
        to TRUE when summary loading is done

20 years ago[ fixes #60691 ]
Chris Toshok [Fri, 2 Jul 2004 14:45:49 +0000 (14:45 +0000)]
[ fixes #60691 ]

2004-07-02  Chris Toshok  <toshok@ximian.com>

[ fixes #60691 ]

* libedataserver/e-iterator.h: rename the "delete" member to
"remove", to fix c++ build.

* libedataserver/e-iterator.c (e_iterator_delete): same.
(e_iterator_class_init): same.

* libedataserver/e-list-iterator.c (e_list_iterator_class_init): same.
(e_list_iterator_remove): same.

20 years agos/Can't/Cannot/.
Christian Neumair [Fri, 2 Jul 2004 12:19:34 +0000 (12:19 +0000)]
s/Can't/Cannot/.

2004-07-02  Christian Neumair  <chris@gnome-de.org>

* camel-smime-context.c: s/Can't/Cannot/.

20 years agoSet the size of the ptrarray to prevent potentially realloc'ing several
Jeffrey Stedfast [Wed, 30 Jun 2004 19:55:29 +0000 (19:55 +0000)]
Set the size of the ptrarray to prevent potentially realloc'ing several

2004-06-30  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-search.c (imap4_body_contains): Set
the size of the ptrarray to prevent potentially realloc'ing
several times.

20 years agoAded a new %formatter 'V' which takes a string vector (needed for SEARCH).
Jeffrey Stedfast [Tue, 29 Jun 2004 21:22:09 +0000 (21:22 +0000)]
Aded a new %formatter 'V' which takes a string vector (needed for SEARCH).

2004-06-29  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-command.c
(camel_imap4_command_newv): Aded a new %formatter 'V' which takes
a string vector (needed for SEARCH).

* providers/imap4/camel-imap4-search.[c,h]: New source files
implementing search functionality.

* providers/imap4/camel-imap4-folder.c (imap4_sync_flag): Use the
new public version of imap4_get_uid_set().
(imap4_transfer_messages_to): Same.
(camel_imap4_folder_new): Create a search context.
(camel_imap4_folder_finalize): Unref the search context.
(camel_imap4_folder_class_init): Override the search methods.
(imap4_search_by_expression): New.
(imap4_search_by_uids): New.
(imap4_search_free): New.

* providers/imap4/camel-imap4-utils.c (camel_imap4_get_uid_set):
Moved here from camel-imap4-folder.c

20 years agoadd any parents of the new name before we actually do the rename so the
Not Zed [Tue, 29 Jun 2004 10:05:21 +0000 (10:05 +0000)]
add any parents of the new name before we actually do the rename so the

2004-06-29  Not Zed  <NotZed@Ximian.com>

        * camel-vee-store.c (vee_rename_folder): add any parents of the
        new name before we actually do the rename so the rename has
        somewhere to go to.  #60775.

20 years agoTranslation updated.
Laurent Dhima [Mon, 28 Jun 2004 15:04:40 +0000 (15:04 +0000)]
Translation updated.

2004-06-28  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Translation updated.

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Mon, 28 Jun 2004 13:49:50 +0000 (13:49 +0000)]
Updated Norwegian translation.

2004-06-28  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

20 years agooverride CAMEL_FOLDER_NAME arg so we can translate "." into "Inbox".
Not Zed [Mon, 28 Jun 2004 08:36:29 +0000 (08:36 +0000)]
override CAMEL_FOLDER_NAME arg so we can translate "." into "Inbox".

2004-06-28  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-maildir-folder.c (maildir_folder_getv):
        override CAMEL_FOLDER_NAME arg so we can translate "." into
        "Inbox".

20 years agotake url argument directly, fixes a memleak. (camel_folder_info_new): make
Not Zed [Mon, 28 Jun 2004 06:59:38 +0000 (06:59 +0000)]
take url argument directly, fixes a memleak. (camel_folder_info_new): make

2004-06-28  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-maildir-store.c (camel_folder_info_new):
        take url argument directly, fixes a memleak.
        (camel_folder_info_new): make the toplevel "." into "Inbox"
        always.
        (maildir_rename_folder): dont let users rename inbox.

20 years agoMore fixes.
Jeffrey Stedfast [Mon, 28 Jun 2004 00:18:20 +0000 (00:18 +0000)]
More fixes.

2004-06-27  Jeffrey Stedfast  <fejj@novell.com>

* camel-url-scanner.c (camel_url_web_end): More fixes.

20 years agosame. (remodel): same.
Chris Toshok [Sat, 26 Jun 2004 19:04:24 +0000 (19:04 +0000)]
same. (remodel): same.

2004-06-25  Chris Toshok  <toshok@ximian.com>

        * gui/widgets/e-minicard.c (add_field): same.
        (remodel): same.

        * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_height): same.

        * gui/widgets/eab-popup-control.c (email_table_init): same.
        (contact_picker_init): same.

        * gui/widgets/eab-gui-util.c (eab_contact_save): use
        e_contact_get_const here to plug a leak.
        (eab_contact_list_save): same.
        (eab_send_contact_list_as_attachment): same.

20 years agoremove more debugging printfs
Jeffrey Stedfast [Fri, 25 Jun 2004 19:22:56 +0000 (19:22 +0000)]
remove more debugging printfs

20 years agofixed an uninitialised memory read from my last fix
Jeffrey Stedfast [Fri, 25 Jun 2004 19:06:25 +0000 (19:06 +0000)]
fixed an uninitialised memory read from my last fix

20 years agoUpdated Brazilian Portuguese translation done by Gustavo Maciel Dias
Gustavo Maciel Dias Vieira [Fri, 25 Jun 2004 18:54:22 +0000 (18:54 +0000)]
Updated Brazilian Portuguese translation done by Gustavo Maciel Dias

2004-06-25  Gustavo Maciel Dias Vieira <gustavo@sagui.org>

        * pt_BR.po: Updated Brazilian Portuguese translation done by
        Gustavo Maciel Dias Vieira <gustavo@sagui.org>.

20 years agoFixed to handle :pass in proto://user:pass@host. Fixes bug #60104.
Jeffrey Stedfast [Fri, 25 Jun 2004 15:09:21 +0000 (15:09 +0000)]
Fixed to handle :pass in proto://user:pass@host. Fixes bug #60104.

2004-06-25  Jeffrey Stedfast  <fejj@novell.com>

* camel-url-scanner.c (camel_url_web_end): Fixed to handle :pass
in proto://user:pass@host. Fixes bug #60104.

20 years agoSee bug #51127.
Hans Petter Jansson [Fri, 25 Jun 2004 01:01:54 +0000 (01:01 +0000)]
See bug #51127.

2004-06-24  Hans Petter Jansson  <hpj@ximian.com>

See bug #51127.

* backends/vcf/e-book-backend-vcf.c (e_book_backend_vcf_load_source):
Don't add a default vcard to new books.

* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source): Don't add default vcard to new
books.

20 years agoError out and set an exception if camel_pop3_engine_new() returns NULL
Jeffrey Stedfast [Thu, 24 Jun 2004 21:49:41 +0000 (21:49 +0000)]
Error out and set an exception if camel_pop3_engine_new() returns NULL

2004-06-24  Jeffrey Stedfast  <fejj@novell.com>

* providers/pop3/camel-pop3-store.c (connect_to_server): Error out
and set an exception if camel_pop3_engine_new() returns NULL
(which it can do now).

* providers/pop3/camel-pop3-engine.c (get_capabilities): No longer
reads the greeting.
(camel_pop3_engine_new): Reads the greeting itself and returns
NULL if an error occurs (like stupid braindamaged piece of shit
POP servers that spew debug prinfs).

20 years agoIf we fail to lock the folder, close the lockfd and reset it to -1. Fixes
Jeffrey Stedfast [Thu, 24 Jun 2004 17:44:13 +0000 (17:44 +0000)]
If we fail to lock the folder, close the lockfd and reset it to -1. Fixes

2004-06-24  Jeffrey Stedfast  <fejj@novell.com>

* providers/local/camel-spool-folder.c (spool_lock): If we fail to
lock the folder, close the lockfd and reset it to -1. Fixes bug
#54680.

20 years agoAdd a call to e_source_selector_set_select_new here so that we can select
Rodney Dawes [Thu, 24 Jun 2004 17:22:40 +0000 (17:22 +0000)]
Add a call to e_source_selector_set_select_new here so that we can select

2004-06-24  Rodney Dawes  <dobey@novell.com>

* gui/calendar-component.c (create_component_view):
* gui/tasks-component.c (create_component_view):
Add a call to e_source_selector_set_select_new here so that we can
select new sources when we create them

2004-06-24  Rodney Dawes  <dobey@novell.com>

* e-source-selector.[ch]: Add new "select_new" property to
private structure of the ESourceSelector
(rebuild_cb): Add code to select the new source, and cause the
selection_changed signal to get emitted, if we select new sources
(init): Don't select new sources by default
(e_source_selector_set_select_new): Add function to set whether or not
we want to select new sources when we add them

20 years agoFirst LIST/LSUB the toplevel folder, and then LIST/LSUB the subfolders (it
Jeffrey Stedfast [Thu, 24 Jun 2004 03:52:13 +0000 (03:52 +0000)]
First LIST/LSUB the toplevel folder, and then LIST/LSUB the subfolders (it

2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_get_folder_info):
First LIST/LSUB the toplevel folder, and then LIST/LSUB the
subfolders (it needs to be 2 commands to work properly).
(imap4_delete_folder): CLOSE the folder we are about to DELETE if
it is currently SELECTED.

20 years agoSame.
Jeffrey Stedfast [Thu, 24 Jun 2004 03:01:42 +0000 (03:01 +0000)]
Same.

2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap/camel-imap-provider.c (imap_url_equal): Same.

* providers/imap4/camel-imap4-provider.c (imap4_url_equal): Check
the protocol.

20 years agoref in the assignment. (e_book_response_get_supported_fields): same.
Chris Toshok [Thu, 24 Jun 2004 01:20:40 +0000 (01:20 +0000)]
ref in the assignment. (e_book_response_get_supported_fields): same.

2004-06-23  Chris Toshok  <toshok@ximian.com>

* libebook/e-book.c (e_book_response_add_contact): ref in the
assignment.
(e_book_response_get_supported_fields): same.
(e_book_response_get_supported_auth_methods): same.
(emit_async_get_contact_response): unref the book before
returning.
(e_book_response_get_contact): ref the book in the assignment.
(emit_async_get_book_view_response): unref the book before
returning.
(e_book_response_get_book_view): ref the book in the assignment.
(e_book_response_get_contacts): same.
(emit_async_get_changes_response): unref the book before
returning.
(e_book_response_get_changes): ref the book in the assignment.
(emit_async_generic_response): we ref before registering the idle
handler.
(e_book_response_generic): ref the book in the assignment.
(emit_async_open_response): unref the book before returning
(e_book_response_open): ref the book in the assignment.
(e_book_response_remove): same.

20 years agoRegister a segv handler to popup bug-buddy or whatever. Fixes bug #51165.
Jeffrey Stedfast [Wed, 23 Jun 2004 21:12:53 +0000 (21:12 +0000)]
Register a segv handler to popup bug-buddy or whatever. Fixes bug #51165.

2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

* src/server.c (main): Register a segv handler to popup bug-buddy
or whatever. Fixes bug #51165.

20 years agoKeep a ref on the book while we're accessing it, since the callback might
Hans Petter Jansson [Wed, 23 Jun 2004 21:03:58 +0000 (21:03 +0000)]
Keep a ref on the book while we're accessing it, since the callback might

2004-06-23  Hans Petter Jansson  <hpj@ximan.com>

* libebook/e-book.c (emit_async_generic_response): Keep a ref on
the book while we're accessing it, since the callback might unref
it to zero, causing a crash.

20 years agoHide password, etc info in the fi->uri's. (imap4_create_folder): Don't
Jeffrey Stedfast [Wed, 23 Jun 2004 20:26:56 +0000 (20:26 +0000)]
Hide password, etc info in the fi->uri's. (imap4_create_folder): Don't

2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Hide password, etc info in the fi->uri's.
(imap4_create_folder): Don't bother to use
imap4_get_folder_info(), we can construct the fi ourselves.
(imap4_delete_folder): Emit the folder_deleted signal and
construct an fi ourselves.
(imap4_subscribe_folder): Same.
(imap4_unsubscribe_folder): Same.

* providers/imap4/camel-imap4-provider.c: Specify that the
fragment is the path.

20 years agoHide password, etc info in the fi->uri's.
Jeffrey Stedfast [Wed, 23 Jun 2004 20:07:07 +0000 (20:07 +0000)]
Hide password, etc info in the fi->uri's.

2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Hide password, etc info in the fi->uri's.

* providers/imap4/camel-imap4-provider.c: Specify that the
fragment is the path.

20 years agoAdd preconditions. Make sure garbage or NULL data doesn't get used.
Hans Petter Jansson [Tue, 22 Jun 2004 19:12:13 +0000 (19:12 +0000)]
Add preconditions. Make sure garbage or NULL data doesn't get used.

2004-06-22  Hans Petter Jansson  <hpj@ximian.com>

* misc/e-source-selector.c (e_source_selector_peek_primary_selection):
Add preconditions. Make sure garbage or NULL data doesn't get used.

20 years agoallow consumers of EDataBookView to control the thresholds used in
Chris Toshok [Tue, 22 Jun 2004 18:52:03 +0000 (18:52 +0000)]
allow consumers of EDataBookView to control the thresholds used in

2004-06-22  Chris Toshok  <toshok@ximian.com>

* libedata-book/e-data-book-view.c
(e_data_book_view_set_thresholds): allow consumers of
EDataBookView to control the thresholds used in aggregating
contacts before sending them to the gui.  allows us to implement
the different thresholds that were used in the 1.4.x ldap and file
backends.

* libedata-book/e-data-book-view.h: add prototype for
e_data_book_view_set_thresholds.

20 years agoclamp the search result limit to the ldap backend's limit.
Chris Toshok [Tue, 22 Jun 2004 02:20:54 +0000 (02:20 +0000)]
clamp the search result limit to the ldap backend's limit.

2004-06-21  Chris Toshok  <toshok@ximian.com>

* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_search): clamp the search result limit to the
ldap backend's limit.

20 years agoi2004-06-21 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 22 Jun 2004 01:27:53 +0000 (01:27 +0000)]
i2004-06-21  Chris Toshok  <toshok@ximian.com>

* libebook/e-contact.c (e_contact_get_const): reorder some stuff
so we only generate 1 free per string on object destruction.

20 years agocache the most recently fetched const pointer so we can hand it out more
Chris Toshok [Tue, 22 Jun 2004 00:52:56 +0000 (00:52 +0000)]
cache the most recently fetched const pointer so we can hand it out more

2004-06-21  Chris Toshok  <toshok@ximian.com>

* libebook/e-contact.c (e_contact_get_const): cache the most
recently fetched const pointer so we can hand it out more than
once (unless there's an intervening _set).  Should substantially
lessen the number of allocations we do because of this function.
(e_contact_set): clear the cached slot for this field, so we'll
allocate/return a new const string from e_contact_get_const.

20 years agoReally set the path if tag is CAMEL_SERVICE_PATH.
Christian Kellner [Mon, 21 Jun 2004 15:48:06 +0000 (15:48 +0000)]
Really set the path if tag is CAMEL_SERVICE_PATH.

2004-06-21  Christian Kellner <gicmo@xatom.net>

* camel-service.c (service_setv): Really set the path if tag is
CAMEL_SERVICE_PATH.

20 years agoFixed a number of issues described in bug #49497.
Jeffrey Stedfast [Mon, 21 Jun 2004 15:43:06 +0000 (15:43 +0000)]
Fixed a number of issues described in bug #49497.

2004-06-21  Jeffrey Stedfast  <fejj@novell.com>

* camel-mime-filter-enriched.c (enriched_to_html): Fixed a number
of issues described in bug #49497.

20 years ago[ fixes #59978 ]
Chris Toshok [Fri, 18 Jun 2004 22:34:54 +0000 (22:34 +0000)]
[ fixes #59978 ]

2004-06-18  Chris Toshok  <toshok@ximian.com>

[ fixes #59978 ]

* backends/ldap/e-book-backend-ldap.c (photo_ber): implement
(photo_compare): same.
(prop_info): set add ber/compare functions for E_CONTACT_PHOTO.

20 years agomake camel_shutdown() an atexit handler again
Jeffrey Stedfast [Fri, 18 Jun 2004 21:11:18 +0000 (21:11 +0000)]
make camel_shutdown() an atexit handler again

20 years agoCall camel_mime_utils_shutdown() and camel_operation_shutdown().
Jeffrey Stedfast [Fri, 18 Jun 2004 21:08:05 +0000 (21:08 +0000)]
Call camel_mime_utils_shutdown() and camel_operation_shutdown().

2004-06-18  Jeffrey Stedfast  <fejj@novell.com>

* camel.c (camel_shutdown): Call camel_mime_utils_shutdown() and
camel_operation_shutdown().
(camel_init): Don't register camel_shutdown() as an atexit
handler.

* camel-operation.c (camel_operation_shutdown): New function.

* camel-mime-utils.c (camel_mime_utils_shutdown): New function to
clean up the compiled regexes.

20 years agoCall camel_mime_utils_shutdown() and camel_operation_shutdown().
Jeffrey Stedfast [Fri, 18 Jun 2004 20:07:09 +0000 (20:07 +0000)]
Call camel_mime_utils_shutdown() and camel_operation_shutdown().

2004-06-18  Jeffrey Stedfast  <fejj@novell.com>

* camel.c (camel_shutdown): Call camel_mime_utils_shutdown() and
camel_operation_shutdown().

* camel-operation.c (camel_operation_shutdown): New function.

* camel-mime-utils.c (camel_mime_utils_shutdown): New function to
clean up the compiled regexes.

20 years agoNeed to re-init sbf->ptr and sbf->end too, or we'll be sorrryy!
Jeffrey Stedfast [Fri, 18 Jun 2004 18:13:22 +0000 (18:13 +0000)]
Need to re-init sbf->ptr and sbf->end too, or we'll be sorrryy!

2004-06-18  Jeffrey Stedfast  <fejj@novell.com>

* camel-stream-buffer.c (set_vbuf): Need to re-init sbf->ptr and
sbf->end too, or we'll be sorrryy!

20 years ago"oops".
Chris Toshok [Fri, 18 Jun 2004 14:51:38 +0000 (14:51 +0000)]
"oops".

2004-06-18  Chris Toshok  <toshok@ximian.com>

* libebook/e-book.c (e_book_new_system_addressbook): "oops".

20 years ago[ fixes #57628 ]
Chris Toshok [Fri, 18 Jun 2004 13:14:31 +0000 (13:14 +0000)]
[ fixes #57628 ]

2004-06-18  Chris Toshok  <toshok@ximian.com>

[ fixes #57628 ]

* libebook/e-book.c (e_book_new_system_addressbook): use the
new_default_addressbook model, and search for a property on
sources (system=true).  If we find one, use that source, otherwise
default to ~/.evolution/local/system.

20 years agosetup for static inititialisation.
Not Zed [Fri, 18 Jun 2004 08:48:32 +0000 (08:48 +0000)]
setup for static inititialisation.

2004-06-18  Not Zed  <NotZed@Ximian.com>

        * camel-exception.h (CAMEL_EXCEPTION_INITIALISER): setup for
        static inititialisation.

20 years agomake 'colon' a const char *
Jeffrey Stedfast [Fri, 18 Jun 2004 02:48:53 +0000 (02:48 +0000)]
make 'colon' a const char *

20 years agoinit tail->last to (guint32) -1, so that index = tail->last + 1 will start
Jeffrey Stedfast [Fri, 18 Jun 2004 02:42:37 +0000 (02:42 +0000)]
init tail->last to (guint32) -1, so that index = tail->last + 1 will start

2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-folder.c (uidset_init): init
tail->last to (guint32) -1, so that index = tail->last + 1 will
start at 0 :-)

20 years agodown with e-book-async.h, up with e-book.h.
Chris Toshok [Thu, 17 Jun 2004 21:45:34 +0000 (21:45 +0000)]
down with e-book-async.h, up with e-book.h.

2004-06-17  Chris Toshok  <toshok@ximian.com>

* tests/ebook/test-ebook-async.c: down with e-book-async.h, up
with e-book.h.

* libedata-book/e-data-book.h: add @opid args to all the
e_data_book_respond* functions.

* libedata-book/e-data-book.c
(impl_GNOME_Evolution_Addressbook_Book_open): add @opid arg and
pass it on.
(impl_GNOME_Evolution_Addressbook_Book_remove): same.
(impl_GNOME_Evolution_Addressbook_Book_getContact): same.
(impl_GNOME_Evolution_Addressbook_Book_getContactList): same.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): same.
(impl_GNOME_Evolution_Addressbook_Book_addContact): same.
(impl_GNOME_Evolution_Addressbook_Book_removeContacts): same.
(impl_GNOME_Evolution_Addressbook_Book_modifyContact): same.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): same.
(impl_GNOME_Evolution_Addressbook_Book_getChanges): same.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): same.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods): same.
(e_data_book_respond_open): same.
(e_data_book_respond_remove): same.
(e_data_book_respond_create): same.
(e_data_book_respond_remove_contacts): same.
(e_data_book_respond_modify): same.
(e_data_book_respond_authenticate_user): same.
(e_data_book_respond_get_supported_fields): same.
(e_data_book_respond_get_supported_auth_methods): same.
(e_data_book_respond_get_book_view): same.
(e_data_book_respond_get_contact): same.
(e_data_book_respond_get_contact_list): same.
(e_data_book_respond_get_changes): same.

* libedata-book/e-book-backend.h: add @opid args everywhere.

* libedata-book/e-book-backend.c (e_book_backend_open): add @opid
arg, and pass it along to the backend subclass, as well as all
calls to e_data_book_respond_*.
(e_book_backend_remove): same.
(e_book_backend_create_contact): same.
(e_book_backend_remove_contacts): same.
(e_book_backend_modify_contact): same.
(e_book_backend_get_contact): same.
(e_book_backend_get_contact_list): same.
(e_book_backend_start_book_view): same.
(e_book_backend_stop_book_view): same.
(e_book_backend_get_changes): same.
(e_book_backend_authenticate_user): same.
(e_book_backend_get_supported_fields): same.
(e_book_backend_get_supported_auth_methods): same.

* libedata-book/e-book-backend-sync.h: add @opid args everywhere.

* libedata-book/e-book-backend-sync.c
(e_book_backend_sync_create_contact): add @opid arg and pass it
along to subclass.
(e_book_backend_sync_remove): same.
(e_book_backend_sync_remove_contacts): same.
(e_book_backend_sync_modify_contact): same.
(e_book_backend_sync_get_contact): same.
(e_book_backend_sync_get_contact_list): same.
(e_book_backend_sync_get_changes): same.
(e_book_backend_sync_authenticate_user): same.
(e_book_backend_sync_get_supported_fields): same.
(e_book_backend_sync_get_supported_auth_methods): same.
(_e_book_backend_remove): same.
(_e_book_backend_create_contact): same.
(_e_book_backend_remove_contacts): same.
(_e_book_backend_modify_contact): same.
(_e_book_backend_get_contact): same.
(_e_book_backend_get_contact_list): same.
(_e_book_backend_get_changes): same.
(_e_book_backend_authenticate_user): same.
(_e_book_backend_get_supported_fields): same.
(_e_book_backend_get_supported_auth_methods): same.

* libebook/e-book.c (struct EBookOp): augment this structure with
enough info to handle the asynchronous operations.
(struct _EBookPrivate): remove the current_op pointer and add a
hashtable mapping ids to ops.  The current sync op is always id 0.
(e_book_new_op): add @sync arg.
(e_book_get_op): add @opid arg, and look up the op in the
hashtable.
(e_book_get_current_sync_op): convenience function to lookup the
current sync op.
(e_book_op_remove): remove the op from the hashtable.
(do_add_contact): split out all the code from e_book_add_contact
here, and make it handle both synchronous and async calling
sequences.
(e_book_add_contact): call do_add_contact.
(e_book_async_add_contact): same.
(e_book_response_add_contact): handle both sync/async ops.  sync =
notify on our cvar and return.  async = add idle handler that will
call the op's callback.
(emit_async_add_contact_response): idle handler for adding
contacts asynchronously.
(do_commit_contact): same pattern as above...
(do_get_supported_fields): same.
(do_get_supported_auth_methods): same.
(do_authenticate_user): same.
(do_get_contact): same.
(do_remove_contacts): same.
(do_get_book_view): same.
(do_get_contacts): same.
(do_get_changes): same.
(do_open): same.
(do_remove): same.

* libebook/e-book.h: move all the async api foo here.

* libebook/e-book-listener.h (struct _EBookListenerResponse): add
opid slot.

* libebook/e-book-listener.c
(impl_BookListener_respond_create_contact): add @opid arg and add
it to the response struct.
(impl_BookListener_respond_remove_contacts): same.
(impl_BookListener_respond_modify_contact): same.
(impl_BookListener_respond_get_contact): same.
(impl_BookListener_respond_get_contact_list): same.
(impl_BookListener_respond_get_view): same.
(impl_BookListener_respond_get_changes): same
(impl_BookListener_respond_open_book): same.
(impl_BookListener_respond_remove_book): same.
(impl_BookListener_respond_authentication_result): same.
(impl_BookListener_respond_get_supported_fields): same.
(impl_BookListener_respond_get_supported_auth_methods): same.

* libebook/Makefile.am (libebook_la_SOURCES): remove
e-book-async.c
(libebookinclude_HEADERS): remove e-book-async.h

* idl/Evolution-DataServer-Addressbook.idl: add opid args to all
the oneway void Book methods, and to all the responses in
BookListener.

* backends/vcf/e-book-backend-vcf.c
(e_book_backend_vcf_create_contact)
(e_book_backend_vcf_remove_contacts)
(e_book_backend_vcf_modify_contact)
(e_book_backend_vcf_get_contact)
(e_book_backend_vcf_get_contact_list)
(e_book_backend_vcf_authenticate_user)
(e_book_backend_vcf_get_supported_fields): add @opid arg.
(init_closure): make this more like the file:// backend.
(closure_destroy): free the cvar.
(book_view_thread): move the search code into another thread.
(e_book_backend_vcf_start_book_view): steal this from the file
backend.
(e_book_backend_vcf_stop_book_view): same.

* backends/ldap/e-book-backend-ldap.c (struct LDAPOp): add opid.
(ldap_op_add): add @opid arg.
(create_contact_handler): use op->opid in calls to
e_data_book_respond_*.
(e_book_backend_ldap_create_contact): same.
(remove_contact_handler): same.
(e_book_backend_ldap_remove_contacts): same.
(modify_contact_modify_handler): same.
(modify_contact_search_handler): same.
(e_book_backend_ldap_modify_contact): same.
(get_contact_handler): same.
(e_book_backend_ldap_get_contact): same.
(contact_list_handler): same.
(e_book_backend_ldap_get_contact_list): same.
(e_book_backend_ldap_authenticate_user): same.
(e_book_backend_ldap_get_supported_fields): same.
(e_book_backend_ldap_get_supported_auth_methods): same.
(e_book_backend_ldap_get_changes): add @opid arg.
(e_book_backend_ldap_remove): same.

* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_create_contact)
(e_book_backend_groupwise_remove_contacts)
(e_book_backend_groupwise_modify_contact)
(e_book_backend_groupwise_get_contact)
(e_book_backend_groupwise_get_contact_list)
(e_book_backend_groupwise_get_changes)
(e_book_backend_groupwise_authenticate_user)
(e_book_backend_groupwise_get_supported_fields)
(e_book_backend_groupwise_get_supported_auth_methods)
(e_book_backend_groupwise_remove): : add @opid arg, and pass it to
e_data_book_respond_* functions.

* backends/file/e-book-backend-file.c
(e_book_backend_file_create_contact)
(e_book_backend_file_remove_contacts)
(e_book_backend_file_modify_contact)
(e_book_backend_file_get_contact)
(e_book_backend_file_get_contact_list)
(e_book_backend_file_get_changes)
(e_book_backend_file_authenticate_user)
(e_book_backend_file_get_supported_fields)
(e_book_backend_file_remove): add @opid arg.

20 years agoAdd support for the webcal, callto, and h323 URIs when we get them in
Rodney Dawes [Thu, 17 Jun 2004 21:29:54 +0000 (21:29 +0000)]
Add support for the webcal, callto, and h323 URIs when we get them in

2004-06-17  Rodney Dawes  <dobey@novell.com>

* camel-mime-filter-tohtml.c: Add support for the webcal, callto, and
h323 URIs when we get them in mails

20 years agoDon't foolishly unmunge From_ lines. First off, we don't even know if our
Jeffrey Stedfast [Thu, 17 Jun 2004 20:27:23 +0000 (20:27 +0000)]
Don't foolishly unmunge From_ lines. First off, we don't even know if our

2004-06-17  Jeffrey Stedfast  <fejj@novell.com>

* camel-mime-filter-tohtml.c: Don't foolishly unmunge From_
lines. First off, we don't even know if our input stream came from
an mbox file and secondly, the ">From " may have been intentional
by the author. We Just Don't Know (tm).

20 years agoMake sure we have elements in the array, if not then we're done (return a
Jeffrey Stedfast [Thu, 17 Jun 2004 16:59:44 +0000 (16:59 +0000)]
Make sure we have elements in the array, if not then we're done (return a

2004-06-15  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Make sure we have elements in the array, if not then we're done
(return a NULL fi).

20 years agoFixed to work properly. It was getting ranges wrong before sometimes which
Jeffrey Stedfast [Thu, 17 Jun 2004 16:37:41 +0000 (16:37 +0000)]
Fixed to work properly. It was getting ranges wrong before sometimes which

2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-folder.c (imap4_get_uid_set): Fixed
to work properly. It was getting ranges wrong before sometimes
which was making me lose mail! Ugh.

20 years agoThanks to Christian Kellner for pointing out these bugs (and submitting
Jeffrey Stedfast [Thu, 17 Jun 2004 16:13:47 +0000 (16:13 +0000)]
Thanks to Christian Kellner for pointing out these bugs (and submitting

2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

Thanks to Christian Kellner for pointing out these bugs (and
submitting the original patch for service_setv)

* camel-service.c (service_setv): Don't use (tag &
CAMEL_ARG_IGNORE) to determine if we should ignore this
tag. CAMEL_ARG_IGNORE is not a bit flag.

* providers/imap/camel-imap-store.c (imap_setv): Don't use (tag &
CAMEL_ARG_IGNORE) to determine if we should ignore this
tag. CAMEL_ARG_IGNORE is not a bit flag.

20 years agosimplified further
Jeffrey Stedfast [Thu, 17 Jun 2004 14:25:14 +0000 (14:25 +0000)]
simplified further

20 years agoOnly ignore if (tag & CAMEL_ARG_TAG) == CAMEL_ARG_IGNORE, not if (tag &
Jeffrey Stedfast [Thu, 17 Jun 2004 14:24:28 +0000 (14:24 +0000)]
Only ignore if (tag & CAMEL_ARG_TAG) == CAMEL_ARG_IGNORE, not if (tag &

2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap/camel-imap-store.c (imap_setv): Only ignore if
(tag & CAMEL_ARG_TAG) == CAMEL_ARG_IGNORE, not if (tag &
CAMEL_ARG_IGNORE) is true.

20 years agoOnly force a re-update of all FLAGS if this folder wasn't in the SELECTED
Jeffrey Stedfast [Thu, 17 Jun 2004 03:11:23 +0000 (03:11 +0000)]
Only force a re-update of all FLAGS if this folder wasn't in the SELECTED

2004-06-16  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-folder.c (imap4_refresh_info): Only
force a re-update of all FLAGS if this folder wasn't in the
SELECTED state. Otherwise, simply send a NOOP.

20 years agoAdded a 'first' member to the imap_fetch_all_t struct so we can use that
Jeffrey Stedfast [Thu, 17 Jun 2004 02:08:16 +0000 (02:08 +0000)]
Added a 'first' member to the imap_fetch_all_t struct so we can use that

2004-06-16  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c: Added a 'first' member to
the imap_fetch_all_t struct so we can use that as a base offset in
our GPtrArray, allowing us to limit resource consumption which
could otherwise get quite large. Also added a ChangeInfo member
that was needed for changes to untagged_fetch_all().
(imap4_fetch_all_add): Use fetch->first as a base offset and
change int i to guint32 i. Also updated to sue the fetch->changes.
(imap4_fetch_all_update): Same.
(untagged_fetch_all): Same - this is where it is really valuable,
since we can avoid adding elements to the GPtrArray that we won't
even use. Also needed to change code a big in case index <
fetch->first (which could happen if a server notified us of a
FLAGS change for a message we didn't request info about).
(imap4_fetch_all_free): Free the ChangeInfo.
(imap4_summary_fetch_all): Init fetch->changes and fetch->first.
(imap4_summary_fetch_flags): Same.
(camel_imap4_summary_flush_updates): Only request envelope info if
first <= summary->exists. Avoids needless queries.
(info_uid_sort): #if 0'd
(camel_imap4_summary_flush_updates): No need to sort the summary -
this should never have been needed. I can't remember why I did
this...

20 years agoAdded a 'first' member to the imap_fetch_all_t struct so we can use that
Jeffrey Stedfast [Thu, 17 Jun 2004 01:11:07 +0000 (01:11 +0000)]
Added a 'first' member to the imap_fetch_all_t struct so we can use that

2004-06-16  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c: Added a 'first' member to
the imap_fetch_all_t struct so we can use that as a base offset in
our GPtrArray, allowing us to limit resource consumption which
could otherwise get quite large. Also added a ChangeInfo member
that was needed for changes to untagged_fetch_all().
(imap4_fetch_all_add): Use fetch->first as a base offset and change
int i to guint32 i. Also updated to sue the fetch->changes.
(imap4_fetch_all_update): Same.
(untagged_fetch_all): Same - this is where it is really valuable,
since we can avoid adding elements to the GPtrArray that we won't
even use. Also needed to change code a big in case index <
fetch->first (which could happen if a server notified us of a
FLAGS change for a message we didn't request info about).
(imap4_fetch_all_free): Free the ChangeInfo.
(imap4_summary_fetch_all): Init fetch->changes and fetch->first.
(imap4_summary_fetch_flags): Same.

20 years agofix a path leak and maek the code more structured.
Not Zed [Wed, 16 Jun 2004 06:58:21 +0000 (06:58 +0000)]
fix a path leak and maek the code more structured.

2004-06-16  Not Zed  <NotZed@Ximian.com>

        * e-source-selector.c (cell_toggled_callback): fix a path leak and
        maek the code more structured.
        (e_source_selector_set_toggle_selection): set the mode on whether
        you can toggle the currnet selection or not.
        (cell_toggled_callback): implement set_toggle_selection behaviour.

20 years agoimplement, noop currently. Saves an assert exploding the server.
Not Zed [Wed, 16 Jun 2004 06:12:09 +0000 (06:12 +0000)]
implement, noop currently. Saves an assert exploding the server.

2004-06-16  Not Zed  <NotZed@Ximian.com>

        * backends/groupwise/e-book-backend-groupwise.c
        (e_book_backend_groupwise_cancel_operation): implement, noop
        currently.  Saves an assert exploding the server.

        * backends/ldap/e-book-backend-ldap.c
        (e_book_backend_ldap_cancel_operation): implement.
        (ldap_cancel_op): cancel each operation synchronously (?).
        Related to #56479.

20 years agoabort and fail if we get an xml error setting up the new_source entries.
Not Zed [Wed, 16 Jun 2004 05:43:21 +0000 (05:43 +0000)]
abort and fail if we get an xml error setting up the new_source entries.

2004-06-14  Not Zed  <NotZed@Ximian.com>

        * libedataserver/e-source-group.c
        (e_source_group_new_from_xmldoc): abort and fail if we get an xml
        error setting up the new_source entries.  #59592.

20 years agoFixes #59352. Adds the EGwItemOrganizer structure and functions to convert
Harish Krishnaswamy [Tue, 15 Jun 2004 15:59:07 +0000 (15:59 +0000)]
Fixes #59352. Adds the EGwItemOrganizer structure and functions to convert
it to/from the <from> element in <distribution> soap element.

20 years agoUse camel_multipart_signed_get_content_stream() rather than getting the
Jeffrey Stedfast [Tue, 15 Jun 2004 15:19:23 +0000 (15:19 +0000)]
Use camel_multipart_signed_get_content_stream() rather than getting the

2004-06-15  Jeffrey Stedfast  <fejj@ximian.com>

* camel-gpg-context.c (gpg_verify): Use
camel_multipart_signed_get_content_stream() rather than getting
the first part and canonicalising it ourselves. Fixes bug #60159.

20 years agoInit have_unget to FALSE. Don't set unget to NULL, it's no longer a
Jeffrey Stedfast [Tue, 15 Jun 2004 13:36:34 +0000 (13:36 +0000)]
Init have_unget to FALSE. Don't set unget to NULL, it's no longer a

2004-06-15  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-stream.c (camel_imap4_stream_init):
Init have_unget to FALSE. Don't set unget to NULL, it's no longer
a pointer.
(camel_imap4_stream_finalize): No need to g_free() unget anymore.
(camel_imap4_stream_next_token): Check have_unget rather than
unget != NULL. Set have_unget to FALSE if we get an unget'd token.
(camel_imap4_stream_unget_token): Don't malloc space for an unget
token. The unget token is no longer a pointer.

20 years agoset EVC_X_DEST_CONTACT_UID EVC_X_DEST_NAME parameters also
Sivaiah Nallagatla [Tue, 15 Jun 2004 10:11:20 +0000 (10:11 +0000)]
set EVC_X_DEST_CONTACT_UID EVC_X_DEST_NAME parameters also

2004-06-15 Sivaiah Nallagatla <snallagatla@novell.com>

        * backends/groupwise/e-book-backend-groupwise.c
        (populate_contact_members) : set EVC_X_DEST_CONTACT_UID
        EVC_X_DEST_NAME parameters also
        (set_members_in_gw_item) : read the uid's of contacts
        and use them instead of searching based on email values

20 years agoadded "name" member ot EGroupMember structure free the newly added member
Sivaiah Nallagatla [Tue, 15 Jun 2004 09:28:28 +0000 (09:28 +0000)]
added "name" member ot EGroupMember structure free the newly added member

004-06-15 Sivaiah Nallagatla   <snallagatla@novell.com>

        * e-gw-item.h : added "name" member ot EGroupMember structure
        * e-gw-item.c (free_memeber) : free the newly added member also
         (set_group_fields_from_soap_parameter) : read name also
        from soap response

20 years agoFixes #57088
Rodrigo Moya [Mon, 14 Jun 2004 16:30:25 +0000 (16:30 +0000)]
Fixes #57088

2004-06-14  Rodrigo Moya <rodrigo@novell.com>

Fixes #57088

* backends/contacts/e-cal-backend-contacts.c (source_group_added_cb):
only add sources from local addressbook backends.

20 years agoupdate
Dan Winship [Mon, 14 Jun 2004 13:36:41 +0000 (13:36 +0000)]
update

20 years agoadd this
Dan Winship [Mon, 14 Jun 2004 13:35:57 +0000 (13:35 +0000)]
add this

20 years ago: add support for recurrences in events.
Harish Krishnaswamy [Mon, 14 Jun 2004 05:53:23 +0000 (05:53 +0000)]
: add support for recurrences in events.

* backends/groupwise/e-cal-backend-groupwise-utils.c:
(get_recur_instance), (resolve_tzid_cb) : add support for recurrences
in events.
(set_properties_from_cal_component), (e_gw_item_to_cal_component),
(e_gw_item_set_changes): Recipient_list handling code is now common to
both events and todos.
* backends/groupwise/e-cal-backend-groupwise.c: (populate_cache): Add
recipientStatus to the view element.
(receive_object): Send found_comp as argument to modify_object.
* e-gw-item.c: (e_gw_item_dispose), (e_gw_item_init),
(set_recipient_list_from_soap_parameter),
(e_gw_item_get_recurrence_dates), (e_gw_item_set_recurrence_dates),
(e_gw_item_append_to_soap_message):
Add support for recurrence in events.
(add_distribution_to_soap_message): Make recipient list handling code
common to both calendar and task items to support assignment in tasks.
* e-gw-item.h: add get/set methods for recurrences, status field to
EGwRecipient.

20 years agouse g_ascii_strcasecmp. (smtp_connect): do not re-helo after we've
Not Zed [Mon, 14 Jun 2004 02:46:03 +0000 (02:46 +0000)]
use g_ascii_strcasecmp. (smtp_connect): do not re-helo after we've

2004-06-14  Not Zed  <NotZed@Ximian.com>

        * providers/smtp/camel-smtp-transport.c (smtp_data): use
        g_ascii_strcasecmp.
        (smtp_connect): do not re-helo after we've authenticated.  This
        was a misreading of the spec.  We must only re-helo after a
        transport layer negotiation.

20 years agoTranslation updated by Mətin Əmirov.
Metin Amiroff [Sun, 13 Jun 2004 12:54:01 +0000 (12:54 +0000)]
Translation updated by Mətin Əmirov.

2004-06-13  Metin Amiroff  <metin@karegen.com>

* az.po: Translation updated by Mətin Əmirov.

20 years agoUpdated Simplified Chinese translation
Funda Wang [Sun, 13 Jun 2004 05:10:26 +0000 (05:10 +0000)]
Updated Simplified Chinese translation

20 years agoFlush summary updates for the currently selected folder. (imap4_noop):
Jeffrey Stedfast [Sat, 12 Jun 2004 17:27:51 +0000 (17:27 +0000)]
Flush summary updates for the currently selected folder. (imap4_noop):

2004-06-12  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-store.c (imap4_noop): Flush summary
updates for the currently selected folder.
(imap4_noop): Sync the currently selected folder before sending
NOOP.

20 years agoFlush summary updates for the currently selected folder.
Jeffrey Stedfast [Sat, 12 Jun 2004 15:08:10 +0000 (15:08 +0000)]
Flush summary updates for the currently selected folder.

2004-06-12  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-store.c (imap4_noop): Flush summary
updates for the currently selected folder.

20 years agoDon't bother with exists_changed. We don't need it afterall.
Jeffrey Stedfast [Sat, 12 Jun 2004 14:25:30 +0000 (14:25 +0000)]
Don't bother with exists_changed. We don't need it afterall.

2004-06-12  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c
(camel_imap4_summary_set_exists): Don't bother with
exists_changed. We don't need it afterall.
(camel_imap4_summary_flush_updates): Instead of updating flags if
update_flags or exists_changed is set, only bother if update_flags
is set or if exists is smaller than the summary count (since
updating flags is also sueful for determining which messages have
been removed).

20 years agoForce updating of the emsage flags (normally this only happens if
Jeffrey Stedfast [Fri, 11 Jun 2004 21:54:10 +0000 (21:54 +0000)]
Force updating of the emsage flags (normally this only happens if

2004-06-11  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-folder.c (imap4_refresh_info): Force
updating of the emsage flags (normally this only happens if
something has changed that warrants rescanning them).

20 years ago (pixbuf_cell_data_func): fix the appearance a little.
Larry Ewing [Fri, 11 Jun 2004 18:20:45 +0000 (18:20 +0000)]
(pixbuf_cell_data_func): fix the appearance a little.

20 years ago (pixbuf_cell_data_func): clean up warnings. (double bad larry).
Larry Ewing [Fri, 11 Jun 2004 18:07:54 +0000 (18:07 +0000)]
(pixbuf_cell_data_func): clean up warnings.  (double bad larry).

20 years ago (pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).
Larry Ewing [Fri, 11 Jun 2004 18:06:25 +0000 (18:06 +0000)]
(pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).

20 years agomake the source selector use a colock block instead of setting the
Larry Ewing [Fri, 11 Jun 2004 18:01:25 +0000 (18:01 +0000)]
make the source selector use a colock block instead of setting the

2004-06-11  Larry Ewing  <lewing@ximian.com>

* misc/e-source-selector.c: make the source selector use a colock
block instead of setting the foreground to indicate the source
color.

20 years agoadded new schemas from Tim.
Rodrigo Moya [Fri, 11 Jun 2004 16:12:58 +0000 (16:12 +0000)]
added new schemas from Tim.

2004-06-11  Rodrigo Moya <rodrigo@novell.com>

* doc/gw-soap-methods.xsd:
* doc/gw-soap-types.xsd: added new schemas from Tim.

20 years agoif the deletion is successful, check if the object still exists, in which
Rodrigo Moya [Fri, 11 Jun 2004 15:54:15 +0000 (15:54 +0000)]
if the deletion is successful, check if the object still exists, in which

2004-06-11  Rodrigo Moya <rodrigo@novell.com>

* libedata-cal/e-cal-backend-sync.c (_e_cal_backend_remove_object): if
the deletion is successful, check if the object still exists, in which
case it means we removed an instance of a recurring event. Fixed
memory leak also.

* backends/file/e-cal-backend-file.c (e_cal_backend_file_remove_object):
return the old_object output argument in all cases.

20 years agoHandle getting FLAGS even though we didn't request it (server can send us
Jeffrey Stedfast [Fri, 11 Jun 2004 15:00:12 +0000 (15:00 +0000)]
Handle getting FLAGS even though we didn't request it (server can send us

2004-06-11  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-folder.c (untagged_fetch): Handle
getting FLAGS even though we didn't request it (server can send us
FLAGS info if another client changed them recently, for
example). Also fixed to handle the fact that not every bit of info
has to be in a single untagged FETCH response - it may come in
several untagged responses.

* providers/imap4/camel-imap4-summary.c (envelope_decode_address):
Decode the email address name token.
(envelope_decode_nstring): rfc2047 decode strings if requested.
(decode_envelope): Request that the subject string be rfc2047
decoded.

20 years agoif we scan from "" or top == NULL, then we really want to scan from "."
Not Zed [Fri, 11 Jun 2004 08:28:41 +0000 (08:28 +0000)]
if we scan from "" or top == NULL, then we really want to scan from "."

2004-06-11  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-maildir-store.c (get_folder_info): if we
        scan from "" or top == NULL, then we really want to scan from "."
        instead.

        * camel-url.c (camel_url_new_with_base): don't check the for a
        character after the # before extracting the fragment.  An empty
        fragment is still allowed and # should never be added to the path.
        See Rfc1808 2.4.1.

20 years ago some test code
Michael Zucci [Fri, 11 Jun 2004 08:27:25 +0000 (08:27 +0000)]
some test code

20 years ago (camel_imap4_summary_flush_updates): Added some logic to
Jeffrey Stedfast [Fri, 11 Jun 2004 06:08:04 +0000 (06:08 +0000)]
(camel_imap4_summary_flush_updates): Added some logic to
distinguish between EXISTS value changing because it changed and
because messages got expunged.

20 years agoDon't bother scanning summary info if EXISTS was 0.
Jeffrey Stedfast [Fri, 11 Jun 2004 05:56:35 +0000 (05:56 +0000)]
Don't bother scanning summary info if EXISTS was 0.

2004-06-11  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c
(camel_imap4_summary_flush_updates): Don't bother scanning summary
info if EXISTS was 0.
(camel_imap4_summary_set_uidvalidity): Emit the folder_changed
event after clearing the summary.
(camel_imap4_summary_expunge): Emit the folder_changed event after
removing the message from the summary.
(camel_imap4_summary_set_exists): Only set exists_changed if the
new and old exists values are different.
(imap4_fetch_all_add): Emit a folder_changed signal if any new
info's were added.
(imap4_fetch_all_update): Emit a folder_changed event if any uids
were removed or otherwise updated.
(camel_imap4_summary_expunge): Use seqid-1 to determine the actual
summary index.

20 years agoDon't bother scanning summary info if EXISTS was 0.
Jeffrey Stedfast [Fri, 11 Jun 2004 05:33:51 +0000 (05:33 +0000)]
Don't bother scanning summary info if EXISTS was 0.

2004-06-11  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c
(camel_imap4_summary_flush_updates): Don't bother scanning summary
info if EXISTS was 0.
(camel_imap4_summary_set_uidvalidity): Emit the folder_changed
event after clearing the summary.
(camel_imap4_summary_expunge): Emit the folder_changed event after
removing the message from the summary.

* providers/imap4/camel-imap4-folder.c (imap4_sync): Flush updates
after an EXPUNGE and don't unset expunge if we didn't delete
anything (the logic was wrong anyway).
(imap4_refresh_info): Implemented.

20 years agoDon't always try and parse a RESP-CODE in the BYE case as the RESP-CODE is
Jeffrey Stedfast [Fri, 11 Jun 2004 01:36:16 +0000 (01:36 +0000)]
Don't always try and parse a RESP-CODE in the BYE case as the RESP-CODE is

2004-06-10  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-engine.c
(camel_imap4_engine_handle_untagged_1): Don't always try and parse
a RESP-CODE in the BYE case as the RESP-CODE is optional.

20 years agoreplace strcasecmp with g_ascii_strcasecmp
Jeffrey Stedfast [Thu, 10 Jun 2004 23:19:48 +0000 (23:19 +0000)]
replace strcasecmp with g_ascii_strcasecmp

20 years agosome code cleanup
Jeffrey Stedfast [Thu, 10 Jun 2004 23:15:39 +0000 (23:15 +0000)]
some code cleanup

20 years agoIf flags does not include FOLDER_INFO_FAST, get the total/unread counts
Jeffrey Stedfast [Thu, 10 Jun 2004 19:47:46 +0000 (19:47 +0000)]
If flags does not include FOLDER_INFO_FAST, get the total/unread counts

2004-06-10  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
If flags does not include FOLDER_INFO_FAST, get the total/unread
counts for the folder-info.

* providers/imap4/camel-imap4-engine.c (engine_parse_status):
Removed.
(camel_imap4_engine_handle_untagged_1): Don't handle untagged
STATUS responses anymore. Let the STATUS requestor handle them
instead.

* providers/imap4/camel-imap4-utils.c
(camel_imap4_untagged_status): New function to parse untagged
status events.