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
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
Andreas Rumpf
0b84eac5ae
Merge pull request #4853 from GaveUp/devel
...
Revert change to osalloc.nim from commit 8d7a45f .
2016-10-06 10:38:39 +02:00
Yuriy Glukhov
1bfcea5d5c
Make gc v2 compile with --threads:on
2016-10-05 20:36:22 +03:00
Jez Kabanov
014a90abad
call initAllocator in foreign thread
2016-10-05 19:16:31 +11:00
GaveUp
fe362543de
Revert change to osalloc.nim from commit 8d7a45f.
...
Change caused MAP_ANONYMOUS to have an incorrect value when compiling
for mipsel.
Fixes #4852 .
2016-10-04 15:22:36 -05:00
Felix Krause
cee445b889
Display hint for -d:nimDebugDlOpen on load failure
2016-10-03 12:06:54 +02:00
Felix Krause
9c91558e62
Fixed compilation error with -d:nimDebugDlOpen
2016-10-03 11:58:21 +02:00
Yuriy Glukhov
cb1231bf73
Typo in doc
2016-09-24 12:47:00 +03:00
Andreas Rumpf
ffb812521d
fixes serious regression
2016-09-24 02:52:16 +02:00
Andreas Rumpf
2569a58f08
fixes #4746
2016-09-24 02:27:12 +02:00
Andreas Rumpf
66bbf7518e
fixes #4776
2016-09-24 02:27:12 +02:00
Andreas Rumpf
bc53d2c9de
bugfix: bottom of AVL tree is now threadsafe
2016-09-24 02:27:12 +02:00
cheatfate
f0ea9447ce
Add define value nimBurnFree which allow deallocation procedures to fill memory with 0xFF before freeing it.
2016-09-20 17:34:36 +03:00
Dominik Picheta
b56595ae26
Fixes $(0.0/0.0) giving -nan on some systems.
...
Squashed commit of the following:
commit c7fc086b663f4d4003ccd5831a0ca508cf9badc7
Author: Dominik Picheta <dominikpicheta@gmail.com >
Date: Sat Sep 17 21:09:48 2016 +0200
Another attempt at fix.
commit 67b7fb67cda08d945e480a6a01fb0fee797add00
Author: Dominik Picheta <dominikpicheta@gmail.com >
Date: Sat Sep 17 20:47:41 2016 +0200
Fixes $(0.0/0.0) giving `-nan` on some systems.
2016-09-17 22:09:10 +02:00
Yuta Yamada
b688a5607d
srcdir -> srcDir
2016-09-14 17:57:19 -07:00
Araq
6a1b8e691f
fixes #4764 , fixes #4731 , fixes #4724
2016-09-14 19:59:32 +02:00
Andreas Rumpf
03768e7da0
attempt to fix #4640
2016-09-13 16:33:43 +02:00
Araq
646a569421
fixes #3279
2016-09-12 22:57:12 +02:00
Andreas Rumpf
479373ad79
fixes #4088
2016-09-11 23:48:59 +02:00
Yuriy Glukhov
99bbda28ee
Store stack trace in exception
2016-09-04 22:57:10 +03:00
Andreas Rumpf
11f7eb2d9b
fixes #4689
2016-09-01 16:57:34 +02:00
Yuriy Glukhov
f12f27c185
Fixed getCurrentException and getCurrentExceptionMsg. Closes #4635
2016-08-29 13:10:06 +03:00
Yuriy Glukhov
c1dd65c01a
Reset framePtr on unhabdled exception. Dont reset on getStackTrace.
2016-08-27 18:10:13 +03:00
Yuriy Glukhov
90b0a771e4
Uncaught exceptions in JS now always propagate with better stack trace.
2016-08-27 16:52:08 +03:00
Andreas Rumpf
8882b062e1
added selfExe and selfExec for NimScript support
2016-08-05 20:19:15 +02:00
Andreas Rumpf
b36849be3f
Merge pull request #4559 from haiodo/enable-profiler-filenames
...
Enable embedded profiler to display filenames.
2016-08-02 17:13:33 +02:00
Andreas Rumpf
ff351105fb
Merge pull request #4548 from arnetheduck/gc-cleanup
...
clean up a few stray c_stdout's in gc debug code
2016-08-02 17:11:58 +02:00
Andrey Sobolev
3c03877701
Enable embedded profiler to display filenames.
...
Enable embedded profiler to display filenames in profile_results.txt
2016-08-02 19:19:31 +07:00
miere43
268ba0ba00
fix several broken links
2016-07-31 21:39:32 +03:00
Jacek Sieka
b3846124e6
clean up a few stray c_stdout's in gc debug code
2016-07-31 08:34:42 +08:00
Andreas Rumpf
a8edf67a28
make nim bootstrap again for older versions
2016-07-30 00:50:38 +02:00
Hans Raaf
cc4bb89267
Fix for cstring nil to string nil conversion with $
2016-07-29 01:39:33 +02:00
coffeepots
ea03199400
Add handle function to Thread type
...
Exposes SysThread type and introduces the function "handle" to return Thread.sys.
2016-07-27 14:56:52 +01:00
Dmitry Polienko
c768fea630
Fix newWideCString(cstring, int)
2016-07-19 20:37:26 -07:00
Andreas Rumpf
b7c1be03c8
added system.newSeqOfCap for improved efficiency
2016-07-15 17:04:14 +02:00
Andreas Rumpf
0834cd63d9
prepare Nim codebase for upcoming parser changes
2016-07-15 12:56:03 +02:00
Yuriy Glukhov
59d17cb341
Fixed crash with leakDetector and threads enabled.
2016-07-11 16:23:15 +03:00
Andreas Rumpf
5e82ffc8d5
Nimscript: added support for 'patchFile'
2016-07-09 14:26:00 +02:00
Andreas Rumpf
e2267ef5c9
Nimscript supports hint() and warning() procs; refs #3688
2016-07-08 22:24:28 +02:00
Andreas Rumpf
caa7f42e8e
fixes #4340
2016-07-07 01:35:42 +02:00
Rostyslav Dzinko
e94c0ea4c8
Fixed reprEnum function on 32-bit systems
2016-07-05 19:05:31 +03:00
Jeff Ciesielski
4f4aafda6c
Plumb {.intdefine.} and {.strdefine.} pragmas.
...
Shorthand so that users won't need to use the .magic pragma
2016-07-04 22:52:24 -04:00
Jeff Ciesielski
94d1aa5109
Add the ability to pass a value with the -d flag
...
This allows the end user to use the {.magic: "IntDefine"/"StrDefine"}
pragmas to pass values into code at compile time. This has a nice side
effect of also allowing/requiring a default value to be assigned in the
code (see osalloc.nim/StandaloneHeapSize for an example)
2016-07-04 18:11:25 -04:00
cheatfate
e0b7f434eb
Enhance values SIGNALS on more OS.
...
Checked systems OpenBSD, NetBSD, FreeBSD, Solaris.
2016-06-16 13:38:30 +03:00
A. S. Budden
8e28a6140b
Correction as I hadn't realised setvbuf had been renamed.
2016-06-13 16:57:52 +01:00