1. fix async_libuv.c with #define NO_OLDNAMES
2. fix cli.c with remove strtok_r
add OFFPIC_USE_WQQ macro

Signed-off-by: xiehuc <xiehuc@gmail.com>
Merge pull request #21 from btbxbob/master

fixed to build with mingw 4.8.2
check strtok_r is exist

Signed-off-by: xiehuc <xiehuc@gmail.com>
remove HTTP_ALL_TIMEOUT, just use HTTP_TIMEOUT

HTTP_TIMEOUT performs good at low network condition

Signed-off-by: xiehuc <xiehuc@gmail.com>
lwqq_logout add wait_time to makes logout not block too long

Signed-off-by: xiehuc <xiehuc@gmail.com>
use idle watcher to stop loop

Signed-off-by: xiehuc <xiehuc@gmail.com>
remove LWQQ_CALLBACK_SYNCED, use lwqq_http_is_synced insteam

Signed-off-by: xiehuc <xiehuc@gmail.com>
add LwqqCleanUp to control cleanup process

Signed-off-by: xiehuc <xiehuc@gmail.com>
remove LWQQ_CALLBACK_* and LWQQ_OP_* use LWQQ_EC_* only

Signed-off-by: xiehuc <xiehuc@gmail.com>
lwqq_msg_send use dynamic string

Signed-off-by: xiehuc <xiehuc@gmail.com>
add hash_next to simplify hash_auto logic

Signed-off-by: xiehuc <xiehuc@gmail.com>
add python setup.py

Signed-off-by: xiehuc <xiehuc@gmail.com>
lwqq-cli.py add --version

Signed-off-by: xiehuc <xiehuc@gmail.com>
lwqq-cli.py add make-cache to cache database

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix lwqq_hash_all_finished function

Signed-off-by: xiehuc <xiehuc@gmail.com>
lwqq-cli.py clean js

Signed-off-by: xiehuc <xiehuc@gmail.com>
add 'make python' command

Signed-off-by: xiehuc <xiehuc@gmail.com>
parse_unescape using dynamic string

Signed-off-by: xiehuc <xiehuc@gmail.com>
release 0.4.0

Signed-off-by: xiehuc <xiehuc@gmail.com>