Andreas Rumpf
122f22d163
asynchttpserver cleanups [backport:1.0] ( #15966 )
...
* asynchttpserver cleanups [backport:1.0]
2020-11-15 07:27:13 +01:00
Juan Carlos
1b9f37c6dc
https://github.com/nim-lang/Nim/pull/15968/files#r523468677
2020-11-14 19:57:06 -03:00
Juan Carlos
c56a6133bb
Fix #15806
2020-11-14 15:45:13 -03:00
Juan Carlos
9ab1a86b5b
Fix #15806
2020-11-14 15:43:31 -03:00
Juan Carlos
3cebae492e
Fix #15806
2020-11-14 15:39:03 -03:00
Juan Carlos
d0dda9efab
Fix #15806
2020-11-14 15:31:59 -03:00
Andreas Rumpf
1978b91202
[docs minor]add some tips to intern.rst ( #15967 )
...
* [docs minor]add some tips yo intern.rst
* minor
2020-11-14 13:00:06 +01:00
flywind
47ce24f680
fix #12303 ( #15964 )
2020-11-14 12:51:23 +01:00
flywind
bfa387d384
minor
2020-11-14 18:51:05 +08:00
flywind
5af798c21b
[docs minor]add some tips yo intern.rst
2020-11-14 18:47:17 +08:00
Andreas Rumpf
784720a7ef
nimgrep: change 2 iterators to closure ( #15962 )
2020-11-14 10:30:21 +01:00
Timothee Cour
96930b9cae
targets: use cpp instead of c++ everywhere (was by far the most common) ( #15961 )
2020-11-14 10:08:15 +01:00
Timothee Cour
1a47fc2291
strengthen taddr.nim: add test case for #14578 ; reference other issues; test cpp ( #15960 )
2020-11-13 14:44:44 -08:00
Andrey Makarov
edd84bd9bc
nimgrep: change 2 iterators to closure
2020-11-14 01:21:27 +03:00
Andreas Rumpf
562c6275b8
attempt to make asynchttpserver better; fixes #15925 ; [backport:1.0] ( #15957 )
...
* attempt to make asynchttpserver better; fixes #15925 ; [backport:1.0]
* better documentation
* fixes 'nim doc'
* makes test green again
* ported to FreeRTOS
* fixes the doc rendering
2020-11-13 20:57:43 +01:00
Araq
02f8b11a71
fixes the doc rendering
2020-11-13 17:16:00 +01:00
Araq
9f566881f1
ported to FreeRTOS
2020-11-13 17:03:07 +01:00
Araq
fa7b12bcf9
makes test green again
2020-11-13 14:18:01 +01:00
landerlo
c39fa0d495
Make IntSet a generic ordinal set OrdSet[A] ( #15564 )
...
* Make IntSet an ordinal set OrdSet[A: Ordinal]
Backward compatibility with IntSet is maintained.
IntSet is an alias for OrdSet[int]
* move ordsets to new file, intsets exports it
* ordset, move to lib/std folder
* Fix `$` for ordsets and test cleanup
* Fix ordsets compilation in doc example
* Rename ordsets to packedsets
2020-11-13 14:12:51 +01:00
c-blake
a9bd4c4e80
Alternate to https://github.com/nim-lang/Nim/pull/15915 ( #15937 )
...
* Alternate PR to https://github.com/nim-lang/Nim/pull/15915 to
resolve the problem mentioned there (`hash() == 0`) as well as
to close https://github.com/nim-lang/Nim/issues/15624
* Address https://github.com/nim-lang/Nim/pull/15937#discussion_r522759669
{ though this was only a move from 2 copies to 3 copies. ;-) }
2020-11-13 14:04:40 +01:00
Araq
19d52033f8
fixes 'nim doc'
2020-11-13 13:50:57 +01:00
Bung
797cb2e67b
Fix #8404 JS backend doesn't handle float->int type conversion ( #15950 ) [backport]
...
* Fix #8404 JS backend doesn't handle float->int type conversion
* handle conv to uint as cast, discard other cases
* limit to int32, times use int64
* toInt including tyInt64 break times timezones lib, ignore for now
* also affect to vm
* move to tests/misc/t8404.nim
2020-11-13 13:44:48 +01:00
Araq
cb19dc53ca
better documentation
2020-11-13 13:07:48 +01:00
Araq
8778d4a6f3
attempt to make asynchttpserver better; fixes #15925 ; [backport:1.0]
2020-11-13 13:03:14 +01:00
flywind
d802a4a669
close #13062(add testcase for #13062 ) ( #15956 )
2020-11-13 12:49:30 +01:00
flywind
7d51ad96e9
close #2771(add testcase for #2771 ) ( #15932 )
2020-11-13 11:57:56 +01:00
Miran
8a21f94c72
refactoring: modernize rst.nim ( #15953 )
2020-11-13 10:25:00 +01:00
flywind
a86aa31081
minor
2020-11-13 16:15:13 +08:00
flywind
a968e7dd9b
add testcase for #9754
2020-11-13 15:42:59 +08:00
flywind
0f53b129b7
nil
2020-11-13 15:28:22 +08:00
lenoil98
778914c3ca
Update buildsh.nimf ( #15945 )
...
fix powerpc64le detection
2020-11-13 08:16:20 +01:00
wilypomegranate
1fdfa234d7
Don't use os for Standalone ( #15944 )
2020-11-13 08:15:46 +01:00
treeform
83432aecfc
Add documentElement to Document. ( #15943 )
2020-11-13 08:12:03 +01:00
flywind
492e9afa4c
fix #15941 ( #15948 )
...
* fix #15941
* add testcase
* update
2020-11-13 08:11:00 +01:00
Miran
d0c4c738b9
add a tester for rst2html ( #15936 )
2020-11-12 22:25:23 +01:00
Timothee Cour
1413818aa1
Update changelog.md
2020-11-12 09:36:07 -08:00
flywind
8ec3c141ae
add testcase
2020-11-12 23:58:42 +08:00
flywind
077eba7b38
make workaround for #15934 and #15620
2020-11-12 23:24:45 +08:00
flywind
4663319bf5
follow #8463 #14157 and document cstring literals modification is not allowed ( #15878 )
...
* follow #8463 #14157 and document cstring literals
* Update doc/manual.rst
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-11-12 15:28:45 +01:00
Timothee Cour
cc882917fe
js -d:nodejs now supports osenv: getEnv, putEnv, envPairs, delEnv, existsEnv (v2) ( #15826 )
...
* js -d:nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, `existsEnv`
* refactor to osenv
* fix for js (without -d:nodejs) + VM
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-11-12 14:36:57 +01:00
Bung
bc007a3cd3
add parent property to window in dom.nim ( #15922 )
2020-11-12 12:36:42 +01:00
hlaaftana
527e792827
make var string return var char w/ BackwardsIndex ( #15461 )
...
* make var string return var char w/ BackwardsIndex
fixes #14497
* work around VM bug
* properly workaround again
2020-11-12 11:44:21 +01:00
flywind
ef2677f5f3
change some code-blocks to runnableExamples and correct some errors in docs ( #15900 )
...
* original docs are wrong
* fix pathnorm
* Update lib/pure/pathnorm.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
2020-11-12 10:47:56 +01:00
lenoil98
63c559e781
Add support for FreeBSD/PowerPC64 Little Endian ( #15927 )
...
* Update installer.ini
Add support for powerpc64 little endian
* Update buildsh.nimf
Add support for powerpc64 little endian
* Update makefile.nimf
Add support for freebsd/powerpc64 little endian
2020-11-12 10:43:13 +01:00
Christopher Dunn
c6ceefea6d
Fix a problem for long symlinks in conda ( #15908 ) [backport]
...
* d8c80ea69d (diff-e1d8e552330911f9f779f85b6f2c00a15e790dcc3fbb3b28f5da1d660a30c5b8)
2020-11-12 09:32:38 +01:00
flywind
402df0b061
fix #15916 ( #15917 ) [backport]
...
* fix #15916
* add testcase for #15916
* add comments
2020-11-12 09:31:35 +01:00
Fanael Linithien
7d4f70280e
Fix #15909 ( #15914 )
2020-11-12 09:28:32 +01:00
Timothee Cour
e5db5316c2
doAssertRaises improvements; nimscript supports except Exception as e ( #15765 )
...
* doAssertRaises now correctly handles foreign exceptions; now shows which exception is raised on mismatch
* nimscript now handles `Exception as e`
* remove catch-all doAssertRaises overload from this PR
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-11-12 09:25:41 +01:00
flywind
1f9bf43100
fix #14157 ( #15877 )
...
* fix #14157
* Update compiler/jsgen.nim
* add changelog
* Update compiler/jsgen.nim
* Update tests/js/tmodify_cstring.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-11-12 09:20:10 +01:00
Bung
826e62953f
fix #12726 Cannot take the compile-time sizeof Atomic types ( #15928 )
...
* fix #12726 Cannot take the compile-time sizeof Atomic types
* fix for arch 32
2020-11-12 09:16:40 +01:00