Yuriy Glukhov
ecbbefcc83
Fallback to doNothing if /proc/loadavg cant be opened ( #7123 )
2018-01-22 13:52:22 +01:00
Andreas Rumpf
6266c68ab6
writeStackTrace now officially has no IO effect anymore for more convenient debugging
2018-01-21 21:08:51 +01:00
Andreas Rumpf
8c98277d5a
M&S GC: minor code cleanup
2018-01-21 21:06:31 +01:00
Andreas Rumpf
5f603144b2
GC: fixes size computation for leak detection
2018-01-21 20:59:25 +01:00
Andreas Rumpf
81195fc362
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-21 10:59:18 +01:00
Andreas Rumpf
e5af08cc12
GC add 'string' to dumpNumberOfInstances
2018-01-21 10:59:09 +01:00
Dominik Picheta
cdc54bec6f
Add note about OpenSSL 1.0.x support to openssl module.
2018-01-20 17:36:38 +00:00
Ruslan Mustakov
be2db6d67a
Allow static linking with OpenSSL 1.0.x
...
This commit basically returns the code that was removed in
a78d7a31f7 , but under 'openssl10'
define symbol. OpenSSL 1.0.2 is still actively maintained, so there is
no point in dropping support of it.
2018-01-20 19:26:00 +07:00
Andreas Rumpf
7adf3bf476
Mark&Sweep GC: introduce nimTracing define for debugging
2018-01-19 18:11:46 +01:00
Andreas Rumpf
00295366b5
fixes size computations for 'dumpNumberOfInstances'
2018-01-19 16:32:48 +01:00
Andreas Rumpf
0b52466bb8
bugfix: do not call memcmp for nil strings
2018-01-19 09:26:11 +01:00
Andreas Rumpf
fea66497b4
terminal.nim: code cleanup
2018-01-18 19:34:46 +01:00
Dmitry Atamanov
7ce38122e8
Support truecolor for the terminal stdlib module ( #6936 )
2018-01-18 18:48:59 +01:00
Yuriy Glukhov
1b3f640188
Fixed crash in rand ( #7103 )
2018-01-18 18:47:58 +01:00
Dominik Picheta
ef19634065
Workaround 'defer' issue in httpclient.downloadFile. Refs #3877 . ( #7101 )
2018-01-18 14:08:35 +01:00
Andreas Rumpf
090d22c715
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-18 11:40:30 +01:00
Andreas Rumpf
76df554dc4
make MySQL client work with MariaDB; prefer newer versions over older
2018-01-18 11:32:43 +01:00
Andreas Rumpf
6f6551d77d
leak detector: sort type based entries by total used bytes
2018-01-18 11:11:16 +01:00
Andreas Rumpf
03b7df74a9
alloc.nim: Make 'logAlloc' produce a toy Nim program for easier memory tracing
2018-01-18 10:46:23 +01:00
Andreas Rumpf
ffd8e922a1
stats.nim: add a '$' operator for RunningStat
2018-01-18 10:45:46 +01:00
Dominik Picheta
b754bfabb6
Merge pull request #7023 from yglukhov/unify-async
...
Unify async macro and futures for js and native targets
2018-01-17 15:06:32 +00:00
Dominik Picheta
136f1a208a
Merge pull request #7066 from nim-lang/net-fixes
...
Assert on closed sockets
2018-01-16 22:05:49 +00:00
Dominik Picheta
1661062ebf
Raise assertion error when attempting to use closed socket.
2018-01-15 17:48:32 +00:00
Araq
3e33668abc
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-15 17:41:15 +01:00
Araq
f1089db175
GC: enable precise global/thread local storage tracing
2018-01-15 17:41:05 +01:00
Dominik Picheta
fc056015fd
Merge pull request #7064 from grazil/devel
...
add missing methods in js backend
2018-01-15 11:24:18 +00:00
Araq
9a60eae631
fixes #7078
2018-01-14 23:49:53 +01:00
Renaud Chénard
a2b7fcdb4d
Use generic for 'stateObject' in func 'pushState'
2018-01-14 23:12:59 +01:00
Araq
bba6d62420
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-14 17:34:48 +01:00
Araq
f71f9f83c2
GC improvements; distinguish between thread local and globals in the marking step
2018-01-14 17:34:27 +01:00
Andreas Rumpf
38fde80b35
strformat: fixes new 'fmt' template
2018-01-13 10:57:51 +01:00
Araq
ee64dcd728
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-12 15:08:12 +01:00
Araq
f1bf65f66e
gc.nim: Add a gcAssert to enforce the no heap sharing restrictions
2018-01-12 15:08:02 +01:00
Dominik Picheta
471ae7e081
Merge pull request #7067 from yglukhov/httpclient-crash
...
Fixed crash in ssl httpclient
2018-01-12 08:59:29 +00:00
Araq
3647c9c822
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-12 01:27:45 +01:00
Araq
66634fe1a0
strformat: introduce 'fmt' as an alias for '%'; ensure overloading resolution produces a clash between strformat.'%' and json.'%'
2018-01-12 01:27:24 +01:00
Yuriy Glukhov
cfc0a58417
Fixed crash in ssl httpclient
2018-01-11 23:02:42 +02:00
Dominik Picheta
4181e1940d
recv with a timeout of -1 shouldn't wait on all data.
2018-01-11 20:46:44 +00:00
Dominik Picheta
082868f1bb
Merge pull request #7063 from yglukhov/logging-dont-crash-on-nil
...
logging: don't crash on nil strings
2018-01-11 18:41:34 +00:00
Araq
425f221440
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2018-01-11 18:05:26 +01:00
Araq
fb8def869c
rename strformat.fmt to % as it works better with backslash escape sequences; refs #6958
2018-01-11 18:05:14 +01:00
grazil
d5cd8e6f71
add missing methods in js backend
2018-01-11 14:16:48 +01:00
Dominik Picheta
8da96bc72b
Remove additionalInfo in OSError in findNextFile
2018-01-11 12:16:34 +00:00
oskca
c9c44a4eb9
correct type for raiseOSError
2018-01-11 19:42:19 +08:00
Yuriy Glukhov
852e1d3da1
logging: don't crash on nil strings
2018-01-11 11:50:13 +02:00
oskca
495331bf20
raiseOSError to indicate the failling of findNextFile in walkDir[Rec]
2018-01-11 13:40:35 +08:00
oskca
e98a2051ce
check ERROR_NO_MORE_FILES to prevent walkDir[Rec] to quit prematurely
2018-01-11 13:40:35 +08:00
cooldome
2aebb8ed7e
Fix for isssue in parseBiggestFloat #7060 ( #7061 )
2018-01-11 01:57:20 +01:00
Dominik Picheta
2c905f5e81
Merge pull request #6962 from nim-lang/fixes/6100
...
Fixes #6100 .
2018-01-10 23:11:26 +00:00
Dominik Picheta
1256f211f5
Merge pull request #6922 from FedericoCeratto/openssl-1.1.0
...
Add OpenSSL 1.1.0 support
2018-01-10 23:05:42 +00:00