Fetion for linux,使用飞信2010最新协议[10月24日更新v2.0](更美观更稳定)

仅仅用于软件推荐,不适合发求软件或软件使用问题方面的贴子
回复
ouclwp
帖子: 80
注册时间: 2007-12-06 13:49
联系:

Fetion for linux,使用飞信2010最新协议[10月24日更新v2.0](更美观更稳定)

#1

帖子 ouclwp » 2010-03-31 18:45

我去年的时候写了一个fetion for linux,当时程序写得挺烂的,也就没怎么宣传,前一段时间飞信出了个2010的新版本,分析了一下协议发现协议百分之八九十都改了,再加上上次代码写得实在很粗糙,我自己都有点看不过去,然后就一怒之下重新分析了一下协议,用C重写了一遍,扔掉了我一个月的休息时间。

程序是基于GTK开发的,在GNOME上运行起来界面还是比较友好的,大家可以下载试用一下.

今天把大家报告的bug修改了一下,请大家下载新版本试用。

感谢上次在这里发布软件的时候大家的支持,由于在32位机器上编译的静态库在64位的系统上跑不起来,应大家需求现在完全开放源码,方便大家学习交流以及使用。源码已上传至googlecode上,大家可以到那里下载,更希望大家能发现修复它所存在的bug,另外呼吁大家制作测试32位和64位的deb包。

v2.0详情请见:http://basiccoder.com/openfetion-v2-release.html

Follow Me http://twitter.com/levin108

版本特性及修复的bug

2010-10-24 levin

* 修复了登录和运行时的崩溃问题
* 修复了群发短信时的崩溃问题
* 修复了添加好友时的崩溃问题
* 添加了数据本地化,实现了离线登录功能
* 添加了断线自动重连功能
* 添加了空闲时间自动离开功能
* 添加了关闭上线提示的功能
* 优化了登录过程,登录速度更快
* 更换了新版图标,更美观

2010-9-25 levin

* 修复了旧版本登录过程中出现的各种崩溃的问题
* 修复了查看聊天记录崩溃的问题
* 修复了查看群功能使用中的崩溃问题
* 更换了图标及提示音,解决了资源文件的版权问题
* 去掉了之前的自绘主题
* 添加了离线不接收飞信信息的功能
* 添加了发送失败提示功能
* 添加了断线提示功能
* 添加了多种常用快捷键
* 对界面做了一些优化,使更美观

2010-8-16 levin

* 添加了飞信群功能
* 添加了桌面位置记忆功能
* 修复了内存溢出等段错误
* 减小了大图标模式的图标尺寸
* 更换了图标,使用gnome Tango主题图标
* 完成了i18n


2010-7-20 levin

* 添加了联系人搜索功能
* 添加了聊天记录导出功能
* 修复了系统消息导致程序崩溃的bug
* 修复了表情提示框的bug
* 优化了代码


2010-6-7 levin <[email protected]>

* 添加了关闭提示功能
* 添加了上线提示和消息提示功能(需要libnotify支持)
* 添加了不在线用户头像暗色显示功能
* 修复了头像加载时的内存泄漏,降低内存使用量
* 重写了部分重要的数据结构,加快了运行速度
* 修复了添加好友时的段错误


2010-5-24 levin <[email protected]>

* 添加了邮箱注册飞信号登录功能
* 添加了直接短信功能
* 完善了用户状态显示
* 完善了停机用户功能限制
* 优化了用户界面
* 修复了崩溃及自动退出的bug


2010-5-7 levin <[email protected]>

* 修复了因协议变动造成的登录时异常退出的bug
* 添加了声音提示功能(需要gstreamer库的支持)
* 添加了飞信表情功能
* 修复了用户心情短语过长时界面太宽的bug
* 添加了识别用户设备功能,能识别出手机登录的用户
* 增加了窗体位置记忆功能

2010-4-15 levin <[email protected]>

* 修复了1.2中不能真正删除好友的bug
* 设置用户可调整界面大小,解决了上网本界面太大不能正常使用的问题
* 修改了输入设置,解决了ibus,scim等输入发不能发送消息的问题
* 增加了HTTP代理功能
* 增加了聊天界面查看用户信息的功能

2010-4-6 levin <[email protected]>

* 修复了登录过程中出现断错误的bug
* 修复了用户不能真正修改个人设置的bug
* 添加了用户设置关闭按钮动作的功能

2010-3-30 levin <[email protected]>

