aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog13
-rw-r--r--camel/camel-provider.h1
-rw-r--r--camel/camel.c3
-rw-r--r--camel/providers/imap/camel-imap-provider.c1
-rw-r--r--camel/providers/mbox/camel-mbox-provider.c1
-rw-r--r--camel/providers/mh/camel-mh-provider.c1
-rw-r--r--camel/providers/nntp/camel-nntp-provider.c2
-rw-r--r--camel/providers/pop3/camel-pop3-provider.c1
-rw-r--r--camel/providers/sendmail/camel-sendmail-provider.c1
-rw-r--r--camel/providers/smtp/camel-smtp-provider.c1
-rw-r--r--camel/providers/vee/camel-vee-provider.c1
11 files changed, 25 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 0baaf4af78..a5edabe6e9 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,16 @@
+2000-08-25 Peter Williams <peterw@helixcode.com>
+
+ * camel.c (camel_init): Don't call unicode_init; code in e-util
+ will do it, and if unicode_init is called twice, you get an
+ infinite loop when looking up nonexistant encodings (patch
+ has been submitted to libunicode's maintainer).
+
+ * camel-provider.h: Add a new field, default_ports, which
+ helps the configuration code guess about how to make CamelURL's
+ from providers.
+
+ * providers/*/camel-*-provider.c: Specify default ports.
+
2000-08-25 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c
diff --git a/camel/camel-provider.h b/camel/camel-provider.h
index 00375029db..d77ae6e23a 100644
--- a/camel/camel-provider.h
+++ b/camel/camel-provider.h
@@ -79,6 +79,7 @@ typedef struct {
int flags;
CamelType object_types [CAMEL_NUM_PROVIDER_TYPES];
+ gint default_ports [CAMEL_NUM_PROVIDER_TYPES];
GHashTable *service_cache;
diff --git a/camel/camel.c b/camel/camel.c
index 0121c1082f..dd46295e63 100644
--- a/camel/camel.c
+++ b/camel/camel.c
@@ -40,7 +40,8 @@ camel_init(void)
#endif /* G_THREADS_ENABLED */
#endif /* ENABLE_THREADS */
- unicode_init ();
+ /* Taken care of by e-util/e-unicode.c */
+ /*unicode_init ();*/
return 0;
}
diff --git a/camel/providers/imap/camel-imap-provider.c b/camel/providers/imap/camel-imap-provider.c
index 21452d5cee..a0a6279340 100644
--- a/camel/providers/imap/camel-imap-provider.c
+++ b/camel/providers/imap/camel-imap-provider.c
@@ -45,6 +45,7 @@ static CamelProvider imap_provider = {
CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE,
{ 0, 0 },
+ { 143, 0 },
NULL
};
diff --git a/camel/providers/mbox/camel-mbox-provider.c b/camel/providers/mbox/camel-mbox-provider.c
index d4048e1be3..0a73f13ab4 100644
--- a/camel/providers/mbox/camel-mbox-provider.c
+++ b/camel/providers/mbox/camel-mbox-provider.c
@@ -41,6 +41,7 @@ static CamelProvider mbox_provider = {
CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE,
{ 0, 0 },
+ { 0, 0 },
NULL
};
diff --git a/camel/providers/mh/camel-mh-provider.c b/camel/providers/mh/camel-mh-provider.c
index 58e97eed30..e7315ce849 100644
--- a/camel/providers/mh/camel-mh-provider.c
+++ b/camel/providers/mh/camel-mh-provider.c
@@ -40,6 +40,7 @@ static CamelProvider mh_provider = {
CAMEL_PROVIDER_IS_STORAGE,
{0, 0},
+ {0, 0},
NULL
};
diff --git a/camel/providers/nntp/camel-nntp-provider.c b/camel/providers/nntp/camel-nntp-provider.c
index 214fd4b0fa..6cd7d96978 100644
--- a/camel/providers/nntp/camel-nntp-provider.c
+++ b/camel/providers/nntp/camel-nntp-provider.c
@@ -39,6 +39,7 @@ static CamelProvider news_provider = {
CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_STORAGE,
{ 0, 0 },
+ { 119, 0 },
NULL
};
@@ -55,6 +56,7 @@ static CamelProvider nntp_provider = {
CAMEL_PROVIDER_IS_REMOTE,
{ 0, 0 },
+ { 119, 0 },
NULL
};
diff --git a/camel/providers/pop3/camel-pop3-provider.c b/camel/providers/pop3/camel-pop3-provider.c
index 52399c99ec..3a82f65232 100644
--- a/camel/providers/pop3/camel-pop3-provider.c
+++ b/camel/providers/pop3/camel-pop3-provider.c
@@ -42,6 +42,7 @@ static CamelProvider pop3_provider = {
CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_SOURCE,
{ 0, 0 },
+ { 110, 0 },
NULL
};
diff --git a/camel/providers/sendmail/camel-sendmail-provider.c b/camel/providers/sendmail/camel-sendmail-provider.c
index 3b0b35dd72..8da50cf426 100644
--- a/camel/providers/sendmail/camel-sendmail-provider.c
+++ b/camel/providers/sendmail/camel-sendmail-provider.c
@@ -41,6 +41,7 @@ static CamelProvider sendmail_provider = {
0,
{ 0, 0 },
+ { 0, 0 },
NULL
};
diff --git a/camel/providers/smtp/camel-smtp-provider.c b/camel/providers/smtp/camel-smtp-provider.c
index 1d18e445cc..ea5aec70cc 100644
--- a/camel/providers/smtp/camel-smtp-provider.c
+++ b/camel/providers/smtp/camel-smtp-provider.c
@@ -40,6 +40,7 @@ static CamelProvider smtp_provider = {
0,
{ 0, 0 },
+ { 0, 25 },
NULL
};
diff --git a/camel/providers/vee/camel-vee-provider.c b/camel/providers/vee/camel-vee-provider.c
index e36e7fcff1..cbec03d58d 100644
--- a/camel/providers/vee/camel-vee-provider.c
+++ b/camel/providers/vee/camel-vee-provider.c
@@ -36,6 +36,7 @@ static CamelProvider vee_provider = {
0,
{ 0, 0 },
+ { 0, 0 },
NULL
};