platform/upstream/evolution-data-server.git
20 years agoproperly name space the oaf ids
JP Rosevear [Tue, 4 Nov 2003 21:53:03 +0000 (21:53 +0000)]
properly name space the oaf ids

2003-11-04  JP Rosevear <jpr@ximian.com>

* src/server.c: properly name space the oaf ids

* src/server-interface-check.c: use the correctly named poa

* src/server-interface-check.h: ditto

* src/GNOME_Evolution_DataServerLDAP.server.in.in: name space the
factories and interface check better

* src/GNOME_Evolution_DataServerNOLDAP.server.in.in: ditto

* src/Evolution-DataServer.idl: name space the interface check
properly

2003-11-04  JP Rosvear <jpr@ximian.com>

* libedatabook/e-data-book-factory.c: use properly name spaced
default id

* libebook/e-book.c: kill unneccesary define

2003-11-04  JP Rosevear <jpr@ximian.com>

* libedatacal/e-data-cal-factory.c: use properly name spaced
default id

20 years agoWe might need to convert the passwd from UTF-8 into the locale charset.
Jeffrey Stedfast [Tue, 4 Nov 2003 21:52:59 +0000 (21:52 +0000)]
We might need to convert the passwd from UTF-8 into the locale charset.

2003-11-04  Jeffrey Stedfast  <fejj@ximian.com>

* camel-gpg-context.c (gpg_ctx_parse_status): We might need to
convert the passwd from UTF-8 into the locale charset. Fixes bug
#50485.

20 years agoserver interface check instead of wombat interface check
JP Rosevear [Tue, 4 Nov 2003 21:26:36 +0000 (21:26 +0000)]
server interface check instead of wombat interface check

2003-11-04  JP Rosevear  <jpr@ximian.com>

* src/Evolution-DataServer.idl: server interface check instead of
wombat interface check

* src/GNOME_Evolution_DataServerLDAP.server.in.in: ditto

* src/GNOME_Evolution_DataServerNOLDAP.server.in.in: ditto

* src/server.c: adjust to interface check renaming

* src/server-interface-check.[hc]: finish renaming so wombat
disappears

20 years agoditto
JP Rosevear [Tue, 4 Nov 2003 19:47:21 +0000 (19:47 +0000)]
ditto

2003-11-04  JP Rosevear <jpr@ximian.com>

* src/GNOME_Evolution_DataServerNOLDAP.server.in.in: ditto

* src/GNOME_Evolution_DataServerLDAP.server.in.in: update to point
to the right binary

* libedataserver/Makefile.am: install pkg-config file

20 years agoinclude priv dir stuff for libical
JP Rosevear [Tue, 4 Nov 2003 19:46:52 +0000 (19:46 +0000)]
include priv dir stuff for libical

2003-11-04  JP Rosevear <jpr@ximian.com>

* libecal/libecal-1.0.pc.in (prefix): include priv dir stuff for
libical

* libedatacal/libedatacal-1.0.pc.in (prefix): ditto

* libecal/e-cal-component.[hc]: properly name space alarm action
enum

* libecal/e-cal-types.h: properly name space change types

20 years agoUpdate some
Kjartan Maraas [Tue, 4 Nov 2003 17:04:15 +0000 (17:04 +0000)]
Update some

20 years agoAdd "webcal" to supported protocols.
Hans Petter Jansson [Tue, 4 Nov 2003 15:20:00 +0000 (15:20 +0000)]
Add "webcal" to supported protocols.

2003-11-04  Hans Petter Jansson  <hpj@ximian.com>

* src/GNOME_Evolution_DataServerNOLDAP.server.in.in:
* src/GNOME_Evolution_DataServerLDAP.server.in.in: Add "webcal" to
supported protocols.

20 years agoupdate
JP Rosevear [Tue, 4 Nov 2003 14:36:02 +0000 (14:36 +0000)]
update

2003-11-04  JP Rosevear <jpr@ximian.com>

* MAINTAINERS, TODO: update

20 years agoshush
JP Rosevear [Tue, 4 Nov 2003 14:32:04 +0000 (14:32 +0000)]
shush

20 years agoremove corbe header include
JP Rosevear [Tue, 4 Nov 2003 14:30:18 +0000 (14:30 +0000)]
remove corbe header include

2003-11-04  JP Rosevear <jpr@ximian.com>

* libedatabook/e-data-book-factory.c: remove corbe header include

* libedatabook/e-data-book.h: include corba header correctly

* libedatabook/e-data-book-view.h: ditto

* libedatabook/e-data-book-factory.h: ditto

* libedatabook/e-book-backend.h: ditto

* libedatabook/e-book-backend-sync.h: ditto

* libedatabook/Makefile.am: reflect idl name change

* libebook/e-book-view.c: remove corba header include

* libebook/e-book.c: ditto

* libebook/e-book.h: include corba header correctly

* libebook/e-book-view.h: ditto

* libebook/e-book-view-listener.h: ditto

* libebook/e-book-listener.h: ditto

* idl/Makefile.am (idl_DATA): rename idl to
Evolution-DataServer-Addressbook.idl

* libebook/Makefile.am: reflect idl name change

20 years agoremove corba header include
JP Rosevear [Tue, 4 Nov 2003 14:11:10 +0000 (14:11 +0000)]
remove corba header include

2003-11-04  JP Rosevear <jpr@ximian.com>

* libedatacal/e-data-cal-factory.c: remove corba header include

* libedatacal/e-cal-backend-sync.h: include corba header properly

* libedatacal/e-data-cal.h: ditto

* libedatacal/e-data-cal-view.h: ditto

* libedatacal/e-data-cal-factory.h: ditto

* libedatacal/e-cal-backend.h: ditto

* libedatacal/Makefile.am: reflect idl name change

* libecal/e-cal-listener.h: include corba header properly

* libecal/e-cal-view.h: ditto

* libecal/e-cal-view-listener.h: ditto

* libecal/Makefile.am: reflect idl name change

* idl/Makefile.am: rename the idl to
Evolution-DataServer-Calendar.idl

20 years agouse G_*_DECLS and include the data server stub
JP Rosevear [Tue, 4 Nov 2003 13:49:01 +0000 (13:49 +0000)]
use G_*_DECLS and include the data server stub

2003-11-04  JP Rosevear <jpr@ximian.com>

* src/server-interface-check.h: use G_*_DECLS and include the data
server stub

* src/Makefile.am: compile Evolution-DataServer.idl and manipulate
the DataServer .server files

2003-11-04  JP Rosevear <jpr@ximian.com>

* POTFILES.in: reflect new data server .server file names

20 years agoImplement. (e_cal_backend_file_dispose): Use above freers.
Hans Petter Jansson [Tue, 4 Nov 2003 03:28:32 +0000 (03:28 +0000)]
Implement. (e_cal_backend_file_dispose): Use above freers.

2003-11-03  Hans Petter Jansson  <hpj@ximian.com>

