Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #8108 from LemonBoy/fix-5958 | Andreas Rumpf | 2018-06-26 | 5 | -15/+23 |
|\ | | | | | Make `static` blocks introduce their own scope | ||||
| * | Adjust some tests to make them pass | LemonBoy | 2018-06-25 | 3 | -15/+12 |
| | | | | | | | | | | | | The non-scoped behaviour of static blocks was exploited by those tests, replace all the variables declared whithin one with compileTime marked ones. | ||||
| * | Make `static` blocks introduce their own scope | LemonBoy | 2018-06-24 | 2 | -0/+11 |
| | | | | | | | | | | | | | | Treat the static block as a normal block, don't leak any identifier in the outer scope. Fixes #5958 | ||||
* | | Merge pull request #7800 from GULPF/vm-nil-fix | Andreas Rumpf | 2018-06-26 | 4 | -23/+79 |
|\ \ | | | | | | | VM fix for nil assignment | ||||
| * | | Improve vm support for ref types | Oscar Nihlgård | 2018-06-26 | 4 | -23/+79 |
|/ / | |||||
* | | Merge pull request #8123 from jwollen/cfile_extensions | Andreas Rumpf | 2018-06-26 | 2 | -2/+2 |
|\ \ | | | | | | | Don't remove extension of source files twice, if filenames contain dots | ||||
| * | | Don't remove extension of source files twice, if filenames contain dots | Jörg Wollenschläger | 2018-06-26 | 2 | -2/+2 |
|/ / | |||||
* | | nimpretty: detect '; vs ,' style based on the first usage of the token in ↵ | Araq | 2018-06-26 | 2 | -2/+8 |
| | | | | | | | | parameter lists | ||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2018-06-26 | 15 | -52/+248 |
|\ \ | |||||
| * \ | Merge pull request #8117 from LemonBoy/cmd-verbosity-level | Dominik Picheta | 2018-06-25 | 1 | -1/+4 |
| |\ \ | | | | | | | | | Warn the user if the specified verbosity level is wrong | ||||
| | * | | Warn the user if the specified verbosity level is wrong | LemonBoy | 2018-06-25 | 1 | -1/+4 |
| | | | | |||||
| * | | | Merge pull request #8105 from LemonBoy/concept-high-low-index | Andreas Rumpf | 2018-06-25 | 4 | -4/+35 |
| |\ \ \ | | | | | | | | | | | More concept fixes | ||||
| | * | | | More concept fixes | LemonBoy | 2018-06-24 | 4 | -4/+35 |
| | | |/ | | |/| | | | | | | | | | Fixes #7705, #7703, #7702 | ||||
| * | | | Merge pull request #7964 from LemonBoy/fix-7936 | Andreas Rumpf | 2018-06-25 | 1 | -2/+9 |
| |\ \ \ | | |_|/ | |/| | | Fixes #7936 | ||||
| | * | | Use the resolved typedesc in semVarOrLet | LemonBoy | 2018-06-23 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | By leaving the unsemanticized node in the AST we'd trip some passes like the Transf one as seen in #7936. | ||||
| * | | | Merge pull request #8072 from LemonBoy/fix-6899-6280 | Andreas Rumpf | 2018-06-24 | 1 | -2/+2 |
| |\ \ \ | | |_|/ | |/| | | Fix minor codegen issue with static data types | ||||
| | * | | Fix minor codegen issue with static data types | LemonBoy | 2018-06-19 | 1 | -2/+2 |
| | | | | |||||
| * | | | 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. | ||||
| * | | | | | varints module: critical bugfix | Andreas Rumpf | 2018-06-22 | 1 | -1/+8 |
| | | | | | | |||||
* | | | | | | fixes docgen regression caused by refactorings; fixes #8097 | Araq | 2018-06-26 | 1 | -5/+3 |
| |/ / / / |/| | | | | |||||
* | | | | | nimpretty: bugfixes; refs #8078 | Araq | 2018-06-20 | 4 | -5/+42 |
| | | | | | |||||
* | | | | | fixes #8076 | Araq | 2018-06-20 | 1 | -10/+11 |
|/ / / / | |||||
* | | | | 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 |
|/ / / / |