Commit Graph

1100 Commits

Author SHA1 Message Date
Manu Mtz-Almeida 3df5dfdb7f Faster IndentedJSON + unit tests 2015-05-11 01:04:08 +02:00
Manu Mtz-Almeida a9dad532ae Performance improvement in renders 2015-05-11 01:02:17 +02:00
Manu Mtz-Almeida d6771dc4a5 Cosmetic changes 2015-05-09 03:35:31 +02:00
Manu Mtz-Almeida b690611c38 Better debug logging + unit tests 2015-05-09 03:34:43 +02:00
Manu Mtz-Almeida c391520654 More unit tests for Context .Set and .Get 2015-05-07 16:00:37 +02:00
Manu Mtz-Almeida 2d8f0a4801 Performance improvements when rendering
- Fast path for JSON, XML and plain text rendering
2015-05-07 12:44:52 +02:00
Manu Mtz-Almeida eb3e9293ed Renames []HandleFunc to HandlersChain 2015-05-07 11:30:01 +02:00
Manu Mtz-Almeida 79131ac84d Tail call optimization 2015-05-07 11:28:25 +02:00
Manu Mtz-Almeida f1a2b94b36 Merge branch 'develop' of github.com:gin-gonic/gin into develop 2015-05-06 22:31:19 +02:00
Manu Mtz-Almeida 495e6e116e Adds IndentedJSON 2015-05-06 22:31:01 +02:00
Manu Mtz.-Almeida bd2c864346 Merge pull request #269 from srid/patch-1
Fix typo/grammar in function comment
2015-05-06 18:20:50 +02:00
Manu Mtz.-Almeida 7cd2f2694d Merge pull request #275 from kanerogers/patch-1
Teeny tiny typo fix!
2015-05-06 18:20:26 +02:00
Manu Mtz-Almeida f212ae7728 Updates tree.go + fixes + unit tests 2015-05-05 16:37:33 +02:00
Manu Mtz-Almeida 295201dad2 Adds wercker.yml 2015-05-05 15:19:19 +02:00
Manu Mtz-Almeida f414648384 - More unit tests
- Improves HTML debug render
- InputHolder removed
- More debug logs
2015-05-05 15:06:38 +02:00
Kane Rogers d3302e76c2 Teeny tiny typo fix! 2015-04-30 22:32:50 +10:00
Sridhar Ratnakumar ffd35c365e Fix typo/grammar in function comment 2015-04-25 21:27:04 -07:00
zebozhuang 832d3b9ecb support running with socket 2015-04-13 00:32:31 +08:00
Manu Mtz-Almeida 0a192fb0fa Tons of unit tests 2015-04-09 12:15:02 +02:00
Manu Mtz-Almeida ac1ee3fb86 Adds unit tests for Utils 2015-04-08 15:32:50 +02:00
Manu Mtz-Almeida c61c547539 More unit tests for ResponseWriter 2015-04-08 15:20:39 +02:00
Manu Mtz-Almeida a28104fa21 Better unit tests for BasicAuth middleware 2015-04-08 15:17:41 +02:00
Manu Mtz-Almeida 4d315f474b More unit tests 2015-04-08 14:24:49 +02:00
Manu Mtz-Almeida 8b26264574 Merge branch 'develop' into performance
Conflicts:
	context.go
	context_test.go
	gin_test.go
	recovery_test.go
	utils.go
2015-04-08 13:37:25 +02:00
Manu Mtz-Almeida 54b3decc21 More unit tests 2015-04-08 13:30:17 +02:00
Manu Mtz-Almeida ac0ad2fed8 Improves unit tests 2015-04-08 02:58:35 +02:00
Manu Mtz-Almeida 67f8f6bb69 Captures the path before any middleware modifies it 2015-04-07 23:49:53 +02:00
Manu Mtz-Almeida 9355274051 Updates godep 2015-04-07 23:34:55 +02:00
Manu Mtz-Almeida 873aecefa9 Renames DefaultLogFile to DefaultWriter 2015-04-07 23:34:16 +02:00
Manu Mtz-Almeida 5ee822fcee Improves Context.Input 2015-04-07 23:28:49 +02:00
Manu Mtz-Almeida 1532be7c10 Context Accepted is an exported variable 2015-04-07 23:28:36 +02:00
Manu Mtz.-Almeida 408108f4e7 Merge pull request #254 from bfosberry/fixing-static-bug
Fixing bug with static pathing
2015-04-07 23:19:45 +02:00
Manu Mtz-Almeida af4980ece2 Performance improvement in Auth middleware 2015-04-07 20:00:10 +02:00
Manu Mtz-Almeida a4eadceb45 Merge branch 'develop' into performance
Conflicts:
	binding/form_mapping.go
	context_test.go
2015-04-07 19:59:43 +02:00
Manu Mtz-Almeida d33079d0ec Performance improvement when writing formatted strings 2015-04-07 19:54:17 +02:00
Manu Mtz-Almeida 3fce8efcc6 Renames LoggerInFile() to LoggerWithFile() 2015-04-07 18:56:17 +02:00
Manu Mtz-Almeida dcdf7b92f4 Error middleware does not write if the it is already written 2015-04-07 18:52:33 +02:00
Manu Mtz-Almeida 598c78297c NoWritten and DefaultStatus must be unexported variables 2015-04-07 18:50:16 +02:00
Manu Mtz-Almeida 6c788a4300 Adds default file log option 2015-04-07 18:37:17 +02:00
Manu Mtz-Almeida 0b7dce4bc9 Updates godeps 2015-04-07 18:14:49 +02:00
Manu Mtz-Almeida 9828435f70 Fixes failing unit test 2015-04-07 18:14:33 +02:00
Manu Mtz-Almeida a887e395f3 Fixes integration with "go-validate-yourself"
http://stackoverflow.com/questions/29138591/hiding-nil-values-understanding-why-golang-fails-here
2015-04-07 16:06:53 +02:00
Manu Mtz-Almeida ee3b67eda1 Experimenting with new validation library!!! 2015-04-07 12:30:16 +02:00
Manu Mtz-Almeida ea962038e1 Cosmetic changes 2015-04-07 12:27:23 +02:00
Manu Mtz-Almeida 3abeba82fc Context redirect uses the built-in redirect facility 2015-04-07 12:27:02 +02:00
Manu Mtz-Almeida 1f6304ca25 Cleaning up performance branch 2015-04-07 12:22:38 +02:00
Brendan Fosberry 6167586d8f Fixing bug with static pathing 2015-04-06 14:26:16 -05:00
Manu Mtz-Almeida 3faa81a464 Removes unit test in performance branch temporarily. 2015-03-31 21:53:38 +02:00
Manu Mtz-Almeida 2915fa0ffe Zero allocation router, first commit 2015-03-31 21:39:06 +02:00
Manu Mtz-Almeida c0e8cedc98 Updates Context tests 2015-03-31 20:12:10 +02:00