Commit Graph

11662 Commits

Author SHA1 Message Date
Araq
da2f689e09 fixes #6033 2017-12-14 20:49:08 +01:00
Fabian Keller
6df6ec27ec Improved collection-to-string behavior (#6825) 2017-12-14 14:02:13 +01:00
Andreas Rumpf
bc1123536e Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-14 10:55:12 +01:00
Emery Hemingway
9e87531f04 Genode: constrain osTryAllocPages to RAM quota (#6883)
Genode software components all start with an explicit RAM resource quota
which may or may not be upgraded during runtime by the parent process.
With this patch `osTryAllocPages` will fail if allocation exceeds quotas
set by the parent and the `osAllocPages` procedure will trigger a
blocking request to the parent to increase quotas. The previous behavior
could potentially block both procedures indefinitely for a quota upgrade
rather than fail and trigger garbage collection.

This patch also adds tracking of Genode dataspace mappings into the
component address space so they can be detached and freed.
2017-12-14 10:23:47 +01:00
Dominik Picheta
3546a89e87 Merge pull request #6919 from konqoro/patch-19
Small fix for js dom
2017-12-13 21:45:47 +00:00
Andreas Rumpf
be16dfd195 make tests green again 2017-12-13 22:16:37 +01:00
konqoro
422c117a77 Small fix for js dom 2017-12-13 16:14:01 +02:00
Araq
c35788b97c make hidden visibility the default for Unix 2017-12-13 14:37:19 +01:00
GULPF
542d45f882 Fix counttable smallest (#6912) 2017-12-13 02:52:35 +01:00
Araq
d550417f8b Merge branch 'cheatfate-nosproc3' into devel 2017-12-13 02:50:26 +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
Araq
647c1a1268 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-12 19:36:04 +01:00
Araq
1a5a09b835 make tfragment_gc more robust 2017-12-12 19:35:40 +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
Gerke Max Preussner
d3f966922e Fixed koch warning when installing Nim. (#6898) 2017-12-12 14:43:12 +01: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
Andreas Rumpf
e24a3bd0ab allocator: minor fix for deallocOsPages 2017-12-11 09:18:11 +01:00
Andreas Rumpf
e8a52a0fc2 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-09 13:40:16 +01:00
Andreas Rumpf
14f2578604 fixes crash related to runnableExamples in Nim doc that yet uses the VM 2017-12-09 13:40:08 +01:00
jcosborn
96a5062b8c modify getTypeImpl to reduce result to final implementation (#6891)
* added test case for getTypeImpl
* modify getTypeImpl to reduce result to final implementation
2017-12-09 13:07:37 +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
Andreas Rumpf
f70d967d2c fixes #6889 2017-12-08 23:31:06 +01: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
Araq
eae1aaa377 fixes another sighashes problem 2017-12-08 10:06:20 +01:00
Araq
00a230e5d8 Leak detector: give more info for anon ref objects 2017-12-08 09:19:55 +01:00
Araq
17becb8d30 added allocator improvments to the changelog; closes #6031 2017-12-08 08:07:57 +01:00
Andreas Rumpf
a9b8f38366 change tfragment_gc test for appveyor 2017-12-08 00:19:28 +01:00
Andreas Rumpf
3d5840d24f parsesql: some bugfixes 2017-12-08 00:00:31 +01:00
Andreas Rumpf
c99654a78e lets see what appveyor reports as the used memory 2017-12-07 20:30:51 +01:00
Brent Pedersen
e016c9253e optimize setLen (#6816)
inline the call to setLengthSeq and avoid decref for types if ntfNoRefs

closes #6721 and speeds setLen when newLen < len for non reference
types.
2017-12-07 14:25:39 -05:00
Araq
c96e1d0180 enable fragmentation tests 2017-12-07 17:03:15 +01:00
Araq
226532f8f3 cleanup todo.txt 2017-12-07 15:58:46 +01:00
Araq
7c9a3161da make the new allocator work 2017-12-07 13:24:18 +01:00
Araq
dc7a69cb66 Threading: increase TLS size for new allocator 2017-12-07 13:15:00 +01:00
Araq
7e7ce19ec1 GC test workaround: use a lock for 'echo' for Windows 2017-12-07 13:14:28 +01:00
Araq
ede38a70fc make allocator use the TLSF algorithm; work in progress 2017-12-07 10:54:46 +01:00
Charlie Barto
c7ba4d91a3 add dynlibOverrideAll switch (#6873) 2017-12-06 09:56:44 +01:00
Andreas Rumpf
6ee08cf70c fix documentation comments in sequtils.nim 2017-12-05 13:53:18 +01:00
jcosborn
35d7a99b6a fix getTypeInst for tyGenericInst (#6868) 2017-12-04 17:37:25 +01:00
Araq
9820c2c456 bitops: add 'hamming weight' to the doc index 2017-12-03 15:20:50 +01:00
Araq
a0699870e3 osalloc: improve error message when virtualFree fails 2017-12-03 15:20:13 +01:00
pqflx3
c039bbf6e1 Fixed printing nimsuggest commandline help message (#6863) 2017-12-02 20:40:00 +01:00
Araq
82870058d3 finish.nim: make it work with spaces in the path to curl 2017-12-02 00:57:13 +01:00
Alexander Ivanov
1699d7c2a4 Implement codegenDecl for js (#6851) 2017-12-01 15:42:10 +01:00