Commit Graph

11917 Commits

Author SHA1 Message Date
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
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
Araq
df73d412ba introduce --symbolFiles:v2 as the next attempt to bring symbol files to Nim 2018-01-11 17:58:26 +01:00
Dominik Picheta
72d9485e8e Fix tasync_traceback test. 2018-01-11 16:52:14 +00:00
Dominik Picheta
b7713859ab Use regex to match output of tasync_traceback. 2018-01-11 16:15:53 +00:00
Dominik Picheta
2312f71819 Merge pull request #7055 from oskca/devel
check ERROR_NO_MORE_FILES to prevent walkDir[Rec] to quit prematurely for windows
2018-01-11 14:37:35 +00: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