Additions and Changes Made to the Netscape Messaging Access SDK v 3.5
=====================================================================
---------------------------------------------------------------------
Additions
---------------------------------------------------------------------
IMAP4.H
-Added a new macro INCOMPLETE
-Added support for IDLE - functions idleStart, idleEnd, imap4_enterIdle, imap4_touchIdle, imap4_quitIdle
-Added support for PIMAP * RESYNC - function reSync
-Added support for PIMAP XCONVERT - functions parseXconvert, sink_xConvertStart, sink_xConvertEnd, sink_xConvertSize, sink_xConvertUid, sink_xConvertData
IMAP4.C
-Added support for IDLE - functions idleStart, idleEnd, imap4_enterIdle, imap4_touchIdle, imap4_quitIdle
-Added support for PIMAP * RESYNC - function reSync
-Added support for PIMAP XCONVERT - functions parseXconvert, sink_xConvertStart, sink_xConvertEnd, sink_xConvertSize, sink_xConvertUid, sink_xConvertData
-Added support for PIMAP XDELIVER - function imap4_xDeliver
-Added support for http and https connection
NSIO.C
-Added function IO_connect_secure to support SSL connection
-Added functions to support http IO (ExpandHttpReadBuffer, ShrinkHttpReadBuffer, HttpReadMore, HttpReadLineSince, HttpHandleResponseHeaders, HttpReadChunkSize, HttpReadOneChunk, HttpDeChunk, HttpHandleResponseBody, HttpAdjustReadBufferWithHeader, HttpReadChunkSizeDirectly, HttpReadChunkDirectly, UpdateBuffer_NoIOContext, UpdateBuffer_HandleHttpHeader)
NSSOCKET.C
-Added functions InitSSL and FreeSSL for craking SSL certificates
-Added funtion NSSock_Connect_Secure for secure connection
NSSOCKET.H
-Added functions InitSSL and FreeSSL for cracking SSL certificates
-Added funtion NSSock_Connect_Secure for secure connection
UTIL.H
-Added thread-safe logging support.
---------------------------------------------------------------------
Changes
---------------------------------------------------------------------
IMAP4.C
-Added Macro NS_MYFREE to facilitate the deallocation of memory. It assigns the object NULL after releasing the memory
-Now fetchResolveDataItem handles the type BodyStructurePart, a new item defined by XConvert syntax
-Fixed RemoveAllPendingCommands. Now It also releases the current link in the pending commands list
-Added function removeLiteral to append the literal string to the first string to support multiliteral in non-fetch items
-Fixed the parseFetch to check the return code from IO_read to avoid crashes
-To avoid compilation Issue, the macro FLAGS is changed to MSGFLAGS
-Added matchFieldQuotesSub function to take care of literal in the subject part of the envelope
-Added function isPlusAfterIdle to find out whether the '+' response is due to IDLE command
-Fixed the problem in parsePlus function to take care of IDLE command response
-Added support of INCOMPLETE macro inside matchBrackets to tell the caller that the string fetched in incomplete i.e. no closing brackets
-added sink_xSetPIMAPPref, sink_xGetPIMAPPref for PIMAP and Oracle specific preferences
-Fix the problem of MSG_PEEK in function sync_reSync as MSG_PEEK is not supported in Windows CE platform
-Fix the problem of MSG_PEEK in function sync_reSync as MSG_PEEK is not supported
-Added function imap4_reset to reset IMAP client structure
-Added extra testing condition in imap4_connect to avoid crash due to bad pointer
-Commented out the initialization of chunckSize inside imap4_disconnect function as it is useless
-Added support for https inside the processResponse, deployCommand for de-chunk
-Added support to xSetPIMAPPref, xGetPIMAPPref and XConvert in resolveType function
-Added macros to support string functions on WINCE platform
IMAP4.H
-Added matchFieldQuotesSub function to take care of literal in the subject part of the envelope
-Added function isPlusAfterIdle to find out whether the '+' response is due to IDLE command
-Added support for https inside the processResponse, deployCommand for de-chunk
-Added support to xSetPIMAPPref, xGetPIMAPPref and XConvert in resolveType function
-Added function imap4_reset to reset IMAP client structure
IMAP4DATA.H
-Added parseXSetPIMAPPref and parseXGetPIMAPPrefs functions
-Added ParseXConvert function
-Added sink_xSetPIMAPPref, sink_xGetPIMAPPref for PIMAP and Oracle specific preferences
-Added sink functions for IDLE command and reSync
-Added sink functions for XConvert command
-Defined few const static char to take care of Oracle and PIMAP specific commands like XDeliver, XConvert etc.
-To avoid compilation Issue, the macro FLAGS is changed to MSGFLAGS.
-Added new response types for PIMAP
MIME.C
-Added macros to support string functions on WINCE platform
-Modified the function mime_decodeHeaderString to get the output in Unicode if caller wants that
MIME.H
-Modified mime_decodeHeaderString function to take one more parameter charset and the output string to be UNICODE
MIME_INTERNAL.C
-Added macros to support string functions on WINCE platform
-Fixed the function mime_header_freeAll to make it more flexible
-Fixed the logic of mime_message_isEmpty. It was buggy
-Fixed the function mime_message_new. In this the 'else' part was wrong
NSIO.C
-Modified the function IO_initialize in memory allocation and initialization of pIOContext
-Added function IO_reset to reset IO_t structure
-Fixed the IO_free function to make it release the pIOContext structure
-Modified the IO_connect function to take care of SSL verification
-Modified the UpdateBuffer to take care of pIOContext changes
-Now, IO_resetFunctions, IO_getFunctions and IO_setFunctions can handle secure connections also
NSIO.H
-Added new structure IOContext_t
-Added function IO_reset to reset IO_t structure
-Added function IO_connect_secure for secure connection
-Now, IO_resetFunctions, IO_getFunctions and IO_setFunctions can handle secure connections also
NSMAIL.H
-Added few new errors in macros for HTTP support
-Modified the structure nsmail_io_fns to add liof_connect_secure function pointer to support secure connections
NSSOCKET.C
-Modified to take strings from Microsoft resource String Table
-Modified the NSSock_Connect to take care of logging and Socket errors
NSSOCKET.H
-Added functions InitSSL and FreeSSL for cracking SSL certificates
-Added funtion NSSock_Connect_Secure for secure connection
NSSTREAM.C
-Added macros to support string functions on WINCE platform
UTIL.C
-Added macros to support string functions on WINCE platform
-Added support for MultiLanguage i.e. use of IMultiLanguage interface from Microsoft
-Now decodeHeader and encodeHeader functions return result in UNICODE strings and can take charset parameter
-Modified the function generateBoundary to make it more unique and hard-to-reproduce
-Modified the log utilities to take care of logging in WINCE and make it thread-safe
-Added myErrorLog function
UTIL.H
-Added functionality for maximum size of log file in the structure errorLog
-Now decodeHeader and encodeHeader functions return result in UNICODE strings and can take charset parameter
-Added myErrorLog function
VECTOR.C
-Added MACRO _INCLUDEMIME_ to take care of MIMEINFO in all the function to allocate and release the memory |