Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make `newSeqOfCap` not initialize memory. (#21842) | Amjad Ben Hedhili | 2023-09-09 | 3 | -3/+12 |
| | | | | | | | It's used in `newSeqUninitialized`. --------- Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> | ||||
* | fixes #22664; guard against potential seqs self assignments (#22671) | ringabout | 2023-09-08 | 1 | -0/+6 |
| | | | fixes #22664 | ||||
* | Remove some unnecessary initialization in string operations (#22579) | Amjad Ben Hedhili | 2023-09-07 | 1 | -37/+61 |
| | | | | | | | | * `prepareAdd` * `toNimStr` * `setLengthStrV2` * `NimAsgnStrV2` * `prepareMutation` * Some cleanups | ||||
* | Add `hasDefaultValue` type trait (#22636) | Amjad Ben Hedhili | 2023-09-04 | 1 | -0/+17 |
| | | | Needed for #21842. | ||||
* | docgen: add Pandoc footnotes (fixes #21080) (#22591) | Andrey Makarov | 2023-09-03 | 1 | -85/+136 |
| | | | | | | | | | | This implements Pandoc Markdown-style footnotes, that are compatible with Pandoc referencing syntax: Ref. [^ftn]. [^ftn]: Block. See https://pandoc.org/MANUAL.html#footnotes for more examples. | ||||
* | deprecate `std/threadpool`; use `malebolgia`, `weave`, `nim-taskpool` ↵ | ringabout | 2023-08-29 | 1 | -0/+2 |
| | | | | | | | | | | | instead (#22576) * deprecate `std/threadpool`; use `malebolgia` instead * Apply suggestions from code review * Apply suggestions from code review * change the URL of inim | ||||
* | fixes #22555; implements `newStringUninit` (#22572) | ringabout | 2023-08-29 | 1 | -22/+36 |
| | | | | | | | | | | | | | * fixes newStringUninitialized; implement `newStringUninitialized` * add a simple test case * adds a changelog * Update lib/system.nim * Apply suggestions from code review rename to newStringUninit | ||||
* | fixes broken nightlies; follow up #22544 (#22585) | ringabout | 2023-08-29 | 1 | -1/+1 |
| | | | | | ref https://github.com/nim-lang/nightlies/actions/runs/5970369118/job/16197865657 > /home/runner/work/nightlies/nightlies/nim/lib/pure/os.nim(678, 30) Error: getApplOpenBsd() can raise an unlisted exception: ref OSError | ||||
* | define toList procs after add for lists [backport] (#22573) | metagn | 2023-08-28 | 1 | -22/+22 |
| | | | fixes #22543 | ||||
* | newStringOfCap now won't initialize all elements anymore (#22568) | ringabout | 2023-08-28 | 1 | -2/+3 |
| | | | newStringOfCap nows won't initialize all elements anymore | ||||
* | Add `cursor` to lists iterator variables (#22531) | Amjad Ben Hedhili | 2023-08-24 | 1 | -3/+3 |
| | | | * followup #21507 | ||||
* | Fix `getAppFilename` exception handling (#22544) | Jacek Sieka | 2023-08-24 | 1 | -5/+10 |
| | | | | | | | | | * Fix `getAppFilename` exception handling avoid platform-dependendent error handling strategies * more fixes * space | ||||
* | fixes #22541; peg matchLen can raise an unlisted exception: Exception (#22545) | ringabout | 2023-08-24 | 1 | -1/+1 |
| | | | The `mopProc` is a recursive function. | ||||
* | make jsffi properly gensym (#22539) | metagn | 2023-08-23 | 1 | -22/+29 |
| | | | fixes #21208 | ||||
* | allow tuples and procs in 'toTask' + minor things (#22530) | Andreas Rumpf | 2023-08-22 | 2 | -3/+3 |
| | |||||
* | Markdown code blocks migration part 9 (#22506) | Amjad Ben Hedhili | 2023-08-19 | 4 | -89/+89 |
| | | | | | * Markdown code blocks migration part 9 * fix [skip ci] | ||||
* | Add staticFileExists and staticDirExists (#22278) | Tomohiro | 2023-08-18 | 1 | -0/+13 |
| | |||||
* | fixes syncio document (#22498) | Nan Xiao | 2023-08-17 | 1 | -2/+2 |
| | |||||
* | Fix `seq.capacity` (#22488) | Amjad Ben Hedhili | 2023-08-17 | 1 | -2/+2 |
| | |||||
* | fixes #22481; fixes `card` undefined misalignment behavior (#22484) | ringabout | 2023-08-15 | 1 | -1/+3 |
| | | | | | | | | | * fixes `card` undefined misalignment behavior * Update lib/system/sets.nim --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | Markdown code blocks migration part 8 (#22478) | Andrey Makarov | 2023-08-15 | 42 | -611/+708 |
| | |||||
* | Add Linux constant SO_BINDTODEVICE (#22468) | Emery Hemingway | 2023-08-14 | 2 | -0/+2 |
| | |||||
* | fixes CI (#22471) | ringabout | 2023-08-14 | 3 | -4/+4 |
| | | | | | Revert "fixes bareExcept warnings; catch specific exceptions (#21119)" This reverts commit 9207d77848d6f5db3635ae64f3cd4972cdbe3296. | ||||
* | fixes syncio document (#22467) | Nan Xiao | 2023-08-14 | 1 | -2/+2 |
| | |||||
* | fixes bareExcept warnings; catch specific exceptions (#21119) | ringabout | 2023-08-13 | 3 | -4/+4 |
| | | | | | * fixes bareExcept warnings; catch specific exceptions * Update lib/pure/coro.nim | ||||
* | replace `doAssert false` with `raiseAssert` in lib, which works better with ↵ | ringabout | 2023-08-11 | 21 | -33/+33 |
| | | | | strictdefs (#22458) | ||||
* | clean up `gc:arc` or `gc:orc` in docs and in error messages (#22408) | ringabout | 2023-08-08 | 5 | -13/+13 |
| | | | | | * clean up gc:arc/orc in docs * in error messages | ||||
* | fixes #22387; Undefined behavior when with hash(...) (#22404) | ringabout | 2023-08-08 | 1 | -6/+14 |
| | | | | | | | * fixes #22387; Undefined behavior when with hash(...) * fixes vm * fixes nimscript | ||||
* | nimIoselector option (#22395) | Bung | 2023-08-07 | 1 | -1/+12 |
| | | | | | | | | | * selectors.nim: Add define to select event loop implementation * rename to nimIoselector --------- Co-authored-by: Jan Pobrislo <ccx@webprojekty.cz> | ||||
* | use strictdefs for compiler (#22365) | ringabout | 2023-08-06 | 7 | -10/+14 |
| | | | | | | | | | | | | | | | * wip; use strictdefs for compiler * checkpoint * complete the chores * more fixes * first phase cleanup * Update compiler/bitsets.nim * cleanup | ||||
* | Prevent early destruction of gFuns, fixes AddressSanitizer: ↵ | norrath-hero-cn | 2023-08-05 | 1 | -1/+1 |
| | | | | | heap-use-after-free (#22386) Prevent destruction of gFuns before callClosures | ||||
* | Revert adding generic `V: Ordinal` parameter to `succ`, `pred`, `inc`, `dec` ↵ | konsumlamm | 2023-08-06 | 4 | -16/+16 |
| | | | | | | | (#22328) * Use `int` in `digitsutils`, `dragonbox`, `schubfach` * Fix error message | ||||
* | Fix searchExtPos so that it returns -1 when the path is not a file ext (#22245) | Tomohiro | 2023-08-04 | 1 | -4/+17 |
| | | | | | | | * Fix searchExtPos so that it returns -1 when the path is not a file ext * fix comparision expression * Remove splitDrive from searchExtPos | ||||
* | fixes AddressSanitizer: global-buffer-overflow in getAppFilename on windows ↵ | norrath-hero-cn | 2023-08-04 | 1 | -2/+2 |
| | | | | | 10 (#22380) fixes AddressSanitizer: global-buffer-overflow | ||||
* | Make `repr(HSlice)` always available (#22332) | konsumlamm | 2023-08-04 | 2 | -10/+10 |
| | | | Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> | ||||
* | fixes #22360; compare with the half of randMax (#22361) | ringabout | 2023-08-02 | 1 | -4/+1 |
| | | | | | * fixes #22360; compare with the half of randMax * add a test | ||||
* | Fix the position of "Grey" in colors.nim (#22358) | Michal Maršálek | 2023-08-01 | 1 | -2/+2 |
| | | | Update the position of "Grey" | ||||
* | bump the devel version to 211 (#22356) | ringabout | 2023-08-01 | 1 | -3/+3 |
| | |||||
* | fixes #22262; fixes `-d:useMalloc` broken with `--mm:none` and `--threads ↵ | ringabout | 2023-08-01 | 1 | -1/+1 |
| | | | | | | | on` (#22355) * fixes #22262; -d:useMalloc broken with --mm:none and threads on * fixes | ||||
* | remove thread duplicated code (#22348) | Bung | 2023-07-31 | 1 | -5/+0 |
| | |||||
* | implement `ensureMove` (#22339) | ringabout | 2023-07-29 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * implement `ensureMove` * use an additional flag * improve some logics * progress: fixes discard ensureMove * forbids nested expressions * improve error messages * checkpoint * fixes cursor * ADD MORE TESTS * fixes cursorinference again * tiny cleanup * improve error messages * fixes docs * implement comments add more tests * fixes js | ||||
* | Remove declared and not used variable in packedsets.bitincl (#22334) | Eric N. Vander Weele | 2023-07-27 | 1 | -1/+0 |
| | | | | When compiling code that uses PackedSet with warnings enabled, `var ret` in `bitincl` emits a "XDeclaredButNotUsed" warning. | ||||
* | fixes docs (#22331) | ringabout | 2023-07-26 | 1 | -1/+1 |
| | |||||
* | fixes #22210; transform return future in try/finally properly (#22249) | ringabout | 2023-07-21 | 1 | -9/+48 |
| | | | | | | | | | | | * wip; fixes #22210; transform return future in try/finally properly * add a test case for #22210 * minor * inserts a needsCompletion flag * uses copyNimNode | ||||
* | fixes #22254; fixes #22253; stricteffects bugs on recursive calls (#22294) | ringabout | 2023-07-19 | 1 | -2/+3 |
| | |||||
* | fixes #22268; fixes `move` codegen (#22288) | ringabout | 2023-07-19 | 1 | -20/+8 |
| | |||||
* | fixes idx properly (#22280) | ringabout | 2023-07-14 | 2 | -10/+13 |
| | |||||
* | Fix #22273 (#22275) | Juan Carlos | 2023-07-14 | 1 | -1/+1 |
| | | | * Fix #22273 | ||||
* | fixes #22256; fixes GC_disableOrc overflow (#22257) | ringabout | 2023-07-11 | 1 | -1/+1 |
| | |||||
* | Rename `seq.add` parameter to be consistent with `refc` (#22244) | Solitude | 2023-07-10 | 1 | -2/+2 |
| |