X3插件框架发布v1.0.9

X3 C++ PluginFramework 今天发布了新版本1.0.9,距离上个版本正好三个月,主要完善内容有:

1、移植到 Linux,加入 Makefile 文件,能够基本运行起来;

2、对内核文件进行局部完善,替换ConfigXml插件,移动整理工程文件,满足Win32、Linux、VC++、CodeBlocks、Makefile 的移植编译要求。

 

目前 X3 C++ PluginFramework 可在下列环境编译:

1、Windows: VC++ 6.0/2005/2008/2010, 或 CodeBlocks + MinGW GCC

2、Linux: Makefile, 或 CodeBlocks + GCC

 

可以通过下面任意一种方法获取最新代码:

下载: http://sourceforge.net/projects/x3c/files/ (x3c-1.0.9.zip,包含log4cplus源码和cppunit头文件)

SVN: https://x3c.svn.sourceforge.net/svnroot/x3c/trunk (不包含log4cplus源码和cppunit头文件

 

在Linux下部分功能还未实现,只加了空壳函数,故运行时某些功能没有效果,欢迎感兴趣的朋友参与实现

1、文件读写操作,在 pkg_Core\Interface\Portability\linuximpl.h 中去实现;

2、Cx_FileUtility.cpp 中的文件操作函数 DeletePathFile、TwoFileOperation、AbsToRel、GetModifyTime、GetFileVersion;

3、文件遍历,在 pkg_Core\Interface\UtilFunc\ScanFiles.h 中去实现;

4、ConfigXml\TinyXml\XmlUtil.cpp:需要采用TinyXml来实现,目前还是空函数;

5、OLE 操作(估计Linux不需要):Cx_GuidGenerator.cpp、Cx_ClipboardUtil.cpp ;

 

感谢 广州的李健(Aaron),抽出不少时间来编写了Makefile并在Linux下进行测试和提出许多建议;

感谢 北京的黄冶(thinkhy)和王纬的持续关注和提出的一些建议。

欢迎大家参与到X3C中来,共同改进完善,谢谢。

 

 

下面是修改记录:

------v1.0.9------

2011-06-02, Li Jian (Aaron) <mcuit@hotmail.com>, Zhang Yun Gui

    * Add makefile for Linux.

2011-05-26

    * Add example projects: HollowView and HollowViewApp.
    * Fix Cx_PluginLoader::LoadPluginFiles.

2011-05-24

    * Disable copy operators. Replace std::w2a to x3::w2a.
    * Implement configxml plugin using tinyxml (not completed).
    * Change portability functions for Linux and Windows.
    * Not call InterlockedCompareExchange in Cx_SingletonObject.

2011-05-18

    * Implement portability for Linux.
    * tags/x3c-1.0.8-beforelinux: Ready to implement portability.
    * Move VC++ project files to 'projects\msvc'.
    * Change CodeBlocks projects to Linux. Add portimpl.h and linuximpl.h

2011-05-12

    * ConfigXml: Output error info when saving file.

2011-04-29

    * FileUtility: Using CopyFileW for coping small file on Win7 instead of calling SHFileOperationW.
    * LogWriter: Not call CopyLogFilesToServer() when error occurred by default.
    * Add a test case for Ix_FileUtility.

------v1.0.8 (2011-02-28)------

posted @ 2011-06-03 16:27  张云贵  Views(1885)  Comments(14Edit  收藏  举报