Commit Graph

274 Commits

Author SHA1 Message Date
fuwangqin
e6da6177c5 remove c++11 codes 2016-10-14 11:46:09 +08:00
akzi
dfd64f144f fix gson error 2016-10-13 17:38:45 +08:00
zhengshuxin
e1d747f6c1 move gson module into serialize directory. 2016-10-12 22:00:14 +08:00
zhengshuxin
7095f8a640 fixed bugs in gson_helper.ipp. 2016-10-11 22:04:45 +08:00
akzi
39ebbd5f8d add null for nullptr 2016-10-11 18:03:26 +08:00
zhengshuxin
8fc6f990f2 add null type for json module when building json obj. 2016-10-10 23:03:05 +08:00
zhengshuxin
0a711b0049 add comment in header file. 2016-10-09 22:05:41 +08:00
akzi
0d47c22e9d add struct construct InitializeList support 2016-10-09 14:28:08 +08:00
zhengshuxin
88481f7314 modify gson_helper.ipp for build 2016-10-09 00:10:05 +08:00
zhengshuxin
fcf36bf477 add json serializing module -- gson. 2016-10-08 22:11:25 +08:00
zhengshuxin
535494a264 fixed one bug in json class; add fiber_chat for chatting application. 2016-10-07 20:01:57 +08:00
zhengshuxin
de4ad851bf add ACL_CPP_API before websocket class for building DLL by VC. 2016-09-28 16:19:39 +08:00
zhengshuxin
4d0f9aeed8 add webchat based on websocket. 2016-09-23 22:04:07 +08:00
zhengshuxin
3846cda043 add websocket in lib_acl_cpp. 2016-09-20 19:55:38 +08:00
zhengshuxin
6852d39ed2 fixed one bug in acl_urlcode.c, add c++11 in fiber, and add sha1 2016-09-01 20:00:58 +08:00
ubuntu14
271fc96cdf add master web monitor by master_fiber mode; arrange codes; add methods to json module; 2016-07-29 16:43:46 +08:00
ubuntu14
feecae192a add comments for redis headers 2016-05-22 09:10:34 +08:00
ubuntu14
29d2584744 fixed one bug in acl_sys_file.c for windows; add one no lock quque 2016-05-22 00:08:10 +08:00
ubuntu14
1148788f2b optimize some codes 2016-05-10 21:58:47 +08:00
ubuntu14
69d2ee1118 compile acl on vc2015 successfully 2016-04-30 11:49:41 +08:00
ubuntu14
21bae2f016 add quoted string splitting method 2016-04-15 09:45:07 +08:00
ubuntu14
a6f78cc0b0 add quote split string 2016-04-14 22:39:11 +08:00
ubuntu14
1618216f61 make redis_builder more powerful; replace polarssl with new version 2016-04-12 20:11:15 +08:00
ubuntu14
4672034ef5 add another info() method to class redis_server; make redis_builder more power! 2016-04-02 11:55:00 +08:00
ubuntu14
700c8dc870 add more functions into redis_builder 2016-04-01 23:08:26 +08:00
ubuntu14
41a32d774d add functions to redis_builder 2016-04-01 09:36:18 +08:00
ubuntu14
dcf7d25171 fixed one bug in redis_client_cluster for set_password; add feature in mime class 2016-03-17 14:42:58 +08:00
ubuntu14
ba42c843c5 redis_builder can builder and operation redis cluster with password 2016-03-13 20:01:41 +08:00
ubuntu14
59f563a591 fixed one bug in acl_threads_server.c 2016-03-01 20:20:52 +08:00
ubuntu14
162f645c53 acl_threads_server.c can be used for windows; fixed some bugs 2016-02-28 17:48:17 +08:00
ubuntu14
e3e9bc77fa improving compiling speed by add precompile way 2016-02-25 19:57:02 +08:00
ubuntu14
af1d5bd90e improving performance and fixed some bugs 2016-02-05 10:10:24 +08:00
ubuntu14
3f74c26a14 modify redis interface; make socket more safty 2016-01-17 13:35:12 +08:00
ubuntu14
c700540fd2 fixed some bugs, add some samples, and release 3.1.4.3 2015-12-29 11:33:32 +08:00
ubuntu14
9de2c19ca3 improving peformance for event process 2015-12-19 23:27:55 -08:00
ubuntu14
fb2eff61f8 prepare for release acl3.1.4 2015-12-18 20:08:14 -08:00
ubuntu14
ac4757adc7 add connection guard for releasing connection safely 2015-12-15 18:10:03 -08:00
ubuntu14
2b6ac5c3b9 acl3.1.4.rc1 release 2015-12-12 07:00:03 -08:00
ubuntu14
be3062a505 update polarssl to 1.2.18; prepare for releasing new acl version 2015-12-08 06:28:10 -08:00
ubuntu14
379c50cba9 fixed bugs in acl_vstream.c and polarssl_io.cpp; add xml2, xml3 for parsing xml data 2015-12-03 17:00:07 +08:00
ubuntu14
a816bc5762 fixed bugs in dbuf and add a new xml parser 2015-11-27 07:07:43 -08:00
ubuntu14
e37d58557b complete dbuf module and using it in many other modules 2015-11-20 07:29:10 -08:00
ubuntu14
8b4d5f8da8 add template function create in dbuf_guard class which make creating object derived from dbuf_obj more easily 2015-11-16 04:00:44 -08:00
ubuntu14
4edafbda32 add some functions in class dbuf_guard for convinence and safty 2015-11-14 06:15:22 -08:00
ubuntu14
9aad31fade make connections pool module supporting different network envirenment 2015-11-13 08:32:27 -08:00
ubuntu14
e8548986f6 add some functions in connection pool moudle 2015-11-13 00:26:30 -08:00
ubuntu14
ed2e304caf fixed one bug in mail_message class for build one message 2015-11-12 00:33:53 -08:00
ubuntu14
a9101ebf0c modify Makefile for MACOSX and FreeBSD 2015-11-09 06:11:21 -08:00
zsxxsz
e24d2ced28 fix one bug in db_mysql class for using charset to reconnect the mysql server;
reconsture db module
2015-10-25 14:15:07 +08:00
ubuntu14
21e0796f45 modify some codes 2015-10-20 06:07:23 -07:00
ubuntu14
b319c8742a add mail builder class and sample; optimize http module; add some json samples for test 2015-09-27 05:59:21 -07:00
ubuntu14
a631725ba5 add smtp client class in lib_acl_cpp 2015-09-16 06:03:02 -07:00
zsx
eeb5ae39ae fixed some bugs in redis and disque; add mail compose and smtp client module 2015-09-08 17:21:04 +08:00
ubuntu14
2fb84c4056 optimize some codes 2015-08-26 05:45:40 -07:00
ubuntu14
bfebe1b5d3 fixed bug for redis scan in class redis_command/redis_key/redis_hash/redis_set/redis_zset 2015-08-24 07:12:15 -07:00
ubuntu14
bc119e8199 modify db module 2015-08-22 03:05:46 -07:00
ubuntu14
8bd31016de add transaction API in db_handle and db_mysql 2015-08-19 05:10:52 -07:00
ubuntu14
d1fe09687b http module in acl has supported gzip transfer in client and server mode. 2015-08-18 05:58:56 -07:00
ubuntu14
45f44e3f74 fixed one bug in class redis_string for handling INCR/INCRBY/DECR/DECRBY commands 2015-08-15 05:57:12 -07:00
zsx
09bff5b7d6 change count's type from in to size_t in connections relative classes 2015-08-14 17:28:30 +08:00
ubuntu14
7c6afc95dd add some methods to http and log module 2015-08-13 06:38:59 -07:00
ubuntu14
635ef743d4 mysql_manager supports set idle ttl for each mysql connection 2015-08-12 02:22:52 -07:00
ubuntu14
369d54179f add mysql cluster manager 2015-08-12 01:48:24 -07:00
zsxxsz
942bdc4a1f fixed bug in redis_zset::zrange_get_with_scores; dynamicly loading mysql
client lib in default mode
2015-08-09 22:42:51 +08:00
ubuntu14
a37ba6ed36 modify db module(including mysql, sqlite) for using db more conviniently; add mysql_pool sample 2015-08-02 03:21:24 -07:00
zsxxsz
c67a7e40c5 HttpServletRequest add getJson&getXml methods 2015-07-25 00:31:30 +08:00
zsxxsz
f7f34a9474 class dbuf_pool's destructor be set as private function that the dbuf_pool's object must be created dynamiclly 2015-07-22 15:59:11 +08:00
zsxxsz
33de35bfff improvement dbuf pool's performance; add dbuf_pool sample 2015-07-22 00:41:11 +08:00
zsx
79269106c8 add double/float supporting for query class of db module 2015-07-21 17:16:53 +08:00
zsx
ec3978400d add double/float supporting for query class of db module 2015-07-21 15:26:53 +08:00
zsx
000555df9e add redis_geo class and sample; add https_proxy sample, add dgate sample. 2015-07-13 16:28:09 +08:00
zsxxsz
b5525ad021 add some functions in class string, HttpServletResponse 2015-07-05 22:51:31 +08:00
zsxxsz
8410e85b0c fixed some compiling error 2015-07-05 09:44:36 +08:00
zsxxsz
1c469fea3b http module support range download; add http download example 2015-07-05 01:29:35 +08:00
zsxxsz
1c43c88be1 fixed bugs in http_hdr.c and redis_hash.cpp; add som http head operation functions 2015-07-02 10:35:12 +08:00
ubuntu14
2a35f4992d all samples can be built by vc2012 in x64 mode 2015-06-29 02:33:11 -07:00
zsxxsz
fc22796257 lib_acl, lib_protocol, lib_acl_cpp can be built by VC2012 in x64 mode 2015-06-28 20:27:51 +08:00
ubuntu14
1156716a32 add dbuf_reset in class dbuf_pool for performance improvement 2015-06-22 05:41:56 -07:00
zsx
4866e55c49 add thread queue sample: samples/thread_queue 2015-06-18 14:54:58 +08:00
zsx
3274df3b13 fixed some compile error on MACOSX 2015-06-14 02:47:59 +08:00
zsxxsz
fdd8ac2517 add session_string's buffers in redis_session for caching result of get_buf 2015-06-03 22:41:24 +08:00
zsx
883b0681f5 use redis cluster to store session for http module 2015-06-03 11:19:13 +08:00
ubuntu14
9337889af3 The project can be built on MINGW32 2015-05-21 06:49:35 -07:00
zsx
3724809b41 improving some disque samples 2015-05-07 14:51:46 +08:00
ubuntu14
c81f144938 add disque_cluster sample 2015-05-06 06:37:11 -07:00
ubuntu14
8b49be69a5 add disque's client library into lib_acl_cpp 2015-05-06 02:16:10 -07:00
ubuntu14
68c9606b85 delete unused src code in redis module 2015-05-03 05:08:37 -07:00
ubuntu14
e72a468ecd add some useful function to redis_builder tool 2015-04-25 09:11:10 -07:00
ubuntu14
0140b69dd1 add a redis tool for redis cluster 2015-04-19 07:15:30 -07:00
zsxxsz
6ec47401fc add comments for redis_set 2015-04-15 22:56:48 +08:00
zsxxsz
0354fce20a add some comments for redis client lib 2015-04-14 22:03:56 +08:00
zsx
ea23a87fe6 add some comments for redis client lib 2015-04-14 17:34:24 +08:00
ubuntu14
cd4802771d add some comments for redis module 2015-04-12 06:37:17 -07:00
ubuntu14
d6933c5694 add some comments for redis module 2015-04-08 08:17:16 -07:00
ubuntu14
2d6cfb27ff fixed some bugs in redis module, and improve some redis functions 2015-04-07 08:31:31 -07:00
zsxxsz
e74ac017f9 完善了连接池管理功能模块 2015-04-04 15:25:29 +08:00
ubuntu14
27a5f76285 add support for CLUSTER commands, rename old redis_cluster to redis_client_cluster, redis_pool to redis_client_pool 2015-04-02 07:19:57 -07:00
zsxxsz
d563681684 project arrangement 2015-03-29 19:27:41 +08:00
zsx
c28744324c Ôö¼ÓÁË redis ¿ͻ§¶ËеÄÀ࣬¸ÃÀà¼̳ÐÁËÆäËüËùÓеÄ redis ¿ͻ§¶ËÀà 2015-03-27 17:05:12 +08:00
zsxxsz
be60e809c1 增加了 mime 邮件解析的几个方法;修改 lib_acl_cpp/Makefile.db 2015-03-22 17:25:48 +08:00
zsxxsz
4e7cf40430 add English comments for some redis class 2015-03-15 17:38:50 +08:00
ubuntu14
4909a6bd6f modify some projects and samples 2015-03-08 06:34:00 -07:00
ubuntu14
9b50d1dc50 complete the redis cluster lib 2015-03-01 07:50:53 -08:00
zsx
dfe63fc844 redis client lib support redis3.0 cluster 2015-02-27 13:33:00 +08:00
ubuntu14
b238e84e50 support redis cluster mode and add redis_cluster sample 2015-02-13 09:01:29 -08:00
ubuntu14
8bc89f7dbc rewrite redis modules in order to support redis3.0 cluster in future 2015-02-13 06:52:43 -08:00
ubuntu14
be6e546eae modify redis_key::scan, redis_hash::hscan, redis_hash::zscan, redis_hash::sscan 2015-02-11 07:21:10 -08:00
zsx
d22029bfb9 fixed acl_master framework bug; add some functions to redis_command; modify some Makefile 2015-02-10 17:23:24 +08:00
ubuntu14
96f6b34b2c acl 3.1.0 version release now 2015-02-07 06:55:24 -08:00
ubuntu14
68ce4a101b the new redis client can be compiled by vc2003 2015-02-02 07:52:11 -08:00
zsx
d4e5726585 modify some redis samples 2015-02-02 16:50:06 +08:00
ubuntu14
d17ac74d27 test redis_hyperloglog, redis_connection, redis_transaction ok 2015-02-01 08:13:26 -08:00
ubuntu14
843f3a53c5 redis_zset test ok 2015-01-30 06:58:13 -08:00
ubuntu14
247ace5409 optimize redis client 2015-01-28 08:40:01 -08:00
ubuntu14
87a2693893 Merge branch 'master' of https://github.com/zhengshuxin/acl
Conflicts:
	lib_acl_cpp/include/acl_cpp/redis/redis_list.hpp
