Manu Mtz-Almeida
|
4430610795
|
Updates godep
|
2015-05-31 22:48:38 +02:00 |
|
Manu Mtz-Almeida
|
6e1a6d7c60
|
Updates godep dependencies
|
2015-05-31 22:38:33 +02:00 |
|
Manu Mtz-Almeida
|
766493c916
|
Fixes all unit tests
|
2015-05-31 22:35:49 +02:00 |
|
Manu Mtz-Almeida
|
0d5dc25d39
|
Fixes unit test when running in Windows
|
2015-05-31 18:44:34 +02:00 |
|
Manu Mtz-Almeida
|
1228b03914
|
Fixing some unit tests
|
2015-05-31 18:35:28 +02:00 |
|
Manu Mtz-Almeida
|
218b924e72
|
Updates CHANGELOG
|
2015-05-31 17:35:22 +02:00 |
|
Manu Mtz-Almeida
|
e60087f223
|
Fixed documentation error
|
2015-05-31 17:31:26 +02:00 |
|
Manu Mtz-Almeida
|
0d1b9856ed
|
Adds shortcut for disabling bind validation.
|
2015-05-31 17:03:15 +02:00 |
|
Manu Mtz-Almeida
|
0c9f086b74
|
Renames Validate() to validate()
|
2015-05-31 16:30:00 +02:00 |
|
Manu Mtz-Almeida
|
fecde9fed6
|
Refactors binding validation
|
2015-05-31 16:18:50 +02:00 |
|
Manu Mtz-Almeida
|
aa9078bc73
|
More benchmarks
|
2015-05-31 15:55:10 +02:00 |
|
Manu Mtz-Almeida
|
43bcac2031
|
Updates README
|
2015-05-31 05:00:47 +02:00 |
|
Manu Mtz-Almeida
|
dcb5553a9b
|
Fixes typo
|
2015-05-31 04:37:05 +02:00 |
|
Manu Mtz-Almeida
|
cd92bf4385
|
Adds panic when using too many handlers
|
2015-05-31 04:34:21 +02:00 |
|
Manu Mtz-Almeida
|
86824a640c
|
Updates CHANGELOG
|
2015-05-31 04:33:47 +02:00 |
|
Manu Mtz-Almeida
|
709fde85d1
|
More benchmarks
|
2015-05-30 16:36:14 +02:00 |
|
Manu Mtz-Almeida
|
b7a15d3554
|
Router optimizations
benchmark old ns/op new ns/op delta
Benchmark404 249 237 -4.82%
Benchmark404Many 454 390 -14.10%
|
2015-05-30 15:55:19 +02:00 |
|
Manu Mtz.-Almeida
|
02a5e0929a
|
Merge pull request #319 from bfosberry/fixing-example-bugs
Fixing compile bug
|
2015-05-30 15:08:00 +02:00 |
|
Manu Mtz-Almeida
|
835f66fdc9
|
404 not found performance improvements
benchmark old ns/op new ns/op delta
Benchmark404 737 249 -66.21%
Benchmark404Many 2330 454 -80.52%
benchmark old allocs new allocs delta
Benchmark404 3 0 -100.00%
Benchmark404Many 10 0 -100.00%
benchmark old bytes new bytes delta
Benchmark404 115 68 -40.87%
Benchmark404Many 235 57 -75.74%
|
2015-05-30 14:45:13 +02:00 |
|
Manu Mtz-Almeida
|
deb137cdd2
|
Adds benchmarks
|
2015-05-30 14:43:09 +02:00 |
|
Manu Mtz-Almeida
|
48633f7001
|
Better documentation
|
2015-05-29 21:03:41 +02:00 |
|
Manu Mtz-Almeida
|
66e9feb622
|
Optimizes tree lookup
|
2015-05-29 21:03:28 +02:00 |
|
Manu Mtz-Almeida
|
9584e4ea5c
|
Fix for #310
|
2015-05-29 20:34:41 +02:00 |
|
Manu Mtz-Almeida
|
e899d8a99e
|
Code cleanup + documentation
|
2015-05-28 03:22:34 +02:00 |
|
Manu Mtz.-Almeida
|
5680762712
|
Merge pull request #305 from JustinBeckwith/patch-1
add querystring parameter example to readme
|
2015-05-28 03:16:49 +02:00 |
|
Manu Mtz-Almeida
|
b96f68ce7b
|
Fixes RunTLS() implementation
- thanks @Dal-Papa
|
2015-05-28 03:02:53 +02:00 |
|
Manu Mtz.-Almeida
|
34411c896f
|
Merge pull request #312 from kmulvey/add-logger-tests
Added tests for colorForMethod() and colorForStatus()
|
2015-05-28 02:59:45 +02:00 |
|
Manu Mtz.-Almeida
|
49415b16d5
|
Merge pull request #309 from konjoot/readme-fix
Updated "Multipart Form" section in Readme.md
|
2015-05-27 16:14:01 +02:00 |
|
Manu Mtz-Almeida
|
54a86280f9
|
Testing more use cases.
|
2015-05-26 17:49:25 +02:00 |
|
Manu Mtz-Almeida
|
a843d320a5
|
Better unit tests for binding forms
|
2015-05-26 17:22:39 +02:00 |
|
Manu Mtz-Almeida
|
ec1ce34d32
|
Merge branch 'multipart-form-data-fix' of https://github.com/konjoot/gin
- the merge was manually modified before committing.
|
2015-05-26 16:47:10 +02:00 |
|
Manu Mtz-Almeida
|
af8e099dfd
|
Fixes multipart integration
|
2015-05-26 16:31:05 +02:00 |
|
Manu Mtz-Almeida
|
500d745123
|
PostForm() handles multipart post
|
2015-05-26 16:16:57 +02:00 |
|
Manu Mtz-Almeida
|
195ea88a28
|
Cosmetic changes
|
2015-05-26 12:35:05 +02:00 |
|
Manu Mtz-Almeida
|
4797530476
|
Fixes example code
|
2015-05-26 12:15:43 +02:00 |
|
Manu Mtz-Almeida
|
d209329891
|
Updates documentation
|
2015-05-26 12:13:51 +02:00 |
|
Manu Mtz-Almeida
|
4c1447bc29
|
Fixes unit tests
|
2015-05-26 12:11:59 +02:00 |
|
Manu Mtz-Almeida
|
865ea804c9
|
Renames new API for query/postform and params.
|
2015-05-26 12:08:33 +02:00 |
|
Manu Mtz-Almeida
|
40d41bbe96
|
Updates CHANGELOG
|
2015-05-24 17:45:31 +02:00 |
|
Manu Mtz-Almeida
|
98951c44aa
|
Return 404 when listing empty directory
|
2015-05-24 17:03:44 +02:00 |
|
Manu Mtz-Almeida
|
fcfe65685a
|
Refactored StaticFS()
- different approach to disable directory listing.
|
2015-05-24 16:29:55 +02:00 |
|
Manu Mtz-Almeida
|
0a9030f9d7
|
ClientIP() must trim the white spaces
|
2015-05-24 15:35:08 +02:00 |
|
Manu Mtz-Almeida
|
80d3cc6b75
|
Adds test for single IP in X-Forwarded-For
|
2015-05-24 15:28:58 +02:00 |
|
Manu Mtz-Almeida
|
967e62337a
|
form mapping optimisation
|
2015-05-24 03:56:11 +02:00 |
|
Manu Mtz-Almeida
|
208e1f5569
|
Merge branch 'master' of https://github.com/remerge/gin
Conflicts:
binding/binding.go
|
2015-05-24 03:33:21 +02:00 |
|
Manu Mtz-Almeida
|
eb91af753d
|
Better debug warning message
|
2015-05-24 01:21:23 +02:00 |
|
Manu Mtz-Almeida
|
e2adae9003
|
Solution for Google App Engine?
https://cloud.google.com/appengine/docs/go/logs/
|
2015-05-24 01:00:17 +02:00 |
|
Manu Mtz-Almeida
|
a2105ce34c
|
Fast path for setting headers.
- No heap allocation
- No indirection
- CanonicalMIMEHeaderKey() is not called
|
2015-05-23 16:39:25 +02:00 |
|
Manu Mtz-Almeida
|
35fd7fb480
|
JSON flags are not longer needed.
|
2015-05-23 02:01:43 +02:00 |
|
Manu Mtz-Almeida
|
2ebb6dcb95
|
Using uint64 for ErrorType
|
2015-05-23 01:59:36 +02:00 |
|
Manu Mtz.-Almeida
|
a373dc0deb
|
Merge pull request #299 from 4gophers/master
Patch for #298
|
2015-05-23 01:36:15 +02:00 |
|
Manu Mtz-Almeida
|
992b00f96a
|
Cosmetic changes
|
2015-05-22 19:21:35 +02:00 |
|
Manu Mtz-Almeida
|
ffaf49da0e
|
Adds MIT license
|
2015-05-22 19:21:23 +02:00 |
|
Manu Mtz-Almeida
|
4eeca21039
|
Errors conforms to MarshalJSON interface
|
2015-05-22 18:34:42 +02:00 |
|
Manu Mtz-Almeida
|
9163ee543d
|
Merge branch 'develop'
|
2015-05-22 17:00:07 +02:00 |
|
Manu Mtz-Almeida
|
66fa43f9ae
|
Preparing release Gin v1.0rc1
|
2015-05-22 16:55:16 +02:00 |
|
Manu Mtz-Almeida
|
8549810e2e
|
Using "validator.v5"
|
2015-05-22 16:46:21 +02:00 |
|
Manu Mtz-Almeida
|
37b6f6c179
|
Fixing new errors API
|
2015-05-22 16:39:15 +02:00 |
|
Manu Mtz-Almeida
|
306da81aaf
|
Cosmetic changes in render
|
2015-05-22 04:44:29 +02:00 |
|
Manu Mtz-Almeida
|
71bd9f4500
|
New JSON error facilities
|
2015-05-22 04:43:43 +02:00 |
|
Manu Mtz-Almeida
|
b7205a6ec2
|
Fixes new errors API.
|
2015-05-22 03:43:39 +02:00 |
|
Manu Mtz-Almeida
|
e94247f9ad
|
New errors API!!
|
2015-05-22 03:25:21 +02:00 |
|
Manu Mtz-Almeida
|
5f76ba2022
|
Context.Engine renamed to Context.engine
|
2015-05-22 02:24:13 +02:00 |
|
Manu Mtz-Almeida
|
880dd7f3cf
|
Fixes bug in HTMLDebug
|
2015-05-21 20:27:25 +02:00 |
|
Manu Mtz-Almeida
|
cac77e04e3
|
Adds option for listing directory files + better unit tests
|
2015-05-21 17:01:13 +02:00 |
|
Manu Mtz-Almeida
|
72f200ac56
|
Adds StaticFile()
|
2015-05-21 16:59:58 +02:00 |
|
Manu Mtz-Almeida
|
66251d1741
|
Simplifies c.File()
|
2015-05-21 15:49:10 +02:00 |
|
Manu Mtz-Almeida
|
caa75c6201
|
Updates CHANGELOG
|
2015-05-20 13:15:49 +02:00 |
|
Manu Mtz-Almeida
|
393f723cd0
|
Merge branch 'develop' of https://github.com/zebozhuang/gin into develop
Conflicts:
gin.go
|
2015-05-20 11:41:46 +02:00 |
|
Manu Mtz-Almeida
|
c2abae6840
|
debugPrintRoute() is called in the lowest layer of abstraction
|
2015-05-20 11:32:39 +02:00 |
|
Manu Mtz-Almeida
|
138e4b49bf
|
Using WrapH() internally.
|
2015-05-20 11:30:22 +02:00 |
|
Manu Mtz-Almeida
|
825737a78c
|
Merge branch 'develop' of github.com:gin-gonic/gin into develop
|
2015-05-20 10:52:24 +02:00 |
|
Manu Mtz-Almeida
|
5d3fbc377c
|
Adds StaticFS(path, filesystem)
|
2015-05-20 10:50:59 +02:00 |
|
Manu Mtz-Almeida
|
874061e4d4
|
Updates godeps manifest
|
2015-05-20 03:28:51 +02:00 |
|
Manu Mtz-Almeida
|
c4914f0ff7
|
Adds WrapF() and WrapH()
|
2015-05-20 00:39:52 +02:00 |
|
Manu Mtz-Almeida
|
e59475c615
|
Drops LINK and UNLINK shortcuts
|
2015-05-20 00:32:06 +02:00 |
|
Manu Mtz-Almeida
|
022304e7d9
|
Better API for RouteGroup.Handle()
|
2015-05-19 23:22:35 +02:00 |
|
Manu Mtz-Almeida
|
53329e4646
|
Testing new Any routing.
|
2015-05-19 23:00:55 +02:00 |
|
Manu Mtz-Almeida
|
a91893d22b
|
Fixes auth test
|
2015-05-19 22:19:25 +02:00 |
|
Manu Mtz-Almeida
|
4f855faef2
|
Adds helper function. Wrap(http.HandlerFund) gin.HandlerFun
|
2015-05-19 22:18:58 +02:00 |
|
Manu Mtz-Almeida
|
f2ab821223
|
Dropping bsearch in BasicAuth()
|
2015-05-19 20:35:38 +02:00 |
|
Manu Mtz-Almeida
|
bb98ec0490
|
Cosmetic changes in auth.go
|
2015-05-19 20:20:52 +02:00 |
|
Manu Mtz-Almeida
|
81b08a554e
|
Fixes important bug in Basic Auth when using custom realm.
|
2015-05-19 20:15:28 +02:00 |
|
Manu Mtz-Almeida
|
0cb52ccef7
|
Improves unit test coverage
|
2015-05-19 02:29:32 +02:00 |
|
Manu Mtz-Almeida
|
36fb71ff2f
|
Updates README
|
2015-05-19 01:19:00 +02:00 |
|
Manu Mtz-Almeida
|
792316b2e4
|
Fixes .travis.yml
|
2015-05-19 01:14:42 +02:00 |
|
Manu Mtz-Almeida
|
ac2a29dd73
|
Testing coveralls
|
2015-05-19 01:00:17 +02:00 |
|
Manu Mtz-Almeida
|
acf0c2dbb0
|
Unit tests for errors.Errors()
|
2015-05-19 00:49:01 +02:00 |
|
Manu Mtz-Almeida
|
eb568d1a0c
|
Removes debug variables
|
2015-05-19 00:48:19 +02:00 |
|
Manu Mtz-Almeida
|
cd6e95f0e4
|
Unix sockets support
|
2015-05-19 00:45:08 +02:00 |
|
Manu Mtz-Almeida
|
f9952b0545
|
Experimenting with golang.org/x/net/context
|
2015-05-18 21:26:29 +02:00 |
|
Manu Mtz-Almeida
|
c467186d20
|
Renames Negotiate.HTMLPath to Negotiate.HTMLName
|
2015-05-18 20:52:26 +02:00 |
|
Manu Mtz-Almeida
|
6313545df7
|
Drops c.Return() API
|
2015-05-18 20:51:52 +02:00 |
|
Manu Mtz-Almeida
|
afb32ac6ac
|
Adds new unit test: static + middleware
|
2015-05-18 20:51:08 +02:00 |
|
Manu Mtz-Almeida
|
9ecb76ef6e
|
Cosmetic changes
|
2015-05-18 20:50:46 +02:00 |
|
Manu Mtz-Almeida
|
21b5154fd7
|
New rendering pipeline
|
2015-05-18 16:09:15 +02:00 |
|
Manu Mtz-Almeida
|
947b53d4a2
|
New Render API
|
2015-05-18 15:45:24 +02:00 |
|
Manu Mtz-Almeida
|
3066c35754
|
Renames RouterGroup.absolutePath to .BasePath
|
2015-05-16 18:08:19 +02:00 |
|
Manu Mtz-Almeida
|
05d01d2282
|
Restored old limits
|
2015-05-14 22:52:37 +02:00 |
|
Manu Mtz-Almeida
|
e33ea855d7
|
Message for attackers
|
2015-05-14 22:49:42 +02:00 |
|