summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* allow building 1.4.0 from devel (#18708)Timothee Cour2021-08-186-7/+29
| | | | | * allow building 1.4.0 from devel * changelog
* [wip]better hint message for JS (#18704)flywind2021-08-181-10/+21
| | | | | * better hint message for JS * both
* asynchttpserver: ipv6 support (#18706)Emery Hemingway2021-08-182-7/+8
| | | Fix #18705
* fix #18702(fix `parseutils.parseFloat`) (#18703) [backport:1.0]flywind2021-08-162-6/+16
| | | | | * fix #18702 * Apply suggestions from code review
* cross compilation targetting windows now supports `nim r`: `nim r -d:mingw ↵Timothee Cour2021-08-163-5/+20
| | | | | | | | | main` (#18682) * cross compilation targetting windows now supports `nim r`: `nim r -d:mingw main` * quoteShell * address comment: remove `conf.getConfigVar("nimrun.exe")`
* Documentation only, Terminal (#18696)Juan Carlos2021-08-141-1/+15
| | | Add simple progress bar example to terminal module
* fix #18692 AsyncHttpServer was hanging because client.close was not called ↵Timothee Cour2021-08-141-1/+3
| | | | (#18693)
* manual: minor improvements (#18687)Andreas Rumpf2021-08-131-12/+9
|
* properly fix #10053 ; `FieldDefect` msg now shows discriminant value + ↵Timothee Cour2021-08-1318-43/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lineinfo, in all backends (c,vm,js) (#11955) * fix #10053 FieldError for vm * fixup * FieldError now also shows runtime value of discriminant * fix field error reporting in vm * also report culprit line info in err msg * fix errors for newruntime 2 * fix for js * fixup * PRTEMP4 * works * works * works perfect * refactor * std/private/repr_impl * suppport --gc:arc * cleanup * refactor * simplify * simplify * simplify * fixup * move out compiler.vmgen.genCustom * fixup * fixup * add tests * revert compiler/debugutils.nim * simplify reprDiscriminant * fixup * lib/std/private/repr_impl.nim -> lib/system/repr_impl.nim * try to fix D20210812T165220 * honor --declaredlocs * control toFileLineCol via --declaredlocs
* initial fix for compiling Nim on Zephyr RTOS (issue #18684) (#18685)Jaremy Creechley2021-08-131-1/+2
| | | | | * initial fix for compiling Nim on Zephyr RTOS (issue #18684) Co-authored-by: Jaremy J. Creechley <jaremy.creechley@wavebaselabs.com>
* don't use space after proc names (#18681)flywind2021-08-121-2/+2
|
* fix a sqlite bug (#18669)flywind2021-08-123-11/+47
|
* fix #18670 quoteShellCommand, quoteShell, quoteShellWindows on windows (#18671)Timothee Cour2021-08-122-6/+18
|
* fixes #18643 [backport:1.0] (#18678)Andreas Rumpf2021-08-122-1/+12
|
* fix #18674 --nimcache now works better with --os:windows (#18675)Timothee Cour2021-08-111-0/+4
|
* fixes #18665 DFA generator bug (#18676)Andreas Rumpf2021-08-111-0/+6
|
* fix: `var a{.foo.} = expr` inside templates (refs #15920) (except when `foo` ↵Timothee Cour2021-08-115-20/+107
| | | | | | | | | | | is overloaded) (#13869) * fix: `var a{.foo.} = expr` inside templates * add test * improve tdecls test * improve tests * add failing test * PRTEMP * fixup
* --cc:env now works correctly to assign linker executable, allowing to ↵Timothee Cour2021-08-111-1/+1
| | | | | | | cross-compile/run for windows on osx via wine (#18672) * --cc:env now works correctly to assign linker executable, allowing using wine on osx * fixup
* 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
|