Commit Graph

60 Commits

Author SHA1 Message Date
John
b89294561b add gmap.SetIfNotExistFunc/SetIfNotExistFuncLock for gmap; update comment of gmap; update instance feature of gcfg 2019-04-03 23:39:31 +08:00
John
9a0066de62 add file/folder search support for gcfg/gview in order of envpath/pwdpath/binpath/mainpath; add gfile.Search function 2019-03-27 11:48:53 +08:00
John
281bae4116 unit test cases update for package gins 2019-03-13 09:11:50 +08:00
John
218c692fe0 update unit test cases 2019-03-12 23:56:09 +08:00
John
fa69b581e1 update unit test cases 2019-03-12 23:50:30 +08:00
John
e71c837472 update unit test cases 2019-03-12 23:45:44 +08:00
John
782aaabd07 add more unit test cases for gins; update text/template for gview 2019-03-12 23:26:10 +08:00
John
8ae9276732 add disable cache feature option for package gspath 2019-03-12 00:24:31 +08:00
John
f92c1fc527 update CORS feature of ghttp.Response; add more unit cases for ghttp.Server 2019-03-01 23:45:55 +08:00
John
fa256aec9f add example for layout using template engine; fix issue with config error output in gview when no config used 2019-02-27 22:53:39 +08:00
John
6f02ad60eb hot fix issue in tpl auto update 2019-02-14 13:38:52 +08:00
John
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
John
7b85c44444 add Clone for garray; comments of garray update 2019-02-01 22:00:58 +08:00
John
6c6c64bb3b rename category string to text 2019-02-01 20:45:11 +08:00
John
85677b952f fulfil funcs of gstr/gset/garray; move gstr/gregex to the string category; move gtest to the test category 2019-01-30 21:27:03 +08:00
John
72569321fa package comments update 2019-01-16 13:35:16 +08:00
John
0c41909454 pakage comments updates 2019-01-15 23:27:47 +08:00
John
a86f4f8e23 disable auto adding temp directory to gview/gcfg search path; disable backtrace feature in normal log print with glog; fix issue caused by fmt.Fprintf in gfsnotify 2018-12-18 20:03:23 +08:00
John
c961c22cd7 update gview: show empty string when the variable does not exist 2018-12-13 18:24:22 +08:00
John
b7a6d257d5 Fix binary decoding issue of gbinary package. 2018-12-08 18:18:05 +08:00
John
7022486e93 Package gview: build-in function 'date' supports printing current datetime. 2018-12-05 15:52:38 +08:00
John
83f5a9d34e Package gview: build-in function 'date' supports printing current datetime. 2018-12-05 15:48:15 +08:00
John
b19e47783b ghttp增加静态文件目录映射功能;改进gspath目录管理功能;改进gconv的slice转换功能,并增加gconv.Map方法 2018-11-30 09:48:57 +08:00
John
b965dbff70 gvar调用端改进,去掉不必要的并发安全参数;错误提示细节改进 2018-11-25 22:18:36 +08:00
John
ea4764f1f9 当前工作目录为系统临时目录时,gcfg/gview/ghttp模块默认不添加工作目录到搜索路径 2018-11-18 19:45:04 +08:00
John
fe753b0bc8 当前工作目录为系统临时目录时,gcfg/gview/ghttp模块默认不添加工作目录到搜索路径 2018-11-18 19:37:42 +08:00
John
b190ee9fe6 初步完成第一阶段的性能改进 2018-11-17 02:39:23 +08:00
John
2e5ad622b5 修改gview调试信息 2018-11-10 12:35:27 +08:00
John
ee1df4d0e5 服务注册时增加方法定义判断;模板引擎增加strlimit/hidestr/highlight/toupper/tolower/nl2br内置模板函数 2018-10-31 22:39:58 +08:00
John
2d23a18810 框架一些模块的细节改进 2018-10-30 23:58:10 +08:00
John
cb2d40ed1a 去掉gview.HTML 2018-10-29 23:22:01 +08:00
John
ddf979e65b 模板引擎新增若干内置函数;gstr增加对中文截取方法 2018-10-29 22:58:30 +08:00
John
dc28b93f4a 统一使用gview.Params类型作为模板变量类型 2018-10-15 22:58:54 +08:00
John
4da88f093a 统一使用gview.Params类型作为模板变量类型 2018-10-15 22:45:04 +08:00
John
aa4943e606 g.View增加分组名称;模板引擎增加Assign/Assigns方法 2018-10-15 22:39:56 +08:00
john
97032a47c9 模板引擎增加text/html方法,用于过滤html标签及保留html标签 2018-10-15 13:46:51 +08:00
john
80ffcc2470 增加gvar包,并改进默认的g包 2018-09-26 09:58:49 +08:00
John
01c9c165ee 改进gcache/gqueue,提高执行效率,并完善相应的基准测试用例 2018-09-15 16:40:13 +08:00
john
cd99833745 模板引擎示例程序更新 2018-09-03 13:05:41 +08:00
John
6f403d48c2 改进 2018-08-23 21:55:27 +08:00
john
7ce4f02533 增加gfcache包,改进gcfg/gview包 2018-08-21 21:18:56 +08:00
John
85157c8708 ghttp对象路由注册增加Init&Shut自动回调方法;ghttp增加重复路由注册检测功能;gfsnotify增加默认递归Add/Remove特性 2018-08-19 11:25:15 +08:00
john
94256ce393 优化 2018-08-14 19:53:31 +08:00
john
e80ded0e92 gview增加模板变量分隔符设置方法SetDelimiters; bug fix: ILUUA 2018-08-06 12:39:55 +08:00
John
1e42e73ba3 gview模板引擎增加多目录检索功能,gfile包增加源码main包目录获取方法 2018-05-03 16:12:01 +08:00
John
b3f96c587e 修正web server目录安全性校验文件分隔符号处理问题 2018-04-23 17:06:50 +08:00
John
654bfe44a3 完成gpage分页包开发以及示例代码测试 2018-04-22 22:17:20 +08:00
John
7c99eaf30d 完成模板文件自动检测更新特性 2018-04-18 16:16:09 +08:00
John
99c9854b1e 模板引擎增加变量暴露接口,修正ghttp RESTful注册问题 2018-04-18 10:15:07 +08:00
John
5419c494f2 简化直接对模板内容的解析方法,完善TODO 2018-04-17 17:36:59 +08:00