* calendar/libedatacal/e-cal-backend-file.c (free_calendar_components)
(free_calendar_data): Implement.
(e_cal_backend_file_dispose): Use above freers.
(get_uri_string_for_gnome_vfs): Implement.
(open_cal): Set priv->uri to be escaped, GnomeVFS-friendly.
(notify_removals_cb)
(notify_adds_modifies_cb)
(notify_changes)
(reload_cal): Implement.
(create_cal): Set priv->uri to be escaped, GnomeVFS-friendly.
(get_uri_string): Implement - unescapes once.
(e_cal_backend_file_compute_changes): Unescape DB URI once, don't make
like it's in a subdirectory.
(e_cal_backend_file_reload): Implement.

* calendar/libedatacal/e-cal-backend-http.c
(e_cal_backend_http_finalize): Cancel potential retrieval and free
slave backend.
(e_cal_backend_http_is_read_only): Clean up.
(webcal_to_http_method)
(uri_to_cache_dir)
(ensure_cache_dir)
(retrieval_done)
(retrieval_progress_cb)
(begin_retrieval_cb): Implement.
(e_cal_backend_http_open): Set up slave backend.
(e_cal_backend_http_remove)
(e_cal_backend_http_is_loaded)
(e_cal_backend_http_get_default_object)
(e_cal_backend_http_get_object)
(e_cal_backend_http_get_timezone)
(e_cal_backend_http_add_timezone)
(e_cal_backend_http_set_default_timezone)
(e_cal_backend_http_get_object_list)
(e_cal_backend_http_get_free_busy)
(e_cal_backend_http_get_changes)
(e_cal_backend_http_discard_alarm)
(e_cal_backend_http_modify_object)
(e_cal_backend_http_remove_object)
(e_cal_backend_http_receive_objects)
(e_cal_backend_http_send_objects)
(e_cal_backend_http_internal_get_default_timezone)
(e_cal_backend_http_internal_get_timezone): Implement with fallthrough
to slave backend.
(e_cal_backend_http_init): Remove cruft.

* calendar/libedatacal/e-cal-backend-sync.c
(e_cal_backend_sync_open): Use per-instance mutex.
(e_cal_backend_sync_init): Set up per-instance mutex.
(e_cal_backend_sync_dispose): Free per-instance mutex.

* calendar/libedatacal/e-cal-backend.c
(e_cal_backend_set_notification_proxy): Implement.
(e_cal_backend_notify_object_created)
(e_cal_backend_notify_object_modified)
(e_cal_backend_notify_object_removed)
(e_cal_backend_notify_mode)
(e_cal_backend_notify_error): Use notification proxy if set.

20 years agodon't need EVO_DIR
JP Rosevear [Mon, 3 Nov 2003 21:43:32 +0000 (21:43 +0000)]
don't need EVO_DIR

2003-11-03  JP Rosevear <jpr@ximian.com>

* configure.in: don't need EVO_DIR

20 years agoadd the trailing slash to the config subdir
JP Rosevear [Mon, 3 Nov 2003 19:45:33 +0000 (19:45 +0000)]
add the trailing slash to the config subdir

2003-11-03  JP Rosevear <jpr@ximian.com>

* configure.in: add the trailing slash to the config subdir

20 years agoFix list of files
JP Rosevear [Mon, 3 Nov 2003 19:16:01 +0000 (19:16 +0000)]
Fix list of files

2003-11-03  JP Rosevear <jpr@ximian.com>

* POTFILES.in: Fix list of files

20 years agoAdd missing file
JP Rosevear [Mon, 3 Nov 2003 18:28:46 +0000 (18:28 +0000)]
Add missing file

20 years agoinitial import
JP Rosevear [Mon, 3 Nov 2003 18:25:44 +0000 (18:25 +0000)]
initial import

20 years agoInitial revision
JP Rosevear [Mon, 3 Nov 2003 18:25:44 +0000 (18:25 +0000)]
Initial revision

20 years agoDon't compress trailing slashes in URI elements.
Hans Petter Jansson [Fri, 31 Oct 2003 18:11:13 +0000 (18:11 +0000)]
Don't compress trailing slashes in URI elements.

2003-10-31  Hans Petter Jansson  <hpj@ximian.com>

* e-source.c (e_source_get_uri): Don't compress trailing slashes in
URI elements.

20 years agoremoved, now redundant.
Not Zed [Fri, 31 Oct 2003 00:54:47 +0000 (00:54 +0000)]
removed, now redundant.

2003-10-31  Not Zed  <NotZed@Ximian.com>

* camel-cms-context.[ch]: removed, now redundant.

20 years agoimplement something basic.
Not Zed [Thu, 30 Oct 2003 10:04:42 +0000 (10:04 +0000)]
implement something basic.

2003-10-30  Not Zed  <NotZed@Ximian.com>

        * camel-smime-context.c (sm_get_passwd): implement something basic.

20 years agoAdded a note about api inconsistencies.
Not Zed [Thu, 30 Oct 2003 04:58:33 +0000 (04:58 +0000)]
Added a note about api inconsistencies.

2003-10-30  Not Zed  <NotZed@Ximian.com>

        * camel-cipher-context.h: Added a note about api inconsistencies.

2003-10-30  Not Zed  <NotZed@Ximian.com>

        * camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt):
        fix for cipher_decrypt changes.

        * camel-gpg-context.c, camel-cipher-context.c: moved all the init
        code to the end to save having to keep forward declarations
        around.
        (camel_cipher_decrypt): changed to take mimepart input and return
        a mimepart.
        (gpg_decrypt): fix for changed args.

2003-10-29  Not Zed  <NotZed@Ximian.com>

        * camel-smime-context.[ch]: replaced entirely with a new
        implementation which inherits from camel-cipher-context, and add
        to build.

        * camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt):
        fix for cipher_encrypt api changes.
        (camel_multipart_encrypted_decrypt): use g_ascii_strcasecmp.

        * camel-gpg-context.c (gpg_encrypt): Fix to handle input/output as
        parts not streams

        * camel-cipher-context.c (camel_cipher_encrypt): change to take
        mimeparts rather than streams as input/output.  And remove the
        'sign' argument, it is implied if userid is supplied.

2003-10-28  Not Zed  <NotZed@Ximian.com>

        * tests/smime/pgp.c (main): fix for ciphercontext api changes.

        * camel-multipart-signed.c (camel_multipart_signed_verify): pass
        in the part to cipher_verify directly.
        (camel_multipart_signed_sign): let the cipher context setup the
        part details.

        * camel-gpg-context.c (gpg_sign): put the signature stream into a
        mimepart, with appropriate headers/encoding.
        (swrite): write out a mimepart rather than a stream.
        (gpg_verify): handle changed args.

        * camel-cipher-context.c (camel_cipher_sign): write the signature
        to a mimepart rather than a simple stream.
        (camel_cipher_verify): take the signature as a mimepart not a
        stream.

2003-10-22  Not Zed  <NotZed@Ximian.com>

        * camel-utf8.c (camel_ucs2_utf8, camel_utf8_ucs2): helpers for
        ucs2 stuff.  ucs2 is 16 bit truncated unicode.

