summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8062 from LemonBoy/fix-7825Andreas Rumpf2018-06-213-2/+101
|\ | | | | Fix constant folding for shl/not
| * Fix constant folding for shl/notLemonBoy2018-06-193-2/+101
| | | | | | | | | | Since the source and destination types are the same the result should be trimmed to fit.
* | nimpretty: bugfixes; refs #8078Araq2018-06-204-5/+42
| |
* | fixes #8076Araq2018-06-201-10/+11
| |
* | Merge branch 'araq-nimpretty' into develAndreas Rumpf2018-06-209-24/+669
|\ \
| * | nimpretty: added more code claimed to not be workingAndreas Rumpf2018-06-202-0/+26
| | |
| * | nimpretty: fixes more reported issuesAndreas Rumpf2018-06-203-3/+10
| | |
| * | nimpretty: also test on Windows/AppveyorAndreas Rumpf2018-06-191-0/+2
| | |
| * | nimpretty: don't produce trailing whitespace; fixes the rendering of unary ↵Andreas Rumpf2018-06-193-11/+16
| | | | | | | | | | | | operators
| * | nimpretty: proper command line handling; added tests; travis ensures these ↵Andreas Rumpf2018-06-198-17/+622
| | | | | | | | | | | | stay green
* | | Pegs AST read access (#8050)gemath2018-06-193-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-fixesAndreas Rumpf2018-06-1912-1/+646
|\ \ \ | | | | | | | | Higher Nim in Action coverage plus regression fix.
| * | | Workaround VM bug in strutilsDominik Picheta2018-06-172-4/+5
| | | |
| * | | Adds smaller code samples from Chapters 1-3 to the tester.Dominik Picheta2018-06-1711-1/+642
| | | |
| * | | Exports unicode.toUpper/toLower in strutils module.Dominik Picheta2018-06-171-0/+3
| | | |
* | | | Merge pull request #8047 from kaushalmodi/add-styledWriteDominik Picheta2018-06-191-25/+59
|\ \ \ \ | |_|/ / |/| | | Add styledWrite macro
| * | | Convert styledWriteLine and styledEcho to templatesKaushal Modi2018-06-181-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 macroKaushal Modi2018-06-181-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 develAndreas Rumpf2018-06-192-5/+9
|\| | |
| * | | Changed tutorial documentation referring to 'constant' to 'immutable' (#8056)mboratko2018-06-181-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 Modi2018-06-171-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 improvementsAndreas Rumpf2018-06-193-43/+60
| | | |
* | | | nimpretty: don't touch dense binary operatorsAndreas Rumpf2018-06-171-9/+13
|/ / /
* | | testament: minor code formating changeAndreas Rumpf2018-06-171-1/+1
| | |
* | | nimpretty: fixes pragma renderingAndreas Rumpf2018-06-171-1/+1
|/ /
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-06-163-66/+144
|\ \
| * \ Merge pull request #8039 from yglukhov/proc-pragmasAndreas Rumpf2018-06-163-66/+144
| |\ \ | | | | | | | | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma
| | * | Added more tests to toverflwYuriy Glukhov2018-06-151-6/+69
| | | |
| | * | Fixed proto optionsYuriy Glukhov2018-06-151-0/+1
| | | |
| | * | Fixed stacktrace/linetrace proc pragmas when appended by macro pragmaYuriy Glukhov2018-06-142-60/+74
| | | |
* | | | nimpretty: stuff that doesn't workAndreas Rumpf2018-06-161-6/+34
| | | |
* | | | nimpretty: more featuresAndreas Rumpf2018-06-162-13/+51
|/ / /
* | | nimpretty: render and/or/notin/in properlyAndreas Rumpf2018-06-161-2/+9
| | |
* | | nimpretty: first version that seems useful for others to test itAndreas Rumpf2018-06-166-6/+239
| |/ |/|
* | Add MemMapFileStream. Fixes in memFiles. (#7944)Dmitry Atamanov2018-06-145-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-litAndreas Rumpf2018-06-141-1/+1
|\ \ | | | | | | Added NIM_STRLIT_FLAG to seq literals
| * | Added NIM_STRLIT_FLAG to seq literalsYuriy Glukhov2018-06-121-1/+1
| | |
* | | document the 'pkg' and 'std' pseudo directories; closes #7250Araq2018-06-141-10/+29
| | |
* | | implements pkg/ prefix to enforce searching for the module ignore the stdlib ↵Araq2018-06-141-18/+14
| | | | | | | | | | | | paths; refs #7250
* | | RST hotfix: don't crash in rstnodeToRefnameAraq2018-06-141-0/+1
| |/ |/|
* | Merge pull request #7950 from Paalon/math-logAndreas Rumpf2018-06-141-5/+15
|\ \ | | | | | | Add log for base b of x
| * | Fix a testKoki Fushimi2018-06-141-1/+1
| | |
| * | Use one same type for two parametersKoki Fushimi2018-06-141-5/+1
| | |
| * | Use concrete expressionKoki Fushimi2018-06-051-7/+6
| | |
| * | Bug fixKoki Fushimi2018-06-051-2/+3
| | |
| * | Change to use log(x, base)Koki Fushimi2018-06-051-3/+3
| | |
| * | Broaden the argument typesKoki Fushimi2018-06-041-1/+6
| | |
| * | Generalize and add testKoki Fushimi2018-06-041-7/+14
| | |
| * | Add log proc for base b of xKoki Fushimi2018-06-041-1/+3
| | |
* | | Merge pull request #8033 from FedericoCeratto/patch-9Andreas Rumpf2018-06-141-0/+2
|\ \ \ | | | | | | | | Add hint on JSON serialization