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

improve error messages [backport] (#23345)

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

![image](https://github.com/nim-lang/Nim/assets/4303...

1e7ca2dc789eafccdb44304f7e42206c3702fc13 authored 11 months ago
Revert "disable measuremancer" (#23353)

Reverts nim-lang/Nim#23352

ref
https://github.com/SciNim/Measuremancer/commit/e2e994b21c162d...

fa91823e37dd8058a896f1936a176ee58f921516 authored 11 months ago
fixes #23306 nim cpp -r invalid code generation regression with closure iterators and try/catch-like constructions (#23317)

93a8b85a9159fb050e150df9246858109cd92644 authored 11 months ago
disable measuremancer (#23352)

ref https://github.com/SciNim/Measuremancer/issues/17

14cdcc091f99f1c35b5cf0f7cd676e1829567b57 authored 11 months ago
* fixed nimsuggest crash with 'Something = concept' put (erroneously) outside of a 'type' block (#23331)

37ed8c84801a850b91b86f777ae2a4a2e022cd47 authored 11 months ago
fixes #22723; skips tyUserTypeClasses in injectdestructors (#23341)

fixes #22723

6ce6cd4bb8e59c9f5a2c4588d2d34b9306e03d63 authored 11 months ago
compiler/ast.nim: fix a typo (#23340)

constains -> constrains

---------

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

248bdb276ac946ed8faa8fa4c1cbc32c2aff103b authored 11 months ago
Fixes #23337; When NimScript errors prevents NimSuggest from Init (#23338)

09580eeec9960d19ad492058577332c4163bf329 authored 12 months ago
ORC: added -d:nimOrcStats switch and related API (#23272)

59c65009a57ba7f9677590c5066496bb85864ab8 authored 12 months ago
* fixed nimsuggest crash when opening a .nim file, that contain a {.fatal: "msg".} pragma. (#23325)

773c066634d831a968bb464eab35b25a00026525 authored 12 months ago
`varargs[typed]` should behave more like `typed` (#23303)

This fixes an oversight with a change that I made a while ago.

Basically, these two snippets ...

ca77423ffc09e92ca17e430bf79c10ae3c1adb63 authored 12 months ago
Fixes a nimsuggest crash when using chronos (#23293)

The following would crash nimsuggest on init:
```nim
import chronos
type
HistoryQuery = ob...

7bf8cd3f8654c152b87052e28c515e525b43b38c authored 12 months ago
fixes #23295; don't expand constants for complex structures (#23297)

fixes #23295

39f2df19723d98eaa006cfd0ef13ec93d9f8c1c5 authored 12 months ago
Remove count field from Deque (#23318)

This PR removes `count` field from `Deque` and get `count` from `tail -
head`.

d6f0f1aca75b97186baf2d785e30cc426482870d authored 12 months ago
fixes #23304; uses `snprintf` instead of `sprintf` (#23322)

fixes #23304

dfd778d0562b07653d1853de9f6d85f7c1688146 authored 12 months ago
assume a module's usage if it contains a passC/passL/compile pragma w… (#23323)

…hich conveys effects beyond its module scope for C/C++
codegen(suppresses current UnusedImport...

9a4623033547ffa0d6746c91b9817b8353ed8361 authored 12 months ago
fixes nimsuggest sug doesnt return anything on first pass #23283 (#23288)

fixes #23283

92c8c6d5f4e5a96b71bf4eca5f6a136410f97d6e authored 12 months ago
fixes refc with non-var destructor; cancel warnings (#23156)

fixes https://forum.nim-lang.org/t/10807

35ec9c31bd0bd413f1740feea90f3b97ad5d1b65 authored 12 months ago
fixes #18104; tranform one liner var decl before templates expansion (#23294)

fixes #18104

1e9a3c438bed693bc95d5b1a9501e1386163e1cc authored 12 months ago
fixes a nimsuggest crash on init (#23300)

a8c168c1688f64e8bd3acba9afee9d02bb03c649 authored 12 months ago
Remove mask field from Deque (#23299)

It seems Deque doesn't need `mask` field because `data.len - 1` equals
to `mask`.
Deque withou...

ce68e11641418725a01710bd91b27c7d17c42f64 authored 12 months ago
nimsuggest --ic:on compiles (#23298)

ae2cdcebc2d7fbf6e7eac26181baf9a88aa64cf5 authored 12 months ago
MangleProcs following the Itanium spec so they are demangled in the debugger call stack (#23260)

![image](https://github.com/nim-lang/Nim/assets/1496571/0d796c5b-0bbf-4bb4-8c95-c3e3cce22f15)

...

a45f43da3407dbbf8ecd15ce8ecb361af677add7 authored 12 months ago
Add items and contains to heapqueue (#23296)

The implementation of these functions are trivial yet they were missing
from the module.

c234a2a661eb098fc5c6e0ccc4bda1da162373b0 authored 12 months ago
fixes #23275; Add `==` for Deque (#23276)

befb383ac8f033be94ca83845b1a26e9feeb3306 authored 12 months ago
fixes regression #23280; Operations on inline toOpenArray len return a wrong result (#23285)

fixes #23280

4b67cccf5097cc5d2a592bf78ae2746cc3ee8959 authored 12 months ago
closes #14710; adds a test case (#23277)

closes #14710

3550c907decd206d74c8b5fc3008a8b731491bbe authored 12 months ago
[fix] nimsuggest `con` sometimes doesnt return anything on first pass fixes #23281 (#23282)

fixes #23281

6c2fca1a8b054601d7af1b93ba5e3c9ed18637ee authored 12 months ago
follow up #22380; fixes incorrect usages of `newWideCString` (#23278)

follow up #22380

a1d820367f677d06c2c9f93d1c2f88105e7d7b36 authored 12 months ago
Docs-improve: os.getCurrentCompilerExe replace with clearer short-desc (#23270)

The doc for `getCurrentCompilerExe` was originally added at [this
commit](https://github.com/ni...

dd753b33830ab084686f9cf9c7d573702f175bb5 authored almost 1 year ago
fixes regression #22909; don't optimize result init if statements can raise which corrupts the compiler (#23271)

fixes #22909
required by https://github.com/nim-lang/Nim/pull/23267

```nim
proc foo: string...

7d9721007c8c82804450bd32bbf3bbaf806a52f2 authored about 1 year ago
compute checksum of nim files early in the pipelines (#23268)

related https://github.com/nim-lang/Nim/issues/21717 configs will be
resolved later

519d976f6241023b05b06188e6d96245d0a6a2fe authored about 1 year ago
minor fixes for std prefix in the compiler (#23269)

98b083d750b1660c6ed1714485d4c8d5f8b29b34 authored about 1 year ago
Additional speed ups of complex.pow (#23264)

This PR speeds up complex.pow when both base and exponent are real; when
only the exponent is r...

857b35c602309e8eb41007bf7fafc5245fa20dfe authored about 1 year ago
Update cmdline.nim, fix broken (dragged) doc-reference for getAppFile… (#23262)

In doc, there are 4 references for `getAppFilename`

`getAppFilename` is still in `os`, but th...

abcf45e17406b3e4962a083d423f7f32325cac5f authored about 1 year ago
clean up goto exceptions; remove the setjmp.h dep (#23259)

e3350cbe6f8549fbc658bd1a99f98abe174d6c2c authored about 1 year ago
fixes #19977; rework inlining of 'var openarray' iterators for C++ (#23258)

fixes #19977

f7c6e04cfbc44c225c123d724745840585561ac5 authored about 1 year ago
fixes #23247; don't destroy openarray since it doesn't own the data (#23254)

fixes #23247
closes #23251 (which accounts for why the openarray type is lifted
because ops ar...

24a606902a4e99ac3d7f58b89db3b023061bc8b0 authored about 1 year ago
Fixes #23085: update grammars for 'concept' (#23256)

Fixes #23085

243f1e6cd5e147fdd96b5298e4df44546e5eea28 authored about 1 year ago
fixes #22597; avoid side effects for call returning openArray types (#23257)

fixes #22597

```nim
proc autoToOpenArray*[T](s: Slice[T]): openArray[T] =
echo "here twic...

d44b0b186943b3187e6dbc8bc5d304f402d978dc authored about 1 year ago
fixes broken doc links (#23255)

https://nim-lang.github.io/Nim/testament.html#writing-unit-tests

https://nim-lang.github.io/...

0b363442e5ffc715347b2d258cd5d98fcd653b5f authored about 1 year ago
Fix system.currentSourcePath() documentation [backport 2.0] (#23243)

The documentation links for `parentDir()` and `getCurrentDir()` are
broken as they are no longe...

9c155eacccbf437f907230621aee7e9f16f28930 authored about 1 year ago
Show error when trying to run in folder that doesn't exist instead of assertion (#23242)

Closes #23240

Fixes regression caused by #23017

06b9e603bcfe09266c858439c2c530a1c224888f authored about 1 year ago
account for nil return type in tyProc sumGeneric (#23250)

fixes #23249

ee984f8836740cb64d88c622ff652e396751edee authored about 1 year ago
closes #15176; adds a test case (#23248)

closes #15176

be0b8472130112ad570a6720a0e3a34e67936619 authored about 1 year ago
remove unreachable code (#23244)

d3f5056bde7397e40a20f8acc4041b32fb950bcc authored about 1 year ago
fixes a broken link in `std/algorithm` (#23246)

https://nim-lang.github.io/Nim/manual.html#procedures-do-notation

301822e18938ad2dc543f2b7dc0a0f5e2d0870a2 authored about 1 year ago
Speed up complex.pow when the exponent is 2.0 or 0.5 (#23237)

This PR speeds up the calculation of the power of a complex number when
the exponent is 2.0 or ...

83f2708909e0c59b84f61c2721907ff896285dce authored about 1 year ago
fixes #23233; Regression when using generic type with Table/OrderedTable (#23235)

fixes #23233

720021908db1f6622c1ebcdad60dff5c2740a80b authored about 1 year ago
Make `data-theme` default to "auto" in HTML (#23222)

Makes docs default to using browser settings instead of light mode

This should fix #16515 sin...

1855f67503e6c541f3d8c38c3ec28c0fbb02be1a authored about 1 year ago
Fixing overload resolution documentation (#23171)

As requested. Let me know where adjustments are wanted.

af8b1d0cb9bfa2f3b91b95219f850d075fc745f1 authored about 1 year ago
fix mime types data (#23226)

generated via https://github.com/bung87/mimetypes_gen

source data:
http://svn.apache.org/vie...

01097fc1fc70d5c7ce38108d7773e5533fb3743b authored about 1 year ago
Make std/math classify work without `--passc:-fast-math`. (#23211)

By using the existing isNaN function we can make std/math's classify
function work even if `--p...

38f9ee0e5850ac9987fe612edcf48cddd1835091 authored about 1 year ago
fixes #22218; avoids cursor when copy is disabled (#23209)

fixes #22218

b2f79df81cc1fb2cfd4566ffa868043e286eba5c authored about 1 year ago
fixes #12334; keeps `nkHiddenStdConv` for cstring conversions (#23216)

fixes #12334

`nkHiddenStdConv` shouldn't be removed if the sources aren't literals,
viz. con...

3fb46fac32b8a1fcf36ac52d09983297251d1213 authored about 1 year ago
Nim Compiler User Guide: Add explanations about lto and strip (#23227)

527d1e197731803c4c03b15b6ac0ba2d461eb7f3 authored about 1 year ago
fix wrong subtype relation in tuples & infer some conversions (#23228)

fixes #18125

Previously a tuple type like `(T, int)` would match an expected tuple
type `(U,...

cfd69bad1a1071345cfcd145a7e7f906304f265f authored about 1 year ago
error on large integer types as array index range (#23229)

fixes #17163, refs #23204

Types that aren't `tyRange` and are bigger than 16 bits, so `int32`...

3ab8b6b2cf4488c114284aa5ad5b7af0d4055312 authored about 1 year ago
workaround arrayWith issues (#23230)

I'm working on it, but it's quite tricky. I will fix it soon

8a38880ef7962fe4a3155449eb161eeffda0cda5 authored about 1 year ago
fix(#23231): add nimdoc.cls to installer script (#23232)

Change to `compiler/installer.ini` to add `nimdoc.cls` to files copied
by installer script.

...

fe98032d3d25490bb731dde20e7111c071ca1caa authored about 1 year ago
give typedesc param nodes type T not typedesc[T] [backport:2.0] (#23115)

fixes https://github.com/nim-lang/Nim/issues/23112, fixes a mistake in
https://github.com/nim-l...

322433755058eae481f4e92b2070e886f097bd9f authored about 1 year ago
Fix reset code gen for range types (#22462, #23214) (#23215)

This PR modifies `specializeResetT` so that it generates the proper
reset code for range types....

473f259268d03f87874c674c08c74cf32da11d4a authored about 1 year ago
Add `^` operator support for Rational numbers (#23219)

Since pow() cannot be supported for rationals, we support negative
integer exponents instead.

2425f4559cc5e8a96cf0dccea72817a782918de0 authored about 1 year ago
fixes #23223; prevents `insert` self-assignment (#23225)

fixes #23223

3379d26629f30e6be8d303a36e220d1039eb4551 authored about 1 year ago
don't use previous bindings of `auto` for routine return types (#23207)

fixes #23200, fixes #18866

#21065 made it so `auto` proc return types remained as `tyAnything...

f46f26e79aada7195f4d83d8601f0d856520763d authored about 1 year ago
+ show the inferred exception list (as part of the type) for functions that don't have an explicit `.raises` pragma (#23193)

18b5fb256d4647efa6a64df451d37129d36e96f3 authored about 1 year ago
remove unnecessary workaround from `arrayWith` (#23208)

The problem was fixed by https://github.com/nim-lang/Nim/pull/23195

bd72c4c7298ce7f5834935aec4513ac35381490c authored about 1 year ago
fixes #23180; fixes #19805; prohibits invalid tuple unpacking code in for loop (#23185)

fixes #23180
fixes #19805

ab4278d2179639f19967431a7aa1be858046f7a7 authored about 1 year ago
fixes #15924; Tuple destructuring is broken with closure iterators (#23205)

fixes #15924

8484abc2e498bd9738097c06362d442c615a8264 authored about 1 year ago
fix link to `jsfetch` stdlib (#23203)

ade5295fd56f632fc6fbdcfef42b1bb827574be6 authored about 1 year ago
patches for #23129 (#23198)

fixes it in the normal situation

30cb6826c01d880b852b56e0d0d69e79a2105115 authored about 1 year ago
document the new ambiguous identifier resolution (#23166)

refs #23123

Not sure if detailed enough.

6650b417779d61a895da23d24ab32ee1388216c2 authored about 1 year ago
fixes #22923; fixes `=dup` issues (#23182)

fixes #22923

29ac3c9986de5731a32beaf015e81a18dd6bd498 authored about 1 year ago
fixes #23129; fixes generated hooks raise unlisted Exception, which never raise (#23195)

fixes #23129

62c5b8b2873caac3e56d15738f503e953840e6ca authored about 1 year ago
delay resolved procvar check for proc params + acknowledge unresolved statics (#23188)

fixes #23186

As explained in #23186, generics can transform `genericProc[int]` into a
call `...

e8092a54704be254cd7ccb4f5ecfca7cb059fe5c authored about 1 year ago
Nim manual: better byref pragma explanation (#23192)

Nim manual says:
> When using the Cpp backend, params marked as byref will translate to
cpp re...

e20a2b1f2bd2a55f16ed5d66f37bbb562c27f7cd authored about 1 year ago
Docs:strutils. Expand `multiReplace` docs, add runnableExamples (#23181)

- Clarified the implications of order of operation.
- Mentioned overlapping isn't handled
- Ad...

8d1c722d2d380ac998495ea508527f9f1c998233 authored about 1 year ago
trigger range check with new type inference on nkIntLit [backport:1.6] (#23179)

fixes #23177

`changeType` doesn't perform range checks to see if the expression fits
the new...

00be8f287a41be42b3763f71beecd959dd6b7aa2 authored about 1 year ago
don't transform typed bracket exprs to `[]` calls in templates (#23175)

fixes #22775

It's pre-existing that [`prepareOperand` doesn't typecheck expressions
which ha...

62d8ca43063197272968b4acf8c7a1ef27874c54 authored about 1 year ago
Fixes #23172 (#23173)

#23172

a4f3bf374238df96f0982b7106e3702da6b485b1 authored about 1 year ago
fixes #23139; Cannot get repr of range type of enum (#23164)

fixes #23139

3dee1a3e4c81448b67b75068fef06a121f320758 authored about 1 year ago
Changing generic weight of `tyGenericParam` (#22143)

This is in reference to a [feature
request](https://github.com/nim-lang/Nim/issues/22142) that ...

74fa8ed59a15caa2ee91f9e559b37728618c3865 authored about 1 year ago
fixes #23167; take `nkOpenSymChoice` into consideration caused by templates [backport] (#23168)

fixes #23167

4eaa3b028cd8963799a637c8a4f7f553386fe395 authored about 1 year ago
Recommend hanging indent in NEP1 (#23105)

This PR modernises the NEP1 style guide to prefer hanging indent over
vertial alignment for lon...

c4f98b7696ce74c9952c973b0f09e59234f84917 authored about 1 year ago
Deprecate asm stmt for js target (#23149)

why ?

- We already have an emit that does the same thing
- The name asm itself is a bit conf...

20d79c9fb0cd2e72473f5fb08134cf72d0fdd9e7 authored about 1 year ago
fixes #23148; restricts infix path concatenation to what starts with `/` (#23150)

fixes #23148

c7d742e484e06cdc8d87443a76ec03f1f1724bee authored about 1 year ago
ambiguous identifier resolution (#23123)

fixes #23002, fixes #22841, refs comments in #23097

When an identifier is ambiguous in scope ...

b280100499fafe43657c860e3c79d9347be5b4b6 authored about 1 year ago
`typRel` and `sumGeneric` adjustments (#23137)

Filling in some more logic in `typeRel` that I came across when poking
the compiler in another ...

ccc7c45d718c13714e8e9e1040c29b9b286d2448 authored about 1 year ago
fixes wrong indentation (#23145)

4 spaces => 2 spaces

9659da903fcb28b96bc06cd9b18bd8f99a8d9aad authored about 1 year ago
Update copyright year 2024 (#23144)

9483b11267bfede119f7d3e5aa3b7f86d5a15af3 authored about 1 year ago
Fix typo in pegs.nim (#23143)

wether -> whether

b92163180d94d31e2027f57de6656dca1b42cbd3 authored about 1 year ago
Adds info:capabilities to NimSuggest (#23134)

fd253a08b1a58816d3224d3b91603c37232897b5 authored about 1 year ago
fixes a typo in the test (#23140)

d8a5cf422722698cb3c871653a02ca4bd995fd79 authored about 1 year ago
Fix cmpRunesIgnoreCase on system where sizeof(int) < 4. Fixes #23125. (#23138)

Fixes an issue where importing the `strutils` module, or any other
importing the `strutils` mod...

15c7b76c66cddfbf7465200476d7175e059d3102 authored about 1 year ago
Asm syntax pragma (#23119)

(Inspired by this pragma in nir asm PR)

`inlineAsmSyntax` pragma allowing specify target inli...

1324d2e04cb11aaa96e9ba9efc69aee47ed6c1d8 authored about 1 year ago
CI entry may be reset to default (#23127)

6f3d3fdf9f4a718a7365ab98455903a7b18dade8 authored about 1 year ago
make `-d:debugHeapLinks` compile again (#23126)

I have made `realloc` absorb unused adjacent memory, which improves the
performance. I'm invest...

53855a9fa387f07dbf42c82879d00fbc15b59c10 authored about 1 year ago
fix spurious indent and newlines in rendering of nkRecList (#23121)

Rendering of `nkRecList` produces an indent and adds a new line at the
end. However for things ...

fc49c6e3ba5081593e4d9af7e04bfb84e97a39f5 authored about 1 year ago
Add `toSinglyLinkedRing` and `toDoublyLinkedRing` to `std/lists` (#22952)

Allow for conversion from `openArray`s, similar to `toSinglyLinkedList`
and `toDoublyLinkedList`.

6fee2240cd327fbe65548eaed9ca21355a1a24b5 authored about 1 year ago
retain postfix node in type section typed AST, with docgen fix (#23101)

Continued from #23096 which was reverted due to breaking a package and
failing docgen tests. Do...

c0acf3ce286f92d41e6b280ba9a1b729019bae12 authored about 1 year ago