Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #7992 from yglukhov/fromSockAddr-compile-error | Andreas Rumpf | 2018-06-08 | 1 | -0/+12 |
|\ | | | | | Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddr | ||||
| * | Fixed compilation error when Sockaddr_in4 or Sockaddr_in6 passed to fromSockAddr | Yuriy Glukhov | 2018-06-07 | 1 | -0/+12 |
| | | |||||
* | | Fixes #7985 | Yuriy Glukhov | 2018-06-07 | 1 | -0/+19 |
|/ | |||||
* | Updated tests for CritBitTree $ | data-man | 2018-06-07 | 1 | -3/+3 |
| | |||||
* | Cleanup copypaste leftover | Yuriy Glukhov | 2018-06-07 | 1 | -4/+0 |
| | |||||
* | Fixed yield in nkBlockExpr | Yuriy Glukhov | 2018-06-07 | 1 | -0/+15 |
| | |||||
* | Merge pull request #7550 from jangko/fix4799 | Andreas Rumpf | 2018-06-06 | 4 | -0/+305 |
|\ | | | | | fixes #4799, varargs now can accept polymorphic types | ||||
| * | fixed wrong test | andri lim | 2018-06-06 | 1 | -4/+4 |
| | | |||||
| * | combine/reduce test | andri lim | 2018-06-05 | 7 | -105/+87 |
| | | |||||
| * | fix test case output | andri lim | 2018-06-05 | 1 | -1/+1 |
| | | |||||
| * | add more test to 4799 | andri lim | 2018-06-05 | 8 | -0/+323 |
| | | |||||
* | | Fixed tests | Yuriy Glukhov | 2018-06-06 | 3 | -8/+24 |
| | | |||||
* | | Fixed yield in dotExpr and nkOfBranch lowering. Closes #7969. | Yuriy Glukhov | 2018-06-06 | 1 | -0/+24 |
| | | |||||
* | | Merge pull request #7907 from GULPF/lexer-unicode-fix | Andreas Rumpf | 2018-06-06 | 3 | -20/+27 |
|\ \ | | | | | | | Lexer fix for multi byte characters | ||||
| * | | Combine some of the lexer tests into a single file | Oscar Nihlgård | 2018-06-05 | 4 | -31/+27 |
| | | | |||||
| * | | Multi byte characters should not be treated as part of an operator | Oscar Nihlgård | 2018-06-03 | 1 | -0/+11 |
| | | | |||||
* | | | Merge pull request #7967 from nitely/empty_openarray_7904 | Andreas Rumpf | 2018-06-06 | 1 | -0/+39 |
|\ \ \ | | | | | | | | | support empty toOpenArray | ||||
| * | | | test negative range array | nitely | 2018-06-06 | 1 | -0/+14 |
| | | | | |||||
| * | | | check bounds instead of index | nitely | 2018-06-05 | 1 | -0/+25 |
| | | | | |||||
* | | | | Merge pull request #7770 from yglukhov/yield-in-try | Andreas Rumpf | 2018-06-05 | 4 | -10/+391 |
|\ \ \ \ | |/ / / |/| | | | Yield in try | ||||
| * | | | Merge branch 'devel' into yield-in-try | Yuriy Glukhov | 2018-05-15 | 11 | -17/+17 |
| |\ \ \ | |||||
| * | | | | Review comments addressed. More thorough line info tracking. | Yuriy Glukhov | 2018-05-10 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | More elaborate nkStmtListExpr lowering | Yuriy Glukhov | 2018-05-09 | 1 | -144/+315 |
| | | | | | |||||
| * | | | | Yield in try | Yuriy Glukhov | 2018-05-09 | 2 | -1/+204 |
| | | | | | |||||
| * | | | | Extended tasync_in_seq_constr test | Yuriy Glukhov | 2018-05-09 | 1 | -6/+14 |
| | | | | | |||||
| * | | | | Closure iter transformation | Yuriy Glukhov | 2018-05-09 | 1 | -2/+1 |
| | | | | | |||||
* | | | | | Fix strformat neg zero (#7954) | skilchen | 2018-06-05 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix strformat handling of neg zero with sign * better tests for neg zero with sign * use inplace insertion of the sign as suggested by Varriount | ||||
* | | | | | Fix strformat precision handling for strings (#7941) | skilchen | 2018-06-04 | 1 | -0/+26 |
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix strformat precision handling for strings * add some limited unicode awareness to the precision handling for strings * improvement suggested by Varriount: use setLen and runeOffset instead of runeSubstr | ||||
* | | | | fixes #7906, array and openarray arg vs. ptr/ref generic (#7909) | andri lim | 2018-06-04 | 1 | -27/+114 |
| | | | | | | | | | | | | | | | | | | | | | | | | * fixes #7906, array and openarray arg vs. ptr/ref generic * add comment | ||||
* | | | | Use higher time resolution when available in os.nim (#7709) | Oscar Nihlgård | 2018-06-04 | 1 | -0/+10 |
| | | | | |||||
* | | | | Fix for newStringOfCap in VM (#7901) | Oscar Nihlgård | 2018-06-04 | 1 | -0/+8 |
| | | | | |||||
* | | | | fix strformat zeropadding for floats (#7934) | skilchen | 2018-06-01 | 1 | -1/+10 |
| | | | | |||||
* | | | | Added $ for openarrays. Fixes #7940. | data-man | 2018-06-01 | 1 | -0/+1 |
| | | | | |||||
* | | | | Support multi byte characters in module names (#7916) | Oscar Nihlgård | 2018-05-31 | 2 | -1/+9 |
| |_|/ |/| | | |||||
* | | | fixes #7818, correct internal representation of generic objects array ↵ | andri lim | 2018-05-29 | 1 | -0/+45 |
| | | | | | | | | | | | | | | | | | | | | | construction (#7824) * defer skiptypes * defer skiptypes for tyRef & tyPtr * remove unneeded skipTypes | ||||
* | | | Added: type name output when exception raised from unittest (#7869) | 七秒不觉梦 | 2018-05-28 | 1 | -0/+10 |
| | | | |||||
* | | | fix #7883; fix #7829 | Zahary Karadjov | 2018-05-26 | 1 | -0/+24 |
| | | | |||||
* | | | fixes channels for --gc:regions | Andreas Rumpf | 2018-05-25 | 1 | -2/+2 |
| |/ |/| | |||||
* | | make tests green again | Araq | 2018-05-14 | 11 | -17/+17 |
|/ | |||||
* | Modify hash for HashSet to use `xor` to mix hash of items. | Lolo Iccl | 2018-05-09 | 1 | -4/+0 |
| | |||||
* | Modify previous commit and add tests | Lolo Iccl | 2018-05-09 | 1 | -4/+52 |
| | |||||
* | VM fix for refs | Oscar Nihlgård | 2018-05-08 | 1 | -0/+12 |
| | |||||
* | implement the export/except statement | Zahary Karadjov | 2018-05-07 | 2 | -0/+7 |
| | |||||
* | Bugfix: The compiler were not inserting proper downcasts for generic types | Zahary Karadjov | 2018-05-07 | 2 | -1/+21 |
| | | | | | | | This resulted in a codegen error in C++ mode, because the generic types were not defined in modules where calls requiring downcasts were used (generating a downcast forces the inclusion of the full definition of the involved types). | ||||
* | Support thread-local variables declared inside procs; fixes #7565 | Zahary Karadjov | 2018-05-07 | 1 | -0/+78 |
| | |||||
* | Backwards-compatible support for keyword arguments in the command syntax | Zahary Karadjov | 2018-05-07 | 1 | -2/+3 |
| | |||||
* | Bugfix: Allow matching on nkExprEqExpr against varargs[untyped] | Zahary Karadjov | 2018-05-07 | 1 | -0/+15 |
| | | | | | | | | | This enables macros accepting arbitrary keyword arguments: log("foo", prop1 = "bar", prop2 = "baz") As an added bonus, simple templates with varargs arguments can now forward their params to procs accepting keyword arguments. | ||||
* | A motivating example for the new `bindSym` behavior. | Zahary Karadjov | 2018-05-07 | 1 | -0/+154 |
| | | | | | | | | The example is a proof-of-concept logging library, allowing you to define lexically-scoped environments where certain logging attributes are applied automatically to all logging statements. fixes tmacro1 (use of `bindSym` inside static blocks) | ||||
* | Better support for treating templates and macros as symbols. | Zahary Karadjov | 2018-05-07 | 1 | -0/+173 |
| | | | | | | | | | | | | | | | | | | | This allows you to pass a template or a macro to another macro which can then inspect the implementation of the former template/macro using `getImpl`. Since templates can be freely redefined, this allows you to treat their symbols as compile-time variables that have lexical scope. A motivating PoC example for a logging library taking advantage of this will be provided in the next commit. Implementation details: * The name of a template or a macro will be consider a symbol if the template/macro requires parameters * For parameterless templates/macros, you can use `bindSym`, which was extended to also work outside of compile-time procs. | ||||
* | make the tester compile without warnings | Andreas Rumpf | 2018-05-06 | 1 | -4/+4 |
| |