Commit Graph

513 Commits

Author SHA1 Message Date
John
d7381399aa fix issue of grand.intn in x86 arch; add router group feature for WebServer 2018-12-20 21:04:43 +08:00
John
d05b497cdb Merge branch 'master' into qiangg_router_group 2018-12-19 18:58:47 +08:00
John
ef919be587 g.DB can use gdb's configurations, not to force using config.toml 2018-12-19 18:35:44 +08:00
John
fff31e0f4f add Charset support for mysql of gdb package; fix issue for glog for log writing failed when the folder path wa deleted 2018-12-19 18:15:22 +08:00
John
48328ae52c router group developing 2018-12-19 14:45:39 +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
0a1e048268 add Model.Clone support for gdb package 2018-12-18 10:10:14 +08:00
John
95db811943 add travis/goreport/golint/govet 2018-12-17 13:02:18 +08:00
John
7a8bd96edc gdb: add support for slice argument in where statement 2018-12-17 10:52:44 +08:00
John
7434dfe6fa done refacting gdb package 2018-12-16 22:22:07 +08:00
John
e67aa63a50 refract gdb package, add complete unit test cases, almost there 2018-12-15 15:50:39 +08:00
John
09e6f10b60 new version of gdb developing 2018-12-14 10:09:45 +08:00
John
c961c22cd7 update gview: show empty string when the variable does not exist 2018-12-13 18:24:22 +08:00
John
105a821069 fix issue: database connection pool does not work expectly 2018-12-12 20:01:10 +08:00
John
51e70be04d Add rewrite feature to WebServer; Add Unique for un sorted array of garray; Fix map conversion issue of gjson. 2018-12-10 20:24:20 +08:00
John
b7a6d257d5 Fix binary decoding issue of gbinary package. 2018-12-08 18:18:05 +08:00
John
83f5a9d34e Package gview: build-in function 'date' supports printing current datetime. 2018-12-05 15:48:15 +08:00
John
431e1051b8 Fix gdb.Model.Count method: Count with no fields checking 2018-12-05 13:52:34 +08:00
John
8481de2b47 Add method for gcache package, to show all map datas of the cache. 2018-12-04 20:23:48 +08:00
John
c973f133de hot fix 2018-12-04 19:50:24 +08:00
John
d23cdcbe57 改进gcache,完善功能及基准测试;改进gconv.Map对struct转换时默认使用json tag作为键名 2018-12-04 19:26:46 +08:00
John
b19e47783b ghttp增加静态文件目录映射功能;改进gspath目录管理功能;改进gconv的slice转换功能,并增加gconv.Map方法 2018-11-30 09:48:57 +08:00
John
aee266eea0 WebServer改进 2018-11-28 20:19:28 +08:00
John
8304769953 代码修正 2018-11-27 20:37:57 +08:00
John
914a74bca9 完善代码示例 2018-11-26 09:33:45 +08:00
John
b965dbff70 gvar调用端改进,去掉不必要的并发安全参数;错误提示细节改进 2018-11-25 22:18:36 +08:00
John
4e3081afee ORM增加mysql datetime参数写入示例 2018-11-24 09:42:21 +08:00
John
aa42ddd3f1 改进随机数生成缓冲区 2018-11-23 21:39:05 +08:00
John
38932f306d 改进gspath缓存数据结构 2018-11-23 16:45:30 +08:00
John
5e7e1077a1 性能改进 2018-11-23 09:20:45 +08:00
John
8f85311332 完善获取数据库配置失败时的错误提示 2018-11-21 00:02:29 +08:00
John
64a22acf84 WebServer允许同一HOOK事件被多次绑定注册,先注册的回调函数优先级更高 2018-11-19 23:13:12 +08:00
John
4e5877923d dev 2018-11-19 21:49:43 +08:00
John
ceaa1a4dd1 Merge branch 'develop' of https://gitee.com/johng/gf into develop 2018-11-19 21:12:21 +08:00
John
9e1ad46c90 改进ghttp.Request,增加SetParam/GetParam请求流程自定义变量方法;gvar模块增加VarRead只读接口 2018-11-19 21:11:43 +08:00
wenzi1
d85332aca1 ORM新增对MSSQL的支持 2018-11-19 11:38:57 +08:00
John
10c3f6d85a 完善程序细节和测试 2018-11-18 22:22:44 +08:00
John
fe753b0bc8 当前工作目录为系统临时目录时,gcfg/gview/ghttp模块默认不添加工作目录到搜索路径 2018-11-18 19:37:42 +08:00
John
6addd64cf0 glog模块日志前缀输出改进 2018-11-17 22:12:41 +08:00
John
f1b93204ac 改进WebSocket默认支持跨域请求;修复gspath模块Search时带有indexFiles的检索问题 2018-11-17 19:45:15 +08:00
John
b1455a1736 去掉gfile中得指针池使用;增加gvalid顺序性校验结果示例程序 2018-11-17 12:09:16 +08:00
John
c89482c3d6 WebServer性能细节改进 2018-11-17 11:17:02 +08:00
John
b190ee9fe6 初步完成第一阶段的性能改进 2018-11-17 02:39:23 +08:00
John
e8101cb02f 性能改进中 2018-11-16 18:20:09 +08:00
John
7f640da9a1 修复gtime.StrToTime的日期解析问题 2018-11-13 22:47:08 +08:00
John
8b36665a76 初步完成gvalid模块校验结果的顺序特性 2018-11-13 00:12:35 +08:00
John
72a18c0a10 glog增加文件指针池使用 2018-11-11 14:21:22 +08:00
John
e4b1b03b7f 改进gfsnotify在windows系统下的监控 2018-11-11 13:59:40 +08:00
John
9c4b454dbe Merge branch 'develop' of https://gitee.com/johng/gf into develop 2018-11-11 13:55:37 +08:00
John
b303bf12b5 增加ghttp下载文件示例 2018-11-11 13:55:32 +08:00