Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #8084 from LemonBoy/fix-7905 | Andreas Rumpf | 2018-06-24 | 2 | -3/+37 |
|\ | | | | | Discriminate gensym'd type names in sigHash | ||||
| * | Don't blow up with recursive objects | LemonBoy | 2018-06-22 | 2 | -4/+18 |
| | | |||||
| * | Discriminate gensym'd type names in sigHash | LemonBoy | 2018-06-22 | 2 | -2/+22 |
| | | | | | | | | | | | | | | | | | | The root cause of #7905 lies in the codegen phase. The two template instantiations generate two different MyType types with different members but same t.sym.name leading the caching mechanism to confuse the two. Fixes #7905 | ||||
* | | Support setting foreground/background colors to terminal defaults (#8073) | Kaushal Modi | 2018-06-24 | 1 | -8/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Support setting foreground/background colors to terminal defaults Adds fgDefault to ForegroundColor and bgDefault to BackgroundColor enums. For Windows console, the default foreground color is assumed to be white, and the default background color black. * Add default fg/bg color caching for Windows Console | ||||
* | | Merge pull request #8092 from FedericoCeratto/patch-10 | Andreas Rumpf | 2018-06-24 | 1 | -1/+1 |
|\ \ | | | | | | | Minor doc fix | ||||
| * | | Minor doc fix | Federico Ceratto | 2018-06-23 | 1 | -1/+1 |
|/ / | |||||
* | | Change inconsistent paramaters in times.nim (#8091) | Oscar Nihlgård | 2018-06-23 | 1 | -28/+19 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2018-06-22 | 8 | -17/+154 |
|\ \ | |||||
| * \ | Merge pull request #8062 from LemonBoy/fix-7825 | Andreas Rumpf | 2018-06-21 | 3 | -2/+101 |
| |\ \ | | | | | | | | | Fix constant folding for shl/not | ||||
| | * | | Fix constant folding for shl/not | LemonBoy | 2018-06-19 | 3 | -2/+101 |
| | | | | | | | | | | | | | | | | | | | | Since the source and destination types are the same the result should be trimmed to fit. | ||||
| * | | | nimpretty: bugfixes; refs #8078 | Araq | 2018-06-20 | 4 | -5/+42 |
| | | | | |||||
| * | | | fixes #8076 | Araq | 2018-06-20 | 1 | -10/+11 |
| | | | | |||||
* | | | | varints module: critical bugfix | Andreas Rumpf | 2018-06-22 | 1 | -1/+8 |
|/ / / | |||||
* | | | Merge branch 'araq-nimpretty' into devel | Andreas Rumpf | 2018-06-20 | 9 | -24/+669 |
|\ \ \ | |||||
| * | | | nimpretty: added more code claimed to not be working | Andreas Rumpf | 2018-06-20 | 2 | -0/+26 |
| | | | | |||||
| * | | | nimpretty: fixes more reported issues | Andreas Rumpf | 2018-06-20 | 3 | -3/+10 |
| | | | | |||||
| * | | | nimpretty: also test on Windows/Appveyor | Andreas Rumpf | 2018-06-19 | 1 | -0/+2 |
| | | | | |||||
| * | | | nimpretty: don't produce trailing whitespace; fixes the rendering of unary ↵ | Andreas Rumpf | 2018-06-19 | 3 | -11/+16 |
| | | | | | | | | | | | | | | | | operators | ||||
| * | | | nimpretty: proper command line handling; added tests; travis ensures these ↵ | Andreas Rumpf | 2018-06-19 | 8 | -17/+622 |
| | | | | | | | | | | | | | | | | stay green | ||||
* | | | | Pegs AST read access (#8050) | gemath | 2018-06-19 | 3 | -2/+102 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make PEG AST nodes readable from outside the module. * Added a test module for the pegs stdlib module. * Edited changelog. * Renamed ``sons`` iterator to ``items``, added ``pairs``, inlined both. * Updated entry and moved it to the right category. | ||||
* | | | | Merge pull request #7771 from nim-lang/nim-in-action-fixes | Andreas Rumpf | 2018-06-19 | 12 | -1/+646 |
|\ \ \ \ | |_|_|/ |/| | | | Higher Nim in Action coverage plus regression fix. | ||||
| * | | | Workaround VM bug in strutils | Dominik Picheta | 2018-06-17 | 2 | -4/+5 |
| | | | | |||||
| * | | | Adds smaller code samples from Chapters 1-3 to the tester. | Dominik Picheta | 2018-06-17 | 11 | -1/+642 |
| | | | | |||||
| * | | | Exports unicode.toUpper/toLower in strutils module. | Dominik Picheta | 2018-06-17 | 1 | -0/+3 |
| | | | | |||||
* | | | | Merge pull request #8047 from kaushalmodi/add-styledWrite | Dominik Picheta | 2018-06-19 | 1 | -25/+59 |
|\ \ \ \ | |_|/ / |/| | | | Add styledWrite macro | ||||
| * | | | Convert styledWriteLine and styledEcho to templates | Kaushal Modi | 2018-06-18 | 1 | -35/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also fixes a bug in the styledWriteLine behavior where the background color leaked onto the next newline if that command did not end with resetStyle. Now it is not necessary to end styledWriteLine calls that set BackgroundColor to end in resetStyle. | ||||
| * | | | Add styledWrite macro | Kaushal Modi | 2018-06-18 | 1 | -12/+74 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Move the tests block to the end of the file - Fix the older tests - Add tests for existing styledEcho - Add new tests for styledWrite Fixes https://github.com/nim-lang/Nim/issues/8046. | ||||
* | | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2018-06-19 | 2 | -5/+9 |
|\| | | | |||||
| * | | | Changed tutorial documentation referring to 'constant' to 'immutable' (#8056) | mboratko | 2018-06-18 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Changed tutorial documentation referring to 'constant' to 'immutable' * Clarification regarding side-effect free procedures fo:r multiple assignments | ||||
| * | | | Add support for italic and strikethrough ANSI escape codes (#8048) | Kaushal Modi | 2018-06-17 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | \e[3m -> italic \e[9m -> strikethrough On terminals not supporting italic text, the text is shown in reverse instead, and on terminals not supporting strikethrough text, the text is shown as is. | ||||
* | | | | nimpretty improvements | Andreas Rumpf | 2018-06-19 | 3 | -43/+60 |
| | | | | |||||
* | | | | nimpretty: don't touch dense binary operators | Andreas Rumpf | 2018-06-17 | 1 | -9/+13 |
|/ / / | |||||
* | | | testament: minor code formating change | Andreas Rumpf | 2018-06-17 | 1 | -1/+1 |
| | | | |||||
* | | | nimpretty: fixes pragma rendering | Andreas Rumpf | 2018-06-17 | 1 | -1/+1 |
|/ / | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2018-06-16 | 3 | -66/+144 |
|\ \ | |||||
| * \ | Merge pull request #8039 from yglukhov/proc-pragmas | Andreas Rumpf | 2018-06-16 | 3 | -66/+144 |
| |\ \ | | | | | | | | | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma | ||||
| | * | | Added more tests to toverflw | Yuriy Glukhov | 2018-06-15 | 1 | -6/+69 |
| | | | | |||||
| | * | | Fixed proto options | Yuriy Glukhov | 2018-06-15 | 1 | -0/+1 |
| | | | | |||||
| | * | | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma | Yuriy Glukhov | 2018-06-14 | 2 | -60/+74 |
| | | | | |||||
* | | | | nimpretty: stuff that doesn't work | Andreas Rumpf | 2018-06-16 | 1 | -6/+34 |
| | | | | |||||
* | | | | nimpretty: more features | Andreas Rumpf | 2018-06-16 | 2 | -13/+51 |
|/ / / | |||||
* | | | nimpretty: render and/or/notin/in properly | Andreas Rumpf | 2018-06-16 | 1 | -2/+9 |
| | | | |||||
* | | | nimpretty: first version that seems useful for others to test it | Andreas Rumpf | 2018-06-16 | 6 | -6/+239 |
| |/ |/| | |||||
* | | Add MemMapFileStream. Fixes in memFiles. (#7944) | Dmitry Atamanov | 2018-06-14 | 5 | -23/+195 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add MemMapFileStream * Added tests * Fixed bug in memfiles (zero index for string) * Added flush to changelog * Attempt to fix Win's nuances * Fix attempt to fix * Continue... * And again... * Reworked tests (all for win on Win) * Fixes in flush (Win) * Replace fn vars to consts * Added the attempts parameter to the flush * Replace while to for * Move to memfiles * Use Natural instead of uint * Better error messages for append mode. Handle specific cases. | ||||
* | | Merge pull request #8021 from yglukhov/seq-lit | Andreas Rumpf | 2018-06-14 | 1 | -1/+1 |
|\ \ | | | | | | | Added NIM_STRLIT_FLAG to seq literals | ||||
| * | | Added NIM_STRLIT_FLAG to seq literals | Yuriy Glukhov | 2018-06-12 | 1 | -1/+1 |
| | | | |||||
* | | | document the 'pkg' and 'std' pseudo directories; closes #7250 | Araq | 2018-06-14 | 1 | -10/+29 |
| | | | |||||
* | | | implements pkg/ prefix to enforce searching for the module ignore the stdlib ↵ | Araq | 2018-06-14 | 1 | -18/+14 |
| | | | | | | | | | | | | paths; refs #7250 | ||||
* | | | RST hotfix: don't crash in rstnodeToRefname | Araq | 2018-06-14 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Merge pull request #7950 from Paalon/math-log | Andreas Rumpf | 2018-06-14 | 1 | -5/+15 |
|\ \ | | | | | | | Add log for base b of x |