flywind
22e71cbc0f
fix #18702(fix parseutils.parseFloat) ( #18703 ) [backport:1.0]
...
* fix #18702
* Apply suggestions from code review
(cherry picked from commit 901c5ded52 )
2021-08-24 07:25:52 +02:00
Andreas Rumpf
a0d62e654a
fixes #16214 [backport] ( #16252 )
...
(cherry picked from commit edce5897a5 )
2020-12-19 14:35:02 +01:00
shirleyquirk
dc5e8fc39d
Fix c_malloc inside syslocks.nim to take size_t ( #15268 ) [backport]
...
* update c_malloc's to csize_t
(cherry picked from commit 57f98dae9a )
2020-09-11 15:01:14 +02:00
slangmgh
d15cbb229a
Fix #14151 ( #14205 ) [backport]
...
(cherry picked from commit d5c014e59b )
2020-05-06 17:27:09 +02:00
Kaushal Modi
c90bbe3201
Document that proc named fooTask is created for every foo task [backport] ( #14187 )
...
Ref: https://irclogs.nim-lang.org/01-05-2020.html#15:18:03
(cherry picked from commit 0880f118d3 )
2020-05-06 17:26:57 +02:00
narimiran
bdb679c487
[backport] fix #13352
...
(cherry picked from commit 36d1ad39d0 )
2020-02-19 18:57:54 +01:00
chr v1.x
a6846b81eb
[backport] documentation: Add channels examples ( #13202 ) [ci skip]
...
(cherry picked from commit aebcbfe5ea )
2020-01-23 14:47:59 +01:00
Ștefan Talpalaru
de43bdfa70
generic stack trace overriding mechanism ( #12922 )
...
* libbacktrace support
* switch to a generic stack trace overriding mechanism
When "nimStackTraceOverride" is defined, once of the imported modules
can register its own procedure to replace the default stack trace
generation by calling `registerStackTraceOverride(myOwnProc)`.
Tested with `./koch boot -d:release --debugger:native -d:nimStackTraceOverride --import:libbacktrace`
for the compiler itself and `./bin/nim c -r -f --stacktrace:off --debugger:native -d:nimStackTraceOverride --import:libbacktrace foo.nim`
for an external program.
* make the StackTraceOverrideProc {.noinline.}
(cherry picked from commit ee9ee297d8 )
2020-01-23 10:45:10 +01:00
Ștefan Talpalaru
25a4026cda
c_fflush() the rawWrite() buffer ( #12987 )
...
Stack traces on an unbuffered stderr get out of sync with line-buffered
stdout - usually on Windows terminals or CI logs. This fixes it by
calling C's fflush() on the output buffer in the procedure used for
printing stack traces.
(cherry picked from commit defaf3b5a5 )
2020-01-23 10:44:54 +01:00
narimiran
7134d57cd4
[backport] system/io.nim fix wrong documentation comment [ci skip]
...
(cherry picked from commit e9e114058c )
2020-01-14 06:26:56 +01:00
cooldome
4028514eeb
fixes #13013 , reverts previous changes to readLines() ( #13036 ) [backport]
...
* Revert "remove default argument for readLines (#12807 ) [backport]"
This reverts commit c949b81efd .
(cherry picked from commit a3df1b55f3 )
2020-01-05 10:40:13 +01:00
cooldome
78f9933b8f
remove default argument for readLines ( #12807 ) [backport]
...
(cherry picked from commit c949b81efd )
2020-01-05 10:39:55 +01:00
flywind
9167eb6c89
fix error in assertions document ( #12925 ) [backport]
...
(cherry picked from commit cb0a20b9b4 )
2019-12-26 15:41:48 +01:00
cooldome
261592de18
Better clang_cl support ( #12896 )
...
(cherry picked from commit 777c9ad0ef )
2019-12-16 09:28:26 +01:00
Andreas Rumpf
d0e8ad17b5
more fixes for --cpu:avr [backport] ( #12748 )
...
(cherry picked from commit fd85a5ae05 )
2019-12-10 15:49:11 +01:00
Andreas Rumpf
d6f52f3cef
added 'since' template for further stdlib additions
...
(cherry picked from commit 372b01711e )
2019-11-25 17:25:41 +01:00
Volodymyr Lashko
7ea60f78b5
Fix crash in terminate handler ( #12572 ) [backport]
...
* fix undefined behavior in terminate handler
* fix failing unit test
* Revert "fix failing unit test"
This reverts commit 0e5e385fbf .
* Revert "fix undefined behavior in terminate handler"
This reverts commit 2b582871f1 .
* do not throw inside terminate handler with msvc < 1923
(cherry picked from commit 4e841ab156 )
2019-11-08 15:08:08 +01:00
Miran
8fddc8e8a1
[backport] fix #12395 ( #12590 )
...
'countBits32' is now fixed in the same way that
'countBits64' was already patched earlier (by adding 'u32
where needed).
(cherry picked from commit ae32d637f7 )
2019-11-05 16:20:25 +01:00
Nindaleth
1d43c8620e
fix several typos in documentation and comments ( #12553 )
...
(cherry picked from commit 34dbc5699e )
2019-10-30 10:38:25 +01:00
Jjp137
d1d8cd1000
Fix word wrapping
...
(cherry picked from commit 3ad48069d3 )
2019-10-24 14:12:23 +02:00
Jjp137
dedff71ca0
Fix many broken links
...
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
(cherry picked from commit 93461aee34 )
2019-10-24 14:10:46 +02:00
genotrance
8f1dea614e
Fixes #12286 - require explicit disabling of boehm interior pointer checking ( #12406 ) [backport]
...
(cherry picked from commit 9e62876647 )
2019-10-12 08:00:44 +02:00
Nindaleth
8a0012de42
fix a few dead links and a missing sentence in documentation ( #12387 )
...
(cherry picked from commit 84c956d9da )
2019-10-09 06:36:39 +02:00
Andreas Rumpf
44d45b763c
fixes #12315 [backport]; refs #12314 ( #12385 )
...
(cherry picked from commit f30da2f266 )
2019-10-09 06:28:27 +02:00
Federico Ceratto
fa7f5742d3
Fix spellings ( #12277 ) [backport]
...
(cherry picked from commit 39290cf88c )
2019-09-30 18:43:35 +02:00
Araq
5abe880469
last stdlib cleanups
2019-09-21 06:43:37 +02:00
Andreas Rumpf
7bc5bf8334
consistent floating point output ( #12219 )
...
* unify float printing
* makes tests green
2019-09-20 10:41:40 +02:00
Araq
04c803d6df
expose more fields of TNimType
2019-09-19 20:54:17 +02:00
treeform
910ed5888e
Add -d:androidNDK to fix echo on Android NDK builds. ( #12203 )
...
* Add -d:echoToAndroidLog to fix echo.
* Change to androidNDK and add docs.
* Some word changes to docs.
2019-09-17 23:00:06 +02:00
Andreas Rumpf
62aa1a3cfe
gc:destructors progress
2019-09-16 23:54:31 +02:00
Andreas Rumpf
77c6425e65
gc_common: typo
2019-09-16 23:54:31 +02:00
Andreas Rumpf
eb241f4241
count 64 bits at a time instead of 8 ( #12159 )
...
* count 64 bits at a time
* spacing
* only do 64bts on x86
* add amd64
* use while
2019-09-12 08:20:53 +02:00
Brent Pedersen
5b923cd149
use while
2019-09-11 15:40:34 -06:00
Brent Pedersen
944bab4c3c
add amd64
2019-09-11 08:39:33 -06:00
Brent Pedersen
5a520a8454
only do 64bts on x86
2019-09-11 08:35:44 -06:00
Brent Pedersen
81c23bba7b
spacing
2019-09-09 20:20:35 -06:00
Brent Pedersen
92f2d68802
count 64 bits at a time
2019-09-09 20:00:28 -06:00
Andreas Rumpf
e0f3e8432a
fixes a critical --gc:boehm regression
2019-09-06 18:06:08 +02:00
Araq
ad82e65387
gc:destructors progress
2019-09-01 23:28:26 +02:00
cooldome
2b565aad89
Support iterators returning lent T ( #11938 )
...
* lent iterators
* rebase tests
* update changelog
* fix comments, more tests
2019-08-31 19:23:54 +02:00
Clyybber
f9600b7207
Remove ENDB ( #12095 )
2019-08-31 07:44:53 +02:00
Andreas Rumpf
9203d3a982
fixes 5870 ( #11704 )
...
* fixes #5870
* make tclosure test green again
* this check is correct but breaks some Nimble packages
2019-08-29 07:49:58 +02:00
Ico Doornekamp
84351da9d8
Fixes #12044 ( #12071 )
2019-08-28 12:05:07 +02:00
Jacek Sieka
66a8856152
abort is noreturn ( #12061 )
2019-08-27 14:27:44 +02:00
Andreas Rumpf
b07694cd90
new gensym handling ( #11985 )
...
* new .gensym implementation
* make astspec test green again
* introduce a --useVersion switch to group compatibility switches
* fixes #10180
* fixes #11494
* fixes #11483
* object constructor fields and named parameters are also not gensym'ed
* disabled broken package
2019-08-23 16:15:02 +02:00
Andreas Rumpf
742862b847
more enhancements for #11618 ( #11976 )
...
* finish the Windows IO layer changes; refs #11618
* added system.getOsFileHandle which is less error-prone on Windows
* make tests green again
2019-08-18 22:57:56 +02:00
Andreas Rumpf
7cb31455ee
fixes #11618 ( #11969 )
2019-08-17 21:19:57 +02:00
Andreas Rumpf
db9e27dffd
Fixes #11118 ( #11964 )
...
* fixes #11118
* Reset closure iter exception before rethrowing
2019-08-17 10:37:38 +02:00
Yuriy Glukhov
721ca3e830
Reset closure iter exception before rethrowing
2019-08-16 17:26:00 +02:00
Araq
39f4a3e418
fixes #11801
2019-08-16 15:20:39 +02:00