Commit Graph

5618 Commits

Author SHA1 Message Date
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
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
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
Dominik Picheta
24cae4addb Merge pull request #7033 from GULPF/allow-timezone-closures
Allow timezone procs to be closures
2018-01-10 17:45:29 +00:00
Dominik Picheta
5f3438a3fe Merge pull request #7050 from cooldome/vcc_enum_warning
Add vcc warning C4809 to ignore list
2018-01-10 12:44:59 +00:00
rrenderr
a1016245cc - fixed lock of a program when proc echo is called on Android 5.x.x (#7054) 2018-01-10 12:41:29 +01:00
cooldome
002840edff Add warning 4809 to ignore list 2018-01-09 22:29:52 +00:00
Dominik Picheta
e7e37713dd Merge pull request #7045 from GULPF/fmt-str-fallback
Add additional $ fallback to fmt
2018-01-09 16:22:38 +00:00
Dmitry Atamanov
b6b99da08f Windows: fix a eraseLine bug (#7044) 2018-01-09 15:48:27 +01:00
cooldome
2c9e56a783 Implement custom annotations (#6987) 2018-01-09 15:25:22 +01:00
Dmitry Atamanov
b31151f68e New runtime: fix allocator inheritable (#7046) 2018-01-09 11:22:29 +01:00
Oscar Nihlgård
cde3a4f586 Add additional $ fallback to fmt 2018-01-09 00:18:32 +01:00
Andreas Rumpf
424532f883 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-08 22:00:27 +01:00
Dmitry Atamanov
fd1883f90a Fixes for new runtime (#7037) 2018-01-08 21:26:03 +01:00
Andreas Rumpf
437caf4358 Merge branch 'devel' into nimv2 2018-01-08 20:04:25 +01:00
Andreas Rumpf
b168efd1ab make strformat.fmt take the same signature as strfmt.fmt in order to force an ambiguity error; refs #6958 2018-01-08 13:43:43 +01:00
Andreas Rumpf
e4081a7201 preparations for language extensions: 'sink' and 'lent' types 2018-01-07 23:09:26 +01:00
Andreas Rumpf
3af73682e5 Merge branch 'devel' into nimv2 2018-01-07 13:59:29 +01:00
Andreas Rumpf
e23ea64c41 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-07 12:21:47 +01:00
Andreas Rumpf
08af53032b net.nim: minor documentation update 2018-01-07 12:20:00 +01:00
Araq
e316665b7b work in progress: 'sink' and 'lent' types 2018-01-07 10:17:19 +01:00
Araq
06e68feadb strscans: fix the type checking logic; improve the documentation 2018-01-06 17:27:19 +01:00
Mathias Stearn
9bc2638399 Fix typos in scanf docs (#7035) 2018-01-06 15:08:58 +01:00
Dmitry Atamanov
6ca563dd2e Add a more number parsers to the scanf macro (#6985) 2018-01-05 17:36:56 +01:00
Dmitry Atamanov
6cf8a72d49 Windows: fixes getch bug; fixes #6966 (#7031) 2018-01-05 17:32:05 +01:00
Oscar Nihlgård
c098ee3c7a Remove nimcall pragma from tz procs 2018-01-05 11:16:58 +01:00
Oscar Nihlgård
c344fb311d Allow timezone procs to be closures 2018-01-05 10:07:46 +01:00
Mathias Stearn
9f943dbc8e Don't zeroMem result of boehmAlloc() (#7029)
From the man page: "Unlike the standard implementations of malloc, GC_malloc
clears the newly allocated storage. GC_malloc_atomic does not."
2018-01-05 08:58:42 +01:00
Andreas Rumpf
464d037c17 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-04 15:59:10 +01:00
Andreas Rumpf
2e635ab28c new runtime: added typelayouts.nim 2018-01-04 15:59:03 +01:00
Andreas Rumpf
80fef7c818 allocators.nim: minor typo 2018-01-04 14:16:33 +01:00
Araq
2cf94fe7e7 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-04 00:19:11 +01:00
Araq
05e3a06b6e nimbase.h: make 'endif' nesting correct 2018-01-04 00:19:04 +01:00