libuw_imap_toolkit_la_CPPFLAGS= -I. \
-I$(includedir)/openssl \
-I$(srcdir)/imap-2007e/c-client \
- -I./common \
- $(DLOG_CFLAGS) \
- $(SSL_CFLAGS) \
+ -I./common \
+ $(DLOG_CFLAGS) \
+ $(SSL_CFLAGS) \
-D_DEBUG_LOG \
- -DFEATURE_NEW_DEBUG \
- -D__HEADER_OPTIMIZATION__ \
- -D__SEND_OPTMIZATION__ \
+ -D__FEATURE_HEADER_OPTIMIZATION__ \
+ -D__FEATURE_SEND_OPTMIZATION__ \
+ -D__FEATURE_XLIST_SUPPORT__ \
-DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
-DMAILSPOOL=\"/var/spool/mail\" \
-DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \
-DEXPORT_API="__attribute__((visibility(\"default\")))"
# -DFEATURE_CORE_DEBUG
-# -D__NON_BLOCKING_SSL_WRITE__
+# -D__NON_BLOCKING_SSL_WRITE__
libuw_imap_toolkit_la_LIBADD = -L$(prefix)/lib \
$(SSL_LIBS)
+uw-imap-toolkit (0.1.2-0) unstable; urgency=low
+
+ * New Feature : XLIST supported.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.2-0
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Thu, 19 Apr 2012 18:41:57 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+51) unstable; urgency=low
+
+ * Add the parsing logic in imap_parse_string.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+51
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Fri, 03 Feb 2012 16:33:41 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+50) unstable; urgency=low
+
+ * Modified Package configuration file.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+50
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 26 Dec 2011 16:37:26 +0900
+
uw-imap-toolkit (0.1.1-0slp2+49) unstable; urgency=low
* Removed redundant code for dnet.
* Tag: uw-imap-toolkit_0.1.1-0slp2+49
-- Kyuho Jo <kyuho.jo@samsung.com> Thu, 22 Dec 2011 18:11:13 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+48) unstable; urgency=low
+
+ * Improved in using 'select' function. (Merged from imap-2007f)
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+48
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Fri, 02 Dec 2011 20:27:58 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+47) unstable; urgency=low
+
+ * Enabled timeout on SSL connection
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+47
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Wed, 30 Nov 2011 20:11:39 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+46) unstable; urgency=low
+
+ * Merged the connman
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+46
+
+ -- Sunghyun Kwon <sh0701.kwon@samsung.com> Tue, 29 Nov 2011 13:11:37 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+45) unstable; urgency=low
+
+ * Disabled __NON_BLOCKING_SSL_WRITE__
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+45
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Fri, 09 Sep 2011 17:12:09 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+44) unstable; urgency=low
+
+ * Proper handling for error 'NET_ERR_CONNECTION_OPENING'.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+44
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 09 Aug 2011 20:03:26 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+43) unstable; urgency=low
+
+ * Enabled __NON_BLOCKING_SSL_WRITE__
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+43
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 09 Aug 2011 14:22:12 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+42) unstable; urgency=low
+
+ * Trying to open DNET Connection again for DNET disconnected when creating a socket.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+42
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 04 Jul 2011 15:13:30 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+41) unstable; urgency=low
+
+ * Connection Failure recovery
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+41
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Thu, 09 Jun 2011 18:12:33 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+40) unstable; urgency=low
+
+ * Disabled __NON_BLOCKING_SSL_WRITE__
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+40
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Thu, 12 May 2011 20:51:40 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+39) unstable; urgency=low
+
+ * Fixed build break on checking API change
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+39
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 14 Feb 2011 15:35:38 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+38) unstable; urgency=low
+
+ * Fixed build break.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+38
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 14 Feb 2011 11:57:20 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+37) unstable; urgency=low
+
+ * Rollback imap-network/imap-network.h
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+37
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 14 Feb 2011 11:24:38 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+36) unstable; urgency=low
+
+ * Rollback imap-network/imap-network.h
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+36
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 14 Feb 2011 10:49:41 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+35) unstable; urgency=low
+
+ * Modification on checking connection status.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+35
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 14 Feb 2011 09:50:41 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+34) unstable; urgency=low
+
+ * Enabled PARTIAL_BODY_DOWNLOAD.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+34
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 18 Jan 2011 16:07:49 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+33) unstable; urgency=low
+
+ * Removed an unused feature, USE_PROPER_PROFILE_SELECTION
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+33
+
+ -- Choongho Lee <ch715.lee@samsung.com> Thu, 16 Dec 2010 11:17:05 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+32) unstable; urgency=low
+
+ * Bug fix on libuw-imap-toolkit-0.postinst
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+32
+
+ -- Choongho Lee <ch715.lee@samsung.com> Wed, 15 Dec 2010 12:25:35 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+31) unstable; urgency=low
+
+ * Using get_host_by_name instead of dnet functions.
+ * Git : 165.213.180.234:slp/pkgs/u/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+31
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Thu, 09 Dec 2010 15:13:08 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+30) unstable; urgency=low
+
+ * Build option tweak
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+30
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 23 Nov 2010 15:12:41 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+29) unstable; urgency=low
+
+ * Fixed the problem on downloadnig body regarding parse address.
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+29
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Wed, 10 Nov 2010 16:22:01 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+28) unstable; urgency=low
+
+ * Fixed the problem which set flag as seen on server when downloading is fixed.
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+28
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Thu, 04 Nov 2010 18:04:09 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+27) unstable; urgency=low
+
+ * Fixed the problem on using unhealthy stream.
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+27
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 19 Oct 2010 16:40:46 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+26) unstable; urgency=low
+
+ * PARTIAL_BODY_DOWNLOAD
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+26
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 18 Oct 2010 16:54:43 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+25) unstable; urgency=low
+
+ * Getting dnet status by using net_is_connected.
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+25
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 18 Oct 2010 14:02:44 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+24) unstable; urgency=low
+
+ * Removed using crypt funcion.
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+24
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Wed, 13 Oct 2010 20:14:57 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+23) unstable; urgency=low
+
+ * version up
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+22
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Wed, 13 Oct 2010 17:12:56 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+22) unstable; urgency=low
+
+ * Send/Sync Optimized
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+22
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Wed, 13 Oct 2010 16:43:50 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+21) unstable; urgency=low
+
+ * Fixed problem on building for i386
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+21
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Fri, 10 Sep 2010 22:11:38 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+20) unstable; urgency=low
+
+ * Removed using crypt function because it caused build break on i386.
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+20
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 07 Sep 2010 14:24:53 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+19) unstable; urgency=low
+
+ * Removed using crypt function because it caused build break on i386.
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+19
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 07 Sep 2010 14:20:23 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+18) unstable; urgency=low
+
+ * Removed using crypt function because it caused build break on i386.
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+18
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 07 Sep 2010 14:14:37 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+17) unstable; urgency=low
+
+ * Modify a dnet header file path
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+17
+
+ -- Choongho Lee <ch715.lee@samsung.com> Thu, 02 Sep 2010 13:54:50 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+16) unstable; urgency=low
+
+ * Rebuild for dnet change
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+16
+
+ -- Choongho Lee <ch715.lee@samsung.com> Fri, 20 Aug 2010 19:34:41 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+15) unstable; urgency=low
+
+ * Modify debian/control
+ * - Remove dlog-dev from libuw-imap-toolkit-0 package
+ * - Add dlog-dev to libuw-imap-toolkit-dev package
+ * Git : 165.213.180.234:/git/slp/pkgs/uw-imap-toolkit
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+15
+
+ -- Choongho Lee <ch715.lee@samsung.com> Mon, 16 Aug 2010 14:59:25 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+14) unstable; urgency=low
+
+ * Rebuild because of dlog lib changing
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+14
+
+ -- Choongho Lee <ch715.lee@samsung.com> Fri, 25 Jun 2010 18:09:22 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+13) unstable; urgency=low
+
+ * Change error codes to negative values
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+13
+
+ -- Choongho Lee <ch715.lee@samsung.com> Mon, 21 Jun 2010 17:53:32 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+12) unstable; urgency=low
+
+ * Rebuild because of dlog lib changing
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+12
+
+ -- Choongho Lee <ch715.lee@samsung.com> Fri, 18 Jun 2010 09:37:12 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+11) unstable; urgency=low
+
+ * Change LOG_TAG for dlog
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+11
+
+ -- Choongho Lee <ch715.lee@samsung.com> Thu, 17 Jun 2010 10:40:02 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+10) unstable; urgency=low
+
+ * Change DLOG interface - Modify macros which are using dlog API
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+10
+
+ -- Choongho Lee <ch715.lee@samsung.com> Thu, 17 Jun 2010 10:00:41 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+9) unstable; urgency=low
+
+ * Rebuild because of dbus lib changing
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+9
+
+ -- Choongho Lee <ch715.lee@samsung.com> Mon, 14 Jun 2010 10:48:30 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+8) unstable; urgency=low
+
+ * Update for dnet change
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+8
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Fri, 04 Jun 2010 13:17:42 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+7) unstable; urgency=low
+
+ * Remove the codes which are related to _dnet_set_nework_status()
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+7
+
+ -- Choongho Lee <ch715.lee@samsung.com> Fri, 28 May 2010 20:20:09 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+6) unstable; urgency=low
+
+ * Add USING_ONLY_ONE_CONNECTION feature
+ * Add new parameter for net_cb_open_rsp()
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+6
+
+ -- Choongho Lee <ch715.lee@samsung.com> Wed, 26 May 2010 19:17:43 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+5) unstable; urgency=low
+
+ * Modifed debian/control
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+5
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 25 May 2010 20:03:30 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+4) unstable; urgency=low
+
+ * Rebuilding for DNET changes
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+4
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Wed, 28 Apr 2010 11:22:49 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+3) unstable; urgency=low
+
+ * Fix for CPU consumption 100%
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+3
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Sun, 25 Apr 2010 17:08:42 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+2) unstable; urgency=low
+
+ * Add the script for changing permission and owner
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+2
+
+ -- Choongho Lee <ch715.lee@samsung.com> Tue, 20 Apr 2010 15:24:35 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+1) unstable; urgency=low
+
+ * Modify to use TOP command for getting header from hotmail server(or the server which doesn't support CAPA command) instead of RETR command.
+ * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/uw-imap-toolkit-0
+ * Tag: uw-imap-toolkit_0.1.1-0slp2+1
+
+ -- Choongho Lee <ch715.lee@samsung.com> Tue, 06 Apr 2010 17:42:29 +0900
+
+uw-imap-toolkit (0.1.1-0slp2+0) unstable; urgency=low
+
+ * Toolchain Upgrade
+ * Adapt new version policy
+
+ -- Choongho Lee <ch715.lee@samsung.com> Thu, 25 Mar 2010 13:18:27 +0900
+
+uw-imap-toolkit (0.1.1-0) unstable; urgency=low
+
+ * 1. Increase timeout value of select() in resp_wait() from 60 sec to 180 (160 + a) sec
+ * 2. Return failure if # of serial profiles is 0 in the case of using SERIAL
+
+ -- Choongho Lee <ch715.lee@samsung.com> Tue, 23 Mar 2010 18:40:42 +0900
+
+uw-imap-toolkit (0.1.0-33) unstable; urgency=low
+
+ * Add mail_lookup_auth_name_smtp() to seperate from pop3
+
+ -- Choongho Lee <ch715.lee@samsung.com> Mon, 22 Mar 2010 19:06:34 +0900
+
+uw-imap-toolkit (0.1.0-32) unstable; urgency=low
+
+ * Modify _init_dnet_context() not to return error code which occurs if ret == false;
+
+ -- Choongho Lee <ch715.lee@samsung.com> Mon, 22 Mar 2010 10:22:56 +0900
+
+uw-imap-toolkit (0.1.0-31) unstable; urgency=low
+
+ * Modify the process related to select() in resp_wait
+
+ -- Choongho Lee <ch715.lee@samsung.com> Mon, 08 Mar 2010 19:56:39 +0900
+
+uw-imap-toolkit (0.1.0-30) unstable; urgency=low
+
+ * Rebuild for applying dlog and Fix select time out bug
+
+ -- Choongho Lee <ch715.lee@samsung.com> Thu, 04 Mar 2010 10:33:02 +0900
+
+uw-imap-toolkit (0.1.0-29) unstable; urgency=low
+
+ * Set timeout for waiting response from dnet
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Wed, 03 Mar 2010 17:35:42 +0900
+
+uw-imap-toolkit (0.1.0-28) unstable; urgency=low
+
+ * Modify smtp_challenge to treat a reply whose length is only 3.
+
+ -- Choongho Lee <ch715.lee@samsung.com> Tue, 23 Feb 2010 19:29:19 +0900
+
+uw-imap-toolkit (0.1.0-27) unstable; urgency=low
+
+ * Rollback to 0.1.0-25
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 23 Feb 2010 16:40:30 +0900
+
+uw-imap-toolkit (0.1.0-26) unstable; urgency=low
+
+ * Rollback to 0.1.0-23
+
+ -- Choongho Lee <ch715.lee@samsung.com> Tue, 23 Feb 2010 15:44:08 +0900
+
+uw-imap-toolkit (0.1.0-25) unstable; urgency=low
+
+ * Return error code for connection error
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Tue, 23 Feb 2010 11:50:20 +0900
+
+uw-imap-toolkit (0.1.0-24) unstable; urgency=low
+
+ * Modify debian/rules to delete auto created files
+
+ -- Choongho Lee <ch715.lee@samsung.com> Mon, 22 Feb 2010 19:14:21 +0900
+
+uw-imap-toolkit (0.1.0-23) unstable; urgency=low
+
+ * Fix a bug (email-service coyldn't connect AOL SMTP server)
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Wed, 17 Feb 2010 11:15:59 +0900
+
+uw-imap-toolkit (0.1.0-22) unstable; urgency=low
+
+ * Print DNET profile type
+
+ -- Choongho Lee <ch715.lee@samsung.com> Wed, 03 Feb 2010 20:54:53 +0900
+
+uw-imap-toolkit (0.1.0-21) unstable; urgency=low
+
+ * Add USE_PROPER_PROFILE_SELECTION feature : To select dnet profile type
+
+ -- Choongho Lee <ch715.lee@samsung.com> Wed, 03 Feb 2010 12:31:21 +0900
+
+uw-imap-toolkit (0.1.0-20) unstable; urgency=low
+
+ * For DNET update
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Mon, 01 Feb 2010 10:12:51 +0900
+
+uw-imap-toolkit (0.1.0-19) unstable; urgency=low
+
+ * Fix : make _dnet_get_connection_status() return g_dnet_connection_status(), Remove dependency to drm-service
+
+ -- Choongho Lee <ch715.lee@samsung.com> Thu, 28 Jan 2010 09:25:10 +0900
+
+uw-imap-toolkit (0.1.0-18) unstable; urgency=low
+
+ * Separate NET_ERR_NONE and NET_ERR_ACTIVE_CONNECTION_EXISTS in _dnet_connection_open
+
+ -- Choongho Lee <ch715.lee@samsung.com> Wed, 27 Jan 2010 17:36:08 +0900
+
+uw-imap-toolkit (0.1.0-17) unstable; urgency=low
+
+ * Change API/header/define/... to new name
+
+ -- Choongho Lee <ch715.lee@samsung.com> Tue, 26 Jan 2010 20:37:15 +0900
+
+uw-imap-toolkit (0.1.0-16) unstable; urgency=low
+
+ * Add log for Handling exceptional error code, 'already connected'
+
+ -- Choongho Lee <ch715.lee@samsung.com> Mon, 25 Jan 2010 15:38:01 +0900
+
+uw-imap-toolkit (0.1.0-15) unstable; urgency=low
+
+ * Handling exceptional error code for 'already connected'.
+
+ -- Kyuho Jo <kyuho.jo@samsung.com> Fri, 22 Jan 2010 23:56:02 +0900
+
+uw-imap-toolkit (0.1.0-14) unstable; urgency=low
+
+ * Change calling API from NetPMAppProfGetProperProfile to NetPMGetDefaultProfileId, Change debug log macro
+
+ -- Choongho Lee <ch715.lee@samsung.com> Wed, 20 Jan 2010 20:50:11 +0900
+
+uw-imap-toolkit (0.1.0-13) unstable; urgency=low
+
+ * Changed logging macro - minor change
+
+ -- Choongho Lee <ch715.lee@samsung.com> Thu, 14 Jan 2010 18:47:31 +0900
+
+uw-imap-toolkit (0.1.0-12) unstable; urgency=low
+
+ * small change - dlog
+
+ -- Choongho Lee <ch715.lee@samsung.com> Wed, 13 Jan 2010 11:52:34 +0900
+
+uw-imap-toolkit (0.1.0-11) unstable; urgency=low
+
+ * Changed logging system to dlog
+
+ -- unknown <ch715.lee@samsung.com> Mon, 11 Jan 2010 16:49:09 +0900
+
+uw-imap-toolkit (0.1.0-10) unstable; urgency=low
+
+ * disable logging
+
+ -- unknown <ch715.lee@samsung.com> Mon, 04 Jan 2010 17:18:19 +0900
+
+uw-imap-toolkit (0.1.0-9) unstable; urgency=low
+
+ * Changed email data path from /opt/dbspace/ums/.email to /opt/.email temporarily
+
+ -- unknown <ch715.lee@samsung.com> Mon, 04 Jan 2010 16:47:59 +0900
+
+uw-imap-toolkit (0.1.0-8) unstable; urgency=low
+
+ * Disable printf logging.
+
+ -- unknown <ch715.lee@samsung.com> Mon, 04 Jan 2010 14:21:00 +0900
+
+uw-imap-toolkit (0.1.0-7) unstable; urgency=low
+
+ * Separated packages : uw-imap-toolkit-dev, uw-imap-toolkit-0
+
+ -- unknown <ch715.lee@samsung.com> Fri, 18 Dec 2009 11:14:50 +0900
+
+uw-imap-toolkit (0.1.0-6) unstable; urgency=low
+
+ * Public Initial Release.
+
+ -- unknown <ch715.lee@samsung.com> Thu, 17 Dec 2009 14:37:12 +0900
+
+uw-imap-toolkit (0.1.0-5) unstable; urgency=low
+
+ * modified imap-network.h
+
+ -- unknown <ch715.lee@samsung.com> Wed, 16 Dec 2009 19:16:17 +0900
+
+uw-imap-toolkit (0.1.0-4) unstable; urgency=low
+
+ * added .so libraries
+
+ -- unknown <ch715.lee@samsung.com> Wed, 16 Dec 2009 18:54:38 +0900
+
+uw-imap-toolkit (0.1.0-3) unstable; urgency=low
+
+ * modified some header files
+
+ -- unknown <ch715.lee@samsung.com> Wed, 16 Dec 2009 18:18:32 +0900
+
+uw-imap-toolkit (0.1.0-2) unstable; urgency=low
+
+ * add uw-imap-toolkit.pc
+
+ -- unknown <ch715.lee@samsung.com> Wed, 16 Dec 2009 17:55:43 +0900
+
+uw-imap-toolkit (0.1.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- unknown <ch715.lee@samsung.com> Mon, 14 Dec 2009 17:36:32 +0900
Package: libuw-imap-toolkit-dev
Section: libs
Architecture: any
-Depends: openssl, libuw-imap-toolkit-0, dlog-dev, libvconf-dev
+Depends: openssl, libuw-imap-toolkit-0
Description: IMAP-2007e developed by University of Washington
IMAP-2007e development library for E-mail Framework
XB-Generate-Docs: yes
========================================================================
Copyright 1988-2008 University of Washington
+ Copyright (c) 2000 - 2011 Samsung Electronics Co.,
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
http://www.apache.org/licenses/LICENSE-2.0
========================================================================
+
echo "[UW-IMAP-TOOLKIT] Start setting permission ..."
# 1. libraries
chmod 644 /usr/lib/libuw-imap-toolkit.so.0.0.0
-chmod 644 /usr/lib/libimap-network.so.0.0.0
chmod 644 /usr/lib/libuw-imap-toolkit.so
chmod 644 /usr/lib/libuw-imap-toolkit.so.0
-chmod 644 /usr/lib/libimap-network.so.0
-chmod 644 /usr/lib/libimap-network.so
echo "[UW-IMAP-TOOLKIT] Finish setting permission."
#################################################################
then
# 1. libraries
chown root:root /usr/lib/libuw-imap-toolkit.so.0.0.0
- chown root:root /usr/lib/libimap-network.so.0.0.0
chown root:root /usr/lib/libuw-imap-toolkit.so
chown root:root /usr/lib/libuw-imap-toolkit.so.0
- chown root:root /usr/lib/libimap-network.so.0
- chown root:root /usr/lib/libimap-network.so
else
echo "[UW-IMAP-TOOLKIT] Can't change owner. USER is not root."
fi
\f
/* MD5 context */
-
-
#define MD5BLKLEN 64 /* MD5 block length */
#define MD5DIGLEN 16 /* MD5 digest length */
/* ========================================================================
* Copyright 1988-2006 University of Washington
- *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
void *challenge;
unsigned long clen;
long ret = NIL;
-#ifdef _DEBUG_LOG
- char tmp[512];
-#endif
/* snarl if not SSL/TLS session */
if (!mb->sslflag && !mb->tlsflag)
mm_log ("SECURITY PROBLEM: insecure server advertised AUTH=PLAIN",WARN);
char *t = response; /* copy authorization id */
memset(response, 0x00, rlen);
-
-#ifdef _DEBUG_LOG
- sprintf (tmp,"auth_plain_client : rlen[%d]", rlen);
- mm_log (tmp,WARN);
-#endif
if (mb->authuser[0]) for (u = user; *u; *t++ = *u++);
*t++ = '\0'; /* delimiting NUL */
else {
++*trial; /* can try again if necessary */
ret = LONGT; /* check the authentication */
-#ifdef _DEBUG_LOG
- sprintf (tmp,"auth_plain_client : trial[%d]", *trial);
- mm_log (tmp,WARN);
-#endif
}
}
memset (response,0,rlen); /* erase credentials */
/* ========================================================================
* Copyright 1988-2008 University of Washington
- *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
+
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
args[0] = &aref; args[1] = &apat; args[2] = NIL;
aref.type = ASTRING; aref.text = (void *) (ref ? ref : "");
apat.type = LISTMAILBOX; apat.text = (void *) pat;
- /* referrals armed? */
+
+#ifdef __FEATURE_XLIST_SUPPORT__
+ if (LOCAL->cap.xlist) { /* xlist? */
+ if (!compare_cstring (cmd,"LIST")) cmd = "XLIST";
+ }
+#endif /* __FEATURE_XLIST_SUPPORT__ */
+
+ /* referrals armed? */
if (LOCAL->cap.mbx_ref && mail_parameters (stream,GET_IMAPREFERRAL,NIL)) {
/* yes, convert LIST -> RLIST */
if (!compare_cstring (cmd,"LIST")) cmd = "RLIST";
/* and convert LSUB -> RLSUB */
else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB";
}
+
+
imap_send (stream,cmd,args);
}
else if (LEVEL1176 (stream)) {/* convert to IMAP2 format wildcard */
void imap_fast (MAILSTREAM *stream,char *sequence,long flags)
{
/* Open source selected only FT_UID, and ignored other flags sent by application. This is corrected */
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
IMAPPARSEDREPLY *reply = imap_fetch (stream,sequence,flags);
#else
IMAPPARSEDREPLY *reply = imap_fetch (stream,sequence,flags & FT_UID);
ov.optional.lines = 0; /* now overview each message */
ov.optional.xref = NIL;
if (ofn) for (i = 1; i <= stream->nmsgs; i++)
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
/* New last parameter 0 or 1 added to identify if the call is to fetch header or fetch body
* 0 mean fetch mail header; 1 means fetch mail full body or attachment */
if (((elt = mail_elt (stream,i))->sequence) &&
* [g.shyamakshi@samsung.com] Stream->unhealthy check is required to recognize other conditions as well - Unknown body/RFC822 message property, Unexpected tagged response, Junk data (stream invalid), etc
* On recognizing stream as unhealthy, no further reply should be parsed.
*/
- if(stream->unhealthy)
- {
+ if(stream->unhealthy) {
break;
}
}
fs_give ((void **) &t); /* flush mailbox name */
}
}
+#ifdef __FEATURE_XLIST_SUPPORT__
+ else if (!strcmp (reply->key,"XLIST") &&
+ reply->text && (*reply->text == '(') &&
+ (s = strchr (reply->text,')')) && (s[1] == ' ')) {
+ char delimiter = '\0';
+ *s++ = '\0'; /* tie off attribute list */
+ /* parse attribute list */
+ if (t = strtok_r (reply->text+1," ",&r)) do {
+ if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS;
+ else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT;
+ else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED;
+ else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED;
+ else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN;
+ else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN;
+
+ /* Mailbox type attribute*/
+ else if (!compare_cstring (t,"\\Inbox")) i |= LATT_XLIST_INBOX; /* RFC 6154 and Gmail */
+ else if (!compare_cstring (t,"\\AllMail")) i |= LATT_XLIST_ALL; /* Gmail */
+ else if (!compare_cstring (t,"\\All")) i |= LATT_XLIST_ALL; /* RFC 6154 */
+ else if (!compare_cstring (t,"\\Drafts")) i |= LATT_XLIST_DRAFTS; /* RFC 6154 and Gmail */
+ else if (!compare_cstring (t,"\\Sent")) i |= LATT_XLIST_SENT; /* RFC 6154 and Gmail */
+ else if (!compare_cstring (t,"\\Spam")) i |= LATT_XLIST_JUNK; /* Gmail */
+ else if (!compare_cstring (t,"\\Junk")) i |= LATT_XLIST_JUNK; /* RFC 6154 */
+ else if (!compare_cstring (t,"\\Starred")) i |= LATT_XLIST_FLAGGED; /* Gmail */
+ else if (!compare_cstring (t,"\\Flagged")) i |= LATT_XLIST_FLAGGED; /* RFC 6154 */
+ else if (!compare_cstring (t,"\\Trash")) i |= LATT_XLIST_TRASH; /* RFC 6154 and Gmail */
+ /* ignore extension flags */
+ }
+ while (t = strtok_r (NIL," ",&r));
+ switch (*++s) { /* process delimiter */
+ case 'N': /* NIL */
+ case 'n':
+ s += 4; /* skip over NIL<space> */
+ break;
+ case '"': /* have a delimiter */
+ delimiter = (*++s == '\\') ? *++s : *s;
+ s += 3; /* skip over <delimiter><quote><space> */
+ }
+ /* parse the mailbox name */
+ if (t = imap_parse_astring (stream,&s,reply,&j)) {
+ /* prepend prefix if requested */
+ if (LOCAL->prefix && ((strlen (LOCAL->prefix) + j) < IMAPTMPLEN))
+ sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t);
+ else s = t; /* otherwise just mailbox name */
+ /* pass data to main program */
+ if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i);
+ else mm_list (stream,delimiter,s,i);
+ fs_give ((void **) &t); /* flush mailbox name */
+ }
+ }
+#endif /* __FEATURE_XLIST_SUPPORT__ */
else if (!strcmp (reply->key,"NAMESPACE")) {
if (LOCAL->namespace) {
mail_free_namespace (&LOCAL->namespace[0]);
while (i -= j);
}
if (len) *len = i; /* set return value */
- if (md && mg) { /* have special routine to slurp string? */
- if (md->first) { /* partial fetch? */
- md->first--; /* restore origin octet */
- md->last = i; /* number of octets that we got */
- }
- else md->flags |= MG_COPY;/* otherwise flag need to copy */
- string = (*mg) (net_getbuffer,LOCAL->netstream,i,md);
- }
- else { /* must slurp into free storage */
- string = (char *) fs_get ((size_t) i + 1);
- *string = '\0'; /* init in case getbuffer fails */
- /* get the literal */
- if (rp) for (k = 0; j = min ((long) MAILTMPLEN,(long) i); i -= j) {
- net_getbuffer (LOCAL->netstream,j,string + k);
- (*rp) (md,k += j);
- }
- else net_getbuffer (LOCAL->netstream,i,string);
- }
- fs_give ((void **) &reply->line);
- if (flags && string) /* need to filter newlines? */
- for (st = string; st = strpbrk (st,"\015\012\011"); *st++ = ' ');
- /* get new reply text line */
- if (!(reply->line = net_getline (LOCAL->netstream)))
- reply->line = cpystr ("");
- if (stream->debug) mm_dlog (reply->line);
- *txtptr = reply->line; /* set text pointer to point at it */
+ /* illegal string parsing */
+ while (c == '}') c = *++*txtptr;
+
+ if (*++*txtptr == ' ') {
+ string = (char *) fs_get ((size_t) i + 1);
+ for (j = 0; j < i; j++) { /* copy the string */
+ string[j] = *++*txtptr;
+ }
+ ++*txtptr; /* bump last char */
+ string[j] = '\0'; /* tie off string */
+ } else {
+ if (md && mg) { /* have special routine to slurp string? */
+ if (md->first) { /* partial fetch? */
+ md->first--; /* restore origin octet */
+ md->last = i; /* number of octets that we got */
+ }
+ else md->flags |= MG_COPY;/* otherwise flag need to copy */
+ string = (*mg) (net_getbuffer,LOCAL->netstream,i,md);
+ }
+ else { /* must slurp into free storage */
+ string = (char *) fs_get ((size_t) i + 1);
+ *string = '\0'; /* init in case getbuffer fails */
+ /* get the literal */
+ if (rp) for (k = 0; j = min ((long) MAILTMPLEN,(long) i); i -= j) {
+ net_getbuffer (LOCAL->netstream,j,string + k);
+ (*rp) (md,k += j);
+ }
+ else net_getbuffer (LOCAL->netstream,i,string);
+ }
+ fs_give ((void **) &reply->line);
+ if (flags && string) /* need to filter newlines? */
+ for (st = string; st = strpbrk (st,"\015\012\011"); *st++ = ' ');
+ /* get new reply text line */
+ if (!(reply->line = net_getline (LOCAL->netstream)))
+ reply->line = cpystr ("");
+ if (stream->debug) mm_dlog (reply->line);
+ *txtptr = reply->line; /* set text pointer to point at it */
+ }
break;
default:
sprintf (LOCAL->tmp,"Not a string: %c%.80s",c,(char *) *txtptr);
else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T;
}
}
+#ifdef __FEATURE_XLIST_SUPPORT__
+ else if (!compare_cstring (t,"XLIST")) LOCAL->cap.xlist = T;
+#endif /* __FEATURE_XLIST_SUPPORT__ */
/* ignore other capabilities */
}
/* disable LOGIN if PLAIN also advertised */
flags & FT_UID);
args[0] = &aseq; aseq.type = SEQUENCE; aseq.text = (void *) sequence;
args[1] = &aarg; aarg.type = ATOM;
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
aenv.type = ATOM; aenv.text = (void *) "ENVELOPE";
/* g.shyamakshi@samsung.com - Check FT_SELECTEDHDRS flag to fetch only selected header fields */
ahhr.type = ATOM;
/* supported authenticators */
unsigned int auth : MAXAUTHENTICATORS;
THREADER *threader; /* list of threaders */
+#ifdef __FEATURE_XLIST_SUPPORT__
+ unsigned int xlist : 1;
+#endif /* __FEATURE_XLIST_SUPPORT__ */
} IMAPCAP;
\f
/* IMAP4rev1 level or better */
sockid = stream->tcpsi;
maxfd = sockid + 1;
- //IMAP_DEBUG_LOG("start sockid %d", sockid);
if (sockid < 0) return false;
while (stream->ictr < 1)
{
-//#ifdef TEST_CANCEL_JOB
-#if 0
- if (!em_core_check_thread_status())
- {
- IMAP_DEBUG_EXCEPTION("\t thread canceled...\n");
- tcp_abort(stream);
- goto JOB_CANCEL;
- }
-#endif
-
-
- //if (_g_canceled){
- // IMAP_DEBUG_LOG1("thread canceled\n");
- // tcp_abort(stream);
- // return 0;
- //}
-
tmout.tv_usec = 0;//1000*10;
tmout.tv_sec = 1;
sret = select(maxfd, &readfds, NULL, NULL, &tmout);
if (sret < 0) {
- IMAP_DEBUG_LOG("select error [%d]", errno);
-
tcp_abort(stream);
return false;
}
if ((nread = read(sockid, stream->ibuf, BUFLEN)) < 0) {
IMAP_DEBUG_EXCEPTION("\t socket read failed...\n");
-
- //em_core_set_network_error(EMF_ERROR_SOCKET_FAILURE); //TODO: confirm me
-
- //if (errno==EINTR) contine;
tcp_abort(stream);
return false;
}
if (!nread) {
IMAP_DEBUG_EXCEPTION("\t socket read no data...\n");
-
- //em_core_set_network_error(EMF_ERROR_INVALID_RESPONSE); //TODO: confirm me
-
tcp_abort(stream);
return false;
}
stream->iptr = stream->ibuf;
}
-#if 0
- if (_g_canceled) {
- IMAP_DEBUG_EXCEPTION("\t thread canceled...\n");
-
- tcp_abort(stream);
- return false;
- }
-#endif
- //IMAP_DEBUG_LOG("end");
return true;
-
-#ifdef TEST_CANCEL_JOB
-JOB_CANCEL:
- return false;
-#endif
}
/* TCP/IP receive line
/* ========================================================================
* Copyright 1988-2008 University of Washington
- *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
ov.optional.lines = 0;
ov.optional.xref = NIL;
for (i = 1; i <= stream->nmsgs; i++)
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
/* New last parameter 0 or 1 added to identify if the call is to fetch header or fetch body
* 0 mean fetch mail header; 1 means fetch mail full body or attachment */
if (((elt = mail_elt (stream,i))->sequence) &&
/* New last parameter 0 or 1 added to identify if the call is to fetch header or fetch body
* 0 mean fetch mail header; 1 means fetch mail full body or attachment */
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
ENVELOPE *mail_fetch_structure (MAILSTREAM *stream,unsigned long msgno,
BODY **body,long flags,int iDownload)
#else
unsigned long hdrsize;
STRING bs;
/* do the driver's action if specified */
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
if (stream->dtb && stream->dtb->structure && iDownload == 1)
return (*stream->dtb->structure) (stream,msgno,body,flags);
#else
env = &elt->private.msg.env;
b = &elt->private.msg.body;
}
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
if(iDownload==1)
{
if (stream->dtb && ((body && !*b) || !*env || (*env)->incomplete)) {
unsigned long i;
/* make sure have a body */
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
if (section && *section && mail_fetch_structure (stream,msgno,&b,NIL,1) && b)
#else
if (section && *section && mail_fetchstructure (stream,msgno,&b) && b)
/* still missing data? */
if (!s->date || !s->subject || !s->message_id || !s->references) {
/* try to load data from envelope */
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
/* New last parameter 0 or 1 added to identify if the call is to fetch header or fetch body
* 0 mean fetch mail header; 1 means fetch mail full body or attachment */
if (env = mail_fetch_structure (stream,s->num,NIL,NIL,0))
/* ========================================================================
* Copyright 1988-2008 University of Washington
- *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
/* has no selectable inferiors */
#define LATT_HASNOCHILDREN (long) 0x40
+#ifdef __FEATURE_XLIST_SUPPORT__
+
+#define LATT_XLIST_INBOX (long) 0x0100 /* XLIST - Inbox */
+#define LATT_XLIST_ALL (long) 0x0200 /* XLIST - All or AllMail */
+#define LATT_XLIST_DRAFTS (long) 0x0400 /* XLIST - Drafts */
+#define LATT_XLIST_SENT (long) 0x0800 /* XLIST - Sent */
+#define LATT_XLIST_JUNK (long) 0x1000 /* XLIST - Junk or Spam */
+#define LATT_XLIST_FLAGGED (long) 0x2000 /* XLIST - Flagged or Starred */
+#define LATT_XLIST_TRASH (long) 0x4000 /* XLIST - Trash */
+#define LATT_XLIST_ARCHIVE (long) 0x8000 /* XLIST - Archive */
+
+#endif /* __FEATURE_XLIST_SUPPORT__ */
+
/* Sort functions */
#define MESSAGE struct mail_body_message
#define PARAMETER struct mail_body_parameter
#define PART struct mail_body_part
-#ifdef __DOWNLOAD_BODY_ATTACHMENT_OPTIMIZATION__
-#define PARTLIST struct mail_body_part_list
-#endif
+#define PARTLIST struct mail_body_part_list /* __FEATURE_DOWNLOAD_BODY_ATTACHMENT_OPTIMIZATION__ */
#define PARTTEXT struct mail_body_text
\f
/* Message body text */
PART *next; /* next body part */
};
-#ifdef __DOWNLOAD_BODY_ATTACHMENT_OPTIMIZATION__
+/* __FEATURE_DOWNLOAD_BODY_ATTACHMENT_OPTIMIZATION__ */
PARTLIST{
BODY *body; /* body information for this part */
PART *next; /* next body part */
};
-#endif
/* RFC-822 Message */
#define mail_fetchflags(stream,sequence) \
mail_fetch_flags (stream,sequence,NIL)
#define mail_fetchflags_full mail_fetch_flags
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
#define mail_fetchenvelope(stream,msgno) \
mail_fetch_structure (stream,msgno,NIL,NIL,0)
#else
#define mail_fetchenvelope(stream,msgno) \
mail_fetch_structure (stream,msgno,NIL,NIL)
#endif
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
#define mail_fetchstructure(stream,msgno,body) \
mail_fetch_structure (stream,msgno,body,NIL,0)
#else
void mail_fetch_overview_sequence (MAILSTREAM *stream,char *sequence,
overview_t ofn);
void mail_fetch_overview_default (MAILSTREAM *stream,overview_t ofn);
-#ifdef __HEADER_OPTIMIZATION__
+#ifdef __FEATURE_HEADER_OPTIMIZATION__
ENVELOPE *mail_fetch_structure (MAILSTREAM *stream,unsigned long msgno,
BODY **body,long flags,int iDownload);
#else
/* ========================================================================
* Copyright 1988-2007 University of Washington
- *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
+
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
/* ========================================================================
* Copyright 1988-2007 University of Washington
- *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
+
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
sprintf(temp, "Pop3_open - mb->apop - %d", mb.apop);
mm_log(temp, NIL);
- //EM_DEBUG_LOG("Pop3_open - mb->apop - %d", mb.apop);
-// printf(" >>>>>>>>>>>>>>>>>>>>>>>> Stream APOP [ %d ]>>>> \n", stream->apop);
-
if(timestamp && mb.apop != 0)
apop = 1;
else
apop = 0;
}
- //EM_DEBUG_LOG(" >>>>>>>>>>>>>>>>>>>>>>>> Stream APOP [ %d ]>>>> \n", apop);
-
if(apop)
{
mm_log(timestamp, NIL);
/* ========================================================================
* Copyright 1988-2008 University of Washington
- *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
+
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
AUTHENTICATOR *at;
long ret = NIL;
-#ifdef _DEBUG_LOG
- sprintf(tmp,"smtp_auth : username[%s], authname[%s]",mb->user, mb->authuser);
- mm_log(tmp, NIL);
-#endif
-
for (auths = ESMTP.auth, stream->saslcancel = NIL;
!ret && stream->netstream && auths &&
(at = mail_lookup_auth (find_rightmost_bit (&auths) + 1)); ) {
char tmp[MAILTMPLEN];
void *ret = NIL;
SENDSTREAM *stream = (SENDSTREAM *) s;
-#if 1 // for smtp.mail.yahoo.co.kr
+ // for smtp.mail.yahoo.co.kr
if (!strcmp(stream->reply+4, "ok, go on")) {
sprintf (tmp,"smtp_challenge : Server bug: non-empty initial PLAIN challenge 3: %.80s",stream->reply+4);
mm_log (tmp,WARN);
*len = 0; // MUST BE
return cpystr("ok, go on");
}
-#endif
-#ifdef _DEBUG_LOG
- sprintf (tmp,"smtp_challenge : reply[%s]",stream->reply);
- mm_log(tmp, NIL);
-#endif
-#if 1 // for smtp.naver.com or other servers that reply only "THREE" response digit code whose string length is 3
+ // for smtp.naver.com or other servers that reply only "THREE" response digit code whose string length is 3
if ( (stream->replycode == SMTPAUTHREADY) &&
strlen(stream->reply) <= 3 ) // only response digit code exists in the reply buffer
{
*len = 0;
return cpystr("");
}
-#endif
if ((stream->replycode == SMTPAUTHREADY) &&
!(ret = rfc822_base64 ((unsigned char *) stream->reply + 4,
strlen (stream->reply + 4),len))) {
SENDSTREAM *stream = (SENDSTREAM *) s;
unsigned long i,j;
char *t,*u;
-#ifdef _DEBUG_LOG
- char tmp[256];
-#endif
if (response) { /* make CRLFless BASE64 string */
if (size) {
j < i; j++) if (t[j] > ' ') *u++ = t[j];
*u = '\0'; /* tie off string */
-#ifdef _DEBUG_LOG
- sprintf (tmp,"smtp_response : encoded response to send[%s]", t);
- mm_log(tmp, NIL);
-#endif
i = smtp_send (stream,t,NIL);
fs_give ((void **) &t);
}
if (args) sprintf (s,"%s %s",command,args);
else strcpy (s,command);
-#ifdef _DEBUG_LOG
- char tmp[512];
- sprintf(tmp, "smtp_send command : [%s]", s);
- mm_log(tmp, NIL);
-#endif
if (stream->debug) mail_dlog (s,stream->sensitive);
strcat (s,"\015\012");
/* send the command */
if (stream->reply) fs_give ((void **) &stream->reply);
/* get reply */
if (stream->netstream && (stream->reply = net_getline (stream->netstream))) {
-#ifdef _DEBUG_LOG
- char tmp[512];
- sprintf(tmp, "smtp_reply : reply[%s]", stream->reply);
- mm_log(tmp, NIL);
-#endif
if (stream->debug) mm_dlog (stream->reply);
/* return response code */
reply = atol (stream->reply);
}
-#ifdef __SEND_OPTMIZATION__
+#ifdef __FEATURE_SEND_OPTMIZATION__
/* Simple Mail Transfer Protocol filter mail
* Accepts: stream
* string
+#sbs-git:slp/pkgs/u/uw-imap-toolkit uw-imap-toolkit 0.1.1 a675e5c581b6726dcb93c63d826d6827bf29d671
%define _optdir /opt
%define _appdir %{_optdir}/apps
Name: uw-imap-toolkit
Summary: IMAP-2007e developed by University of Washington
-Version: 0.1.1
+Version: 0.1.1
Release: 0
Group: TO_BE/FILLED_IN
License: TO BE FILLED IN