* 将通信协议更改为飞信v4版本
* 修复了初次创建时需要手动创建.openfetion的bug
* 修复了收到系统消息时的bug,屏蔽了系统消息
* 修复了将好友移动分组后好友变成未验证及分组用户数量不变的bug
* 限制每次发送消息为180个字,修复了发送大信息时程序崩溃的bug
* 修复了添加好友时默认名字的bug
* 修改了登录认证算法,登录过程速度提高
* 修改了头像下载过程算法,头像加载速度提高
* 添加了查看任意手机号或飞信号相关信息的功能
* 添加了陌生人聊天的功能
* 添加了短信群发的功能,不限制一次发送数据
* 添加了简单的个性化设置功能

2010-2-25 levin <[email protected]>

* 程序第一次发布


openfetion需要依赖如下几个库开发:openssl,libxml2,gtk+-2.0,libnm,libxss,libsqlite3,如果您的系统中没有安装这些库,您需要自行安装。下面是在Ubuntu下安装这些库的方法:

还有一个可选包:gstreamer-0.10 用来提供声音支持

sudo apt-get install libxml2-dev
sudo apt-get install libgtk2.0-dev
sudo apt-get install libssl-dev
sudo apt-get install libnotify-dev
sudo apt-get install libgstreamer0.10-dev
sudo apt-get install intltool
sudo apt-get install libsqlite3-dev
sudo apt-get install libnm-glib-dev
sudo apt-get install libxss-dev

安装方法:
./configure
make
make install

推荐使用PPA安装,PPA在10.24日晚会跟进到2.0版

sudo apt-add-repository ppa:happyaron/ppa
sudo apt-get update
sudo apt-get install openfention


下载地址:
http://code.google.com/p/ofetion/

大家可以到http://basiccoder.com/openfetion报告发现的bug,我可以第一时间看到并修改。

截图:
sendpix0.jpg
上次由 ouclwp 在 2010-10-24 18:41,总共编辑 14 次。
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#2

帖子 wangdu2002 » 2010-03-31 18:49

:em11
爆强的楼主,好贴要一顶再顶,楼主继续努力!某很看好你哦,最好打个deb就更好了。 :em11
:em11

33楼和105楼有坛友打的deb供应。。。 :em03
openfetion的在这里有Happyron打的各种deb:
http://ppa.launchpad.net/happyaron/ppa/ ... penfetion/
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
ouclwp
帖子: 80
注册时间: 2007-12-06 13:49
联系:

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#3

帖子 ouclwp » 2010-03-31 18:54

wangdu2002 写了::em11
爆强的楼主,好贴要一顶再顶,楼主继续努力!某很看好你哦,最好打个deb就更好了。 :em11
:em11
呵呵,谢谢,没怎么用过debian系的发行版,不知道deb包该怎么打,我研究研究吧,呵呵
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#4

帖子 eexpress » 2010-03-31 19:00

有一个perl版本的。全源码的啊。
我倒是期待web-base的。
● 鸣学
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#5

帖子 wangdu2002 » 2010-03-31 19:07

需要哪些必需的库和头文件,configure时报错,要Gtk+。。。但不知该装些啥东东库才行。 :em06
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
ouclwp
帖子: 80
注册时间: 2007-12-06 13:49
联系:

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#6

帖子 ouclwp » 2010-03-31 19:19

wangdu2002 写了:需要哪些必需的库和头文件,configure时报错,要Gtk+。。。但不知该装些啥东东库才行。 :em06
我更新了贴子,把需要的库的安装方法都写上了
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#7

帖子 adagio » 2010-03-31 19:39

谁能帮忙写个PKGBUILD :em06
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#8

帖子 wangdu2002 » 2010-03-31 20:15

openfetion
/usr/share/openfetion/resource/style.rc:6: 无法在像素图路径中找到图像文件:“flow.jpg”
/usr/share/openfetion/resource/style.rc:37: 无法在像素图路径中找到图像文件:“flow.jpg”
/usr/share/openfetion/resource/style.rc:39: 无法在像素图路径中找到图像文件:“flow.jpg”
/usr/share/openfetion/resource/style.rc:41: 无法在像素图路径中找到图像文件:“flow.jpg”
编译通过了, 终端执行后,图形登录界面出现了,但有这样的输出,是否正常? :em09
安装时某用的配置是./configure --prefix=/usr。这是Ubuntu/Debian下编译源码的标准指定路径。 :em06
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
ouclwp
帖子: 80
注册时间: 2007-12-06 13:49
联系:

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#9

帖子 ouclwp » 2010-03-31 20:22