20 years agoWe should check List-Post before List-Id (List-Post has to contain the
Jeffrey Stedfast [Tue, 28 Oct 2003 19:15:12 +0000 (19:15 +0000)]
We should check List-Post before List-Id (List-Post has to contain the

2003-10-28  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.c: We should check List-Post before List-Id
(List-Post has to contain the mailing-list posting address,
whereas List-Id does not.) WAlso moved X-Loop to after List-Id to
make FreeBSD lusers happy. Fixes bug #32297.

20 years agoFixes bug #35083
Jeffrey Stedfast [Tue, 28 Oct 2003 19:01:58 +0000 (19:01 +0000)]
Fixes bug #35083

2003-10-28  Jeffrey Stedfast  <fejj@ximian.com>

* Fixes bug #35083

* providers/imap/camel-imap-store.c (connect_to_server): Same
here.

* providers/pop3/camel-pop3-store.c (connect_to_server): Same as
the smtp changes.

* providers/smtp/camel-smtp-transport.c (connect_to_server): If
HAVE_SSL is undefined, don't default to raw connections if the
option to connect via ssl is set. Instead set an exception and
return fail.

20 years agofill_popup_menu signal has 2 arguments.
Rodrigo Moya [Tue, 28 Oct 2003 18:56:34 +0000 (18:56 +0000)]
fill_popup_menu signal has 2 arguments.

2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

* e-source-selector.c (class_init): fill_popup_menu signal has
2 arguments.

20 years agoadded "fill_popup_menu" signal, to allow the addition of new items to the
Rodrigo Moya [Tue, 28 Oct 2003 18:15:37 +0000 (18:15 +0000)]
added "fill_popup_menu" signal, to allow the addition of new items to the

2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

* e-source-selector.[ch]: added "fill_popup_menu" signal, to
allow the addition of new items to the popup menu.
(class_init): create new signal.
(init): connect to "button_press_event" for the tree view.
(selector_button_press_event): callback for "button_press_event".
(e_source_selector_selection_shown): use g_return_val_if_fail.

20 years agobetter detection of broken date to give to broken_date_parser.
Frédéric Crozat [Tue, 28 Oct 2003 13:22:13 +0000 (13:22 +0000)]
better detection of broken date to give to broken_date_parser.

       * camel-mime-utils.c: (camel_header_decode_date):
       better detection of broken date to give to broken_date_parser.

20 years agoIf a word is longer than CAMEL_TEXT_INDEX_MAX_WORDLEN, then ignore it.
Jeffrey Stedfast [Mon, 27 Oct 2003 20:21:19 +0000 (20:21 +0000)]
If a word is longer than CAMEL_TEXT_INDEX_MAX_WORDLEN, then ignore it.

2003-10-24  Jeffrey Stedfast  <fejj@ximian.com>

* camel-text-index.c (text_index_name_add_buffer): If a word is
longer than CAMEL_TEXT_INDEX_MAX_WORDLEN, then ignore it. This
fixes bug #50096.

20 years agoRemoved unneeded CAMEL_OBJECT() casts.
Jeffrey Stedfast [Thu, 23 Oct 2003 19:57:58 +0000 (19:57 +0000)]
Removed unneeded CAMEL_OBJECT() casts.

2003-10-23  Jeffrey Stedfast  <fejj@ximian.com>

* *.c: Removed unneeded CAMEL_OBJECT() casts.

20 years agoMerge new-ui-branch into the trunk.
Ettore Perazzoli [Tue, 21 Oct 2003 18:51:19 +0000 (18:51 +0000)]
Merge new-ui-branch into the trunk.

20 years agoMerge new-ui-branch to the trunk.
Ettore Perazzoli [Tue, 21 Oct 2003 18:24:44 +0000 (18:24 +0000)]
Merge new-ui-branch to the trunk.

20 years agofile camel-spam-plugin.c was initially added on branch spam-filtering.
Radek Doulik [Thu, 16 Oct 2003 16:46:29 +0000 (16:46 +0000)]
file camel-spam-plugin.c was initially added on branch spam-filtering.

20 years agofile camel-spam-plugin.h was initially added on branch spam-filtering.
Radek Doulik [Thu, 16 Oct 2003 16:46:29 +0000 (16:46 +0000)]
file camel-spam-plugin.h was initially added on branch spam-filtering.

20 years agoFixed a #include.
Jeffrey Stedfast [Thu, 16 Oct 2003 15:33:47 +0000 (15:33 +0000)]
Fixed a #include.

20 years agoAllow timezone offsets to be up to 14 hours ahead of UTC. Fixes bug
Jeffrey Stedfast [Thu, 9 Oct 2003 16:46:30 +0000 (16:46 +0000)]
Allow timezone offsets to be up to 14 hours ahead of UTC. Fixes bug

2003-10-09  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.c (header_decode_date): Allow timezone offsets
to be up to 14 hours ahead of UTC. Fixes bug #49357.

* broken-date-parser.c (get_tzone): Same.

20 years agoRemoved an unused variable.
Jeffrey Stedfast [Wed, 8 Oct 2003 18:30:39 +0000 (18:30 +0000)]
Removed an unused variable.

2003-10-08  Jeffrey Stedfast  <fejj@ximian.com>

* providers/smtp/camel-smtp-transport.c (smtp_helo): Removed an
unused variable.

20 years agofixed a comment spelling mistake and removede CAMEL_OBJECT() casting where it was...
Jeffrey Stedfast [Thu, 25 Sep 2003 16:07:46 +0000 (16:07 +0000)]
fixed a comment spelling mistake and removede CAMEL_OBJECT() casting where it was not needed (ref and unref calls)

20 years agoIf the localhost lookup results in a numeric IPv6 host, use the form
Jeffrey Stedfast [Thu, 25 Sep 2003 15:16:51 +0000 (15:16 +0000)]
If the localhost lookup results in a numeric IPv6 host, use the form

2003-09-25  Jeffrey Stedfast  <fejj@ximian.com>

* providers/smtp/camel-smtp-transport.c (smtp_helo): If the
localhost lookup results in a numeric IPv6 host, use the form
"[IPv6:<addr>]" as specified in rfc2821. Fixes bug #46006.

20 years agoIf the CREATE flag is set and the parent .sbd directory does not exist,
Jeffrey Stedfast [Tue, 23 Sep 2003 21:03:19 +0000 (21:03 +0000)]
If the CREATE flag is set and the parent .sbd directory does not exist,

2003-09-23  Jeffrey Stedfast  <fejj@ximian.com>

* providers/local/camel-mbox-store.c (get_folder): If the CREATE
flag is set and the parent .sbd directory does not exist, create
it.

20 years agoDon't forget to flush the iconv conversion.
Jeffrey Stedfast [Tue, 23 Sep 2003 18:40:25 +0000 (18:40 +0000)]
Don't forget to flush the iconv conversion.

2003-09-23  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.c (append_8bit): Don't forget to flush the
iconv conversion.

20 years agoDon't try dot-files.
Jeffrey Stedfast [Tue, 23 Sep 2003 16:50:06 +0000 (16:50 +0000)]
Don't try dot-files.

2003-09-23  Jeffrey Stedfast  <fejj@ximian.com>

* tests/message/test4.c (main): Don't try dot-files.

20 years ago** See bug #41610
Not Zed [Tue, 23 Sep 2003 01:02:23 +0000 (01:02 +0000)]
** See bug #41610

2003-09-22  Not Zed  <NotZed@Ximian.com>

        ** See bug #41610

        * providers/pop3/camel-pop3-folder.c (cmd_tocache): protect a
        divide by 0 for 0 length messages.

20 years agoAdded "offline_sync" option, which lets you synchronise all mail to local
Not Zed [Mon, 22 Sep 2003 18:48:34 +0000 (18:48 +0000)]
Added "offline_sync" option, which lets you synchronise all mail to local

2003-09-22  Not Zed  <NotZed@Ximian.com>

        * providers/imap/camel-imap-provider.c: Added "offline_sync"
        option, which lets you synchronise all mail to local storage
        automagically.

        * camel-disco-folder.c (cdf_folder_changed): hook onto the folder
        changed single, for all new messages, check that they are online
        using another thread, if the offline_sync option has been enabled
        for this store.

2003-09-21  Not Zed  <NotZed@Ximian.com>

        * camel-session.c (session_thread_destroy): call proper entry
        point for freeing the message.

2003-09-18  Not Zed  <NotZed@Ximian.com>

        * camel-folder.c (filter_filter): register the filtering process
        for progress, and do progress of the filtering process.

2003-09-17  Not Zed  <NotZed@Ximian.com>

        * camel.c (camel_init): init camel operation.

        * camel-operation.c (camel_operation_reset): removed, not used,
        not worth it.
        (camel_operation_mute): new method to stop all status updates
        permanently.
        (*): Changed to use thread specific data and a list rather than a
        hashtable.
        (cancel_thread): removed.
        (camel_operation_register): return the previously registered op.

20 years agoFix the code that creates a new ssl stream to pass the correct arguments
Jeffrey Stedfast [Mon, 22 Sep 2003 15:00:59 +0000 (15:00 +0000)]
Fix the code that creates a new ssl stream to pass the correct arguments

2003-09-22  Jeffrey Stedfast  <fejj@ximian.com>

* providers/nntp/camel-nntp-store.c (connect_to_server): Fix the
code that creates a new ssl stream to pass the correct arguments
and the proper flags.

* providers/imapp/camel-imapp-folder.c (imap_sync): Cast the
CamelFolder to a CamelIMAPPFolder to hush some compiler warnings.

* camel-mime-utils.h: Define a struct _CamelContentDisposition
(allows the imapp code to compile)

* providers/imapp/camel-imapp-driver.c: #include <string.h>

20 years agoNew function to replace the one from camel-mime-part.c
Jeffrey Stedfast [Thu, 18 Sep 2003 19:02:15 +0000 (19:02 +0000)]
New function to replace the one from camel-mime-part.c

2003-09-18  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.c (camel_transfer_encoding_to_string): New
function to replace the one from camel-mime-part.c
(camel_transfer_encoding_from_string): Same.
(camel_content_transfer_encoding_decode): Renamed from
camel_header_content_encoding_decode().

* camel-mime-part.c (camel_mime_part_encoding_to_string): Removed.
(camel_mime_part_encoding_from_string): Removed.

* camel-data-wrapper.[c,h]: updated for CamelTransferEncoding
namespace changes

* camel-folder-summary.c: updated for CamelTransferEncoding
namespace changes

* camel-mime-filter-bestenc.[c,h]: updated for CamelTransferEncoding
namespace changes

* camel-mime-message.c: updated for CamelTransferEncoding
namespace changes

* camel-mime-part-utils.c: updated for CamelTransferEncoding
namespace changes

* camel-multipart-signed.c: updated for CamelTransferEncoding
namespace changes

* camel-smime-context.c: updated for CamelTransferEncoding
namespace changes

* providers/imapp/camel-imapp-utils.c: updated for
CamelTransferEncoding namespace changes

* tests/lib/messages.c: updated for CamelTransferEncoding
namespace changes

* tests/message/test1.c: updated for CamelTransferEncoding
namespace changes

20 years agonamespaced the encoding/decoding routines.
Jeffrey Stedfast [Thu, 18 Sep 2003 18:10:58 +0000 (18:10 +0000)]
namespaced the encoding/decoding routines.

2003-09-18  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.[c,h]: namespaced the encoding/decoding
routines.

* camel-mime-filter-basic.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c

* camel-multipart.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c

* camel-sasl-digest-md5.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c

* camel-sasl.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c

* camel-vee-folder.c: updated for namespace changes to the
encoding/decoding routines in camel-mime-utils.c

* providers/imap/camel-imap-search.c: updated for namespace
changes to the encoding/decoding routines in camel-mime-utils.c

* providers/pop3/camel-pop3-folder.c: updated for namespace
changes to the encoding/decoding routines in camel-mime-utils.c

20 years agos/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and
Jeffrey Stedfast [Thu, 18 Sep 2003 17:07:09 +0000 (17:07 +0000)]
s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and

2003-08-26  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-parser.[c,h]: s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and
s/_header_state/_camel_mime_parser_state/g

* camel-filter-driver.c: Same.

* camel-folder-summary.c: Here too.

* camel-http-stream.c: And here.

* camel-mime-message.c: ...

* camel-mime-part-utils.c: ...

* camel-mime-part.c: ...

* camel-movemail.c: ...

* camel-multipart-signed.c: ...

* camel-multipart.c: ...

* providers/local/camel-mbox-folder.c: ...

* providers/local/camel-mbox-summary.c: ...

* providers/local/camel-mh-summary.c: ...

* providers/nntp/camel-nntp-summary.c: ...

* providers/pop3/camel-pop3-folder.c: ...

2003-08-25  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.[c,h]: Namespaced.

* camel-data-wrapper.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-digest-folder.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-filter-driver.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-filter-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-folder-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-folder-summary.[c,h]: updated for namespace changed made
to camel-mime-utils.[c,h]

* camel-http-stream.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-http-stream.h: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-internet-address.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-medium.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-mime-message.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-mime-parser.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-mime-part-utils.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-mime-part.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-movemail.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-multipart-encrypted.c: updated for namespace changed made
to camel-mime-utils.[c,h]

* camel-multipart-signed.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-multipart.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-search-private.[c,h]: updated for namespace changed made
to camel-mime-utils.[c,h]

* camel-types.h: updated for namespace changed made to
camel-mime-utils.[c,h]

* providers/imap/camel-imap-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/imap/camel-imap-store-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/imap/camel-imap-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]

* providers/imapp/camel-imapp-utils.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/local/camel-local-summary.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/local/camel-maildir-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/local/camel-mbox-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/local/camel-spool-summary.h: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/nntp/camel-nntp-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/nntp/camel-nntp-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]

