Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-level nimph usage with local-local-deps broken by the compiler #102

Closed
disruptek opened this issue Dec 31, 2019 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@disruptek
Copy link
Owner

/home/adavidoff/git/nimph/deps/pkgs/gittyup-#head/nim.cfg(2, 3) Error: invalid package name: /home/adavidoff/git/nimph/deps/pkgs/gittyup-#head/deps/pkgs/nimgit2-0.1.1
@disruptek
Copy link
Owner Author

Fixed in Nim.

narimiran pushed a commit to narimiran/Nim that referenced this issue Jan 5, 2020
dom96 pushed a commit to nim-lang/Nim that referenced this issue Feb 15, 2020
* Add osOpen alias for the operating system specific open command

* Add `--git.devel` option to the documentation
remove unused import (#12900)

fix json regression D20191212T144944 (#12902) [backport]

Peer Review Feedback #12901 (comment)

Merge branch 'devel' of https://github.com/nim-lang/Nim into osopen

Peer Review Feedback #12901 (comment)

Update lib/pure/browsers.nim

Co-Authored-By: Dominik Picheta <[email protected]>
Peer Review Feedback #12901 (comment)

allow typed/untyped in magic procs (#12911)

NaN floatFormat with clang_cl  (#12910)

* clang_cl nan floatFormat

* format

add $nimeq for gdb (#12909)

ARC: cycle detector (#12823)

* first implementation of the =trace and =dispose hooks for the cycle collector
* a cycle collector for ARC: progress
* manual: the .acyclic pragma is a thing once again
* gcbench: adaptations for --gc:arc
* enable valgrind tests for the strutils tests
* testament: better valgrind support
* ARC refactoring: growable jumpstacks
* ARC cycle detector: non-recursive algorithm
* moved and renamed core/ files back to system/
* refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish

Cleanup leftovers of #12911(#12916)

Fix single match output (#12920)

fixes #12899 (#12921)

* fixes #12899

* fixes regression: destroy global variables in reverse declaration order, closureleak test relies on it

Implement NixOS distro check (#12914)

Better case coverage error message for alias and range enum (#12913)

fix error in assertions document (#12925) [backport]

fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport]

fix #12919 tasyncclosestall flaky: Address already in use (#12934)

system.reset is no longer magic (#12937)

It has now means setting x to default for new and old runtime alike
Fix #12785 (#12943)

* Fix #12785 and add test

* better variable name

update documentation for `closureScope` and `capture` (#12886)

fixes #12735 on osx, call dsymutil for debug builds (#12931)

* fix #12735 osx: dsymutil needs to be called for debug builds
* also write dsymutil command to extraCmds in json build file

Auto-initialize deques (#12879)

case coverage error message for `char` (#12948)

lenVarargs: number of varargs elements (#12907)

docs: tiny style improvements

added guidelines for evolving Nim's stdlib

fixes a bug that kept sugar.collect from working with for loop macros [backport]

fixes #12826

fixes a regression

a better bugfix

fixes a test case

fixes a silly regression

fixes the distros.nim regression

ported channels to ARC

ported osproc.nim to ARC

ported re.nim to ARC

ARC: default to a shared heap with --threads:on

osproc: fixes regression

fixes another regression

fixes #12945 (#12959)

minor refactorings

Fixes stackoverflow links in readme (#12963) [backport]

Allow customize Host header
[ci skip] docfix .. < => ..< (#12981) [backport]

parsecfg: retain CRLF line breaks, fixes #12970 (#12971)

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.}

Added fix for handling TaintedStrings in streams and httpclient (#12969)

* Added fix for taint mode in streams and httpclient

* Removed taintMode export from system.nim

Check pqntuples > 0 in getValue. Fixes #12973 (#12974)

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.
fixes #12989

Revert "fixes #12989"

This reverts commit 928c2fe.

fixes #12965 (#12991)

fixes #12989 (#12992)

* fixes #12989
* Revert "remove unwanted changes"

This reverts commit 5018297.

fixes disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport]

--exception:goto switch for deterministic exception handling (#12977)

This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior.

Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented.
fix #12985 {.push.} now does not apply to generic instantiations (#12986)

Sink to MemMove optimization in injectdestructors (#13002)

remove default argument for readLines (#12807) [backport]

fixes #12978 (#13012)

Fix typo (#13015) [backport]

fixes #12961 (#13019)

fixes #12956 (#13020)

fix #12988 (#13022)

fix #12988
Fixes #13026 (#13028)

fixes #12964 (#13027)

fixes #13032

VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877)

* VM: allow certain hardcoded special var variables at CT
* VM: allow all importc var, cast[int](ptr)
* fix tests tests/vm/tstaticprintseq.nim, tests/cpp/t8241.nim
* VM: == works for ptr/pointer nodes
* bugfix: ==, cast now also works for pointer, not just ptr
* VM supports cast PtrLikeKinds <=> PtrLikeKinds / int
* improve cname handling
* fixup + bug fix
* VM: support cast from ref to int
* address comment: opcLdGlobalDeref => opcLdGlobalDerefFFI
* defensive check against typ == nil

fix enumtostr crash for enum-range (#13035)

fixes #13013, reverts previous changes to readLines() (#13036) [backport]

* Revert "remove default argument for readLines (#12807) [backport]"

This reverts commit c949b81.

reprjs: style changes

fixes #12996

Rst parser respect `:start-after:` and `:end-before:` in `include` directive (#12972)

* [FEATURE] rst parser respect :start-after: in include

Rst parser now respects `:start-after:` and `:end-before:` attributes
for `include` directive.

* [DOC] include directive parsing proc update

* [TEST] Added unit tests for include rst directive in `rst` module

Allow `-o` option for `buildIndex` (#13037) [backport]

Addressing #12771

This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html) but its not respected as reported in the issue.
[cleanup] remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits (#13041)

* remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits

* D20200105T085828 fix super strange bug that causes CI to fail: builds.sr.ht with: `Error: Settle timed out after 120 attempts`

Continue #13002 (#13021)

testament/important_packages dont run hts (#13052)

Modify the test command for nimly (nimble-package) (#13053)

clean up deprecated stuff and unused imports in tests (#13059)

--styleCheck:hint now works (#13055)

[easy] --hint:link:on now shows link cmd instead of nothing (#13056)

* --hint:link:on now shows link cmd instead of nothing

* update doc for --listCmd

add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword (#13060)

basename supports pragmaexpr (#13045)

* basename supports pragmaexpr

* update changelog

distinctBase type trait for distinct types (#13031)

make SuccessX show project file + output file (#13043)

* make SuccessX show project file + output file
* address comments
* fix test and add `result.err = reNimcCrash` otherwise hard to see where reNimcCrash used
* address comments

move entries from the wrong changelog file [ci skip]

fix crash due to errant symbols in nim.cfg (#13073) [backport]

Deleted misplaced separator (#13085) [backport]

Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted.
take the one good idea from --os:standalone and enable it via -d:StandaloneHeapSize (#13077)

remove all remaining warnings when build nim (with -d:nimHasLibFFI) (#13084)

* cleanup deprecations in evalffi + elsewhere

* remove dead code getOrdValue64

Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined (#13089)

Fix error check code in osproc (#13090) [backport]

fixes #13072; no test case because it will be added later with more exception handling related bugfixes

fixes #13070

typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get (#13064)

[backport] system/io.nim fix wrong documentation comment [ci skip]

fixes an asyncftpclient bug; refs #13096 [backport]

System cleanup, part 1 (#13069)

* system.nim: mark what every .pop does

* system.nim: un-nest when statements

[backport] fix #12813, fix #13079 (#13099)

Correctly remove a key from CountTable when it is set to zero.
more arc features (#13098)

* config update
* ARC now supports 'repr' and 'new' with finalizers is supported

Remove some unused/disabled OpenSSL functions (#13106)

Add link to posix_utils.html in posix.nim (#13111)

VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT (#13083)

fix the ftp store function read the local file bug (#13108) [backport]

* Update asyncftpclient.nim

When use newStringOfCap function not have assign memory for the string data,so if use this address the fault is rasise.

* complelete the bugfix

fix rtti sizeof for varargs in global scope (#13125) [backport]

fixes #13122 (#13126)

* fixes #13122

* moved tests to where they belong

fixes #13112 (#13127)

* improve line error information

* fixes #13112

Expose more openSSL methods. (#13131)

fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) [backport]

* fix #13100 nim doc now treats `export localSymbol` correctly
* use owner instead

fixes #13119 (#13128)

* fixes #13119
* fixes a regression

fixes #13105 (#13138)

fixes #10665 (#13141) [backport]

pass platform argument only if vccexe is used (#13078)

* pass platform only if vccexe is used
* fixes #12297

fixes #13104 [backport] (#13142)

fixes #9674 [backport] (#13143)

Fix typo in doc/destructors.rst (#13148)

Added 'ansic' os support for minimal (embedded) targets (#13088)

* os:any implementation
* os:asny: omit flock/funlock calls in echoBinSafe
* Disabled default "unhandled expection" reporting for `--os:any` to reduce
code size. Added unhandledExceptionHook instead which can be used to get
a notification from Nim and handle it from the application.

System cleanup, part 2 (#13155)

* create basic_types, arithmetics, exceptions, comparisons
* create setops.nim
* create memalloc.nim
* create gc_interface.nim
* create iterators_1.nim

export normalizePathEnd (#13152)

successX now correctly shows html output for `nim doc`, `nim jsondoc`; fix #13121 (#13116)

* successX now correctly shows html output for nim doc
* fixes #13121
* fixup hintSuccessX to be less weird

ARC: misc bugfixes (#13156)

* fixes #13102
* closes #13149
* ARC: fixes a move optimizer bug (there are more left regarding array and tuple indexing)
* proper fix; fixes #12957
* fixes yet another case object '=' code generation problem

CI fix timeout error (#13134)

Remove obsolete code from osalloc (#13158)

style fix: change 'JS' to 'js' to make it consistent (#13168)

Working towards arc codegen (#13153)

fixes #13029
fixes #12998 nim doc regression (#13117)

fix tsizeof3 for aarch64 (#13169)

Cleanup DFA (#13173)

Fix docs (#13176)

fixes #13095 (#13181)

* fixes #13095

* fix typo

make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170)

ARC works for async on Windows (#13179)

make sink operator optional (#13068)

* make sink operator optional

* bug fix, add changelog entry

* Trigger build

* fix one regression

* fix test

* Trigger build

* fix typos

Fix docs for subdirs too (#13180)

* Fix doc subdirs
* Extract to helper proc, and fix on windows

followup on #10435 : should be diff, not show (#13162)

fixes #13157

refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.}  (#13136)

* refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.}
* put back NIM_EXTERNC for N_LIB_EXPORT; causes issues with compilerproc

fixes #13144 (#13145)

* fixup: genscript now does not copy nimbase.h but uses -I$nim/lib

times: toUnixFloat, fromUnixFloat (#13044)

maybe: allows optional chaining of field access and indexing when LHS i snil (#13023)

* maybe: allows optional chaining
* fix tools/kochdocs.nim
* improve semantics to distinguish valid from invalid values
* for now, wrapnil, isValid, unwrap are not exported

fix docs + API for fieldPairs, fields (#13189)

more on arc codegen (#13178)

* arc codegen for union type

* add more tests

* fix offsetof

* fix tsizeof test

* fix style

Add link to packaging.html (#13194)

Fixes #13186 (#13188)

fixes #13195

revert last commit

Merge branch 'devel' of https://github.com/nim-lang/Nim into devel

Revert "fixes #13195"

This reverts commit cd7904f.

fixes #13110 (#13197)

fixes #13195 (#13198)

* fixes #13195

* extra fix

* fix typo

compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199)

This hides most of stdlib's internal functions from resulting
binaries/libraries, where they aren't needed on *nix. Static libraries
are not affected by this change (visibility doesn't apply to them).
fix range[enum] type conversion (#13204) [backport]

Idxmin & idxmax, continuation (#13208)

* Add idxmin() which returns the index of the minimum value

* Add idxmax() which returns the index of the maximum value

* Add tests for idxmin()

* Add tests for idxmax()

* Remove initialization of result = 0

* Adds overloading for arrays (no enums indexed arrays yet)

* Add support for enum index arrays

* Fix tests with enum

* Fix tests for idxmax

* Change names of the procedures to minIndex and maxIndex

* address Araq's comments:

- remove 'array' versions
- add .since pragma
- return 'int' instead of 'Natural'
- add changelog entry

Co-authored-by: Federico A. Corazza <[email protected]>

fix #13211 relativePath("foo", ".") (#13213)

fixes a critical times.nim bug reported on IRC [backport] (#13216)

httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add headers argument instead of hardcoded empty (#13207)

added note to re constructor regarding performance (#13224)

Since I was new to regex I did not know that there is a compilation going on with ``re"[abc]"`` constructor and so I followed the other examples in the docs blindly, that is I just put the constructor directly in the arguments of match, find, etc., which was inside a loop and then wondered why my performance was so bad. Of course putting it outside the loop made it vastly more performant. People like me would benefit from the small note I added I would think :)
[backport] Documentation Fix #12251 (#13226) [ci skip]

[backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip]

new os.isRelativeTo (#13212)

[backport] Fix typo and improve in code-block of 'lib/pure/parseutils.nim' (#13231) [ci skip]

[backport] fix #11440, add docs to isNil for seq types needing nilseq (#13234) [ci skip]

VM: allow overriding MaxLoopIterations without rebuilding nim (#13233)

kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes (#13221)

* kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes
* fixup after #13212 isRelativeTo got merged

fix lots of bugs with parentDir, refs #8734 (#13236)

Unexport even more symbols (#13214)

* system/gc: don't export markStackAndRegisters

* compiler/cgen: unexport internal symbols

As these functions are Nim-specific walkaround against C's optimization
schemes, they don't serve any purpose being exported.

* compiler/cgen: don't export global var unless marked

* compiler/ccgthreadvars: don't export threadvar unless marked

* tests/dll/visibility: also check for exports

This ensure that these changes don't break manual exports.

* compiler/cgen: hide all variables created for constants

* compiler/ccgtypes: don't export RTTI variables

* compiler/ccgexprs: make all complex const static

* nimbase.h: fix export for windows

* compiler/cgen, ccgthreadvars: export variables correctly

For C/C++ variables, `extern` means that the variable is defined in an
another unit. Added a new N_LIB_EXPORT_VAR to correctly export
variables.

Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190)

* Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use
allocShared0 by default.

* Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc.

* Removed debug printfs

* Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc

* More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that

* Introduced realloc0 and reallocShared0, these procs are now used by
strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to
drop the extra header with allocation length.

* Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field

* Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats

* *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs

[backport] documentation: Add channels examples (#13202) [ci skip]

[backport] Make all parseutils examples auto-checking (#13238)

- Also fix one example's output (ikString -> ikStr, ikVar instead of ikExpr)
Updated 'nim for embedded systems' section to use --os:any and --gc:arc (#13237)

* Updated 'nim for embedded systems' section to use --os:any and --gc:arc

* Added section about size optimization to embedded systems

Remove name attribute from docutils.nimble (#13239)

Fixes asyncftpclient multiline reading, fixes #4684 (#13242)

Previously, the 4th character of `result` was checked for `'-'` every time, instead of each new line.

Also made it work for taint mode.
Fix typo for literal `[` (#13243)

The literal value for the `tkBracketLe` token was incorrectly set to `]` rather than `[`. I've had a quick glance at the code and it doesn't look like this change will affect anything at all, but I haven't tested yet - let's see if the CI explodes...
Add "origin" to window.location (#13251)

Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
nim dump: add libpath (#13249)

contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247)

testament/azure: major rewrite (#13246)

This commit features a major rewrite of Azure Pipelines integration,
turning the spaghetti it originally was into something maintainable.

Key changes:
- No longer requires a ton of hooks into testament.
- Results are now cached then bulk-uploaded to prevent throttling from
  Azure Pipelines, avoiding costly timeouts.
- A low timeout is also employed to avoid inflated test time.
- The integration is now documented.
Cleaned up mmdisp.nim, moved implementations into lib/system/mm/ (#13254)

make goto based exceptions available for 'nim cpp' (#13244)

* make goto based exceptions available for 'nim cpp'
* optimize seq.add to be comparable to C++'s emplace_back

ARC: remove unnecessary code

ARC: optimize complete object constructors to use nimNewObjUninit

make nre compile with --gc:arc

Rename isNilOrWhitespace to isEmptyOrWhitespace and make it use allCharsInSet (#13258)

* Rename isNilOrWhitespace to isEmptyOrWhitespace

* Make isEmptyOrWhitespace use allCharsInSet(Whitespace)

Clearer final objects error; fixes #13256 (#13257)

scrollTop must be settable (#13263)

* scrollTop must be assignable

Make scrollTop settable

* add missing export

fixes #13219 (#13272)

fixes #13281 (#13282)

* fixes ##13281

* add comment to test

unittest add resetOutputFormatters proc (#13267)

* add resetOutputFormatters

* remove space

* resolve comments

TlSF Alloctor: use less memory for --gc:arc (#13280)

Tiny since cleanup (#13286)

nimv2 widestring indexing (#13279)

Repr v2 progress (#13268)

* progress on repr_v2

* repr progress

* add ref objects with distrinct

* fix failing tests

refactor htmldocs; gitignore it

removed unused import

fix stdout(etc) for emscripten

csize => csize_t for sysctl

Thread attributes should be destroyed using the pthread_attr_destroy() (#13293)

On some OSes (such as FreeBSD or Solaris), pthread_attr_init allocate
memory. So it is necessary to deallocate that memory by using
pthread_attr_destroy.
fix critical bug discovered by #11591 (#13290) [backport]

miscellaneous bug fixes (#13291)

* fix for emscripten etc

* add testcase for #13290

* replace deprecated isNilOrWhitespace

CT FFI: fix for windows; fix case transition; error msg shows more useful context (#13292)

* evalffi: fix case transition
* evalffi: fix for windows
* evallffi: `cannot import` errmsg now also shows which library it tried to import symbol from

refs #8391 std/os now shows runtime context for raiseOSError exceptions (#13294)

* refs #8391: fix errmsg for setCurrentDir

* raiseOSError calls for copyFile

* refs #8391 std/os now shows runtime context for raiseOSError exceptions

build_all.sh: building csources 5X faster thanks to make -j (#13300)

* build_all.sh: building csources 5X faster thanks to make -j
* fix for freebsd
* use OS-dependent formula to get number of logical cores
* make is an optional dependency

Fix capture for object types (#13315)

* Fix capture for object|tuple|... types

* Add test case

Quote nim executable before executing. (#13316) [backport]

In case nim executable is located in PATH containing spaces.

fixes #13311
ReSync with devel

Make build_all.sh more portable and a bit simpler (#13308)

koch: enable checks in the compiler when running CI (#13323)

fix #13132 tnetdial (#13318)

enable testing -d:nimHasLibFFI mode (#13091)

Fix #10717, fix #13284 (#13307)

Fixed codegen for constant cstring with --gc:arc (#13326)

* Fixed codegen for constant cstring with --gc:arc, fixes  #13321

* Added test for #13321

Option to allow the request body to be processed outside the asynchttpserver library. (#13147)

Allow the request body to be processed outside the asynchttpserver library to break big files into chunks of data. This change does not break anything.

build_all.sh update (#13320)

* Don't overload the system, don't crash when you can't determine the CPU count and don't rely on bash

* Extract to variable

* Limit number of spawned jobs for systems with weak IO

* Use proper arithmetic braces

contributing.rst: Add a special rule for 'outplace'-like features

[backport] -d:danger should imply -d:release (#13336)

nim secret: support linenoise when available (#13328)

fix #13150 `nim doc --project` now works reliably (#13223)

* fix #13150 `nim doc --project` works with duplicate names and with imports below main project file

* add to help; fixup after #13212 isRelativeTo got merged
* fix test tests/compilerapi/tcompilerapi.nim
* remove nimblePkg field; compute on the fly instead
* kochdocs: compiler docs now under compiler/
* --docRoot now has smart default: best among @pkg, @path

make monotimes have zero overhead if you don't use it (#13338) [backport]

fix #13349 regression: isNamedTuple now works with generic tuples (#13350)

fixes #13269 (#13344)

adding sqlite3 backup functions (#13346)

* adding sqlite3 backup functions

* changing sleep to sqlite3_sleep to prevent clashes

Added a basic example how to handle a Post request. (#13339)

* Added a basic example how to handle a Post request.

They were also made minor cosmetic changes.

* Minor fixes suggested by Yardanico

* Fixed a wrong value in chunkSize constant.

* Re-added the request.body for compatibility!

replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple in dollars.nim (#13347)

* replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple

* fix for bootstrap

fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) [backport]

miscellaneous bug fixes (part 3) (#13304)

* fix deprecation; fix indentation

* git clone: use -q

* fix Warning: pragma before generic parameter list is deprecated; fix typo

* bugfix: sysTypeFromName("float64") was never cached

testament: introduce 'matrix' for testing multiple options (#13343)

printing float values will have one more digit. (#13276) [backport]

* printing float values will have one more digit. Fixes #13196

[backport] fix #13352

[backport] remove 'CountTable.mget' (#13355)

It didn't work, and it was an oversight to be included in v1.0.
fix #6736: templates in unittest now show actual value (#13354)

Revert "printing float values will have one more digit. (#13276) [backport]" (#13363)

This reverts commit b2c6db9.
Add sideEffect pragma to importC procs in posix, winlean and time module (#13370)

* Add sideEffect pragma to procs in winlean
* Add sideEffect pragma to procs in posix
* Add test for #13306
* Add sideEffect pragma to procs in times
* Fixes #13306
fixes #3339 by documenting the limitations of case-statement (#13366)

fixes #13314 (#13372)

testament: this now works: "testament r /abspath/to/test.nim" (#13358)

fix `is` with generic types; fix `genericHead(Foo[T])` (#13303)

* fix #9855, fix #9855, fix genericHead
* render TTypeKind via toHumanStr

fix #13255 (#13275) [backport]

remove outplace version of 'merge' for CountTables (#13377)

* remove outplace version of 'merge' for CountTables

* remove 'merge' tests

fix #13374 `nim c -r -` now generates $nimcache/stdinfile (#13380) [backport]

fix #9634 don't crash on execCmdEx/readLine when inside gdb/lldb (#13232)

* fix #9634 debugging a program using execCmdEx now works

* only apply EINTR to c_gets for now

This reverts commit c0f5305.

lib.rst: add a link for jsconsole [backport] (#13383)

Make vccexe parse response files (#13329)

expectLen now shows the length that we got (#13387)

fix several bugs with `repr`  (#13386)

fixes #13378 [backport] (#13392)

remove dead code test_nimhcr_integration.(bat,sh) (#13388)

* enable test for osx: import tests/dll/nimhcr_integration

* re-disable osx test

fix linenoise regression (#13395)

* fix nightlies linenoise regression

* fix other installers

Revert "remove dead code test_nimhcr_integration.(bat,sh) (#13388)" (#13396)

This reverts commit 90491ea.
fixes #13368 (#13397)

fix bug in int128 (#13403)

isolate the build process from external config files (#13411)

add ggplotnim to important_packages (#13206)

Fix to asynchttpserver form data/body broken with #13147 (#13394)

* Fix to asynchttpserver form data/body broken with #13147
* New implementation that use a interator instance of future streams
* asynchttpserver now can handle chunks of data.

Merge branch 'devel' of https://github.com/nim-lang/Nim into osopen

Squash Commits; Peer review feedbacks #12901 (comment)
narimiran pushed a commit to nim-lang/Nim that referenced this issue Feb 19, 2020
* Add osOpen alias for the operating system specific open command

* Add `--git.devel` option to the documentation
remove unused import (#12900)

fix json regression D20191212T144944 (#12902) [backport]

Peer Review Feedback #12901 (comment)

Merge branch 'devel' of https://github.com/nim-lang/Nim into osopen

Peer Review Feedback #12901 (comment)

Update lib/pure/browsers.nim

Co-Authored-By: Dominik Picheta <[email protected]>
Peer Review Feedback #12901 (comment)

allow typed/untyped in magic procs (#12911)

NaN floatFormat with clang_cl  (#12910)

* clang_cl nan floatFormat

* format

add $nimeq for gdb (#12909)

ARC: cycle detector (#12823)

* first implementation of the =trace and =dispose hooks for the cycle collector
* a cycle collector for ARC: progress
* manual: the .acyclic pragma is a thing once again
* gcbench: adaptations for --gc:arc
* enable valgrind tests for the strutils tests
* testament: better valgrind support
* ARC refactoring: growable jumpstacks
* ARC cycle detector: non-recursive algorithm
* moved and renamed core/ files back to system/
* refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish

Cleanup leftovers of #12911(#12916)

Fix single match output (#12920)

fixes #12899 (#12921)

* fixes #12899

* fixes regression: destroy global variables in reverse declaration order, closureleak test relies on it

Implement NixOS distro check (#12914)

Better case coverage error message for alias and range enum (#12913)

fix error in assertions document (#12925) [backport]

fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport]

fix #12919 tasyncclosestall flaky: Address already in use (#12934)

system.reset is no longer magic (#12937)

It has now means setting x to default for new and old runtime alike
Fix #12785 (#12943)

* Fix #12785 and add test

* better variable name

update documentation for `closureScope` and `capture` (#12886)

fixes #12735 on osx, call dsymutil for debug builds (#12931)

* fix #12735 osx: dsymutil needs to be called for debug builds
* also write dsymutil command to extraCmds in json build file

Auto-initialize deques (#12879)

case coverage error message for `char` (#12948)

lenVarargs: number of varargs elements (#12907)

docs: tiny style improvements

added guidelines for evolving Nim's stdlib

fixes a bug that kept sugar.collect from working with for loop macros [backport]

fixes #12826

fixes a regression

a better bugfix

fixes a test case

fixes a silly regression

fixes the distros.nim regression

ported channels to ARC

ported osproc.nim to ARC

ported re.nim to ARC

ARC: default to a shared heap with --threads:on

osproc: fixes regression

fixes another regression

fixes #12945 (#12959)

minor refactorings

Fixes stackoverflow links in readme (#12963) [backport]

Allow customize Host header
[ci skip] docfix .. < => ..< (#12981) [backport]

parsecfg: retain CRLF line breaks, fixes #12970 (#12971)

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.}

Added fix for handling TaintedStrings in streams and httpclient (#12969)

* Added fix for taint mode in streams and httpclient

* Removed taintMode export from system.nim

Check pqntuples > 0 in getValue. Fixes #12973 (#12974)

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.
fixes #12989

Revert "fixes #12989"

This reverts commit 928c2fe.

fixes #12965 (#12991)

fixes #12989 (#12992)

* fixes #12989
* Revert "remove unwanted changes"

This reverts commit 5018297.

fixes disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport]

--exception:goto switch for deterministic exception handling (#12977)

This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior.

Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented.
fix #12985 {.push.} now does not apply to generic instantiations (#12986)

Sink to MemMove optimization in injectdestructors (#13002)

remove default argument for readLines (#12807) [backport]

fixes #12978 (#13012)

Fix typo (#13015) [backport]

fixes #12961 (#13019)

fixes #12956 (#13020)

fix #12988 (#13022)

fix #12988
Fixes #13026 (#13028)

fixes #12964 (#13027)

fixes #13032

VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877)

* VM: allow certain hardcoded special var variables at CT
* VM: allow all importc var, cast[int](ptr)
* fix tests tests/vm/tstaticprintseq.nim, tests/cpp/t8241.nim
* VM: == works for ptr/pointer nodes
* bugfix: ==, cast now also works for pointer, not just ptr
* VM supports cast PtrLikeKinds <=> PtrLikeKinds / int
* improve cname handling
* fixup + bug fix
* VM: support cast from ref to int
* address comment: opcLdGlobalDeref => opcLdGlobalDerefFFI
* defensive check against typ == nil

fix enumtostr crash for enum-range (#13035)

fixes #13013, reverts previous changes to readLines() (#13036) [backport]

* Revert "remove default argument for readLines (#12807) [backport]"

This reverts commit c949b81.

reprjs: style changes

fixes #12996

Rst parser respect `:start-after:` and `:end-before:` in `include` directive (#12972)

* [FEATURE] rst parser respect :start-after: in include

Rst parser now respects `:start-after:` and `:end-before:` attributes
for `include` directive.

* [DOC] include directive parsing proc update

* [TEST] Added unit tests for include rst directive in `rst` module

Allow `-o` option for `buildIndex` (#13037) [backport]

Addressing #12771

This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html) but its not respected as reported in the issue.
[cleanup] remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits (#13041)

* remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits

* D20200105T085828 fix super strange bug that causes CI to fail: builds.sr.ht with: `Error: Settle timed out after 120 attempts`

Continue #13002 (#13021)

testament/important_packages dont run hts (#13052)

Modify the test command for nimly (nimble-package) (#13053)

clean up deprecated stuff and unused imports in tests (#13059)

--styleCheck:hint now works (#13055)

[easy] --hint:link:on now shows link cmd instead of nothing (#13056)

* --hint:link:on now shows link cmd instead of nothing

* update doc for --listCmd

add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword (#13060)

basename supports pragmaexpr (#13045)

* basename supports pragmaexpr

* update changelog

distinctBase type trait for distinct types (#13031)

make SuccessX show project file + output file (#13043)

* make SuccessX show project file + output file
* address comments
* fix test and add `result.err = reNimcCrash` otherwise hard to see where reNimcCrash used
* address comments

move entries from the wrong changelog file [ci skip]

fix crash due to errant symbols in nim.cfg (#13073) [backport]

Deleted misplaced separator (#13085) [backport]

Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted.
take the one good idea from --os:standalone and enable it via -d:StandaloneHeapSize (#13077)

remove all remaining warnings when build nim (with -d:nimHasLibFFI) (#13084)

* cleanup deprecations in evalffi + elsewhere

* remove dead code getOrdValue64

Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined (#13089)

Fix error check code in osproc (#13090) [backport]

fixes #13072; no test case because it will be added later with more exception handling related bugfixes

fixes #13070

typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get (#13064)

[backport] system/io.nim fix wrong documentation comment [ci skip]

fixes an asyncftpclient bug; refs #13096 [backport]

System cleanup, part 1 (#13069)

* system.nim: mark what every .pop does

* system.nim: un-nest when statements

[backport] fix #12813, fix #13079 (#13099)

Correctly remove a key from CountTable when it is set to zero.
more arc features (#13098)

* config update
* ARC now supports 'repr' and 'new' with finalizers is supported

Remove some unused/disabled OpenSSL functions (#13106)

Add link to posix_utils.html in posix.nim (#13111)

VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT (#13083)

fix the ftp store function read the local file bug (#13108) [backport]

* Update asyncftpclient.nim

When use newStringOfCap function not have assign memory for the string data,so if use this address the fault is rasise.

* complelete the bugfix

fix rtti sizeof for varargs in global scope (#13125) [backport]

fixes #13122 (#13126)

* fixes #13122

* moved tests to where they belong

fixes #13112 (#13127)

* improve line error information

* fixes #13112

Expose more openSSL methods. (#13131)

fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) [backport]

* fix #13100 nim doc now treats `export localSymbol` correctly
* use owner instead

fixes #13119 (#13128)

* fixes #13119
* fixes a regression

fixes #13105 (#13138)

fixes #10665 (#13141) [backport]

pass platform argument only if vccexe is used (#13078)

* pass platform only if vccexe is used
* fixes #12297

fixes #13104 [backport] (#13142)

fixes #9674 [backport] (#13143)

Fix typo in doc/destructors.rst (#13148)

Added 'ansic' os support for minimal (embedded) targets (#13088)

* os:any implementation
* os:asny: omit flock/funlock calls in echoBinSafe
* Disabled default "unhandled expection" reporting for `--os:any` to reduce
code size. Added unhandledExceptionHook instead which can be used to get
a notification from Nim and handle it from the application.

System cleanup, part 2 (#13155)

* create basic_types, arithmetics, exceptions, comparisons
* create setops.nim
* create memalloc.nim
* create gc_interface.nim
* create iterators_1.nim

export normalizePathEnd (#13152)

successX now correctly shows html output for `nim doc`, `nim jsondoc`; fix #13121 (#13116)

* successX now correctly shows html output for nim doc
* fixes #13121
* fixup hintSuccessX to be less weird

ARC: misc bugfixes (#13156)

* fixes #13102
* closes #13149
* ARC: fixes a move optimizer bug (there are more left regarding array and tuple indexing)
* proper fix; fixes #12957
* fixes yet another case object '=' code generation problem

CI fix timeout error (#13134)

Remove obsolete code from osalloc (#13158)

style fix: change 'JS' to 'js' to make it consistent (#13168)

Working towards arc codegen (#13153)

fixes #13029
fixes #12998 nim doc regression (#13117)

fix tsizeof3 for aarch64 (#13169)

Cleanup DFA (#13173)

Fix docs (#13176)

fixes #13095 (#13181)

* fixes #13095

* fix typo

make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170)

ARC works for async on Windows (#13179)

make sink operator optional (#13068)

* make sink operator optional

* bug fix, add changelog entry

* Trigger build

* fix one regression

* fix test

* Trigger build

* fix typos

Fix docs for subdirs too (#13180)

* Fix doc subdirs
* Extract to helper proc, and fix on windows

followup on #10435 : should be diff, not show (#13162)

fixes #13157

refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.}  (#13136)

* refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.}
* put back NIM_EXTERNC for N_LIB_EXPORT; causes issues with compilerproc

fixes #13144 (#13145)

* fixup: genscript now does not copy nimbase.h but uses -I$nim/lib

times: toUnixFloat, fromUnixFloat (#13044)

maybe: allows optional chaining of field access and indexing when LHS i snil (#13023)

* maybe: allows optional chaining
* fix tools/kochdocs.nim
* improve semantics to distinguish valid from invalid values
* for now, wrapnil, isValid, unwrap are not exported

fix docs + API for fieldPairs, fields (#13189)

more on arc codegen (#13178)

* arc codegen for union type

* add more tests

* fix offsetof

* fix tsizeof test

* fix style

Add link to packaging.html (#13194)

Fixes #13186 (#13188)

fixes #13195

revert last commit

Merge branch 'devel' of https://github.com/nim-lang/Nim into devel

Revert "fixes #13195"

This reverts commit cd7904f.

fixes #13110 (#13197)

fixes #13195 (#13198)

* fixes #13195

* extra fix

* fix typo

compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199)

This hides most of stdlib's internal functions from resulting
binaries/libraries, where they aren't needed on *nix. Static libraries
are not affected by this change (visibility doesn't apply to them).
fix range[enum] type conversion (#13204) [backport]

Idxmin & idxmax, continuation (#13208)

* Add idxmin() which returns the index of the minimum value

* Add idxmax() which returns the index of the maximum value

* Add tests for idxmin()

* Add tests for idxmax()

* Remove initialization of result = 0

* Adds overloading for arrays (no enums indexed arrays yet)

* Add support for enum index arrays

* Fix tests with enum

* Fix tests for idxmax

* Change names of the procedures to minIndex and maxIndex

* address Araq's comments:

- remove 'array' versions
- add .since pragma
- return 'int' instead of 'Natural'
- add changelog entry

Co-authored-by: Federico A. Corazza <[email protected]>

fix #13211 relativePath("foo", ".") (#13213)

fixes a critical times.nim bug reported on IRC [backport] (#13216)

httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add headers argument instead of hardcoded empty (#13207)

added note to re constructor regarding performance (#13224)

Since I was new to regex I did not know that there is a compilation going on with ``re"[abc]"`` constructor and so I followed the other examples in the docs blindly, that is I just put the constructor directly in the arguments of match, find, etc., which was inside a loop and then wondered why my performance was so bad. Of course putting it outside the loop made it vastly more performant. People like me would benefit from the small note I added I would think :)
[backport] Documentation Fix #12251 (#13226) [ci skip]

[backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip]

new os.isRelativeTo (#13212)

[backport] Fix typo and improve in code-block of 'lib/pure/parseutils.nim' (#13231) [ci skip]

[backport] fix #11440, add docs to isNil for seq types needing nilseq (#13234) [ci skip]

VM: allow overriding MaxLoopIterations without rebuilding nim (#13233)

kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes (#13221)

* kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes
* fixup after #13212 isRelativeTo got merged

fix lots of bugs with parentDir, refs #8734 (#13236)

Unexport even more symbols (#13214)

* system/gc: don't export markStackAndRegisters

* compiler/cgen: unexport internal symbols

As these functions are Nim-specific walkaround against C's optimization
schemes, they don't serve any purpose being exported.

* compiler/cgen: don't export global var unless marked

* compiler/ccgthreadvars: don't export threadvar unless marked

* tests/dll/visibility: also check for exports

This ensure that these changes don't break manual exports.

* compiler/cgen: hide all variables created for constants

* compiler/ccgtypes: don't export RTTI variables

* compiler/ccgexprs: make all complex const static

* nimbase.h: fix export for windows

* compiler/cgen, ccgthreadvars: export variables correctly

For C/C++ variables, `extern` means that the variable is defined in an
another unit. Added a new N_LIB_EXPORT_VAR to correctly export
variables.

Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190)

* Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use
allocShared0 by default.

* Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc.

* Removed debug printfs

* Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc

* More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that

* Introduced realloc0 and reallocShared0, these procs are now used by
strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to
drop the extra header with allocation length.

* Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field

* Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats

* *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs

[backport] documentation: Add channels examples (#13202) [ci skip]

[backport] Make all parseutils examples auto-checking (#13238)

- Also fix one example's output (ikString -> ikStr, ikVar instead of ikExpr)
Updated 'nim for embedded systems' section to use --os:any and --gc:arc (#13237)

* Updated 'nim for embedded systems' section to use --os:any and --gc:arc

* Added section about size optimization to embedded systems

Remove name attribute from docutils.nimble (#13239)

Fixes asyncftpclient multiline reading, fixes #4684 (#13242)

Previously, the 4th character of `result` was checked for `'-'` every time, instead of each new line.

Also made it work for taint mode.
Fix typo for literal `[` (#13243)

The literal value for the `tkBracketLe` token was incorrectly set to `]` rather than `[`. I've had a quick glance at the code and it doesn't look like this change will affect anything at all, but I haven't tested yet - let's see if the CI explodes...
Add "origin" to window.location (#13251)

Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
nim dump: add libpath (#13249)

contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247)

testament/azure: major rewrite (#13246)

This commit features a major rewrite of Azure Pipelines integration,
turning the spaghetti it originally was into something maintainable.

Key changes:
- No longer requires a ton of hooks into testament.
- Results are now cached then bulk-uploaded to prevent throttling from
  Azure Pipelines, avoiding costly timeouts.
- A low timeout is also employed to avoid inflated test time.
- The integration is now documented.
Cleaned up mmdisp.nim, moved implementations into lib/system/mm/ (#13254)

make goto based exceptions available for 'nim cpp' (#13244)

* make goto based exceptions available for 'nim cpp'
* optimize seq.add to be comparable to C++'s emplace_back

ARC: remove unnecessary code

ARC: optimize complete object constructors to use nimNewObjUninit

make nre compile with --gc:arc

Rename isNilOrWhitespace to isEmptyOrWhitespace and make it use allCharsInSet (#13258)

* Rename isNilOrWhitespace to isEmptyOrWhitespace

* Make isEmptyOrWhitespace use allCharsInSet(Whitespace)

Clearer final objects error; fixes #13256 (#13257)

scrollTop must be settable (#13263)

* scrollTop must be assignable

Make scrollTop settable

* add missing export

fixes #13219 (#13272)

fixes #13281 (#13282)

* fixes ##13281

* add comment to test

unittest add resetOutputFormatters proc (#13267)

* add resetOutputFormatters

* remove space

* resolve comments

TlSF Alloctor: use less memory for --gc:arc (#13280)

Tiny since cleanup (#13286)

nimv2 widestring indexing (#13279)

Repr v2 progress (#13268)

* progress on repr_v2

* repr progress

* add ref objects with distrinct

* fix failing tests

refactor htmldocs; gitignore it

removed unused import

fix stdout(etc) for emscripten

csize => csize_t for sysctl

Thread attributes should be destroyed using the pthread_attr_destroy() (#13293)

On some OSes (such as FreeBSD or Solaris), pthread_attr_init allocate
memory. So it is necessary to deallocate that memory by using
pthread_attr_destroy.
fix critical bug discovered by #11591 (#13290) [backport]

miscellaneous bug fixes (#13291)

* fix for emscripten etc

* add testcase for #13290

* replace deprecated isNilOrWhitespace

CT FFI: fix for windows; fix case transition; error msg shows more useful context (#13292)

* evalffi: fix case transition
* evalffi: fix for windows
* evallffi: `cannot import` errmsg now also shows which library it tried to import symbol from

refs #8391 std/os now shows runtime context for raiseOSError exceptions (#13294)

* refs #8391: fix errmsg for setCurrentDir

* raiseOSError calls for copyFile

* refs #8391 std/os now shows runtime context for raiseOSError exceptions

build_all.sh: building csources 5X faster thanks to make -j (#13300)

* build_all.sh: building csources 5X faster thanks to make -j
* fix for freebsd
* use OS-dependent formula to get number of logical cores
* make is an optional dependency

Fix capture for object types (#13315)

* Fix capture for object|tuple|... types

* Add test case

Quote nim executable before executing. (#13316) [backport]

In case nim executable is located in PATH containing spaces.

fixes #13311
ReSync with devel

Make build_all.sh more portable and a bit simpler (#13308)

koch: enable checks in the compiler when running CI (#13323)

fix #13132 tnetdial (#13318)

enable testing -d:nimHasLibFFI mode (#13091)

Fix #10717, fix #13284 (#13307)

Fixed codegen for constant cstring with --gc:arc (#13326)

* Fixed codegen for constant cstring with --gc:arc, fixes  #13321

* Added test for #13321

Option to allow the request body to be processed outside the asynchttpserver library. (#13147)

Allow the request body to be processed outside the asynchttpserver library to break big files into chunks of data. This change does not break anything.

build_all.sh update (#13320)

* Don't overload the system, don't crash when you can't determine the CPU count and don't rely on bash

* Extract to variable

* Limit number of spawned jobs for systems with weak IO

* Use proper arithmetic braces

contributing.rst: Add a special rule for 'outplace'-like features

[backport] -d:danger should imply -d:release (#13336)

nim secret: support linenoise when available (#13328)

fix #13150 `nim doc --project` now works reliably (#13223)

* fix #13150 `nim doc --project` works with duplicate names and with imports below main project file

* add to help; fixup after #13212 isRelativeTo got merged
* fix test tests/compilerapi/tcompilerapi.nim
* remove nimblePkg field; compute on the fly instead
* kochdocs: compiler docs now under compiler/
* --docRoot now has smart default: best among @pkg, @path

make monotimes have zero overhead if you don't use it (#13338) [backport]

fix #13349 regression: isNamedTuple now works with generic tuples (#13350)

fixes #13269 (#13344)

adding sqlite3 backup functions (#13346)

* adding sqlite3 backup functions

* changing sleep to sqlite3_sleep to prevent clashes

Added a basic example how to handle a Post request. (#13339)

* Added a basic example how to handle a Post request.

They were also made minor cosmetic changes.

* Minor fixes suggested by Yardanico

* Fixed a wrong value in chunkSize constant.

* Re-added the request.body for compatibility!

replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple in dollars.nim (#13347)

* replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple

* fix for bootstrap

fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) [backport]

miscellaneous bug fixes (part 3) (#13304)

* fix deprecation; fix indentation

* git clone: use -q

* fix Warning: pragma before generic parameter list is deprecated; fix typo

* bugfix: sysTypeFromName("float64") was never cached

testament: introduce 'matrix' for testing multiple options (#13343)

printing float values will have one more digit. (#13276) [backport]

* printing float values will have one more digit. Fixes #13196

[backport] fix #13352

[backport] remove 'CountTable.mget' (#13355)

It didn't work, and it was an oversight to be included in v1.0.
fix #6736: templates in unittest now show actual value (#13354)

Revert "printing float values will have one more digit. (#13276) [backport]" (#13363)

This reverts commit b2c6db9.
Add sideEffect pragma to importC procs in posix, winlean and time module (#13370)

* Add sideEffect pragma to procs in winlean
* Add sideEffect pragma to procs in posix
* Add test for #13306
* Add sideEffect pragma to procs in times
* Fixes #13306
fixes #3339 by documenting the limitations of case-statement (#13366)

fixes #13314 (#13372)

testament: this now works: "testament r /abspath/to/test.nim" (#13358)

fix `is` with generic types; fix `genericHead(Foo[T])` (#13303)

* fix #9855, fix #9855, fix genericHead
* render TTypeKind via toHumanStr

fix #13255 (#13275) [backport]

remove outplace version of 'merge' for CountTables (#13377)

* remove outplace version of 'merge' for CountTables

* remove 'merge' tests

fix #13374 `nim c -r -` now generates $nimcache/stdinfile (#13380) [backport]

fix #9634 don't crash on execCmdEx/readLine when inside gdb/lldb (#13232)

* fix #9634 debugging a program using execCmdEx now works

* only apply EINTR to c_gets for now

This reverts commit c0f5305.

lib.rst: add a link for jsconsole [backport] (#13383)

Make vccexe parse response files (#13329)

expectLen now shows the length that we got (#13387)

fix several bugs with `repr`  (#13386)

fixes #13378 [backport] (#13392)

remove dead code test_nimhcr_integration.(bat,sh) (#13388)

* enable test for osx: import tests/dll/nimhcr_integration

* re-disable osx test

fix linenoise regression (#13395)

* fix nightlies linenoise regression

* fix other installers

Revert "remove dead code test_nimhcr_integration.(bat,sh) (#13388)" (#13396)

This reverts commit 90491ea.
fixes #13368 (#13397)

fix bug in int128 (#13403)

isolate the build process from external config files (#13411)

add ggplotnim to important_packages (#13206)

Fix to asynchttpserver form data/body broken with #13147 (#13394)

* Fix to asynchttpserver form data/body broken with #13147
* New implementation that use a interator instance of future streams
* asynchttpserver now can handle chunks of data.

Merge branch 'devel' of https://github.com/nim-lang/Nim into osopen

Squash Commits; Peer review feedbacks #12901 (comment)

(cherry picked from commit ba25f84)
clrpackages pushed a commit to clearlinux-pkgs/nim that referenced this issue Oct 6, 2020
3n-k1 (1):
      [backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. (#12754)

Alex Mitchell (1):
      Update events.nim (#12803)

Alexander Ivanov (2):
      Fixes semCustomPragma when nkSym (#12414) [backport]
      sourcemaps for the JS codegen (#7508)

Andrea Ferretti (1):
      Fix #13573 and #13574 (#13575)

Andreas Rumpf (165):
      fixes the --verbosity:2 regression [backport]
      updated the contributing.rst guidelines
      fixes #12294 [backport]
      fixes #12281 [backport]
      fixes #12264 [backport] (#12302)
      fixes #12240 [backport] (#12308)
      fixes #12336 [backport]
      fixes #12291 [backport] (#12338)
      minor optimization for asynchttpserver.nim
      use system.move instead of system.shallowCopy if the GC mode requires it
      VM: no special casing for big endian machines; refs #9690 [backport] (#12364)
      render typeof as typeof
      fixes #12323 [backport]
      fixes #12315 [backport]; refs #12314 (#12385)
      fixes #12366 [backport] (#12393)
      fixes a koch regression that made 'koch boot --listcmd' not work anymore [backport] (#12400)
      minor improvements for htmlgen.nim
      [backport] add back a check that got accidentically removed; fixes #12379 (#12444)
      Revert "Fixes #12187 (#12321)" (#12447)
      fixes #12420 [backport] (#12456)
      fixes #12310 [backport] (#12470)
      VM: fixes most ran-out-registers problems [backport] (#12485)
      fixes #12491 [backport]
      VM: fixes register leaks [backport] (#12510)
      minor improvements
      development version should be 1.1.0 so that version checking can work properly
      fixes #12502
      some progress on bug #12443
      proof that refcounting can handle Nim's async (#12533)
      [backport] fix #12528, fix #12525: incorrect generic type resolution for default values (#12538)
      --gc:destructors now means Nim uses pure refcounting (#12557)
      better testing for nimcrypto; re-enable chronos testing (#12560)
      improve codegen quality for --gc:destructors
      make renderIds work again
      --gc:destructors: simple closures work
      fixes #12577 [backport] (#12584)
      newruntime: only check for dangling refs when 'owned ref T' support is enabled
      --os:ios needs to imply defined(macosx) [backport] (#12585)
      implement the --useVersion emulation feature
      remove deprecated procs (#12535)
      error message: Nim calls it 'proc'
      osproc needs 'import linux' for -d:useClone
      pragmas.nim: tiny code formatting
      bugfix that enables the 'since' template [backport]
      added 'since' template for further stdlib additions
      make parsexml compatible with --gc:destructors/newruntime
      --gc:destructors improvements (#12626)
      .cursor implementation (#12637)
      fixes #12644
      make tests green again
      ARC: solves phase ordering problems (#12654)
      ARC: fixes leaking new() statement (#12665)
      fixes and changes the recently introduced 'alignas' to be 'align' (#12666)
      attempt to add valgrind support to the CIs and testament (#12646)
      ARC: closure bugfixes (#12677)
      fixes #12612 [backport] (#12681)
      more arc improvements (#12690)
      conversions to unsigned numbers are not checked anymore; implements /… (#12688) [backport]
      fixes #12670 [backport] (#12693)
      added the --asm command line option for inspection of the produced assember code (#12699)
      implemented a new localPassc pragma (#12706)
      fixes #11863   multipart data need $ (#12707)
      more fixes for --cpu:avr [backport] (#12748)
      VM: improvements for var T/addr (#12667); fixes #12489
      better support for PROGMEM like annotations for lets/vars; fixes #12216 (#12799)
      ARC related bugfixes and refactorings (#12781)
      feature dracula themed doc (#12816)
      completes #12799, fixes #12216 (#12870)
      ARC: yet another bugfix (#12871)
      ARC: fixes cycle detection and move the .cursor attribute into closures (#12872)
      fixes #12148 [backport] (#12888)
      fixes #12874 (#12890)
      fixes #12885 [backport] (#12895)
      ARC: cycle detector (#12823)
      fixes #12899 (#12921)
      minor refactorings
      fixes #12965 (#12991)
      --exception:goto switch for deterministic exception handling (#12977)
      fixes #12978 (#13012)
      fixes #12961 (#13019)
      fixes #12956 (#13020)
      fixes #12964 (#13027)
      take the one good idea from --os:standalone and enable it via -d:StandaloneHeapSize (#13077)
      fixes an asyncftpclient bug; refs #13096 [backport]
      more arc features (#13098)
      fixes #13122 (#13126)
      fixes #13112 (#13127)
      fixes #13119 (#13128)
      fixes #13105 (#13138)
      fixes #10665 (#13141) [backport]
      fixes #13104 [backport] (#13142)
      fixes #9674 [backport] (#13143)
      ARC: misc bugfixes (#13156)
      ARC works for async on Windows (#13179)
      fixes #13110 (#13197)
      fixes a critical times.nim bug reported on IRC [backport] (#13216)
      make goto based exceptions available for 'nim cpp' (#13244)
      fixes #13219 (#13272)
      TlSF Alloctor: use less memory for --gc:arc (#13280)
      make monotimes have zero overhead if you don't use it (#13338) [backport]
      fixes #13269 (#13344)
      fixes #13314 (#13372)
      fixes #13378 [backport] (#13392)
      Revert "remove dead code test_nimhcr_integration.(bat,sh) (#13388)" (#13396)
      fixes #13457 (#13458)
      added operateOn to sugar.nim to give Nim the chaining mechanism it de… (#13092)
      std/compilesettings implementation (#13584)
      sink parameter inference for types that have destructors (#13544)
      fix #13579 joinPath("/foo/", "../a") is now /a (#13586)
      fixes #5170 (#13589)
      Removed simpleGetOrDefault (#13590)
      fixes #13605 (#13611)
      fixes #13596 (#13612)
      fixes #13599 (#13614)
      fixes #13436 (#13615)
      catchable defects (#13626)
      fixes #13661 (#13664) [backport]
      fixes #13654
      updated builds.sr.ht script according to their email (#13669)
      rewritten goto based exception handling; much cleaner implementation;… (#13677)
      fixes #13671 [backport] (#13678)
      fixes #13622 (#13679)
      new feature: --staticBoundChecks:on to enforce static array index checking (#10965)
      arc optimizations (#13325)
      enable --tlsEmulation:on for --gc:arc (#13685)
      gc.rst that doesn't lie (#13686)
      added a switch -d:nimEmulateOverflowChecks for broken or old GCC versions (#13692)
      fixes #13691 (#13694)
      cycle breaker (#13593)
      fixes #13698 (#13706)
      Revert "fix #13417 (#13712)" (#13728)
      fixes #13722 (#13729)
      fixes #13763 (#13777)
      '.push raises: []' now also affects proc types (#13776)
      macros for proc types, macros for types (#13778)
      DrNim (Nim compiler with Z3 integration) (#13743)
      revert stdlib changes which are not required anymore
      fixes #13782 (#13834)
      renamed new std/pragmas.nim to std/byaddr.nim (#13844)
      make bootstrapping more robust for people who have Nim inside /usr/bin (#13855)
      fixes #14052 [backport:1.2] (#14055)
      fixes #14079 [backport:1.2] (#14163)
      fixes #14054 [backport:1.2] (#14061)
      fixes #13986 [backport:1.2] (#14173)
      fixes #13698 [backport:1.2] (#14175)
      arc: do not unload globals when building a library [backport:1.2] (#14180)
      destructors: don't produce stupid code for 'cast' (#14208) [backport:1.2]
      fixes #14209 [backport:1.2] (#14213)
      fixes #13104 [backport]
      fixes #13998 [backport:1.2]
      fixes #14126 [backport:1.2] (#14390)
      specialize genericReset (#14398)
      manual.rst: updates [backport] (#14445)
      fixes #14495 [backport:1.2] (#14496)
      fixes #14498 [backport:1.2] (#14503)
      warn about observerable stores but don't prevent them for 1.2.2 [backport:1.2]; refs https://github.com/nim-lang/RFCs/issues/230 (#14510)
      fixes #14514 [backport:1.2] (#14533)
      more precise analysis about 'observable stores' [backport:1.2] (#14582)
      optimized wrapWords; fixes #14579 (#14606) [backport:1.2]
      fixes #14458 [backport:1.2] (#14756)
      fixes #14240 [backport:1.2] (#14757)
      enforce browsers.nim only handles URLs [backport] (#15045)
      fixes #15044 [backport:1.2]
      fixes #15038 [backport:1.2]
      fixes #14616 [backport:1.2] (#15109)

Andrew Owen (1):
      [backport] Fix typo in docs (#12356) [ci skip]

Andrew Smith (1):
      Updated the code example in the os module to use better grammar. (#12328)

Andrey Makarov (3):
      fix nimgrep color on posix #7591 (#12288)
      nimgrep improvements (#12779)
      fix 3 minor bugs in joinPath (see #13455) (#13462) [backport]

Andrii Riabushenko (5):
      fixes #12989
      Revert "fixes #12989"
      fixes #13195
      revert last commit
      Revert "fixes #13195"

Andy Davidoff (11):
      tweaked for clarity after editing to fix a typo (#12473)
      export nim.cfg parser (#12602)
      add --clearNimblePath; fixes #12601 (#12609)
      restore --define:key:val in nim.cfg and fix #12367 (#12611)
      replace some runtime repr in stdlib for gc:arc (#12716)
      add a StringTable.clear that requires no mode specification (#12853)
      fixes disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport]
      fix crash due to errant symbols in nim.cfg (#13073) [backport]
      surgical fix for #13319 (#13604)
      fix .deprecated. object typedef crash (#13643)
      add error for missing commandLineParams (#13719)

Anthon van der Neut (1):
      [backport] fix broken link to non-existing c2nim manual html, fixes #12537 [ci skip] (#12544)

Antonis (2):
      fix closure env check
      better error message

Araq (99):
      fixes #12279 [backport]
      fixes #12298
      different fix for #12279 [backport]
      JS: gensym is stricter for 'this'; refs #12246 [backport]
      fixes #12244 [backport]
      refactoring: --newruntime consists of 3 different switches
      refactoring: use the new strings and seqs when optSeqDestructors is active
      first implementation of the new --seqsv2 switch
      ast.nim: slightly better documentation
      fixes a regression that caused that Nim devel cannot compile 1.0 anymore
      fixes a regression that caused that Nim devel cannot compile 1.0 anymore
      destructors.rst: added a missing 'var' to the motivating example
      fixes #12547 [backport]
      expr -> untyped
      async: use $ and not repr in debug mode
      inhibit silly warning about moving closure environments for performance
      --gc:destructors: bugfixes
      async: cleaner solution that avoids GC_ref on strings which doesn't exist for --gc:arc
      gc:arc: support GC_ref/unref for ref T
      ARC: use the new .cursor annotation for 'up' pointers
      ARC: handle closures like tuples consistently
      ARC: closure inside object constructor now works
      thavlak.nim test: improved the code style
      more thavlak.nim improvements
      more thavlak.nim improvements
      thavlak.nim: more idiomatic code
      ARC: yet another silly bugfix
      ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data
      ARC: ported the GC tests over to --gc:arc
      test suite: rename tests containing 'fail' for easier search in logs
      fixes a flaky test for the realtime GC
      ARC: implemented a simple cycle detector
      fixes #12488 [backport]
      fixes #11727 [backport]
      fixes #12766
      fixes #12669
      fixes #12798 [backport]
      docs: tiny style improvements
      added guidelines for evolving Nim's stdlib
      fixes a bug that kept sugar.collect from working with for loop macros [backport]
      fixes #12826
      fixes a regression
      a better bugfix
      fixes a test case
      fixes a silly regression
      fixes the distros.nim regression
      ported channels to ARC
      ported osproc.nim to ARC
      ported re.nim to ARC
      ARC: default to a shared heap with --threads:on
      osproc: fixes regression
      fixes another regression
      fixes #13032
      reprjs: style changes
      fixes #12996
      fixes #13072; no test case because it will be added later with more exception handling related bugfixes
      fixes #13070
      fixes #13157
      ARC: remove unnecessary code
      ARC: optimize complete object constructors to use nimNewObjUninit
      make nre compile with --gc:arc
      contributing.rst: Add a special rule for 'outplace'-like features
      fixes #13444
      ARC hotfix; proper destruction of seqs and strings after a move
      hotfix: make --useVersion:1.0 work
      fixes #13607
      fixes #12757
      fixes #13519
      fixes #13240
      fixes async regression
      disable chronos testing for now
      disable nimgame2 for now
      minor code style changes
      minor code style change
      fixes #13646
      fixes #13645
      rename sfAlwaysReturn to sfNeverRaises
      fixes a bug for 'dup' and 'with'; they can now handle nested statement lists that can result from macros
      fixes hash(HashSet) which was wrong as it didn't respect tombstones; refs #13649
      removed .gitattributes as it only causes trouble for me
      make 'nim check' more robust for illdefined constants
      fight the code bloat in base64.nim
      threadpool.nim: allow control over MaxThreadPoolSize and MaxDistinguishedThread; refs #10584
      typo
      Windows API callbacks cannot raise exceptions
      better error messages for Nim's effect system
      trees.nim: compare floating points by their bitpatterns because NaN comparisions are always false (WORST design in the history of computing!)
      disable even more of scope based destruction handling; fixes #13709
      trees.nim: compare floating points by their bitpatterns because NaN comparisions are always false (WORST design in the history of computing!)
      hotfix: make 'nim doc nimhcr' work on all platforms
      use nimEmulateOverflowChecks for ARM/ARM64
      encodeMIME should be encodeMime by our coding guidelines
      updated the changelog
      added an .assert pragma and mentioned the pragmas in the changelog
      return types must not be Natural for reasons I won't outline here
      fixes another silly arc/orc bug [backport:1.2]
      fixes #14159 [backport:1.2]
      fixes #14718 [backport]
      fixes #15056 [backport]

Arne Döring (31):
      fix #12332 (#12402) [backport]
      refactor illegal iterator assignment detection (#12212)
      Refactor json macro (#12391)
      fix #12426 (#12462)
      fixes #12453 (#12475)
      no html comments in issue template [skip ci] (#12496)
      fixes #12514 (#12520) [backport]
      integer literal documentation [ci skip] (#12513)
      Extent json.to testing to VM, add workrounds for VM bugs. (#12493)
      introduce csize_t instead of fixing csize (#12497)
      fix conversions to uint in varints.nim (#12564)
      backtick and export marker handling in `eqIdent` (#12574)
      fix #12597 (#12604)
      implemented alignas pragma (#12643)
      fix regression in align (#12680)
      delete list comprehension (#12392)
      fix in tests/js/tconsole (#12709)
      fix #12740 (#12774)
      add $nimeq for gdb (#12909)
      printing float values will have one more digit. (#13276) [backport]
      fix #13255 (#13275) [backport]
      fix bug in int128 (#13403)
      fix #13479 (#13503)
      Remove dead magics (#13551)
      fix operators containing percent for VM usage (#13536)
      add expectIdent to macros (#12778)
      allow category nimble-packages to test a single package (#13576)
      fix #13720 (#13721)
      fixes #13715 (#13716)
      fix #13417 (#13712)
      fix typos and deprecation warnings for tconvariancerules.nim (#13772)

Artem V L (3):
      Docstring refined for the getSectionValue() (#12478) [backport]
      '#' value parcing is explained (disambiguated) (#12476)
      splitPath() behavior synchronized with splitFile() (#12481)

BinHong Lee (2):
      Add `--git.devel` option to the documentation
      Allow `-o` option for `buildIndex` (#13037) [backport]

Brent Pedersen (1):
      testament/important_packages dont run hts (#13052)

Brian Wignall (1):
      [backport] Fix spelling typos (#12755)

Bung (4):
      add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword (#13060)
      fix #9771 (#14357)
      fix #14534 (#15060) [backport]
      fixes #14189 (#15080) [backport]

Chris Heller (1):
      Check pqntuples > 0 in getValue. Fixes #12973 (#12974)

Christian Ulrich (1):
      introduce getPeerCertificates, fixes #13299 (#13650)

Clyybber (33):
      Fixes #10514 (#12268)
      More of StringStream now works at compile time (#12284)
      Refactor injectdestructors (#12295)
      Fixes #12187 (#12321)
      Fixes #12379 (#12591) [backport]
      Implemented outplace differently (#12599)
      Cosmetic compiler cleanup (#12718)
      Fix #12812
      Cleanup leftovers of #12911(#12916)
      system.reset is no longer magic (#12937)
      Continue #13002 (#13021)
      Cleanup DFA (#13173)
      Fix docs (#13176)
      Fix docs for subdirs too (#13180)
      Tiny since cleanup (#13286)
      Fix capture for object types (#13315)
      Make build_all.sh more portable and a bit simpler (#13308)
      build_all.sh update (#13320)
      expectLen now shows the length that we got (#13387)
      capture macro now accepts variables of different types (#13356)
      Remove testutils (#13435) [backport]
      Only print the link command when listCmd is active; fix docs (#13603)
      Make listCmd honor hint:cc:off (#13606)
      Fix #13633
      Amend fix for #13633 (#13636)
      Change order of forwarded koch boot command line options, so as to be able to overwrite the nimcache location (#13637)
      Fix vm.nim for --gc:arc (#13741)
      Small typo (#13824)
      Fix #13889 with testcase (#13896) [backport]
      Fix the DFA for "unstructured controlflow" (#14263)
      New "ping-pong" DFA (#14322)
      Fix #14269 (#14286)
      Fix #14911 (#14922) [backport]

D-Nice (1):
      [backport] fix #11440, add docs to isNil for seq types needing nilseq (#13234) [ci skip]

Danil Yarantsev (2):
      Fix some typos in the manual [backport] (#14399)
      Change severity of template instantiation message [backport] (#14526)

David Krause (1):
      fix documentation of `$`*(dt: DateTime) (#12660)

Dean Eigenmann (1):
      feature/count (#13837)

Dominik Picheta (5):
      Change future version number in changelog
      Fixes ambiguity errors when evaluating Nimble files. (#12674) [backport]
      Revert broken asynchttpserver FutureStream additions.
      Fixes issues with dynamic loading OpenSSL. Fixes #13903. (#13919) [backport]
      [Backport] Fixes callbacks being dropped on Linux/macOS/BSD. (#15012)

Elliot Waite (2):
      Removing the mention of using `discard` for block comments (#12837) [backport]
      Add a 32x32 favicon (#12856)

Emery Hemingway (1):
      Implement NixOS distro check (#12914)

Endeg (1):
      Fix #12242, replacing ":" with "@c" in packages [backport] (#12265)

Euan (7):
      #12389: Check working directory for getAppFilename() (#12390)
      Fix #12135 and #12109 (#12137)
      #12103 - CI for FreeBSD (#12179)
      Fix typo for literal `[` (#13243)
      __stderrp and friends are only on FreeBSD & DragonFlyBSD. (#13735)
      `import macros` rather than `import std/macros`. (#13762)
      #13806 - getApplFreebsd might lose data (#13807)

Federico Ceratto (8):
      Fix spellings (#12277) [backport]
      Expose some layouter elements, improve readme (#12361)
      Refactor closeEmitter to make it more modular (#12365)
      [backport] Add link to posix_utils.html - related to #10723 (#12509)
      [backport] Add links to packaging and distro pages (#12603) [ci skip]
      Add link to posix_utils.html in posix.nim (#13111)
      Add link to packaging.html (#13194)
      SSL certificate verify GitHub action (#13697)

Fredrik Høisæther Rasch (2):
      Quote nim executable before executing. (#13316) [backport]
      Make vccexe parse response files (#13329)

Gampol T (2):
      documented behaviour of recv on bufferd socket (#12374)
      fixes #12319 - change exception handling for finish.exe (#12413)

Ganesh Viswanathan (1):
      Fix #9405 - cfg and nims run in sync

Hayden (1):
      Detect Ubuntu by checking release() and uname() (#13704)

Henrique Dias (3):
      Option to allow the request body to be processed outside the asynchttpserver library. (#13147)
      Added a basic example how to handle a Post request. (#13339)
      Fix to asynchttpserver form data/body broken with #13147 (#13394)

Hideki Okamoto (1):
      Fixes #12010; Add the description for "cc" option into --fullhelp (#12350)

Hiroki Noda (2):
      Thread attributes should be destroyed using the pthread_attr_destroy() (#13293)
      Add EPOLLEXCLUSIVE (#13718)

Huy Doan (1):
      Fix telebot test failed, closes ba0f3/telebot.nim#49 [ref #13812] (#13814)

Ico Doornekamp (13):
      Fixed #12337, leaking pipe after gorge (#12339)
      added cpuTime to VM (#12346)
      Refactored VM registerlayout. The size and location of the registers in (#12775)
      Increased TInstr field sizes: allow long jumps and 65535 VM registers (#12777)
      Auto-initialize deques (#12879)
      Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined (#13089)
      Added 'ansic' os support for minimal (embedded) targets (#13088)
      Remove obsolete code from osalloc (#13158)
      Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190)
      Updated 'nim for embedded systems' section to use --os:any and --gc:arc (#13237)
      Cleaned up mmdisp.nim, moved implementations into lib/system/mm/ (#13254)
      Fixed codegen for constant cstring with --gc:arc (#13326)
      Improved assertion error messages on usage of JsonNode iterators on wrong kinds (#13389)

Jack Tang (2):
      index out of bounds exception when data is empty (#12428)
      Allow customize Host header

Jae Yang (1):
      Fixes #14110 (#14111)

Jairo (2):
      Add "origin" to window.location (#13251)
      scrollTop must be settable (#13263)

Jasper Jenkins (18):
      remove nimnomagic64 (#12243)
      Macro docs additions (#12270)
      ungeneric unsigned ops (#12230)
      make addQuoted work on nimscript (#12717) [backport]
      [backport] always set `fileInfoIdx.isKnownFile` (#12773)
      fix nimsuggest deprecation warnings (#12772)
      Better case coverage error message for alias and range enum (#12913)
      case coverage error message for `char` (#12948)
      fix enumtostr crash for enum-range (#13035)
      fix rtti sizeof for varargs in global scope (#13125) [backport]
      fix tsizeof3 for aarch64 (#13169)
      make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170)
      fix range[enum] type conversion (#13204) [backport]
      fix sets of scoped imported enums (#13666)
      add nnkMacroDef to RoutineNodes (#13676)
      fix when statements in inheritable generic objects (#13667) [backport]
      fix nimpretty warning (#13700)
      fix nimsuggest warning (#13699)

Jjp137 (13):
      threadpool: fix link in docs [ci skip] (#12258) [backport]
      Fix many broken links
      Prefer relative links for Nim documentation
      koch.rst: remove link to nonexistent section
      manual.rst: remove unintended link
      asyncstreams: replace unintended link with emphasis
      Fix word wrapping
      sequtils: replace deprecated 'random' call within example (#12515) [backport]
      Remove sentences referring to the graphics module (#12522)
      colors: fix 'mix' template and make most examples runnable (#12532) [backport]
      Remove a stray file (#12697)
      lib.rst: add a link for jsconsole [backport] (#13383)
      parsecsv: fix '\0' being displayed as '0' in docs (#15086) [backport]

Joey (3):
      Make gdb script work on mac and linux; add windows gdb script (#13453)
      Fix gdb scripts (#13658)
      Revert �#13658 for nim-gdb.bat. Fixes #13705 (#13707)

John Paul Adrian Glaubitz (1):
      Add build support for Linux/hppa (#12271)

Juan Carlos (32):
      Improve jsconsole adding the rest of the stable api as documented on the standard at https://developer.mozilla.org/docs/Web/API/Console (#12440)
      Fix #10804 (#12438)
      Fixes #10824 (#12437)
      Improve htmlgen (#12452)
      Add no-ident for GCC when -d:release (#12454)
      Fixes #8802 (#12439)
      [backport] Documentation Math module  (#12460)
      Improve Math.Trunc code emit on JS, had weird whitespaces and indents (#12549)
      JS improve indent (#12581)
      Fix htmlgen html lang (#12668) [backport]
      Improve head comment on JS (#12548)
      httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add headers argument instead of hardcoded empty (#13207)
      [backport] Documentation Fix #12251 (#13226) [ci skip]
      Add browsers.osOpen (#12901)
      Documentation staticRead maximum file size limits (#13485)
      Nimpretty Fix negative indent breaks code (#13580)
      Add isValidFilename (#13561)
      Documentation GC (#13109)
      Clean 1 old deprecated empty file (#13696)
      Remove 2 old deprecated files (#13702)
      Add Base64 safe (#13672)
      Fix #13631 (#13789)
      Add Documentation (#13811)
      Fix a 'See XXX' on documentation, clean out (#13820)
      Tiny fix on browsers.openDefaultBrowser (#13818)
      Documentation, add more examples (#13825)
      Add browsers.openDefaultBrowser without URL, implements IETF RFC-6694 Section-3 (#13835)
      Documentation and Code Style inotify (#13836)
      Deprecate when declared(echo):echo (#13840)
      Deprecate DCE:on (#13839)
      Jsconsole update (#12448)
      Deprecate PHP (#13838)

Judd (3):
      allow random module to be used in standalone: (#12617)
      introduce capture macro (#12712)
      update documentation for `closureScope` and `capture` (#12886)

Kamanji (1):
      Rst parser respect `:start-after:` and `:end-before:` in `include` directive (#12972)

Kartik Saranathan (1):
      fix typo (#13660) [ci skip]

Kaushal Modi (9):
      [backport] Add docs to better distinguish among getProjectPath, getCurrentDir and currentSourcePath (#12565)
      Make sequtils.zip return seq of anonymous tuples (#12575)
      [backport] Make all parseutils examples auto-checking (#13238)
      Add `sequtils.unzip` to complement `sequtils.zip` (#13429)
      [backport] tut1: Update the proc overloading examples (#13497) [skip ci]
      xmltree: Make indentation consistent with any num of children nodes (#13482)
      unicode.split: Fix the splitting when a Rune separator is used [backport] (#13629)
      Document that proc named fooTask is created for every foo task [backport] (#14187)
      Fail quickly if re or nre module is attempted to be compiled with js [backport] (#14341)

KeepCoolWithCoolidge (1):
      Fixes classify function to detect subnormal floating points (#12836)

Kevin (1):
      added cstrutils (#12858) [backport]

Khronos (1):
      Fix vertical tab in JSON. (#13399)

King Eca (1):
      Fixes stackoverflow links in readme (#12963) [backport]

Krzysztof Majk (1):
      remove unused import (#12900)

Lee Matos (1):
      Update advopt.txt to include link to nim cache docs (#13464)

Leorize (5):
      azure-pipelines: add pipelines for linux, mac and win
      testament: add azure integration
      azure: disable failing tests
      gitattributes: fix tests for windows
      workflows/ci: disable

Mamy Ratsimbazafy (2):
      csize_t changes: pinToCpu didn't compile (#12725)
      The whole options module should be inline (#14417) [backport:1.2]

Manav (1):
      Fixed non-working examples in Manual: Exception Handling (#13424)

Mark (3):
      deviated -> derived (#12845) [backport]
      deviated -> derived (#12846) [backport]
      Manual update: custom exceptions (#12847) [backport]

Mathias Stearn (1):
      Explicitly state that trailing underscores are banned (#12257)

Mera (1):
      [backport] Fix typo and improve in code-block of 'lib/pure/parseutils.nim' (#13231) [ci skip]

Milan (1):
      [backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip]

Miran (40):
      [backport] bundle nimpretty on Windows (#12358)
      [backport] fix #12418, fix `random.randomize` on JS backend (#12432)
      fixes #11764, faster hashing of (u)int (#12407)
      [backport] fix type's case in random.nim (#12445)
      fix deprecation warnings related to Int128 (#12474)
      [backport] fix #12395 (#12590)
      fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0' (#12592)
      fix #12519: introduce OrderedTable.take, CountTable.del, CountTable.take (#12600)
      remove two asserts in int128.nim (#12648) [backport]
      increase the timeout for 'tasyncclosestall' (#12744)
      clean up deprecated stuff and unused imports in tests (#13059)
      System cleanup, part 1 (#13069)
      [backport] fix #12813, fix #13079 (#13099)
      System cleanup, part 2 (#13155)
      style fix: change 'JS' to 'js' to make it consistent (#13168)
      Idxmin & idxmax, continuation (#13208)
      [backport] -d:danger should imply -d:release (#13336)
      testament: introduce 'matrix' for testing multiple options (#13343)
      [backport] remove 'CountTable.mget' (#13355)
      fix #6736: templates in unittest now show actual value (#13354)
      fixes #3339 by documenting the limitations of case-statement (#13366)
      remove outplace version of 'merge' for CountTables (#13377)
      add ggplotnim to important_packages (#13206)
      add more files to the ignore list, hopefully fixes nightlies on windows (#13474)
      docgen: don't create compiler's docs + cleanup (#13509)
      important_packages: change the order of arguments in the template (#13577)
      fix #13531 by adding a test (#13581)
      fix #12508, unaligned access on sparc64 (#13594)
      fix #13310, Deque misbehaves on VM (#13625)
      rename `lenTuple` and `lenVarargs` (#13639)
      add `move` to `tables` to prevent warnings when compiled with `--gc:arc` (#13684)
      fix #13731, ambiguous repr of pointers (#13732)
      fix deprecations and other warnings (#13748)
      bump copyright year to 2020 (#13753)
      faster CIs (#13803)
      make fuzzy search a bit less fuzzy (#13996) [backport:1.2]
      [backport] fix #14748, move gdb files to other section of installer.ini (#14772)
      fix #14082, don't crash on incorrectly formatted input (#14977) [backport]
      fix several newline problems (#15028) [backend]
      asyncftpclient.nim - don't assume a sufficiend line length (#14973)

Neelesh Chandola (4):
      Fixed objects being erroneously zeroed out before object construction (#12814) [backport]
      Fixes #12832 (#12842) [backport]
      Assigning template to var/let/const gives a proper error (#12851)
      Support cross compiling from host to host (#12859)

Nindaleth (2):
      fix a few dead links and a missing sentence in documentation (#12387)
      fix several typos in documentation and comments (#12553)

Nな人(N na hito) (1):
      Update LICENSE (#13421)

Oscar Nihlgård (4):
      Fix compiler crash caused by top level return (#12501)
      Fix jsgen bug with uninitialized seq (#12500) [backport]
      Fix JS bug in std/monotimes (#12499) [backport]
      Fix sequtils.delete bug with out of bounds indexes (#12506)

PMunch (3):
      Fix for 16 bit platforms (#12760) [backend]
      Fix AVR target to define ints properly (#12817)
      Add signatures object to jsondoc for routine types (#13530)

Paul Tan (1):
      guards.nim:sameTree(): handle uint literals correctly (#12483) [backport]

Pierre-Jean Grenier (1):
      fix httpclient.lastModified bad pattern in parsing (#12698)

RSDuck (1):
      Fix #12785 (#12943)

Ray Imber (11):
      Locks modules should give a compile error when threads are not enabled. (#12231)
      Test + fix for epoll and kqueue selector modules to properly unregister
      Additional fix for User key unregister in the KQueue backend
      lowered the number of events in the test because some CI's have an extremely low FD limit
      Documentation improvements around the db interface (#12362)
      Fix io slector unregister for windows as well.
      Fix drain to correctly take into account hasPendingOperations and the timeout value
      Remove unnecessary change to ioselectors_kqueue.nim found by @cheatfate.
      fixes based on code review by @dom96
      Updated the changelog
      Update changelog.md based on feedback from Dom96

Ridho Pratama (2):
      Fixed sizeOf to sizeof (#12347)
      renderer letAux fix only for octal literal (#12343)

Rory O’Kane (3):
      docs: say that `nil` can be used as a value (#13756)
      [skip ci] docs: reword Part 3 link to communicate that it exists (#13755)
      [ci skip] docs: make the syntax for generics easy to look up (#13754)

Sam Wang (1):
      Added fix for handling TaintedStrings in streams and httpclient (#12969)

Siegfried Ehret (1):
      Fix typo (#13015) [backport]

Simon Krauter (1):
      parsecfg: retain CRLF line breaks, fixes #12970 (#12971)

Solitude (1):
      Fix code style errors (#12545)

Teashrock (1):
      Deleted misplaced separator (#13085) [backport]

Timothee Cour (124):
      fixes #12330 (#12331)
      fixes #12663 staticRead now creates a dependency for rebuilds (#12731) [backport]
      [minor] fix doc for $(Time) (#12795) [backport]
      osx: support nanosecond resolution for file stat (eg getLastModificationTime) (#12794)
      VM: allow ptr setting ptr fields (#12825)
      fix json regression D20191212T144944 (#12902) [backport]
      allow typed/untyped in magic procs (#12911)
      fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport]
      fix #12919 tasyncclosestall flaky: Address already in use (#12934)
      fixes #12735 on osx, call dsymutil for debug builds (#12931)
      lenVarargs: number of varargs elements (#12907)
      [ci skip] docfix .. < => ..< (#12981) [backport]
      fix #12985 {.push.} now does not apply to generic instantiations (#12986)
      VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877)
      [cleanup] remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits (#13041)
      --styleCheck:hint now works (#13055)
      [easy] --hint:link:on now shows link cmd instead of nothing (#13056)
      make SuccessX show project file + output file (#13043)
      remove all remaining warnings when build nim (with -d:nimHasLibFFI) (#13084)
      typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get (#13064)
      VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT (#13083)
      fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) [backport]
      export normalizePathEnd (#13152)
      successX now correctly shows html output for `nim doc`, `nim jsondoc`; fix #13121 (#13116)
      CI fix timeout error (#13134)
      fixes #12998 nim doc regression (#13117)
      followup on #10435 : should be diff, not show (#13162)
      refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.}  (#13136)
      fixes #13144 (#13145)
      times: toUnixFloat, fromUnixFloat (#13044)
      maybe: allows optional chaining of field access and indexing when LHS i snil (#13023)
      fix docs + API for fieldPairs, fields (#13189)
      fix #13211 relativePath("foo", ".") (#13213)
      new os.isRelativeTo (#13212)
      VM: allow overriding MaxLoopIterations without rebuilding nim (#13233)
      kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes (#13221)
      fix lots of bugs with parentDir, refs #8734 (#13236)
      nim dump: add libpath (#13249)
      contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247)
      refactor htmldocs; gitignore it
      removed unused import
      fix stdout(etc) for emscripten
      csize => csize_t for sysctl
      fix critical bug discovered by #11591 (#13290) [backport]
      miscellaneous bug fixes (#13291)
      CT FFI: fix for windows; fix case transition; error msg shows more useful context (#13292)
      refs #8391 std/os now shows runtime context for raiseOSError exceptions (#13294)
      build_all.sh: building csources 5X faster thanks to make -j (#13300)
      fix #13132 tnetdial (#13318)
      enable testing -d:nimHasLibFFI mode (#13091)
      nim secret: support linenoise when available (#13328)
      fix #13150 `nim doc --project` now works reliably (#13223)
      fix #13349 regression: isNamedTuple now works with generic tuples (#13350)
      replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple in dollars.nim (#13347)
      fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) [backport]
      miscellaneous bug fixes (part 3) (#13304)
      Revert "printing float values will have one more digit. (#13276) [backport]" (#13363)
      testament: this now works: "testament r /abspath/to/test.nim" (#13358)
      fix `is` with generic types; fix `genericHead(Foo[T])` (#13303)
      fix #13374 `nim c -r -` now generates $nimcache/stdinfile (#13380) [backport]
      fix #9634 don't crash on execCmdEx/readLine when inside gdb/lldb (#13232)
      fix several bugs with `repr`  (#13386)
      remove dead code test_nimhcr_integration.(bat,sh) (#13388)
      fix linenoise regression (#13395)
      fix incorrect lenTuple implementation (#13423)
      [backport] pseudorandom probing for hash collision (#13418)
      make unzip faster: seq[i]=val can be 7X faster than seq.add(elem) (#13448)
      relativePath("foo", "foo") is now ".", not "" (#13452)
      only enable linenoise for -d:nimUseLinenoise (#13478)
      fix #13449 texitcode flaky on windows (#13487)
      fix #8312 --hints:off and --warnings:off now honored everywhere (#13489)
      runCI: logs now show CPU/OS/etc info to be self contained (#13486)
      fix #13455 ; joinPath(a,b) now honors trailing slashes in b (or a if b = "") (#13467)
      tables/sharedtables/intsets/etc: fix #13496, #13504, #13505; add lots of tests (#13498) [backport]
      cleanup Ordinal (#13501)
      make CI tests faster + more precise
      revert changes to tests/gc/gcleak2.nim
      CI tests run faster: save 120s in azure machines, 335s on local OSX
      save another 33s of CI for tests/gc/gcleak.nim
      correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in order
      remove isCmdLine; use passCmd1
      properly handle note override logic/verbosity/config/cmdline using modifiedyNotes, cmdlineNotes
      fixes #13543 and added times.isLeapDay (#13547)
      fix broken nim CI, disable blscurve (#13555)
      fix #13528 nimgrep --word now works better with operators (#13537)
      make genericParams support static[T] generic params (#13433)
      workaround refs #13563 freebsd CI (#13564)
      fix hintSuccess: `out` was wrong for `nim doc` without `-o` flag (#13569)
      close #12704 by adding a test (tuple codegen error) (#13592)
      `koch --nim:pathto/nim boot` and `koch boot --hint:cc:off` now work  (#13516)
      fixes #13558: toDateTime buggy on 29th, 30th and 31th of each month; breaking change: do not use `now` to compute result, was undocumented and non-sensical (#13565)
      fix #13633 fix koch boot crashing regression (#13635)
      azure-pipelines: use OSX 10.15 (was just enabled upstream) (#13546)
      fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + other fixes (#13550)
      fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647)
      fix #13524 astToStr now works inside generics (#13681)
      fix #11458 oswalkdir (#13689)
      fix #13412 nim now recompiles for stdin input; SuccessX now configurable; can show whether it recompiled (#13506)
      fix #13538 sigmatch errors are now sorted (#13701)
      [RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other languages (#13642)
      new syntax for lvalue references: `var b {.byaddr.} = expr` (#13508)
      fix #13737 (#13738)
      distinctBase overload for values (#13746)
      [CI] fix recent freebsd systematic failure (#13788)
      fix #13730 (#13787)
      fix #13794 HashSet leak (#13800)
      stacktraces can now show custom runtime msgs per frame (#13351)
      refs #13797 (#13812)
      fix #13829 (#13831)
      fix open file leak when running --debugger:native (#13832)
      make `usage of foo is a user-defined error` more informative (#13833)
      fix last remaining warning when building nim (`intVal should be Int128`) + minor cleanups (#13841)
      std/byaddr => std/decls (#13847)
      move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code (#13850)
      fix https://github.com/timotheecour/Nim/issues/88 (#13865) [backport:1.2]
      openDefaultBrowser now works on OSX (#13892) [backport]
      fix #13902 distinct uint64 type corruption on 32-bit with borrow (#13907) [backport:1.2]
      backport nimExe from #13876 (#14024)
      fix https://github.com/nim-lang/RFCs/issues/211: `var a: DateTime` compiles and is usable (#14002) [backport:1.2]
      [ci skip] changelog conflicts are a thing of the past (#14098)
      fix nim CI; fix local testament (#14102)
      fix #14132 dsymutil should not be called on static libraries (#14133) [backport:1.2]
      fix a critical bug in windows.osproc leading to resource leaks and blocking IO [backport] (#14296)
      fix https://github.com/nim-lang/Nim/issues/14275 querySetting(nimcacheDir) works even if implicitly set (#14277)

Tomohiro (12):
      Fix how `relativePath` handle case sensitiviy (#12312) [backport]
      On windows, os.relativePath returns path as is when roots are different (#12329)
      Fix vcc linker option name (#12422)
      Fix Nim specify wrong option to vccexe when vcc.options.always is set (#12490) [backport]
      Add /nologo option when nim call cl.exe (#12524)
      [feature]strformat: add 2 'fmt' macros that use specified characters instead of '{}'  (#11748)
      Add a changelog entry related to PR #11748 [ci skip] (#12541)
      Fixes #12536 (#12568) [backport]
      Fixes #12734 (#12784)
      Fix error check code in osproc (#13090) [backport]
      Fix typo in doc/destructors.rst (#13148)
      Add sideEffect pragma to importC procs in posix, winlean and time module (#13370)

Tor Arvid Lund (1):
      [backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip]

UNIcodeX (1):
      [backport] Clarifies experimental / parallel example on manual.rst (#12472)

Varriount (1):
      fix nightlies builds on Windows (#13587)

Volodymyr Lashko (1):
      Fix crash in terminate handler (#12572) [backport]

Yanis Zafirópulos (1):
      added support for openArray's for `gcd` and `lcm` (#12621)

Yuriy Glukhov (1):
      Fixed yield in nkCheckedFieldExpr (#12429) [backport]

Zahary Karadjov (19):
      First steps, the compiler can boot with enforced requiresInit
      More sophistication; Allow requiresInit to be specified per-field
      Don't allow 'var x: T' for objects that require initialization
      Plug another hole: default(T) forbidden for objects requiring initialization
      Enable the requiresInit checks only for objects
      Fix tests/notnil/tnotnil_in_objconstr.nim
      Turn the warning for uninitialized (result) variables into errors
      not nil types are illegal to construct through default(T)
      Hrm, the new errors highlighted some code that seems to be broken
      More precise error messages for uninitialized fields in the presence of inheritance
      Perform nil checks during object construction and within compiles()
      Close https://github.com/nim-lang/Nim/issues/11428
      Fix https://github.com/nim-lang/Nim/issues/4907
      Fix a CI failure during koch doc
      Fix tests/parallel/tguard2.nim
      Replace tfHasRequiresInit with a more accurate mechanism
      Turn some of the errors back into warnings
      The raises list can now use expressions referencing the generic params
      Fix tests/types/tparameterizedparent0

Zed (2):
      Implement file streaming for httpclient's MultipartData (#12982)
      Fix asynchttpserver newline breaking content-length (#14565) [backport]

aguspiza (1):
      SSL_CTX_load_verify_locations parameters are reversed (#14815) [backport]

alaviss (31):
      nimsuggest: fix tcp socket leak (#12377) [backport]
      nimsuggest: fix tcp socket leak for epc backend (#12384) [backport]
      nimsuggest: add option to force finding the project file (#12409)
      nimsuggest: add a command that returns the project file (#12411)
      compiler/options: improve project file detection (#12404)
      compiler/options: only check the last folder for a candidate (#12421)
      compiler/semcall: return the correct lineinfo for nkCallStrLit (#12484)
      compiler/semtypes: improve lineinfo for exported object fields (#12495)
      compiler/suggest: add variable support to `con` (#12569)
      compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199)
      Unexport even more symbols (#13214)
      testament/azure: major rewrite (#13246)
      koch: enable checks in the compiler when running CI (#13323)
      manual: documents changes regarding dynlib (#13425)
      nimsuggest: don't add CRLF to replies (#13545)
      Revert "nimsuggest: don't add CRLF to replies (#13545)" (#13597)
      azure-pipelines: walkaround issues with triggers (#13657)
      .github/workflows: new CI pipeline (#13656)
      httpcore: deprecate `==`(string, HttpCode) (#13682)
      asyncdispatch: fix erroneous set construction (#13765)
      ssl_certs: add Haiku support (#13761)
      More fixes for Haiku (#13774)
      workflows/ci_docs: lots of goodies (#13809)
      workflows/ci_docs: fix documentation deployment (#13819)
      asyncdispatch: export Callback (#14042) [backport]
      tools/finish: don't quote path with space (#14058) [backport]
      testament: don't rely on Nim source structure [backport:1.2] (#14077)
      testament: don't try to test nimgrep if it's not there [backport:1.2] (#14085)
      net: remove more erroneous set constructions (#14252) [backport]
      encodings: use only one iconv definition [backport:1.2] (#14741)
      posix_other: add define to force time_t to 64 bit [backport] (#14753)

awr1 (1):
      [backport] Mention "lambdas" and `=>` in the manual (#12397) [ci skip]

b3liever (3):
      Version of trimZeros without temp strings (#12633)
      add collect macro (#12708)
      basename supports pragmaexpr (#13045)

c-blake (4):
      Discussion both in (#12678)
      Unwind just the "pseudorandom probing" part of recent sets,tables changes (#13816)
      Fulfill https://github.com/nim-lang/Nim/pull/14995#issuecomment-664914391 (#15104)
      Attempt to explain better why delImplIdx is the way it is.  Maybe this can (#15108)

chr v1.x (1):
      [backport] documentation: Add channels examples (#13202) [ci skip]

cooldome (50):
      External file compilation improvement (#12380)
      fixes #5050; fixes #11826  (#12606) [backport]
      fix compilation warning (#12618)
      Fix external file recompilation (#12802)
      fixes #12804 (#12809)
      fixes #12783 [backport] (#12810)
      fixes #12821 (#12822)
      fixes #12820 (#12828)
      fixes #12827 (#12829) [backport]
      invoke createTypeBoundOps for constructors (#12878)
      fixes #12882 (#12889)
      Better clang_cl support (#12896)
      Fixes #12883 (#12894)
      NaN floatFormat with clang_cl  (#12910)
      fixes #12945 (#12959)
      fixes #12989 (#12992)
      Sink to MemMove optimization in injectdestructors (#13002)
      remove default argument for readLines (#12807) [backport]
      Fixes #13026 (#13028)
      fixes #13013, reverts previous changes to readLines() (#13036) [backport]
      distinctBase type trait for distinct types (#13031)
      pass platform argument only if vccexe is used (#13078)
      Working towards arc codegen (#13153)
      fixes #13095 (#13181)
      make sink operator optional (#13068)
      more on arc codegen (#13178)
      fixes #13195 (#13198)
      fixes #13281 (#13282)
      unittest add resetOutputFormatters proc (#13267)
      nimv2 widestring indexing (#13279)
      Repr v2 progress (#13268)
      fixes #13368 (#13397)
      stdlib/system: add sink and move  (#13283)
      fixes #12627 (#13521)
      EndsInNoReturn in expressions extension, fixes #13490 (#13520)
      make it possible to pass linker options for vcc (#13535) [backport]
      fixes #12747 [backport] (#13651)
      Fixes #13659 (#13674)
      Attempt to finish off araq cpp exceptions (#13695)
      fixes #13708 (#13711)
      fixes #13744 (#13749)
      Continue bool conversion fixing (#13751)
      make nim_temp compile with --gc:arc --sinkInference:off (#13769)
      fixes #13810 (#13821)
      fix #13909 (#13914) [backport:1.2]
      fixes #14003 (#14006) [backport:1.2]
      fix #14007 (#14012) [backport]
      Implements RFCs #209 (#13995)
      fix #14219 (#14225)
      fix odbc regressions (#15009) [backport]

ducdetronquito (1):
      Namespace unittest enums to avoid name conflicts (#12468) [backport]

ee7 (1):
      [backport] Docs: Fix broken `code-block` (#14749)

flywind (2):
      fix error in assertions document (#12925) [backport]
      fix asynchttpserver content-length header (#13846)

genotrance (13):
      Fixes #12286 - require explicit disabling of boehm interior pointer checking (#12406) [backport]
      Switch mingw links (#12561)
      Substitute $nimbleDir in --path flags (#12750)
      Fixes #12767 (#12768)
      Path substitution for --out and --outdir (#12796)
      Fix single match output (#12920)
      Fix #10717, fix #13284 (#13307)
      Fix #8648 - use parent streams to avoid hang (#13445)
      Fix docgen snippet numbering (#13507)
      Revert "Support cross compiling from host to host (#12859)" (#13591)
      Fix #12676 (#13634)
      Improve #12920 fix (#13958)
      Fix #14057 - moveFile should overwrite on Windows (#14433)

hlaaftana (11):
      Sets need copying in JS (#11392)
      Remove name attribute from docutils.nimble (#13239)
      Fixes asyncftpclient multiline reading, fixes #4684 (#13242)
      Rename isNilOrWhitespace to isEmptyOrWhitespace and make it use allCharsInSet (#13258)
      Clearer final objects error; fixes #13256 (#13257)
      Consider proc as a pointer type in options (#13460)
      Remove genToArray in jsgen, a PHP remnant (#13466)
      Minor doc change in macros, future -> sugar (#13475) [ci skip]
      Document import/include outside of top level semantics (#13548)
      fix #13409: Document as infix operator (#13570)
      small docs fix in typetraits (#14108)

itsumura-h (2):
      fix db_mysql getRow() when column is null error raised (#12806) [backport]
      fix #7241 (#13779)

jiro (1):
      Add `or detectOs(Manjaro)` (#12587) [backport]

kraptor (1):
      Fix reference to parseSpec proc in readme (#12359)

lbartoletti (1):
      Add arm/arm64 for FreeBSD (#13822)

loloiccl (1):
      Modify the test command for nimly (nimble-package) (#13053)

narimiran (50):
      devel version is 1.0.99 [ci skip]
      Nim now has Patreon account [ci skip]
      [backport] fix #12278, don't expose internal PCRE documentation
      [backport] fix nimpretty removing space before pragma
      [backport] run nimpretty on async
      [backport] run nimpretty on numbers stuff
      [backport] run nimpretty on parsers
      [backport] run nimpretty on hashes
      [backport] run nimpretty on web stuff
      [backport] run nimpretty on string stuff
      [backport] run nimpretty on os-related stuff
      [backport] run nimpretty on the remaining files
      test more packages
      [ci skip] disable two packages until #11764 is merged
      Revert "[ci skip] disable two packages until #11764 is merged"
      [backport] package chronos now has dependencies
      disable flaky test on OSX
      add changelog for v1.0.2
      disable package 'chronos' for now
      NimPatch of devel version should be an odd number because of the earlier hacks
      remove unused imports
      remove unused imports from tests
      [backport] rewrite flaky runnable example
      [backport] print more information for the previous commit
      fix failing test
      remove long-deprecated 'mapIt'
      a better way to test Arraymancer
      Revert "ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data"
      move entries from the wrong changelog file [ci skip]
      [backport] system/io.nim fix wrong documentation comment [ci skip]
      [backport] fix #13352
      make devel green again: tnetdial still doesn't work on Travis
      [ci skip] important_packages: change the order in commented out packages too
      travis now only builds devel docs
      [ci skip] add back unintentionally removed line
      create a changelog for v1.2.0
      bump Nim version to 1.2.0
      bump Nim version to 1.2.1
      package 'inim' now has dependencies
      use the same Azure Pipelines workflow as current devel
      disable the new fragile test in 'tosproc.nim'
      install gtk3 on osx for package testing
      correctly backport #14496
      disable 'nimx' package, see PR #14293
      bump Nim version to 1.2.2
      bump NimVersion to 1.2.3
      update test command for 'norm' package
      bump NimVersion to 1.2.4
      bump NimVersion to 1.2.5
      bump NimVersion to 1.2.6

perter lee (1):
      fix the ftp store function read the local file bug (#13108) [backport]

pietroppeter (1):
      [doc/tut1] removed discard discussion in comments (#12352)

pyloor (1):
      adding sqlite3 backup functions (#13346)

rockcavera (1):
      fix #12988 (#13022)

slangmgh (3):
      Fixes #13186 (#13188)
      Fix #14151 (#14205) [backport]
      Fix #14289 (#14304) [backport]

solo989 (1):
      Update pegs.nim to work at compiletime. No range errors. (#13459)

supakeen (1):
      Add isNil check to custom Content-Length. (#13867) [backport:1.2]

tauplus (2):
      Fix wrong section hierarchy in the manual (#12724) [backport]
      fix typo in the manual (#12723)

treeform (6):
      Fix -d:logGC compile cerror: 'stdout not defined' (#12237)
      Easier build instructions for windows - just run `build_all.bat`. (#12276)
      About 50% faster base64 implemention. (#12436)
      Remove some unused/disabled OpenSSL functions (#13106)
      Expose more openSSL methods. (#13131)
      Add more JS stuff to dom.nim (#13483)

whiterock (1):
      added note to re constructor regarding performance (#13224)

zah (4):
      macros.newLit now works for ref object types (#12307)
      `system.writeFile` has been overloaded to also support `openarray[byte]` (#12313)
      Fix newLit for objects having string fields (#12542) [backport]
      Fix typeSym.getImpl for ref types (#13752)

Ștefan Talpalaru (4):
      generic stack trace overriding mechanism (#12922)
      c_fflush() the rawWrite() buffer (#12987)
      isolate the build process from external config files (#13411)
      fix #14364 (#14372) [backport:1.2]

めぐみ発動機 (isVowel / GreenWing) (1):
      fixed to jsonArrayEnd comment. (#13624)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant