summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Switch maintanance (#18668)RSDuck2021-08-115-165/+15
| | | | | | | | | * Fix and improve Nintendo Switch support * Document the necessity for nimAllocPagesViaMalloc * update changelog * Use --gc:orc in examples
* Remove unused imports, and deprecated function usage (#18663)Kyle Brown2021-08-114-5/+4
| | | | | | | * clean up imports and slice to remove delete * revert buggy code * Replace "delete" with setlen to remove depreciation warning
* Add optional recursive arg to distinctBase (v2) (#18659)Timothee Cour2021-08-094-10/+18
| | | | | | * Add optional recursive arg to distinctBase * Add docs and examples Co-authored-by: ALANVF <alan.invents@gmail.com>
* renamed: lib/std/private/vmutils.nim -> lib/std/private/bitops_utils.nim ↵Timothee Cour2021-08-083-4/+2
| | | | to avoid confusion with unrelated std/vmutils (#18660)
* use lent (#18638)flywind2021-08-081-2/+2
|
* Only allow IPv4 literals in strict form (#18656)Christian Ulrich2021-08-083-44/+106
| | | | | | | | | | | | | * Only allow IPv4 literals in strict form The strict form as defined in RFC 6943, section 3.1.1 only allows the dotted form ddd.ddd.ddd.ddd of IPv4 literals, where ddd is a one to three digit decimal number between 0 and 255. Until now octal numbers (with a leading zero) were interpreted as decimal numbers which has security implications, see CVE-2021-29922 and CVE-2021-29923. * Update lib/pure/net.nim Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* Nim pretty and add void (#18652)Kyle Brown2021-08-081-6/+12
| | | | | | | | | | | | | | | * pretty and add void * distro fixup * Update lib/pure/distros.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * tab to space * requested change to be cleaner Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* improve several tests in testament (#18635)Timothee Cour2021-08-087-39/+38
| | | | | | | | | | | * silence error output from template_various.nim * any => auto in tests * avoid showing failed for parseSpec since this is expected behavior in 2 cases: tincludefile.nim, tnav1.nim * enforce InheritFromException * fixup
* [nre]fix #17129 (#18632)flywind2021-08-081-3/+2
| | | | | | | | | | | | | | | * fix #17129 * correct * give reference implementaion links * add comment * typo * I'm conservative * change
* Documentation only, add 1 example (#18621)Juan Carlos2021-08-081-1/+21
| | | | | | | | | | | | | | | * ReSync with Devel * ReSync * Documentation only, add 1 example to For loop macro * Flip it * Update doc/manual.rst Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Documentation only, add 1 example (#18633)Juan Carlos2021-08-031-0/+18
|
* improve runnableExamples and docs for std/nre (#18634)Timothee Cour2021-08-021-68/+49
| | | | | * improve runnableExamples and docs for std/nre * avoid too long lines in example
* Add Artix to distro list (#18629)Kyle Brown2021-08-021-2/+5
|
* make proc names consistent (#18626)flywind2021-08-019-13/+13
| | | | | * rename `endswith` to `endsWith` * rename
* fix #18620 (#18624)flywind2021-08-012-4/+18
| | | | | * fix #18620 * add testcase
* exportC => exportc (#18625)Timothee Cour2021-07-311-1/+1
|
* Modify atlas test for short commit hashes (#18619)Antonis Geralis2021-07-303-4/+2
| | | | | | | * test commit hashes support * Update testdata.nim * remove extra newlines
* fixes #18371 (#18617)Andreas Rumpf2021-07-302-3/+6
|
* [minor] reduce `substr` (#18611)flywind2021-07-302-5/+7
| | | | | | | | | * minor * correct * unify the type of addrLen * Update lib/packages/docutils/rstgen.nim
* refs #16613: check opcWrDeref for nil (#18613)Timothee Cour2021-07-301-5/+4
|
* fix #18385 followup, by building nimsuggest with -d:release during testing ↵Timothee Cour2021-07-292-4/+16
| | | | (#18581)
* Remove tracking of environment from osenv.nim v2 (#18575)Timothee Cour2021-07-296-186/+240
| | | | | | | | | | | | | * Remove unnecessary environment tracking * try to fix windows * fix delEnv * make putEnv work on windows even with empty values; improve tests: add tests, add js, vm testing * [skip ci] fix changelog Co-authored-by: Caden Haustein <code@brightlysalty.33mail.com>
* docgen: draw frame around active anchors (#18607)Andrey Makarov2021-07-296-75/+162
|
* Update `lib.rst` (#18605)konsumlamm2021-07-291-24/+20
| | | | | | | | | | | | | * Update lib.rst * Remove "Unstable" category Add `strbasics` * Update doc/lib.rst * Update doc/lib.rst Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Allow `nnkAccQuoted` in `genEnumCaseStmt` (#18606)Vindaar2021-07-291-1/+5
| | | | | | | | | | * [enumutils] provide node kind for `Invalid node type` error * [enumutils] add support for nnkAccQuoted in `genEnumCaseStmt` For reasons unknown to me, when running `nim doc` on a file that uses `parseEnum` with an enum that contains accented quotes errors at CT with the `Invalid node for type` error. Further errors are raised, probably because the enum parsing fails?
* various small documentation improvements (#18602)Miran2021-07-2813-97/+123
|
* implements overloadable enum values; WIP (#18470)Andreas Rumpf2021-07-2810-11/+125
| | | | | * implements overloadable enum values * simpler code
* fix #17072: add times.dateTime with ISO 8601 order (#18590)Timothee Cour2021-07-282-12/+23
| | | | | * fix #17072: add times.dateTime with ISO 8601 order * address comments
* support same-line doc comments in routines (#18595)Timothee Cour2021-07-276-1/+205
| | | | * support same-line comments in routines * remove assert as per review comment
* fixes #18543 (#18601)Andreas Rumpf2021-07-274-189/+112
| | | | | * fixes #18543 * make tests green again
* fixes #18579 (#18600)Andreas Rumpf2021-07-272-4/+28
|
* fixes #18570 (#18599)Andreas Rumpf2021-07-271-2/+3
|
* delEnv now works at CT (#18568)Timothee Cour2021-07-271-1/+2
|
* Clarify use of import via pseudo dir... (#18569)GordonBGood2021-07-271-0/+1
|
* add comment to astalgo.debug (#18594)Timothee Cour2021-07-271-0/+3
|
* Fixed const tuples in inferred generics (#18598)Jason Beetham2021-07-272-17/+30
|
* fixes #18565 (#18593)Andreas Rumpf2021-07-275-12/+33
| | | * fixes #18565
* fix #18578 (#18580)flywind2021-07-273-6/+32
| | | | | | | | | | | | | * fix #18578 * add tests * tiny * apply changes * typo * add removeStaticFile
* Update documentation for dynlib (#17356)konsumlamm2021-07-261-44/+34
| | | | | | | * Update documentation for dynlib * Apply suggestions * Improve error handling in example
* don't use plus instead of space (#18589)Miran2021-07-261-2/+2
|
* atlas tool: testing via mocking (#18588)Andreas Rumpf2021-07-2613-58/+387
| | | | | * atlas: refactoring * Atlas: do some basic testing via mocking
* optimize for the non-throwing case (#18587)Antonis Geralis2021-07-261-4/+7
|
* fixes #18558 again (#18586)Andreas Rumpf2021-07-261-0/+2
|
* added missing .inline for toCCharAraq2021-07-261-1/+1
|
* docgen: sort symbols (fix #17910) (#18560)Andrey Makarov2021-07-253-349/+419
| | | | | | | | | | | | | | * docgen: sort symbols (fix #17910) * add workaround + change naming * switch to a dedicated sort comparator * fix numbers with unequal string lengths * dedicated `sortName` instead of `plainNameEsc`: * more compact names for non-overloaded symbols * more predictable Ascii sort (e.g. `<` instead of `&lt;`)
* followup #18453 (#18582)Timothee Cour2021-07-252-17/+17
|
* Documentation only, Sugar arrow and semicolons (#18574)Juan Carlos2021-07-251-0/+4
| | | * Document that sugar arrow do not support semicolon as argument separator
* fixes #18385 (#18571)Saem Ghani2021-07-251-2/+10
| | | | needs a more permanent fix by better incorporating IC, but fixes nimsuggest highlighting for now.
* refactoring: removed dead code (#18567)Andreas Rumpf2021-07-244-17/+11
|
* rename nimFpRoundtrips => nimPreviewFloatRoundtrip (#18566)Timothee Cour2021-07-236-12/+12
|