Commit Graph

524 Commits

Author SHA1 Message Date
zhengshuxin
93f0ebf307 fixed compile warning for clang++ -Wunused-private-field 2017-07-20 11:08:33 +08:00
郑树新
5b406b6115 building for Android studio 2.3.3 2017-07-20 10:59:28 +08:00
zsx
29ede19711 thread_self on MACOSX should be handled specially. 2017-07-17 15:26:30 +08:00
zsx
b1dfd6bdd3 fixed some compiling error&warning on xcode. 2017-07-17 15:06:02 +08:00
zhengshuxin
75095f5227 fixed some building error in FreeBSD with cmake 2017-07-11 15:18:41 +08:00
zhengshuxin
660f15554f disable ACL_PRINTF when gcc's version < 4.4 2017-07-11 09:04:20 +08:00
zhengshuxin
3709d8c88b can be build on gcc4.1 or gcc7.1 2017-07-10 19:20:50 +08:00
zhengshuxin
9ac697ecbe build acl project successfully by gcc7.1.0 2017-07-10 15:26:12 +08:00
郑树新
24df82f84c fixed one compiling error in redis_cluster sample 2017-07-06 09:57:23 +08:00
zhengshuxin
99660d0734 add proc_on_bind in master_udp class 2017-07-05 14:31:18 +08:00
zhengshuxin
98d11361bb test sighup callback ok for all server template. 2017-07-05 10:27:33 +08:00
zhengshuxin
88d6f6c44f all server templates support SIGHUP callback. 2017-07-04 23:33:28 +08:00
Zheng shuxin
4c41bcb72a feature: add transaction support in db_sqlite class by lindawei 2017-06-28 12:25:29 +08:00
Zheng Shuxin
4d98c83183 add udp_mode in socket_stream::open 2017-06-26 18:10:47 +08:00
zhengshuxin
c0a5c23084 fixed one memory leak bug in http_request's reset() method. 2017-06-24 12:16:18 +08:00
Zheng Shuxin
f5c499cc1a there is one bug in master_udp when running in multi-threads daemon mode. 2017-06-23 12:15:21 +08:00
Zheng Shuxin
33966ab441 master_udp class can run in threads mode 2017-06-23 11:55:07 +08:00
ubuntu14
7ed6180b33 udp server support multi threads mode 2017-06-21 18:31:37 +08:00
ubuntu14
dc2a42c0e6 valgrind can also check master_udp's samples in alone running mode. 2017-06-21 12:43:53 +08:00
郑树新
64afad5c42 master_udp.cpp using acl_udp_server.c in alone mode. 2017-06-21 12:27:41 +08:00
fuwangqin
98ca58e293 fix gson_helper.hpp delete obj error 2017-06-16 12:01:46 +08:00
fuwangqin
63c500749c fix gson error 2017-06-14 22:01:06 +08:00
fuwangqin
f1ac0703ef add set support in Gson. and fix potemtial bug in gson_helper.ipp 2017-06-14 13:55:05 +08:00
zhengshuxin
6bfdac5843 add acl_token_tree_word_remove in acl_token_tree.c 2017-06-03 23:45:18 +08:00
ubuntu14
a2398dfd22 modify lib_acl.hpp 2017-06-02 15:48:38 +08:00
ubuntu14
8650854c43 modify lib_acl.hpp 2017-06-02 15:38:27 +08:00
zhengshuxin
78a7540a76 reorganize all the include headers. 2017-06-02 14:47:24 +08:00
fuwangqin
88317e8341 fix gson_helper.ipp gcc compile error 2017-06-01 16:02:51 +08:00
fuwangqin
d29109956c add std::set for gson_helper ,and add acl.props for vs2015 2017-06-01 15:55:48 +08:00
fuwangqin
4f61be3181 fix make error 2017-05-31 14:57:05 +08:00
root
0707afa35f add WebSocketServlet by "fuwangqin" <niukey@qq.com> 2017-05-31 14:43:18 +08:00
root
d91b82abfb merge 2017-05-31 12:55:36 +08:00
root
7d3de8e346 delete unused files. 2017-05-31 12:51:17 +08:00
root
d230265d3d Merge branch 'master' of https://github.com/acl-dev/acl 2017-05-31 12:48:59 +08:00
root
0bf7f8ec2b add udp sample with c++ 2017-05-31 12:46:59 +08:00
ubuntu14
98b4488e87 add udp samples 2017-05-31 09:15:54 +08:00
root
b9440151d6 Merge branch 'master' of https://github.com/acl-dev/acl 2017-05-31 09:02:04 +08:00
zhengshuxin
183c0a6a3a add samples for recvmmsg/sendmmsg 2017-05-29 11:47:52 +08:00
zhengshuxin
67e2a99eee fixed one bug in websocket::make_frame_header for one memory overflow problem;
fixed one bug in connect_manager::remove
2017-05-27 10:03:58 +08:00
zhengshuxin
3c19f24ede calling setuid in acl_master to help services written by golang to change running privilege. 2017-05-22 17:52:05 +08:00
fuwangqin
8b738d89b9 add WebsocketServlet 2017-05-20 11:39:14 +08:00
fuwangqin
9541f337b5 add websocketServlet sample 2017-05-20 11:37:15 +08:00
zhengshuxin
8b0c600fac fixed bugs in gson_helper.ipp for object's pointer copy 2017-05-14 00:16:42 +08:00
zhengshuxin
1a6af8a6be add unix-domain support in pgsql 2017-05-08 09:49:30 +08:00
zhengshuxin
fc745e530c fixed some compile error on xcode 2017-05-03 14:38:22 +08:00
zhengshuxin
a0f4e48d41 fixed one bug in acl_mylog.c/private_vstream.c that freeing memory corrupt. 2017-05-03 11:19:20 +08:00
zhengshuxin
14fb7b5f36 add postgresql client example. 2017-05-01 11:51:04 +08:00
zhengshuxin
9b12875d17 support postgresql. 2017-04-27 21:46:28 +08:00
zhengshuxin
10284115f1 add explicit in string constructor 2017-04-22 17:44:17 +08:00
zhengshuxin
5d19443275 support vc2013 2017-04-21 14:59:29 +08:00
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