Commit Graph

1437 Commits

Author SHA1 Message Date
John
3a5c660693 refract gcharset 2019-06-12 20:49:40 +08:00
piaohao
9e65100a06 gcompress,gcfg,gparser模块测试用例编写 2019-06-12 19:22:02 +08:00
jroam
399e47c548 修改测试 2019-06-12 18:14:54 +08:00
hailaz
abdf8e696c gtype unit test use AssertEQ replace Assert. 2019-06-12 17:52:30 +08:00
John Guo
4a2e217625
Merge pull request #175 from 2892931976/gf-chj 2019-06-12 17:47:54 +08:00
John Guo
52d0280137
Merge pull request #157 from wenzi1/master 2019-06-12 17:42:11 +08:00
John
5be9765eb7 add TODO for gfile.Search 2019-06-12 17:40:50 +08:00
jroam
cdb9488752 edit tests 2019-06-12 17:14:08 +08:00
jroam
0388113870 Merge branch 'master' of https://github.com/gogf/gf into gogf-master 2019-06-12 17:04:11 +08:00
jroam
c6dfb4d4f8 add some test 2019-06-12 16:52:02 +08:00
wenzi1
4a40b58b63 框架中增加字符集转换的标准库 2019-06-12 12:12:00 +08:00
陈国潮
407068a0bf add ghash basic test 2019-06-12 11:33:30 +08:00
hailaz
165330ec68 gchan unit test 2019-06-12 11:21:10 +08:00
John
6e7d08fbfb fix issue in garray.Search 2019-06-12 10:11:54 +08:00
jroam
1ae77f56e5 添加garray测试代码 2019-06-11 23:32:08 +08:00
John
469f9c7ce5 comment update for gflock 2019-06-11 21:14:48 +08:00
wenzi1
d6d37248f6 框架中增加字符集转换的标准库 2019-06-11 21:09:03 +08:00
John
cb1084b770 Merge branch 'master' of https://github.com/gogf/gf into develop 2019-06-11 20:59:17 +08:00
John
e6d4459992 comment update for gcache 2019-06-11 20:57:43 +08:00
wenzi1
1afb5a4bc5 框架中增加字符集转换的标准库 2019-06-11 19:41:26 +08:00
John Guo
c124f172b2
Merge pull request #170 from piaohao/master 2019-06-11 19:32:57 +08:00
wenzi1
dbd4a7c1d4 框架中增加字符集转换的标准库 2019-06-11 19:28:24 +08:00
John
a4d30ef206 Merge branch 'qiangg_comment' into develop 2019-06-11 18:40:56 +08:00
John
0a616173ef add hash function for gview.ParseContent to improve performance in consurrent usage 2019-06-11 18:39:54 +08:00
jroam
24bd83feb0 添加一些garray测试代码。 2019-06-11 18:11:17 +08:00
hailaz
3855786905 gtype unit test 2019-06-11 17:49:29 +08:00
piaohao
1f670a1ab2 gspath模块及gview模块测试用例编写 2019-06-11 17:49:05 +08:00
wenzi1
d97fda794c 框架中增加字符集转换的标准库 2019-06-11 17:25:30 +08:00
piaohao
c034d25299 gspath模块及gview模块测试用例编写 2019-06-11 17:24:26 +08:00
wenzi1
dd6152fe8a 使用encoding库做字符集转换 2019-06-11 16:03:09 +08:00
jroam
485fe572ff 完成gset模块测试覆盖率90%以上。 2019-06-11 10:51:00 +08:00
John
08aa7c4e4c comment update for gcache 2019-06-10 23:54:40 +08:00
jroam
442c658be0 增加gset的测试支持
覆盖率达到85.1%
2019-06-10 23:38:19 +08:00
John
5aa8ce1c6b Merge branch 'master' into qiangg_comment 2019-06-10 23:09:32 +08:00
John Guo
ad8ece68c6
Merge pull request #166 from zhongdalu/master 2019-06-10 23:03:27 +08:00
John Guo
74525ba8f7
Merge pull request #164 from goflyfox/master
add gregex,gaes,gcrc32 test
2019-06-10 23:01:26 +08:00
zcool321@sina.com
46d46afaaf add gaes test:update assert type 2019-06-10 22:42:46 +08:00
John
13eb1150a5 fix issue in gfile.MainPkgPath 2019-06-10 21:32:40 +08:00
John
f98db6d21c comments for gcache update 2019-06-10 21:23:49 +08:00
zdl
ffd78d76e1 添加 genv 测试 1 2019-06-10 20:44:30 +08:00
zdl
e479c41667 添加 genv 测试 2019-06-10 20:24:11 +08:00
piaohao
3320d12994 gcache测试用例完善 2019-06-10 19:58:00 +08:00
zhangbiao
be6f522cf3 add gaes test4:optimize Encrypt Decrypt test 2019-06-10 19:53:07 +08:00
zdl
b0b6871bbb 添加 genv 测试 2019-06-10 19:50:45 +08:00
zhangbiao
59ae6217cd add gaes test3: add encrypt assert content 2019-06-10 19:37:02 +08:00
zhangbiao
334cd7ad51 add gregex test 2019-06-10 18:59:42 +08:00
zhangbiao
501c3680d9 add gaes test 2019-06-10 17:26:32 +08:00
zhangbiao
6814372a89 add gcrc test2 2019-06-10 15:55:43 +08:00
zdl
d5d14b7efc test gset TestSet_New 2019-06-10 15:49:43 +08:00
zhangbiao
3a72686774 add gcrc test 2019-06-10 15:05:11 +08:00
John
cc0a385c22 RELEASE updates 2019-06-09 11:56:58 +08:00
John
0b8c9713e6 improve grpool 2019-06-09 10:37:35 +08:00
John
e400a94ffb improving grpool 2019-06-09 10:33:16 +08:00
John
136ad3b0b5 add more unit test cases for hook feature of ghttp.Server 2019-06-08 19:38:46 +08:00
John
f9826104d8 improve gconv 2019-06-08 19:25:20 +08:00
John
c0c97b76fb update lead string position for glog 2019-06-07 23:00:34 +08:00
John
a908e4d4b1 fix issue in session initialization for ghttp.Server 2019-06-07 22:27:37 +08:00
wenzi1
00db4f5ed9 优先使用标准库的左字符集转换,标准库不支持的使用mahonia做转换 2019-06-06 15:11:32 +08:00
John
055074246e add TryLockFunc/TryRLockFunc for gmlock.Mutex 2019-06-05 23:50:24 +08:00
John
4bbe51fb4b add Close function for gtcp.Server/gudp.Server 2019-06-05 22:12:22 +08:00
John
841224372b update comment for gmlock 2019-06-05 21:58:27 +08:00
John
d1f0fa1a47 fix issue in concurrent safety for gview.Parse; rename glog.*fln functions to glog.*f 2019-06-05 20:22:57 +08:00
John
6d44f02a38 fix issue in internal/empty 2019-06-05 18:40:26 +08:00
John
dc29822e69 improve gtcp; add tls support for gtcp 2019-06-04 23:33:46 +08:00
John
dae7722da1 Merge branch 'master' into develop 2019-06-04 18:35:06 +08:00
John
16d978dc58 fix issue in gfile.MainPkgPath 2019-06-04 18:30:02 +08:00
John
5d3c154b45 improve gtcp 2019-06-04 18:26:32 +08:00
John
00a8ef63b6 improve gtcp 2019-06-03 23:53:59 +08:00
John
6ac437a3a5 merge master 2019-06-03 21:33:16 +08:00
John Guo
33b24eba01
Merge pull request #147 from jroam/master 2019-06-03 21:00:26 +08:00
John
3a99c6e5f5 improve TryCatch function for gutil 2019-06-03 20:58:30 +08:00
John
85b104bafa update benchmark test cases for gregex 2019-06-03 16:59:33 +08:00
jroam
74e5d03a78 Modify documentation 2019-06-03 16:55:18 +08:00
John
e4f9e1000d fix issue in status handler for ghttp.Server 2019-06-03 16:39:45 +08:00
jroam
62829b0698 modify some instructions 2019-06-03 16:39:39 +08:00
jroam
2551e990cb add gtime formats of 'U' 2019-06-03 16:30:34 +08:00
John
75dcc566b3 improve grpool to ensure atomicity for function Add 2019-06-03 09:09:40 +08:00
John
4f1047e853 add KeepAlive configuration for ghttp.Server 2019-06-02 22:19:52 +08:00
John
d62ef17290 improve glog 2019-06-01 22:36:12 +08:00
John
216af6a662 updates glog 2019-06-01 20:34:57 +08:00
John
35d860427e add GetLastSql function for gdb 2019-06-01 20:31:29 +08:00
John
9206574bae add json tag most priority for gjson.New 2019-06-01 20:01:45 +08:00
John
9c6f54131f updates unit test cases for gdb,grpool 2019-06-01 19:37:00 +08:00
John
d67b95c593 add async logging feature for glog 2019-06-01 19:34:03 +08:00
John
2bf2f1b822 improve grpool 2019-06-01 15:11:32 +08:00
John
9ad94eccad add json output support for glog 2019-06-01 11:01:57 +08:00
John
6e8a900f25 fix issue in gjson/gparser in loading xml content; add *time.Time support for gdb 2019-06-01 00:02:05 +08:00
John
d9aa9e4480 improve grpool 2019-05-31 22:54:57 +08:00
John
7335126064 mark deprecated for *fln functions of glog; fix issue in gfile.MainPkgPath in Windows 2019-05-29 15:18:12 +08:00
John
945dd71251 TODO updates 2019-05-29 11:53:10 +08:00
John
7034e2015e add FormatTo/LayoutTo functions for gtime; use custom ExpireFunc to close poool items when pool is close for gpool 2019-05-29 11:25:11 +08:00
John
0a890ad871 Merge branch 'qiangg_gdb_struct_inherit' into develop 2019-05-28 21:41:23 +08:00
John
b52bb1124e Merge branch 'master' into develop 2019-05-28 21:41:08 +08:00
John
41f33af51b add gconv.StructDeep/MapDeep functions for gconv; add struct inherit converting support for gdb 2019-05-28 21:41:00 +08:00
John
be07889a45 Merge branch 'develop' into qiangg_gdb_struct_inherit 2019-05-24 20:07:20 +08:00
John
1b3243c09c comment update for gfile/gaes/gcrc32/gdes/gmd5/gsha1 2019-05-24 19:59:08 +08:00
John
084f6c31cb comment updates for gfile 2019-05-23 21:58:04 +08:00
John
592bf76eb0 add browser mode support for ghttp.Client.Post 2019-05-23 21:20:46 +08:00
John
3575e20137 update Writer feature of glog 2019-05-23 20:34:06 +08:00
John
f69f529258 Merge branch 'master' into develop 2019-05-23 19:14:19 +08:00
John
3e7416ca7d add Skip for glog 2019-05-23 19:14:16 +08:00
John
9da883a50c comment updates 2019-05-23 11:49:33 +08:00
John
8d9fdfeafc change parameter to unnecssary for glog.Header/Stdout; version updates 2019-05-22 21:43:56 +08:00
John
b2a8285ecb remove unnecessary pkg gscanner; update comment for gsmtp 2019-05-22 21:20:17 +08:00
John
162e8f7e51 comment updates for glog 2019-05-22 20:31:14 +08:00
John
6c658813cd refract glog to improve performance 2019-05-22 09:19:21 +08:00
John
0839ea385f refract glog to improve performance; 2019-05-21 23:57:03 +08:00
John
68fa235412 add gjson.GetJsonMap; refract glog to improve performance; 2019-05-21 21:52:17 +08:00
John
417ce4b470 Merge branch 'master' into qiangg_gdb_struct_inherit 2019-05-20 18:33:45 +08:00
John
48deaa5f57 improving package feature for gtcp 2019-05-20 08:59:16 +08:00
John
1af482d950 improve gfile.MainPkgPath 2019-05-17 21:37:48 +08:00
John
dd2436925b remove package feature for gudp, considering UDP protocal has its own border for message handling 2019-05-17 00:17:45 +08:00
John
b92b69564b improve gfile.MainPkgPath 2019-05-16 23:41:09 +08:00
John
635d228c86 adding inherit struct support for gdb 2019-05-16 13:56:49 +08:00
John
75725db6fb remove gmlock for print of glog; add time.Time support for gdb 2019-05-15 23:53:48 +08:00
John
5cd8475143 add time.Time support for convertParam function of gdb 2019-05-15 16:47:39 +08:00
John
08ec04d8b6 fix issue in unit test case of gredis 2019-05-14 22:37:13 +08:00
John
c0b46f364a version updates 2019-05-14 22:02:09 +08:00
John
8c5f74e8bb add DoVar/ReceiveVar function for gredis 2019-05-14 21:34:38 +08:00
John
aefbfd52e9 add more example for gtree 2019-05-13 22:37:05 +08:00
John
f3f0689bd4 rename LinkMap to ListMap for gmap 2019-05-13 22:26:39 +08:00
John
5198d4c5fc add unit test cases for gtree.AVLTree/BTree 2019-05-12 22:56:13 +08:00
John
123f2d3e4e remove return value from RLockFunc/LockFunc for gset 2019-05-12 21:26:01 +08:00
John
3c750c3c92 copy treemap logics to new file 2019-05-12 21:22:07 +08:00
John
17b29cd19f improve performance for Map/Keys/Values functions for gmap; add unit test cases for gtree.RedBlackTree 2019-05-12 21:11:26 +08:00
John
cf1077bec4 add LinkMap for gmap package 2019-05-12 20:43:52 +08:00
John
4e2e4e95e0 add gmap.HashMap/TreeMap/AnyAnyMap for gmap; add unit test cases for TreeMap 2019-05-11 20:47:25 +08:00
John
61d64e7ae4 remove gvar.VarRead 2019-05-11 18:47:35 +08:00
John
883797c495 fix issue in gconv 2019-05-11 18:03:49 +08:00
John
664b0c06a6 gjson updates 2019-05-11 17:56:14 +08:00
John
bd4c75a98e add AVLTree container for gtee 2019-05-10 22:29:06 +08:00
John
d35840409b add BTree container for gtree package 2019-05-10 21:31:35 +08:00
John
abaef9ba87 add gtree.RedBlackTree container 2019-05-10 13:38:06 +08:00
John
b15d8bdd2e adding gtree.RedBlackTree 2019-05-09 22:53:42 +08:00
John
718997327a add default value for gcfg.Get* functions; rename gconv.TimeDuration to gconv.Duration, and do corresponding changes to caller packages 2019-05-09 17:14:24 +08:00
John
fdfefbb94d add default value feature for gjson/gparser; update default value type for ghttp.Request 2019-05-09 14:19:27 +08:00
John
2b865a55ac update gjson/gparser 2019-05-08 22:04:36 +08:00
John
8138215597 comments update 2019-05-08 21:03:04 +08:00
John
7cc0c7a1cc rename map type of gmap; rename BatchSet/BatchRemove to Sets/Removes for gmap/gcache 2019-05-08 17:21:18 +08:00
John
4c647aaa19 refacting gmap 2019-05-07 22:28:34 +08:00
John
48b1d616c5 update code format for gtime 2019-05-07 10:22:50 +08:00
John Guo
693c37d6d6
Merge pull request #116 from jroam/master
add some var flags gtime.format
2019-05-07 10:18:22 +08:00
jroam
d525c04826 公开几个常用功能方法 2019-05-06 15:03:14 +08:00
John
c170edbdfc add ghttp.Request.GetUrl to get current request URL 2019-05-06 13:52:34 +08:00
John
66e40155a9 add http/https scheme for log of ghttp.Server; add transport setting to ignore tls cert for ghttp.Client; version updates 2019-05-06 09:35:39 +08:00
John
59ad1a9b00 fix issue in incorrect every running logics of gcron.AddOnce 2019-05-05 22:57:13 +08:00
jroam
a5b536e218 去掉不常用参数e 2019-05-05 22:49:52 +08:00
John
0e6c2e790d copy mysql driver to third folder 2019-05-04 23:02:07 +08:00
jroam
5761e73061 优化一些参数性能 2019-05-04 18:14:05 +08:00
John
34c761e9db rename mysql driver from 'mysql' to 'gf-mysql' to avoid multiple imports error 2019-05-04 00:25:02 +08:00