zhengshuxin
|
f3835a9844
|
add self() into thread.hpp
|
2017-10-06 23:19:37 +08:00 |
|
zhengshuxin
|
cf735fe123
|
add event_mutex into lib_acl_cpp, which can support threads & fibers
mutex by using IO + atomic as mutex
|
2017-10-06 23:05:14 +08:00 |
|
zhengshuxin
|
3d71e10668
|
fiber: fiber_lock can trigger immediately with IO event
|
2017-10-01 13:54:57 +08:00 |
|
zhengshuxin
|
563ce8a395
|
feature: thread_mutex supports recursive parameter;
feature: fiber_mutex supports thread_mutex;
|
2017-09-29 17:35:17 +08:00 |
|
zhengshuxin
|
0bb8cb9c6c
|
format c++ code style
|
2017-09-26 11:48:09 +08:00 |
|
zhengshuxin
|
c57beda5df
|
method name in bitmap class maybe collision with some macro on some platfom
|
2017-09-21 16:18:15 +08:00 |
|
zhengshuxin
|
31fc50166c
|
add trigger.hpp into all vc's projects;
add trigger sample for fiber trigger;
|
2017-09-18 22:28:52 +08:00 |
|
zhengshuxin
|
08e241acb8
|
add trigger.hpp for trigger events by time.
|
2017-09-18 18:59:59 +08:00 |
|
郑树新
|
0560c4f018
|
modify comments into thread_cond.hpp
|
2017-09-13 18:04:09 +08:00 |
|
郑树新
|
0ddf61cd7a
|
add comments into thread_cond.hpp & thread_mutex.hpp
|
2017-09-13 18:02:30 +08:00 |
|
zhengshuxin
|
a67e6a6338
|
sighup's result status from children can be got by acl_master
|
2017-09-09 00:30:39 +08:00 |
|
zhengshuxin
|
7d94dd5a04
|
let mbox::pop be blocked when timeout < 0
|
2017-09-08 19:18:49 +08:00 |
|
zhengshuxin
|
7dadf786df
|
add test code in mbox.hpp
|
2017-09-02 17:59:32 +08:00 |
|
zhengshuxin
|
3465037c6b
|
acl::mbox, acl::atomic can be compiled ok on Linux & Windows.
|
2017-09-02 09:46:03 +08:00 |
|
zsxxsz
|
4afb237dd9
|
fixed compiling error by vc
|
2017-09-02 09:42:11 +08:00 |
|
zhengshuxin
|
2af766fb6e
|
make acl::mbox generic with c++ template method.
|
2017-09-01 23:14:20 +08:00 |
|
zhengshuxin
|
5291cd0c7a
|
test only
|
2017-09-01 18:59:42 +08:00 |
|
郑树新
|
424a543a71
|
add test in atomic
|
2017-08-31 17:52:18 +08:00 |
|
zhengshuxin
|
85b55d4e4e
|
acl_mbox_read's timeout use millisecond precision
|
2017-08-29 11:32:07 +08:00 |
|
zsxxsz
|
6c7fa88358
|
modify bitmap.hpp
|
2017-08-23 22:35:24 +08:00 |
|
zhengshuxin
|
5b0cdc1fc9
|
add bitmap class for bit operation
|
2017-08-23 15:14:40 +08:00 |
|
zsxxsz
|
28f805981e
|
lpop and rpop's comments are invalid in acl::redis_list
|
2017-08-22 22:37:54 +08:00 |
|
zhengshuxin
|
cdd3684407
|
add thread_cond.hpp & thread_mutex.hpp into lib_acl.hpp
|
2017-08-22 15:21:23 +08:00 |
|
zhengshuxin
|
5723a4369f
|
add thread_cond c++ class
|
2017-08-22 15:21:07 +08:00 |
|
zhengshuxin
|
f1fa41e523
|
add thread_mutex c++ class.
|
2017-08-22 15:20:28 +08:00 |
|
zhengshuxin
|
8f58d773b4
|
add atomic operation and modify vc projects for adding atomic class.
|
2017-08-18 22:55:31 +08:00 |
|
zhengshuxin
|
ae5ea084dd
|
add method that can get socket_stream from tcp_reader & tcp_sender.
|
2017-08-09 19:05:38 +08:00 |
|
郑树新
|
08d61b31f6
|
utf-8 without BOM will be warned by vc.
|
2017-08-09 16:15:01 +08:00 |
|
zhengshuxin
|
dcaec58d47
|
add sample tcp_server & tcp_client in lib_fiber.
|
2017-08-09 16:04:54 +08:00 |
|
zhengshuxin
|
ffcfd87d26
|
add send method in tcp_pool class.
|
2017-08-08 23:27:37 +08:00 |
|
zhengshuxin
|
9d08227118
|
fixed one compiling error.
|
2017-08-08 18:54:13 +08:00 |
|
zhengshuxin
|
7bca9425a9
|
add tcp communication connections pool.
|
2017-08-08 18:43:25 +08:00 |
|
zhengshuxin
|
27b42d5c30
|
polarssl_conf & polarssl_io support loading polarssl lib dynamic.
|
2017-08-04 15:13:40 +08:00 |
|
zhengshuxin
|
5daa1b7acf
|
add comments in master_threads.hpp
|
2017-07-31 20:38:42 +08:00 |
|
zhengshuxin
|
df1b49d215
|
add some functions for HMSET commands in redis_hash class.
|
2017-07-27 13:35:47 +08:00 |
|
zhengshuxin
|
93b3250ca5
|
add methods that get configure path
|
2017-07-22 21:32:21 +08:00 |
|
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 |
|
zhengshuxin
|
660f15554f
|
disable ACL_PRINTF when gcc's version < 4.4
|
2017-07-11 09:04:20 +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 |
|
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 |
|
ubuntu14
|
7ed6180b33
|
udp server support multi threads mode
|
2017-06-21 18:31:37 +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 |
|
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 |
|
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
|
b9440151d6
|
Merge branch 'master' of https://github.com/acl-dev/acl
|
2017-05-31 09:02:04 +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 |
|
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
|
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
|
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
|
29f3ef3b73
|
supporting for IPV6
|
2017-04-11 23:14:39 +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
|
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
|
3cd0864746
|
supporting ios and can be compiled by xcode.
|
2017-03-12 14:49:48 +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 |
|
fuwangqin
|
abe75b495a
|
add codes
|
2017-01-04 16:03:08 +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
|
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
|
1077d2b142
|
fixed on bug in redis_result::argv_to_string()
|
2016-11-07 22:14:23 +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
|
ee968f72ae
|
rename acl_init to acl_lib_init.
|
2016-10-27 21:25:14 +08:00 |
|
zhengshuxin
|
f69eb3dedb
|
fixed one bug for charset setting in db_pool
|
2016-10-24 11:44:12 +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 |
|
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 |
|
dep
|
b0090e4ce1
|
C++ serialization module gson can support non C++11.
|
2016-10-14 15:11:13 +08:00 |
|
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 |
|