Friday, June 06, 2008

CyberLink for C v2.2 : I have released the new package of the latest source codes as v2.2 today.

It will be a last release in the current license condition. From next release, we will remove the patent exclusion clause from the current license based on BSD.

The following are major changes from v2.1. Please check it :-)
2008-05-24  Satoshi Konno
* Added cg_xml_nodelist_getbyname() instead of cg_xml_nodelist_get().
* Added cg_xml_node_getchildnodebyname() instead of cg_xml_node_getchildnode().
* Deprecated cg_xml_nodelist_get() and cg_xml_node_getchildnode().
* Added support to include "expat/expat.h".
* Added a simple sample for UPnP/AV, upnpavdump, to parser the content lists of the media servers.
* Added a simple sample for UPnP/IGD, upnpigddump, to show the status parser of the internet gateway devices.
2008-05-14 Satoshi Konno
* Changed typedef.h about BOOL type using Objective-C for XCode.
* Changed cg_cond_signal() using SetEvent() instead of WaitForSingleObject() for WIN32 platform.
* Fixed cg_xml_parse() not to abort when the data is null or the length less than zero.
* Enabled cg_net_gethostinterfaces() for MacOSX in cinterface_function.c using __APPLE_CC_ macro.
2008-04-22 Satoshi Konno
* Added cg_upnp_controlpoint_getdevice() to get a device by the index.
* Added cg_upnp_device_getnservices() and cg_upnp_device_getservice() to get a device by the index.
2008-03-17 Satoshi Konno
* Changed not to define BOOL type using Objective-C for XCode.
* Added to check IP_PKTINFO into configure.in.
* Changed the following functions using void parameter instead of CgService not to conflict the prototype defines.
cg_upnp_event_notify_request_setpropertysetnode() and cg_upnp_subscriber_notifyall() using GCC v4.0.
* Fixed cg_socket_setid() to disable the IPPROTO_IP option using XCode 3.0.
* Fixed other errors using XCode 3.0.
2007-12-24 Satoshi Konno
* Added CG_UPNP_ST_URN and cg_upnp_st_isurn() to .
* Changed cg_upnp_device_ssdpmessagereceived() using cg_upnp_st_isurn() instead of cg_upnp_st_isurndevice() to find non standard UPnP devices.
* Changed cg_upnp_service_ssdpmessagereceived() using cg_upnp_st_isurn() instead of cg_upnp_st_isurnservice() to find non standard UPnP devices.
* Fixed cg_upnp_device_getservicebycontrolurl() to abort when the service_url is null.
* Fixed cg_string_naddvalue() to comipler using other compilers normally.
* Added cg_upnp_statevariable_setvaluewithoutnotify() not to send the updated value for other devices which subscribe the service of the state variable.
* Deprecated cg_upnp_service_notifyallstatevariables(). Use cg_upnp_service_notifyall which can send the events individually or collectively.
2007-12-13 Aapo Makela
* Multiple patches to fix crashes in out-of-memory situations
* Implemented more efficient reallocation policy in CgString
* Added proper control point locking in control point HTTP server
2007-11-16 Satoshi Konno
* Fixed cg_http_packet_read_body()not to lost data when the response packet is huge.
2007-10-22 Aapo Makela
* Added deb-target to Makefile.am to build Debian packages
* Fixed copyright notices in source files to match the copyright defined in COPYING
* Added NULL check to cg_strtrimwhite()
* Added NULL checks and fixed memory leaks in cg_net_selectaddr() and cg_net_gethostinterfaces()
* Disabled "Expect" HTTP header because it causes IOP issues with some UPnP implementations.
* Added NULL check to cg_xml_node_getchildnode() macro
* Fixed Debian specific files and added debug package building
2007-10-02 Satoshi Konno
* Changed cg_thread_() to return FALSE when the specified object is null.
* Added cg_http_server_lock() and cg_http_server_unlock().
* Fixed cg_http_server_clientthread() to remove the thread from the thread list.
2007-09-13 Satoshi Konno
* Added the following functions to get MAC address.
* cg_net_interface_setmacaddress(), cg_net_interface_getmacaddress()
* Changed cg_net_gethostinterfaces() to get the MAC address using GetAdaptersInfo() as default on Windows platform.
* Changed cg_net_gethostinterfaces() to get the MAC address using ioctl() on Linux platform.
* Changed cg_net_gethostinterfaces() to get the MAC address using getifaddrs() on other UNIX platform.
* Note : Other platforms might not support to get this functions yet.
2007-08-19 Satoshi Konno
* Added the following functions into
cg_file_setpath()
cg_file_setfilename()
2007-07-25 Satoshi Konno
* Added the following macros into
cg_file_isseparatorchar()
cg_file_ispathseparatorchar()
2007-07-18 Satoshi Konno
* Added the following functions to support more raw functions.
cg_file_open()
cg_file_close()
cg_file_write()
cg_file_read()
cg_file_seek()
2007-06-26 Satoshi Konno
* Added CgByte to typedef.h
2007-06-13 Fabrice Fontaine Orange
* Fixed a memory leak in cg_http_request_delete().
* Fixed compilation issue when using DCG_UPNP_NOUSE_CONTROLPOINT flag in cg_upnp_device_updatefromssdppacket().
* Fixed a memory leak in cg_upnp_device_getservicebycontrolurl().
* Fixed cg_thread_start(). Threads used to answer UPnP requests are created
in joinable state but the main thread doesn't call pthread_join on them.
So, they are kept alive until the end of the program. By creating them
in detached state, they are correctly clean up.
* Fixed cg_thread_stop_with_cond() to wait one second for thread termination instead of using pthread_join().
2007-06-06 Satoshi Konno
* Added checking 64 bit support, long long, to the configure.in for GCC.
* Fixed to compile cg_str2longlong() and cg_longlong2str() using GCC.
* Fixed cg_longlong2str() to return the buffer using GCC or ISOC99.
2007-03-20 Satoshi Konno
* Added a parameter, CgString, to return the result safety and the implementation without curl for the following functions.
cg_net_uri_unescapestring() and cg_net_uri_escapestring().
* Added a define, CG_USE_NET_URI_ESCAPESTRING_SKIP,in cg_net_uri_escapestring() and disabled the function not to skip only the first path.
* Changed cg_upnp_device_httprequestrecieved() using the new cg_net_uri_unescapestring().
* Added the following functions.
cg_net_uri_isreservedchar()
cg_net_uri_isunreservedchar()
cg_net_uri_isescapechar()
cg_net_uri_isalphanumchar()
* Fixed cg_net_uri_escapestring() to use curl_escape() instead of curl_unescape().
* Fixed cg_net_uri_unescapestring() to use curl_unescape() instead of curl_escape().
2007-03-18 Satoshi Konno
* Added CgInt64 to
* Changed the following functions to use CgInt64.
cg_longlong2str()
cg_http_packet_setheaderlonglong()
cg_http_packet_getheaderlonglong()
* Disable CG_USE_OPENSSL for Visual Studio projects as default.
2007-03-11 Satoshi Konno
* Added support of OpenSSL to socket functions in csocket.c.
* Added CG_USE_OPENSSL define and --enable-openssl option to disable the SSL functions as default.
* Added cg_https_request_post().
* Changed a compiler flag about file functions from USE_CFILE to CG_USE_CFILE.
* Added a framework of CppUnit.
2007-03-05 Satoshi Konno
* Changed cg_string_setnvalue() to use memcpy instead of strncpy().
* Added a parameter of the string length for cg_string_setpointervalue() and to set a binary data.
* Added a parameter of the string length for the following functions too.
cg_http_packet_setcontentpointer(), cg_http_request_setcontentpointer() and cg_http_response_setcontentpointer().
* Fixed cg_http_packet_read_body() to set the correct content length if the response has a field of the content length.
2007-02-25 Satoshi Konno
* Added cg_xml_attribute_remove().

Comments:
Hi Satoshi,
is there any new version for Java API? Congratulations for the excelent job.
Alexandre, from Brazil.
 
Hi Alexandre,

I will prepare to release the new package for Java from this week.

I will release the new package after I check with the latest SDK of Android.
 
Hi Satoshi,
did you ever finish the port of your cyperlink package for android?
If not, I might give it a try.
Thank you.
Sid
 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?