Commit Graph

524 Commits

Author SHA1 Message Date
zhengshuxin
d91b6f4272 acl_vstream_probe_status maybe be blocked in fiber mode 2017-04-20 19:39:03 +08:00
zhengshuxin
fd719a73e3 fixed one bug in acl_pthread_cond.c for double-free one same memory. 2017-04-17 21:56:13 +08:00
zhengshuxin
9e7ad2af39 make fiber module more safety 2017-04-14 21:04:33 +08:00
zhengshuxin
7787109b88 fixed compiling error on xcode. 2017-04-12 13:29:43 +08:00
zhengshuxin
29f3ef3b73 supporting for IPV6 2017-04-11 23:14:39 +08:00
zhengshuxin
b6b7fb6573 fixed compiling error on vc2003 2017-04-09 08:26:21 +08:00
zhengshuxin
b73d188e30 support IPV6. 2017-04-07 20:13:08 +08:00
zhengshuxin
d167d8f85d fixed fiber's errors;
add feature in some modules.
2017-03-31 23:04:16 +08:00
zhengshuxin
eca0d39a5d comment error. 2017-03-25 23:55:33 +08:00
zhengshuxin
ffdc2394fd fixed one compiling error. 2017-03-25 23:48:02 +08:00
zhengshuxin
57f8afc403 modify acl Makefiles to renaming lib names. 2017-03-25 23:05:44 +08:00
fuwangqin
c303a3505c add query& set_parameter(const char* name, const std::string &value) for query class 2017-03-17 09:14:56 +08:00
fuwangqin
6db8b204e8 gson add using namespace supported 2017-03-15 16:17:58 +08:00
zhengshuxin
d2128e6f70 add iconv app for files charset convert. 2017-03-13 22:57:46 +08:00
zhengshuxin
e2ec8096f5 delete unused cmake files. 2017-03-12 16:25:36 +08:00
zhengshuxin
782adab2a2 compiling option of __FreeBSD__ can be auto added. 2017-03-12 16:16:13 +08:00
zhengshuxin
3cd0864746 supporting ios and can be compiled by xcode. 2017-03-12 14:49:48 +08:00
zhengshuxin
a176d4a290 fixed one bug in redis_command::run when connection is lost. 2017-02-24 12:51:04 +08:00
zhengshuxin
e5f7aa1b54 compile acl on MSYS. 2017-02-21 22:35:31 +08:00
zhengshuxin
09e4b0d381 migrate to Android platform OK! 2017-02-12 21:39:38 +08:00
zhengshuxin
5e1bd3c5d9 migrating acl to android;
modify fiber id to unsigned int.
2017-01-23 16:59:58 +08:00
zhengshuxin
e2bb0ad167 support cmake. 2017-01-18 08:51:28 +08:00
fuwangqin
8a4c782281 Merge branch 'master' of https://github.com/acl-dev/acl 2017-01-04 16:03:55 +08:00
fuwangqin
abe75b495a add codes 2017-01-04 16:03:08 +08:00
fuwangqin
30c0b30bad add codes 2017-01-04 15:58:57 +08:00
zhengshuxin
2b7cd0a6bb gson support empty base struct object. 2017-01-04 13:39:09 +08:00
zhengshuxin
2eb4403b88 add one sample for gson object serialization. 2017-01-03 10:46:31 +08:00
fuwangqin
733a5d3092 add codes 2017-01-03 10:19:05 +08:00
zhengshuxin
03d36523e0 add acl_fiber_signal in lib_fiber. 2016-12-31 13:52:34 +08:00
fuwangqin
9a73031b22 add codes 2016-12-30 18:15:45 +08:00
fuwangqin
a5feef884b add member function supoort 2016-12-30 18:12:31 +08:00
fuwangqin
bfa1c6eb07 add Gson@skip Gson@rename 2016-12-30 17:42:46 +08:00
郑树新
1e05dfb6c6 Merge pull request #52 from acl-dev/master
merge to acl
2016-12-30 17:22:20 +08:00
fuwangqin
40b29939ae fix std::map<std::string,std::string> gen gson error 2016-12-30 17:08:18 +08:00
zhengshuxin
06fa2499fa fixed bugs in lib_fiber; add features in http module. 2016-12-29 23:58:18 +08:00
zhengshuxin
fc6ddc3970 fixed one bug in redis_pubsub::get_message which can't support psubscribe;
add one sample -- hook_close for test.
2016-12-15 13:39:26 +08:00
zhengshuxin
6d8cd37190 fixed bugs in redis module. 2016-12-14 21:15:48 +08:00
zhengshuxin
19f2c0b0d2 fiber lock can be killed. 2016-12-08 13:13:30 +08:00
zhengshuxin
1b6d166ef6 add acl_fiber_kill for fiber lib;
add listen callback for master template.
2016-12-03 20:09:21 +08:00
ubuntu14
bcb2f1b85c fixed one bug in fiber.c for memory leak
add some samples for lib_liber
2016-11-27 21:03:24 +08:00
zhengshuxin
2b282d9f66 remove setting non-blocking in acl_vstream_fdopen. 2016-11-18 21:45:40 +08:00
zhengshuxin
4aef130a1f fixed one bug in redis_command::run, connection should be put back when n >= redirect_max_. 2016-11-08 20:55:26 +08:00
zhengshuxin
1077d2b142 fixed on bug in redis_result::argv_to_string() 2016-11-07 22:14:23 +08:00
zhengshuxin
53dd737565 delete unused master_threads2 class 2016-11-04 22:26:38 +08:00
zhengshuxin
70c467f1e8 delete unused master_threads2 class. 2016-11-04 22:05:28 +08:00
zhengshuxin
3bf64fa72d fixed bugs in db pool for setting charset. 2016-11-03 11:19:11 +08:00
zhengshuxin
0d88117427 fxied urgent bug in class db_mysql for init charset_ 2016-11-02 10:38:07 +08:00
zhengshuxin
6265718c20 acl 3.2.2 released! 2016-11-01 20:53:39 +08:00
zhengshuxin
758319beb3 fixed bugs in redis_string::incrbyfloat and redis_hash::hincrbyfloat 2016-10-31 21:41:36 +08:00
zhengshuxin
ee968f72ae rename acl_init to acl_lib_init. 2016-10-27 21:25:14 +08:00
zhengshuxin
c41bb925db delete useless code in db_pool::peek_open. 2016-10-25 11:26:06 +08:00
zhengshuxin
be034725b3 rename acl_init to acl_lib_init; fixed one bug in url encoding for '+' 2016-10-25 10:31:33 +08:00
zhengshuxin
f69eb3dedb fixed one bug for charset setting in db_pool 2016-10-24 11:44:12 +08:00
zhengshuxin
309aa8f2f2 modify vc2015 project. 2016-10-23 19:45:25 +08:00
zhengshuxin
be07157761 fixed one bug in acl_json.h for duplicate defined ACL_JSON_T_XXX 2016-10-21 17:22:40 +08:00
zhengshuxin
f30b2b4144 add some websocket samples(upload_server/upload_client); fixed some bugs in acl; 2016-10-21 15:02:50 +08:00
zhengshuxin
4b7499d955 mv websocket into websocket path 2016-10-20 09:08:27 +08:00
akzi
9dec28ece4 add pointor = null,if no value exist 2016-10-17 22:32:23 +08:00
akzi
576a1f6e44 add codes for add_item processing std::string acl::string char * 2016-10-17 16:02:31 +02:00
zhengshuxin
4e25961a56 add gson into vc2003, 2008, 2010, 2012 2016-10-15 00:07:33 +08:00
zhengshuxin
568a5402e6 let gson look like a good C+= style. 2016-10-14 22:48:32 +08:00
zhengshuxin
a8b08d7e16 the gson.cpp/gson.h files should be appened "\n" in the end of which. 2016-10-14 17:20:20 +08:00
dep
b0090e4ce1 C++ serialization module gson can support non C++11. 2016-10-14 15:11:13 +08:00
fuwangqin
b220d1016f Merge branch 'master' of https://github.com/acl-dev/acl 2016-10-14 11:46:47 +08:00
fuwangqin
e6da6177c5 remove c++11 codes 2016-10-14 11:46:09 +08:00
zhengshuxin
d4be6d4abb fixed one compiling warning. 2016-10-13 23:27:09 +08:00
akzi
f1dff79f70 add codes for get_function_declare 2016-10-13 18:11:45 +08:00
akzi
bc55f94abd add codes for get_function_declare 2016-10-13 18:01:16 +08:00
akzi
37e8b3d9e0 fix double include files error 2016-10-13 17:51:38 +08:00
akzi
ebc985d49c Merge branch 'master' of https://github.com/acl-dev/acl 2016-10-13 17:40:37 +08:00
akzi
dfd64f144f fix gson error 2016-10-13 17:38:45 +08:00
zhengshuxin
fee1610ac4 gson support struct members' initialization, fixed one bug in json_node::get_text. 2016-10-13 16:15:38 +08:00
akzi
140e74364f add gson 2016-10-13 15:13:26 +08:00
akzi
2fe39cdca3 struct menber initialize 2016-10-13 14:31:46 +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
6d721fdb81 add check get_initializelist result 2016-10-09 14:31:50 +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
c2655e08c6 compiling websocket class in DLL mode. 2016-09-28 17:08:32 +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
4f15d51138 add fiber chat sample. 2016-09-28 16:05:55 +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
6f8105136a fixed bugs in read line functions of acl_vstream.c; add c++11 into fiber. 2016-09-07 19:58:19 +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
zhengshuxin
6897e3dc54 fixed bugs in json module. 2016-08-23 13:20:33 +08:00
ubuntu14
8c3a44218a fixed some compiling warning. 2016-08-19 22:31:05 +08:00
ubuntu14
bff9069d59 decrease rss memory using 2016-08-17 15:17:07 +08:00
ubuntu14
314076aefb polarssl will be compiled into acl by typing make build_one polarssl=on 2016-08-14 20:48:30 +08:00
ubuntu14
46b36692a6 fixed one import bug in acl_vstream_writen() of acl_vstream.c 2016-08-14 00:25:15 +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
fd3a26fc0e fixed one bug in hook_io.c 2016-07-25 23:50:36 +08:00
ubuntu14
1a22bba2ce fixed one bug in event operation for lib_fiber 2016-07-20 21:09:46 +08:00
ubuntu14
8ef7853f19 add semaphore for lib_fiber 2016-07-09 21:58:21 +08:00
ubuntu14
76f3b9fc04 add acl prefix for eash function and struct in lib_fiber 2016-07-05 15:19:05 +08:00
ubuntu14
0ec7e951eb improvement the lib_fiber's performance 2016-06-11 23:18:06 +08:00
ubuntu14
92b0dc124e add lib_fiber 2016-05-30 14:09:38 +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
efb7774473 fixed one bug in thread class for memory collision 2016-04-19 14:24:02 +08:00
ubuntu14
0898b7ec6f fixed bugs in acl.3.1.5 2016-04-16 17:58:56 +08:00
ubuntu14
6a046161d5 make redis_builder more powerful 2016-04-15 14:51:45 +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
ecc0869cce prepare acl3.1.5 2016-04-13 20:59:50 +08:00
ubuntu14
be114370af prepare acl3.1.5 2016-04-13 20:32:17 +08:00
ubuntu14
1e72b67c38 prepare for acl 3.1.5 2016-04-12 21:04:47 +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
dea69a055a make master_threads more safety for avoiding socket_stream exception 2016-03-24 14:44:18 +08:00
ubuntu14
7bad3a7cab fixed one bug in json parser for reset 2016-03-19 22:05:46 +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
54d00a0cdb fixed one compile error of one sample 2016-01-17 20:36:40 +08:00
ubuntu14
3f74c26a14 modify redis interface; make socket more safty 2016-01-17 13:35:12 +08:00
ubuntu14
3501052247 fixed one bug in redis_key::type which lost HASH type 2015-12-29 12:40:42 +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
256d4cf6e2 rename sys_read_ready to read_ready 2015-12-22 10:37:01 +08:00
ubuntu14
835e3a215f fixed some urgent bugx 2015-12-21 20:47:44 +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
3b76cccb18 fixed bugs in xml parser 2015-12-14 06:37:46 -08:00
ubuntu14
d43dfc6051 Merge branch 'master' of https://github.com/zhengshuxin/acl
Conflicts:
	lib_acl_cpp/src/db/db_mysql.cpp
