Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'girvo-unix-sockets' into devel | Dominik Picheta | 2016-05-30 | 5 | -3/+60 |
|\ | |||||
| * | Merge branch 'unix-sockets' of https://github.com/girvo/Nim into ↵ | Dominik Picheta | 2016-05-30 | 5 | -3/+60 |
|/| | | | | | | | girvo-unix-sockets | ||||
| * | Adding nimdoc comments as per PR comments | Josh Girvin | 2016-05-30 | 1 | -1/+3 |
| | | | | | | | | As per @dom96 code review comments in PR #3488 | ||||
| * | net.nim: add support for Unix sockets | Michał Zieliński | 2015-10-28 | 5 | -2/+57 |
| | | |||||
* | | Merge branch 'apense-patch-8' into devel | Andreas Rumpf | 2016-05-30 | 1 | -52/+101 |
|\ \ | |||||
| * | | Merge branch 'patch-8' of https://github.com/apense/Nim into apense-patch-8 | Andreas Rumpf | 2016-05-30 | 1 | -52/+101 |
|/| | | |||||
| * | | Fixed silly format error | apense | 2015-06-24 | 1 | -1/+1 |
| | | | | | | | | | Needed other bracket | ||||
| * | | Converted tabs | apense | 2015-06-24 | 1 | -39/+39 |
| | | | | | | | | | Not sure what was going on before | ||||
| * | | Rewrote procs for float32/float64 | apense | 2015-06-24 | 1 | -86/+128 |
| | | | | | | | | | When a proc is `importc`-ed, made explicit. Otherwise, used `[T: float32|float64]` | ||||
* | | | Merge branch 'nanoant-patch/fix-3496-generic-tmpl-args' into devel | Andreas Rumpf | 2016-05-30 | 3 | -11/+107 |
|\ \ \ | |||||
| * | | | refactorings | Andreas Rumpf | 2016-05-30 | 1 | -42/+55 |
| | | | | |||||
| * | | | Merge branch 'patch/fix-3496-generic-tmpl-args' of ↵ | Andreas Rumpf | 2016-05-29 | 3 | -5/+88 |
|/| | | | | | | | | | | | | | | | https://github.com/nanoant/Nim into nanoant-patch/fix-3496-generic-tmpl-args | ||||
| * | | | fixes #3496 | Adam Strzelecki | 2015-10-29 | 3 | -5/+88 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem comes from the fact that macroOrTmpl[...] is transformed by semSubscript which is trying to evaluate macroOrTmpl identifier in place. This is okay for non-generic macros or templates, but wrong for generic ones, that do not have a chance to receive their generic arguments explicitly specified in brackets. Solution: 1. macroOrTmpl[...] where macroOrTmpl is non-generic macro or template, then macroOrTmpl is evaluated before applying brackets. (as before) 2. macroOrTmpl[...] where macroOrTmpl is generic macro or template, then if: a. It comes from macroOrTmpl[...](...) call expr (efInCall), then macroOrTmpl is turned into a symbol (efNoEvaluate) rather than evaluating it in place, then whole bracket expr is returned to semIndirectOp which transforms it to proper generic macro or template call with explicit generic arguments. b. macroOrTmpl[...] does not come from call expr, as above macroOrTmpl is transformed to symbol, then it is transformed into proper generic macro or template call with explicit generic arguments and no normal arguments. | ||||
* | | | make SO_REUSEPORT independent of Linux header | Andreas Rumpf | 2016-05-29 | 1 | -14/+22 |
| | | | |||||
* | | | Merge pull request #4235 from cheatfate/nosignal | Andreas Rumpf | 2016-05-29 | 1 | -0/+4 |
|\ \ \ | | | | | | | | | Solaris dont have MSG_NOSIGNAL | ||||
| * | | | Solaris dont have MSG_NOSIGNAL | cheatfate | 2016-05-29 | 1 | -0/+4 |
| | | | | |||||
* | | | | Merge pull request #3648 from FedericoCeratto/reuse_port | Andreas Rumpf | 2016-05-29 | 4 | -3/+10 |
|\ \ \ \ | |/ / / |/| | | | Add SO_REUSEPORT support | ||||
| * | | | Add SO_REUSEPORT support | Federico Ceratto | 2015-12-16 | 4 | -3/+10 |
| | | | | |||||
* | | | | fixes #3729 | Andreas Rumpf | 2016-05-29 | 2 | -0/+372 |
| | | | | |||||
* | | | | fixes #4177 | Andreas Rumpf | 2016-05-28 | 2 | -2/+19 |
| | | | | |||||
* | | | | widestrs are always available for better interop | Andreas Rumpf | 2016-05-28 | 1 | -2/+1 |
| | | | | |||||
* | | | | Merge branch 'jlp765-db_odbc2' into devel | Andreas Rumpf | 2016-05-28 | 2 | -24/+23 |
|\ \ \ \ | |||||
| * | | | | Merge branch 'db_odbc2' of https://github.com/jlp765/Nim into jlp765-db_odbc2 | Andreas Rumpf | 2016-05-28 | 2 | -24/+23 |
|/| | | | | |||||
| * | | | | Fix row reading procs to not use SQLRowCount, but SQLFetch until returns ↵ | JamesP | 2016-01-24 | 1 | -54/+49 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQL_NO_DATA change SqlCheck() and SqlGetDBMS() to sqlCheck() and sqlGetDBMS() (camelCase consistency) | ||||
* | | | | | minor todo.txt update | Andreas Rumpf | 2016-05-28 | 1 | -1/+0 |
| | | | | | |||||
* | | | | | adds another 'open' to parsecsv; refs #3695 | Andreas Rumpf | 2016-05-28 | 1 | -0/+11 |
| | | | | | |||||
* | | | | | Merge pull request #4135 from FedericoCeratto/patch-8 | Andreas Rumpf | 2016-05-28 | 1 | -0/+4 |
|\ \ \ \ \ | | | | | | | | | | | | | Add another JSON example | ||||
| * | | | | | Add another JSON example | Federico Ceratto | 2016-05-05 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | JSON generation can be a bit tricky, another example might help | ||||
* | | | | | | Merge branch 'mjoud-maxsplit' into devel | Andreas Rumpf | 2016-05-28 | 1 | -10/+29 |
|\ \ \ \ \ \ | |||||
| * | | | | | | Merge branch 'maxsplit' of https://github.com/mjoud/Nim into mjoud-maxsplit | Andreas Rumpf | 2016-05-28 | 1 | -10/+29 |
|/| | | | | | | |||||
| * | | | | | | modified strutils.split | Magnus Jöud | 2015-10-14 | 1 | -9/+6 |
| | | | | | | | |||||
| * | | | | | | added tests for strutils.split | Magnus Jöud | 2015-10-14 | 1 | -0/+6 |
| | | | | | | | |||||
| * | | | | | | added maxsplit argument to strutils.split | Magnus Jöud | 2015-10-14 | 1 | -10/+25 |
| | | | | | | | |||||
* | | | | | | | fixes #3882 | Andreas Rumpf | 2016-05-28 | 2 | -31/+59 |
| | | | | | | | |||||
* | | | | | | | cleanup of #4113 | Andreas Rumpf | 2016-05-28 | 2 | -30/+30 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #4113 from jcosborn/gettypeinst | Andreas Rumpf | 2016-05-28 | 5 | -38/+306 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | getTypeInst | ||||
| * | | | | | | | getTypeInst and getTypeImpl mostly working now and added test | James Osborn | 2016-05-04 | 5 | -32/+251 |
| | | | | | | | | |||||
| * | | | | | | | changed getTypeInst handling for distinct types | James Osborn | 2016-05-04 | 1 | -5/+15 |
| | | | | | | | | |||||
| * | | | | | | | added getTypeInst which includes generic parameters | James Osborn | 2016-05-04 | 4 | -23/+62 |
| | |/ / / / / | |/| | | | | | |||||
* | | | | | | | fixes #2159 | Andreas Rumpf | 2016-05-28 | 4 | -1/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hints and warnings are only emitted for the main package that is compiled | ||||
* | | | | | | | Merge pull request #4232 from moigagoo/patch-3 | Dominik Picheta | 2016-05-28 | 1 | -0/+2 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Stdlib: httpclient: `export strtabs` added. | ||||
| * | | | | | | | Stdlib: httpclient: `export strtabs` added. | Konstantin Molchanov | 2016-05-28 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | | | | | | | makes tests green again | Andreas Rumpf | 2016-05-28 | 1 | -3/+4 |
|/ / / / / / / | |||||
* | | | | | | | fixes critical 'do' parsing bug | Andreas Rumpf | 2016-05-28 | 2 | -2/+82 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #4231 from tautologico/fix-4001 | Andreas Rumpf | 2016-05-28 | 1 | -0/+1 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Fix issue #4001: invalid pragma {. hint[]: off .} | ||||
| * | | | | | | | Deleted test for fix #4001 | Andrei Formiga | 2016-05-27 | 1 | -6/+0 |
| | | | | | | | | |||||
| * | | | | | | | Fix issue #4001: invalid pragma {. hint[]: off .} | Andrei Formiga | 2016-05-27 | 2 | -0/+7 |
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | | | | remove funny debug output | Andreas Rumpf | 2016-05-27 | 1 | -1/+0 |
| | | | | | | | |||||
* | | | | | | | fixes #4225 | Andreas Rumpf | 2016-05-27 | 1 | -1/+1 |
| | | | | | | | |||||
* | | | | | | | fixes #4227 | Andreas Rumpf | 2016-05-27 | 5 | -7/+32 |
| | | | | | | |