summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* [minor]use `addInt` and `addFloat` (#18733)flywind2021-08-241-2/+2
| | | | | | | * unify int and uint * back * minor
* get rid of the warnings during bootstrapping (#18741)Miran2021-08-244-5/+5
| | | | | * fix bootstrapping hints and warnings * revert removals in ccgtypes
* make deprecated message better (#18737)flywind2021-08-231-1/+1
|
* fix a typo (#18736)flywind2021-08-231-1/+1
|
* Fix #18718 (#18731)konsumlamm2021-08-232-47/+59
| | | Update tests
* Implement RFC-391 (#18585)Juan Carlos2021-08-223-109/+107
|
* fix #17898(randomPathName called twice in a row can return the same string ↵flywind2021-08-221-3/+17
| | | | | | | on windows) (#18729) * close #17898 * no need to consider js
* replace wrt with proper word (#18724)flywind2021-08-225-6/+8
| | | | | * what does wrt mean? * clarify
* fix deprecated example (#18721)flywind2021-08-212-11/+27
|
* add testcase for overloadable_enums (#18722)flywind2021-08-211-0/+29
| | | | | * add testcase for overloadable_enums * link
* [docs]fix an item missing (#18717)flywind2021-08-201-0/+1
|
* sigmatch: support optional params with last block arg(s) (#18631)Timothee Cour2021-08-202-1/+94
| | | | | | | * sigmatch: support optional params with last block arg * add tests * works with multiple block args * cleanup * address comment
* fix #18627(Program segfaults with ARC when using openArray[string]) (#18713)flywind2021-08-192-1/+25
| | | | | | | * fix #18627 * add testcase * rename * another * remove tyVarargs
* fix a typo (#18715)flywind2021-08-191-1/+1
|
* Add ceilDiv to math (#18596)Tomohiro2021-08-193-0/+94
| | | | | | * Use assert in runnableExamples and improve boundary check * Add more tests for ceilDiv * Fix comment in ceilDiv * Calling ceilDiv with int type T such like sizeof(T) > 8 is error
* improvements to `addInt` and `$` for integer types (#18592)Timothee Cour2021-08-1912-187/+163
| | | | | | | | * improvements to $(SomeInteger) and addInt * remove mIntToStr, mInt64ToStr * improvements * fix tests/pragmas/tinjectstmt.nim; the diff is harmless, cgen code is identical with -d:danger or debug mode * rm tests/system/tstrmantle.nim * revert compiler/jsgen.nim for -d:nimVersion140
* 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
|