Varriount
eb929bd61c
Merge pull request #1842 from def-/unicode-reversed
...
Add reversed proc to unicode module
2015-01-17 18:53:46 -05:00
Varriount
b828bae80d
Merge pull request #1967 from def-/more-renames
...
More renames
2015-01-16 21:27:07 -05:00
Flaviu Tamas
d24fb3d0b9
Fix named argument handling
...
Instead of trying to use the whole parameter, it uses just the RHS, as expected
2015-01-16 19:01:33 -05:00
def
aae3c6c8b7
Get rid of deprecation warnings in pegs
2015-01-16 00:23:33 +01:00
def
ae7ca46a09
Optimize unicode.reversed
...
Runs about 18 times faster:
- combining characters with boolean logic instead of binary search
- No more temporary sequence
- Optimize for ASCII characters
2015-01-15 23:11:02 +01:00
def
2a7a5a69d0
GitHub link fixes: nim-code -> nim-lang
2015-01-15 03:26:59 +01:00
Araq
20774ad43c
fixes the integer conversion regressions
2015-01-13 20:56:31 +01:00
def
f2c1b3be13
Fix body in httpclient
...
- Never append a newline to the body in a HTTP post.
- Pass the entire body to redirections, including multipart data
2015-01-13 18:48:49 +01:00
Araq
4754d2dcbd
Merge branch 'devel' of https://github.com/Araq/Nim into devel
2015-01-13 13:56:15 +01:00
Araq
f7ef00aa3b
make net.nim compile again (quick workaround for a regression)
2015-01-13 13:55:56 +01:00
def
519ec304e4
Fix: Only handle EPOLLERR as an error event
...
When an EPOLLRDHUP is received with epoll_ctl, there can still be data
to be read. So we shouldn't immediately close the socket and abort.
2015-01-13 00:45:17 +01:00
def
711ff185bd
Remove unnecessary check in list comprehensions
2015-01-10 22:54:39 +01:00
Andreas Rumpf
e386b7460b
Merge pull request #1876 from flaviut/unittest-stacktrace
...
Add stack trace to unitest.nim exceptions
2015-01-07 14:15:11 +01:00
Andreas Rumpf
5bd2889267
Merge pull request #1889 from ramnes/devel
...
Happy new year!
2015-01-07 14:14:43 +01:00
Araq
65310266d8
Merge branch 'devel' of https://github.com/Araq/Nim into devel
...
Conflicts:
compiler/semexprs.nim
2015-01-07 02:44:22 +01:00
Araq
b907fac5f9
minor cleanups
2015-01-07 02:41:50 +01:00
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +01:00
Varriount
2a7b9c64a3
Merge pull request #1883 from flaviut/add-unittest-docs
...
Add an example and remove future claims from unittest.nim
2015-01-05 23:01:56 -05:00
Flaviu Tamas
8f446eb541
Properly use the terminal module
...
The documentation for terminal says
> Changing the style is permanent even after program termination! Use the code
> `system.addQuitProc(resetAttributes)` to restore the defaults.
2015-01-05 21:54:06 -05:00
Flaviu Tamas
6a8d38f358
Add an example and remove future claims
...
The future claims haven't been addressed for 3 years, they are unlikely to be
fixed soon.
2015-01-05 21:44:35 -05:00
Flaviu Tamas
d99454314c
Make unittest.nim print stack trace
2015-01-05 18:59:59 -05:00
Dominik Picheta
aaf6d8579e
Merge pull request #1867 from def-/httpclient-multipart
...
Add multipart parameter to httpclient's post and postContent
2015-01-05 17:35:11 +00:00
def
9cf948e0c8
Rename newData() to newMultipartData()
2015-01-05 18:29:17 +01:00
def
e77eec02f3
A few more fixes to httpclient multipart
2015-01-05 01:58:39 +01:00
def
d4955090ae
post should work when extra headers don't have trailing newline
2015-01-05 01:55:52 +01:00
def
a90c388f6b
Check that p is not nil in format
2015-01-05 01:40:47 +01:00
def
38392d2d03
Add multipart parameter to httpclient's post and postContent
2015-01-05 00:14:53 +01:00
def
f56dcd1505
Handle interrupt on epoll_wait graciously (allows strace to work)
2015-01-04 23:07:21 +01:00
def
d60d007281
Close async socket on error (instead of looping on epoll_wait with 100% CPU)
2015-01-04 22:59:41 +01:00
reactormonk
0699928b48
Merge pull request #1852 from def-/fix-uri
...
Remove debug messages. Bad def-.
2015-01-04 02:12:15 +05:00
def
c7fac03abe
Remove debug messages
2015-01-03 21:53:40 +01:00
Dominik Picheta
51f645d293
Merge pull request #1848 from def-/fix-uri
...
Fix uri & httpclient
2015-01-03 17:06:20 +00:00
def
ee62d56cad
Apply #1824 to fix #1823
2015-01-03 17:44:30 +01:00
def
387d598cfb
Minor cleanup
2015-01-03 17:40:33 +01:00
def
76dbce275a
Fix (u: Uri), add test cases and make it work for opaque URIs
2015-01-03 17:23:13 +01:00
def
dd82f0c829
Fix httpclient to properly encode queries (path?queries)
2015-01-03 17:21:54 +01:00
def
7343aa0e9d
Translate md5 module to unsigned numbers
...
Fixes the bug that files > 256 MB get wrong md5 sum calculated
2015-01-03 14:21:26 +01:00
def
0a82b6eb62
Add reversed proc to unicode module
2015-01-02 23:52:46 +01:00
Andreas Rumpf
5023a90438
Merge pull request #1815 from def-/asynchttpserver
...
Add imports to asynchttpserver example
2015-01-02 03:42:59 +01:00
Andre
85c22f3348
ignore signal SIGPIPE on Darwin
2014-12-30 23:39:43 +01:00
def
2d20feb8f1
Add imports to asynchttpserver example
2014-12-29 22:27:31 +01:00
Araq
a0ad3aa183
work around a regression caused by the new 'echo' implementation
2014-12-28 22:24:29 +01:00
Araq
03afbe00b9
minor improvements
2014-12-28 00:52:10 +01:00
Araq
010b8f85c7
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-12-26 22:43:40 +01:00
Araq
caf2f6ecfe
implemented --bestEffort switch for nimfix
2014-12-26 22:43:14 +01:00
Dominik Picheta
32db6798a3
Fixes asynchttpsever.
2014-12-26 19:47:25 +00:00
Dominik Picheta
f972b464cb
Deprecated asyncio module. Fixed old tests.
2014-12-26 19:21:34 +00:00
Dominik Picheta
c35182aca7
Fixes #1745 .
2014-12-26 19:13:27 +00:00
Dominik Picheta
c0207dbae2
More deprecation warning fixes (asyncdispatch, uri).
2014-12-26 16:56:19 +00:00
Dominik Picheta
9471f585c2
Fixes deprecation warnings in asynchttpserver.
2014-12-26 16:53:19 +00:00