Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/nim-lang/Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
https://github.com/nim-lang/Nim

adds C++ features to change log (#22906)

Co-authored-by: Andreas Rumpf <[email protected]>
Co-authored-by: Juan Carlos <juancarlospaco@gmai...

d70a9957e21a60b1756f8ea7c8cdaa9fb89fb2be authored about 1 year ago
fixes #22866; fixes #19998; ensure destruction for Object construction with custom destructors (#22901)

fixes #22866;
fixes #19998

b68e0aab4c9c7db5df996ba1a4eb91ce7c82b8c6 authored over 1 year ago
Fix `IndexDefect` errors in httpclient on invalid/weird headers (#22886)

Continuation of https://github.com/nim-lang/Nim/pull/19262

Fixes https://github.com/nim-lang/...

40e33dec45b98e1c5385f844e241011a8351d364 authored over 1 year ago
fixes #22883; replace `default(typeof(` with `reset`; suppress `Unsaf… (#22895)

fixes #22883

…eDefault` warnings

avoid issues mentioned by https://forum.nim-lang.org name...

92141e82ede93028be5781d6f4e906cefa3b03eb authored over 1 year ago
so close... (#22885)

801c02bf48b1612c8bf58ed113f944c9d6e32ead authored over 1 year ago
minor fixes for node20 (#22894)

2ae344f1c204f92a944afeb70fe6b1ca1c419f62 authored over 1 year ago
bump node to 20.x; since 16.x is End-of-Life (#22892)

f61311f7a0f1a4c2fab1eeaa747654d4281bc56b authored over 1 year ago
fixes nightlies; fixes incompatible types with csource_v2 (#22889)

ref
https://github.com/nim-lang/nightlies/actions/runs/6686795512/job/18166625042#logs

> /ho...

afa2f2ebf6bbceeae2846546afb78d316bca7d5f authored over 1 year ago
complete std prefixes for stdlib (#22887)

follow up https://github.com/nim-lang/Nim/pull/22851
follow up https://github.com/nim-lang/Nim/...

4d11d0619d11d8aecdaff998981efcd054de9760 authored over 1 year ago
NIR: progress (#22884)

403e0118ae8d099384e9bd6a046c2114538503b8 authored over 1 year ago
prepare for the enforcement of `std` prefix (#22873)

follow up https://github.com/nim-lang/Nim/pull/22851

e17237ce9dbf5410623e9d510217e7817bf4fd89 authored over 1 year ago
NIR: VM + refactorings (#22835)

0c26d19e228e831393cb5d2c1f43660362d349c9 authored over 1 year ago
Fix #22862 - change the httpclient user-agent to be valid spec-wise (#22882)

Per https://datatracker.ietf.org/doc/html/rfc9110#name-user-agent a
User-Agent is defined as fo...

94ffc183323c859fc5a395404ac6035ae29cbc5a authored over 1 year ago
build documentation for `htmlparser` (#22879)

I have added a note for installment
https://github.com/nim-lang/htmlparser/pull/5

> In order...

fbc801d1d15aa2c5f12a3f3bc1e35aad185dafb1 authored over 1 year ago
fixes #22868; fixes `std/nre` leaks under ARC/ORC (#22872)

fixes #22868

d66f3febd120a6e888250dd9fa80b1533591d68f authored over 1 year ago
deprecate htmlparser (#22870)

ref https://github.com/nim-lang/Nim/pull/22848
see also https://github.com/nim-lang/htmlparser
...

0e45b01b210bbf1bc535cc73fcb3fe649a343168 authored over 1 year ago
fixes #22867; fixes cstring modification example on Nim Manual (#22871)

fixes #22867

cef5e57eb59f0ef2633c298aa2c8a5b049b32d5c authored over 1 year ago
doc: fix typos (#22869)

doc: fix typos

7c3917d1dd3faa12fa1cc079d6fcf22f3da630c5 authored over 1 year ago
fixes #22856; enables `-d:nimStrictDelete` (#22858)

fixes #22856

`-d:nimStrictDelete` is introduced in 1.6.0, which promised to be
enabled in th...

3fd4e684331a22be84e940833faee111226945ea authored over 1 year ago
fixes `system.delete` that raises defects (#22857)

3095048d674b0cc17dfbf221f81e13a1dc1eb6c0 authored over 1 year ago
fix use after free (#22854)

1. `freeAddrInfo` is called prematurely, the variable `myAddr` is still
in use
2. Use defer sy...

562a5fb8f9df8985be2543e5581252e449d6ae09 authored over 1 year ago
C++: ptr fields now pulls the whole type if it's a member in nkDotExpr (#22855)

ca577dbab12cb7a9a73ca8d39ce03f568bade2bb authored over 1 year ago
Fix #22826: Don't skip generic instances in type comparison (#22828)

Close #22826

I am not sure why this code skips generic insts, so letting CI tell me.
Update:...

c13c48500b527cb483480702390b1f230ac896a4 authored over 1 year ago
explicitly import using `std/` in `tempfiles.nim` (#22851)

At least on modern Nim `tempfiles` is not usable if the user has
https://github.com/oprypin/nim...

2b1a671f1cbe4d3443537435ef0f0cddf928abbf authored over 1 year ago
fixes #22844; uses arrays to store holeyenums for iterations; much more efficient than sets and reasonable for holeyenums (#22845)

fixes #22844

e10878085eaf215a6782cde5c2ea79d4cdf0f40e authored over 1 year ago
fix #22834 (#22843)

fix #22834

Edit: also fixes `result.addrList` when IPv6, which previously only
performed a `...

27deacecaadd711cbb5a615abba3237925250616 authored over 1 year ago
Bisect default Linux (#22840)

- Bisect default to Linux only. Tiny diff, YAML only.

| OS | How to? |
|----|---------|
| L...

05a7c0fdd098b1971041f742ebf9e1871e4ad2b4 authored over 1 year ago
fixes #22836; Unnecessary warning on 'options.none' with 'strictDefs'… (#22837)

… enabled

fixes #22836

0d4b3ed18edff5ae098be842a986cb32de651fbf authored over 1 year ago
NIR: temporary ID generation bugfix (#22830)

3c48af7ebe9c8949ce3341bb62eacf0de43e4d11 authored over 1 year ago
the compiler can be compiled with vcc (#22832)

a9bc6779e1010572e1def98379cb3693e55b8a4f authored over 1 year ago
closes #16919; followup #16820, test tsugar on all backends (#22829)

closes #16919
followup #16820

078495c79324d3d4e1b14aedc6b4a4d241b007c0 authored over 1 year ago
NIR: store sizes, alignments and offsets in the type graph; beginning… (#22822)

…s of a patent-pending new VM

10c3ab626941d9c1ec69a2921696f4b7d0c2a6ac authored over 1 year ago
Update readme.md (#22827)

Added table view in Compiling section of documentation

5f400983d588ec91a688453ce69cec94d310cc70 authored over 1 year ago
fixes #19250; fixes #22259; ORC AssertionDefect not containsManagedMemory(n.typ) (#22823)

fixes #19250
fixes #22259

The strings, seqs, refs types all have this flag, why should closu...

f5d70e7fa7195658e3200f71a1653e07fe81275a authored over 1 year ago
fixes #22354; Wrong C++ codegen for default parameter values in ORC (#22819)

fixes #22354

It skips `nkHiddenAddr`. No need to hoist `var parameters` without side
effects...

61145b1d4bd60712dbaeaca19d01f3696546046c authored over 1 year ago
NIR: progress (#22817)

Done:

- [x] Implement conversions to openArray/varargs.
- [x] Implement index/range checking.

8990626ca9715a3687b28331aee4ccf242997aa2 authored over 1 year ago
update nimble (#22814)

Issues like https://github.com/nim-lang/nimble/issues/1149 keep popping
up. One way or another,...

d790112ea4600c847fed830171333fde308421a3 authored over 1 year ago
Import std/stackframes in ast2ir.nim (#22815)

Ref https://github.com/nim-lang/Nim/pull/22777#issuecomment-1758090410

Co-authored-by: SirOla...

68ba45cc04bedb5f39f7bff659065e137e86053d authored over 1 year ago
NIR: Nim intermediate representation (#22777)

Theoretical Benefits / Plans:

- Typed assembler-like language.
- Allows for a CPS transform...

816589b6674e3af281766f1279420758dcacedc4 authored over 1 year ago
fixes #22790; use cast suppress AnyEnumConv warnings for enums withou… (#22813)

…t holes

fixes #22790

ecaccafa6c18e0b92cd5f75d3363d61c0866dec9 authored over 1 year ago
use lent for the return value of index accesses of tables (#22812)

ref https://forum.nim-lang.org/t/10525

9d7acd001f268e2b9dab9228ca5e22bf75028704 authored over 1 year ago
suppress incorrect var T destructor warnings for newFinalizer in stdlib (#22810)

in `std/nre`
```nim
proc initRegex(pattern: string, flags: int, study = true): Regex =
new(...

14d25eedfd5ada29fcd3690919e40623563b98fa authored over 1 year ago
allows cast int to bool/enum in VM (#22809)

Since they are integer types, by mean of allowing cast integer to enums
in VM, we can suppress ...

2cf214d6d46d11024e6420520e39eed779da284e authored over 1 year ago
adds support for noDecl in constructor (#22811)

Notice the test wouldnt link before

bf72d87f249221ed6623321f3cca0de9b35e0e36 authored over 1 year ago
fixes #8893; guard against array access in renderer (#22807)

fixes #8893

81b2ae747e307f4ab171d3b62a0e6ea8b6a81d3d authored over 1 year ago
marking a field with noInit allows to skip constructor initialiser (#22802)

Co-authored-by: Andreas Rumpf <[email protected]>

8ac466980f7658c37b05c6ec099537ea0e459cb9 authored over 1 year ago
fixes nimsuggest false error on lifetime tracking hook fixes #22794 (#22805)

fixes #22794

Not sure if it's too much.

c3774c8821cc25187252491b4514235b9a8f1aac authored over 1 year ago
Add getCursorPos() to std/terminal (#22749)

This would be handy for making terminal apps which display content below
the prompt (e.g. `fzf`...

5bcea05cafb2a655ed1dd44544998eac5bed7c7f authored over 1 year ago
fixes #22787; marks `var section` in the loop as reassign preventing cursor (#22800)

fixes #22787

---------

Co-authored-by: Andreas Rumpf <[email protected]>

efa64aa49b11e93461626e84b9f67b6185f26e1f authored over 1 year ago
Fix typo/grammar in exception tracking section (#22801)

I came across this sentence in the Nim Manual and couldn't make sense of
it. I believe this is ...

f111009e5dadceeab2fb076c968f8e18a5e495f8 authored over 1 year ago
remove the O(n*n) `addUnique` one from std (#22799)

It's not used in the compiler, besides, it doesn't seem to be a common
operation. Follows the d...

476492583b5b40c184df015142afcd672b09330b authored over 1 year ago
fixes #22711; Check atomicArc for atomic destroy race condition (#22788)

fixes #22711

Per @elcritch's awesome solution

f2f0b3e25d976446e657cee7157591ce587624fd authored over 1 year ago
document `atomicInc` and `atomicDec` (#22789)

f4a623dadf1a5ba287dbb55893ab70d1d6638c3f authored over 1 year ago
arraymancer switches to the offical URL (#22782)

1a6ca0c6047ac1f1489f2b45e4966ddca1f40e46 authored over 1 year ago
nimsuggest: Clear generic inst cache before partial recompilation (#22783)

fixes #19371
fixes #21093
fixes #22119

db36765afd41fac8b30d0564f0f86e7315bd781d authored over 1 year ago
fixes #22778 regression: contentLength implementation type mismatched (#22780)

fixes #22778
follow up https://github.com/nim-lang/Nim/pull/19835

5d5c39e7452af71162c6d9b499dffe86d9c2d485 authored over 1 year ago
fixes #22753; Nimsuggest segfault with invalid assignment to table (#22781)

fixes #22753

## Future work
We should turn all the error nodes into nodes of a nkError kind,...

642ac0c1c31063ae966d8448c64c539203432e94 authored over 1 year ago
Fix IndexDefect in asyncfile.readLine (#22774)

`readLine` proc in asyncfile module caused IndexDefect when it reached
EoF. Now it returns empt...

49df69334e8c81354d604bbde05665d6c5450ddb authored over 1 year ago
copyFile with POSIX_FADV_SEQUENTIAL (#22776)

- Continuation of https://github.com/nim-lang/Nim/pull/22769
- See
https://pubs.opengroup.org/...

b60f15e0dcfd514521bfc2e33c6f2728f565bc9d authored over 1 year ago
docs: add another switch example for nimscript (#22772)

I couldn't find any documentation on the syntax for --hint:X:on|off with
`nimscript` except in ...

c3b95cbd2c944512585b843df7f0920894cf16ae authored over 1 year ago
Make `typeRel` behave to spec (#22261)

The goal of this PR is to make `typeRel` accurate to it's definition for
generics:
```
# 3) W...

b2ca6bedae6420396682cbf06b3c628cfcf9baf1 authored over 1 year ago
fixes #22554; makes `newSeqWith` use `newSeqUninit` (#22771)

fixes #22554

714630782371565e3982a3e70e288c7d1e2dd88b authored over 1 year ago
copyFile with bufferSize instead of hardcoded value (#22769)

- `copyFile` allows to specify `bufferSize` instead of hardcoded wrong
value. Tiny diff.

#...

a38e3dcb1f0c47b89f07b343a259c4b10a333ac9 authored over 1 year ago
fixes #22696; func `strutils.join` for non-strings uses proc `$` which can have side effects (#22770)

fixes #22696
partially revert https://github.com/nim-lang/Nim/pull/16281

`join` calls `$` in...

5eeafbf55029816e5022d9d6aa9ed3b0acf2d3ba authored over 1 year ago
case macro now can be used inside generic. Fixes #20435 (#22752)

fixes #20435

---------

Co-authored-by: ringabout <[email protected]....

0c179db6579ee5ae853603bf8d8efe23785cb7ab authored over 1 year ago
deprecates `newSeqUninitialized` replaced by `newSeqUninit` (#22739)

ref #19727
closes #22586

https://github.com/nim-lang/Nim/issues/22554 needs it to move on.
...

a8d55fdec7e6e534546f9d6c116d9a76393c534b authored over 1 year ago
fixes #22763; nimcache in nim.cfg uses the relative path to the config file (#22764)

fixes #22763

8761599aade64f5953ef7d3c4cea005a0c459355 authored over 1 year ago
C++ Adds support for default arg using object construction syntax. Fixes a compiler crash (#22768)

`Foo()` below makes the compiler crash.
```nim

proc makeBoo(a:cint = 10, b:cstring = "hello...

4fffa0960f6c17e9e1e6a20665c97ac34ea678bb authored over 1 year ago
ref #19727; implement `setLenUninit` for seqsv2 (#22767)

ref #19727

285cbcb6aa36147e9b9c024ceed78e46526dd1ea authored over 1 year ago
Removed `localStorage.hasKey` binding (#22766)

Doesn't exists anymore.

Use `window.localStorage.getItem("key").isNil` instead

![Screensho...

4bf0f846df3bdeeeeff288f1d28688ee4852bc71 authored over 1 year ago
Fix #21407 (#22759)

- Fix #21407

---------

Co-authored-by: Amjad Ben Hedhili <[email protected]>

f0865fa6960cbff301318f4ef8d603052519b24d authored over 1 year ago
Documentation only (#22760)

- Documentation only.
- Sometimes newbies try to use Valgrind with RefC etc.

a9e6660a74322f0385f22c89e60c46e3177c2513 authored over 1 year ago
iNim switch to the official URL (#22762)

ref https://github.com/inim-repl/INim/pull/139

02ba28eda5ea9b7cb6545f08e0620875f0100bf3 authored over 1 year ago
Documentation only (#22761)

- Mention Bisect bot in Bisect documentation.

21218d743fad5c0c7f0ef6a6a189178e4b1effed authored over 1 year ago
fixes #10542; suppresses varargs conversion warnings (#22757)

fixes #10542
revives and close #20169

a7a0cfe8eb5942d799b4b7e2fdf26bcb9ff8ffab authored over 1 year ago
Add test case for #15351 (#22754)

Closes #15351

Stumbled across the issue and found it now works

435f9320889f21269a26a17f724b73c4a46f9f23 authored over 1 year ago
fixes stint CI (#22756)

46544f234df3c473e6cd798eca4754c84be96abc authored over 1 year ago
fixes #22706; turn "unknown hint" into a hint (#22755)

fixes #22706

3979e83fcbf5e7bda9a1bad55fa9d594f36158de authored over 1 year ago
Make `newStringUninit` available in the VM [backport] (#22748)

It's equivalent to `newString`.

f0bf94e5311e851cba4370c2310c0be66e535a27 authored over 1 year ago
Update Bisect (#22750)

- Support multiple OS Bisects (Linux, Windows, MacOS).
- Install Valgrind only if needed to spe...

584010196856e4c357996696e932ba0ffbc61f84 authored over 1 year ago
Add magic toOpenArrayChar (#22751)

Should help with stuff like the checksums package which only takes
`openArray[char]`

Co-auth...

1b0447c208a8ec03c1abf5c511b3949a882a8996 authored over 1 year ago
Fix `newStringUninit` not setting the '\0' terminator [backport] (#22746)

Causes problems when working with `cstring`s.

a6c281bd1d6e47fb8d137008e6ba944b8b2eb9a3 authored over 1 year ago
Initialize `newString` in js [backport:1.6] (#22745)

```nim
echo newString(8)
```

results in:
```
D:\User\test.js:25
var co...

eadd0d72cffd0d8470f42b873abda251e2e5eded authored over 1 year ago
Make `newStringUninit` available on the js backend [backport] (#22743)

b10a809274494d46db2b6bf6930c8c50a2751c9b authored over 1 year ago
fixes #22519; DocGen does not work for std/times on JS backend (#22738)

fixes #22519

c0838826c0071e9bf9a456a82b237b63f21f2b12 authored over 1 year ago
fixes #22246; generate __builtin_unreachable hints for case defaults (#22737)

fixes #22246
resurrects #22350

a1b6fa9420db09f2660ad5919d2b96673f324f8f authored over 1 year ago
moves `addUnique` to `std/sequtils` (#22734)

Co-authored-by: Andreas Rumpf <[email protected]>

c75cbdde7034f10979b61687733f253261ecffec authored over 1 year ago
Documentation only (#22735)

- Add Atomic ARC to Documentation. Documentation only, tiny diff.

b2896170130f1f998f7a1d51288fe66cbe345903 authored over 1 year ago
fixes #22687; js backend - std/bitops/bitsliced throws compile error … (#22722)

…in typeMasked

fixes #22687

ed30692d29745701c1219cb618ffcd0e50906fe3 authored over 1 year ago
items, pairs and friends now use `unCheckedInc` (#22729)

`{.push overflowChecks: off.}` works in backends. Though it could be
implemented as a magic fun...

d82bc0a29fea53a172260a3b3301b90a96974274 authored over 1 year ago
removes references to `this` in the `constructor` section (#22730)

af617be67a4e038354617b272d373a6fbe583644 authored over 1 year ago
fixes compiler crash by preventing exportc on generics (#22731)

Co-authored-by: Andreas Rumpf <[email protected]>

fefde3a735c3bc931a4d3289e43f3b95f65e1256 authored over 1 year ago
`constructor` now uses `result` instead of `this` (#22724)

5568ba0d9f39469891b5e4625ad39ebcfa5e1ee3 authored over 1 year ago
second test case haul for templates and generics (#22728)

closes #8390, closes #11726, closes #8446, closes #21221, closes #7461,
closes #7995

81756d1810c7c00e0bb706bb79f5437120ae4c0e authored over 1 year ago
make parseEnum skip type aliases for enum type sym (#22727)

fixes #22726

51cb493b221e704efce126049f9f320eb1cb1a36 authored over 1 year ago
Fix `capacity` for const and shallow [backport] (#22705)

b542be1e7de067573370a3159b0812396309ef8b authored over 1 year ago
fixes #22692; ships `ci/funs.sh` (#22721)

fixes #22692

2c5b94bbfd8a050ce08072222511cbb9eb20f771 authored over 1 year ago
Add descriptions and examples for `rawProc` and `rawEnv` (#22710)

Add descriptions for `rawProc` and `rawEnv`. See
<https://forum.nim-lang.org/t/10485> for more ...

dba9000609ef55dfbcf7391edd2d1375f8ea3a1e authored over 1 year ago
Update osfiles.nim, make `moveFile` consider permission on *nix (#22719)

see https://github.com/nim-lang/Nim/issues/22674

741285b335343ad61afc2d48778c52cd097d1249 authored over 1 year ago
fixes incorrect cint overflow in system (#22718)

fixes #22700

63c2ea5566cc7a0983cc748a3d4855d24beeebda authored over 1 year ago