* providers/pop3/camel-pop3-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/sendmail/camel-sendmail-transport.c: updated for
namespace changed made to camel-mime-utils.[c,h]

* providers/smtp/camel-smtp-transport.c: updated for namespace
changed made to camel-mime-utils.[c,h]

20 years agoImplement a temp hack so trunk works until we merge in new-ui-branch.
Jeffrey Stedfast [Tue, 16 Sep 2003 21:20:50 +0000 (21:20 +0000)]
Implement a temp hack so trunk works until we merge in new-ui-branch.

2003-09-16  Jeffrey Stedfast  <fejj@ximian.com>

* providers/local/camel-mbox-folder.c
(camel_mbox_folder_get_full_path): Implement a temp hack so trunk
works until we merge in new-ui-branch.

20 years agoDon't warning about how we haven't written anything to the stream, this is
Jeffrey Stedfast [Tue, 16 Sep 2003 20:49:51 +0000 (20:49 +0000)]
Don't warning about how we haven't written anything to the stream, this is

2003-09-16  Jeffrey Stedfast  <fejj@ximian.com>

* camel-stream-filter.c (do_flush): Don't warning about how we
haven't written anything to the stream, this is not an
error. fflush() doesn't care if you try to fflush() a stream
without writing to it, so we shouldn't care either.

