dumndummer
c19fb7b366
Update sequtils.nim
...
Renamed param name 'pred' to 'op' in mapIt template to better correspond with map proc in system module
2015-01-28 21:44:52 +00:00
Dominik Picheta
6143393adb
Move lib/pure/nodejs to compiler/nodejs. Ref #2017 .
2015-01-28 14:58:31 +00:00
Andreas Rumpf
190cc01f24
Merge pull request #2017 from reactormonk/nodejs-binary
...
Algorithm to find the nodejs binary
2015-01-28 15:14:39 +01:00
Araq
dbe71c715e
documented new C++ support
2015-01-28 12:59:04 +01:00
Simon Hafner
842c7f67ca
added suggested fixes
2015-01-27 13:04:27 -06:00
dumndummer
16254f49a8
Update sets.nim
...
corrected misspelled word in doc comment
2015-01-27 13:35:50 +00:00
Araq
26b853923c
nimsuggest: first version
2015-01-27 01:36:19 +01:00
Araq
b2d1889951
bugfix: don't overwrite the number value in case of a parsing error
2015-01-27 01:33:48 +01:00
Dominik Picheta
defaf5d400
Logging module is now thread-safe.
2015-01-25 17:02:37 +00:00
Dominik Picheta
67e489d4e5
Merge pull request #2009 from gmpreussner/devel
...
Added complex conjugate
2015-01-25 12:39:55 +00:00
gmpreussner
defbd10c19
Added complex conjugate
2015-01-24 22:57:19 -05:00
Dominik Picheta
88450e76fd
Merge pull request #1998 from Varriount/fix-1962
...
Fixes #1962
2015-01-24 11:34:53 +00:00
Varriount
0e65df4bbf
Added documentation for the new http request procedures.
2015-01-23 22:06:57 -05:00
Varriount
41d11e0def
Fix #1906
2015-01-22 18:34:33 -05:00
Varriount
38b7fb94ef
Fixes #1962
2015-01-22 16:45:18 -05:00
Elie Zedeck
1845e05a34
Handle EPOLLHUP to avoid chaos/runaways when using certain file descriptors.
...
A concrete example is pipe file descriptors: they generate EPOLLHUP instead of a EPOLLIN (then 0 bytes read). The loop will run wild if this event is not handled.
2015-01-21 18:15:38 +03:00
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