Commit Graph

793 Commits

Author SHA1 Message Date
Andreas Rumpf
cb6c975d3a fixes repr regression 2017-01-27 07:06:22 +01:00
Andreas Rumpf
8d3d9ce5cc repr.nim: minor improvement when outputting addresses of cstrings 2017-01-26 23:50:19 +01:00
Andreas Rumpf
f7e3addb89 bugfix: onThreadDestruction callbacks should be run in reverse order 2017-01-26 11:28:25 +01:00
Andreas Rumpf
05a3c1b10a improvements to memtracking 2017-01-26 11:26:02 +01:00
Andreas Rumpf
303c49b9f3 memory tracker is aware of threads (still not threadsafe though) 2017-01-26 11:26:02 +01:00
Jeff Ciesielski
7f30d04d6a Fix compilation for 16 bit targets (#5286) 2017-01-26 07:05:03 +01:00
Andreas Rumpf
eb96eaa5c2 onThreadDestruction feature added to Nim's threading model 2017-01-24 12:07:44 +01:00
Araq
572fd067cf added system.runOnThreadCreationHandlers for initialization of thread local storage for the main thread 2017-01-20 20:32:41 +01:00
Araq
cdebcf23d9 new segfaults.nim stdlib module works on Windows 2017-01-20 17:08:11 +01:00
Araq
64a7d2fd08 ansi_c.nim: avoid deprecated 'expr' type 2017-01-20 13:17:45 +01:00
Andreas Rumpf
61937974e2 added system.onThreadCreation feature for safe thread local storage initializations 2017-01-18 13:41:55 +01:00
Andreas Rumpf
915cc86f5d docs for the heap dump feature 2017-01-16 23:04:53 +01:00
Andreas Rumpf
03916fa3b1 M&S GC gets the heap dump feature 2017-01-15 10:12:28 +01:00
Andreas Rumpf
823fbd4e40 default GC can do a sort of heap dump via -d:nimTypeNames and dumpNumberOfInstances() 2017-01-14 04:00:06 +01:00
Andreas Rumpf
9753782f96 memory allocator hotfix: do not allocate tremendous amounts of memory 2017-01-13 12:07:37 +01:00
Brandon Pickering
c98a8f3701 Handle different enum sizes in reprAux (#5207) 2017-01-11 05:54:04 +01:00
Fabian Keller
5f6f444d55 naive work-around for time redefinition (#5193) 2017-01-08 17:53:43 +01:00
Andreas Rumpf
a93ca14418 disable pinToCpu for OSX 2017-01-07 13:27:16 +01:00
Andreas Rumpf
847210b799 disable new alloctor behaviour for emscripten 2016-12-27 17:54:09 +01:00
Araq
77d5d0cdfe NimScript: prepare for future Nimble improvements; should be completely compatible with old and upcoming Nimble versions 2016-12-23 12:26:28 +01:00
Araq
237252f90c Merge branch 'devel' into sighashes 2016-12-19 11:35:45 +01:00
Araq
39ca8b8c8e fixes #4818 2016-12-18 23:11:53 +01:00
Araq
414c2decbe Merge branch 'devel' into sighashes 2016-12-13 12:18:45 +01:00
Yuriy Glukhov
feba5acc98 Added FileSeekPos 2016-12-08 18:57:46 +02:00
Yuriy Glukhov
2ad8e073d8 Control leakDetector from cmdline 2016-12-06 11:54:47 +02:00
Andreas Rumpf
36a9703866 Merge branch 'devel' into sighashes 2016-12-06 10:08:38 +01:00
Yuriy Glukhov
44ff8baf2a Show cell type name in writeCell 2016-12-06 00:31:26 +02:00
Araq
d2cbf7f242 more fixes 2016-12-02 08:37:51 +01:00
Araq
49667798eb further progress; more tests are green 2016-11-28 21:45:29 +01:00
Andreas Rumpf
e5ef32dab3 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-11-28 11:03:24 +01:00
Andreas Rumpf
734443d725 system.deepCopy should show old behaviour 2016-11-28 11:03:01 +01:00
Andreas Rumpf
7ca72a733c use -d:nimTypeNames to create RTTI with type names 2016-11-28 10:56:45 +01:00
Andreas Rumpf
d2d851a1f3 Merge pull request #4878 from yglukhov/gc-frameinfo
Cosmetics
2016-11-28 10:31:06 +01:00
Andreas Rumpf
e83d11e8f1 deepcopy fix 2016-11-26 14:15:37 +01:00
Andreas Rumpf
2316c71e09 reverted deepcopy fix for now 2016-11-24 10:52:33 +01:00
Andreas Rumpf
249fd5e56b further memtracking improvements 2016-11-24 08:27:19 +01:00
Andreas Rumpf
9ca15ad369 string.add for floats and ints for more performance (JS not yet supported) 2016-11-21 13:53:55 +01:00
Andreas Rumpf
02a2180a6a first version of the new memory tracking feature 2016-11-21 12:10:44 +01:00
Andreas Rumpf
7c1b5b3c2b fixes deepcopy regression 2016-11-18 09:54:12 +01:00
Andreas Rumpf
8875ca750f deepCopy: proper sharing of refs 2016-11-17 19:57:35 +01:00
Yuriy Glukhov
d857b4bc0e DRY frame info setting out to a template. 2016-11-03 19:16:10 +02:00
Andreas Rumpf
60d13c488d Merge pull request #4888 from arnetheduck/mmap-fixes
add MAP_ANONYMOUS const for amd64, fix MAP_PRIVATE on mips etc
2016-10-24 22:05:11 +02:00
Jacek Sieka
f488ed973d clean up tyBigNum remnants 2016-10-24 23:11:38 +08:00
Araq
7c22c03876 fixes bootstrapping problem 2016-10-21 18:02:57 +02:00
Andreas Rumpf
e2eb9f815e fixes #564 2016-10-21 16:57:57 +02:00
Hakan Deryal
34865fbbf5 add exported memory size getter functions for MemRegion objects 2016-10-13 19:10:53 +03:00
Hakan Deryal
67b635029d fixes memory region not updating when passed to withRegion template. 2016-10-13 19:08:31 +03:00
Jacek Sieka
d2d618dde7 add MAP_ANONYMOUS const for amd64, fix MAP_PRIVATE on mips etc (see fe36254) 2016-10-12 22:31:59 +08:00
Andreas Rumpf
754b99e435 Merge pull request #4848 from flyx/fix-debugdlopen
Fixed compilation error with -d:nimDebugDlOpen
2016-10-06 10:39:47 +02:00
Andreas Rumpf
6895a417c0 Merge pull request #4857 from yglukhov/gcv2-threads
Make gc v2 compile with --threads:on
2016-10-06 10:39:23 +02:00