2015-12-12 07:07:40 -08:00
ubuntu14
2b6ac5c3b9 acl3.1.4.rc1 release 2015-12-12 07:00:03 -08:00
ubuntu14
1eb4626586 xml parser supporting CDATA; fixed memory leak bugs in db_mysql class in multi-threads mode 2015-12-11 08:58:30 +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
984ad1e206 add aio ssl samples 2015-12-06 00:56:21 -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
7056fb952d delete dummy files 2015-11-27 07:11:18 -08:00
ubuntu14
46d0019b28 remove invalid files 2015-11-27 07:09:31 -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
40f6ebb275 fixed one bug in dbuf; add dbuf samples 2015-11-12 06:24:05 -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
ubuntu14
b432c8041e fix one bug in sqlite_manager 2015-10-24 23:22:56 -07: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
ubuntu14
4031cd00ff delete unused Makefile.in 2015-09-08 05:32:12 -07:00
ubuntu14
4882d65c35 add mail builder into vc2003 2015-09-08 05:22:37 -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
75cb070932 acl 3.1.3 version release! 2015-08-26 06:05:52 -07: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
772ff217e9 changed the file's format to DOS format 2015-08-15 19:45:01 -07:00
ubuntu14
e7f83a889c fixed some compiling error on vc2008, vc2010 2015-08-15 19:33:26 -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
ubuntu14
70f0c6b720 make two db samples be built on FreeBSD 2015-08-10 09:10:57 -07:00
zsx
d8a4f017c9 fixed compiling error in linux32 2015-08-10 15:10:44 +08: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
5a2848356c modify README.md in redis and disque samples. 2015-07-30 23:27:22 +08:00
zsxxsz
800b8e749e modify README.md in redis and disque samples. 2015-07-30 23:24:24 +08:00
zsxxsz
6864ba0bf5 fix bug in redis_command::redirect() which has a NULL refering 2015-07-30 22:38:24 +08:00
zsxxsz
751279a6a6 HttpServletRequest add getJson&getXml methods 2015-07-25 00:44:36 +08:00
zsxxsz
c67a7e40c5 HttpServletRequest add getJson&getXml methods 2015-07-25 00:31:30 +08:00
zsxxsz
3e79879e40 modify README.md of redis module 2015-07-24 21:02:13 +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
909af119de class dbuf_pool's destructor be set as private function that the dbuf_pool's
object must be created dynamiclly
2015-07-22 15:39:34 +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
zsxxsz
1300496956 fixed bug in redis_command::run where existing a invlid conn's refering 2015-07-19 11:12:00 +08:00
zsxxsz
33125fe158 fixed bug in redis_command::run where existing a invlid conn's refering 2015-07-19 10:30:27 +08:00
zsxxsz
70387f948e fixed bug in redis_command::run(): when peek_conn returns NULL, the function should return. 2015-07-16 20:49:06 +08:00
zsx
458f6089e9 fixed bugs in redis_scripts.cpp for computing keys's size 2015-07-15 10:00:30 +08:00
zsxxsz
38ade41d2b modify redis_geo sample 2015-07-13 21:40:29 +08:00
zsxxsz
35f5bd57ec delete debug line in build_request function of redis_command.cpp 2015-07-13 20:21:58 +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