ringabout
9ba07edb2e
build the documentation of official packages ( #20986 )
...
* remove db stuffs
* remove punycode
* remove
* fixes script
* add cloner
* patches
* disable
* patch
* fixes external packages
* disable two packages
* preview documentation build
* try again
* fixes URL
* fixes a bug
* simplify
* fixes documentaion
* fixes
* Apply suggestions from code review
2022-12-06 22:37:16 +08:00
metagn
739e1badb6
stdlib organization & documentation improvements ( #20971 )
...
* stdlib organization & documentation improvements
* fix CI
* Update doc/lib.md
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
* fix ci, remove jshttpcore, export in jsfetch instead
* fix alphabetical order violations
* add cmdline, db_odbc
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
2022-12-06 09:37:03 +01:00
Juan Carlos
1b5e03f975
Remove deprecated posix.CLONE_STOPPED ( #21012 )
...
* Remove deprecated CLONE_STOPPED
* Remove deprecated CLONE_STOPPED
2022-12-05 06:53:40 +01:00
ringabout
55373e65b4
unpublic arrayWith and rename it to nimArrayWith ( #21006 )
...
* unpublic arrayWith
* unindent
2022-12-04 15:39:14 +08:00
Michal Maršálek
83493e4294
Update prelude example ( #21005 )
...
comment to match what's actually being imported.
2022-12-03 21:25:49 +08:00
ringabout
ece41d2605
minor cleanup; correct the module name ( #21001 )
...
* minor cleanup
follow up https://github.com/nim-lang/Nim/pull/20946
* Update lib/std/cmdline.nim
* Update lib/std/cmdline.nim
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com >
2022-12-02 15:10:08 -05:00
ringabout
8266750497
[unittest] remove unnecessay export for testing ( #20868 )
2022-12-01 14:31:48 -05:00
Bung
658b28dc57
tyInt tyUint fit target int bit width ( #20829 )
2022-12-01 13:34:00 +01:00
Federico Ceratto
b36f5119ae
Add HPPA and sparc64 architectures ( #20934 )
...
* Add comments on CPU arch detection
* Support HPPA/hppa/parisc64 CPU architecture
* Support sparc64 CPU architecture
* Update tools/niminst/makefile.nimf
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2022-12-01 12:48:47 +08:00
ringabout
17ac8c31bf
move smtp to nimble packages ( #20953 )
...
* move `smtp` to nimble packages
* fixes
* install smtp
* yes
2022-11-30 21:52:36 +01:00
IgorDeepakM
84ea62ea0d
Move command line parameter code ( #20946 )
...
Command line paramater code moved from os.nim to cmdparam.nim
Co-authored-by: IgorDeepakM <IgorDeepak@noreply.com >
2022-11-30 11:00:26 +01:00
metagn
ce971400c0
dom: remove X* = ref XObj [backport] ( #20910 )
...
dom: remove X* = ref XObj
2022-11-29 14:24:51 -05:00
rockcavera
9c5061eab7
fix #20969 - making vcc work again with cpp backend ( #20970 )
...
Update sysatomics.nim
2022-11-29 14:07:17 -05:00
ringabout
f31dc63169
move asyncftpclient to nimble packages ( #20952 )
2022-11-28 21:17:50 +01:00
Juan Carlos
dd57410afe
Improve jsformdata ( #20929 )
...
* jsformdata now accepts Blob data type similar to JS
* jsformdata now accepts Blob data type similar to JS
2022-11-28 15:15:44 -05:00
Federico Ceratto
8a68ed65d0
Support IBM Z architecture ( #20943 )
2022-11-28 13:33:09 -05:00
jfilby
5a848a0707
Fix several memory leaks in the Postgres wrapper. ( #20940 )
2022-11-27 19:28:38 +01:00
ringabout
2d6c200284
fixes documentation regression ( #20925 )
...
follow up https://github.com/nim-lang/Nim/pull/17004
2022-11-26 16:35:30 +01:00
ringabout
521720f30f
fixes #20873 ; rework vcc with arc/orc ( #20913 )
...
* fixes #20873 ; arc/orc is broken for vcc
* fixes signature
2022-11-25 08:49:46 +01:00
ringabout
b7d96cd3f5
fixes broken importc for vcc [backport] ( #20909 )
...
fixes broken imports for vcc
2022-11-24 20:16:51 +01:00
ringabout
ef29987781
An unnamed break in a block now gives an UnnamedBreak warning ( #20901 )
...
* unnamed break in the block now gives an error
* bootstrap
* fixes
* more fixes
* break with label
* label again
* one moee
* Delete test5.txt
* it now gives a UnnamedBreak warning
* change the URL of bump back to the original one
2022-11-24 07:31:47 +01:00
ringabout
d3eb1383d1
alloc uses atomic operations only when necessary ( #20899 )
2022-11-23 07:20:35 +01:00
ringabout
09b7f90475
move system/atomics out of system; std/atomics should be preferred ( #20875 )
...
* move `system/atomics` out of system; `std/atomics` should be preferred
* add deprecation message
* fixes
* fixes
* fixes
* fixes more tests
2022-11-22 20:39:30 +01:00
ringabout
0448f30fd9
fixes #20026 ; marks system procs which can raise defects ( #20864 )
...
* marks system procs which can raise defects
* add tests
* add more systemRaisesDefect
* add comment
2022-11-22 20:07:00 +01:00
metagn
27d9c67352
correct Ptr field name for RTL_CONDITION_VARIABLE? ( #20896 )
...
correct field name for RTL_CONDITION_VARIABLE?
ref #20895
2022-11-22 15:54:15 +01:00
Tanguy
19cc494b80
echo: only lock when threading is enabled ( #20890 )
2022-11-21 14:56:54 -05:00
ringabout
bce1f35f87
fixes strict effects ( #20885 )
...
* fixes strict effects
* remove nosideeffect
* Update lib/system/comparisons.nim
2022-11-21 14:55:13 -05:00
Ico Doornekamp
79b25a911b
channel send() condition variable lock ordering ( #20879 )
2022-11-21 13:11:28 +01:00
rockcavera
fe43f751eb
fix #20835 ( #20872 )
...
Update syncio.nim
2022-11-18 07:41:46 +01:00
ringabout
68f6926348
remove useless defines ( #20867 )
2022-11-17 23:04:43 +08:00
ringabout
cdbf5b4699
fixes a severe bug of testament ( #20832 )
...
* test azure
* use exit 1
* try again
* use useSysAssert
* disable i386
* use refc for tlsEmulation on i386
* use refc
* disable i386
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com >
2022-11-17 09:38:07 +08:00
ringabout
e03a178bff
rename std/threads to std/typedthreads ( #20850 )
...
* rename `std/threads` to `std/oldthreads`
* fixes tests
* rename to `typedthreads`
* changelog
2022-11-16 16:35:20 +01:00
ringabout
06cd15663d
fixes ptr to cstring warnings[backport] ( #20848 )
...
* fix =#13790 ptr char (+friends) should not implicitly convert to cstring
* Apply suggestions from code review
* first round; compiles on windows
* nimPreviewSlimSystem
* conversion is unsafe, cast needed
* fixes more tests
* fixes asyncnet
* another try another error
* last one
* true
* one more
* why bugs didn't show at once
* add `nimPreviewCstringConversion` switch
* typo
* fixes ptr to cstring warnings[backport]
* add fixes
Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com >
2022-11-16 10:22:51 +01:00
Matt Haggard
1daf43fb14
Allow users to set log flushing rules ( #20817 )
...
* Add flushThreshold to std/logging loggers
* Remove duplicate field
* Add -d:nimFlushAllLogs for changing default flush behavior globally
* Add changelog entry for log flushing change
* Flush all log levels by default in Nim v2
2022-11-14 16:00:45 +01:00
Andrey Makarov
3eef0491a8
fix a few "broken link" warnings ( #20837 )
2022-11-14 15:43:29 +08:00
ringabout
73680cef95
[minor] documentation improvement ( #20825 )
...
[minor] documentation improvament
2022-11-12 21:05:57 +01:00
Derek 呆
6007a40eac
support UncheckedArray[T] in repr_v2.nim ( #20816 )
2022-11-11 19:31:59 +01:00
Vindaar
cc2b0f0172
[sugar] handle HiddenDeref in capture, error at CT if unsupported nnk ( #20680 )
...
* [sugar] handle HiddenDeref in capture, error at CT if unsupported nnk
Instead of running into trouble of the `.strVal` access failing, it's
better to error at CT.
* [tests] remove unnecessary import in test case
* improve ident extraction & extend test cases
* [tests] improve tests for `capture` of different types & act. check
2022-11-10 15:42:53 -05:00
ringabout
2848cdb18a
fixes #13781 ; fixes #14901 ; add acyclic pragmas to FlowVar ( #20804 )
...
* add acyclic pragmas to FlowVar
* add testcases
2022-11-10 16:54:39 +08:00
ringabout
f11b7debf7
remove name field for ARC ( #20797 )
...
* remove name field for ARC
* mistake
* improvement
* better
* typo
* fixes a pre-existing bug
2022-11-09 16:22:55 +01:00
Jake Leahy
1826ff7d84
Use same defaults as JS for fetch options ( #20783 )
...
* Use same defaults as JS for fetch options
* Add changelog entry
2022-11-09 12:22:18 +01:00
ringabout
d8d08324d3
clean up system/arc ( #20792 )
2022-11-09 06:13:52 +01:00
ringabout
7d15fdd375
implements display based subtype checking (6.4x faster without threads; 2.8x faster with threads) ( #20781 )
...
* WIP: fast 'of' operator based on the literature
* implement display based subtype checking
Co-authored-by: Araq <rumpf_a@web.de >
2022-11-08 13:08:01 +01:00
ringabout
ca3b6cba5d
fixes nightlies regression; patches for freebsd ( #20786 )
2022-11-08 10:13:29 +01:00
ringabout
66b0c843c3
fixes #20694 ; the exit function now takes cint type ( #20775 )
2022-11-07 12:17:52 +01:00
Ico Doornekamp
0b4f502393
Export trace member of exception type to allow custom stack trace entries ( #20772 )
...
Added insertStackTraceEntry() proc to allow custom stack trace entries
2022-11-07 12:17:00 +01:00
ringabout
fc8bfd781a
fixes pre-existing quit documentation regression [backport] ( #20763 )
...
fixes pre-existing `quit` documentation regression
2022-11-06 11:50:10 +01:00
ringabout
92e525d2a6
add effectsOf to map in the std/sets module ( #20760 )
2022-11-05 12:05:02 +01:00
ringabout
d5cc2085ea
ref #20694 ; quit value gets saturated to ranges ( #20753 )
...
* quit value gets saturated to ranges
* add documentation
* minimal changes
* refactor
* small fix
* add documentation
* fixes
* Update lib/system.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
2022-11-05 10:58:57 +01:00
n5m
51bef9b4a8
fix posix.mq_receive compilation with cpp backend ( #20710 )
...
* fix posix.mq_receive compilation with cpp backend
* only enable runnableExample on posix
* linux, not posix
* simplify example
* add test
* mqueue.h does not exist on MacOS
* place test case in own block
* drop runnableExamples
2022-11-05 06:31:19 +01:00