Mercurial > pidgin.yaz
view m4macros/purple.m4 @ 23683:1c50f12b1c52
2008.08.02 - csyfek <csyfek(at)gmail.com>
* Commit to Pidgin
* Tickets:
Fixes #1861
Fixes #1902
References #5112
2008.08.02 - ccpaging <ecc_hy(at)hotmail.com>
* Store all keys and md5 values of qq_data in char[QQ_KEY_LENGTH]
* Use random value in inikey
* TEA header padding in crypt.c
* Rewrite login part of qq_process
2008.07.31 - ccpaging <ecc_hy(at)hotmail.com>
* Fixed: send reply when get duplicate server command. The server may not get our reply before.
* Tag custom picture as text "(Broken)"
2008.07.30 - ccpaging <ecc_hy(at)hotmail.com>, csyfek <csyfek(at)gmail.com>
* Change some debug message
* Modify buddy status flag according to eva for QQ2006
* Modify buddy status parse and correspond to eva2
* Add getIP/putIP functions to packet_parse.c, and replace some gen_ip_str
* Replace guint32 *ip with struct in_addr, and reduce g_new/g_free operation
* Source file changed:
Merge buddy_status into buddy_list
Change login_logout to qq_base
Merge keep_alive into qq_base
New qq_process extract from qq_network
* Fixed: Byte alignment bug in crypt.c, tested in ARM PDA
* Fixed: group chat message may get in before getting group info, and so group info is empty
* Add qq_send_cmd_group_get_group_info when joined a group chat in group_im.c
* Add some new group command identify according eva but further program
* Add some new QQ client version identify
* Fixed: Identify buddy's client version by IM packet, and not by status
* Add some new info in buddy's tooltip text
* Add video falg to buddy's emblem. But those flag in buddy status may not prasing correctly
* Use new timeout function to handle send keep_alive, resend packet, update buddy status
* Add new advanced options:
The end user may change interval of keep_alive, resend packet, update buddy status to feed their
need.
For example, saving network flow when use mobile phone.
Keep alive packet must be sent in 60-120 seconds whatever client rcved data of not.
The intervals of keep alive and update status should be multiple of resend's interval,
Since we use counter not time() in a single timeout function for efficiency.
* Rewrite qq_trans.c, and use one g_list to manage:
Store server packet before login, and prase all of them when get login
Store client send packet for resend scanning, confirm server reply, filter duplicate server reply
Store server packet for filter out duplicate
* Add QQ_MSG_SYS_NOTICE = 0x06 in sys_msg.c
* Rewrite qq_proc_cmd_reply and qq_proc_cmd_server:
In QQ protocol, one packet reply may need a new packet send later.
We may call it packet trigger. The triggers always is hided in every qq_process_reply.
Now we try to extract those triggers and put into a single function,
and then every trigger should be obviously and easy to manage.
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Sat, 02 Aug 2008 15:00:46 +0000 |
parents | 402236ee7981 |
children |
line wrap: on
line source
dnl ########################################################################### dnl # Configure paths for libpurple dnl # Gary Kramlich 2005 dnl # dnl # Based off of glib-2.0.m4 by Owen Taylor dnl ########################################################################### dnl ########################################################################### dnl # AM_PATH_PURPLE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl # dnl # Test for purple and define PURPLE_CFLAGS, PURPLE_LIBS, PURPLE_DATADIR, and dnl # PURPLE_LIBDIR dnl ########################################################################### AC_DEFUN([AM_PATH_PURPLE], [dnl AC_PATH_PROG(PKG_CONFIG, pkg-config, no) no_purple="" if test x"$PKG_CONFIG" != x"no" ; then if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then : else echo "*** pkg-config is too old; version 0.7 or newer is required." no_purple="yes" PKG_CONFIG="no" fi else no_purple="yes" fi min_version=ifelse([$1], ,2.0.0,$1) found_version="" AC_MSG_CHECKING(for purple - version >= $min_version) if test x"$no_purple" = x"" ; then PURPLE_DATADIR=`$PKG_CONFIG --variable=datadir purple` PURPLE_LIBDIR=`$PKG_CONFIG --variable=libdir purple` PURPLE_CFLAGS=`$PKG_CONFIG --cflags purple` PURPLE_LIBS=`$PKG_CONFIG --libs purple` purple_version=`$PKG_CONFIG --modversion purple` purple_major_version=`echo $purple_version | cut -d. -f 1` purple_minor_version=`echo $purple_version | cut -d. -f 2` dnl # stash the micro version in a temp variable. Then stash dnl # the numeric for it in purple_micro_version and anything dnl # else in purple_extra_version. purple_micro_version_temp=`echo $purple_version | cut -d. -f 3` purple_micro_version=`echo $purple_micro_version_temp | sed 's/[[^0-9]]//g'` purple_extra_version=`echo $purple_micro_version_temp | sed 's/[[0-9]]//g'` dnl # get the major, minor, and macro that the user gave us min_major_version=`echo $min_version | cut -d. -f 1` min_minor_version=`echo $min_version | cut -d. -f 2` min_micro_version=`echo $min_version | cut -d. -f 3` dnl # check the users version against the version from pkg-config if test $purple_major_version -eq $min_major_version -a \ $purple_minor_version -ge $min_minor_version -a \ $purple_micro_version -ge $min_micro_version then : else no_purple="yes" found_version="$purple_major_version.$purple_minor_version.$purple_micro_version$purple_extra_version" fi dnl # Do we want a compile test here? fi if test x"$no_purple" = x"" ; then AC_MSG_RESULT(yes (version $purple_major_version.$purple_minor_version.$purple_micro_version$purple_extra_version)) ifelse([$2], , :, [$2]) else AC_MSG_RESULT(no) if test x"$PKG_CONFIG" = x"no" ; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://www.freedesktop.org/software/pkgconfig/" fi if test x"found_version" != x"" ; then echo "*** A new enough version of purple was not found." echo "*** You have version $found_version" echo "*** See http://pidgin.im/" fi PURPLE_CFLAGS="" PURPLE_LIBS="" PURPLE_DATADIR="" PURPLE_LIBDIR="" ifelse([$3], , :, [$3]) fi AC_SUBST(PURPLE_CFLAGS) AC_SUBST(PURPLE_LIBS) AC_SUBST(PURPLE_DATADIR) AC_SUBST(PURPLE_LIBDIR) ])