wangdu2002 写了:
openfetion
/usr/share/openfetion/resource/style.rc:6: 无法在像素图路径中找到图像文件:“flow.jpg”
/usr/share/openfetion/resource/style.rc:37: 无法在像素图路径中找到图像文件:“flow.jpg”
/usr/share/openfetion/resource/style.rc:39: 无法在像素图路径中找到图像文件:“flow.jpg”
/usr/share/openfetion/resource/style.rc:41: 无法在像素图路径中找到图像文件:“flow.jpg”
编译通过了, 终端执行后,图形登录界面出现了,但有这样的输出,是否正常? :em09
安装时某用的配置是./configure --prefix=/usr。这是Ubuntu/Debian下编译源码的标准指定路径。 :em06
这个用起来应该没什么问题,不过flow.jpg是主题背景,呵呵,你可以把它复制到你相应的图像目录下,我当时没注意这个问题,呵呵
头像
黄美姬
帖子: 8428
注册时间: 2009-10-08 11:15
来自: 大城市铁岭

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#10

帖子 黄美姬 » 2010-03-31 20:29

:em11 :em11 :em11
我们是命运的妓女,它把我们都嫖了

N卡驱动:http://www.nvidia.cn/Download/index.aspx?lang=cn
极品飞车:http://www.geforce.cn/optimize/optimal- ... ts-450-ops
孤岛危机优化设置:http://www.geforce.cn/optimize/optimal- ... tx-450-ops
:cp /etc/skel/.bashrc ~/
PS1="\[\e]2;\u@\H \w\a\e[32;1m\]\T$\[\e[0m\] "
http://cdimage.ubuntu.com/
http://releases.ubuntu.com/
头像
aric286
帖子: 962
注册时间: 2007-12-03 9:54
联系:

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#11

帖子 aric286 » 2010-03-31 21:01

顶一个再说。
头像
aric286
帖子: 962
注册时间: 2007-12-03 9:54
联系:

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#12

帖子 aric286 » 2010-03-31 21:21

代码: 全选

 openfetion 
[21:20:33]  Loading user list store in local data file
[21:20:42]  Set a initialized Config Struct to User
[21:20:43]  Start ssi login with v3Temp password , user number 1641131313
[21:20:45]  SSI login failed , status-code :421
[21:20:45]  您的登录密码有些简单,为了保障您的帐户安全,请输入图形验证码:
[21:20:45]  温馨提示:建议您登录成功后,到“个人设置>安全选项”中修改密码。
[21:20:46]  Generating verification code picture
[21:20:56]  Input verfication code:k3hnkw
[21:20:57]  Start ssi login with v3Temp password , user number 1641131313
[21:20:58]  SSI login success
[21:20:58]  Loading user list store in local data file
[21:20:58]  Storing some pointers to memory
[21:20:58]  Reading user information from local disk
[21:20:58]  Reading pointers from memory to struct User
[21:20:58]  Reading contact list from local disk
[21:20:58]  Reading buddy list from local disk
[21:20:59]  Set a initialized Sip Struct to User
[21:20:59]  Start registering to sip server(221.130.44.194:8080)
[21:20:59]  Register to sip server success
[21:20:59]  nonce:22F1A28D61392DA018E8AF4671DEBE5E
[21:20:59]  Start encrypting response
[21:20:59]  Encrypting reponse success
[21:20:59]  Start sipc authentication , with ak-value
[21:20:59]  contact-version : 296461355 , personal-version 296123554
[21:21:00]  Sipc authentication success
[21:21:00]  Start reading contact list 
[21:21:00]  Read contact list complete
[21:21:01]  Start subscribe contact list
[21:21:01]  Storing user information to local disk
[21:21:01]  Storing contact list to local disk
[21:21:01]  Storing buddy list to local disk
[21:21:01]  Start A New Thread!!!!!!!!!!!!!!!!!!!!!!!!
段错误 (core dumped)
手机号已修改为其它数字。
头像
Jarson
帖子: 2371
注册时间: 2008-07-21 9:44
来自: 深圳
联系:

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#13

帖子 Jarson » 2010-03-31 21:48

不支持64位?
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_buddylist.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_history.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_config.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_list.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_connection.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_login.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_contact.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_conversation.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_sip.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_debug.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_user.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../lib/libfx.a(openfetion-fetion_message.o)' is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
make[2]: *** [openfetion] 错误 1
make[2]:正在离开目录 `/home/fhc1988/下载/openfetion-1.0/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/fhc1988/下载/openfetion-1.0'
make: *** [all] 错误 2
./configure没有出错。
头像
qingdaoocean
帖子: 2753
注册时间: 2009-05-16 8:47

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#14

帖子 qingdaoocean » 2010-03-31 22:08

顶LZ :em11
“飞达”——武汉理工大学开源技术协会http://vedaclub.org/
头像
sammysun
帖子: 4088
注册时间: 2007-12-08 23:33
来自: SCUT-guangzhou

Re: 开发了一个fetion for linux,使用飞信2010最新协议

#15

帖子 sammysun » 2010-03-31 22:39

和LibFetion有啥关系和不同?
回复