Commit Graph

351 Commits (b3ef40f926d2a7c7104d0d3b392824df5bb5368b)

Author SHA1 Message Date
Yu Qing 794eca7285 test_mblock.c changed 2017-03-09 09:50:37 +08:00
yuqing 5359199fb7 correct getFileContentEx read bytes 2017-03-08 15:24:05 +08:00
yuqing 27046ca80c doc/ini_file_reader-Chinese.pdf 2017-03-03 10:47:09 +08:00
yuqing 92f4763638 ini_file_reader support flags 2017-03-02 09:55:24 +08:00
yuqing 2d60671511 test_ini_parser.c changed 2017-03-01 17:41:32 +08:00
yuqing 6172c54f10 init context support dynamic annotations 2017-03-01 16:57:09 +08:00
yuqing b967e39e64 support annotataion map set incrementally 2017-02-28 17:59:02 +08:00
yuqing c78d3d7a2a ini_file_reader code refine 2017-02-28 16:08:38 +08:00
yuqing 5fb8531218 add function fc_trim to avoid conflict with trim 2017-02-27 16:08:55 +08:00
yuqing f6ad3bdb79 php7_ext_wrapper.h add zend_add_assoc_double_ex 2017-02-22 15:17:24 +08:00
yuqing 2496e697dc add function fc_ftok 2017-02-20 14:57:27 +08:00
yuqing 16455133f3 add function fc_safe_read and fc_safe_write 2017-02-16 16:34:54 +08:00
yuqing df428e6a2d add php extension function: fastcommon_file_put_contents 2017-02-15 15:38:47 +08:00
yuqing 7a0fae8f01 logger judge log_level in function log_it_ex and log_it_ex1 2017-02-09 18:35:39 +08:00
yuqing 14b477f034 add time_precision macro: LOG_TIME_PRECISION_NONE 2017-02-07 15:25:34 +08:00
yuqing 2b0706775a ini_file_reader use extra context for compatible 2017-02-06 15:06:30 +08:00
Yu Qing 41c6c6d17b code refine 2017-02-03 11:05:18 +08:00
Yu Qing ff60187490 getExecResult code refine 2017-02-02 12:31:19 +08:00
Yu Qing 7ba58c02c0 free pContext->set.vars 2017-02-01 10:47:45 +08:00
Yu Qing 5c7ba700b6 ini_file_reader support #@set directive 2017-02-01 10:35:17 +08:00
yuqing f76f3f6206 correct PTHREAD_MUTEX_ERRORCHECK macro define 2017-01-20 10:43:08 +08:00
yuqing 87995c650d ini_file_reader: return the last when get single value 2017-01-19 18:19:45 +08:00
yuqing 39e569a649 ini_file_reader: LOCAL_IP support CIDR addresses 2017-01-19 11:11:39 +08:00
Yu Qing 5120b1daf0 MacOS does NOT support macro RLIMIT_MSGQUEUE 2017-01-12 09:51:41 +08:00
yuqing af49c430a6 show resource label when setrlimit fail 2017-01-04 09:33:17 +08:00
yuqing e4871c205f refine getFileContent log info 2016-12-22 15:09:39 +08:00
YuQing 182ad4b72a Merge pull request #10 from hanyunqi/is_power2
Update function is_power2 in shared_func.c
2016-12-17 09:52:45 +08:00
yuqing c02a55ba28 add function hash_get_prime_capacity 2016-12-13 15:56:22 +08:00
hanyunqi 7e09d1f94f Update shared_func.c
update is_power2: return ((n != 0) && !(n & (n - 1)));
2016-12-08 18:47:01 +08:00
yuqing d8b92e2421 logWarning to logDebug 2016-12-01 18:18:47 +08:00
Yu Qing beab8dad5a add test_char_convert_loader.c 2016-11-27 18:34:52 +08:00
Yu Qing 2fe5e5fb8f add tests/test_char_convert.c 2016-11-26 19:16:02 +08:00
yuqing 2e1d5eb8d2 char_converter code refine 2016-11-26 13:36:14 +08:00
yuqing 562513b358 fast_char_convert function changed 2016-11-26 13:04:45 +08:00
yuqing 33085e9bf6 add files: char_convert_loader.h and char_convert_loader.c 2016-11-26 12:20:43 +08:00
yuqing fe4f42f090 char_converter code refine 2016-11-25 15:07:48 +08:00
yuqing 8cb8c29c45 add function char_converter_set_pair 2016-11-25 10:11:40 +08:00
yuqing abc9882418 memset 0 for FastCharConverter 2016-11-25 09:06:28 +08:00
yuqing e2735189a5 add files: char_converter.h and char_converter.c 2016-11-25 09:02:03 +08:00
yuqing 100ae31704 Revert "log support replace space chars"
This reverts commit aa683c2324.
2016-11-24 19:55:51 +08:00
yuqing aa683c2324 log support replace space chars 2016-11-24 19:15:23 +08:00
yuqing ef019ab04a logger context add field: use_file_write_lock 2016-11-13 14:22:12 +08:00
yuqing 8b563ce830 add file trylock functions 2016-11-13 12:44:24 +08:00
yuqing bd9a588840 compare exename in process_start function 2016-11-12 11:55:14 +08:00
Yu Qing b53a158f67 process_ctrl code refine 2016-11-12 11:23:44 +08:00
yuqing cb3dc49e2a add macro function INI_STRING_IS_TRUE 2016-11-11 18:20:41 +08:00
yuqing e16e0f5d4f add function get_time_item_from_str 2016-11-11 15:14:51 +08:00
yuqing decd1498d0 add tests/test_ini_parser.c 2016-11-10 14:04:24 +08:00
yuqing 41db7d0bc2 move SET_SOCKOPT_NOSIGPIPE from sockopt.c to sockopt.h 2016-11-10 14:00:12 +08:00
yuqing 3c77ef047d id generator support file mode 2016-10-31 18:46:03 +08:00
yuqing 8ccf3503ca fast_buffer code refine 2016-10-08 09:39:56 +08:00
yuqing e552ad7e1d fixbug for select 2016-09-08 15:43:24 +08:00
yuqing bf8023287e add function iovent_add_to_deleted_list 2016-09-02 19:14:00 +08:00
yuqing 39a6e7b656 setsockopt SO_NOSIGPIPE when nessary 2016-08-12 17:09:18 +08:00
yuqing 51c9b28f90 change zend_hash_find to zend_hash_str_find 2016-08-09 13:47:44 +08:00
yuqing 792549e60c php7_ext_wrapper.h: #include <stdbool.h> 2016-08-08 15:27:51 +08:00
yuqing a56d0af695 correct zend_hash_find_wrapper for php7 2016-08-02 09:44:41 +08:00
yuqing 60cd0565e5 php7_ext_wrapper.h: fix memory leak in php 7 2016-08-01 19:36:32 +08:00
yuqing 1eab718d4f modify php-fastcommon/test.php 2016-07-25 12:46:44 +08:00
yuqing 1c2b72f9a6 add function id_generator_get_timestamp 2016-06-17 10:09:41 +08:00
yuqing 962773d029 for compatibility 2016-06-15 10:06:09 +08:00
yuqing 28930e70b6 ini_file_reader support #@for 2016-06-14 22:41:15 +08:00
yuqing d34dfee8dc ini_file_reader support for statement 2016-06-14 21:56:49 +08:00
yuqing 4d0f217917 ini_file_reader support #@if 2016-06-14 17:29:25 +08:00
yuqing fb0162d769 check g_free_queue.head == NULL before free_queue_realloc() 2016-06-08 18:30:36 +08:00
yuqing 45e57c2bb0 correct pointer type in php7 2016-06-06 21:15:53 +08:00
yuqing 75e62f6f51 correct zend_hash_update_wrapper for php7 2016-06-06 21:07:45 +08:00
yuqing 372a02d9d4 add function http_parse_url_params 2016-06-06 20:49:34 +08:00
liuwei a6d00af752 memset sockaddr_in & sockaddr_in6 2016-05-24 18:00:26 +08:00
liuwei 96cfd0283a add getIpaddrsByName() function 2016-05-23 14:20:44 +08:00
yuqing 299ac49055 id generator in php extension support multi instance 2016-05-19 15:50:45 +08:00
yuqing 6682b9842e conn_pool_init compatable 2016-05-18 11:18:15 +08:00
yuqing 3eb39e834c connect by ip and connection pool support ipv6 2016-05-18 10:40:36 +08:00
yuqing 094f3900c1 inet_aton to inet_pton 2016-05-17 21:22:08 +08:00
yuqing ce39cdd497 add comment 2016-05-16 09:22:53 +08:00
yuqing 5cb9066ed1 upgrade php-fastcommon version to 1.0.6 2016-05-16 09:06:07 +08:00
yuqing 064c4730e4 id generator support extra bits 2016-05-14 19:37:55 +08:00
yuqing f829bd5e88 id generator support variable sn bits 2016-04-15 14:46:30 +08:00
yuqing a6f4fe6a3e refine remark info 2016-04-14 14:55:46 +08:00
yuqing 50236cd764 id generator test printf 2016-04-12 11:23:43 +08:00
yuqing 3b68b068b1 refine sn sprintf format 2016-04-11 09:30:54 +08:00
Yuqing f895a970c6 use local private ip first as machine id 2016-04-10 20:22:03 +08:00
Yuqing 324d6db66f php extension support id generator 2016-04-10 19:01:47 +08:00
Yuqing 9ddd1b8f03 beautify debug info 2016-04-10 17:52:25 +08:00
Yuqing b16e56b9a3 id generator for multi processes 2016-04-10 17:44:10 +08:00
yuqing 8104af5d27 add id generator for multi processes 2016-04-10 00:22:50 +08:00
yuqing 6bd718079e add file lock and unlock functions 2016-04-09 22:11:28 +08:00
liaozaixue 743399a442 wrapper resource interface for php7 2016-04-05 16:21:00 +08:00
liaozaixue 94a5f932e4 add zval_ptr_dtor wrapper for php7 2016-04-05 13:56:33 +08:00
yuqing b2b933e5a7 add function fd_set_cloexec 2016-03-31 15:51:58 +08:00
yuqing 1bdc948909 remove debug info 2016-03-18 08:44:18 +08:00
yuqing 0103aef791 add logger parameter: compress_log_days_before 2016-03-16 09:18:57 +08:00
yuqing ef8d758a3c support compress log file in new thread 2016-03-01 16:00:29 +08:00
yuqing 72f0214695 logger support compress the log file 2016-02-29 18:37:10 +08:00
liaozaixue c7ba512e09 add zend_hash_index_find_wrapper 2016-02-26 18:13:22 +08:00
yuqing 3f15350bb0 Merge branch 'master' of github.com:happyfish100/libfastcommon 2016-02-22 18:35:37 +08:00
yuqing 09bc970dab bugfixed: free task point correctly in free_queue_destroy 2016-02-22 18:34:41 +08:00
Yu Qing fa404e98df add macro HAVE_USER_H 2016-02-19 14:56:38 +08:00
Yu Qing e32e6315b5 compile passed in FreeBSD 10.2 2016-02-19 11:27:39 +08:00
yuqing d5183cffb6 php7_ext_wrapper.h add more macro defines 2016-02-19 10:13:30 +08:00