Commit Graph

11935 Commits

Author SHA1 Message Date
Yuriy Glukhov
ecbbefcc83 Fallback to doNothing if /proc/loadavg cant be opened (#7123) 2018-01-22 13:52:22 +01:00
Andreas Rumpf
45c02af2b5 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-21 21:09:03 +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
Dominik Picheta
6607d01303 Merge pull request #7119 from zielmicha/patch-2
Change default ARM compiler name
2018-01-21 16:11:53 +00:00
Michał Zieliński
1a0f8fd4e6 Change default ARM compiler name
In most distros (Ubuntu, Debian, Arch Linux) the only available Linux ARM toolchain uses arm-linux-gnueabihf- prefix. That's also the correct compiler for cross-compiling code for Raspberry Pi, which is what most people will probably want.
2018-01-21 16:26:22 +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
Andreas Rumpf
c99f952dfb basic 'lent T' test works 2018-01-21 03:04:22 +01:00
Dominik Picheta
cdc54bec6f Add note about OpenSSL 1.0.x support to openssl module. 2018-01-20 17:36:38 +00:00
Dominik Picheta
588173496a Merge pull request #7113 from endragor/static-openssl102
Allow static linking with OpenSSL 1.0.2
2018-01-20 17:33:06 +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
Mathias Stearn
d127dd8095 Mention lack of js support in closure iterator limitations (#7110) 2018-01-19 16:51:49 +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
Andreas Rumpf
33b0e73962 fixes most recent iterators-as-expressions regression 2018-01-18 18:57:29 +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
6a2b57b4aa fixes #7093 2018-01-18 11:40:18 +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
cooldome
27aab0be16 Custom pragmas in procs bug fix (#7086) 2018-01-18 10:38:55 +01:00
Sergey Avseyev
d9c922fc70 Fix gc tests for BoehmGC (#7094) 2018-01-18 09:04:32 +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
jcosborn
399c5e38b7 don't make optNilCheck default to on for now (#7058)
* don't make optNilCheck default to on for now

* add conditional symbol nimHasNilChecks
2018-01-17 01:32:40 +01: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
Andreas Rumpf
b38f6d49b7 travis: attempt to make tests green again 2018-01-16 11:06:22 +01: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
24a6583fa7 hardened gctest 2018-01-15 00:48:52 +01:00
Araq
2d907ac334 make tests green again 2018-01-15 00:09:11 +01: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
Mathias Stearn
6db1b492e1 Include target in tester nimcache hash (#7053) 2018-01-14 15:22:48 +01:00
Andreas Rumpf
38fde80b35 strformat: fixes new 'fmt' template 2018-01-13 10:57:51 +01:00
Dominik Picheta
430a6c481e Merge pull request #7074 from smt923/patch-1
Update two links in tutorial to point to correct section
2018-01-12 14:39:05 +00: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
smt
e7e0648829 Update two links in tutorial to compiler usage docs with updated page anchors
Seems like these class ids on the page were renamed to reflect their hierarchy but the tutorial links weren't pointing to them, this should fix that
2018-01-12 13:57:58 +00:00