Araq
2e61e6edf9
strformat: support 'sign' as Python does
2017-12-17 17:58:04 +01:00
Araq
5c7493f833
strformat: added '^' char for center alignment for Python compat
2017-12-17 17:21:43 +01:00
Araq
7ab3743d84
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-12-17 13:58:51 +01:00
Araq
26198e4ee7
added new stdlib module 'strformat'; refs #5600 ; refs #6507
2017-12-17 13:58:40 +01:00
skilchen
822da4b213
fix #6931 terminal.eraseline() gives OverflowError on Windows ( #6933 )
2017-12-17 10:57:45 +01:00
Strømberg
01649e3eb5
Name error in example ( #6935 )
...
Name error, example didn't compile .
2017-12-17 10:57:05 +01:00
Araq
8caa3df1c3
Merge branch 'parsesql' of https://github.com/treeform/Nim into treeform-parsesql
2017-12-15 16:49:59 +01:00
GULPF
cf9bee1702
Fix counttable smallest loop start ( #6917 )
...
* Fix counttable smallest
* Fix counttable smallest loop start
2017-12-15 13:59:32 +01:00
Araq
8decf0f5ce
make JS tests green again
2017-12-15 11:34:17 +01:00
Araq
196977f623
many improvements to random.nim; fixes #4726
2017-12-14 21:37:53 +01:00
Araq
da2f689e09
fixes #6033
2017-12-14 20:49:08 +01:00
treeform
55fdac46e3
fix
2017-12-14 18:40:20 +00:00
Jon Caldwell
54ee368358
Fix identifier in cursor* templates in terminal
2017-12-14 18:36:18 +00:00
treeform
ee5a76fd9d
fix
2017-12-14 18:36:18 +00:00
treeform
08d7b5d031
fix
2017-12-14 18:36:17 +00:00
treeform
c6b33de127
fix
2017-12-14 18:36:17 +00:00
Fabian Keller
6df6ec27ec
Improved collection-to-string behavior ( #6825 )
2017-12-14 14:02:13 +01:00
GULPF
542d45f882
Fix counttable smallest ( #6912 )
2017-12-13 02:52:35 +01:00
Araq
63f5e3f920
Merge branch 'nosproc2' of https://github.com/cheatfate/Nim into cheatfate-nosproc3
2017-12-13 02:47:40 +01:00
cheatfate
e952ada1ba
Fix
2017-12-13 00:36:14 +02:00
Araq
6f8e98cff2
improve the docs for tables.add
2017-12-12 19:55:46 +01:00
cheatfate
0429f41e98
execProcesses optimization.
2017-12-12 20:00:14 +02:00
cheatfate
e672249859
Windows: Fix invalid handle value for execProcesses.
...
Windows. Fix named pipes leak.
2017-12-12 16:53:09 +02:00
cheatfate
59d4530562
Remove -3 as marker of exited process.
...
Cache exiting process for Windows to omit unnecessary syscalls.
Fix closing hThread for Windows.
Fix for pause/resume on Windows.
Fix process handle leak on Windows.
Change behavior for waitForExit on Windows.
2017-12-11 21:12:07 +02:00
skilchen
28e0bf9dcd
fix #6264 and #6141 ( #6884 )
2017-12-11 14:43:59 +01:00
Andreas Rumpf
6e08ae5c26
merged patch #6876 manually, taking care of poDemon
2017-12-11 11:57:21 +01:00
Mathias Stearn
b87ef65532
Use addCallback rather than callback= in asyncfutures.all() ( #6850 )
...
* Use addCallback rather than callback= in asyncfutures.all()
Addresses part of #6849
* Stop using do notation for #6849
* Update example style
2017-12-09 00:55:04 +00:00
Araq
b0c682de4d
Merge branch 'devel' into araq-new-mm2
2017-12-08 10:06:56 +01:00
Araq
4be45f5913
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-12-08 10:06:36 +01:00
Andreas Rumpf
3d5840d24f
parsesql: some bugfixes
2017-12-08 00:00:31 +01:00
Andreas Rumpf
6ee08cf70c
fix documentation comments in sequtils.nim
2017-12-05 13:53:18 +01:00
Araq
9820c2c456
bitops: add 'hamming weight' to the doc index
2017-12-03 15:20:50 +01:00
Emery Hemingway
3181f3b04c
favor 'select' over 'poll' on Genode ( #6821 )
...
The 'poll' of the Genode C runtime is a wrapper over 'select'.
2017-12-01 02:39:16 +01:00
Andreas Rumpf
6a101c5004
os.nim bugfix: system() returns bullshit on Posix-like systems in general
2017-12-01 02:31:47 +01:00
Andreas Rumpf
8646a56738
Merge branch 'nexecProcesses' of https://github.com/cheatfate/Nim into cheatfate-nexecProcesses
2017-12-01 02:06:51 +01:00
Dominik Picheta
578ab935cb
Support all int, uint and float variants in json.to macro.
2017-11-30 21:34:30 +00:00
Dominik Picheta
2bb2e6975e
Fix infinite recursion when using json.to on ref with cycle.
2017-11-30 21:34:30 +00:00
Dominik Picheta
8d61262372
Implement support for JsonNode in json.to.
2017-11-30 21:34:30 +00:00
Dominik Picheta
8187e83645
Implement Table/OrderedTable support for json.to macro.
2017-11-30 21:34:30 +00:00
Dominik Picheta
8ca41ce637
Implement support for Option[T] in json.to macro. Fixes #5848 .
2017-11-30 21:34:30 +00:00
Dominik Picheta
d3c9b58c00
Fixes #6604 . Rejects unnamed tuples with error.
2017-11-30 21:34:30 +00:00
Dominik Picheta
e0681715dc
Fixes #6095 .
2017-11-30 21:34:30 +00:00
Dominik Picheta
11fcae5705
Fixes #5856 . Code based on @loloiccl's PR ( #5879 ).
2017-11-30 21:34:30 +00:00
cheatfate
fbe0ae74fb
Explicit array initialization removed.
2017-11-29 03:57:29 +02:00
Andreas Rumpf
5196cc3a54
Merge branch 'devel' into fixes-6223
2017-11-28 21:56:48 +01:00
Dominik Picheta
45821ea2ab
Fixes #4377 .
2017-11-28 21:55:29 +01:00
Araq
e2787c557c
mimetypes improvement: make mimetypes easier to use by allowing the extension to start with a dot which is what splitFile().ext returns
2017-11-28 17:34:30 +01:00
Dominik Picheta
b74a5148a9
Fixes #6223 .
2017-11-28 14:33:53 +00:00
cheatfate
c4a57e711b
Fix nimrtl troubles.
2017-11-28 14:40:33 +02:00
cheatfate
c6c0d28a4f
Refactored version of execProcesses with test.
2017-11-28 14:03:09 +02:00