20 years agoremoved dead code.
Not Zed [Mon, 15 Sep 2003 23:21:16 +0000 (23:21 +0000)]
removed dead code.

2003-09-15  Not Zed  <NotZed@Ximian.com>

        * providers/imapp/camel-imapp-store.c (store_resp_list)
        (imap_login, try_sasl, imap_try_authenticate): removed dead code.

        * providers/imapp/camel-imapp-stream.c: return -1 if stream not
        set.

        * providers/imapp/camel-imapp-engine.c (iterate_completion): put
        done request on the done queue, so all requests are always
        somewhere.
        (camel_imapp_engine_command_free): just spit warnings of active
        messages being freed, but abort if the item isn't in any list.
        Also remove the node from its list before going on.
        (iterate_untagged, iterate_continuation, iterate_completion):
        staticifiy.

        * providers/imapp/camel-imapp-provider.c
        (camel_imapp_module_init): move camel_exception_setup call here.

        * providers/imapp/camel-imapp-driver.c
        (camel_imapp_driver_get_type): remove execption setup here, it
        isn't early enough.
        (camel_imapp_driver_list): handle exceptions.

20 years agoImplements CamelLocalFolder::get_full_path() (publicly namespaced so that
Jeffrey Stedfast [Fri, 12 Sep 2003 18:43:04 +0000 (18:43 +0000)]
Implements CamelLocalFolder::get_full_path() (publicly namespaced so that

2003-09-12  Jeffrey Stedfast  <fejj@ximian.com>

* providers/local/camel-mbox-folder.c
(camel_mbox_folder_get_full_path): Implements
CamelLocalFolder::get_full_path() (publicly namespaced so that
CamelMboxStore can re-use them).
(camel_mbox_folder_get_meta_path): Same.

* providers/local/camel-mbox-store.c (get_folder): Changed the way
the path is constructed, since we now handle subdirectories and
stuff.
(delete_folder): Try deleting the Folder.sbd directory. We also
need to manage our own meta files since CamelLocalStore's impl
constructs paths differently than what we need.
(create_folder): Implemented.
(rename_folder): Implemented.
(scan_dir): Scan an mbox tree
(get_folder_info): Implemented using scan_dir().

* providers/local/camel-local-store.c (delete_folder): Set fi->url
to the correct value, meaning we need to prefix it with the
protocol and the folder_name is not actually part of the path, it
is a separate component to the url.

* providers/local/camel-local-folder.c
(camel_local_folder_construct): Use the new class virtual method
to construct the full folder path and all the meta files.
(local_get_full_path): Implemented default get_full_path method.
(local_get_meta_path): Implemented default get_meta_path method.

20 years agoadded copyright comment block
Jeffrey Stedfast [Fri, 12 Sep 2003 18:42:16 +0000 (18:42 +0000)]
added copyright comment block

20 years agoupdated warning to mention the proper rfc
Jeffrey Stedfast [Fri, 12 Sep 2003 18:41:35 +0000 (18:41 +0000)]
updated warning to mention the proper rfc

20 years agoadd
Dan Winship [Thu, 11 Sep 2003 14:57:59 +0000 (14:57 +0000)]
add

20 years agoRemove libcamel-static.la
Dan Winship [Thu, 11 Sep 2003 14:57:43 +0000 (14:57 +0000)]
Remove libcamel-static.la

        * Makefile.am (noinst_LTLIBRARIES): Remove libcamel-static.la

20 years agocall camel_folder_sync bypassing the folder lock. See
Not Zed [Mon, 8 Sep 2003 20:59:01 +0000 (20:59 +0000)]
call camel_folder_sync bypassing the folder lock. See

2003-09-05  Not Zed  <NotZed@Ximian.com>

        * providers/imap/camel-imap-store.c (imap_noop): call
        camel_folder_sync bypassing the folder lock.  See
        imap_store_refresh_folders too.

20 years agoAdd PREAUTH handling and pine/mutt/etpan/etc.-style 'ssh <mailhost> exec
David Woodhouse [Thu, 4 Sep 2003 21:00:19 +0000 (21:00 +0000)]
Add PREAUTH handling and pine/mutt/etpan/etc.-style 'ssh <mailhost> exec

2003-09-04  David Woodhouse  <dwmw2@infradead.org>

* providers/camel-imap-store.[ch]: Add PREAUTH handling and
pine/mutt/etpan/etc.-style 'ssh <mailhost> exec imapd' support.

20 years agoNew stream implementation for running commands. Compile the above
David Woodhouse [Wed, 3 Sep 2003 22:41:40 +0000 (22:41 +0000)]
New stream implementation for running commands. Compile the above

2003-09-03  David Woodhouse  <dwmw2@infradead.org>

        * camel-stream-process.[ch]: New stream implementation for running
        commands.
        * Makefile.am: Compile the above

20 years ago** See bug #47765.
Not Zed [Wed, 3 Sep 2003 18:05:54 +0000 (18:05 +0000)]
** See bug #47765.

2003-08-20  Not Zed  <NotZed@Ximian.com>

        ** See bug #47765.

        * camel-folder-search.h: Removed match1 member.

        * camel-folder-search.c (camel_folder_search_match_expression):
        use current directly rather than match1.  This method isn't used
        anywhere anyway.
        (search_not): remove match1 stuff.
        (search_match_all): properly handle the match-all against 1
        message as a scalar result, not an array result.

2003-09-03  Not Zed  <NotZed@Ximian.com>

        * camel-http-stream.c (camel_http_stream_set_proxy): handle NULL
        proxy_url - unset the proxy.

20 years agoremoved debug printfs.
Not Zed [Sat, 30 Aug 2003 01:04:38 +0000 (01:04 +0000)]
removed debug printfs.

2003-08-29  Not Zed  <NotZed@Ximian.com>

        * camel-object.c (camel_object_state_write):
        (cobject_getv):
        (cobject_setv, cobject_state_read, cobject_state_read)
        (cobject_state_write): removed debug printfs.

20 years agoNeed to copy the local properties list before passing it out, since it's
Not Zed [Sat, 30 Aug 2003 00:54:16 +0000 (00:54 +0000)]
Need to copy the local properties list before passing it out, since it's

2003-08-29  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-local-folder.c (local_getv): Need to copy
        the local properties list before passing it out, since it's freed.

20 years agoimplement PERSISTENT_PROPERTIES, for index mode.
Not Zed [Wed, 27 Aug 2003 19:50:25 +0000 (19:50 +0000)]
implement PERSISTENT_PROPERTIES, for index mode.

2003-08-27  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-local-folder.c (local_getv): implement
        PERSISTENT_PROPERTIES, for index mode.

        * camel-object.c (cobject_state_read): Also add property reading,
        and bump version to 1.
        (cobject_state_write): add persistent property writing.

2003-08-26  Not Zed  <NotZed@Ximian.com>

        * camel-folder.c (folder_getv): chain up properly.

        * camel-file-utils.c (camel_file_util_savename): helper to create
        a .#filename filename.

        * providers/local/camel-local-folder.c
        (camel_local_folder_construct): init meta-data for local folders.
        (local_getv): chain up properly, if args are not processed, rather
        than don't if they aren't.

2003-08-23  Not Zed  <NotZed@Ximian.com>

        * camel-object.c (cobject_class_init): added a new event,
        meta_changed.
        (camel_object_meta_set, camel_object_meta_get): meta-data api.
        (camel_object_free_hooks): Free meta-data if it is set on the
        object.

        * providers/local/camel-local-folder.c
        (camel_local_folder_get_type): setup a property list for local
        folders, just 'index_body' at present.

20 years agotemporarily reverting my camel namespace patches until after we merge in some of...
Jeffrey Stedfast [Tue, 26 Aug 2003 18:16:51 +0000 (18:16 +0000)]
temporarily reverting my camel namespace patches until after we merge in some of the other branches

20 years agoreverted some namespacing changes to internal functions
Jeffrey Stedfast [Tue, 26 Aug 2003 17:52:59 +0000 (17:52 +0000)]
reverted some namespacing changes to internal functions

20 years agos/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and
Jeffrey Stedfast [Tue, 26 Aug 2003 16:06:03 +0000 (16:06 +0000)]
s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and

2003-08-26  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-parser.[c,h]: s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g and
s/_header_state/_camel_mime_parser_state/g

* camel-filter-driver.c: Same.

* camel-folder-summary.c: Here too.

* camel-http-stream.c: And here.

* camel-mime-message.c: ...

* camel-mime-part-utils.c: ...

* camel-mime-part.c: ...

* camel-movemail.c: ...

* camel-multipart-signed.c: ...

* camel-multipart.c: ...

* providers/local/camel-mbox-folder.c: ...

* providers/local/camel-mbox-summary.c: ...

* providers/local/camel-mh-summary.c: ...

* providers/nntp/camel-nntp-summary.c: ...

* providers/pop3/camel-pop3-folder.c: ...

20 years agoNamespaced.
Jeffrey Stedfast [Mon, 25 Aug 2003 21:01:55 +0000 (21:01 +0000)]
Namespaced.

2003-08-25  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.[c,h]: Namespaced.

* camel-data-wrapper.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-digest-folder.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-filter-driver.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-filter-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-folder-search.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-folder-summary.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-http-stream.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-http-stream.h: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-internet-address.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-medium.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-mime-message.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-mime-parser.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-mime-part-utils.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-mime-part.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-movemail.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-multipart-encrypted.c: updated for namespace changed made
to camel-mime-utils.[c,h]

* camel-multipart-signed.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-multipart.c: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-search-private.[c,h]: updated for namespace changed made to
camel-mime-utils.[c,h]

* camel-types.h: updated for namespace changed made to
camel-mime-utils.[c,h]

* providers/imap/camel-imap-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/imap/camel-imap-store-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/imap/camel-imap-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]

* providers/imapp/camel-imapp-utils.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/local/camel-local-summary.[c,h]: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/local/camel-maildir-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/local/camel-mbox-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/local/camel-spool-summary.h: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/nntp/camel-nntp-summary.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/nntp/camel-nntp-utils.c: updated for namespace changed
made to camel-mime-utils.[c,h]

* providers/pop3/camel-pop3-folder.c: updated for namespace
changed made to camel-mime-utils.[c,h]

* providers/sendmail/camel-sendmail-transport.c: updated for
namespace changed made to camel-mime-utils.[c,h]

* providers/smtp/camel-smtp-transport.c: updated for namespace
changed made to camel-mime-utils.[c,h]

20 years agoAdded some more error checking for reading/writing to the pipes. Fixes bug
Jeffrey Stedfast [Mon, 25 Aug 2003 15:09:34 +0000 (15:09 +0000)]
Added some more error checking for reading/writing to the pipes. Fixes bug

2003-08-25  Jeffrey Stedfast  <fejj@ximian.com>

* camel-filter-driver.c (pipe_to_system): Added some more error
checking for reading/writing to the pipes. Fixes bug #47880.
`

20 years agoDon't poke wrapper->stream directly, use
Jeffrey Stedfast [Thu, 21 Aug 2003 16:20:14 +0000 (16:20 +0000)]
Don't poke wrapper->stream directly, use

2003-08-21  Jeffrey Stedfast  <fejj@ximian.com>

* camel-data-wrapper.c (decode_to_stream): Don't poke
wrapper->stream directly, use camel_data_wrapper_write_to_stream()
instead as this simplifies things and makes the imap data wrapper
implementation Just Work (tm).

* providers/imap/camel-imap-wrapper.c: changed prototype of
write_to_stream() to return ssize_t.

20 years agoMake sure to ref the stream. Fixes bug #47749.
Jeffrey Stedfast [Wed, 20 Aug 2003 17:39:37 +0000 (17:39 +0000)]
Make sure to ref the stream. Fixes bug #47749.

2003-08-20  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap/camel-imap-wrapper.c (imap_wrapper_hydrate): Make
sure to ref the stream. Fixes bug #47749.

20 years agoreturn 77 when gpg isn't available rather than 127
Jeffrey Stedfast [Tue, 19 Aug 2003 15:44:33 +0000 (15:44 +0000)]
return 77 when gpg isn't available rather than 127

also fixed to import the keys from the correct location

20 years agoVarious fixes to make it work.
Not Zed [Tue, 19 Aug 2003 02:36:31 +0000 (02:36 +0000)]
Various fixes to make it work.

2003-08-18  Not Zed  <NotZed@Ximian.com>

        * camel-http-stream.c: Various fixes to make it work.

        * tests/smime/pgp-mime.c (main): added missing 'ret' variable.

        * providers/smtp/camel-smtp-transport.c (connect_to_server):
        * providers/imapp/camel-imapp-store.c (connect_to_server:
        * providers/imap/camel-imap-store.c (connect_to_server):
        * providers/pop3/camel-pop3-store.c (connect_to_server):
        * camel-http-stream.c (http_connect): change service->session for
        tcp_stream_ssl_new.

        * camel-tcp-stream-ssl.c: Changed service to session, and fix some
        refcounting of it.
        include camel-operation.h

20 years ago** See bug #47634.
Not Zed [Fri, 15 Aug 2003 20:57:30 +0000 (20:57 +0000)]
** See bug #47634.

2003-08-15  Not Zed  <NotZed@Ximian.com>

        ** See bug #47634.

        * tests/lib/messages.c (test_message_compare): check
        write_to_stream returns.
        (message_dump_rec): helper to dump message structure.

        * camel-mime-part-utils.c
        (simple_data_wrapper_construct_from_parser): dont set content
        encoding here.
        (camel_mime_part_construct_content_from_parser): set it here
        instead, on every part.  basically same as setting the
        mime_type_field always.

        * camel-multipart-signed.c (camel_multipart_signed_class_init):
        * camel-mime-message.c (camel_mime_message_class_init):
        * camel-multipart.c (camel_multipart_class_init): override
        decode_to_stream to always do the same as write_to_stream, since
        we can never be encoded.

20 years agoDon't attach any filters to decode base64/qp/etc.
Jeffrey Stedfast [Fri, 15 Aug 2003 18:27:55 +0000 (18:27 +0000)]
Don't attach any filters to decode base64/qp/etc.

2003-08-15  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap/camel-imap-wrapper.c (imap_wrapper_hydrate):
Don't attach any filters to decode base64/qp/etc.

20 years agoSave errno when flushing/unreffing the filter stream.
Jeffrey Stedfast [Thu, 14 Aug 2003 04:35:22 +0000 (04:35 +0000)]
Save errno when flushing/unreffing the filter stream.

2003-08-14  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-part.c (write_to_stream): Save errno when
flushing/unreffing the filter stream.

20 years agoIf the content is base64/qp/uu/etc encoded but the part is 7bit/8bit/(or
Jeffrey Stedfast [Wed, 13 Aug 2003 16:41:18 +0000 (16:41 +0000)]
If the content is base64/qp/uu/etc encoded but the part is 7bit/8bit/(or

2003-08-13  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-part.c (write_to_stream): If the content is
base64/qp/uu/etc encoded but the part is 7bit/8bit/(or otherwise
non-encoded), set reencode to TRUE so that we decode the original
content stream. Fixes a bug noticed on
evolution-patches@ximian.com where a patch had a
Content-Transfer-Encoding of 7bit but was base64 encoded.

20 years agoFix the range check, we were stopping removal of 1 or 2 removals, for some
Not Zed [Wed, 13 Aug 2003 16:40:12 +0000 (16:40 +0000)]
Fix the range check, we were stopping removal of 1 or 2 removals, for some

2003-08-13  Not Zed  <NotZed@Ximian.com>

        * camel-folder-summary.c (camel_folder_summary_remove_range): Fix
        the range check, we were stopping removal of 1 or 2 removals, for
        some odd and completely uncomprehensible reason.  Perhaps debug
        left in?

2003-08-13  Not Zed  <NotZed@Ximian.com>

        ** See bug #47517.

        * camel-vee-folder.c (vee_sync): Always rebuild folder on any
        sync, not just expunge ones.

20 years agoforce connect manually so basics work.
Not Zed [Mon, 11 Aug 2003 20:41:33 +0000 (20:41 +0000)]
force connect manually so basics work.

2003-08-11  Not Zed  <NotZed@Ximian.com>

        * providers/imapp/camel-imapp-store.c (imap_get_folder_info):
        force connect manually so basics work.

        ** See bug #45505.

        * camel-service.c (camel_gethostbyname): duh, pthread_create
        returns the error code directly, not via errno.
        (camel_gethostbyaddr): Same, also properly handle the failure
        case.

2003-08-01  Not Zed  <NotZed@Ximian.com>

        ** See bug #47208.

        * camel-filter-search.c (match_all): match-all with no arguments
        should always return TRUE.

        * camel-folder-search.c (camel_folder_search_execute_expression):
        print a warning when we get an invalid result type & fixed a leak
        for that case.

20 years agoupdated mime-tests README
Jeffrey Stedfast [Mon, 11 Aug 2003 20:18:16 +0000 (20:18 +0000)]
updated mime-tests README

20 years agoNew test suite for the mime parser (which is where the below 2 fixes were
Jeffrey Stedfast [Mon, 11 Aug 2003 17:57:45 +0000 (17:57 +0000)]
New test suite for the mime parser (which is where the below 2 fixes were

* tests/message/test4.c: New test suite for the mime parser (which
is where the below 2 fixes were noticed).

* camel-mime-parser.c (folder_boundary_check): Calculate 'len' by
subtracting the boundary start from inend rather than 'atleast'.
(folder_scan_content): Calculate 'inend' differently depending on
the EOF state.

2003-08-08  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-filter-tohtml.c (html_convert): Rather than checking
*inptr == '\n', check inptr >= inend - this gets rid of an Invalid
Read report from valgrind.

* camel-mime-part.c (write_to_stream): Don't necessarily re-encode
just because the encodings differ. Need to look into making it so
that message/rfc822 and multipart parts ignore the
Content-Transfer-Encoding header and just keep their 'encoding'
bits set to DEFAULT.

2003-08-05  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap/camel-imap-folder.c (get_content): Updated.

* camel-mime-message.c (camel_mime_message_init): Don't override
the mime_type here.
(process_header): Updated to use CamelDataWrapper's mime_type
field.
(find_best_encoding): Same.
(best_encoding): Here too.

* camel-digest-folder.c (camel_digest_folder_new): Updated for
CamelMimePart::content_type change.

* camel-mime-part.c (camel_mime_part_init): Override our parent
class's default mime_type.
(camel_mime_part_finalize): Don't need to unref the content_type
anymore.
(process_header): Updated to use CamelDataWrapper's mime_type
field.
(camel_mime_part_set_filename): Same.
(camel_mime_part_get_filename): Same.
(camel_mime_part_get_content_type): Same.
(set_content_object): Here too.
(write_to_stream): Updated.
(construct_from_parser): Updated.

* camel-mime-part.h: Remove the content_type field.

2003-07-31  Jeffrey Stedfast  <fejj@ximian.com>

* tests/lib/messages.c (test_message_compare_content): If the
chunks differ, perform a hexdump on the data being compared so
that we may analyse it easier.

* camel-multipart-signed.c (write_to_stream): Return ssize_t.

* camel-mime-utils.h: Added the CamelMimePartEncodingType enum
here.

* camel-mime-part.h: Removed the CamelMimePartEncodingType enum
from here.

* camel-mime-part.c (write_to_stream): Updated to return
ssize_t. Also minor changes to only re-encode the content stream
if the charset or encoding changed (this way we write it out in
the original raw form if nothing changed).

* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Drastically
simplify. We no longer scan html content to try and find the
charset, nor do we care about converting the content to UTF-8 and
handling broken windows charsets.

* camel-mime-message.c (find_best_encoding): Use
decode_to_stream() here. Also updated to not assume the content
charset is UTF-8 since it is very likely not the case anymore
since data-wrappers no longer are converted to UTF-8 at parse
time.

* camel-folder-summary.c (summary_build_content_info_message): Use
decode_to_stream instead here too.

* camel-folder-search.c (match_words_1message): Use
decode_to_stream instead of write_to_stream so we can search the
contents.

* camel-data-wrapper.c (camel_data_wrapper_init): Set the default
encoding to DEFAULT.
(write_to_stream): Updated to return ssize_t
(camel_data_wrapper_decode_to_stream): New virtual function to
decode a data wrapper to a stream (results in nearly identical
behaviour to the old write_to_stream method).
(decode_to_stream): Default implementation of above virtual
method. Decodes base64/qp/etc streams.

* camel-data-wrapper.h: Removed the rawtext bit and added an
encoding member.

20 years ago add optional imapp compile
Michael Zucci [Fri, 1 Aug 2003 21:08:03 +0000 (21:08 +0000)]
add optional imapp compile

20 years ago experimental, non-working imap implementation
Michael Zucci [Fri, 1 Aug 2003 21:07:43 +0000 (21:07 +0000)]
experimental, non-working imap implementation

20 years agooops, s/gpgfoo/gpg/
Jeffrey Stedfast [Fri, 1 Aug 2003 19:31:31 +0000 (19:31 +0000)]
oops, s/gpgfoo/gpg/

20 years agoupdated
Jeffrey Stedfast [Fri, 1 Aug 2003 19:30:50 +0000 (19:30 +0000)]
updated

20 years agoSame.
Jeffrey Stedfast [Fri, 1 Aug 2003 19:13:20 +0000 (19:13 +0000)]
Same.

2003-08-01  Jeffrey Stedfast  <fejj@ximian.com>

* tests/smime/pgp-mime.c: Same.

* tests/smime/pgp.c: Updated to build and to import some custom
gpg keys for use with testing.

20 years agooops, this too
Jeffrey Stedfast [Wed, 30 Jul 2003 17:26:30 +0000 (17:26 +0000)]
oops, this too

20 years agoAlso updated.
Jeffrey Stedfast [Wed, 30 Jul 2003 17:25:01 +0000 (17:25 +0000)]
Also updated.

2003-07-30  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-message.c (write_to_stream): Also updated.

* camel-data-wrapper.c (write_to_stream): This should return ssize_t

* camel-multipart-signed.c (write_to_stream): Updated.

* camel-multipart.c (write_to_stream): Same.

* camel-mime-part.c (write_to_stream): Here too.

20 years agoFix for #46168 'some additional locale aliases required for chinese
Suresh Chandrasekharan [Tue, 29 Jul 2003 13:52:43 +0000 (13:52 +0000)]
Fix for #46168 'some additional locale aliases required for chinese

2003-07-11  Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>

* camel-iconv.c: Fix for #46168 'some additional locale aliases
required for chinese support'.

2003-07-25  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.c (header_decode_word): Revert NotZed's fix for
bug #42170 - this causes even more problems than it solves. See
bug #46331 for info. Basically, each address header would be
converted to UTF-8 twice which means no raw 8bit address header
would render correctly.
(header_decode_mailbox): Perform a sanity check on the resultant
addr->str to make sure that it is valid UTF-8, if not convert it
to UTF-8. Fixes bug #42170.

21 years agoRevert my previous changes to this function.
Jeffrey Stedfast [Wed, 23 Jul 2003 17:21:57 +0000 (17:21 +0000)]
Revert my previous changes to this function.

2003-07-23  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-message.c (find_best_encoding): Revert my previous
changes to this function.

* camel-mime-utils.h: Revert previous changes.

* camel-mime-part.h: Revert previous changes.

* camel-mime-part-utils.c: Revert previous changes.

* camel-data-wrapper.c (camel_data_wrapper_init): Revert previous
changes.
(write_to_stream): Revert previous changes.

21 years ago#include camel-file-utils.h for camel_read()
Dan Winship [Wed, 23 Jul 2003 14:57:22 +0000 (14:57 +0000)]
#include camel-file-utils.h for camel_read()

* camel-block-file.c: #include camel-file-utils.h for camel_read()

* camel-uid-cache.c (camel_uid_cache_save): Remove unused variable
and label.

* camel-url.c: #include camel-string-utils.h for camel_strdown

* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Cast
an (unsigned char *) to (char *) to fix a warning

21 years agoUpdated to convert to/from the correct charset (since content is no longer
Jeffrey Stedfast [Thu, 17 Jul 2003 20:12:12 +0000 (20:12 +0000)]
Updated to convert to/from the correct charset (since content is no longer

2003-07-17  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-message.c (find_best_encoding): Updated to convert
to/from the correct charset (since content is no longer
necessarily in UTF-8).
(best_encoding): Free the charset string when we're done with it.

21 years agoIncrement the seekable stream position by the number of bytes read. Oops.
Jeffrey Stedfast [Thu, 17 Jul 2003 19:17:42 +0000 (19:17 +0000)]
Increment the seekable stream position by the number of bytes read. Oops.

2003-07-17  Jeffrey Stedfast  <fejj@ximian.com>

* camel-stream-fs.c (stream_read): Increment the seekable stream
position by the number of bytes read. Oops.
(stream_write): Same here.

21 years agoIncrement the seekable stream position by the number of bytes read. Oops.
Jeffrey Stedfast [Thu, 17 Jul 2003 19:14:51 +0000 (19:14 +0000)]
Increment the seekable stream position by the number of bytes read. Oops.

2003-07-17  Jeffrey Stedfast  <fejj@ximian.com>

* camel-stream-fs.c (stream_read): Increment the seekable stream
position by the number of bytes read. Oops.

21 years ago** See bug #42573
Timo Sirainen [Thu, 17 Jul 2003 06:31:35 +0000 (06:31 +0000)]
** See bug #42573

2003-07-17  Timo Sirainen <tss@iki.fi>

** See bug #42573

* providers/imap/camel-imap-folder.c (do_append): Only free the
response after we have finished the literal request, otherwise we
could try processing folder updates incorrectly.

21 years agoAdd the CamelMimePartEncodingType definition here.
Jeffrey Stedfast [Wed, 16 Jul 2003 20:45:26 +0000 (20:45 +0000)]
Add the CamelMimePartEncodingType definition here.

2003-07-14  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-utils.h: Add the CamelMimePartEncodingType definition
here.

* camel-mime-part.h: Remove the CamelMimePartEncodingType
definition.

* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Don't do any of the
auto-detection we used to do here anymore. Just read the content
into a memory buffer and record the encoding type.
(camel_mime_part_construct_content_from_parser): Don't mangle the
Content-Type struct here anymore.

* camel-data-wrapper.c (camel_data_wrapper_init): Init encoding to
DEFAULT.
(write_to_stream): If the stream needs to be decoded, decode it.

21 years agoIf we read 0 bytes, then set eos to TRUE.
Jeffrey Stedfast [Wed, 16 Jul 2003 02:32:30 +0000 (02:32 +0000)]
If we read 0 bytes, then set eos to TRUE.

2003-07-15  Jeffrey Stedfast  <fejj@ximian.com>

* camel-stream-fs.c (stream_read): If we read 0 bytes, then set
eos to TRUE.

21 years agoremoved camel-pkcs7-context.[c,h] - no longer useful
Jeffrey Stedfast [Wed, 9 Jul 2003 20:10:31 +0000 (20:10 +0000)]
removed camel-pkcs7-context.[c,h] - no longer useful

21 years agoremoved camel-smime-utils.[c,h] which are no longer useful
Jeffrey Stedfast [Wed, 9 Jul 2003 20:07:38 +0000 (20:07 +0000)]
removed camel-smime-utils.[c,h] which are no longer useful

21 years agoremoved #ifndef ENABLE_THREADS
Jeffrey Stedfast [Wed, 9 Jul 2003 19:34:15 +0000 (19:34 +0000)]
removed #ifndef ENABLE_THREADS

21 years agoremoved #ifdef ENABLE_THREADS
Jeffrey Stedfast [Wed, 9 Jul 2003 19:32:43 +0000 (19:32 +0000)]
removed #ifdef ENABLE_THREADS