Dominik Picheta
0ef391b4cc
Merge pull request #4242 from nim-lang/ARAQ-fixes-4221
...
fixes #4221
2016-05-30 16:04:25 +01:00
Andreas Rumpf
b3a3f01d19
fixes #4221
2016-05-30 16:28:20 +02:00
Andreas Rumpf
5edbc20e13
fixes #4238
2016-05-30 16:24:52 +02:00
Andreas Rumpf
95bb19a579
moved random procs from math to its own module (breaking change)
2016-05-30 16:24:52 +02:00
Andreas Rumpf
5575cfd3ec
added pure Nim random stdlib module
2016-05-30 16:24:52 +02:00
Andreas Rumpf
4180f59b27
fixes #1713
2016-05-30 16:24:52 +02:00
Konstantin Molchanov
67ae65064c
Stdlib: asyncdispatch: Add proc all.
2016-05-30 17:30:14 +04:00
Andreas Rumpf
52ab2f86a8
Merge pull request #4239 from cheatfate/i3059
...
Let getTimezone() to work properly on BSD
2016-05-30 15:20:08 +02:00
cheatfate
2264bd6097
Adding OpenBSD to defines
2016-05-30 14:39:29 +03:00
cheatfate
b7f2058833
Resolve #3059
...
Make getTimezone() to work properly on FreeBSD and NetBSD.
2016-05-30 13:18:31 +03:00
Andreas Rumpf
6556ec2ce0
fixes Windows builds
2016-05-30 10:52:47 +02:00
Dominik Picheta
ddca807a89
Merge branch 'girvo-unix-sockets' into devel
2016-05-30 09:38:54 +01:00
Dominik Picheta
a484e3f8c2
Merge branch 'unix-sockets' of https://github.com/girvo/Nim into girvo-unix-sockets
2016-05-30 09:38:37 +01:00
Josh Girvin
b662d22ad1
Adding nimdoc comments as per PR comments
...
As per @dom96 code review comments in PR #3488
2016-05-30 16:29:38 +10:00
Andreas Rumpf
3e8413d2a1
Merge branch 'apense-patch-8' into devel
2016-05-30 02:05:30 +02:00
Andreas Rumpf
0ef7d802ca
Merge branch 'patch-8' of https://github.com/apense/Nim into apense-patch-8
2016-05-30 02:04:25 +02:00
Andreas Rumpf
ad1b34dc30
Merge branch 'nanoant-patch/fix-3496-generic-tmpl-args' into devel
2016-05-30 00:59:27 +02:00
Andreas Rumpf
be2efa69ea
refactorings
2016-05-30 00:59:02 +02:00
Andreas Rumpf
e52044660d
Merge branch 'patch/fix-3496-generic-tmpl-args' of https://github.com/nanoant/Nim into nanoant-patch/fix-3496-generic-tmpl-args
2016-05-29 23:58:25 +02:00
Andreas Rumpf
d727581430
make SO_REUSEPORT independent of Linux header
2016-05-29 22:31:31 +02:00
Andreas Rumpf
7bf7c4d49e
Merge pull request #4235 from cheatfate/nosignal
...
Solaris dont have MSG_NOSIGNAL
2016-05-29 22:22:05 +02:00
Andreas Rumpf
380524caa8
Merge pull request #3648 from FedericoCeratto/reuse_port
...
Add SO_REUSEPORT support
2016-05-29 22:21:56 +02:00
cheatfate
afc922942d
Solaris dont have MSG_NOSIGNAL
2016-05-29 23:01:46 +03:00
Andreas Rumpf
552b13efe4
fixes #3729
2016-05-29 21:01:15 +02:00
Andreas Rumpf
e65c89ee28
fixes #4177
2016-05-28 22:40:28 +02:00
Andreas Rumpf
ab08ee1ce6
widestrs are always available for better interop
2016-05-28 20:18:11 +02:00
Andreas Rumpf
27a7caf176
Merge branch 'jlp765-db_odbc2' into devel
2016-05-28 20:12:29 +02:00
Andreas Rumpf
2ac265696b
Merge branch 'db_odbc2' of https://github.com/jlp765/Nim into jlp765-db_odbc2
2016-05-28 20:11:24 +02:00
Andreas Rumpf
8fe9f672bf
minor todo.txt update
2016-05-28 19:53:43 +02:00
Andreas Rumpf
eba3355393
adds another 'open' to parsecsv; refs #3695
2016-05-28 19:53:43 +02:00
Andreas Rumpf
48f3054404
Merge pull request #4135 from FedericoCeratto/patch-8
...
Add another JSON example
2016-05-28 19:42:24 +02:00
Andreas Rumpf
82db781a3e
Merge branch 'mjoud-maxsplit' into devel
2016-05-28 17:51:03 +02:00
Andreas Rumpf
4e83a24662
Merge branch 'maxsplit' of https://github.com/mjoud/Nim into mjoud-maxsplit
2016-05-28 17:50:36 +02:00
Andreas Rumpf
426306eeb4
fixes #3882
2016-05-28 17:43:47 +02:00
Andreas Rumpf
a406ebbac9
cleanup of #4113
2016-05-28 17:19:44 +02:00
Andreas Rumpf
d3fe4a2db1
Merge pull request #4113 from jcosborn/gettypeinst
...
getTypeInst
2016-05-28 17:14:52 +02:00
Andreas Rumpf
0b84ee167b
fixes #2159
...
Hints and warnings are only emitted for the main package that is compiled
2016-05-28 17:12:51 +02:00
Dominik Picheta
b479c94721
Merge pull request #4232 from moigagoo/patch-3
...
Stdlib: httpclient: `export strtabs` added.
2016-05-28 10:17:13 +01:00
Andreas Rumpf
628ad4b753
makes tests green again
2016-05-28 09:49:16 +02:00
Konstantin Molchanov
6075bd4231
Stdlib: httpclient: export strtabs added.
...
When using `httpclient`, viewing HTTP headers is impossible without importing `strtabs`, which is very much _not_ obvious; it's impossible to know without deep diving into the docs.
Dealing with headers is an essential part of working with HTTP in general, so I propose this change. The situation is analogous to this one with `nre` and `options`: https://github.com/nim-lang/Nim/issues/4158
2016-05-28 10:25:36 +04:00
Andreas Rumpf
0134a51a7c
fixes critical 'do' parsing bug
2016-05-28 02:17:13 +02:00
Andreas Rumpf
64afb1039b
Merge pull request #4231 from tautologico/fix-4001
...
Fix issue #4001 : invalid pragma {. hint[]: off .}
2016-05-28 01:13:49 +02:00
Andrei Formiga
929865ff62
Deleted test for fix #4001
2016-05-27 19:38:54 -03:00
Andrei Formiga
c439ef2e71
Fix issue #4001 : invalid pragma {. hint[]: off .}
...
The bug was in processNote, module pragmas. The code assumed that
a nkBracketExpr AST node always had two children (without testing
this), and tried to access elements with index 0 and 1 in the sons
array of the nkBracketExpr node.
The code that triggered the bug was just {. hint[]: off .}
by itself in a module; in this case the nkBracketExpr has only
one children in the sons array, so the code in processNote caused
an out-of-bounds array access.
This commit also adds a test to guarantee that this pragma is
rejected, as is.
2016-05-27 19:03:15 -03:00
Andreas Rumpf
51c62a211b
remove funny debug output
2016-05-27 21:25:13 +02:00
Andreas Rumpf
8f43e9d18c
fixes #4225
2016-05-27 19:35:48 +02:00
Andreas Rumpf
6d76df8454
fixes #4227
2016-05-27 19:18:08 +02:00
Andreas Rumpf
6ff66bfd51
improve error messages for mismatched templates involving 'untyped' and stmts
2016-05-27 19:18:08 +02:00
Andreas Rumpf
04df004cd1
Merge pull request #4229 from moigagoo/patch-2
...
Stdlib: nre: Add `export options`
2016-05-27 17:27:48 +02:00
Konstantin Molchanov
4006e0b8b7
Stdlib: nre: Add export options
...
This should make `nre` more user friendly. See https://github.com/nim-lang/Nim/issues/4158
2016-05-27 15:27:35 +04:00