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
Andreas Rumpf
4476226b80
Merge pull request #4226 from cheatfate/tables_templates
...
Introduce template withValue() for tables.nim too.
2016-05-27 11:20:46 +02:00
cheatfate
49c50e4e21
Introduce template withValue() for tables.nim too.
2016-05-27 01:00:05 +03:00
Andreas Rumpf
d2ddeb47c5
Merge pull request #4224 from cheatfate/sharedtables_templates
...
Introduce template withValue()
2016-05-26 16:23:54 +02:00
cheatfate
a2393d0593
Introduce template withValue()
2016-05-26 15:32:14 +03:00
Andreas Rumpf
301d39b882
Merge pull request #4130 from lihf8515/devel
...
Update parsecfg.nim
2016-05-26 10:51:10 +02:00
Andreas Rumpf
d11a1a68fd
Merge pull request #4223 from yglukhov/fix-4222
...
Fixes #4222
2016-05-26 10:43:25 +02:00
Yuriy Glukhov
4d0d2d69f3
Fixes #4222
2016-05-26 08:49:56 +03:00
Andreas Rumpf
ea0dff3783
Merge pull request #4216 from Parashurama/fix_4212
...
fixes issue 4212 && add test for various valid zero floats.
2016-05-25 17:11:57 +02:00
Andreas Rumpf
2bc6acd0ed
gc:stack compiles with --threads:on
2016-05-25 12:04:27 +02:00
Parashurama
4716034a7f
fixes issue 4212 && add test for various valid zero floats.
2016-05-25 11:57:09 +02:00
Andreas Rumpf
ad70fb4ffe
Merge pull request #4213 from oderwat/nimphpext-stack-gc
...
Made nimphpext work with gc:stack.
2016-05-25 02:55:24 +02:00
Andreas Rumpf
58ac5b8065
Merge pull request #4201 from oderwat/oderwat-gitignores
...
Extending .gitignore to skip common IDE files and directories
2016-05-25 02:31:53 +02:00
Hans Raaf
5385798838
Made nimphpext work with gc:stack.
2016-05-25 02:25:48 +02:00
Andreas Rumpf
835bd9aef2
fixes #4212
2016-05-25 01:10:31 +02:00
Andreas Rumpf
bcc91a319c
Nimscript knows about the command line defines
2016-05-24 23:35:39 +02:00
Andreas Rumpf
749abfc39c
Merge pull request #4208 from cheatfate/osproc2
...
Make waitForExit() to use timeout.
2016-05-24 21:30:49 +02:00
Andreas Rumpf
fc4038fade
allow to check verbosity level via compileOption
2016-05-24 20:25:37 +02:00