<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Nim/config, branch devel</title>
<subtitle>This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)
</subtitle>
<id>https://git.tilde.institute/ahoang/Nim/atom?h=devel</id>
<link rel='self' href='https://git.tilde.institute/ahoang/Nim/atom?h=devel'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/'/>
<updated>2024-09-04T13:09:29Z</updated>
<entry>
<title>remove unused nimStdlibVersion (#24060)</title>
<updated>2024-09-04T13:09:29Z</updated>
<author>
<name>ringabout</name>
<email>43030857+ringabout@users.noreply.github.com</email>
</author>
<published>2024-09-04T13:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=99f4cfa43850f4927aee329af6a461a22f483de2'/>
<id>urn:sha1:99f4cfa43850f4927aee329af6a461a22f483de2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prevent font flashing in the docs (#23622)</title>
<updated>2024-05-27T09:00:25Z</updated>
<author>
<name>Nils Lindemann</name>
<email>nilslindemann@tutanota.com</email>
</author>
<published>2024-05-27T09:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=ce85b819ff63b5e9ca57dfe7d4d520851921802e'/>
<id>urn:sha1:ce85b819ff63b5e9ca57dfe7d4d520851921802e</id>
<content type='text'>
... by moving the Google font includes near the top of the head. By
including them as early as possible, they are known, when the browser
starts rendering the body.

Test it by making the change manually in `doc/html/system.html` and then
press ctrl+f5 (reload without cache). This removes the font flashing.

Tested in Chrome and Firefox.</content>
</entry>
<entry>
<title>Make `data-theme` default to "auto" in HTML (#23222)</title>
<updated>2024-01-19T13:04:30Z</updated>
<author>
<name>Jake Leahy</name>
<email>jake@leahy.dev</email>
</author>
<published>2024-01-19T13:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=1855f67503e6c541f3d8c38c3ec28c0fbb02be1a'/>
<id>urn:sha1:1855f67503e6c541f3d8c38c3ec28c0fbb02be1a</id>
<content type='text'>
Makes docs default to using browser settings instead of light mode

This should fix #16515 since it doesn't require the browser to run the
JS to set the default

Also means that dark mode can be used without JS if the browser is
configured to default to dark mode</content>
</entry>
<entry>
<title>rework the vtable implementation embedding the vtable array directly with new strictions on methods (#22991)</title>
<updated>2023-11-28T14:11:43Z</updated>
<author>
<name>ringabout</name>
<email>43030857+ringabout@users.noreply.github.com</email>
</author>
<published>2023-11-28T14:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=30cf33f04dfb768182accb3ad35ec6364c998664'/>
<id>urn:sha1:30cf33f04dfb768182accb3ad35ec6364c998664</id>
<content type='text'>
**TODO**
- [x] fixes changelog
With the new option `nimPreviewVtables`, `methods` are confined in the
same module where the type of the first parameter is defined

- [x] make it opt in after CI checks its feasibility

## In the following-up PRs

- [ ] in the following PRs, refactor code into a more efficient one

- [ ] cpp needs special treatments since it cannot embed array in light
of the preceding limits: ref
https://github.com/nim-lang/Nim/pull/20977#discussion_r1035528927; we
can support cpp backends with vtable implementations later on the
comprise that uses indirect vtable access

---------

Co-authored-by: Andreas Rumpf &lt;rumpf_a@web.de&gt;</content>
</entry>
<entry>
<title>make expressions opt in to symchoices (#22716)</title>
<updated>2023-09-18T04:39:22Z</updated>
<author>
<name>metagn</name>
<email>metagngn@gmail.com</email>
</author>
<published>2023-09-18T04:39:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=5f9038a5d76847ebb922dc34c3333879e8160426'/>
<id>urn:sha1:5f9038a5d76847ebb922dc34c3333879e8160426</id>
<content type='text'>
refs #22605

Sym choice nodes are now only allowed to pass through semchecking if
contexts ask for them to (with `efAllowSymChoice`). Otherwise they are
resolved or treated as ambiguous. The contexts that can receive
symchoices in this PR are:

* Call operands and addresses and emulations of such, which will subject
them to overload resolution which will resolve them or fail.
* Type conversion operands only for routine symchoices for type
disambiguation syntax (like `(proc (x: int): int)(foo)`), which will
resolve them or fail.
* Proc parameter default values both at the declaration and during
generic instantiation, which undergo type narrowing and so will resolve
them or fail.

This means unless these contexts mess up sym choice nodes should never
leave the semchecking stage. This serves as a blueprint for future
improvements to intermediate symbol resolution.

Some tangential changes are also in this PR:

1. The `AmbiguousEnum` hint is removed, it was always disabled by
default and since #22606 it only started getting emitted after the
symchoice was soundly resolved.
2. Proc setter syntax (`a.b = c` becoming `` `b=`(a, c) ``) used to
fully type check the RHS before passing the transformed call node to
proc overloading. Now it just passes the original node directly so proc
overloading can deal with its typechecking.</content>
</entry>
<entry>
<title>fix #22492 (#22511)</title>
<updated>2023-08-22T16:31:21Z</updated>
<author>
<name>Hamid Bluri</name>
<email>hr.bolouri@gmail.com</email>
</author>
<published>2023-08-22T16:31:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=a26ccb34768fdaceff2cf4d27aee4c830fd47303'/>
<id>urn:sha1:a26ccb34768fdaceff2cf4d27aee4c830fd47303</id>
<content type='text'>
* fix #22492

* Update nimdoc.css

remove scroll-y

* Update nimdoc.out.css

* Update nimdoc.css

* make it sticky again

* Update nimdoc.out.css

* danm sticky, use fixed

* Update nimdoc.out.css

* fix margin

* Update nimdoc.out.css

* make search input react to any change (not just keyboard events) according to https://github.com/nim-lang/Nim/pull/22511#issuecomment-1685218787</content>
</entry>
<entry>
<title>fixes LineTooLong hints on old compilers (#22412)</title>
<updated>2023-08-08T09:53:21Z</updated>
<author>
<name>ringabout</name>
<email>43030857+ringabout@users.noreply.github.com</email>
</author>
<published>2023-08-08T09:53:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=bf5d173bc65aea071e5ffdf593f6b8797b56816d'/>
<id>urn:sha1:bf5d173bc65aea071e5ffdf593f6b8797b56816d</id>
<content type='text'>
* fixes LineTooLong hints on old compilers

* fixes config/nim.cfg</content>
</entry>
<entry>
<title>fix server caching issue causing Theme failures (#22378)</title>
<updated>2023-08-05T18:50:47Z</updated>
<author>
<name>Daniel Belmes</name>
<email>3631206+DanielBelmes@users.noreply.github.com</email>
</author>
<published>2023-08-05T18:50:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=7bf7496557d939331193069f56c3faa91d81d9d3'/>
<id>urn:sha1:7bf7496557d939331193069f56c3faa91d81d9d3</id>
<content type='text'>
* fix server caching issue causing Theme failures

* Fix tester to ignore version cache param

* fix case of people using -d:nimTestsNimdocFixup

* rsttester needed the same fix</content>
</entry>
<entry>
<title>fixes #22301; fixes #22324; rejects branch initialization with a runtime discriminator with defaults (#22303)</title>
<updated>2023-07-25T10:08:32Z</updated>
<author>
<name>ringabout</name>
<email>43030857+ringabout@users.noreply.github.com</email>
</author>
<published>2023-07-25T10:08:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=1c2ccfad08191e936fadd52450b53dfea105a34d'/>
<id>urn:sha1:1c2ccfad08191e936fadd52450b53dfea105a34d</id>
<content type='text'>
* fixes #22301; rejects branch initialization with a runtime discriminator with defaults

* undefault nimPreviewRangeDefault

* fixes tests

* use oldCheckDefault</content>
</entry>
<entry>
<title>Fix #21595 (#22233)</title>
<updated>2023-07-07T10:39:59Z</updated>
<author>
<name>Juan Carlos</name>
<email>juancarlospaco@gmail.com</email>
</author>
<published>2023-07-07T10:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/ahoang/Nim/commit/?id=54d7c9fdf8ab8690f8f2f97e31a1ec226175cca3'/>
<id>urn:sha1:54d7c9fdf8ab8690f8f2f97e31a1ec226175cca3</id>
<content type='text'>
* .

* Fix #21595</content>
</entry>
</feed>
