Manu Mtz-Almeida
|
4a37b0808b
|
Refactors Context initialization
|
2015-03-31 17:39:30 +02:00 |
|
Manu Mtz-Almeida
|
df3ed787e1
|
Fixes debug HTML rendering:
- Stateless algorithm
|
2015-03-31 17:36:13 +02:00 |
|
Manu Mtz-Almeida
|
59d949d350
|
Moves errorMsg to errors.go
|
2015-03-26 14:10:46 +01:00 |
|
Manu Mtz-Almeida
|
9d59fc51bc
|
math package is missing
|
2015-03-26 14:07:01 +01:00 |
|
Manu Mtz-Almeida
|
31323f694b
|
AbortIndex is missing
|
2015-03-26 04:27:34 +01:00 |
|
Manu Mtz-Almeida
|
1e417c7a50
|
Refactors Context allocation
|
2015-03-25 19:33:17 +01:00 |
|
Manu Mtz-Almeida
|
aa9fad5ad8
|
Fixes NoMethod / NoRoute handlers
|
2015-03-25 16:53:58 +01:00 |
|
Manu Mtz-Almeida
|
48fec0650d
|
Cosmetic changes
|
2015-03-23 06:03:12 +01:00 |
|
Manu Mtz-Almeida
|
3e3ced70d4
|
Using log.Panic instead
|
2015-03-23 05:50:10 +01:00 |
|
Manu Mtz-Almeida
|
34b1d0262e
|
Refactors response_writer.go
|
2015-03-23 04:45:33 +01:00 |
|
Manu Mtz-Almeida
|
251b73fc70
|
Fixes #239 bug
|
2015-03-23 04:45:03 +01:00 |
|
Manu Mtz-Almeida
|
8f31fbc502
|
Refactors render.go
|
2015-03-23 04:42:05 +01:00 |
|
Manu Mtz-Almeida
|
615c62d736
|
Some cosmetic changes
|
2015-03-23 04:41:29 +01:00 |
|
Manu Mtz-Almeida
|
c8ee142717
|
Google App Engine does not support fmt. Using log instead
|
2015-03-23 04:40:33 +01:00 |
|
Manu Mtz-Almeida
|
3285007fbb
|
Refactores context.go
|
2015-03-23 04:39:53 +01:00 |
|
Manu Mtz-Almeida
|
4103061a4a
|
Refactores BasicAuth
|
2015-03-23 04:38:32 +01:00 |
|
Manu Mtz.-Almeida
|
1479952fbc
|
Merge pull request #139 from mirzac/fixed-debugPrint
fixed debugPrint
|
2014-10-28 14:34:55 +01:00 |
|
Manu Mtz-Almeida
|
aa7b00a083
|
General refactoring. Part 2.
|
2014-10-09 01:40:42 +02:00 |
|
Manu Mtz-Almeida
|
030706c39a
|
Using absolutePath in static properly
|
2014-10-08 21:49:08 +02:00 |
|
Manu Mtz-Almeida
|
07a3961941
|
General refactoring
|
2014-10-08 21:37:26 +02:00 |
|
Manu Mtz.-Almeida
|
94415333ed
|
Merge pull request #120 from bredov/issue-119
Fix for #119. gin.LoadHTML* incorrectly works in debug mode.
|
2014-10-08 19:29:03 +02:00 |
|
Manu Mtz.-Almeida
|
292f1ec6df
|
Merge pull request #132 from smira/develop
Validate should ignore unexported struct fields.
|
2014-10-08 19:21:04 +02:00 |
|
Manu Mtz-Almeida
|
0808f8a824
|
Adds logger source code
|
2014-09-13 20:37:27 +02:00 |
|
Manu Mtz.-Almeida
|
6fcc0a5b1d
|
Updates logger screenshot
|
2014-09-13 20:26:47 +02:00 |
|
Manu Mtz-Almeida
|
a6ef27d321
|
Merge branch 'negotiation' into develop
|
2014-09-13 20:10:09 +02:00 |
|
Manu Mtz-Almeida
|
b4a6510edf
|
Enables colored tag for http method in gin.Logger()
|
2014-09-13 15:51:29 +02:00 |
|
Manu Mtz-Almeida
|
e10ed9482d
|
Merge branch 'master' of github.com:se77en/gin into develop
|
2014-09-13 15:47:26 +02:00 |
|
Manu Mtz-Almeida
|
fd2e342569
|
Adds API for interrogating current mode
It returns one of the following values:
- gin. DebugMode
- gin. ReleaseMode
- gin. TestMode
|
2014-09-08 20:54:08 +02:00 |
|
Manu Mtz-Almeida
|
d3249800e9
|
Removing exclamation marks in Go.
|
2014-09-03 17:42:49 +02:00 |
|
Manu Mtz-Almeida
|
21e53c0db6
|
Fixes responseWriter.Size()
- "written" boolean is not longer needed
- size is reseted
- addition instead of assignation
|
2014-09-03 04:25:08 +02:00 |
|
Manu Mtz-Almeida
|
012c935a46
|
Better errors in Context.Negotiation
|
2014-08-31 18:41:11 +02:00 |
|
Manu Mtz-Almeida
|
275bdc194e
|
Fixes Content.Negotiate API
|
2014-08-31 18:28:18 +02:00 |
|
Manu Mtz-Almeida
|
ffea7e88a2
|
Working on content type negotiation API
|
2014-08-30 22:22:57 +02:00 |
|
Manu Mtz-Almeida
|
3b079bb6f7
|
Merge branch 'master' into develop
|
2014-08-29 19:50:58 +02:00 |
|
Manu Mtz-Almeida
|
8e5397bfa0
|
Adds in-code license
|
2014-08-29 19:49:50 +02:00 |
|
Manu Mtz-Almeida
|
8f1bbc6b6a
|
gin.responseWriter implements http.Flusher and http.CloseNotifier
|
2014-08-26 17:52:58 +02:00 |
|
Manu Mtz-Almeida
|
7a87c5cbd4
|
Referencing the http.Hijacker interface
|
2014-08-26 17:50:07 +02:00 |
|
Manu Mtz-Almeida
|
b3f322c5fc
|
Fixes bug when status code is negative
|
2014-08-24 04:35:11 +02:00 |
|
Manu Mtz.-Almeida
|
45fcd18064
|
Merge pull request #99 from loongmxbt/patch-1
Update README.md
|
2014-08-21 16:12:03 +02:00 |
|
Manu Mtz-Almeida
|
2d94e27243
|
Merge branch 'develop'
|
2014-08-21 01:15:31 +02:00 |
|
Manu Mtz-Almeida
|
a3a575392c
|
Merge branch 'patch-1' of https://github.com/yosssi/gin-1 into develop
|
2014-08-21 01:14:49 +02:00 |
|
Manu Mtz-Almeida
|
2ec71baf25
|
Updates CHANGELOG and AUTHORS
|
2014-08-21 01:13:37 +02:00 |
|
Manu Mtz-Almeida
|
46225ea53a
|
Fixes html debug mode
|
2014-08-21 01:04:35 +02:00 |
|
Manu Mtz-Almeida
|
94f2f3f7eb
|
Using test mode
|
2014-08-21 01:01:42 +02:00 |
|
Manu Mtz-Almeida
|
0ed259ca34
|
Adds TestMode
|
2014-08-21 01:01:05 +02:00 |
|
Manu Mtz-Almeida
|
378610b3b2
|
HTML template debug mode.
- theHTML templates are reloaded each time
|
2014-08-20 18:14:10 +02:00 |
|
Manu Mtz-Almeida
|
7963d018a8
|
Merge branch 'Req-to-Request' of https://github.com/yuyabee/gin into develop
|
2014-08-19 16:08:11 +02:00 |
|
Manu Mtz-Almeida
|
a0437ff9f2
|
Typo in AUTHORS
|
2014-08-19 03:41:05 +02:00 |
|
Manu Mtz-Almeida
|
809eee8a72
|
Adds debug mode (part 1)
- Adds API to switch the gin's mode
- Log listening port
- Log routes
|
2014-08-19 03:40:52 +02:00 |
|
Manu Mtz-Almeida
|
312e032960
|
Updates AUTHORS.md
|
2014-08-18 21:01:54 +02:00 |
|
Manu Mtz-Almeida
|
2b486327db
|
Updates CHANGELOG
|
2014-08-18 20:55:33 +02:00 |
|
Manu Mtz-Almeida
|
d85245b5aa
|
Improves unit tests
- Reusing much more code
- More coverage
- Cleanup
- Fixes some cases
|
2014-08-18 19:48:48 +02:00 |
|
Manu Mtz-Almeida
|
e11ff5bacb
|
response_writes uses 200 as default status code.
|
2014-08-18 19:48:01 +02:00 |
|
Manu Mtz-Almeida
|
3bd33ca666
|
Merge branch 'tests' of https://github.com/alexandernyquist/gin into alexandernyquist-tests
|
2014-08-18 18:23:48 +02:00 |
|
Manu Mtz-Almeida
|
ceec1b6443
|
Merge branch 'redirect' of https://github.com/alexandernyquist/gin into develop
|
2014-08-18 17:19:32 +02:00 |
|
Manu Mtz-Almeida
|
faf181db72
|
Merge branch 'readme-binding' of https://github.com/alexandernyquist/gin into alexandernyquist-readme-binding
|
2014-08-18 17:16:41 +02:00 |
|
Manu Mtz-Almeida
|
dcafad3ced
|
Deferring WriteHeader. Part 1
|
2014-08-18 05:24:48 +02:00 |
|
Manu Mtz-Almeida
|
78c7101ff6
|
Check existence of X-Forwarded-For by comparing the length
|
2014-08-18 04:52:01 +02:00 |
|
Manu Mtz.-Almeida
|
c3abaf9afc
|
Merge pull request #73 from gin-gonic/community
adding info for IRC and mailing list
|
2014-07-18 18:09:30 +02:00 |
|
Manu Mtz-Almeida
|
97729696c0
|
Updates CHANGELOG
|
2014-07-18 15:25:55 +02:00 |
|
Manu Mtz-Almeida
|
7a6d58d8c4
|
Updates README
|
2014-07-18 15:22:38 +02:00 |
|
Manu Mtz-Almeida
|
4acef47df5
|
Adds CHANGELOG
|
2014-07-18 15:20:46 +02:00 |
|
Manu Mtz-Almeida
|
590bda514b
|
Updates AUTHORS
|
2014-07-18 14:59:44 +02:00 |
|
Manu Mtz.-Almeida
|
3716419fca
|
Merge pull request #76 from mopemope/fix-plainrender
Fix Corrupted plainRender
|
2014-07-18 14:53:00 +02:00 |
|
Manu Mtz-Almeida
|
cc94aa2dd9
|
Fixes pathFor()
|
2014-07-18 01:34:29 +02:00 |
|
Manu Mtz-Almeida
|
d0fb4a6bf0
|
Fixes new NoRoute() logic
|
2014-07-18 00:29:44 +02:00 |
|
Manu Mtz-Almeida
|
c7fdc2e03a
|
Errors in context are removed
|
2014-07-18 00:29:20 +02:00 |
|
Manu Mtz-Almeida
|
48f4914165
|
Performance improvement
- Reduces number of allocations per context
- Improves CPU cache usage
|
2014-07-18 00:10:28 +02:00 |
|
Manu Mtz-Almeida
|
184a02ee2d
|
Improves performance of NoRouter() handler
|
2014-07-17 23:43:41 +02:00 |
|
Manu Mtz-Almeida
|
4731e82bb7
|
Renames NotFound() to NoRoute()
|
2014-07-17 23:42:23 +02:00 |
|
Manu Mtz-Almeida
|
d91cfbade4
|
Renames NotFound404 to NotFound
|
2014-07-17 20:18:50 +02:00 |
|
Manu Mtz-Almeida
|
15c27c712d
|
Adds HEAD method in Static file serving
|
2014-07-17 02:07:18 +02:00 |
|
Manu Mtz-Almeida
|
dda70bf382
|
Refactors Static() file serving
|
2014-07-17 02:02:09 +02:00 |
|
Manu Mtz-Almeida
|
8ed55606c3
|
Adds context.File(path)
|
2014-07-17 02:01:42 +02:00 |
|
Manu Mtz.-Almeida
|
0ca4d36b76
|
Merge pull request #70 from fmd/develop-templates
Renames SetHTTPTemplate to SetHTMLTemplate
|
2014-07-17 00:27:39 +02:00 |
|
Manu Mtz-Almeida
|
dc43372610
|
Splitting source code in different files
|
2014-07-16 20:14:03 +02:00 |
|
Manu Mtz-Almeida
|
3cf2d1338f
|
Updates AUTHORS file
|
2014-07-16 12:18:02 +02:00 |
|
Manu Mtz.-Almeida
|
18d8c2a4c8
|
Merge pull request #69 from mopemope/fix-variadic
Fix variadic parameter
|
2014-07-16 12:06:21 +02:00 |
|
Manu Mtz-Almeida
|
fc5caf0706
|
Adds AUTHORS file
Inspired by the cocos2d-iphone community! My old house
|
2014-07-16 03:40:58 +02:00 |
|
Manu Mtz-Almeida
|
7cf643aace
|
Merge branch 'lucas-clemente-master' into develop
|
2014-07-16 02:55:03 +02:00 |
|
Manu Mtz-Almeida
|
a1ff907768
|
Fixed Content-Type for json render. Thank you @mdigger
|
2014-07-16 02:49:22 +02:00 |
|
Manu Mtz-Almeida
|
3ef5e4fead
|
Merge branch 'master' of https://github.com/lucas-clemente/gin into lucas-clemente-master
|
2014-07-15 17:55:28 +02:00 |
|
Manu Mtz-Almeida
|
5ea7a92267
|
Adds flexible render system
|
2014-07-15 17:41:56 +02:00 |
|
Manu Mtz-Almeida
|
94bc35bb2d
|
Using keyed initialization to fix app-engine integration
|
2014-07-13 16:56:26 +02:00 |
|
Manu Mtz-Almeida
|
f63a354b40
|
Normal log and error log are printed in the same call.
|
2014-07-13 00:18:33 +02:00 |
|
Manu Mtz-Almeida
|
e2242b59e6
|
Fixes "Can't unmarshal JSON array with #63"
|
2014-07-13 00:17:01 +02:00 |
|
Manu Mtz-Almeida
|
2078ecd8e1
|
Renaming Context.Req to Context.Request
|
2014-07-08 16:57:04 +02:00 |
|
Manu Mtz-Almeida
|
6b6ec5be77
|
Merge branch 'master' of https://github.com/mdigger/gin into mdigger-master
|
2014-07-08 14:39:02 +02:00 |
|
Manu Mtz-Almeida
|
545101811a
|
Merge branch 'develop'
Conflicts:
README.md
|
2014-07-08 01:32:41 +02:00 |
|
Manu Mtz-Almeida
|
b6be4ba58c
|
Updates travis. Only compile for Go1.3
|
2014-07-08 01:16:51 +02:00 |
|
Manu Mtz-Almeida
|
25e7330e65
|
Merge branch 'sync_pool' into develop
Conflicts:
logger.go
|
2014-07-08 01:13:52 +02:00 |
|
Manu Mtz-Almeida
|
f973263072
|
Merge branch 'master' of github.com:gin-gonic/gin
|
2014-07-08 01:10:35 +02:00 |
|
Manu Mtz-Almeida
|
058201713b
|
New static file serving
|
2014-07-08 01:09:48 +02:00 |
|
Manu Mtz-Almeida
|
3295c6e9c4
|
Improves error management
|
2014-07-08 00:16:41 +02:00 |
|
Manu Mtz-Almeida
|
b5ddd484de
|
Timestamp is calculated once
|
2014-07-07 03:04:06 +02:00 |
|
Manu Mtz-Almeida
|
3e4033673e
|
Using sync.Pool instead of a channel
|
2014-07-06 21:09:23 +02:00 |
|
Manu Mtz-Almeida
|
31417dbc63
|
Updates task list.
|
2014-07-06 18:57:58 +02:00 |
|
Manu Mtz-Almeida
|
99cc7ca362
|
Go1.1 is not supported anymore
|
2014-07-06 18:41:07 +02:00 |
|
Manu Mtz-Almeida
|
c1775e85cc
|
Adds source IP in built-in logger
|
2014-07-06 18:26:40 +02:00 |
|
Manu Mtz-Almeida
|
f8d85c1b4d
|
Fixes MarshalXML() and renames initial "H" tag to "map".
|
2014-07-06 18:25:17 +02:00 |
|