2015-01-28 08:39:32 -08:00
ubuntu14
8ff45a9b25 optimize redis client 2015-01-28 08:38:29 -08:00
zsx
13bcb6aefb add comment for redis client API 2015-01-28 17:28:45 +08:00
ubuntu14
2a373c4e71 optimize redis client 2015-01-27 07:37:33 -08:00
ubuntu14
730ff1c3fb optimize redis client 2015-01-27 01:52:50 -08:00
ubuntu14
4323441df7 bugfix for acl_dbuf_pool.c of lib_acl lib 2015-01-26 09:11:04 -08:00
ubuntu14
ea760d5e3a optimize redis client lib 2015-01-26 03:58:02 -08:00
ubuntu14
bfd4e601c5 complete the redis script client command 2015-01-25 05:03:20 -08:00
zsx
96abd859ac complete pubsub command for redis 2015-01-23 17:23:04 +08:00
zsx
ad009bb467 fix bugs in master_threads2.cpp which lost some fd and memory; continue complete redis client lib 2015-01-23 10:04:25 +08:00
ubuntu14
d7b3d92ca8 complate redis_zset, redis_script; add redis_pubsub sample 2015-01-21 07:39:02 -08:00
ubuntu14
1d09396c8c rewrite some redis interface; fix bug for mysql lib on win32 2015-01-19 08:10:17 -08:00
ubuntu14
b6bbade6e1 complete redis client command: list/transaction/connection/pubsub; add redis_pool/redis_manger samples 2015-01-18 08:03:30 -08:00
ubuntu14
5e81e4bd4d compile dll on vc2010/vc2008 2015-01-16 01:42:12 -08:00
ubuntu14
ea7b3d02a8 redis_pool and redis_manager are all ok now 2015-01-16 01:08:31 -08:00
ubuntu14
27c3bfb562 delete unused redis_response.hpp 2015-01-15 17:48:54 -08:00
ubuntu14
e143998522 test redis_key, redis_string, redis_hash ok 2015-01-15 09:12:41 -08:00
ubuntu14
a674a864ab add redis client lib 2015-01-14 07:35:23 -08:00
zsxxsz
9a7e7b07dd 整理工程,优化代码,添加阿里云 OSS 客户端接口 2015-01-04 22:51:01 +08:00
zsxxsz
7282491c1a acl 3.0.22 版本发布 2014-12-14 23:36:23 +08:00
zsxxsz
f0249e0ca1 完善TCP连接派发器,从而更便于集群管理;其它功能模块的完善 2014-12-14 18:26:52 +08:00
zsxxsz
d8fd96aee8 整理工程,优化代码 2014-12-07 23:48:11 +08:00
zsxxsz
cf2528eb7c 完善了非阻塞IO的SSL功能;将 samples 移到 lib_acl 目录下
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
2014-11-30 21:15:35 +08:00
zsxxsz
7ad26a48a5 线程池服务模板功能改进及 protobuf 包更新 2014-11-25 19:44:37 +08:00
zsxxsz
bafd2218a4 整理了一些文件格式 2014-11-19 00:25:21 +08:00
zsxxsz
550b1095de Revert "修复了使用 _vsnprintf_s 的BUG和 stream 类中打开文件流时的BUG"
This reverts commit dff6771da7.
2014-11-19 00:06:40 +08:00
zsxxsz
dff6771da7 修复了使用 _vsnprintf_s 的BUG和 stream 类中打开文件流时的BUG 2014-11-18 23:08:34 +08:00
zsxxsz
7b6eccb4c5 3.0.21 版本发布 2014-10-30 21:42:52 +08:00
zsxxsz
7834cfb1eb 提供了新的防 SQL 注入的DB查询构造器类 2014-10-29 23:15:51 +08:00
zsxxsz
7e97baaf36 增加了套接字选项的设置及获取的方法 2014-10-25 20:33:21 +08:00
zsxxsz
037422b1e7 polarssl 库升级,一些 BUG 修复 2014-10-24 21:17:01 +08:00
zsxxsz
9cc16bb28c 代码优化,当 delete 对象时去掉了判空过程
因为C++编译器当 delete 对象时会首先判断对象指针是否非空,所以当 delete 对象时不必显示地判断对象指针是否为 NULL;当使用
VC 编译时消除了一些编译错误
2014-09-06 21:39:54 +08:00
zsxxsz
3f9e8cfbee 优化针对 polarssl 的支持 2014-09-02 10:43:58 +08:00
zsxxsz
d381b0117d 完善了针对 Polarssl 的支持
升级 polarssl 至1.3.8版本;支持服务端模式的 ssl 通信方式;增加了 SSL 的服务端测试用例
2014-08-20 22:31:35 +08:00
zsxxsz
16e44295cc 整个 acl 工程在 FreeBSD9.2(64) 上编译通过 2014-08-01 00:51:32 +08:00
zsxxsz
54aa697c22 完善接口功能,添加网络示例 2014-07-29 21:48:23 +08:00