| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
No logic was added, just a few more `*.md` files have been migrated.
|
|
|
|
|
| |
fix comment
there is no `y` in the example.
|
|
|
|
| |
Fixes bug reported in https://github.com/nim-lang/Nim/pull/20189
affecting nimforum.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When checking conditions, pass `check` untyped argument directly to if. This results in better error messages when the condition is malformed.
Previously `check 1` would fail at compile time with `Error: type mismatch: got 'int literal(-2)' for '-2' but expected 'bool'`
Now it fails with `Error: type mismatch: got 'int literal(1)' for '1' but expected 'bool'`.
Similarly `check "foo"` would fail with
```
Error: type mismatch: got <string>
but expected one of:
proc `not`(a: typedesc): typedesc
first type mismatch at position: 1
required type for a: typedesc
but expression '"somestring"' is of type: string
...
```
Now it fails with `Error: type mismatch: got 'string' for '"somestring"' but expected 'bool'`
|
|
|
| |
changelog fixes again [skip ci]
|
| |
|
|
|
|
|
|
|
| |
* add version-1-6 and version-1-2 to triggered branches
* Update .github/workflows/ci_packages.yml
* use quote
|
| |
|
|
|
| |
No logic was added, just 8 more files have been migrated.
|
|
|
|
|
|
|
| |
* CI upgrade to ubuntu-20.04
The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details see https://github.com/actions/virtual-environments/issues/6002
* Update azure-pipelines.yml
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Based on what I understand from [Wikipedia](https://en.wikipedia.org/wiki/ISO_week_date#Weeks_per_year), 2001 does not have 53 weeks, but 2004, 2009, 2015, 2020 do. The years 2000 and 2001 seem to be copy pasted from the `getDaysInYear` example above. The result of `getWeeksInIsoYear` also seem to match up with Wikipedia.
That means these runnableExamples were never tested. Why is this the case? I only discovered this in #20091.
|
| |
|
|
|
| |
- Fixes https://github.com/nim-lang/Nim/issues/18840
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* docs: fix some spelling errors
* contributing: fix spelling error
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update contributing.md
* Update intern.md
* Update manual.md
* Update manual_experimental_strictnotnil.md
* Update nimgrep_cmdline.txt
* Update pegdocs.txt
* Update testament.md
* Update tut1.md
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
|
|
|
|
|
| |
* bootstrap the compiler with nimPreviewSlimSystem
* threads
|
| |
|
|
|
| |
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes #20153; do not escape `_` for mysql
* add a test
* Update db_mysql.nim
* Update tdb_mysql.nim
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
|
|
|
| |
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* Update bug_report.yml
* Update bug_report.yml
* Update bug_report.yml
|
|
|
| |
Updated the two broken internal links: rebuilding the compiler, reproducible builds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Bug Form
* Add Bug Form
* Add Bug Form
* Add Bug Form
* https://github.com/nim-lang/Nim/pull/19913#issuecomment-1160663243
* https://github.com/nim-lang/Nim/pull/19913#issuecomment-1160663243
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Yardanico <tiberiumk12@gmail.com>
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/feature_request.yml
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/feature_request.yml
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Do not Star Nim on Github
* No backwards compat problems
* Typo
Co-authored-by: Yardanico <tiberiumk12@gmail.com>
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
|
|
|
| |
No logic was added, just 4 more files migrated.
|
|
|
|
|
| |
* fixes #20132; fixes the broken jsondoc comand
* add testcase
|
|
|
|
|
| |
Without this, the httpclient examples are essentially setting you up for failure. I was bitten by this when my app became unable to open any more sockets.
I'm not entirely sure how long this will relevant, as I hope destructors will be added to an upcoming version of the stdlib. But figured it was worth submitting anyways!
|
| |
|
|
|
|
|
|
|
|
|
| |
* Revert "enable nimPreviewDotLikeOps (#19598)"
This reverts commit 6773ffa63d0b3ab8b8894e84ed417f4eaced9122.
* add deprecated message
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#20137)
* Add Wider Ascii Chars sets string formatting in strutils.nim
Add Wider Ascii Chars sets for string formatting (#19994) (#20120):
- Added `UppercaseLetters`, `LowercaseLetters` The set of UppercaseLetters and lowercase ASCII letters.
- Added `PunctuationChars` The set of all ASCII punctuation characters.
- Added `PrintableChars` The set of all printable ASCII characters (letters, digits, whitespace, and punctuation characters).
* Update changelog.md
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update changelog.md
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* prevent cache thrash
Co-authored-by: Charles Blake <cb@cblake.net>
* Update lib/pure/random.nim
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Co-authored-by: Charles Blake <cb@cblake.net>
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add more Ascii Chars sets
- add UpperCaseLetters set
- add LowerCaseLetters set
- add Punctuations set
- add PrintablesNoWhiteSpace set
- add Printables set
- add isPunctuationAscii func
- add isPrintableAscii func
* Omit isPunctuationAscii and isPrintableAscii procs
* Apply suggestions for adding Wider Ascii Chars sets
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* Update strutils.nim
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* Fix header level for noalias pragma section.
* Fix code snippet outside of code block that raised an error with `rst2html`.
* Fix broken 'Convertible relation' links that were raising warnings.
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
|
|
|
| |
replace threadpool with createThreads in the runnableExamples
|
| |
|
|
|
| |
Highlight Nim by default in Markdown code in .nim
|
|
|
|
|
| |
Broken Link found for koch.rst docs
The Current internal link was broken. Updated with a new link to the same path
|
|
|
|
|
| |
* Warn when casting to a larger type
* Revert change to error message to fix CI
|
| |
|
|
|
|
|
|
|
| |
* bump macOS image on Azure CI to macos-11
##[warning]The macOS-10.15 environment is deprecated, consider switching to macos-11(macos-latest), macos-12 instead. For more details see https://github.com/actions/virtual-environments/issues/5583
* fix CI error
|
|
|
|
|
| |
* fixes #20031; uint64 is an ordinal type since 1.0
* Update compiler/semstmts.nim
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove shallowCopy for ARC/ORC
* use move
* fix
* more fixes
* typo
* Update lib/system.nim
* follow
* add nodestroy
* move
* copy string
* add a changelog entry
Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
| |
(#20090)
fixes #20089; remove setPointer since strings/seqs are not pointers anymore
|